[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

USB Mass storage system pblm




hi

i have a little pblm using my USB disk (128MB flash disk)
when i plug it i have the following syslog log :

Apr  8 19:39:26 debian kernel: hub.c: new USB device 00:07.2-1, assigned
address 4
Apr  8 19:39:26 debian kernel: scsi1 : SCSI emulation for USB Mass
Storage devices
Apr  8 19:39:26 debian kernel: usb-storage: act_altsettting is 0
Apr  8 19:39:26 debian kernel: usb-storage: id_index calculated to be:
66
Apr  8 19:39:26 debian kernel: usb-storage: Array length appears to be:
68
Apr  8 19:39:26 debian kernel: usb-storage: USB Mass Storage device
detected
Apr  8 19:39:26 debian kernel: usb-storage: Endpoints: In: 0xd4eaa700
Out: 0xd4eaa714 Int: 0xd4eaa728 (Period 1)
Apr  8 19:39:26 debian kernel: usb-storage: Found existing GUID
0ea06803688856163e5673a8
Apr  8 19:39:26 debian kernel: WARNING: USB Mass Storage data integrity
not assured
Apr  8 19:39:26 debian kernel: USB Mass Storage device found at 4
Apr  8 19:40:01 debian kernel: usb-storage: queuecommand() called
Apr  8 19:40:01 debian kernel: usb-storage: *** thread awakened.
Apr  8 19:40:01 debian kernel: usb-storage: Command INQUIRY (6 bytes)
Apr  8 19:40:01 debian kernel: usb-storage: 12 00 00 00 60 00 00 00 01
00 02 00
Apr  8 19:40:01 debian kernel: usb-storage: Bulk command S 0x43425355 T
0xf1 Trg 0 LUN 0 L 96 F 128 CL 6
Apr  8 19:40:01 debian kernel: usb-storage: Bulk command transfer
result=0
Apr  8 19:40:01 debian kernel: usb-storage: usb_stor_transfer_partial():
xfer 96 bytes
Apr  8 19:40:01 debian kernel: usb-storage: usb_stor_bulk_msg() returned
0 xferred 36/96
Apr  8 19:40:01 debian kernel: usb-storage: Bulk data transfer result
0x1
Apr  8 19:40:01 debian kernel: usb-storage: Attempting to get CSW...
Apr  8 19:40:01 debian kernel: usb-storage: Bulk status result = 0
Apr  8 19:40:01 debian kernel: usb-storage: Bulk status Sig 0x53425355 T
0xf1 R 60 Stat 0x0
Apr  8 19:40:01 debian kernel: usb-storage: Fixing INQUIRY data to show
SCSI rev 2
Apr  8 19:40:01 debian kernel: usb-storage: scsi cmd done, result=0x0
Apr  8 19:40:01 debian kernel: usb-storage: *** thread sleeping.


when i do 'sg-scan -i' i have :
sg_scan -i
/dev/sg0: scsi0 channel=0 id=0 lun=0 [em]  type=5
    PLEXTOR   CD-R   PX-W2410A  1.04 [wide=0 sync=0 cmdq=0 sftre=0
pq=0x0] 
/dev/sg1: scsi1 channel=0 id=0 lun=0 [em]  type=0
    Generic   Traveling Disk    1.11 [wide=0 sync=0 cmdq=0 sftre=0
pq=0x0] 

where /dev/sg0 is my burner and /dev/sg1 is my USB disk ...


the result of 'sg_map' command is :
/dev/sg0  /dev/scd0
/dev/sg1

so it seems that sg1 device is not linked to a scsi emulation... what
can i do ? any idea ?


i'm running a sid with kernel 2.4.20
...
CONFIG_SCSI=y
CONFIG_BLK_DEV_SR=y
CONFIG_SR_EXTRA_DEVS=2
CONFIG_CHR_DEV_SG=y
...
CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_UHCI_ALT=y
CONFIG_USB_OHCI=y
CONFIG_USB_AUDIO=y
CONFIG_USB_STORAGE=y
...

(SCSI emulation burner is working great)


thks !





Reply to: