cvs commit: src/sys/amd64/amd64 machdep.c

John Baldwin jhb at freebsd.org
Mon Nov 28 20:31:03 GMT 2005


On Monday 21 November 2005 01:39 pm, John Baldwin wrote:
> jhb         2005-11-21 18:39:17 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/amd64/amd64      machdep.c
>   Log:
>   Expand the hack to mask the atpics if 'device atpic' is not in the kernel
>   during boot up.  Now we do a full reset of the 8259As and setup a simple
>   interrupt handler (we actually borrow the apic one that just does an
>   immediate iret) to handle any spurious interrupts triggered by either
> chip. This should fix some folks that were getting a Trap 30 during bootup
> of certain SMP AMD systems.  This might get pushed into the 6.0 branch as
> an errata.  For now a suitable workaround is to add 'device atpic' to your
> kernel config.
>
>   Tested by:      scottl
>   Helpful info from:      dillon
>   MFC after:      1 week

Hmm, we probably still need to reprogram the ATPIC on resume as well.  I'm not 
sure it's actually worth not just compiling the atpic code in on amd64.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the cvs-src mailing list