Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Sun4/110 "Panic: Crazy Interrupts"



Hi,

I wrote:

> I assume here that the CG4 driver doesn't handle something on the 4/110.

and the comment in GENERIC is important too:

  # XXX no wsdisplay support

so we'll need to add wsdisplay support too to get this working properly.
Something like revision 1.19 for BW2:

  http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/sun/bwtwo.c?only_with_tag=MAIN

and some of the later revisions.  I didn't change CG4 back then because I
had no way to test.  Also, from the panic message:

> [1.0000000] cgfour0 at obio0 addr 0xb300000 level 4: cgfour/p4, 1152 x 900cpu
> 0: data fault: pc=0xf0012090 addr=0xfe04800 ser=0x8002<WRITE,SZERR>

we can see the output of the resolution, but no new line, so we probably
crash between lines 251 and 317:

  https://nxr.netbsd.org/xref/src/sys/arch/sparc/dev/cgfour.c#251

It might be also helpful to add some printf's to show the line number around
the blocks here.

Regards,

Julian



Home | Main Index | Thread Index | Old Index