Subject: scsi disk troubles
To: None <port-sparc@netbsd.org>
From: Derkjan de Haan <derkjan@haanjdj.demon.nl>
List: port-sparc
Date: 02/28/2005 21:16:07
I am using a 6-disk Multipack with a Sparcstation 20. This Multipack 
contains various non-Sun disks, mostly originating from pc-based graphical 
workstations. These disks worked flawlessly with Solaris 8 and 9, but disks 
5 and 6 (see dmesg output) aren't usable with NetBSD. They are recognised at 
boot, but no device special files are created. If I manually do 
'/dev/MAKEDEV all' nothing happens either. I tried formatting them with 
Solaris and resetting the SCSI modepages to default values, but that made no 
difference.
Any ideas as to what might be wrong here ? I must admit that they report a 
rather curious geometry, but would that be a reason for them not to work ?


regards,

Derkjan

NetBSD 2.0 (GENERIC.MP) #0: Thu Dec  2 02:01:35 UTC 2004
        builds@build:/big/builds/ab/netbsd-2-0-RELEASE/sparc/200411300000Z-obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/sparc/compile/GENERIC.MP
total memory = 351 MB
avail memory = 338 MB
bootpath: 
/iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@3,0
mainbus0 (root): SUNW,SPARCstation-20: hostid 72766577
cpu0 at mainbus0: mid 8: TMS390Z50 v0 or TMS390Z55 @ 75 MHz, on-chip FPU
cpu0: physical 20K instruction (64 b/l), 16K data (32 b/l), 1024K external 
(32 b/l): cache enabled
cpu1 at mainbus0: mid 10: TMS390Z50 v0 or TMS390Z55 @ 75 MHz, on-chip FPU
cpu1: physical 20K instruction (64 b/l), 16K data (32 b/l), 1024K external 
(32 b/l): cache enabled
obio0 at mainbus0
clock0 at obio0 slot 0 offset 0x200000: mk48t08
timer0 at obio0 slot 0 offset 0x300000: delay constant 35
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
fdc0 at obio0 slot 0 offset 0x700000 level 11: no drives attached
auxreg0 at obio0 slot 0 offset 0x800000
power0 at obio0 slot 0 offset 0xa01000 level 2
iommu0 at mainbus0 ioaddr 0xe0000000: version 0x3/0x1, page-size 4096, range 
64MB
sbus0 at iommu0: clock = 25 MHz
dma0 at sbus0 slot 15 offset 0x400000: DMA rev 2
esp0 at dma0 slot 15 offset 0x800000 level 4: ESP200, 40MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
ledma0 at sbus0 slot 15 offset 0x400010: DMA rev 2
le0 at ledma0 slot 15 offset 0xc00000 level 6: address 08:00:20:76:65:77
le0: 8 receive buffers, 2 transmit buffers
bpp0 at sbus0 slot 15 offset 0x4800000 level 2 (ipl 3): DMA rev 2
SUNW,DBRIe at sbus0 slot 14 offset 0x10000 level 9 not configured
isp0 at sbus0 slot 0 offset 0x10000 level 3 (ipl 5) for QLGC,isp
scsibus1 at isp0: 16 targets, 8 luns per target
hme0 at sbus0 slot 1 offset 0x8c00000 level 4 (ipl 7): Sun Happy Meal 
Ethernet (SUNW,hme)
hme0: Ethernet address 08:00:20:76:65:77
nsphy0 at hme0 phy 1: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isp1 at sbus0 slot 2 offset 0x10000 level 3 (ipl 5) for QLGC,isp
scsibus2 at isp1: 16 targets, 8 luns per target
eccmemctl0 at mainbus0 ioaddr 0x0: version 0x0/0x2
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
scsibus2: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 3 lun 0: <FUJITSU, MAG3182LC, 5210> disk fixed
sd0: 17429 MB, 9867 cyl, 10 head, 361 sec, 512 bytes/sect x 35694860 sectors
sd0: sync (100.00ns offset 15), 8-bit (10.000MB/s) transfers, tagged 
queueing
cd0 at scsibus0 target 6 lun 0: <TOSHIBA, XM-4101TASUNSLCD, 1755> cdrom 
removable
cd0: async, 8-bit transfers
sd1 at scsibus1 target 1 lun 0: <SEAGATE, ST318404LC, 0006> disk fixed
sd1: 17501 MB, 14384 cyl, 6 head, 415 sec, 512 bytes/sect x 35843670 sectors
sd1: sync (100.00ns offset 12), 16-bit (20.000MB/s) transfers, tagged 
queueing
sd2 at scsibus1 target 2 lun 0: <SEAGATE, ST318404LC, 0006> disk fixed
sd2: 17501 MB, 14384 cyl, 6 head, 415 sec, 512 bytes/sect x 35843670 sectors
sd2: sync (100.00ns offset 12), 16-bit (20.000MB/s) transfers, tagged 
queueing
sd3 at scsibus1 target 3 lun 0: <IBM, DMVS18D, 0250> disk fixed
sd3: 17501 MB, 11736 cyl, 10 head, 305 sec, 512 bytes/sect x 35843670 
sectors
sd3: sync (100.00ns offset 12), 16-bit (20.000MB/s) transfers, tagged 
queueing
sd4 at scsibus1 target 4 lun 0: <IBM, DMVS18D, 0250> disk fixed
sd4: 17501 MB, 11736 cyl, 10 head, 305 sec, 512 bytes/sect x 35843670 
sectors
sd4: sync (100.00ns offset 12), 16-bit (20.000MB/s) transfers, tagged 
queueing
sd5 at scsibus1 target 5 lun 0: <SEAGATE, ST118202LC, 0005> disk fixed
sd5: 17366 MB, 6962 cyl, 24 head, 212 sec, 512 bytes/sect x 35566480 sectors
sd5: sync (100.00ns offset 12), 16-bit (20.000MB/s) transfers, tagged 
queueing
sd6 at scsibus1 target 6 lun 0: <SEAGATE, ST118202LC, 0005> disk fixed
sd6: 17366 MB, 6962 cyl, 24 head, 212 sec, 512 bytes/sect x 35566480 sectors
sd6: sync (100.00ns offset 12), 16-bit (20.000MB/s) transfers, tagged 
queueing
root on sd0a dumps on sd0b
root file system type: ffs
cpu0: booting secondary processors: cpu1
Accounting started