| Subject: | SMP + APM = panic -> fixed! | |
|---|---|---|
| From: | Mitsuru IWASAKI (iwas...@jp.FreeBSD.org) | |
| Date: | Jun 6, 2000 10:05:53 am | |
| List: | org.freebsd.freebsd-smp | |
Refine Search
| From | Sent On | Attachments |
|---|---|---|
| Mitsuru IWASAKI | Jun 6, 2000 10:05 am | |
| Jonathan Lemon | Jun 6, 2000 10:18 am | |
| Mitsuru IWASAKI | Jun 6, 2000 10:41 am | |
| Boris Popov | Jun 6, 2000 8:21 pm | |
| Mitsuru IWASAKI | Jun 7, 2000 9:52 am | |
| Adam | Jun 7, 2000 6:56 pm |
| Subject: | SMP + APM = panic -> fixed! | |
|---|---|---|
| From: | Mitsuru IWASAKI (iwas...@jp.FreeBSD.org) | |
| Date: | Jun 6, 2000 10:05:53 am | |
| List: | org.freebsd.freebsd-smp | |
Hi,
We're having this problem for long time (from the old 4.0-CURRENT days), but Mr. SUMITANI discovered a bug and fixed it. The problem was that we got worng gdt pointer for the current cpu, then panic... The followings is a patch to fix the problem. Thanks a lot, SUMITANI-san! Please test this and I'll commit & MFC this if we have no problem with this fix. I love to have APM enabled SMP system with 4.1-RELEASE.
Index: bios.c =================================================================== RCS file: /home/ncvs/src/sys/i386/i386/bios.c,v retrieving revision 1.32 diff -u -r1.32 bios.c --- bios.c 2000/05/17 19:44:16 1.32 +++ bios.c 2000/06/06 16:47:46 @@ -262,7 +262,7 @@ union descriptor *p_gdt;
#ifdef SMP - p_gdt = &gdt[cpuid]; + p_gdt = &gdt[cpuid * NGDT]; #else p_gdt = gdt; #endif
To Unsubscribe: send mail to majo...@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message

