Subject: umass USB to SCSI adaptor
To: None <current-users@netbsd.org>
From: MOCHIDA Shuji <mochid@netside.co.jp>
List: current-users
Date: 03/07/2002 23:19:50
 I bought a USB to SCSI adaptor, Logitec Corp. LUB-SC2

    http://www.logitec.co.jp/products/henkan/lubsc2.html

(Maybe sold only in Japan). With SCSI HD, I can atatch and detach
the device, but once do 'disklabel -r sd0', machine freeze.
Kernel is of -current supped today. i386.

 sd0 is IBM 4GB narrow SCSI HD. 

umass0 at uhub1 port 1 configuration 1 interface 0
umass0: Logitec Corp. USB-SCSI Adapter, rev 2.00/1.10, addr 4
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 7 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 1 lun 0: <IBM, DCAS-34330, S65A> SCSI2 0/direct fixed
sd0: 66769 GB, 131076 cyl, 22 head, 2 sec, 8467200 bytes/sect x 8467200 sectors
     ^^^^^^^^
umass0: Invalid CSW: status 255 > 2
umass0: Invalid CSW: status 255 > 2
umass0: Invalid CSW: status 255 > 2
umass0: Invalid CSW: status 255 > 2
umass0: Invalid CSW: status 255 > 2
umass0: Invalid CSW: status 255 > 2
umass0: Invalid CSW: status 255 > 2
umass0: Invalid CSW: status 255 > 2
umass0: Invalid CSW: status 255 > 2
umass0: Invalid CSW: status 255 > 2


 Here dmesg output:


Interrupt Router at 000:07:0 (Intel 82371MX Mobile PCI I/O IDE Xcelerator (MPIIX))
------------------------------------------
  device vendor product pin PIRQ IRQ stage
------------------------------------------
000:00:2 0x8086 0x7196   B  0x01   5  0    already assigned
000:03:0 0x104c 0xac51   A  0x00   5  2    fixed up
000:03:1 0x104c 0xac51   B  0x01   5  0    fixed up
000:04:0 0x1102 0x8938   A  0x01   5  0    already assigned
000:05:0 0x126f 0x0720   A  0x02  10  0    already assigned
000:07:2 0x8086 0x719a   D  0x03  10  1    fixed up
------------------------------------------
PCI fixup examining 8086:7194
PCI fixup examining 8086:7196
PCI fixup examining 104c:ac51
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI fixup examining 104c:ac51
PCI bridge 1: primary 0, secondary 2, subordinate 2
PCI fixup examining 1102:8938
PCI fixup examining 126f:720
PCI fixup examining 8086:7198
PCI fixup examining 8086:7199
PCI fixup examining 8086:719a
PCI fixup examining 8086:719b
PCI bus #2 is the last bus
[System BIOS Setting]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x8086 0x7194 
		[OK]
000:00:2 0x8086 0x7196 
	10h port 0x0000e800 0x00000100
	14h port 0x0000ec00 0x00000080
		[OK]
000:03:0 0x104c 0xac51 
	10h mem  0x00000000 0x00001000
		[NG]
000:03:1 0x104c 0xac51 
	10h mem  0x00000000 0x00001000
		[NG]
000:04:0 0x1102 0x8938 
	10h port 0x0000ef00 0x00000040
	14h port 0x0000ef80 0x00000020
		[OK]
000:05:0 0x126f 0x0720 
	10h mem  0xf8000000 0x04000000
		[OK]
000:07:0 0x8086 0x7198 
		[OK]
000:07:1 0x8086 0x7199 
	20h port 0x0000ffa0 0x00000010
		[OK]
000:07:2 0x8086 0x719a 
	20h port 0x0000ffe0 0x00000020
		[OK]
000:07:3 0x8086 0x719b 
		[OK]
--------------------------[  2 devices bogus]
 Physical memory end: 0x03fee000
 PCI memory mapped I/O space start: 0x04000000
[PCIBIOS fixup stage]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x8086 0x7194 
		[OK]
000:00:2 0x8086 0x7196 
	10h port 0x0000e800 0x00000100
	14h port 0x0000ec00 0x00000080
		[OK]
000:03:0 0x104c 0xac51 
	10h mem  0x04000000 0x00001000
		[OK]
000:03:1 0x104c 0xac51 
	10h mem  0x04001000 0x00001000
		[OK]
000:04:0 0x1102 0x8938 
	10h port 0x0000ef00 0x00000040
	14h port 0x0000ef80 0x00000020
		[OK]
000:05:0 0x126f 0x0720 
	10h mem  0xf8000000 0x04000000
		[OK]
000:07:0 0x8086 0x7198 
		[OK]
000:07:1 0x8086 0x7199 
	20h port 0x0000ffa0 0x00000010
		[OK]
000:07:2 0x8086 0x719a 
	20h port 0x0000ffe0 0x00000020
		[OK]
000:07:3 0x8086 0x719b 
		[OK]
