Hi, Me too having similar kind of problem here.
I have insmod the usbcore.o and ehci-hcd.o. Now the proc/bus/usb/devices says : 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.20_mvl31-8275VR ehci_hcd S: Product=PCI device 1131:1562 S: SerialNumber=00:0b.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 When I tried to connect any device, the system fails on SetAddress (Timeout Error) called from usb_new_device() from usb_hub_port_connect_change(). Can anybody help me to come out of this problem ? Thanks, Jayaprakash. On Wed, 23 Feb 2005 12:44:06 +0800, sunnyfaye <[EMAIL PROTECTED]> wrote: > The problem I'm having is that I can't find 40G usb external harddisk in > linux. BUT it can find 128m u disk. Why? Can you help me? Thanks > > When I use u disk, everything is ok. I can mount and use the u disk. > When I changed into mobile harddisk, I can't mount it. Both of the > mobile harddisk and u disk are usb mass storage. What is the difference > between them? > > I have changed 3 mobile harddisks and one of them has enough power.I'm > using MontaVista 3.0 and the kernel is 2.4.20. The pci to usb controller > is VT6212.Does it need special usb driver for VT6212? System can detect > the controller successfully. > > the error message is as follows: > USB disconnect on device 00:02.0-1 address 2 > > hub.c: new USB device 00:02.2-1, assigned address 2 > > usb_control/bulk_msg: timeout > > usb.c: USB device not accepting new address=2 (error=-110) > > hub.c: new USB device 00:02.2-1, assigned address 3 > > usb_control/bulk_msg: timeout > > usb.c: USB device not accepting new address=3 (error=-110) > > > CPU: IBM PowerPC 405GP Rev. E at 198 MHz (PLB=66, OPB=16, EBC=33 MHz) > PCI async ext clock used, internal PCI arbiter enabled > 16 kB I-Cache 8 kB D-Cache > BOARD: Cogent CSB272 > I2C: ready > DRAM: 64 MB > FLASH: erase_region_count = 128 erase_region_size = 131072 > 32 MB > In: serial > Out: serial > Err: serial > BEDBUG:ready > Hit any key to stop autoboot: 0 > ENET Speed is 10 Mbps - HALF duplex connection > TFTP from server 10.96.10.215; our IP address is 10.96.10.217 > Filename 'uImage_usb_all.bin'. > Load address: 0x200000 > Loading: ######## > > U-Boot 1.1.1 (Dec 27 2004 - 17:14:19) > > CPU: IBM PowerPC 405GP Rev. E at 198 MHz (PLB=66, OPB=16, EBC=33 MHz) > PCI async ext clock used, internal PCI arbiter enabled > 16 kB I-Cache 8 kB D-Cache > BOARD: Cogent CSB272 > I2C: ready > DRAM: 64 MB > FLASH: erase_region_count = 128 erase_region_size = 131072 > 32 MB > In: serial > Out: serial > Err: serial > BEDBUG:ready > Hit any key to stop autoboot: 0 > ENET Speed is 10 Mbps - HALF duplex connection > TFTP from server 10.96.10.215; our IP address is 10.96.10.217 > Filename 'uImage_usb_all.bin'. > Load address: 0x200000 > Loading: ################################################################# > ################################################################# > ################################################################# > ################################################################# > ################ > done > Bytes transferred = 1410351 (15852f hex) > ## Booting image at 00200000 ... > Image Name: Linux-2.4.20_mvl31-405gp_eval > Created: 2005-01-06 5:30:25 UTC > Image Type: PowerPC Linux Kernel Image (gzip compressed) > Data Size: 1410287 Bytes = 1.3 MB > Load Address: 00000000 > Entry Point: 00000000 > Verifying Checksum ... OK > Uncompressing Kernel Image ... OK > Linux version 2.4.20_mvl31-405gp_eval ([EMAIL PROTECTED]) (gcc version 3.2.1 > 20020930 > (MontaVista)) #46 Thu Jan 6 13:29:44 CST 2005 > CSB272 (IBM405GP) Platform > Port by MontaVista Software, Inc. ([EMAIL PROTECTED]) > On node 0 totalpages: 15360 > zone(0): 15360 pages. > zone(1): 0 pages. > zone(2): 0 pages. > Kernel command line: console=ttyS0,38400 root=/dev/nfs rw mem=60m > nfsroot=10.96. > 10.215:/target/rcfs > ip=10.96.10.217:10.96.10.215:10.96.10.254:255.255.255.0:CS20 > 00::off > hr_time_init: arch_to_nsec = 10591676, nsec_to_arch = 850403524 > Calibrating delay loop... 197.42 BogoMIPS > Memory: 57484k available (2236k kernel code, 872k data, 104k init, 0k highmem) > Dentry cache hash table entries: 8192 (order: 4, 65536 bytes) > Inode cache hash table entries: 4096 (order: 3, 32768 bytes) > Mount-cache hash table entries: 1024 (order: 1, 8192 bytes) > Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes) > Page-cache hash table entries: 16384 (order: 4, 65536 bytes) > POSIX conformance testing by UNIFIX > PCI: Probing PCI hardware > PCI: Cannot allocate resource region 4 of device 00:02.1 > PCI: moved device 00:01.0 resource 0 (101) to 1000 > PCI: moved device 00:01.0 resource 1 (101) to 1000 > PCI: moved device 00:01.0 resource 2 (101) to 1010 > PCI: moved device 00:01.0 resource 3 (101) to 1000 > PCI: moved device 00:01.0 resource 4 (101) to 1400 > PCI: moved device 00:02.1 resource 4 (101) to 1020 > PCI: moved device 00:02.2 resource 0 (200) to 80000000 > Linux NET4.0 for Linux 2.4 > Based upon Swansea University Computer Society NET3.039 > Initializing RT netlink socket > OCP 4xx power management enabled > OCP uart ver 1.6.2 init complete > LSP Revision 1 > Interrupt holdoff times measurement enabled at 198 ticks per usec. > Interrupt holdoff maximums being captured. > ikconfig 0.5 with /proc/ikconfig > Starting kswapd > VFS: Disk quotas vdquot_6.5.1 > Journalled Block Device driver loaded > JFFS2 version 2.1. (C) 2001, 2002 Red Hat, Inc., designed by Axis > Communications > AB. > i2c-core.o: i2c core module version 2.6.2 (20011118) > i2c-dev.o: i2c /dev entries driver module version 2.6.2 (20011118) > i2c-proc.o version 2.6.2 (20011118) > pty: 256 Unix98 ptys configured > Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI > en > abled > ttyS00 at 0xef600300 (irq = 0) is a 16550A > ttyS01 at 0xef600400 (irq = 1) is a 16550A > PPC 405 watchdog driver v0.6 > IBM gpio driver version 07.25.02 > GPIO #0 at 0xc4070700 > Uniform Multi-Platform E-IDE driver Revision: 6.31 > ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx > HPT371: IDE controller on PCI bus 00 dev 08 > PCI: Enabling device 00:01.0 (0000 -> 0001) > HPT371: chipset revision 2 > HPT371: not 100% native mode: will probe irqs later > HPT371: using 33MHz PCI clock > ide0: BM-DMA at 0x1400-0x1407, BIOS settings: hda:pio, hdb:pio > ide1: BM-DMA at 0x1408-0x140f, BIOS settings: hdc:pio, hdd:pio > RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize > loop: loaded (max 8 devices) > eth0: Phy @ 0x0, type LXT971A (0x001378e2) > Reset ethernet interfaces > SCSI subsystem driver Revision: 1.00 > kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 > kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 > kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 > kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 > IBM IIC driver v2.0 > ibm-iic: invalid OPB clock frequency 16 MHz > ibm-iic0: using fast (400 kHz) mode > CSB272 Linux Flash: 0x02000000 at 0xfe000000 > CSB272 Linux Flash: probing 32-bit flash bus > cfi_cmdset_0001: Erase suspend on write enabled > Using buffer write method > Creating 6 MTD partitions on "CSB272 Linux Flash": > 0x00000000-0x00200000 : "Linux Kernel" > 0x00200000-0x00a00000 : "Linux Ramdisk File System" > 0x00a00000-0x01200000 : "User Program (JFFS2)" > 0x01200000-0x01f00000 : "Backup (JFFS2)" > 0x01f00000-0x01fc0000 : "U-BOOT environment" > 0x01fc0000-0x02000000 : "U-Boot" > usb.c: registered new driver usbdevfs > usb.c: registered new driver hub > PCI: Enabling device 00:02.2 (0000 -> 0002) > hcd.c: ehci-hcd @ 00:02.2, PCI device 1106:3104 > hcd.c: irq 29, pci mem c607f000 > usb.c: new USB bus registered, assigned bus number 1 > hcd/ehci-hcd.c: USB 2.0 support enabled, EHCI rev 1. 0 > Manufacturer: Linux 2.4.20_mvl31-405gp_eval ehci-hcd > Product: PCI device 1106:3104 > SerialNumber: 00:02.2 > hub.c: USB hub found > hub.c: 4 ports detected > usb-uhci.c: $Revision: 1.275 $ time 17:40:39 Jan 4 2005 > usb-uhci.c: High bandwidth mode enabled > PCI: Enabling device 00:02.0 (0000 -> 0001) > usb-uhci.c: USB UHCI at I/O 0xfce0, IRQ 29 > usb-uhci.c: Detected 2 ports > usb.c: new USB bus registered, assigned bus number 2 > Product: USB UHCI Root Hub > SerialNumber: fce0 > hub.c: USB hub found > hub.c: 2 ports detected > PCI: Enabling device 00:02.1 (0000 -> 0001) > usb-uhci.c: USB UHCI at I/O 0x1020, IRQ 29 > usb-uhci.c: Detected 2 ports > usb.c: new USB bus registered, assigned bus number 3 > Product: USB UHCI Root Hub > SerialNumber: 1020 > hub.c: USB hub found > hub.c: 2 ports detected > usb-uhci.c: v1.275:USB Universal Host Controller Interface driver > usb.c: registered new driver hiddev > usb.c: registered new driver hid > hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <[EMAIL PROTECTED]> > hid-core.c: USB HID support drivers > Initializing USB Mass Storage driver... > usb.c: registered new driver usb-storage > USB Mass Storage support registered. > md: linear personality registered as nr 1 > md: raid0 personality registered as nr 2 > md: raid1 personality registered as nr 3 > md: raid5 personality registered as nr 4 > raid5: measuring checksumming speed > 8regs : 137.600 MB/sec > 32regs : 149.200 MB/sec > raid5: using function: 32regs (149.200 MB/sec) > md: multipath personality registered as nr 7 > md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 > md: Autodetecting RAID arrays. > md: autorun ... > md: ... autorun DONE. > LVM version 1.0.7(28/03/2003) > NET4: Linux TCP/IP 1.0 for NET4.0 > IP Protocols: ICMP, UDP, TCP, IGMP > IP: routing cache hash table of 512 buckets, 4Kbytes > TCP: Hash tables configured (established 4096 bind 8192) > eth0: IBM EMAC: link up, 10 Mbps Half Duplex, auto-negotiation complete. > eth0: IBM EMAC: MAC 00:0b:db:65:36:1f. > eth0: IBM EMAC: open completed > > IP-Config: Complete: > device=eth0, addr=10.96.10.217, mask=255.255.255.0, gw=10.96.10.254, > host=CS2000, domain=, nis-domain=(none), > bootserver=10.96.10.215, rootserver=10.96.10.215, rootpath= > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. > Looking up port of RPC 100003/2 on 10.96.10.215 > Looking up port of RPC 100005/1 on 10.96.10.215 > VFS: Mounted root (nfs filesystem). > Freeing unused kernel memory: 104k init > hub.c: new USB device 00:02.0-1, assigned address 2 > Manufacturer: Netac > Product: OnlyDisk > scsi0 : SCSI emulation for USB Mass Storage devices > Vendor: Model: Rev: > Type: Direct-Access ANSI SCSI revision: 02 > Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 > SCSI device sda: 259616 512-byte hdwr sectors (133 MB) > sda: Write Protect is off > Partition check: > sda:<7>usb-storage: queuecommand() called > sda1 > Welcome to SJTU ICIP > mount: Mounting /dev/hdc1 on /mnt/k failed: No such device or address > mount: Mounting /dev/hdc5 on /mnt/l failed: No such device or address > mount: Mounting /dev/hdc6 on /mnt/m failed: No such device or address > read rtc register failed > Using ./simple.o > insmod: Warning: kernel-module version mismatch > ./simple.o was compiled for kernel version 2.4.18_mvl30 > while this kernel is version 2.4.20_mvl31-405gp_eval > Warning: loading simple will taint the kernel: forced load > See http://www.tux.org/lkml/#export-tainted for information about tainted > modu > les > chgrp: unknown group name: wheel > Using ./fpga.o > Warning: loading fpga will taint the kernel: no license > See http://www.tux.org/lkml/#export-tainted for information about tainted > modu > les > Warning: loading fpga will taint the kernel: forced load > Using ./ppc405_gpio.o > Warning: loading ppc405_gpio will taint the kernel: no license > See http://www.tux.org/lkml/#export-tainted for information about tainted > modu > les > Warning: loading ppc405_gpio will taint the kernel: forced load > > BusyBox v1.00 (2004.11.08-09:33+0000) Built-in shell (ash) > Enter 'help' for a list of built-in commands. > > telnetd: starting > port: 23; interface: any; login program: /bin/login > [EMAIL PROTECTED]:~# ls > ls > application goodhd.txt opt uboot-hdgood.bin > backup home proc uboot64Menv.bin > bin lib root ubootenv.bin > dev linuxrc sbin usr > etc mnt tmp var > [EMAIL PROTECTED]:~# mount /dev/sda12^H^H > [EMAIL PROTECTED]:~# mount /dev/sda1 /mnt/u > mount /dev/sda1 /mnt/u > VFS: Can't find ext3 filesystem on dev sd(8,1). > VFS: Can't find ext2 filesystem on dev sd(8,1). > [EMAIL PROTECTED]:~# cd .. > cd .. > cd /mnt/u > [EMAIL PROTECTED]:/proc# ls > > 1 6 ide locks scsi > 12 72 ikconfig lspinfo self > 13 73 ilatcurve lvm slabinfo > 17 77 imaxoff mdstat stat > 18 bus interrupts meminfo swaps > 19 cmdline iomem misc sys > 2 cpuinfo ioports modules sysvipc > 20 devices irq mounts tty > 201 dma kcore mtd uart0 > 202 driver kmsg net uart1 > 3 execdomains ksyms partitions uptime > 4 filesystems latencytimes pci version > 5 fs loadavg ppc_htab > [EMAIL PROTECTED]:/proc# cd sc > [EMAIL PROTECTED]:/proc# cd scsi/ > [EMAIL PROTECTED]:/proc/scsi# ls > ls > scsi sg usb-storage-0 > [EMAIL PROTECTED]:/proc/scsi# cat scsi > cat scsi > Attached devices: > Host: scsi0 Channel: 00 Id: 00 Lun: 00 > Vendor: Netac Model: OnlyDisk Rev: 4.00 > Type: Direct-Access ANSI SCSI revision: 02 > [EMAIL PROTECTED]:/proc/scsi# fdisk -l > fdisk -l > [EMAIL PROTECTED]:/proc/scsi# cd .. > cd .. > [EMAIL PROTECTED]:/proc# ls > ls > 1 6 ide locks scsi > 12 72 ikconfig lspinfo self > 13 73 ilatcurve lvm slabinfo > 17 77 imaxoff mdstat stat > 18 bus interrupts meminfo swaps > 19 cmdline iomem misc sys > 2 cpuinfo ioports modules sysvipc > 20 devices irq mounts tty > 231 dma kcore mtd uart0 > 232 driver kmsg net uart1 > 3 execdomains ksyms partitions uptime > 4 filesystems latencytimes pci version > 5 fs loadavg ppc_htab > [EMAIL PROTECTED]:/proc# cd scsi > cd scsi > [EMAIL PROTECTED]:/proc/scsi# ls > ls > scsi sg usb-storage-0 > [EMAIL PROTECTED]:/proc/scsi# cd usb > [EMAIL PROTECTED]:/proc/scsi# cd usb-storage-0/ > [EMAIL PROTECTED]:/proc/scsi/usb-storage-0# ls > ls > 0 > [EMAIL PROTECTED]:/proc/scsi/usb-storage-0# cat 0 > cat 0 > Host scsi0: usb-storage > Vendor: Netac > Product: OnlyDisk > Serial Number: None > Protocol: Transparent SCSI > Transport: Bulk > GUID: 0dd8d2000000000000000000 > Attached: Yes > [EMAIL PROTECTED]:/proc/scsi/usb-storage-0# cd .. > cd .. > [EMAIL PROTECTED]:/proc/scsi# ls > ls > scsi sg usb-storage-0 > [EMAIL PROTECTED]:/proc/scsi# cd sg > cd sg > [EMAIL PROTECTED]:/proc/scsi/sg# ls > ls > allow_dio device_hdr host_hdr version > debug device_strs host_strs > def_reserved_size devices hosts > [EMAIL PROTECTED]:/proc/scsi/sg# cat version > cat version > 30124 Version: 3.1.24 (20020505) > [EMAIL PROTECTED]:/proc/scsi/sg# cat hosts > cat hosts > 0 0 1 255 0 1 > [EMAIL PROTECTED]:/proc/scsi/sg# cat devices > cat devices > 0 0 0 0 0 1 1 0 1 > [EMAIL PROTECTED]:/proc/scsi/sg# cat debug > cat debug > dev_max(currently)=7 max_active_device=1 (origin 1) > scsi_dma_free_sectors=48 sg_pool_secs_aval=320 def_reserved_size=32768 > [EMAIL PROTECTED]:/proc/scsi/sg# ls > ls > allow_dio device_hdr host_hdr version > debug device_strs host_strs > def_reserved_size devices hosts > [EMAIL PROTECTED]:/proc/scsi/sg# cd .. > cd .. > [EMAIL PROTECTED]:/proc/scsi# cd ../.. > cd ../.. > [EMAIL PROTECTED]:~# un^Hmount > [EMAIL PROTECTED]:~# u > [EMAIL PROTECTED]:~# umount /d > [EMAIL PROTECTED]:~# umount /mnt/u > umount /mnt/u > [EMAIL PROTECTED]:~# ls > ls > application goodhd.txt opt uboot-hdgood.bin > backup home proc uboot64Menv.bin > bin lib root ubootenv.bin > dev linuxrc sbin usr > etc mnt tmp var > > [EMAIL PROTECTED]:~# usb.c: USB disconnect on device 00:02.0-1 address 2 > hub.c: new USB device 00:02.2-1, assigned address 2 > usb_control/bulk_msg: timeout > usb.c: USB device not accepting new address=2 (error=-110) > hub.c: new USB device 00:02.2-1, assigned address 3 > usb_control/bulk_msg: timeout > usb.c: USB device not accepting new address=3 (error=-110) > > [EMAIL PROTECTED]:~# mount /debv > [EMAIL PROTECTED]:~# mount /dev/sda1 /mnt/u > ount /dev/sda1 /mnt/u > Device not ready. Make sure there is a disc in the drive. > sda : READ CAPACITY failed. > sda : status = 1, message = 00, host = 0, driver = 08 > Info fld=0xa00 (nonstd), Current sd00:00: sns = 70 2 > Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00 > sda : block size assumed to be 512 bytes, disk size 1GB. > sda: I/O error: dev 08:00, sector 0 > I/O error: dev 08:00, sector 0 > unable to read partition table > Device not ready. Make sure there is a disc in the drive. > sda : READ CAPACITY failed. > sda : status = 1, message = 00, host = 0, driver = 08 > Info fld=0xa00 (nonstd), Current sd00:00: sns = 70 2 > Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00 > sda : block size assumed to be 512 bytes, disk size 1GB. > sda: I/O error: dev 08:00, sector 0 > I/O error: dev 08:00, sector 0 > unable to read partition table > Device not ready. Make sure there is a disc in the drive. > sda : READ CAPACITY failed. > sda : status = 1, message = 00, host = 0, driver = 08 > Info fld=0xa00 (nonstd), Current sd00:00: sns = 70 2 > Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00 > sda : block size assumed to be 512 bytes, disk size 1GB. > sda: I/O error: dev 08:00, sector 0 > I/O error: dev 08:00, sector 0 > unable to read partition table > Device not ready. Make sure there is a disc in the drive. > sda : READ CAPACITY failed. > sda : status = 1, message = 00, host = 0, driver = 08 > Info fld=0xa00 (nonstd), Current sd00:00: sns = 70 2 > Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00 > sda : block size assumed to be 512 bytes, disk size 1GB. > sda: I/O error: dev 08:00, sector 0 > I/O error: dev 08:00, sector 0 > unable to read partition table > Device not ready. Make sure there is a disc in the drive. > sda : READ CAPACITY failed. > sda : status = 1, message = 00, host = 0, driver = 08 > Info fld=0xa00 (nonstd), Current sd00:00: sns = 70 2 > Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00 > sda : block size assumed to be 512 bytes, disk size 1GB. > sda: I/O error: dev 08:00, sector 0 > I/O error: dev 08:00, sector 0 > unable to read partition table > mount: Mounting /dev/sda1 on /mnt/u failed: No medium found > [EMAIL PROTECTED]:~# cd .mnt.u > cd .mnt.u > cd: 43: can't cd to .mnt.u > [EMAIL PROTECTED]:~# cd /mnt/u > cd /mnt/u > [EMAIL PROTECTED]:/mnt/u# ls > ls > [EMAIL PROTECTED]:/mnt/u# cd .. > .. > [EMAIL PROTECTED]:/mnt# mount /sda2 /mnt/u > mount /sda2 /mnt/u > mount: Mounting /sda2 on /mnt/u failed: No such file or directory > [EMAIL PROTECTED]:/mnt# login[592]: root login on `pts/0' > > [EMAIL PROTECTED]:/mnt# mount /dev/sdb1 /mnt/u > mount /dev/sdb1 /mnt/u > mount: Mounting /dev/sdb1 on /mnt/u failed: No such device or address > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
