Subject: Re: kern/35061: umass failed to attach a digital camera
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Emiliano Gavilan <egavilan@eie.fceia.unr.edu.ar>
List: netbsd-bugs
Date: 11/16/2006 21:00:05
The following reply was made to PR kern/35061; it has been noted by GNATS.
From: Emiliano Gavilan <egavilan@eie.fceia.unr.edu.ar>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/35061: umass failed to attach a digital camera
Date: Thu, 16 Nov 2006 17:59:14 -0300
On Thu, 16 Nov 2006 16:55:00 +0000 (UTC)
gnats-admin@netbsd.org wrote:
added UMASS_DEBUG and umassdebug = 0x7fffffff, recompiled GENERIC.
New output:
umass0 at uhub0 port 2 configuration 1 interface 0
umass0: Concord Eye-Q 3040 AF, rev 1.00/1.00, addr 2
umass0: using ATAPI over Bulk-Only
umass0: Get Max Lun
umass0: Get Max Lun not supported
umass0: opening iface 0xc12a03c0 epaddr 2 for BULKOUT
umass0: opening iface 0xc12a03c0 epaddr 130 for BULKIN
umass0: umass_attach_bus: ATAPI
atapibus2 at umass0: 2 targets
umass_atapi_probe_device: atapi=0xc145bd80 target=0
umass_atapi_probe_device: doing inquiry
umass_scsi_cmd: async dir=1, cmdlen=12 datalen=36
umass0: umass_bbb_transfer cmd=0x12
umass0: CBW 42: cmdlen=12 (0x12000000240000000000...), data = 36 bytes, dir = in
umass0: start xfer buffer=0xc1450e70 buflen=31 flags=0x0 timeout=15000
umass0: Handling BBB state 1 (BBB CBW), xfer=0xc13caf00, NORMAL_COMPLETION
umass0: start xfer buffer=0xcb935000 buflen=36 flags=0x5 timeout=15000
umass0: Handling BBB state 2 (BBB Data), xfer=0xc1448c00, NORMAL_COMPLETION
umass0: BBB_DATA actlen=36
umass0: 0x 008000011f000000434f4e434f524420 buffer=0xcb878970, buflen=36
umass0: 0x 4449474954414c2043414d4552412020
umass0: 0x 312e3030
umass0: start xfer buffer=0xc1450e8f buflen=13 flags=0x0 timeout=15000
umass0: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xc1448700, NORMAL_COMPLETION
umass0: CSW 42: sig = 0x53425355 (valid), tag = 42, res = 0, status = 0x00 (good)
umass_atapi_probedev: doing atapi_probedev on 'CONCORD' 'DIGITAL CAMERA' '1.00'
sd0 at atapibus2 drive 0: <CONCORD, DIGITAL CAMERA, 1.00> disk removable
umass_scsi_cmd: async dir=0, cmdlen=12 datalen=0
umass0: umass_bbb_transfer cmd=0x00
umass0: CBW 43: cmdlen=12 (0x00000000000000000000...), data = 0 bytes, dir = out
umass0: start xfer buffer=0xc1450e70 buflen=31 flags=0x0 timeout=15000
umass0: Handling BBB state 1 (BBB CBW), xfer=0xc13caf00, NORMAL_COMPLETION
umass0: no data phase
umass0: start xfer buffer=0xc1450e8f buflen=13 flags=0x0 timeout=15000
umass0: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xc1448700, NORMAL_COMPLETION
umass0: CSW 43: sig = 0x53425355 (valid), tag = 43, res = 0, status = 0x01 (failed)
umass0: Command Failed, res = 0
umass0: umass_bbb_transfer cmd=0x03
umass0: CBW 44: cmdlen=12 (0x03000000200000000000...), data = 32 bytes, dir = in
umass0: start xfer buffer=0xc1450e70 buflen=31 flags=0x0 timeout=15000
umass0: Handling BBB state 1 (BBB CBW), xfer=0xc13caf00, NORMAL_COMPLETION
umass0: start xfer buffer=0xcb935000 buflen=32 flags=0x5 timeout=15000
umass0: Handling BBB state 2 (BBB Data), xfer=0xc1448c00, NORMAL_COMPLETION
umass0: BBB_DATA actlen=20
umass0: 0x 70000600eeee000a0000000028000000 buffer=0xc1265f64, buflen=32
umass0: 0x 00000000000000000000000000000000
umass0: start xfer buffer=0xc1450e8f buflen=13 flags=0x0 timeout=15000
umass0: Handling BBB state 4 (BBB CSW, 1st attempt), xfer=0xc1448700, NORMAL_COMPLETION
umass0: CSW 44: sig = 0x53425355 (valid), tag = 44, res = 12, status = 0x00 (good)
sd0(umass0:0:0): readonly device
sd0: drive offline
umass_atapi_probe_device: atapi=0xc145bd80 target=1
umass0: Attach finished