Frank Hofmann - Solaris Sustaining writes:
 > 
 > > Frank Hofmann - Solaris Sustaining writes:
 > >  > 
 > >  > Let me guess: You've compiled this driver with gcc, and did not
 > >  > specify the "-mno-red-zone" compiler option ?
 > > 
 > > Correct.  My gcc flags for amd64 are "-m64 -mcmodel=kernel" 
 > > I got those flags from from 
 > http://iforce.sun.com/protected/solaris10/adoptionkit/x86/techinfo.html
 > 
 > ARGH !
 > Why do we not talk to each other internally ...

Many thanks.  My panics seem to be gone (or at least I've 
gotten 10 minutes into a stress test which would previously
panic after 10 seconds).

<....>

 > Unfortunately, this can't work in any kernel, by virtue of how x86 CPUs
 > dispatch interrupts/traps. It's just impossible. A kernel cannot be made
 > compatible with this so-called "red zone".

Yes, I feel dumb for not including it, regardless of the docs.  I
should have remembered seeing it scroll by on FreeBSD and Linux
compilations..

Thank you again,

Drew


Reply via email to