--------------------------[  0 devices bogus]
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443MX Host Bridge/Controller (rev. 0x01)
Intel product 0x7196 (modem communications) at pci0 dev 0 function 2 not configured
cbb0 at pci0 dev 3 function 0: Texas Instruments PCI1420 PCI-CardBus Bridge (rev. 0x00)
cbb1 at pci0 dev 3 function 1: Texas Instruments PCI1420 PCI-CardBus Bridge (rev. 0x00)
eap0 at pci0 dev 4 function 0: Creative Labs Ectiva 1938 EV1938A (rev. 0x00)
eap0: interrupting at irq 5
eap0: unknown (0x00008384) codec; mic channel, tone, 20 bit ADC, Unknown 3D
audio0 at eap0: full duplex, mmap, independent
midi0 at eap0: AudioPCI MIDI UART
vga1 at pci0 dev 5 function 0: Silicon Motion product 0x0720 (rev. 0xb1)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 1-3 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82443MX PCI-to-ISA Bridge (rev. 0x01)
pciide0 at pci0 dev 7 function 1: Intel 82440MX IDE controller (rev. 0x00)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <HITACHI_DK23AA-60>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 5729 MB, 12416 cyl, 15 head, 63 sec, 512 bytes/sect x 11733120 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
pciide0: secondary channel ignored (disabled)
uhci0 at pci0 dev 7 function 2: Intel 82443MX USB Host Controller (rev. 0x00)
uhci0: interrupting at irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82443MX Power Management Controller (miscellaneous bridge) at pci0 dev 7 function 3 not configured
cbb0: interrupting at irq 5
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1 device 0
pcmcia0 at cardslot0
cbb1: interrupting at irq 5
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 2 device 0
pcmcia1 at cardslot1
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi1 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
apm0 at mainbus0: Power Management spec V1.2
biomask ef7d netmask ef7d ttymask ffff
Kernelized RAIDframe activated
IPsec: Initialized Security Association Processing.
pcmcia1: CIS version pcmcia1: CIS info: IDO, C081-PacketOne Card,         
pcmcia1: Manufacturer code 0xffffffff, product 0xffffffff
pcmcia1: function 0: serial port, ccr addr 400 mask 7
pcmcia1: function 0, config table entry 16: I/O card; irq mask 6fc; iomask a, iospace 3f8-3ff; rdybsy_active io8 irqpulse irqlevel audio
pcmcia1: function 0, config table entry 17: I/O card; irq mask 6fc; iomask a, iospace 2f8-2ff; rdybsy_active io8 irqpulse irqlevel audio
pcmcia1: function 0, config table entry 18: I/O card; irq mask 6fc; iomask a, iospace 3e8-3ef; rdybsy_active io8 irqpulse irqlevel audio
pcmcia1: function 0, config table entry 19: I/O card; irq mask 6fc; iomask a, iospace 2e8-2ef; rdybsy_active io8 irqpulse irqlevel audio
com2 at pcmcia1 function 0: serial device
com2: ns16550a, working fifo
pcmcia0: CIS version PCMCIA 2.0 or 2.1
pcmcia0: CIS info: 3Com Corporation, 3C589D, TP/BNC LAN Card Ver. 2a, 000002
pcmcia0: Manufacturer code 0x101, product 0x589
pcmcia0: function 0: network adapter, ccr addr 10000 mask 3
pcmcia0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 4, iospace 0-f; io8 io16 irqlevel
pcmcia0: function 0, config table entry 3: I/O card; irq mask ffff; iomask 4, iospace 0-f; io8 io16 irqlevel
ep0 at pcmcia0 function 0: 3Com 3c589 10Mbps Ethernet
ep0: address 00:60:97:91:fd:50, 8KB byte-wide FIFO, 5:3 Rx:Tx split
ep0: 10baseT, 10base5, 10base2 (default 10baseT)
uhub1 at uhub0 port 1
uhub1: NEC hub, class 9/0, rev 1.10/2.00, addr 2
uhub1: 3 ports with 3 removable, self powered
ugen0 at uhub1 port 3
ugen0: NEC product 0x004c, rev 1.00/58.01, addr 3
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
umass0 at uhub1 port 1 configuration 1 interface 0
umass0: Logitec Corp. USB-SCSI Adapter, rev 2.00/1.10, addr 4
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 7 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 1 lun 0: <IBM, DCAS-34330, S65A> SCSI2 0/direct fixed
sd0: 66769 GB, 131076 cyl, 22 head, 2 sec, 8467200 bytes/sect x 8467200 sectors
umass0: Invalid CSW: status 255 > 2
umass0: Invalid CSW: status 255 > 2
umass0: Invalid CSW: status 255 > 2
umass0: Invalid CSW: status 255 > 2
umass0: Invalid CSW: status 255 > 2
umass0: Invalid CSW: status 255 > 2
umass0: Invalid CSW: status 255 > 2
umass0: Invalid CSW: status 255 > 2
umass0: Invalid CSW: status 255 > 2
umass0: Invalid CSW: status 255 > 2

-mochid