> On Thu, 11 Aug 2005, wu harry wrote:
> 
> > > 2.4.24 is pretty old.  If at all possible, you
> > > should work with a current 
> > > 2.6 kernel.
> > > 
> > > This is a pretty obvious point... but if you
> want
> > > help debugging a
> > > USB problem, the best way to start is to turn on
> the
> > > kernel's USB
> > > debugging facilities (CONFIG_USB_DEBUG and
> > > CONFIG_USB_STORAGE_DEBUG).
> > > 
> > > Alan Stern
> > > 
> > > 
> > I have to use 2.4 kernel, although I know that 2.6
> is
> > much better.I want to know if there are some way
> to
> > test whether ehci is functioning other than
> testing
> > the speed?
> > 
> > I choose not to insmod the ohci driver and use the
> > ehci driver only, but the performace is still
> poor.
> 
> Like I said above, to see whether ehci-hcd is
> functioning you should turn 
> on CONFIG_USB_DEBUG and CONFIG_USB_STORAGE_DEBUG.
> 
> Alan Stern
> 
> 

Thanks,Alan. I turned on these config items but did
not find anything obviously wrong.May I have your
suggestions? I post these module messages at boot up
below. The USB device found there is a internally
connected USB2.0 Card Reader.

Thank you very much!

Harry

------------------------------------------------------
Using
/lib/modules/2.4.24-uc0/kernel/drivers/usb/usbcore.o
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
Using
/lib/modules/2.4.24-uc0/kernel/drivers/usb/host/hcd.o
Warning: loading hcd will taint the kernel: no license
  See http://www.tux.org/lkml/#export-tainted for
