Re: 5.1_RC2 panics on Challenge S

Michael <[email protected]> Thu, 10 Jun 2010 17:45:58 -0400
Newsgroups gmane.os.netbsd.ports.sgimips
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Jun 10, 2010, at 5:28 PM, George Harvey wrote:

> I tried 5.1_RC2 on my R5000/180 Challenge S and got a kernel panic  
> just
> after the 'panel0' message (console capture below). The Challenge S
> has the same front panel buttons as the Indy but, AFAIK, doesn't have
> the audio circuitry so I'm guessing there might be a problem with the
> hardware probing. I'm going to try building a kernel without the panel
> option to see if that helps.

The panel driver doesn't attempt to mess with audio circuitry at all -  
it sends PMF events for the volume control buttons which may or may  
not do anything, and it notofoes sysmon when the power button is  
pressed.

> NetBSD 5.1_RC2 (GENERIC32_IP2x) #0: Fri May 21 08:19:40 UTC 2010
> 	[email protected]:/home/builds/ab/netbsd-5-1-RC2/sgimips/ 
> 201005210534Z-obj/home/builds/ab/netbsd-5-1-RC2/src/sys/arch/sgimips/ 
> compile/GENERIC32_IP2x
> total memory = 98304 KB
> (768 KB reserved for ARCS)
> avail memory = 91308 KB
> mainbus0 (root): SGI-IP22 [SGI, 690ac9fb], 1 processor
> cpu0 at mainbus0: MIPS R5000 CPU (0x2310) Rev. 1.0 with built-in FPU
> Rev. 1.0 cpu0: 32KB/32B 2-ay set-associative L1 Instruction cache, 48
> TLB entries cpu0: 32KB/32B 2-way set-associative write-back L1 Data
> cache cpu0: 512KB/32B direct-mapped write-through L2 Data cache
> ioc0 at mainbus0 addr 0x1fbd9800: rev 0, machine Indy (Guinness),  
> board
> rev 0 int0 at mainbus0 addr 0x1fbd9880
> int0: bus 90MHz, CPU 180MHz
> imc0 at mainbus0 addr 0x1fa00000: revision 3
> gio0 at imc0
> hpc0 at gio0: SGI HPC3 (onboard)
> zsc0 at hpc0 offset 0x59830
> zstty0 at zsc0 channel 1 (console i/o)
> zstty1 at zsc0 channel 0
> pckbc0 at hpc0 offset 0x59840
> sq0 at hpc0 offset 0x54000: SGI Seeq 80c03
> sq0: Ethernet address 08:00:69:0a:c9:fb
> wdsc0 at hpc0 offset 0x44000: WD33C93B (20.0 MHz clock, BURST DMA,  
> SCSI
> ID 0) wdsc0: microcode revision 0x0d, Fast SCSI
> scsibus0 at wdsc0: 8 targets, 8 luns per target
> dsclock0 at hpc0 offset 0x60000
> pi1ppc0 at hpc0 offset 0x58000
> pi1ppc0: capabilities=8<PS2>
> ppbus0 at pi1ppc0
> ppbus0: No IEEE1284 device found.
> panel0 at hpc0 offset 0x59800
> panic: invalid interrupt level

This is weird.
There is nothing in the panel driver which differentiates between Indy  
and Challenge S, the interrupt level is the same, I see no reason why  
it would panic on a Challenge but not an Indy.
On the other hand - does the Challenge have more than one hpc? If so  
the panel driver may try to attach to the wrong one. In the example  
above it's the onboard hpc though.
Could you build a kernel without the panel driver and post the  
resulting dmesg?

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBTBFdFspnzkX8Yg2nAQKFcgf8DtrJUNZ6CRsatxEhZ2MiRu69B5MY4ylJ
lf5BDiWGI/EgQg+4ZSY+AIjtsdiZgngb5xoaVwbAH6XZ4gvgEfUMDZ52sDyQ2wRy
1AhglBISJaDV4uYmEJhmH2HNu1xWipg8XNDjDHWr376x5t5OUJQM2/9jfcL5EX6H
k8rxaRZC7S0zDhfLpga1H/o/LY+SGrdFzeIuNoinpT9cFfTAox1QYvuI9jp0AYGa
VRFdAwSgu6BUv/Nz79aPqfxLVwEhcB4KyiRDY/kV6HbeQGHn82U1C2cHUgs70v66
beaaFFnyM0u8fLVbXwOHwZofpRb+AcwJyPqqcWI3KMj16eSD19BrrA==
=+dpx
-----END PGP SIGNATURE-----