Hi,

I have a problem with the usb-storage driver on a PowerPC hardware.
My Linux Kernel is 2.4.21-rc7 from the PowerPC devel tree.

This is what happens:

First I load the usb-ohci driver (PCI hostcontroller is a Philips ISP1561BM).
This OHCI host controllers has two USB1.1 hosts, one USB2.0 host. I only use the OHCI 
controller.

After loading the ohci module, I modprobe the usb-storage driver.
It detects my AIPTEK 32MB USB pendrive.

Then I mount /dev/sda1 under /mnt, but this mount never returns. I cannot interrupt 
the mount call,
but the system keeps on running.

Furtheron I noticed that the AIPTEK parts can be mounted when the usb-storage debug 
option is turned on
in the kernel. I that this changed the timing behavior a lot.

Any idea?

I hove no such problems with a USB-CompactFlash card reader attached to this hardware.

My hardware plattform is a custom specific PowerPC design with an IBM405GPr PowerPC CPU.

Here ist my syslog. I do not have hotplugging stuff running, that's why /sbin/hotplug 
does
not succeed.

bash-2.05# modprobe usb-ohci
Using /lib/modules/2.4.21-rc7/kernel/drivers/usb/host/usb-ohci.o
bash-2.05# dmesg
usb-ohci.c: USB OHCI at membase 0xc300d000, IRQ 30
usb-ohci.c: usb-00:15.0, PCI device 1131:1561 (Philips Semiconductors)
usb.c: new USB bus registered, assigned bus number 1
usb.c: kmalloc IF c01b5760, 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 OHCI Root Hub
SerialNumber: c300d000
hub.c: USB hub found
hub.c: 1 port detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: individual port over-current protection
hub.c: Port indicators are not supported
hub.c: power on to power good time: 510ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: R
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
hub.c: port 1, portstatus 101, change 1, 12 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 101, change 1, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
usb.c: hub driver claimed interface c01b5760
usb.c: kusbd: /sbin/hotplug add 1
usb.c: kusbd policy returned 0xfffffffe
usb-ohci.c: USB OHCI at membase 0xc3013000, IRQ 30
usb-ohci.c: usb-00:15.1, PCI device 1131:1561 (Philips Semiconductors)
usb.c: new USB bus registered, assigned bus number 2
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
usb.c: kmalloc IF c01b58e0, 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 OHCI Root Hub
SerialNumber: c3013000
hub.c: USB hub found
hub.c: 1 port detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: individual port over-current protection
hub.c: Port indicators are not supported
hub.c: power on to power good time: 510ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: R
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 103, change 10, 12 Mb/s
hub.c: new USB device 00:15.0-1, assigned address 2
usb.c: kmalloc IF c01b59c0, numif 1
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3
usb.c: USB device number 2 default language ID 0x409
Manufacturer: AIPTEK
Product: Pen Disk
SerialNumber: 07271D0A01C7
usb.c: unhandled interfaces on device
usb.c: USB device 2 (vend/prod 0x8ca/0x100) is not claimed by any active driver.
  Length              = 18
  DescriptorType      = 01
  USB version         = 1.10
  Vendor:Product      = 08ca:0100
  MaxPacketSize0      = 8
  NumConfigurations   = 1
  Device version      = 1.00
  Device Class:SubClass:Protocol = 00:00:00
    Per-interface classes
Configuration:
  bLength             =    9
  bDescriptorType     =   02
  wTotalLength        = 0027
  bNumInterfaces      =   01
  bConfigurationValue =   01
  iConfiguration      =   00
  bmAttributes        =   80
  MaxPower            =  100mA

  Interface: 0
  Alternate Setting:  0
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   00
    bAlternateSetting   =   00
    bNumEndpoints       =   03
    bInterface Class:SubClass:Protocol =   08:06:50
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   81 (in)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0040
      bInterval           =   ff
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   02 (out)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0040
      bInterval           =   ff
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   83 (in)
      bmAttributes        =   03 (Interrupt)
      wMaxPacketSize      = 0002
      bInterval           =   01
usb.c: kusbd: /sbin/hotplug add 2
usb.c: kusbd policy returned 0xfffffffe
usb.c: hub driver claimed interface c01b58e0
usb.c: kusbd: /sbin/hotplug add 1
usb.c: kusbd policy returned 0xfffffffe
bash-2.05#



bash-2.05# modprobe usb-storage
Using /lib/modules/2.4.21-rc7/kernel/drivers/usb/storage/usb-storage.o
bash-2.05# dmesg -c
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: AIPTEK    Model: Pen Disk          Rev: 2.08
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 64000 512-byte hdwr sectors (33 MB)
sda: Write Protect is off
Partition check:
 sda: sda1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
usb.c: usb-storage driver claimed interface c01b59c0
USB Mass Storage support registered.
bash-2.05#


mount -t ext2 /dev/sda1 /mnt does not return


Any idea ?

Matthias

--
-------------------------------------------------------------------------

                            _/_/_/_/   Matthias Fuchs
                           _/_/_/_/   Dipl.-Ing.
                          _/_/_/_/   [EMAIL PROTECTED]

      _/_/_/   _/_/_/_/_/_/_/      esd electronic system design gmbh
    _/   _/  _/             _/    Vahrenwalder Str. 207
   _/   _/    _/_/_/   _/   _/   D-30165 Hannover
   _/             _/  _/   _/   Phone: +49-511-37298-0
    _/_/_/_/_/_/_/   _/_/_/    Fax:   +49-511-37298-68

-------------------------------------------------------------------------




------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to