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

Re: qec quad ethernet card panics the kernel (sparc)



I would assume that if the system is generating extraneous NMI interrupts
(as indicated by the debugger entrance message), that something is MAJORLY
wrong. (I.E. a compatibility issue between card and motherboard.)

Course, that would make it NOT work under *ANY* OS. (Unless that system 
deals with extraneous NMI interrupts in a different manner than
OpenBSD)

SO, if it works under Solaris (or Linux, or something) on the same
machine, then its not that either.

Chad


 > We have reports that the qec driver does not work on all
machines.
> It's odd.  Perhaps Jason will get some time one of these days to
> figure out what's up.
> 
> >    I've been trying to install OpenBSD (2.7 from cdrom and 2.8-beta,
> > November 3rd snapshots) on a SS5 which has a quad (qec) ethernet card. The
> > install goes through flawlessly, but when the computer boots and tries to
> > initialize the card the kernel panics with the following message:
> > 
> > NMI: system interrupts
> > panic: nmi
> > Stopped at      _Debugger+0x4:  jmpl            [%o7 + 0x8], %g0
> > ddb>
> > 
> > 
> >   This happens somewhere in the netstart script (didn't find where
> > exactly). 
> > Here is the `trace` right after the panic:
> > _nmi_hard(0xfe014000, 0x8000, 0x21, 0xf8233400, 0xf8217980, 0x0) at
> > _nmi_hard+0x80
> > _sparc_interrupt44c(0x4000, 0x4000, 0x60, 0x1, 0x22, 0x4) at
> > _sparc_interrupt44c+0x3fc
> > _qeinit(0xf8506e00, 0xf85630c4, 0x8020690c, 0xf822636c, 0xf8213af8,
> > 0xf8213b1c) at _qeinit+0x194
> > _qeioctl(0xf8506e48, 0x0, 0xf8563080, 0xf819bf90, 0x18e0, 0xffffffff) at
> > _qeioctl+0xb0
> > _in_ifinit(0xf8506e48, 0xf8563080, 0xfa1cde48, 0x0, 0x0, 0x3c000) at
> > _in_ifinit+0x94
> > _in_control(0x0, 0x1, 0xfa1cde38, 0xf8506e48, 0xf84383c0, 0x0) at
> > _in_control+0x700
> > _udp_usrreq(0xf8569000, 0xb, 0x8040691a, 0xfa1cde38, 0xf8506e48,
> > 0xf80c5cd0) at_udp_usrreq+0x48
> > _ifioctl(0x0, 0x8040691a, 0xfa1cde38, 0x8040691a, 0xf8569000,
> > 0xffffffff) at _in_ifioctl+0x47c
> > _soo_ioctl(0xf856aa40, 0x8040691a, 0xfa1cde38, 0xf8551e00, 0xf8053048,
> > 0x0) at _soo_ioctl+0x180
> > _sys_ioctl(0x0, 0xfa1cdf28, 0xfa1cdf20, 0xf8050cf8, 0x0, 0xffffffff) at
> > _sys_ioctl+0x340
> > _syscall(0x36, 0xfa1cdfb0, 0x0, 0x1, 0x1, 0xffffffff) at _syscall+0x1f4
> > _kernel_text(0x3, 0x8040691a, 0x3c328, 0x3c338, 0x0, 0xffffffff) at
> > _kernel_text
> > 
> > 
> > Here is the `dmesg` output from the 2.8-beta boot:
> > OpenBSD 2.8 (GENERIC) #96: Mon Nov  6 11:39:07 MST 2000
> >     deraadt_(_at_)_sun4m_(_dot_)_openbsd_(_dot_)_org:/usr/src/sys/arch/sparc/compile/GENERIC
> > real mem = 133898240
> > avail mem = 121532416
> > using 200 buffers containing 6692864 bytes of memory
> > bootpath: /iommu_(_at_)_0,10000000/sbus_(_at_)_0,10001000/espdma_(_at_)_5,8400000/esp_(_at_)_5,8800000/sd_(_at_)_1,0
> > mainbus0 (root): SUNW,SPARCstation-5
> > cpu0 at mainbus0: MB86904 @ 70 MHz, on-chip FPU
> > cpu0: 16K instruction (32 b/l), 8K data (16 b/l) cache enabled
> > obio0 at mainbus0
> > clock0 at obio0 addr 0x71200000: mk48t08 (eeprom)
> > timer0 at obio0 addr 0x71d00000 delay constant 33
> > zs0 at obio0 addr 0x71100000 pri 12, softpri 6
> > zs1 at obio0 addr 0x71000000 pri 12, softpri 6
> > slavioconfig at obio0 addr 0x71800000 not configured
> > auxreg0 at obio0 addr 0x71900000
> > power0 at obio0 addr 0x71910000
> > fdc0 at obio0 addr 0x71400000 pri 11, softpri 4: chip 82077
> > iommu0 at mainbus0 addr 0x10000000: version 0x4/0x0, page-size 4096, range 64MB
> > sbus0 at iommu0: clock = 23.333 MHz
> > dma0 at sbus0 slot 5 offset 0x8400000: rev 2
> > esp0 at dma0 offset 0x8800000 pri 4: ESP200, 40MHz, SCSI ID 7
> > scsibus0 at esp0: 8 targets
> > sd0 at scsibus0 targ 1 lun 0: <SEAGATE, ST5660N  SUN0535, 0644> SCSI2 0/direct fixed
> > sd0: 520MB, 3002 cyl, 4 head, 88 sec, 512 bytes/sec, 1065664 sec total
> > sd1 at scsibus0 targ 3 lun 0: <CONNER, CP30548  SUN0535, B0CD> SCSI2 0/direct fixed
> > sd1: 517MB, 2242 cyl, 6 head, 78 sec, 512 bytes/sec, 1059528 sec total
> > cd0 at scsibus0 targ 6 lun 0: <TOSHIBA, XM-4101TASUNSLCD, 3424> SCSI2 5/cdrom removable
> > bpp0 at sbus0 slot 5 offset 0xc800000: DMA2
> > ledma0 at sbus0 slot 5 offset 0x8400010: rev 2
> > le0 at ledma0 offset 0x8c00000 pri 6: address 08:00:20:21:45:10
> > le0: 16 receive buffers, 4 transmit buffers
> > qec0 at sbus slot 2 offset 0x20000: 128K momory 4 channels
> > qe0 at qec0 offset 0x10000 pri 7: rev 1 address 08:00:20:21:45:10
> > qe1 at qec0 offset 0x14000 pri 7: rev 1 address 08:00:20:21:45:10
> > qe2 at qec0 offset 0x18000 pri 7: rev 1 address 08:00:20:21:45:10
> > qe3 at qec0 offset 0x1c000 pri 7: rev 1 address 08:00:20:21:45:10
> > cgsix0 at sbus0 slot3 offset 0x0: SUNW,501-2325, 1152 x 900, rev 11 (console)
> > chsix0: attched to /dev/fb
> > power-management at sbus0 slot 4 offset 0xa000000 not configured
> > audiocs0 at sbus0 slot 4 offset 0xc000000 pri 9, softpri 4
> > audio0 at audiocs0
> > afx-misc at sbus0 slot 4 offset 0xe000000 not configured
> > root on sd0a
> > kbd: type = 4, layout = 0x22
> > rootdev=0x700 rrootdev=0x1100 rawdev=0x1102
> > 
> > 
> 
> 





Visit your host, monkey.org