On Sat, Apr 06, 2002 at 02:19:17PM -0500, Johannes Erdfelt wrote:
> On Sat, Apr 06, 2002, Johannes Zellner <[EMAIL PROTECTED]> wrote:
> > I'm trying to run a SONY CD writer. (kernel 2.4.17)
> > The device is correctly identified, at least as far as
> > what lsusb shows. (see attachment). The device appears also
> > in /proc/scsi:
> >
> > # cat /proc/scsi/usb-storage-0/0
> > Host scsi0: usb-storage
> > Vendor: SONY
> > Product: USB Mass STORAGE
> > Serial Number: None
> > Protocol: 8020i
> > Transport: Control/Bulk
> > GUID: 054c00230000000000000000
> > Attached: Yes
> >
> > but:
> >
> > # cat /proc/scsi/scsi
> > Attached devices: none
> >
> > the loaded modules are:
> >
> > # lsmod
> > Module Size Used by Tainted: PF
> > sr_mod 13464 0 (autoclean) (unused)
> > uhci 24936 0 (unused)
> > usb-storage 59228 0
> > usbcore 53312 1 [uhci usb-storage]
> > scsi_mod 87816 2 [sr_mod usb-storage]
> >
> > unfortunately, if I try to access the cdrom (e.g. eject or mount)
> > I get the message:
> >
> > eject: unable to open `/dev/scd0'
> > mount: /dev/scd0 is not a valid block device
> >
> > hmm. what's the problem?
>
> Take a look in the system log (`dmesg`) and see what errors it reports.
hmm. the dmesg output is below. Could it be the lines:
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (6/0)
usb-storage: *** thread sleeping.
what do they mean?
--
Johannes
[...]
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
uhci.c: USB UHCI at I/O 0xd400, IRQ 9
usb.c: new USB bus registered, assigned bus number 1
uhci.c: detected 2 ports
usb.c: kmalloc IF dd3676c0, numif 1
usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
usb.c: USB device number 1 default language ID 0x0
Product: USB UHCI-alt Root Hub
SerialNumber: d400
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: global over-current protection
hub.c: Port indicators are not supported
hub.c: power on to power good time: 2ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface dd3676c0
usb.c: kusbd: /sbin/hotplug add 1
usb.c: kusbd policy returned 0xfffffffe
uhci.c: USB UHCI at I/O 0xd800, IRQ 9
usb.c: new USB bus registered, assigned bus number 2
uhci.c: detected 2 ports
usb.c: kmalloc IF dd3678c0, numif 1
usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
usb.c: USB device number 1 default language ID 0x0
Product: USB UHCI-alt Root Hub
SerialNumber: d800
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: global over-current protection
hub.c: Port indicators are not supported
hub.c: power on to power good time: 2ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface dd3678c0
usb.c: kusbd: /sbin/hotplug add 1
usb.c: kusbd policy returned 0xfffffffe
uhci.c: USB UHCI at I/O 0xdc00, IRQ 9
uhci.c: root-hub INT complete: port1: 49b port2: 48a data: 6
hub.c: port 1 connection change
hub.c: port 1, portstatus 101, change 3, 12 Mb/s
usb.c: new USB bus registered, assigned bus number 3
uhci.c: detected 2 ports
usb.c: kmalloc IF dd367b00, numif 1
usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
usb.c: USB device number 1 default language ID 0x0
Product: USB UHCI-alt Root Hub
SerialNumber: dc00
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: global over-current protection
hub.c: Port indicators are not supported
hub.c: power on to power good time: 2ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface dd367b00
usb.c: kusbd: /sbin/hotplug add 1
usb.c: kusbd policy returned 0xfffffffe
hub.c: port 1, portstatus 103, change 0, 12 Mb/s
hub.c: USB new device connect on bus1/1, assigned device number 2
usb.c: kmalloc IF dd367bc0, numif 1
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=0
usb.c: USB device number 2 default language ID 0x409
uhci.c: root-hub INT complete: port1: 48a port2: 48a data: 6
Manufacturer: SONY
Product: USB Mass STORAGE
usb.c: unhandled interfaces on device
usb.c: USB device 2 (vend/prod 0x54c/0x23) is not claimed by any active driver.
Length = 18
DescriptorType = 01
USB version = 1.00
Vendor:Product = 054c:0023
MaxPacketSize0 = 8
uhci.c: root-hub INT complete: port1: 495 port2: 48a data: 4
NumConfigurations = 1
Device version = 2.00
Device Class:SubClass:Protocol = 00:00:00
Per-interface classes
Configuration:
bLength = 9
bDescriptorType = 02
uhci.c: root-hub INT complete: port1: 48a port2: 48a data: 6
wTotalLength = 0027
bNumInterfaces = 01
bConfigurationValue = 01
iConfiguration = 00
bmAttributes = 40
MaxPower = 0mA
Interface: 0
Alternate Setting: 0
bLength = 9
bDescriptorType = 04
uhci.c: root-hub INT complete: port1: 48a port2: 48a data: 6
bInterfaceNumber = 00
bAlternateSetting = 00
bNumEndpoints = 03
bInterface Class:SubClass:Protocol = 08:02:01
iInterface = 04
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 81 (in)
uhci.c: root-hub INT complete: port1: 495 port2: 48a data: 4
bmAttributes = 02 (Bulk)
wMaxPacketSize = 0040
bInterval = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 01 (out)
bmAttributes = 02 (Bulk)
wMaxPacketSize = 0040
uhci.c: root-hub INT complete: port1: 48a port2: 48a data: 6
bInterval = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 82 (in)
bmAttributes = 03 (Interrupt)
wMaxPacketSize = 0002
bInterval = 64
usb.c: kusbd: /sbin/hotplug add 2
usb.c: kusbd policy returned 0xfffffffe
hub.c: port 2 connection change
hub.c: port 2, portstatus 100, change 3, 12 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 100, change 3, 12 Mb/s
hub.c: port 2 connection change
hub.c: port 2, portstatus 100, change 3, 12 Mb/s
hub.c: port 2 enable change, status 100
hub.c: port 1 connection change
hub.c: port 1, portstatus 100, change 3, 12 Mb/s
hub.c: port 2 connection change
hub.c: port 2, portstatus 100, change 3, 12 Mb/s
uhci.c: root-hub INT complete: port1: 488 port2: 488 data: 6
hub.c: port 1 enable change, status 100
hub.c: port 2 enable change, status 100
uhci.c: root-hub INT complete: port1: 488 port2: 488 data: 6
hub.c: port 1 enable change, status 100
hub.c: port 2 enable change, status 100
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
usb-storage: act_altsettting is 0
usb-storage: id_index calculated to be: 42
usb-storage: Array length appears to be: 60
usb-storage: USB Mass Storage device detected
usb-storage: Endpoints: In: 0xddbf9400 Out: 0xddbf9414 Int: 0xddbf9428 (Period 100)
usb-storage: New GUID 054c00230000000000000000
usb-storage: Transport: Control/Bulk
usb-storage: Protocol: 8020i
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 ff 00 00 00 95 19 1f c0
usb-storage: Call to usb_stor_control_msg() returned 12
usb-storage: usb_stor_transfer_partial(): xfer 255 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 96/255
usb-storage: CB data stage result is 0x1
usb-storage: -- CB transport device requiring auto-sense
usb-storage: Issuing auto-REQUEST_SENSE
usb-storage: Call to usb_stor_control_msg() returned 12
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: 0x6, ASC: 0x29, ASCQ: 0x0
usb-storage: Unit Attention: (unknown ASC/ASCQ)
usb-storage: Fixing INQUIRY data to show SCSI rev 2
usb-storage: scsi cmd done, result=0x2
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (1/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (2/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (3/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (4/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (5/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (6/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (7/0)
usb-storage: *** thread sleeping.
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
usb.c: usb-storage driver claimed interface dd367bc0
USB Mass Storage support registered.
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users