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

USB mass storage problem with Nex II mp3 player



I'm trying to get Nex II mp3 player working as umass device. With Linux
I could mount it fine as vfat file system, but OpenBSD doesn't like it
for some reason. It fails immediately after plugging it in:

sd2 at scsibus1 targ 1 lun 0: <FL, Nex II Digital, 0001> SCSI0 0/direct removable
umass0: BBB reset failed, STALLED
sd2: drive offline

The full dmesg with usb, uhub and umass debugs at maximum level:

OpenBSD 3.2 (natti) #2: Mon Nov 18 10:58:17 PST 2002
    cras_(_at_)_natti:/usr/src/sys/arch/i386/compile/natti
cpu0: Intel Pentium II (Klamath) ("GenuineIntel" 686-class, 512KB L2 cache) 301 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,MMX
real mem  = 33140736 (32364K)
avail mem = 27529216 (26884K)
using 430 buffers containing 1761280 bytes (1720K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(f0) BIOS, date 02/04/98, BIOS32 rev. 0 @ 0xfb2e0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0xb758
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfdd00/128 (6 entries)
pcibios0: PCI Exclusive IRQs: 5 10 11 12
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371SB PCI-ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x800 0xc9000/0x800 0xca000/0x4800
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443LX PCI-AGP" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82443LX AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Matrox MGA Millennium II 2164WA-B AGP" rev 0x00
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x01
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 11
usbd_match
usb0 at uhci0usbd_attach
: USB revision 1.0
uhub_match, dd=0xd04cb130
uhub0 at usb0uhub_attach

uhub0: vendor 0x0000 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
usb_init_hub: getting hub descriptor
uhub0: 2 ports with 2 removable, self powered
usbhub_init_hub: selfpowered=1, parent=0x0, parent->selfpowered=0
usb_init_port: turn on port 1 power
usb_init_port: turn on port 2 power
"Intel 82371AB Power Mgmt" rev 0x01 at pci0 dev 7 function 3 not configured
xl0 at pci0 dev 9 function 0 "3Com 3c905C 100Base-TX" rev 0x74: irq 11 address 00:04:76:15:89:d7
exphy0 at xl0 phy 24: Broadcom 3C905C internal PHY, rev. 6
xl1 at pci0 dev 11 function 0 "3Com 3c905C 100Base-TX" rev 0x74: irq 12 address 00:04:76:15:88:f2
exphy1 at xl1 phy 24: Broadcom 3C905C internal PHY, rev. 6
ahc0 at pci0 dev 13 function 0 "Adaptec AHA-2940U" rev 0x01: irq 10
ahc0: aic7880: Ultra Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus0 at ahc0: 16 targets
ahc0: target 4 synchronous at 20.0MHz, offset = 0xf
sd0 at scsibus0 targ 4 lun 0: <IBM, DCAS-34330, S65A> SCSI2 0/direct fixed
sd0: 4134MB, 8205 cyl, 6 head, 171 sec, 512 bytes/sec, 8467200 sec total
(ahc0:A:5:0): refuses synchronous negotiation. Using asynchronous transfers
sd1 at scsibus0 targ 5 lun 0: <IOMEGA, ZIP 100, J.03> SCSI2 0/direct removable
sd1: drive offline
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
biomask c00 netmask 1c00 ttymask 1c02
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: sd0 matched BIOS disk 80
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
usb_event_thread: start
usb_discover
uhub_explore dev=0xd04cb100 addr=1
uhub_explore: uhub0 port 1 status 0x0100 0x0000
uhub_explore: port=1 !C_CONNECT_STATUS
uhub_explore: uhub0 port 2 status 0x0100 0x0000
uhub_explore: port=2 !C_CONNECT_STATUS
uhub_intr: sc=0xd04ca9c0
usb_needs_explore
usb_add_task: sc=0xd04cb180 task=0xd04cb1d0
usb_event_thread: woke up task=0xd04cb1d0
usb_discover
uhub_explore dev=0xd04cb100 addr=1
uhub_explore: uhub0 port 1 status 0x0101 0x0001
uhub_explore: status change hub=1 port=1
uhub_match, dd=0xd05570b0
uhub_match, dd=0xd05570b0
umass0 at uhub0 port 1 configuration 1 interface 0
umass0: Frontier Labs NEX II Digital Audio Player, rev 1.00/0.01, addr 2
umass0: using SCSI over BBB-P
umass0: Get Max Lun
umass0: Get Max Lun not supported
scsibus1 at umass0: 2 targets
umass0: umass_scsi_cmd:  1:0 xs=0xd04fb080 cmd=0x00 (quirks=0x100e, poll=0)
umass_scsi_cmd: async dir=0, cmdlen=6 datalen=0
umass0: umass_bbb_transfer cmd=0x00
umass0: CBW 42: cmd = 6b (0x000000000000), data = 0 bytes, dir = out
umass0: start xfer buffer=0xd0519464 buflen=31 flags=0x0 timeout=10403
umass0: Handling BBB state 1 (BBB CBW), xfer=0xd04db800, NORMAL_COMPLETION
umass0: no data phase
umass0: start xfer buffer=0xd0519483 buflen=13 flags=0x0 timeout=10403
umass0: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xd058fe00, NORMAL_COMPLETION
umass0: CSW 42: sig = 0x53425355 (valid), tag = 42, res = 0, status = 0x00 (good)
umass_scsipi_cb: at 1037692825.150567, delta=4538: xs=0xd04fb080 residue=0 status=0
umass_scsipi_cb: at 1037692825.150567: return xs->error=0, xs->xs_status=0x0 xs->resid=0
umass0: umass_scsi_cmd:  1:0 xs=0xd04fb080 cmd=0x12 (quirks=0x100e, poll=0)
umass_scsi_cmd: async dir=1, cmdlen=6 datalen=58
umass0: umass_bbb_transfer cmd=0x12
umass0: CBW 43: cmd = 6b (0x120000003a00), data = 58 bytes, dir = in
umass0: start xfer buffer=0xd0519464 buflen=31 flags=0x0 timeout=10403
umass0: Handling BBB state 1 (BBB CBW), xfer=0xd04db800, NORMAL_COMPLETION
umass0: start xfer buffer=0xd44eb000 buflen=58 flags=0x5 timeout=10403
umass0: Handling BBB state 2 (BBB Data), xfer=0xd0585300, NORMAL_COMPLETION
umass0: 0x 008000025c000000464c202020202020 buffer=0xd038a084, buflen=58
umass0: 0x 4e6578204949204469676974616c2020
umass0: 0x 3030303130322f31392f323030310000 ...
umass0: start xfer buffer=0xd0519483 buflen=13 flags=0x0 timeout=10403
umass0: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xd058fe00, NORMAL_COMPLETION
umass0: CSW 43: sig = 0x53425355 (valid), tag = 43, res = 0, status = 0x00 (good)
umass_scsipi_cb: at 1037692825.159526, delta=7912: xs=0xd04fb080 residue=0 status=0
umass_scsipi_cb: at 1037692825.159526: return xs->error=0, xs->xs_status=0x0 xs->resid=0
umass0: umass_scsi_cmd:  1:0 xs=0xd04fb080 cmd=0x00 (quirks=0x101e, poll=0)
umass_scsi_cmd: async dir=0, cmdlen=6 datalen=0
umass0: umass_bbb_transfer cmd=0x00
umass0: CBW 44: cmd = 6b (0x000000000000), data = 0 bytes, dir = out
umass0: start xfer buffer=0xd0519464 buflen=31 flags=0x0 timeout=10403
umass0: Handling BBB state 1 (BBB CBW), xfer=0xd04db800, NORMAL_COMPLETION
umass0: no data phase
umass0: start xfer buffer=0xd0519483 buflen=13 flags=0x0 timeout=10403
umass0: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xd058fe00, NORMAL_COMPLETION
umass0: CSW 44: sig = 0x53425355 (valid), tag = 44, res = 0, status = 0x00 (good)
umass_scsipi_cb: at 1037692825.165529, delta=4880: xs=0xd04fb080 residue=0 status=0
umass_scsipi_cb: at 1037692825.165529: return xs->error=0, xs->xs_status=0x0 xs->resid=0
sd2 at scsibus1 targ 1 lun 0: <FL, Nex II Digital, 0001> SCSI0 0/direct removable
umass0: umass_scsi_cmd:  1:0 xs=0xd04fb080 cmd=0x1b (quirks=0x501e, poll=0)
umass_scsi_cmd: async dir=0, cmdlen=6 datalen=0
umass0: umass_bbb_transfer cmd=0x1b
umass0: CBW 45: cmd = 6b (0x1b0000000100), data = 0 bytes, dir = out
umass0: start xfer buffer=0xd0519464 buflen=31 flags=0x0 timeout=10403
umass0: Handling BBB state 1 (BBB CBW), xfer=0xd04db800, NORMAL_COMPLETION
umass0: no data phase
umass0: start xfer buffer=0xd0519483 buflen=13 flags=0x0 timeout=10403
umass0: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xd058fe00, NORMAL_COMPLETION
umass0: CSW 45: sig = 0x53425355 (valid), tag = 45, res = 0, status = 0x01 (failed)
umass0: Command Failed, res = 0
umass_scsipi_cb: at 1037692825.177642, delta=8157: xs=0xd04fb080 residue=0 status=2
umass0: umass_bbb_transfer cmd=0x03
umass0: CBW 46: cmd = 6b (0x030000002000), data = 32 bytes, dir = in
umass0: start xfer buffer=0xd0519464 buflen=31 flags=0x0 timeout=10403
umass0: Handling BBB state 1 (BBB CBW), xfer=0xd04db800, STALLED
umass0: failed to send CBW
umass0: Bulk Reset
umass0: Handling BBB state 7 (BBB Reset), xfer=0xd058fb00, STALLED
umass0: BBB reset failed, STALLED
umass0: Clear endpoint 0x82 stall
umass0: Handling BBB state 8 (BBB bulk-in clear stall), xfer=0xd058fa00, NORMAL_COMPLETION
umass0: Clear endpoint 0x02 stall
umass0: Handling BBB state 9 (BBB bulk-out clear stall), xfer=0xd058f900, NORMAL_COMPLETION
umass_scsipi_sense_cb: xs=0xd04fb080 residue=32 status=3
umass0: Autosense failed, status 3
umass_scsipi_sense_cb: return xs->error=2, xs->xs_status=0x0 xs->resid=0
sd2: drive offline
umass0: Attach finished
uhub_explore: uhub0 port 2 status 0x0100 0x0000
uhub_explore: port=2 !C_CONNECT_STATUS

And if Linux's output is any helpful:

Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
usb-uhci.c: interrupt, status 2, frame# 548
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: FL        Model: Nex II Digital    Rev: 0001
  Type:   Direct-Access                      ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
USB Mass Storage support registered.
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: -1 512-byte hdwr sectors (0 MB)
usb-uhci.c: interrupt, status 2, frame# 460
sda: test WP failed, assume Write Enabled
 sda: sda1