Oooo... sounds bad :-P. Here's /proc/usb/devices
-Kipp
--- begin devices ---
T: Bus=02 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.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.3 uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:1d.1
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= 2 Ivl=255ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 93/900 us (10%), #Int= 1, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.3 uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:1d.0
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= 2 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=04e6 ProdID=0101 Rev= 2.00
S: Manufacturer=SCM Microsystems Inc.
S: Product=eUSB ATA / ATAPI Adapter
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
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= 2 Ivl=32ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 2 Spd=1.5 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=c00e Rev=11.10
S: Manufacturer=Logitech
S: Product=USB-PS/2 Optical Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 98mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=hid
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=10ms
--- end devices ---
On Tue, 2 Mar 2004, Matthew Dharm wrote:
> Wow... there isn't a single command in here which actually worked.
>
> Tho, it's nice to see that the code we've got is pretty bulletproof with
> really bogus devices (many thanks to Alan Stern who really worked on a lot
> of that).
>
> What does /proc/bus/usb/devices show when the unit is attached?
>
> Matt
>
> On Tue, Mar 02, 2004 at 01:24:04PM -0500, Kipp Cannon wrote:
> > Hi,
> >
> > OK, I've recompiled with verbose debugging enabled, rebooted the system,
> > plugged in the drive and attempted to mount the disk that's in it. The
> > following is the entire output of dmesg following the (failed) mount
> > attempt. I decided not to second guess what it is that you need from
> > this, so I've just included the whole thing. (/var/log/messages has the
> > same stuff as before in it)
> >
> > -Kipp
> >
> > --- begin dmesg.log ---
> > TCP: Hash tables configured (established 16384 bind 32768)
> > NET: Registered protocol family 1
> > NET: Registered protocol family 17
> > ACPI: (supports S0 S3 S4 S5)
> > kjournald starting. Commit interval 5 seconds
> > EXT3-fs: mounted filesystem with ordered data mode.
> > VFS: Mounted root (ext3 filesystem) readonly.
> > Freeing unused kernel memory: 140k freed
> > Adding 2096472k swap on /dev/hda2. Priority:-1 extents:1
> > EXT3 FS on hda1, internal journal
> > Linux Kernel Card Services
> > options: [pci] [cardbus] [pm]
> > Yenta: CardBus bridge found at 0000:01:05.0 [107b:1450]
> > Yenta: ISA IRQ mask 0x0898, PCI irq 10
> > Socket status: 30000007
> > hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
> > Uniform CD-ROM driver Revision: 3.20
> > inserting floppy driver for 2.6.3
> > Floppy drive(s): fd0 is 1.44M
> > FDC 0 is a National Semiconductor PC87306
> > Linux agpgart interface v0.100 (c) Dave Jones
> > agpgart: Detected an Intel 830M Chipset.
> > agpgart: Maximum main memory to use for agp memory: 202M
> > agpgart: Detected 892K stolen memory.
> > agpgart: AGP aperture is 128M @ 0xe8000000
> > mtrr: 0xe8000000,0x8000000 overlaps existing 0xe8000000,0x80000
> > [drm] Initialized i830 1.3.2 20021108 on minor 0
> > parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
> > parport0: irq 7 detected
> > parport0: cpp_daisy: aa5500ff(38)
> > parport0: assign_addrs: aa5500ff(38)
> > parport0: cpp_daisy: aa5500ff(38)
> > parport0: assign_addrs: aa5500ff(38)
> > lp0: using parport0 (polling).
> > Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
> > ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> > PCI: Enabling device 0000:00:1f.6 (0000 -> 0001)
> > input: PS/2 Generic Mouse on isa0060/serio1
> > input: PC Speaker
> > PCI: Setting latency timer of device 0000:01:03.0 to 64
> > Intel(R) PRO/100 Network Driver - version 2.3.36-k1
> > Copyright (c) 2003 Intel Corporation
> >
> > PCI: Setting latency timer of device 0000:01:08.0 to 64
> > e100: selftest OK.
> > e100: eth0: Intel(R) PRO/100 Network Connection
> > Hardware receive checksums enabled
> >
> > drivers/usb/core/usb.c: registered new driver usbfs
> > drivers/usb/core/usb.c: registered new driver hub
> > drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
> > uhci_hcd 0000:00:1d.0: UHCI Host Controller
> > PCI: Setting latency timer of device 0000:00:1d.0 to 64
> > uhci_hcd 0000:00:1d.0: irq 10, io base 00001840
> > uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
> > drivers/usb/host/uhci-hcd.c: detected 2 ports
> > uhci_hcd 0000:00:1d.0: root hub device address 1
> > usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
> > drivers/usb/core/message.c: USB device number 1 default language ID 0x409
> > usb usb1: Product: UHCI Host Controller
> > usb usb1: Manufacturer: Linux 2.6.3 uhci_hcd
> > usb usb1: SerialNumber: 0000:00:1d.0
> > drivers/usb/core/usb.c: usb_hotplug
> > usb usb1: registering 1-0:1.0 (config #1, interface 0)
> > drivers/usb/core/usb.c: usb_hotplug
> > hub 1-0:1.0: usb_probe_interface
> > hub 1-0:1.0: usb_probe_interface - got id
> > hub 1-0:1.0: USB hub found
> > hub 1-0:1.0: 2 ports detected
> > hub 1-0:1.0: standalone hub
> > hub 1-0:1.0: ganged power switching
> > hub 1-0:1.0: global over-current protection
> > hub 1-0:1.0: Port indicators are not supported
> > hub 1-0:1.0: power on to power good time: 2ms
> > hub 1-0:1.0: hub controller current requirement: 0mA
> > hub 1-0:1.0: local power source is good
> > hub 1-0:1.0: no over-current condition exists
> > hub 1-0:1.0: enabling power on all ports
> > uhci_hcd 0000:00:1d.1: UHCI Host Controller
> > PCI: Setting latency timer of device 0000:00:1d.1 to 64
> > uhci_hcd 0000:00:1d.1: irq 10, io base 00001860
> > uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
> > drivers/usb/host/uhci-hcd.c: detected 2 ports
> > uhci_hcd 0000:00:1d.1: root hub device address 1
> > usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
> > drivers/usb/core/message.c: USB device number 1 default language ID 0x409
> > usb usb2: Product: UHCI Host Controller
> > usb usb2: Manufacturer: Linux 2.6.3 uhci_hcd
> > usb usb2: SerialNumber: 0000:00:1d.1
> > drivers/usb/core/usb.c: usb_hotplug
> > usb usb2: registering 2-0:1.0 (config #1, interface 0)
> > drivers/usb/core/usb.c: usb_hotplug
> > hub 2-0:1.0: usb_probe_interface
> > hub 2-0:1.0: usb_probe_interface - got id
> > hub 2-0:1.0: USB hub found
> > hub 2-0:1.0: 2 ports detected
> > hub 2-0:1.0: standalone hub
> > hub 2-0:1.0: ganged power switching
> > hub 2-0:1.0: global over-current protection
> > hub 2-0:1.0: Port indicators are not supported
> > hub 2-0:1.0: power on to power good time: 2ms
> > hub 2-0:1.0: hub controller current requirement: 0mA
> > hub 2-0:1.0: local power source is good
> > hub 2-0:1.0: no over-current condition exists
> > hub 2-0:1.0: enabling power on all ports
> > hub 1-0:1.0: port 2, status 301, change 1, 1.5 Mb/s
> > hub 1-0:1.0: debounce: port 2: delay 100ms stable 4 status 0x301
> > usb 1-2: new low speed USB device using address 2
> > usb 1-2: new device strings: Mfr=1, Product=2, SerialNumber=0
> > drivers/usb/core/message.c: USB device number 2 default language ID 0x409
> > usb 1-2: Product: USB-PS/2 Optical Mouse
> > usb 1-2: Manufacturer: Logitech
> > drivers/usb/core/usb.c: usb_hotplug
> > usb 1-2: registering 1-2:1.0 (config #1, interface 0)
> > drivers/usb/core/usb.c: usb_hotplug
> > drivers/usb/host/uhci-hcd.c: 1860: suspend_hc
> > e100: eth0 NIC Link is Up 10 Mbps Half duplex
> > cs: IO port probe 0x0c00-0x0cff: clean.
> > cs: IO port probe 0x0800-0x08ff: excluding 0x800-0x80f
> > cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x4d0-0x4d7
> > cs: IO port probe 0x0a00-0x0aff: clean.
> > NET: Registered protocol family 10
> > Disabled Privacy Extensions on device c02f7fe0(lo)
> > IPv6 over IPv4 tunneling driver
> > drivers/usb/core/usb.c: registered new driver hiddev
> > hid 1-2:1.0: usb_probe_interface
> > hid 1-2:1.0: usb_probe_interface - got id
> > input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:1d.0-2
> > drivers/usb/core/usb.c: registered new driver hid
> > drivers/usb/input/hid-core.c: v2.0:USB HID core driver
> > mtrr: 0xe8000000,0x8000000 overlaps existing 0xe8000000,0x80000
> > atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
> > atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
> > atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
> > atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
> > eth0: no IPv6 routers present
> > hub 1-0:1.0: port 1, status 101, change 1, 12 Mb/s
> > hub 1-0:1.0: debounce: port 1: delay 100ms stable 4 status 0x101
> > usb 1-1: new full speed USB device using address 3
> > usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=0
> > drivers/usb/core/message.c: USB device number 3 default language ID 0x409
> > usb 1-1: Product: eUSB ATA / ATAPI Adapter
> > usb 1-1: Manufacturer: SCM Microsystems Inc.
> > drivers/usb/core/usb.c: usb_hotplug
> > usb 1-1: registering 1-1:1.0 (config #1, interface 0)
> > drivers/usb/core/usb.c: usb_hotplug
> > SCSI subsystem initialized
> > Initializing USB Mass Storage driver...
> > usb-storage 1-1:1.0: usb_probe_interface
> > usb-storage 1-1:1.0: usb_probe_interface - got id
> > usb-storage: USB Mass Storage device detected
> > usb-storage: act_altsetting is 0, id_index is 27
> > usb-storage: -- associate_dev
> > usb-storage: Vendor: Shuttle
> > usb-storage: Product: CD-RW Device
> > usb-storage: Transport: Control/Bulk
> > usb-storage: Protocol: 8020i
> > usb-storage: Endpoints: In: 0xc9d2e8f4 Out: 0xc9d2e8e0 Int: 0xc9d2e908 (Period 32)
> > usb-storage: *** thread sleeping.
> > scsi0 : SCSI emulation for USB Mass Storage devices
> > usb-storage: queuecommand called
> > usb-storage: *** thread awakened.
> > usb-storage: Command INQUIRY (6 bytes)
> > usb-storage: 12 00 00 00 24 00
> > usb-storage: usb_stor_ctrl_transfer: rq=00 rqtype=21 value=0000 index=00 len=12
> > usb-storage: Status code 0; transferred 12/12
> > usb-storage: -- transfer complete
> > usb-storage: Call to usb_stor_ctrl_transfer() returned 0
> > usb-storage: usb_stor_bulk_transfer_buf: xfer 36 bytes
> > usb-storage: Status code -32; transferred 0/36
> > usb-storage: clearing endpoint halt for pipe 0xc0010380
> > usb-storage: usb_stor_control_msg: rq=01 rqtype=02 value=0000 index=82 len=0
> > usb-storage: usb_stor_clear_halt: result = 0
> > usb-storage: CB data stage result is 0x2
> > usb-storage: -- CB transport device requiring auto-sense
> > usb-storage: Issuing auto-REQUEST_SENSE
> > usb-storage: usb_stor_ctrl_transfer: rq=00 rqtype=21 value=0000 index=00 len=12
> > usb-storage: Status code 0; transferred 12/12
> > usb-storage: -- transfer complete
> > usb-storage: Call to usb_stor_ctrl_transfer() returned 0
> > usb-storage: usb_stor_bulk_transfer_buf: xfer 18 bytes
> > usb-storage: Status code -32; transferred 0/18
> > usb-storage: clearing endpoint halt for pipe 0xc0010380
> > usb-storage: usb_stor_control_msg: rq=01 rqtype=02 value=0000 index=82 len=0
> > usb-storage: usb_stor_clear_halt: result = 0
> > usb-storage: CB data stage result is 0x2
> > usb-storage: -- Result from auto-sense is 0
> > usb-storage: -- code: 0x0, key: 0x0, ASC: 0x0, ASCQ: 0x0
> > usb-storage: (Unknown Key): (unknown ASC/ASCQ)
> > usb-storage: Fixing INQUIRY data to show SCSI rev 2 - was 0
> > usb-storage: scsi cmd done, result=0x0
> > usb-storage: *** thread sleeping.
> > Vendor: Model: Rev:
> > Type: Direct-Access ANSI SCSI revision: 02
> > usb-storage: queuecommand called
> > usb-storage: *** thread awakened.
> > usb-storage: Bad LUN (0:1)
> > usb-storage: scsi cmd done, result=0x40000
> > usb-storage: *** thread sleeping.
> > usb-storage: queuecommand called
> > usb-storage: *** thread awakened.
> > usb-storage: Bad target number (1:0)
> > usb-storage: scsi cmd done, result=0x40000
> > usb-storage: *** thread sleeping.
> > usb-storage: queuecommand called
> > usb-storage: *** thread awakened.
> > usb-storage: Bad target number (2:0)
> > usb-storage: scsi cmd done, result=0x40000
> > usb-storage: *** thread sleeping.
> > usb-storage: queuecommand called
> > usb-storage: *** thread awakened.
> > usb-storage: Bad target number (3:0)
> > usb-storage: scsi cmd done, result=0x40000
> > usb-storage: *** thread sleeping.
> > usb-storage: queuecommand called
> > usb-storage: *** thread awakened.
> > usb-storage: Bad target number (4:0)
> > usb-storage: scsi cmd done, result=0x40000
> > usb-storage: *** thread sleeping.
> > usb-storage: queuecommand called
> > usb-storage: *** thread awakened.
> > usb-storage: Bad target number (5:0)
> > usb-storage: scsi cmd done, result=0x40000
> > usb-storage: *** thread sleeping.
> > usb-storage: queuecommand called
> > usb-storage: *** thread awakened.
> > usb-storage: Bad target number (6:0)
> > usb-storage: scsi cmd done, result=0x40000
> > usb-storage: *** thread sleeping.
> > usb-storage: queuecommand called
> > usb-storage: *** thread awakened.
> > usb-storage: Bad target number (7:0)
> > usb-storage: scsi cmd done, result=0x40000
> > usb-storage: *** thread sleeping.
> > WARNING: USB Mass Storage data integrity not assured
> > USB Mass Storage device found at 3
> > drivers/usb/core/usb.c: registered new driver usb-storage
> > USB Mass Storage support registered.
> > usb-storage: queuecommand called
> > usb-storage: *** thread awakened.
> > usb-storage: Command TEST_UNIT_READY (6 bytes)
> > usb-storage: 00 00 00 00 00 00
> > usb-storage: usb_stor_ctrl_transfer: rq=00 rqtype=21 value=0000 index=00 len=12
> > usb-storage: Status code 0; transferred 12/12
> > usb-storage: -- transfer complete
> > usb-storage: Call to usb_stor_ctrl_transfer() returned 0
> > usb-storage: -- CB transport device requiring auto-sense
> > usb-storage: Issuing auto-REQUEST_SENSE
> > usb-storage: usb_stor_ctrl_transfer: rq=00 rqtype=21 value=0000 index=00 len=12
> > usb-storage: Status code 0; transferred 12/12
> > usb-storage: -- transfer complete
> > usb-storage: Call to usb_stor_ctrl_transfer() returned 0
> > usb-storage: usb_stor_bulk_transfer_buf: xfer 18 bytes
> > usb-storage: Status code -32; transferred 0/18
> > usb-storage: clearing endpoint halt for pipe 0xc0010380
> > usb-storage: usb_stor_control_msg: rq=01 rqtype=02 value=0000 index=82 len=0
> > usb-storage: usb_stor_clear_halt: result = 0
> > usb-storage: CB data stage result is 0x2
> > usb-storage: -- Result from auto-sense is 0
> > usb-storage: -- code: 0x0, key: 0x0, ASC: 0x0, ASCQ: 0x0
> > usb-storage: (Unknown Key): (unknown ASC/ASCQ)
> > usb-storage: scsi cmd done, result=0x0
> > 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
> > usb-storage: usb_stor_ctrl_transfer: rq=00 rqtype=21 value=0000 index=00 len=12
> > usb-storage: Status code 0; transferred 12/12
> > usb-storage: -- transfer complete
> > usb-storage: Call to usb_stor_ctrl_transfer() returned 0
> > usb-storage: usb_stor_bulk_transfer_buf: xfer 8 bytes
> > usb-storage: Status code -32; transferred 0/8
> > usb-storage: clearing endpoint halt for pipe 0xc0010380
> > usb-storage: usb_stor_control_msg: rq=01 rqtype=02 value=0000 index=82 len=0
> > usb-storage: usb_stor_clear_halt: result = 0
> > usb-storage: CB data stage result is 0x2
> > usb-storage: -- CB transport device requiring auto-sense
> > usb-storage: -- unexpectedly short transfer
> > usb-storage: Issuing auto-REQUEST_SENSE
> > usb-storage: usb_stor_ctrl_transfer: rq=00 rqtype=21 value=0000 index=00 len=12
> > usb-storage: Status code 0; transferred 12/12
> > usb-storage: -- transfer complete
> > usb-storage: Call to usb_stor_ctrl_transfer() returned 0
> > usb-storage: usb_stor_bulk_transfer_buf: xfer 18 bytes
> > usb-storage: Status code -32; transferred 0/18
> > usb-storage: clearing endpoint halt for pipe 0xc0010380
> > usb-storage: usb_stor_control_msg: rq=01 rqtype=02 value=0000 index=82 len=0
> > usb-storage: usb_stor_clear_halt: result = 0
> > usb-storage: CB data stage result is 0x2
> > usb-storage: -- Result from auto-sense is 0
> > usb-storage: -- code: 0x0, key: 0x0, ASC: 0x0, ASCQ: 0x0
> > usb-storage: (Unknown Key): (unknown ASC/ASCQ)
> > usb-storage: scsi cmd done, result=0x0
> > usb-storage: *** thread sleeping.
> > sda : sector size 0 reported, assuming 512.
> > SCSI device sda: 1 512-byte hdwr sectors (0 MB)
> > sda: assuming drive cache: write through
> > sda:<7>usb-storage: queuecommand called
> > usb-storage: *** thread awakened.
> > usb-storage: Command READ_10 (10 bytes)
> > usb-storage: 28 00 00 00 00 00 00 00 01 00
> > usb-storage: usb_stor_ctrl_transfer: rq=00 rqtype=21 value=0000 index=00 len=12
> > usb-storage: Status code 0; transferred 12/12
> > usb-storage: -- transfer complete
> > usb-storage: Call to usb_stor_ctrl_transfer() returned 0
> > usb-storage: usb_stor_bulk_transfer_sglist: xfer 512 bytes, 1 entries
> > usb-storage: Status code -32; transferred 0/512
> > usb-storage: clearing endpoint halt for pipe 0xc0010380
> > usb-storage: usb_stor_control_msg: rq=01 rqtype=02 value=0000 index=82 len=0
> > usb-storage: usb_stor_clear_halt: result = 0
> > usb-storage: CB data stage result is 0x2
> > usb-storage: -- CB transport device requiring auto-sense
> > usb-storage: -- unexpectedly short transfer
> > usb-storage: Issuing auto-REQUEST_SENSE
> > usb-storage: usb_stor_ctrl_transfer: rq=00 rqtype=21 value=0000 index=00 len=12
> > usb-storage: Status code 0; transferred 12/12
> > usb-storage: -- transfer complete
> > usb-storage: Call to usb_stor_ctrl_transfer() returned 0
> > usb-storage: usb_stor_bulk_transfer_buf: xfer 18 bytes
> > usb-storage: Status code -32; transferred 0/18
> > usb-storage: clearing endpoint halt for pipe 0xc0010380
> > usb-storage: usb_stor_control_msg: rq=01 rqtype=02 value=0000 index=82 len=0
> > usb-storage: usb_stor_clear_halt: result = 0
> > usb-storage: CB data stage result is 0x2
> > usb-storage: -- Result from auto-sense is 0
> > usb-storage: -- code: 0x0, key: 0x0, ASC: 0x0, ASCQ: 0x0
> > usb-storage: (Unknown Key): (unknown ASC/ASCQ)
> > usb-storage: scsi cmd done, result=0x0
> > usb-storage: *** thread sleeping.
> > unknown partition table
> > Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
> > attempt to access beyond end of device
> > sda: rw=0, want=66, limit=1
> > isofs_fill_super: bread failed, dev=sda, iso_blknum=16, block=32
> > --- end dmesg.log ---
> >
> >
> > On Tue, 2 Mar 2004, Matthew Dharm wrote:
> >
> > > The device is reporting Direct-Access type, when it should be reporting
> > > CD-ROM type.
> > >
> > > Looking at the logs you provided, actually, it looks like it barely can
> > > answer an INQUIRY at all.
> > >
> > > To get something like this working, you'd have to rewrite the INQUIRY
> > > response data to set the type to CD-ROM. Before we go down that path,
> > > rebuild the driver with USB Mass Storage Verbose Debug turned on so we can
> > > see if something is going wrong with the INQUIRY or (more likely) the
> > > device is just busted.
> > >
> > > Matt
> > >
> > > On Tue, Mar 02, 2004 at 01:18:29AM -0500, Kipp Cannon wrote:
> > > > Hi,
> > > >
> > > > I've got an external cd-rom drive branded a "Microtech MicroCD" that I'm
> > > > having trouble getting to work with Linux 2.6.3 (the only version I've
> > > > tried it with). The drive attaches to a USB port on the host machine
> > > > through a cable that, at the drive end, has what looks like a "VHDCI"
> > > > high-density SCSI connector but is only about half the size.
> > > >
> > > > usbview reports the drive as a "eUSB ATA/ATAPI adapter" manufactured by
> > > > "SCM Microsystems Inc." (vendor/product/rev = 04e6/0101/2.00). Some
> > > > searching on Google revealed that SCM Microsystems manufactured a
> > > > USB-ATAPI bridge cable that has been used to attach various ATAPI drives
> > > > to USB ports, in particular the HP 8200e/8210e CD-Writer Plus.
> > > >
> > > > I suppose that's what I've got: a parallel-port ATAPI drive that's been
> > > > retrofitted to work with USB ports.
> > > >
> > > > Anyway...
> > > >
> > > > When I plug in the drive, the usb subsystem loads a bunch of stuff and
> > > > sets the drive up on /dev/sda with the following being put in
> > > > /var/log/messages
> > > >
> > > > --- begin /var/log/messages ---
> > > > Feb 26 19:44:45 localhost kernel: usb 1-1: new full speed USB device using
> > > > address 3
> > > > Feb 26 19:44:45 localhost kernel: SCSI subsystem initialized
> > > > Feb 26 19:44:45 localhost kernel: Initializing USB Mass Storage driver...
> > > > Feb 26 19:44:45 localhost kernel: scsi0 : SCSI emulation for USB Mass Storage
> > > > devices
> > > > Feb 26 19:44:45 localhost kernel: Vendor: Model:
> > > > Rev:
> > > > Feb 26 19:44:45 localhost kernel: Type: Direct-Access
> > > > ANSI SCSI revision: 02
> > > > Feb 26 19:44:45 localhost kernel: drivers/usb/core/usb.c: registered new
> > > > driver usb-storage
> > > > Feb 26 19:44:45 localhost kernel: USB Mass Storage support registered.
> > > > Feb 26 19:44:45 localhost scsi.agent[4486]: disk at
> > > > /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.0/host0/0:0:0:0
> > > > Feb 26 19:44:45 localhost kernel: sda : sector size 0 reported, assuming 512.
> > > > Feb 26 19:44:45 localhost kernel: SCSI device sda: 1 512-byte hdwr sectors (0
> > > > MB)
> > > > Feb 26 19:44:45 localhost kernel: sda:<7>usb-storage: queuecommand called
> > > > Feb 26 19:44:45 localhost kernel: unknown partition table
> > > > Feb 26 19:44:45 localhost kernel: Attached scsi disk sda at scsi0, channel 0,
> > > > id 0, lun 0
> > > > --- end /var/log/messages ---
> > > >
> > > > If I place a disk in the drive, when I try to mount it the attempt fails
> > > > with the following being placed in /var/log/messages:
> > > >
> > > > --- begin /var/log/messages ---
> > > > Feb 26 19:46:58 localhost kernel: attempt to access beyond end of device
> > > > Feb 26 19:46:58 localhost kernel: sda: rw=0, want=66, limit=1
> > > > Feb 26 19:46:58 localhost kernel: isofs_fill_super: bread failed, dev=sda,
> > > > iso_blknum=16, block=32
> > > > --- end /var/log/messages ---
> > > >
> > > > Does somewhat have some idea how to get this drive working? Thanks.
> > > >
> > > > -Kipp
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> > > > Build and deploy apps & Web services for Linux with
> > > > a free DVD software kit from IBM. Click Now!
> > > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> > > > _______________________________________________
> > > > [EMAIL PROTECTED]
> > > > To unsubscribe, use the last form field at:
> > > > https://lists.sourceforge.net/lists/listinfo/linux-usb-users
> > >
> > > --
> > > Matthew Dharm Home: [EMAIL PROTECTED]
> > > Maintainer, Linux USB Mass Storage Driver
> > >
> > > A: The most ironic oxymoron wins ...
> > > DP: "Microsoft Works"
> > > A: Uh, okay, you win.
> > > -- A.J. & Dust Puppy
> > > User Friendly, 1/18/1998
> > >
>
> --
> Matthew Dharm Home: [EMAIL PROTECTED]
> Maintainer, Linux USB Mass Storage Driver
>
> Okay, this isn't funny anymore! Let me down! I'll tell Bill on you!!
> -- Microsoft Salesman
> User Friendly, 4/1/1998
>
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users