Hello, I hope someone here can help with this problem. It's either not
possible to do this, or I'm missing something about configuration.
When I set up USB mass storage in my kernel, I already had scsi emulation
enabled for an IDE cd writer, but the abilty to mount one device seems to
come at the expense of mounting the other.
When I got the usb sd reader to get a scsi device, the cd writer couldn't and
vice-versa.
Everything seems to be getting recognized by the kernel, but I can't get both
to get a device name (or I can't find it). Kernel is 2.4.22.
Thanks for any input - relevant info below. Sorry, this is long - it's
kernel config , relevant logging from dmesg and kern.log, and the output of
cdrecord -scanbus.
Thanks again,
Steve
kernel config:
CONFIG_HOTPLUG=y
# ATA/IDE/MFM/RLL support
#
CONFIG_IDE=y
#
# IDE, ATA and ATAPI Block devices
#
CONFIG_BLK_DEV_IDE=y
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_HD is not set
CONFIG_BLK_DEV_IDEDISK=y
# CONFIG_IDEDISK_MULTI_MODE is not set
# CONFIG_IDEDISK_STROKE is not set
# CONFIG_BLK_DEV_IDECS is not set
# CONFIG_BLK_DEV_IDECD is not set
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
CONFIG_BLK_DEV_IDESCSI=y
# CONFIG_IDE_TASK_IOCTL is not set
# SCSI support
#
CONFIG_SCSI=y
#
# SCSI support type (disk, tape, CD-ROM)
#
# CONFIG_BLK_DEV_SD is not set
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=y
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_SR_EXTRA_DEVS=2
# CONFIG_CHR_DEV_SCH is not set
CONFIG_CHR_DEV_SG=y
#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
CONFIG_SCSI_DEBUG_QUEUES=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
# CONFIG_SCSI_LOGGING is not set
#
# SCSI low-level drivers
#
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AHA1740 is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_MEGARAID is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_CPQFCTS is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_DMA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_NCR53C7xx is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_NCR53C8XX is not set
# CONFIG_SCSI_SYM53C8XX is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_PCI2000 is not set
# CONFIG_SCSI_PCI2220I is not set
# CONFIG_SCSI_PSI240I is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_SEAGATE is not set
# CONFIG_SCSI_SIM710 is not set
# CONFIG_SCSI_SYM53C416 is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set
#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
#
# USB Host Controller Drivers
#
# CONFIG_USB_EHCI_HCD is not set
CONFIG_USB_UHCI_ALT=y
# CONFIG_USB_OHCI is not set
#
# USB Device Class drivers
#
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH is not set
# CONFIG_USB_MIDI is not set
CONFIG_USB_STORAGE=y
CONFIG_USB_STORAGE_DEBUG=y
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_HP8200e is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set
bash-2.03# dmesg | grep usb
usb-storage: *** thread awakened.
usb-storage: Command INQUIRY (6 bytes)
usb-storage: 12 00 00 00 24 00 7c c8 00 00 00 00
usb-storage: Bulk command S 0x43425355 T 0x6 Trg 0 LUN 0 L 36 F 128 CL 6
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 36 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 36/36
usb-storage: usb_stor_transfer_partial(): transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x6 R 0 Stat 0x0
usb-storage: Fixing INQUIRY data to show SCSI rev 2 - was 0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command TEST_UNIT_READY (6 bytes)
usb-storage: 00 00 00 00 00 00 3f c4 00 00 00 00
usb-storage: Bulk command S 0x43425355 T 0x7 Trg 0 LUN 0 L 0 F 0 CL 6
usb-storage: Bulk command transfer result=0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x7 R 0 Stat 0x1
usb-storage: -- transport indicates command failure
usb-storage: Issuing auto-REQUEST_SENSE
usb-storage: Bulk command S 0x43425355 T 0x8 Trg 0 LUN 0 L 18 F 128 CL 6
usb-storage: Bulk command transfer result=0
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: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x8 R 0 Stat 0x0
usb-storage: -- Result from auto-sense is 0
usb-storage: -- code: 0xf0, key: 0x2, ASC: 0x3a, ASCQ: 0x0
usb-storage: Not Ready: media not present
usb-storage: scsi cmd done, result=0x2
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command TEST_UNIT_READY (6 bytes)
usb-storage: 00 00 00 00 00 00 8c ca 00 00 00 00
usb-storage: Bulk command S 0x43425355 T 0x9 Trg 0 LUN 0 L 0 F 0 CL 6
usb-storage: Bulk command transfer result=0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x9 R 0 Stat 0x1
usb-storage: -- transport indicates command failure
usb-storage: Issuing auto-REQUEST_SENSE
usb-storage: Bulk command S 0x43425355 T 0xa Trg 0 LUN 0 L 18 F 128 CL 6
usb-storage: Bulk command transfer result=0
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: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0xa R 0 Stat 0x0
usb-storage: -- Result from auto-sense is 0
usb-storage: -- code: 0xf0, key: 0x2, ASC: 0x3a, ASCQ: 0x0
usb-storage: Not Ready: media not present
usb-storage: scsi cmd done, result=0x2
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command INQUIRY (6 bytes)
usb-storage: 12 00 00 00 24 00 8c ca 00 00 00 00
usb-storage: Bulk command S 0x43425355 T 0xb Trg 0 LUN 0 L 36 F 128 CL 6
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 36 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 36/36
usb-storage: usb_stor_transfer_partial(): transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0xb R 0 Stat 0x0
usb-storage: Fixing INQUIRY data to show SCSI rev 2 - was 0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command TEST_UNIT_READY (6 bytes)
usb-storage: 00 00 00 00 00 00 80 c1 00 00 00 00
usb-storage: Bulk command S 0x43425355 T 0xc Trg 0 LUN 0 L 0 F 0 CL 6
usb-storage: Bulk command transfer result=0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0xc R 0 Stat 0x1
usb-storage: -- transport indicates command failure
usb-storage: Issuing auto-REQUEST_SENSE
usb-storage: Bulk command S 0x43425355 T 0xd Trg 0 LUN 0 L 18 F 128 CL 6
usb-storage: Bulk command transfer result=0
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: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0xd R 0 Stat 0x0
usb-storage: -- Result from auto-sense is 0
usb-storage: -- code: 0xf0, key: 0x2, ASC: 0x3a, ASCQ: 0x0
usb-storage: Not Ready: media not present
usb-storage: scsi cmd done, result=0x2
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command TEST_UNIT_READY (6 bytes)
usb-storage: 00 00 00 00 00 00 6e c8 00 00 00 00
usb-storage: Bulk command S 0x43425355 T 0xe Trg 0 LUN 0 L 0 F 0 CL 6
usb-storage: Bulk command transfer result=0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0xe R 0 Stat 0x1
usb-storage: -- transport indicates command failure
usb-storage: Issuing auto-REQUEST_SENSE
usb-storage: Bulk command S 0x43425355 T 0xf Trg 0 LUN 0 L 18 F 128 CL 6
usb-storage: Bulk command transfer result=0
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: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0xf R 0 Stat 0x0
usb-storage: -- Result from auto-sense is 0
usb-storage: -- code: 0xf0, key: 0x2, ASC: 0x3a, ASCQ: 0x0
usb-storage: Not Ready: media not present
usb-storage: scsi cmd done, result=0x2
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command INQUIRY (6 bytes)
usb-storage: 12 00 00 00 24 00 6e c8 00 00 00 00
usb-storage: Bulk command S 0x43425355 T 0x10 Trg 0 LUN 0 L 36 F 128 CL 6
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 36 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 36/36
usb-storage: usb_stor_transfer_partial(): transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x10 R 0 Stat 0x0
usb-storage: Fixing INQUIRY data to show SCSI rev 2 - was 0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
usb.c: USB disconnect on device 00:07.2-1 address 2
usb-storage: storage_disconnect() called
usb-storage: -- releasing main URB
usb-storage: -- usb_unlink_urb() returned -19
usb-storage: act_altsettting is 0
usb-storage: id_index calculated to be: 73
usb-storage: Array length appears to be: 75
usb-storage: USB Mass Storage device detected
usb-storage: Endpoints: In: 0xcbfefd14 Out: 0xcbfefd00 Int: 0x00000000
(Period 0)
usb-storage: Found existing GUID 058f93300000000000000000
usb.c: USB disconnect on device 00:07.2-1 address 3
usb-storage: storage_disconnect() called
usb-storage: -- releasing main URB
usb-storage: -- usb_unlink_urb() returned -19
usb-storage: act_altsettting is 0
usb-storage: id_index calculated to be: 73
usb-storage: Array length appears to be: 75
usb-storage: USB Mass Storage device detected
usb-storage: Endpoints: In: 0xc4808a94 Out: 0xc4808a80 Int: 0x00000000
(Period 0)
usb-storage: New GUID 04da23720000000000000000
usb-storage: GetMaxLUN command result is 1, data is 0
usb-storage: Transport: Bulk
usb-storage: Protocol: Transparent SCSI
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command INQUIRY (6 bytes)
usb-storage: 12 00 00 00 ff 00 00 00 1a 08 00 00
usb-storage: Bulk command S 0x43425355 T 0x1 Trg 0 LUN 0 L 255 F 128 CL 6
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 255 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 36/255
usb-storage: Bulk data transfer result 0x1
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x1 R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad LUN (0/1)
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.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Request is for removed device
usb-storage: scsi cmd done, result=0x2
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Request is for removed device
usb-storage: scsi cmd done, result=0x2
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Request is for removed device
usb-storage: Faking INQUIRY command for disconnected device
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
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 d4 fe d3 c5
usb-storage: Bulk command S 0x43425355 T 0x2 Trg 0 LUN 0 L 0 F 0 CL 6
usb-storage: Bulk command transfer result=0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x2 R 0 Stat 0x1
usb-storage: -- transport indicates command failure
usb-storage: Issuing auto-REQUEST_SENSE
usb-storage: Bulk command S 0x43425355 T 0x3 Trg 0 LUN 0 L 18 F 128 CL 6
usb-storage: Bulk command transfer result=0
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: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x3 R 0 Stat 0x0
usb-storage: -- Result from auto-sense is 0
usb-storage: -- code: 0x70, key: 0x6, ASC: 0x28, ASCQ: 0x0
usb-storage: Unit Attention: not ready to ready transition
usb-storage: scsi cmd done, result=0x2
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command TEST_UNIT_READY (6 bytes)
usb-storage: 00 00 00 00 00 00 97 c7 00 00 00 00
usb-storage: Bulk command S 0x43425355 T 0x4 Trg 0 LUN 0 L 0 F 0 CL 6
usb-storage: Bulk command transfer result=0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x4 R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command TEST_UNIT_READY (6 bytes)
usb-storage: 00 00 00 00 00 00 97 c7 00 00 00 00
usb-storage: Bulk command S 0x43425355 T 0x5 Trg 0 LUN 0 L 0 F 0 CL 6
usb-storage: Bulk command transfer result=0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x5 R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command INQUIRY (6 bytes)
usb-storage: 12 00 00 00 24 00 97 c7 00 00 00 00
usb-storage: Bulk command S 0x43425355 T 0x6 Trg 0 LUN 0 L 36 F 128 CL 6
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 36 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 36/36
usb-storage: usb_stor_transfer_partial(): transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x6 R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
usb.c: USB disconnect on device 00:07.2-1 address 4
usb-storage: storage_disconnect() called
usb-storage: -- releasing main URB
usb-storage: -- usb_unlink_urb() returned -19
usb-storage: act_altsettting is 0
usb-storage: id_index calculated to be: 73
usb-storage: Array length appears to be: 75
usb-storage: USB Mass Storage device detected
usb-storage: Endpoints: In: 0xcbfefd14 Out: 0xcbfefd00 Int: 0x00000000
(Period 0)
usb-storage: Found existing GUID 058f93300000000000000000
usb.c: USB disconnect on device 00:07.2-1 address 5
usb-storage: storage_disconnect() called
usb-storage: -- releasing main URB
usb-storage: -- usb_unlink_urb() returned -19
usb-storage: act_altsettting is 0
usb-storage: id_index calculated to be: 73
usb-storage: Array length appears to be: 75
usb-storage: USB Mass Storage device detected
usb-storage: Endpoints: In: 0xcbfefd14 Out: 0xcbfefd00 Int: 0x00000000
(Period 0)
usb-storage: Found existing GUID 058f93300000000000000000
bash-2.03# dmesg | grep scsi
usb-storage: scsi cmd done, result=0x0
usb-storage: scsi cmd done, result=0x2
usb-storage: scsi cmd done, result=0x2
usb-storage: scsi cmd done, result=0x0
usb-storage: scsi cmd done, result=0x2
usb-storage: scsi cmd done, result=0x2
usb-storage: scsi cmd done, result=0x0
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: scsi cmd done, result=0x0
usb-storage: scsi cmd done, result=0x2
usb-storage: scsi cmd done, result=0x2
usb-storage: scsi cmd done, result=0x0
usb-storage: scsi cmd done, result=0x2
usb-storage: scsi cmd done, result=0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: scsi cmd done, result=0x0
bash-2.03# cdrecord -scanbus
Cdrecord 1.11a34 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J�rg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.6'
scsibus0:
0,0,0 0) 'LITE-ON ' 'LTR-48246S ' 'SS06' Removable CD-ROM
cdrecord: Warning: controller returns wrong size for CD capabilities page.
0,1,0 1) 'CD-ROM ' 'Drive/F5A ' 'B1.4' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus1:
1,0,0 100) 'Generic ' 'USB SD Reader ' '2.00' Removable Disk
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
scsibus2:
2,0,0 200) '' '' '' Removable not present Disk
2,1,0 201) *
2,2,0 202) *
2,3,0 203) *
2,4,0 204) *
2,5,0 205) *
2,6,0 206) *
2,7,0 207) *
Relevant kern.log:
(lilo mods for cdwriter to keep ide driver from grabbing CDs)
Jan 7 01:03:37 debian kernel: Kernel command line: auto BOOT_IMAGE=Linux ro
root=301 BOOT_FILE=/vmlinuz hdb=ide-scsi hdd=ide-scsi
Jan 7 01:03:37 debian kernel: ide_setup: hdb=ide-scsi
Jan 7 01:03:37 debian kernel: ide_setup: hdd=ide-scsi
(IDE scsi drive assignment)
Jan 7 01:03:37 debian kernel: Uniform Multi-Platform E-IDE driver Revision:
7.00beta4-2.4
Jan 7 01:03:37 debian kernel: ide: Assuming 33MHz system bus speed for PIO
modes; override with idebus=xx
Jan 7 01:03:37 debian kernel: PDC20269: IDE controller at PCI slot 00:09.0
Jan 7 01:03:37 debian kernel: PCI: Found IRQ 11 for device 00:09.0
Jan 7 01:03:37 debian kernel: PDC20269: chipset revision 2
Jan 7 01:03:37 debian kernel: PDC20269: not 100%% native mode: will probe
irqs later
Jan 7 01:03:37 debian kernel: ide2: BM-DMA at 0xdc00-0xdc07, BIOS
settings: hde:pio, hdf:pio
Jan 7 01:03:37 debian kernel: ide3: BM-DMA at 0xdc08-0xdc0f, BIOS
settings: hdg:pio, hdh:pio
Jan 7 01:03:37 debian kernel: hda: Maxtor 51536H2, ATA DISK drive
Jan 7 01:03:37 debian kernel: hdb: LITE-ON LTR-48246S, ATAPI CD/DVD-ROM drive
Jan 7 01:03:37 debian kernel: hdc: MAXTOR 6L080J4, ATA DISK drive
Jan 7 01:03:37 debian kernel: hdd: CD-ROM Drive/F5A, ATAPI CD/DVD-ROM drive
Jan 7 01:03:37 debian kernel: hdf: SAMSUNG SHD-30560A (APOLLO-5) SSI, ATA
DISK drive
Jan 7 01:03:37 debian kernel: blk: queue c03d4c40, I/O limit 4095Mb (mask
0xffffffff)
Jan 7 01:03:37 debian kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Jan 7 01:03:37 debian kernel: ide1 at 0x170-0x177,0x376 on irq 15
Jan 7 01:03:37 debian kernel: ide2 at 0xcc00-0xcc07,0xd002 on irq 11
Jan 7 01:03:37 debian kernel: hda: attached ide-disk driver.
Jan 7 01:03:37 debian kernel: hda: 30015216 sectors (15368 MB) w/2048KiB
Cache, CHS=1868/255/63
Jan 7 01:03:37 debian kernel: hdc: attached ide-disk driver.
Jan 7 01:03:37 debian kernel: hdc: 156355584 sectors (80054 MB) w/1819KiB
Cache, CHS=155114/16/63
Jan 7 01:03:37 debian kernel: hdf: attached ide-disk driver.
Jan 7 01:03:37 debian kernel: hdf: 1096048 sectors (561 MB) w/128KiB Cache,
CHS=1087/16/63, DMA
Jan 7 01:03:37 debian kernel: hdb: attached ide-scsi driver.
Jan 7 01:03:37 debian kernel: hdd: attached ide-scsi driver.
Jan 7 01:03:37 debian kernel: Partition check:
Jan 7 01:03:37 debian kernel: hda: hda1 hda2 hda3
Jan 7 01:03:37 debian kernel: hdc: hdc1 hdc2 hdc3
Jan 7 01:03:37 debian kernel: hdf: [PTBL] [543/32/63] hdf1 hdf2 < hdf5 >
Jan 7 01:03:37 debian kernel: SCSI subsystem driver Revision: 1.00
Jan 7 01:03:37 debian kernel: scsi0 : SCSI host adapter emulation for IDE
ATAPI devices
Jan 7 01:03:37 debian kernel: Vendor: LITE-ON Model: LTR-48246S
Rev: SS06
Jan 7 01:03:37 debian kernel: Type: CD-ROM
ANSI SCSI revision: 02
Jan 7 01:03:37 debian kernel: Vendor: CD-ROM Model: Drive/F5A
Rev: B1.4
Jan 7 01:03:37 debian kernel: Type: CD-ROM
ANSI SCSI revision: 02
Jan 7 01:03:37 debian kernel: Attached scsi CD-ROM sr0 at scsi0, channel 0,
id 0, lun 0
Jan 7 01:03:37 debian kernel: Attached scsi CD-ROM sr1 at scsi0, channel 0,
id 1, lun 0
Jan 7 01:03:37 debian kernel: sr0: scsi3-mmc drive: 12x/12x writer cd/rw
xa/form2 cdda tray
Jan 7 01:03:37 debian kernel: Uniform CD-ROM driver Revision: 3.12
Jan 7 01:03:37 debian kernel: sr1: scsi3-mmc drive: 24x/48x cd/rw xa/form2
cdda tray
(kern.log on boot when it first picked up usb)
Jan 7 01:03:37 debian kernel: Linux Kernel Card Services 3.1.22
Jan 7 01:03:37 debian kernel: options: [pci] [cardbus] [pm]
Jan 7 01:03:37 debian kernel: usb.c: registered new driver usbdevfs
Jan 7 01:03:37 debian kernel: usb.c: registered new driver hub
Jan 7 01:03:37 debian kernel: host/uhci.c: USB Universal Host Controller
Interface driver v1.1
Jan 7 01:03:37 debian kernel: PCI: Found IRQ 5 for device 00:07.2
Jan 7 01:03:37 debian kernel: PCI: Sharing IRQ 5 with 00:07.3
Jan 7 01:03:37 debian kernel: host/uhci.c: USB UHCI at I/O 0xb400, IRQ 5
Jan 7 01:03:37 debian kernel: usb.c: new USB bus registered, assigned bus
number 1
Jan 7 01:03:37 debian kernel: hub.c: USB hub found
Jan 7 01:03:37 debian kernel: hub.c: 2 ports detected
Jan 7 01:03:37 debian kernel: PCI: Found IRQ 5 for device 00:07.3
Jan 7 01:03:37 debian kernel: PCI: Sharing IRQ 5 with 00:07.2
Jan 7 01:03:37 debian kernel: host/uhci.c: USB UHCI at I/O 0xb800, IRQ 5
Jan 7 01:03:37 debian kernel: usb.c: new USB bus registered, assigned bus
number 2
Jan 7 01:03:37 debian kernel: hub.c: USB hub found
Jan 7 01:03:37 debian kernel: hub.c: 2 ports detected
Jan 7 01:03:37 debian kernel: Initializing USB Mass Storage driver...
Jan 7 01:03:37 debian kernel: usb.c: registered new driver usb-storage
Jan 7 01:03:37 debian kernel: USB Mass Storage support registered.
Jan 7 01:03:37 debian kernel: hub.c: new USB device 00:07.2-1, assigned
address 2
Jan 7 01:03:37 debian kernel: usb-storage: USB Mass Storage device detected
Jan 7 01:03:37 debian kernel: usb-storage: Endpoints: In: 0xcbfefd14 Out:
0xcbfefd00 Int: 0x00000000 (Period 0)
Jan 7 01:03:37 debian kernel: usb-storage: New GUID 058f93300000000000000000
Jan 7 01:03:37 debian kernel: usb-storage: GetMaxLUN command result is -32,
data is 128
Jan 7 01:03:37 debian kernel: usb-storage: clearing endpoint halt for pipe
0x80000280
Jan 7 01:03:37 debian kernel: usb-storage: Transport: Bulk
Jan 7 01:03:37 debian kernel: usb-storage: Protocol: Transparent SCSI
Jan 7 01:03:37 debian kernel: usb-storage: *** thread sleeping.
Jan 7 01:03:37 debian kernel: scsi1 : SCSI emulation for USB Mass Storage
devices
Jan 7 01:03:37 debian kernel: usb-storage: queuecommand() called
Jan 7 01:03:37 debian kernel: usb-storage: *** thread awakened.
Jan 7 01:03:37 debian kernel: usb-storage: Command INQUIRY (6 bytes)
Jan 7 01:03:37 debian kernel: usb-storage: 12 00 00 00 ff 00 00 00 2d 00 00
00
Jan 7 01:03:37 debian kernel: usb-storage: Bulk command S 0x43425355 T 0x1
Trg 0 LUN 0 L 255 F 128 CL 6
Jan 7 01:03:37 debian kernel: usb-storage: Bulk command transfer result=0
Jan 7 01:03:37 debian kernel: usb-storage: usb_stor_transfer_partial(): xfer
255 bytes
Jan 7 01:03:37 debian kernel: usb-storage: usb_stor_bulk_msg() returned 0
xferred 36/255
Jan 7 01:03:37 debian kernel: usb-storage: Bulk data transfer result 0x1
Jan 7 01:03:37 debian kernel: usb-storage: Attempting to get CSW...
Jan 7 01:03:37 debian kernel: usb-storage: clearing endpoint halt for pipe
0xc0010280
Jan 7 01:03:37 debian kernel: usb-storage: usb_stor_clear_halt: result=0
Jan 7 01:03:37 debian kernel: usb-storage: Attempting to get CSW (2nd try)...
Jan 7 01:03:37 debian kernel: usb-storage: Bulk status result = 0
Jan 7 01:03:37 debian kernel: usb-storage: Bulk status Sig 0x53425355 T 0x1
R 219 Stat 0x0
Jan 7 01:03:37 debian kernel: usb-storage: Fixing INQUIRY data to show SCSI
rev 2 - was 0
Jan 7 01:03:37 debian kernel: usb-storage: scsi cmd done, result=0x0
Jan 7 01:03:37 debian kernel: usb-storage: *** thread sleeping.
Jan 7 01:03:37 debian kernel: host/uhci.c: uhci_transfer_result: called for
URB cbf80d40 not in flight?
Jan 7 01:03:37 debian kernel: Vendor: Generic Model: USB SD Reader
Rev: 2.00
Jan 7 01:03:37 debian kernel: Type: Direct-Access
ANSI SCSI revision: 02
Jan 7 01:03:37 debian kernel: usb-storage: queuecommand() called
Jan 7 01:03:37 debian kernel: usb-storage: *** thread awakened.
Jan 7 01:03:37 debian kernel: usb-storage: Bad LUN (0/1)
Jan 7 01:03:37 debian kernel: usb-storage: *** thread sleeping.
Jan 7 01:03:37 debian kernel: usb-storage: queuecommand() called
Jan 7 01:03:37 debian kernel: usb-storage: *** thread awakened.
Jan 7 01:03:37 debian kernel: usb-storage: Bad target number (1/0)
Jan 7 01:03:37 debian kernel: usb-storage: *** thread sleeping.
Jan 7 01:03:37 debian kernel: usb-storage: queuecommand() called
Jan 7 01:03:37 debian kernel: usb-storage: *** thread awakened.
Jan 7 01:03:37 debian kernel: usb-storage: Bad target number (2/0)
Jan 7 01:03:37 debian kernel: usb-storage: *** thread sleeping.
etc.
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users