Re: gcc3.3.1 -O2 compiled SMP -current kernel panics

Frank van der Linden <[email protected]> Mon, 18 Aug 2003 19:52:31 +0200
Newsgroups gmane.os.netbsd.ports.i386,gmane.os.netbsd.devel.smp
Message-ID <[email protected]>
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                                            [email protected]
===============================================================================
NetBSD. Free, Unix-like OS. > 45 different platforms.    http://www.netbsd.org/