Subject: Re: scsi kernel crashes - sbc & ncrscsi (long)
To: Scott Reynolds <scottr@edsi.org>
From: Hauke Fath <saw@sun0.urz.uni-heidelberg.de>
List: port-mac68k
Date: 06/13/1996 23:43:46
At 0:59 Uhr 13.06.1996, Scott Reynolds wrote:
>On Thu, 13 Jun 1996, Hauke Fath wrote:
>
>> >panic: pmap_alloc_pv: pgi_nfree inconsistent
>
>A suggestion:  try changing the definition of splimp() in psl.h to use
>spl4() instead of spl2() and see if the crash goes away... patch appended.
>The problem sounds like it's probably somewhere else, but this will help
>to determine what it is (and possibly work around it).  Let me know if
>this helps.
>
>Thanks to Jason Thorpe for pointing this out.  (HI JASON! :-)
>
>--scott
>
>*** /sys/arch/mac68k/include/psl.h.orig Sun May 19 18:13:13 1996
>--- /sys/arch/mac68k/include/psl.h      Thu Jun 13 00:53:08 1996
>***************
>*** 40,48 ****
>  #define       spltty()        spl1()  /* disallow tty (softserial & ADB) */
>  #define       splbio()        spl2()  /* disallow block I/O */
>  #define       splnet()        spl2()  /* disallow network */
>- #define       splimp()        spl2()  /* disallow goblins and other
>nonsense */
>  #define       splclock()      spl2()  /* disallow clock (and other)
>interrupts */
>  #define       splstatclock()  spl2()  /* ditto */
>  #define       splzs()         spl4()  /* disallow serial hw interrupts */
>  #define       splhigh()       spl7()  /* disallow everything */
>  #define       splsched()      spl7()  /* disallow scheduling */
>--- 40,48 ----
>  #define       spltty()        spl1()  /* disallow tty (softserial & ADB) */
>  #define       splbio()        spl2()  /* disallow block I/O */
>  #define       splnet()        spl2()  /* disallow network */
>  #define       splclock()      spl2()  /* disallow clock (and other)
>interrupts */
>  #define       splstatclock()  spl2()  /* ditto */
>+ #define       splimp()        spl4()  /* disallow goblins and other
>nonsense */
>  #define       splzs()         spl4()  /* disallow serial hw interrupts */
>  #define       splhigh()       spl7()  /* disallow everything */
>  #define       splsched()      spl7()  /* disallow scheduling */



YEA!

This helped  :-)
-- for the sbc driver, that is. ncrscsi kernels still don't run on my se/30.




	hauke

---
"It's never straight up and down"     (DEVO)