information about tainted modules
Using
/lib/modules/2.4.24-uc0/kernel/drivers/usb/host/ehci-hcd.o
ehci_hcd 00:04.2: Philips Semiconductors USB 2.0 Host
Controller
ehci_hcd 00:04.2: irq 23, pci mem 49ffdf00
usb.c: new USB bus registered, assigned bus number 1
ehci_hcd 00:04.2: USB 2.0 enabled, EHCI 0.95, driver
2003-Jun-19/2.4
usb.c: new device strings: Mfr=3, Product=2,
SerialNumber=1
Manufacturer: Linux 2.4.24-uc0 ehci_hcd
Product: Philips Semiconductors USB 2.0 Host
Controller
SerialNumber: 00:04.2
hub.c: USB hub found
hub.c: 4 ports detected
Using
/lib/modules/2.4.24-uc0/kernel/drivers/usb/host/usb-ohci.o
usb-ohci.c: USB OHCI at membase 0x49fff000, IRQ 23
usb-ohci.c: usb-00:04.0, Philips Semiconductors USB
1.1 Host Controller
usb.c: new USB bus registered, assigned bus number 2
usb.c: new device strings: Mfr=0, Product=2,
SerialNumber=1
Product: USB OHCI Root Hub
SerialNumber: 49fff000
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: new USB device 00:04.2-3, assigned address 2
usb-ohci.c: USB OHCI at membase 0x49ffe000, IRQ 23
usb-ohci.c: usb-00:04.1, Philips Semiconductors USB
1.1 Host Controller (#2)
usb.c: new device strings: Mfr=0, Product=1,
SerialNumber=2
Product: USB Storage
usb.c: new USB bus registered, assigned bus number 3
SerialNumber: 000000009144
usb.c: USB device 2 (vend/prod 0x5e3/0x710) is not
claimed by any active driver.
  Length              = 18
  DescriptorType      = 01
  USB version         = 2.00
  Vendor:Product      = 05e3:0710
  MaxPacketSize0      = 64
  NumConfigurations   = 1
  Device version      = 91.44
  Device Class:SubClass:Protocol = 00:00:00
    Per-interface classes
Configuration:
  bLength             =    9
  bDescriptorType     =   02
  wTotalLength        = 0020
  bNumInterfaces      =   01
  bConfigurationValue =   01
  iConfiguration      =   00
  bmAttributes        =   80
  MaxPower            =  500mA
 
  Interface: 0
  Alternate Setting:  0
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   00
    bAlternateSetting   =   00
    bNumEndpoints       =   02
    bInterface Class:SubClass:Protocol =   08:06:50
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   81 (in)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0200
      bInterval           =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   02 (out)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0200
      bInterval           =   00
usb.c: new device strings: Mfr=0, Product=2,
SerialNumber=1
Product: USB OHCI Root Hub
SerialNumber: 49ffe000
hub.c: USB hub found
hub.c: 2 ports detected

Using
/lib/modules/2.4.24-uc0/kernel/drivers/usb/storage/usb-storage.o
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: Generic   Model: STORAGE DEVICE    Rev: 9144
  Type:   Direct-Access                      ANSI SCSI
revision: 02
  Vendor: Generic   Model: STORAGE DEVICE    Rev: 9144
  Type:   Direct-Access                      ANSI SCSI
revision: 02
  Vendor: Generic   Model: STORAGE DEVICE    Rev: 9144
  Type:   Direct-Access                      ANSI SCSI
revision: 02
  Vendor: Generic   Model: STORAGE DEVICE    Rev: 9144
  Type:   Direct-Access                      ANSI SCSI
revision: 02
Attached scsi removable disk sda at scsi0, channel 0,
id 0, lun 0
Attached scsi removable disk sdb at scsi0, channel 0,
id 0, lun 1
Attached scsi removable disk sdc at scsi0, channel 0,
id 0, lun 2
Attached scsi removable disk sdd at scsi0, channel 0,
id 0, lun 3
sda: Unit Not Ready, sense:
Current 00:00: sense key Not Ready
Additional sense indicates Medium not present
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08 
Current sd00:00: sense key Not Ready
Additional sense indicates Medium not present
sda : block size assumed to be 512 bytes, disk size
1GB.  
Partition check:
/dev/scsi/host0/bus0/target0/lun0: I/O error: dev
08:00, sector 0
 I/O error: dev 08:00, sector 0
ldm_validate_partition_table(): Disk read failed.
 I/O error: dev 08:00, sector 0
 unable to read partition table
sdb: Unit Not Ready, sense:
Current 00:00: sense key Not Ready
Additional sense indicates Medium not present
sdb : READ CAPACITY failed.
sdb : status = 1, message = 00, host = 0, driver = 08 
Current sd00:00: sense key Not Ready
Additional sense indicates Medium not present
sdb : block size assumed to be 512 bytes, disk size
1GB.  
/dev/scsi/host0/bus0/target0/lun1: I/O error: dev
08:10, sector 0
 I/O error: dev 08:10, sector 0
ldm_validate_partition_table(): Disk read failed.
 I/O error: dev 08:10, sector 0
 unable to read partition table
sdc: Unit Not Ready, sense:
Current 00:00: sense key Not Ready
Additional sense indicates Medium not present
sdc : READ CAPACITY failed.
sdc : status = 1, message = 00, host = 0, driver = 08 
Current sd00:00: sense key Not Ready
Additional sense indicates Medium not present
sdc : block size assumed to be 512 bytes, disk size
1GB.  
/dev/scsi/host0/bus0/target0/lun2: I/O error: dev
08:20, sector 0
 I/O error: dev 08:20, sector 0
ldm_validate_partition_table(): Disk read failed.
 I/O error: dev 08:20, sector 0
 unable to read partition table
sdd: Unit Not Ready, sense:
Current 00:00: sense key Not Ready
Additional sense indicates Medium not present
sdd : READ CAPACITY failed.
sdd : status = 1, message = 00, host = 0, driver = 08 
Current sd00:00: sense key Not Ready
Additional sense indicates Medium not present
sdd : block size assumed to be 512 bytes, disk size
1GB.  
 /dev/scsi/host0/bus0/target0/lun3: I/O error: dev
08:30, sector 0
 I/O error: dev 08:30, sector 0
ldm_validate_partition_table(): Disk read failed.
 I/O error: dev 08:30, sector 0
 unable to read partition table
USB Mass Storage support registered.

# cat /proc/bus/usb/devices 
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1
Spd=480 MxCh= 4
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8
#Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.04
S:  Manufacturer=Linux 2.4.24-uc0 ehci_hcd
S:  Product=Philips Semiconductors USB 2.0 Host
Controller
S:  SerialNumber=00:04.2
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00
Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms
T:  Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  2
Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64
#Cfgs=  1
P:  Vendor=05e3 ProdID=0710 Rev=91.44
S:  Product=USB Storage
S:  SerialNumber=000000009144
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50
Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms


                
___________________________________________________________ 
雅虎邮箱超强增值服务-2G超大空间、pop3收信、无限量邮件提醒 
http://cn.mail.yahoo.com


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to