Hello: The problem I'm having is that I can’t find 40G mobile harddisk in linux. BUT it can find 128m u disk. Why? Anyone can tell me the reason? 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 control is VT6212. Does it need special usb driver for VT6212? System can detect the control successfully. I will show the details as follows. When the system starts, it can detect the control. We can see the message as follows:
“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)” When I use the u disk, it shows the messages: and I can mount and use the u disk. “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” When use the mobile harddisk : [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 ------------------------------------------------------- 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
