Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Trouble with HP USB Flash Drive
I just acquired a pile of HP 4GB USB Flash drives (v125w). When
inserted into one of my NetBSD boxes, it gets the geometry, but
then:
sd4: unable to open device, error = 5
I get the same thing on netbsd-5 and -current, amd64 and i386;
Dragonfly and Ubuntu don't seem to have the problem.
Any ideas what to look for or what to try? The full console
output with usbdebug and umassdebug is included below.
Thanks.
Gary Duzan
===========================================================================
usbd_new_device bus=0xffff80004c3d7010 port=2 depth=1 speed=3
usbd_new_device: adding unit addr=2, rev=200, class=0, subclass=0, protocol=0,
maxpacket=64, len=18, speed=3
usbd_new_device: new dev (addr 2), dev=0xffff800007e48b00,
parent=0xffff80004d25b608
usbd_probe_and_attach: trying device specific drivers
usbd_probe_and_attach: no device specific driver found
usbd_probe_and_attach: looping over 1 configurations
usbd_set_config_index: (addr 1) cno=2 attr=0x80, selfpowered=0, power=100
usbd_set_config_index: set config 1
umass1 at uhub5 port 2 configuration 1 interface 0
umass1: HP v125w, rev 2.00/1.00, addr 2
umass1: Get Max Lun
umass1: Max Lun 0
umass1: opening iface 0xffff800007659c80 epaddr 2 for BULKOUT
umass1: opening iface 0xffff800007659c80 epaddr 129 for BULKIN
umass1: umass_attach_bus: SCSI
scsibus1 at umass1: 2 targets, 1 lun per target
umass1: Attach finished
umass_scsi_cmd: async dir=1, cmdlen=6 datalen=36
umass1: umass_bbb_transfer cmd=0x12
umass1: CBW 100: cmdlen=6 (0x12000000240000000000), data = 36 bytes, dir = in
umass1: Handling BBB state 1 (BBB CBW), xfer=0xffff8000078eb000,
NORMAL_COMPLETION
umass1: Handling BBB state 2 (BBB Data), xfer=0xffff800007e42600,
NORMAL_COMPLETION
umass1: BBB_DATA actlen=36
umass1: 0x 008002021f0000006870202020202020 buffer=0xffff800062bceb80, buflen=36
umass1: 0x 76313235772020202020202020202020
umass1: 0x 312e3030
umass1: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xffff800007e42200,
NORMAL_COMPLETION
umass1: CSW 100: sig = 0x53425355 (valid), tag = 100, res = 0, status = 0x00
(good)
sd4 at scsibus1 target 0 lun 0: <hp, v125w, 1.00> disk removable
umass_scsi_cmd: async dir=0, cmdlen=6 datalen=0
umass1: umass_bbb_transfer cmd=0x00
umass1: CBW 101: cmdlen=6 (0x00000000000000000000), data = 0 bytes, dir = out
umass1: Handling BBB state 1 (BBB CBW), xfer=0xffff8000078eb000,
NORMAL_COMPLETION
umass1: no data phase
umass1: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xffff800007e42200,
NORMAL_COMPLETION
umass1: CSW 101: sig = 0x53425355 (valid), tag = 101, res = 0, status = 0x00
(good)
umass_scsi_cmd: async dir=1, cmdlen=10 datalen=8
umass1: umass_bbb_transfer cmd=0x25
umass1: CBW 102: cmdlen=10 (0x25000000000000000000), data = 8 bytes, dir = in
umass1: Handling BBB state 1 (BBB CBW), xfer=0xffff8000078eb000,
NORMAL_COMPLETION
umass1: Handling BBB state 2 (BBB Data), xfer=0xffff800007e42600,
NORMAL_COMPLETION
umass1: BBB_DATA actlen=8
umass1: 0x 00775fbf00000200 buffer=0xffff800007ec2240, buflen=8
umass1: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xffff800007e42200,
NORMAL_COMPLETION
umass1: CSW 102: sig = 0x53425355 (valid), tag = 102, res = 0, status = 0x00
(good)
umass_scsi_cmd: async dir=1, cmdlen=10 datalen=40
umass1: umass_bbb_transfer cmd=0x5a
umass1: CBW 103: cmdlen=10 (0x5a000500000000002800), data = 40 bytes, dir = in
umass1: Handling BBB state 1 (BBB CBW), xfer=0xffff8000078eb000,
NORMAL_COMPLETION
umass1: Handling BBB state 2 (BBB Data), xfer=0xffff800007e42600,
NORMAL_COMPLETION
umass1: BBB_DATA actlen=8
umass1: 0x 00060000000000000000000000000000 buffer=0xffff800062bce8f0, buflen=40
umass1: 0x 00000000000000000000000000000000
umass1: 0x 0000000000000000
umass1: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xffff800007e42200,
NORMAL_COMPLETION
umass1: CSW 103: sig = 0x53425355 (valid), tag = 103, res = 0, status = 0x00
(good)
umass_scsi_cmd: async dir=1, cmdlen=10 datalen=32
umass1: umass_bbb_transfer cmd=0x5a
umass1: CBW 104: cmdlen=10 (0x5a080400000000002000), data = 32 bytes, dir = in
umass1: Handling BBB state 1 (BBB CBW), xfer=0xffff8000078eb000,
NORMAL_COMPLETION
umass1: Handling BBB state 2 (BBB Data), xfer=0xffff800007e42600,
NORMAL_COMPLETION
umass1: BBB_DATA actlen=8
umass1: 0x 00060000000000000000000000000000 buffer=0xffff800062bce8f0, buflen=32
umass1: 0x 00000000000000000000000000000000
umass1: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xffff800007e42200,
NORMAL_COMPLETION
umass1: CSW 104: sig = 0x53425355 (valid), tag = 104, res = 0, status = 0x00
(good)
sd4: fabricating a geometry
sd4: 3819 MB, 3819 cyl, 64 head, 32 sec, 512 bytes/sect x 7823296 sectors
umass_scsi_cmd: async dir=0, cmdlen=6 datalen=0
umass1: umass_bbb_transfer cmd=0x00
umass1: CBW 105: cmdlen=6 (0x00000000000000002000), data = 0 bytes, dir = out
umass1: Handling BBB state 1 (BBB CBW), xfer=0xffff8000078eb000,
NORMAL_COMPLETION
umass1: no data phase
umass1: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xffff800007e42200,
NORMAL_COMPLETION
umass1: CSW 105: sig = 0x53425355 (valid), tag = 105, res = 0, status = 0x00
(good)
umass_scsi_cmd: async dir=0, cmdlen=6 datalen=0
umass1: umass_bbb_transfer cmd=0x1e
umass1: CBW 106: cmdlen=6 (0x1e000000010000002000), data = 0 bytes, dir = out
umass1: Handling BBB state 1 (BBB CBW), xfer=0xffff8000078eb000,
NORMAL_COMPLETION
umass1: no data phase
umass1: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xffff800007e42200,
NORMAL_COMPLETION
umass1: CSW 106: sig = 0x53425355 (valid), tag = 106, res = 0, status = 0x01
(failed)
umass1: Command Failed, res = 0
umass1: umass_bbb_transfer cmd=0x03
umass1: CBW 107: cmdlen=6 (0x03000000200000002000), data = 32 bytes, dir = in
umass1: Handling BBB state 1 (BBB CBW), xfer=0xffff8000078eb000,
NORMAL_COMPLETION
umass1: Handling BBB state 2 (BBB Data), xfer=0xffff800007e42600,
NORMAL_COMPLETION
umass1: BBB_DATA actlen=18
umass1: 0x f00005000000000b0000000020000000 buffer=0xffff800007613fc0, buflen=32
umass1: 0x 00000000000000000000000000000000
umass1: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xffff800007e42200,
NORMAL_COMPLETION
umass1: CSW 107: sig = 0x53425355 (valid), tag = 107, res = 32, status = 0x01
(failed)
umass1: Command Failed, res = 32
umass1: Autosense failed, umass1: Handling BBB state 1 (BBB CBW),
xfer=0xffff8000078eb000, NORMAL_COMPLETION
umass1: no data phase
umass1: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xffff800007e42200,
NORMAL_COMPLETION
umass1: CSW 108: sig = 0x53425355 (valid), tag = 108, res = 0, status = 0x00
(good)
sd4: unable to open device, error = 5
umass_scsi_cmd: async dir=0, cmdlen=6 datalen=0
umass1: umass_bbb_transfer cmd=0x00
umass1: CBW 109: cmdlen=6 (0x00000000000000002000), data = 0 bytes, dir = out
umass1: Handling BBB state 1 (BBB CBW), xfer=0xffff8000078eb000,
NORMAL_COMPLETION
umass1: no data phase
umass1: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xffff800007e42200,
NORMAL_COMPLETION
umass1: CSW 109: sig = 0x53425355 (valid), tag = 109, res = 0, status = 0x00
(good)
===========================================================================
Home |
Main Index |
Thread Index |
Old Index