Subject: Re: gcc3.3.1 -O2 compiled SMP -current kernel panics
To: Markus W Kilbinger <kilbi@rad.rwth-aachen.de>
From: Frank van der Linden <fvdl@netbsd.org>
List: tech-smp
Date: 08/18/2003 19:52:31
On Mon, Aug 18, 2003 at 07:46:06PM +0200, Markus W Kilbinger wrote:
>   npx0 at isa0 port 0xf0-0xff: using exception 16
>   fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
>   fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
>   ioapic0: enabling
>   kernel: protection fault trap, code=0
>   Stopped in pid 0.1 (swapper) at netbsd: Xdoreti+0xf: movl %fs:0x158(,eax,4),%eax
>   db{0}>

I think someone else reported this too. Could you provide the output
of the 't' command and 'show registers'?

Also, can you try using "-O2 -fno-strict-aliasing"?

It's a bit strange that this would fail in the interrupt code, since that
part is very similar to the amd64 port, which I always have compiled
with gcc 3.x (most recently 3.3, I haven't tried 3.3.1 yet).

- Frank

-- 
Frank van der Linden                                            fvdl@netbsd.org
===============================================================================
NetBSD. Free, Unix-like OS. > 45 different platforms.    http://www.netbsd.org/