Skip to contentSkip to conversation

2.5.69-bk13 USB storage ,few errors

DISCUSSION Grzegorz Jaskiewicz 2 participants 7 messages May 26, 2003 – May 27, 2003

lore
Share & tools
lore
#0 lore raw

dmesg log:
ohci-hcd: 2003 Feb 24 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci-hcd: block sizes: ed 64 td 64 drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
uhci-hcd 00:07.2: Intel Corp. 82371AB/EB/MB PIIX4
uhci-hcd 00:07.2: irq 9, io base 00001060
Please use the 'usbfs' filetype instead, the 'usbdevfs' name is deprecated.
uhci-hcd 00:07.2: new USB bus registered, assigned bus number 1 hub 1-0:0: USB hub found
hub 1-0:0: 2 ports detected
hub 1-0:0: debounce: port 2: delay 100ms stable 4 status 0x101 hub 1-0:0: new USB device on port 2, assigned address 2
usb-storage: act_altsetting is 0
usb-storage: id_index calculated to be: 34
usb-storage: Array length appears to be: 108
usb-storage: Vendor: Sony
usb-storage: Product: Memorystick MSC-U01N
usb-storage: USB Mass Storage device detected
usb-storage: Endpoints: In: 0xc5ce6dc0 Out: 0xc5ce6dd4 Int: 0xc5ce6de8 (Period 255)
usb-storage: Transport: Control/Bulk
usb-storage: Protocol: Uniform Floppy Interface (UFI)
usb-storage: Allocating usb_ctrlrequest
usb-storage: Allocating URB
usb-storage: Allocating scatter-gather request block
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 0; transferred 36/36
usb-storage: -- transfer complete
usb-storage: CB data stage result is 0x0
usb-storage: -- CB transport device requiring auto-sense
usb-storage: ** no auto-sense for a special command
usb-storage: Fixing INQUIRY data to show SCSI rev 2 - was 0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
Vendor: Sony Model: MSC-U01N Rev: 1.00
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: queuecommand() called
usb-storage: *** thread sleeping.
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 2
Disabled Privacy Extensions on device c0609560(lo)

lsusb:

nalesnik:~/Projects# lsusb -vvv

Bus 001 Device 002: ID 054c:0032 Sony Corp. MemoryStick MSC-U01 Reader Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10

  bDeviceClass            0 Interface
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x054c Sony Corp.
  idProduct          0x0032 MemoryStick MSC-U01 Reader
  bcdDevice            1.31
  iManufacturer           1 Sony
  iProduct                2 USB Memory Stick Slot
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x40
      Self Powered
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      4 Floppy (UFI)
      bInterfaceProtocol      0 Control/Bulk/Interrupt
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          2
        bInterval             255
  Language IDs: (length=4)
     0409 English(US)

Bus 001 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10

  bDeviceClass            9 Hub
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0000
  idProduct          0x0000
  bcdDevice            2.05
  iManufacturer           3 Linux 2.5.69-bk19 uhci-hcd
  iProduct                2 Intel Corp. 82371AB/EB/MB PIIX4
  iSerial                 1 00:07.2
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x40
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          2
        bInterval             255
  Language IDs: (length=4)
     0409 English(US)

this is sony vaio pcg-c1ve notebook
USB storage on 2.4.21-rc3 does not say anything in dmesg, and works just perfect.

Signature · 2 lines
Grzegorz Jaskiewicz <[email protected]>
K4 labs
#1 lore raw
Quoted 4 lines

this is sony vaio pcg-c1ve notebook
USB storage on 2.4.21-rc3 does not say anything in dmesg, and works just perfect.

Does it work on 2.5? Your dmesg has no errors.

Regards
Oliver

#2 lore raw
Quoted 5 lines · Oliver Neukum
Quoted 3 lines

this is sony vaio pcg-c1ve notebook
USB storage on 2.4.21-rc3 does not say anything in dmesg, and works just perfect.

Does it work on 2.5? Your dmesg has no errors.

no, it does not on 2.5.69-bk19
/dev/scsi dir is empty (devfs)

Signature · 2 lines
Grzegorz Jaskiewicz <[email protected]>
K4 labs
#6 lore raw
In reply to Oliver Neukum
Quoted 5 lines · Oliver Neukum
Quoted 3 lines

this is sony vaio pcg-c1ve notebook
USB storage on 2.4.21-rc3 does not say anything in dmesg, and works just perfect.

Does it work on 2.5? Your dmesg has no errors.

no, it does not on 2.5.69-bk19
/dev/scsi dir is empty (devfs)

Signature · 2 lines
Grzegorz Jaskiewicz <[email protected]>
K4 labs
#3 lore raw
In reply to Grzegorz Jaskiewicz

Am Montag, 26. Mai 2003 23:30 schrieb Grzegorz Jaskiewicz:

Quoted 9 lines · Oliver Neukum
Quoted 5 lines
Quoted 3 lines

this is sony vaio pcg-c1ve notebook
USB storage on 2.4.21-rc3 does not say anything in dmesg, and works just perfect.

Does it work on 2.5? Your dmesg has no errors.

no, it does not on 2.5.69-bk19
/dev/scsi dir is empty (devfs)

Do you see it in /proc/scsi/scsi ?

Regards
Oliver

#4 lore raw
Quoted 6 lines · Oliver Neukum

Am Montag, 26. Mai 2003 23:30 schrieb Grzegorz Jaskiewicz:

Quoted 5 lines · Oliver Neukum
Quoted 4 lines
Quoted 3 lines

this is sony vaio pcg-c1ve notebook
USB storage on 2.4.21-rc3 does not say anything in dmesg, and works just perfect.

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Does it work on 2.5? Your dmesg has no errors.

no, it does not on 2.5.69-bk19
/dev/scsi dir is empty (devfs)

Do you see it in /proc/scsi/scsi ?

cat gj@nalesnik:~$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: Sony Model: MSC-U01N Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02

gj@nalesnik:~$ ls -l /dev/scsi/
total 0
nalesnik:~# lsusb
Bus 001 Device 002: ID 054c:0032 Sony Corp. MemoryStick MSC-U01 Reader
Bus 001 Device 001: ID 0000:0000

well, i can recompile usb system with debug and give you log.

Signature · 2 lines
Grzegorz Jaskiewicz <[email protected]>
K4 labs
#5 lore raw

Am Dienstag, 27. Mai 2003 00:19 schrieb Grzegorz Jaskiewicz:

Quoted 20 lines · Oliver Neukum
Quoted 6 lines

Am Montag, 26. Mai 2003 23:30 schrieb Grzegorz Jaskiewicz:

Quoted 5 lines · Oliver Neukum
Quoted 4 lines
Quoted 3 lines

this is sony vaio pcg-c1ve notebook
USB storage on 2.4.21-rc3 does not say anything in dmesg, and works just perfect.

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Does it work on 2.5? Your dmesg has no errors.

no, it does not on 2.5.69-bk19
/dev/scsi dir is empty (devfs)

Do you see it in /proc/scsi/scsi ?

cat gj@nalesnik:~$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: Sony Model: MSC-U01N Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02

Quoted 8 lines
gj@nalesnik:~$ ls -l /dev/scsi/
total 0
nalesnik:~# lsusb
Bus 001 Device 002: ID 054c:0032 Sony Corp. MemoryStick MSC-U01 Reader
Bus 001 Device 001: ID 0000:0000

well, i can recompile usb system with debug and give you log.

Sorry about the delay. This is unlikely to yield useful results. Usb-storage works. This looks like a devfs problem.

Regards
Oliver