(Microtech DPCM cannot read partition table.)
As suggested, I had enabled
CONFIG_USB=m
CONFIG_USB_DEVICEFS=y
CONFIG_USB_UHCI_ALT=m
CONFIG_USB_STORAGE=m
CONFIG_USB_STORAGE_DEBUG=y
CONFIG_USB_STORAGE_DPCM=y
and have, since the last posting, enabled
CONFIG_SCSI_DEBUG_QUEUES=y
CONFIG_SCSI_MULTI_LUN=y
I believe the USB_STORAGE_DPCM bit above is the SDDR09 code mentioned.
The last two haven't made any difference that I can tell. In the report
below, and now, the drive shows up as LUN 0 anyhow. Should anything
show up in another LUN?
I notice I am not getting periodic interrupts from the bus. Should I?
I'm not running hotplug, just manually modprobing as needed: usbcore,
uhci, scsi_mod, sd_mod, usb-storage.
Other clues?
Nathan Myers
[EMAIL PROTECTED]
On Sun, May 27, 2001 at 12:44:41AM -0700, Matthew Dharm wrote:
>
> Did you enable the SDDR09 code and Probe All LUNs?
>
> On Sun, May 27, 2001 at 12:28:14AM -0700, Nathan Myers wrote:
> >
> > I have been experimenting with a Microtech USB CameraMate (DPCM) on
> > a P-II/PIIX laptop with Linux-2.4.5 and all relevant drivers
> > (including UHCI-alt and DPCM) turned on. The device is recognized,
> > but I have never got any I/O on any storage device plugged into it.
> >
> > Mostly I have been using an Olympus 8M 3v SmartMedia card. According
> > to Microtech's web site you are supposed to plug in the SM card after
> > the DPCM is plugged in, and and unplug the card before unplugging
> > the DPCM.
> >
> > I have attached below all the logs & reports that seem relevant.
> >
> > Clue?
> >
> > --------------------------------------
> > Sticker on bottom of gadget:
> > Microtech USB CameraMate P/N: DPCM-USB Serial No. 1200654
> >
> > # cat /proc/bus/usb/drivers
> > usbdevfs
> > hub
> > usb-storage
> >
> > # cat /proc/scsi/scsi
> > Attached devices:
> > Host: scsi0 Channel: 00 Id: 00 Lun: 00
> > Vendor: eUSB Model: Compact Flash Rev: 1
> > Type: Direct-Access ANSI SCSI revision: 02
> >
> > # cat /proc/interrupts | grep usb; sleep 10; cat /proc/interrupts | grep usb
> > 11: 773 XT-PIC Texas Instruments PCI1220, Texas Instruments
>PCI1220 (#2), usb-uhci
> > 11: 773 XT-PIC Texas Instruments PCI1220, Texas Instruments
>PCI1220 (#2), usb-uhci
> >
> > # cat /proc/bus/usb/devices
> > T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
> > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
> > D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> > P: Vendor=0000 ProdID=0000 Rev= 0.00
> > S: Product=USB UHCI-alt Root Hub
> > S: SerialNumber=fce0
> > C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
> > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
> > E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
> > T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
> > D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
> > P: Vendor=07af ProdID=0006 Rev= 1.00
> > S: Manufacturer=Microtech International, Inc
> > S: Product=DPCM-USB
> > C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
> > I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=usb-storage
> > E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
> > E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
> > E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=255ms
> >
> > # cat /proc/scsi/usb-storage-0/0
> > Host scsi0: usb-storage
> > Vendor: Microtech International, Inc
> > Product: DPCM-USB
> > Serial Number: None
> > Protocol: Transparent SCSI
> > Transport: Control/Bulk-EUSB/SDDR09
> > GUID: 07af00060000000000000000
> >
> > # dmesg
> > hub.c: USB new device connect on bus1/1, assigned device number 3
> > usb-storage: act_altsettting is 0
> > usb-storage: id_index calculated to be: 27
> > usb-storage: Array length appears to be: 47
> > usb-storage: Vendor: Microtech
> > usb-storage: Product: CameraMate (DPCM_USB)
> > usb-storage: USB Mass Storage device detected
> > usb-storage: Endpoints: In: 0xc7d17c74 Out: 0xc7d17c60 Int: 0xc7d17c88 (Period 2
> > 55)
> > usb-storage: Found existing GUID 07af00060000000000000000
> > WARNING: USB Mass Storage data integrity not assured
> > USB Mass Storage device found at 3
> >
> > # dd if=/dev/sda of=/dev/null bs=512 count=1
> > dd: /dev/sda: Input/output error
> > 0+0 records in
> > 0+0 records out
> >
> > # dmesg
> > usb-storage: queuecommand() called
> > usb-storage: *** thread awakened.
> > usb-storage: Skipping START_STOP command
> > usb-storage: *** thread sleeping.
> > VFS: Disk change detected on device sd(8,0)
> > usb-storage: queuecommand() called
> > usb-storage: *** thread awakened.
> > usb-storage: Command TEST_UNIT_READY (6 bytes)
> > usb-storage: 00 00 00 00 00 00 00 00 00 00 00 00
> > usb-storage: dpcm_transport: LUN=0
> > usb-storage: Call to usb_stor_control_msg() returned -32 [EPIPE]
> > usb-storage: -- Stall on control pipe. Clearing
> > usb-storage: -- clear_halt() returns -32 [EPIPE]
> > usb-storage: -- CB transport device requiring auto-sense
> > usb-storage: -- transport indicates command failure
> > usb-storage: Issuing auto-REQUEST_SENSE
> > usb-storage: dpcm_transport: LUN=0
> > usb-storage: Call to usb_stor_control_msg() returned 6
> > usb-storage: usb_stor_transfer_partial(): xfer 18 bytes
> > usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18
> > usb-storage: usb_stor_transfer_partial(): transfer complete
> > usb-storage: CB data stage result is 0x0
> > usb-storage: -- Result from auto-sense is 0
> > usb-storage: -- code: 0x70, key: 0x2, ASC: 0x3a, ASCQ: 0x0
> > usb-storage: Not Ready: (unknown ASC/ASCQ)
> > usb-storage: scsi cmd done, result=0x2
> > usb-storage: *** thread sleeping.
> > usb-storage: queuecommand() called
> > usb-storage: *** thread awakened.
> > usb-storage: Command READ_CAPACITY (10 bytes)
> > usb-storage: 25 00 00 00 00 00 00 00 00 00 00 00
> > usb-storage: dpcm_transport: LUN=0
> > usb-storage: Call to usb_stor_control_msg() returned 10
> > usb-storage: usb_stor_transfer_partial(): xfer 8 bytes
> > usb-storage: usb_stor_bulk_msg() returned -32 xferred 0/8 [EPIPE]
> > usb-storage: clearing endpoint halt for pipe 0xc0010380
> > usb-storage: usb_stor_transfer_partial(): unknown error
> > usb-storage: CB data stage result is 0x2
> > usb-storage: -- CB transport device requiring auto-sense
> > usb-storage: Issuing auto-REQUEST_SENSE
> > usb-storage: dpcm_transport: LUN=0
> > usb-storage: Call to usb_stor_control_msg() returned 10
> > usb-storage: usb_stor_transfer_partial(): xfer 18 bytes
> > usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18
> > usb-storage: usb_stor_transfer_partial(): transfer complete
> > usb-storage: CB data stage result is 0x0
> > usb-storage: -- Result from auto-sense is 0
> > usb-storage: -- code: 0x70, key: 0x2, ASC: 0x3a, ASCQ: 0x0
> > usb-storage: Not Ready: (unknown ASC/ASCQ)
> > usb-storage: scsi cmd done, result=0x2
> > usb-storage: *** thread sleeping.
> > usb-storage: queuecommand() called
> > usb-storage: *** thread awakened.
> > usb-storage: Command READ_CAPACITY (10 bytes)
> > usb-storage: 25 00 00 00 00 00 00 00 00 00 00 00
> > usb-storage: dpcm_transport: LUN=0
> > usb-storage: Call to usb_stor_control_msg() returned 10
> > usb-storage: usb_stor_transfer_partial(): xfer 8 bytes
> > usb-storage: usb_stor_bulk_msg() returned -32 xferred 0/8 [EPIPE]
> > usb-storage: clearing endpoint halt for pipe 0xc0010380
> > usb-storage: usb_stor_transfer_partial(): unknown error
> > usb-storage: CB data stage result is 0x2
> > usb-storage: -- CB transport device requiring auto-sense
> > usb-storage: Issuing auto-REQUEST_SENSE
> > usb-storage: dpcm_transport: LUN=0
> > usb-storage: Call to usb_stor_control_msg() returned 10
> > usb-storage: usb_stor_transfer_partial(): xfer 18 bytes
> > usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18
> > usb-storage: usb_stor_transfer_partial(): transfer complete
> > usb-storage: CB data stage result is 0x0
> > usb-storage: -- Result from auto-sense is 0
> > usb-storage: -- code: 0x70, key: 0x2, ASC: 0x3a, ASCQ: 0x0
> > usb-storage: Not Ready: (unknown ASC/ASCQ)
> > usb-storage: scsi cmd done, result=0x2
> > usb-storage: *** thread sleeping.
> > usb-storage: queuecommand() called
> > usb-storage: *** thread awakened.
> > usb-storage: Command READ_CAPACITY (10 bytes)
> > usb-storage: 25 00 00 00 00 00 00 00 00 00 00 00
> > usb-storage: dpcm_transport: LUN=0
> > usb-storage: Call to usb_stor_control_msg() returned 10
> > usb-storage: usb_stor_transfer_partial(): xfer 8 bytes
> > usb-storage: usb_stor_bulk_msg() returned -32 xferred 0/8 [EPIPE]
> > usb-storage: clearing endpoint halt for pipe 0xc0010380
> > usb-storage: usb_stor_transfer_partial(): unknown error
> > usb-storage: CB data stage result is 0x2
> > usb-storage: -- CB transport device requiring auto-sense
> > usb-storage: Issuing auto-REQUEST_SENSE
> > usb-storage: dpcm_transport: LUN=0
> > usb-storage: Call to usb_stor_control_msg() returned 10
> > usb-storage: usb_stor_transfer_partial(): xfer 18 bytes
> > usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18
> > usb-storage: usb_stor_transfer_partial(): transfer complete
> > usb-storage: CB data stage result is 0x0
> > usb-storage: -- Result from auto-sense is 0
> > usb-storage: -- code: 0x70, key: 0x2, ASC: 0x3a, ASCQ: 0x0
> > usb-storage: Not Ready: (unknown ASC/ASCQ)
> > usb-storage: scsi cmd done, result=0x2
> > usb-storage: *** thread sleeping.
> > sda : READ CAPACITY failed.
> > sda : status = 1, message = 00, host = 0, driver = 08
> > sda : extended sense code = 2
> > sda : block size assumed to be 512 bytes, disk size 1GB.
> > usb-storage: queuecommand() called
> > usb-storage: *** thread awakened.
> > usb-storage: Command MODE_SENSE (6 bytes)
> > usb-storage: 1a 00 3f 00 08 00 00 00 00 00 00 00
> > usb-storage: dpcm_transport: LUN=0
> > usb-storage: Call to usb_stor_control_msg() returned 6
> > usb-storage: usb_stor_transfer_partial(): xfer 8 bytes
> > usb-storage: usb_stor_bulk_msg() returned -32 xferred 0/8 [EPIPE]
> > usb-storage: clearing endpoint halt for pipe 0xc0010380
> > usb-storage: usb_stor_transfer_partial(): unknown error
> > usb-storage: CB data stage result is 0x2
> > usb-storage: -- CB transport device requiring auto-sense
> > usb-storage: Issuing auto-REQUEST_SENSE
> > usb-storage: dpcm_transport: LUN=0
> > usb-storage: Call to usb_stor_control_msg() returned 6
> > usb-storage: usb_stor_transfer_partial(): xfer 18 bytes
> > usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18
> > usb-storage: usb_stor_transfer_partial(): transfer complete
> > usb-storage: CB data stage result is 0x0
> > usb-storage: -- Result from auto-sense is 0
> > usb-storage: -- code: 0x70, key: 0x2, ASC: 0x3a, ASCQ: 0x0
> > usb-storage: Not Ready: (unknown ASC/ASCQ)
> > usb-storage: scsi cmd done, result=0x2
> > usb-storage: *** thread sleeping.
> > sda: test WP failed, assume Write Enabled
> > sda: I/O error: dev 08:00, sector 0
> > unable to read partition table
> > usb-storage: queuecommand() called
> > usb-storage: *** thread awakened.
> > usb-storage: Command ALLOW_MEDIUM_REMOVAL (6 bytes)
> > usb-storage: 1e 00 00 00 01 00 13 c0 00 08 00 00
> > usb-storage: dpcm_transport: LUN=0
> > usb-storage: Call to usb_stor_control_msg() returned 6
> > usb-storage: -- CB transport device requiring auto-sense
> > usb-storage: Issuing auto-REQUEST_SENSE
> > usb-storage: dpcm_transport: LUN=0
> > usb-storage: Call to usb_stor_control_msg() returned 6
> > usb-storage: usb_stor_transfer_partial(): xfer 18 bytes
> > usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18
> > usb-storage: usb_stor_transfer_partial(): transfer complete
> > usb-storage: CB data stage result is 0x0
> > usb-storage: -- Result from auto-sense is 0
> > usb-storage: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0
> > usb-storage: No Sense: no additional sense information
> > usb-storage: scsi cmd done, result=0x0
> > usb-storage: *** thread sleeping.
> > I/O error: dev 08:00, sector 0
> > usb-storage: queuecommand() called
> > usb-storage: *** thread awakened.
> > usb-storage: Command ALLOW_MEDIUM_REMOVAL (6 bytes)
> > usb-storage: 1e 00 00 00 00 00 be c3 86 02 00 00
> > usb-storage: dpcm_transport: LUN=0
> > usb-storage: Call to usb_stor_control_msg() returned 6
> > usb-storage: -- CB transport device requiring auto-sense
> > usb-storage: Issuing auto-REQUEST_SENSE
> > usb-storage: dpcm_transport: LUN=0
> > usb-storage: Call to usb_stor_control_msg() returned 6
> > usb-storage: usb_stor_transfer_partial(): xfer 18 bytes
> > usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18
> > usb-storage: usb_stor_transfer_partial(): transfer complete
> > usb-storage: CB data stage result is 0x0
> > usb-storage: -- Result from auto-sense is 0
> > usb-storage: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0
> > usb-storage: No Sense: no additional sense information
> > usb-storage: scsi cmd done, result=0x0
> > usb-storage: *** thread sleeping.
> >
> > usb.c: USB disconnect on device 2
> > usb-storage: storage_disconnect() called
> > usb-storage: -- releasing main URB
> > usb-storage: -- usb_unlink_urb() returned -19 [ENODEV]
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-users