Subject: le/esp sbus cards
To: None <port-sparc@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-sparc
Date: 11/17/1999 12:14:00
I recently bought two Ethernet/SCSI SBus cards.  They're marked as
being from "ARTECON, INC." and say "LE/ESP".  When I put them in the 1+
on my desk here at work, though, the kernel finds only the esp:

NetBSD 1.4J (GENERIC) #2: Wed Oct 20 11:07:08 EDT 1999
    mouse@Callisto.McRCIM.McGill.EDU:/usr/src/sys/arch/sparc/compile/GENERIC
total memory = 16332 KB
avail memory = 12780 KB
using 128 buffers containing 512 KB of memory
bootpath: /sbus0/esp0/sd@0,0
mainbus0 (root): Sun 4/65
cpu0 at mainbus0: MB86900/1A or L64801 @ 25 MHz, WTL3170/2 FPU
cpu0: 64K byte write-through, 16 bytes/line, sw flush: cache enabled
memreg0 at mainbus0 ioaddr 0xf4000000
clock0 at mainbus0 ioaddr 0xf2000000: mk48t02 (eeprom)
timer0 at mainbus0 ioaddr 0xf3000000 ipl 10 delay constant 10
auxreg0 at mainbus0 ioaddr 0xf7400000
zs0 at mainbus0 ioaddr 0xf1000000 ipl 12 softpri 6
zstty0 at zs0 channel 0
zstty1 at zs0 channel 1
zs1 at mainbus0 ioaddr 0xf0000000 ipl 12 softpri 6
kbd0 at zs1 channel 0 (console)
ms0 at zs1 channel 1
fdc0 at mainbus0 ioaddr 0xf7200000 ipl 11 softpri 4: chip 82072
audioamd0 at mainbus0 ioaddr 0xf7201000 ipl 13 softpri 4
audio0 at audioamd0: full duplex
sbus0 at mainbus0 ioaddr 0xf8000000: clock = 25 MHz
dma0 at sbus0 slot 0 offset 0x400000: rev 1
esp0 at sbus0 slot 0 offset 0x800000 level 3: ESP100, 25MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
scsipi_inqmatch: 2/0/0 <, , >
sd0 at scsibus0 targ 0 lun 0: <SEAGATE, ST41600N, 0073> SCSI2 0/direct fixed
sd0: 1307 MB, 2099 cyl, 17 head, 75 sec, 512 bytes/sect x 2676846 sectors
probe(esp0:1:0): async mode
scsipi_inqmatch: 2/0/0 <, , >
sd1 at scsibus0 targ 1 lun 0: <FUJITSU, M2263S-512, 0121> SCSI1 0/direct fixed
sd1: 642 MB, 1658 cyl, 15 head, 52 sec, 512 bytes/sect x 1315658 sectors
scsipi_inqmatch: 2/0/0 <, , >
sd2 at scsibus0 targ 2 lun 0: <SEAGATE, ST41600N, 0073> SCSI2 0/direct fixed
sd2: 1307 MB, 2099 cyl, 17 head, 75 sec, 512 bytes/sect x 2676846 sectors
le0 at sbus0 slot 0 offset 0xc00000 level 5: address 08:00:20:09:9d:bd
le0: 8 receive buffers, 2 transmit buffers
dma1 at sbus0 slot 1 offset 0x100000: rev 1+
esp1 at sbus0 slot 1 offset 0x200000 level 3: ESP200, 40MHz, SCSI ID 7
scsibus1 at esp1: 8 targets, 8 luns per target
dma2 at sbus0 slot 2 offset 0x100000: rev 1+
esp2 at sbus0 slot 2 offset 0x200000 level 3: ESP200, 40MHz, SCSI ID 7
scsibus2 at esp2: 8 targets, 8 luns per target
bwtwo0 at sbus0 slot 3 offset 0x0 level 7: SUNW,501-1455, 1152 x 900 (console)
bwtwo0: attached to /dev/fb
root on sd0a dumps on sd0b
mountroot: trying msdos...
mountroot: trying cd9660...
mountroot: trying nfs...
mountroot: trying ffs...
root file system type: ffs
init: copying out path `/sbin/init' 11

Yet the kernel config file quite clearly lists

le*		at sbus? slot ? offset ?

(and various other "le* at xxx" lines), so something isn't working
right.  I also note the absence of any "not configured" messages, which
seems to me to imply that the ROM code isn't seeing them either.  The
ROM rev is 1.3, old enough that it boots from sd(0,0,0) instead of
/sbus/esp/sd@0 (the "bootpath" line in dmesg seems synthetic); is this
relevant?  Would a ROM upgrade cure it, and if so, anyone know where I
can find an appropriate ROM image?

I ultimately want to put these in an IPX, so if it's just a matter of
ROM versions, it's probably not a practical issue.  But if they won't
work at all with NetBSD, I have a bit of a problem....

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B