Subject: Re: qec don't work on netbsd-1.5ZA
To: de SAINT LEGER Rodolphe <rslr@wanadoo.fr>
From: Brian A. Seklecki <lavalamp@spiritual-machines.org>
List: port-sparc
Date: 03/12/2002 21:06:09
On Wed, 13 Mar 2002, de SAINT LEGER Rodolphe wrote:

> Hi,
>
> I installed today a SS5 with netbsd 1.5ZA,
>
> The problem is that qec dosen't work anymore, I give you the error message,
> and the boot message.
>
> I can however use le0 for network access, but this machine is going to be a router :(
>
> Does somebody have any answer/fix

yea looks like there was already a PR on it:

http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=15817

>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: frueauf
State-Changed-When: Wed Mar 6 11:11:51 PST 2002
State-Changed-Why:
Fixed this myself in r1.20 of syssrc/sys/dev/sbus/qe.c.

looks like it's fixed in --current.  Perhaps a netbsd-1-5 pullup is
needed?

http://cvsweb.netbsd.org/bsdweb.cgi/syssrc/sys/dev/sbus/qe.c

-lava

>
> Rodolphe.
>
> Here are the outputs...
> akima# ifconfig qe0 192.168.31.46 netmask 255.255.255.240
> cpu0: NMI: system interrupts: 40000000<VME=0,SBUS=0,ME>
> qe0: tx dma sbus error ack
> qe0: resetting...
> akima# Mar 13 01:22:01 akima /netbsd: cpu0: NMI: system interrupts: 40000000<VME=0,SBUS=0,ME>
> Mar 13 01:22:01 akima /netbsd: qe0: tx dma sbus error ack
> Mar 13 01:22:01 akima /netbsd: qe0: resetting...
> qe0: tx dma sbus error ack
> qe0: resetting...
> Mar 13 01:22:07 akima /netbsd: qe0: tx dma sbus error ack
> Mar 13 01:22:07 akima /netbsd: qe0: resetting...
> ifconfig qe0 down
> akima#
>
>
> NetBSD 1.5ZA (GENERIC) #3: Sat Jan 26 15:50:07 MET 2002
>     root@night-porter.duskware.de:/usr/src/sys/arch/sparc/compile/GENERIC
> total memory = 65144 KB
> avail memory = 56840 KB
> using 839 buffers containing 3356 KB of memory
> bootpath: /iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd@3,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 slot 0 offset 0x200000: mk48t08: hostid 8070dec4
> timer0 at obio0 slot 0 offset 0xd00000 delay constant 33
> zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
> zstty0 at zs0 channel 0 (console i/o)
> zstty1 at zs0 channel 1
> zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
> kbd0 at zs1 channel 0: baud rate 1200
> ms0 at zs1 channel 1: baud rate 1200
> slavioconfig at obio0 slot 0 offset 0x800000 not configured
> auxreg0 at obio0 slot 0 offset 0x900000
> power0 at obio0 slot 0 offset 0x910000 level 2
> fdc0 at obio0 slot 0 offset 0x400000 level 11 softpri 4: chip 82077
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> 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: dma rev 2
> esp0 at dma0 slot 5 offset 0x8800000 level 4: ESP200, 40MHz, SCSI ID 7
> scsibus0 at esp0: 8 targets, 8 luns per target
> bpp0 at sbus0 slot 5 offset 0xc800000 level 2 (ipl 3): dma rev 2
> ledma0 at sbus0 slot 5 offset 0x8400010: dma rev 2
> le0 at ledma0 slot 5 offset 0x8c00000 level 6: address 08:00:20:1c:7a:32
> le0: 8 receive buffers, 2 transmit buffers
> audiocs0 at sbus0 slot 4 offset 0xc000000 level 9: CS4231
> audio0 at audiocs0: full duplex
> power-management at sbus0 slot 4 offset 0xa000000 not configured
> qec0 at sbus0 slot 3 offset 0x20000 level 4 (ipl 7): 128K memory
> qe0 at qec0 slot 0 offset 0x0 rev 1 address 08:00:20:1c:7a:32
> qe1 at qec0 slot 1 offset 0x0 rev 1 address 08:00:20:1c:7a:32
> qe2 at qec0 slot 2 offset 0x0 rev 1 address 08:00:20:1c:7a:32
> qe3 at qec0 slot 3 offset 0x0 rev 1 address 08:00:20:1c:7a:32
> scsibus0: waiting 2 seconds for devices to settle...
> sd0 at scsibus0 target 3 lun 0: <QUANTUM, ATLAS IV 9 WLS, 0B0B> SCSI3 0/direct fixed
> sd0: 8761 MB, 13816 cyl, 4 head, 324 sec, 512 bytes/sect x 17942584 sectors
> sd0: sync (100.0ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing
> sd1 at scsibus0 target 4 lun 0: <QUANTUM, LP240S GM240S01X, 6.3> SCSI2 0/direct fixed
> sd1: 234 MB, 1818 cyl, 4 head, 65 sec, 512 bytes/sect x 479350 sectors
> sd1: sync (100.0ns offset 8), 8-bit (10.000MB/s) transfers
> Kernelized RAIDframe activated
> root on sd0a dumps on sd0b
> root file system type: ffs
>

later -           | _BonaFide[] = { coder, author, | /~\ The ASCII Ribbon
Brian A. Seklecki | problem solver, scholar, BOFH, | \ / Campaign Against
                  | vegetarian, runner, NetBSD     |  X  Exchange, Outlook
                  | advocate, spiritual machine }; | / \ & HTML Email

"GNU/EMACS: The only app to ever come with docs bigger than the binary"