Re: SMP + APM = panic - fixed!

2000-06-07 Thread Mitsuru IWASAKI
Hi, On Wed, 7 Jun 2000, Mitsuru IWASAKI wrote: 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

Re: SMP + APM = panic - fixed!

2000-06-06 Thread Jonathan Lemon
On Wed, Jun 07, 2000 at 02:06:15AM +0900, Mitsuru IWASAKI wrote: 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

Re: SMP + APM = panic - fixed!

2000-06-06 Thread Mitsuru IWASAKI
Please test this and I'll commit MFC this if we have no problem with this fix. I don't have an SMP + APM system around at the moment, but the fix does look correct to me, go ahead and commit it. Thanks for tracking this down! Thank you for reviewing this. I'm going to comit tomorrow

Re: SMP + APM = panic - fixed!

2000-06-06 Thread Boris Popov
On Wed, 7 Jun 2000, Mitsuru IWASAKI wrote: 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.

Re: SMP APM

1999-05-05 Thread Luoqi Chen
Hi, Has anyone tried having APM and SMP in the same kernel? It panic()'s mine :) Basically the machine panics a few seconds after I do 'apmconf -e'. apm seems to return normal values though. I've attached a sample output from APM, dmesg and my kernel config. I get a trap 12: page fault

Re: SMP APM

1999-05-05 Thread Daniel J. O'Connor
On 05-May-99 Luoqi Chen wrote: Also, nm kernel.debug | sort shows that 0xc0208a4c is in Xbpt Are you sure it's in Xbpt? Xbpt has only 6 lines of code and none of them is likely to generate a page fault. What's the address of symbol Xbpt? Yeah, well, it didn't look likely to me either but..

Re: SMP APM

1999-05-05 Thread Luoqi Chen
Yeah, well, it didn't look likely to me either but.. :-/ Here is part of nm kernel.debug | sort ... c0208a30 T Xnmi c0208a3c T Xbpt c0208a50 T Xofl ... Did you actually boot from kernel.debug? If not, use the kernel you booted from, the symbols should still be there. I'll give it

Re: SMP APM

1999-05-05 Thread Luoqi Chen
Hi, Has anyone tried having APM and SMP in the same kernel? It panic()'s mine :) Basically the machine panics a few seconds after I do 'apmconf -e'. apm seems to return normal values though. I've attached a sample output from APM, dmesg and my kernel config. I get a trap 12: page fault

Re: SMP APM

1999-05-05 Thread Mike Smith
On 05-May-99 Luoqi Chen wrote: Also, nm kernel.debug | sort shows that 0xc0208a4c is in Xbpt Are you sure it's in Xbpt? Xbpt has only 6 lines of code and none of them is likely to generate a page fault. What's the address of symbol Xbpt? Yeah, well, it didn't look likely to me

Re: SMP APM

1999-05-05 Thread Daniel J. O'Connor
On 05-May-99 Luoqi Chen wrote: My SMP vm sharing commit broke APM. Please try out this patch, That patch seems to have fixed it! Great stuff :) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so