-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 bkn@ithryn.net wrote: | Hi All, I recently bought an external usb drive for my mythtv box. It is | a passport western digital drive. The drive works on my labtop as well | as my roommate's labtop. however i cannot get it to work on my mythtv | box. I'm guessing that for some reason the USB bus isn't providing | enough power since the drive is running purely on the USB bus, there is | no external power source. I have tried using a USB cable that has two | USB plugs for devices that draw a lot of power, but that doesn't work | either. My next step is to try a USB powered hub, whenever i can get my | hands on one. Has anyone else has these problems or know of a solution? | dmesg reports the following over and over with the only difference being | the sector reported by the OS at the end of the 2nd to last line. | [1110016.867387] printk: 7 messages suppressed. [1110016.867393] Buffer | I/O error on device sda1, logical block 4 [1110016.978727] usb 4-1: | reset high speed USB device using ehci_hcd and address 3 | [1110017.302341] usb 4-1: reset high speed USB device using ehci_hcd and | address 3 [1110017.622023] usb 4-1: reset high speed USB device using | ehci_hcd and address 3 [1110017.945590] usb 4-1: reset high speed USB | device using ehci_hcd and address 3 [1110018.269144] usb 4-1: reset high | speed USB device using ehci_hcd and address 3 [1110018.580778] usb 4-1: | reset high speed USB device using ehci_hcd and address 3 | [1110018.713271] sd 1:0:0:0: [sda] Result: hostbyte=DID_ERROR | driverbyte=DRIVER_OK,SUGGEST_OK [1110018.713282] end_request: I/O error, | dev sda, sector 73 [1110018.713290] Buffer I/O error on device sda1, | logical block 5 Thanks, - brad | Sounds like you have a USB problem on your mythbox. I have a hard drive that is powered via usb and I know you need to plug both of the USB cables from the Y into the same usb 'block' (you can't plug one in the front and the other in the back). If you were doing that, try plugging them in next to each other. Otherwise I think it's a usb problem. That's easily detectable by using a jump drive in the same ports and check /var/log/messages or dmesg. Also, if it is bad usb hw on your myth box the hub won't fix it (which is more reason to try one). My usb hd has a slot for power, does yours? If so I'd suggest trying it. HTH - -- Eric Martin Key fingerprint = D1C4 086E DBB5 C18E 6FDA B215 6A25 7174 A941 3B9F -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgMrIMACgkQaiVxdKlBO5+AnACfUffz1SZX7CmFszBqHN93UwGr uoAAn0F07lMxLwfHiVOLrYWR6URQk6bv =x7NM -----END PGP SIGNATURE-----
2.5" external drives are usually powered off the USB bus. If that were the problem, I wouldn't expect linux to see the drive as sda1 at all. Are the laptops that it does work with both linux? Is it formatted as NTFS? Clint ---- Eric Martin <freak4uxxx@gmail.com> wrote: ============= -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 bkn@ithryn.net wrote: | Hi All, I recently bought an external usb drive for my mythtv box. It is | a passport western digital drive. The drive works on my labtop as well | as my roommate's labtop. however i cannot get it to work on my mythtv | box. I'm guessing that for some reason the USB bus isn't providing | enough power since the drive is running purely on the USB bus, there is | no external power source. I have tried using a USB cable that has two | USB plugs for devices that draw a lot of power, but that doesn't work | either. My next step is to try a USB powered hub, whenever i can get my | hands on one. Has anyone else has these problems or know of a solution? | dmesg reports the following over and over with the only difference being | the sector reported by the OS at the end of the 2nd to last line. | [1110016.867387] printk: 7 messages suppressed. [1110016.867393] Buffer | I/O error on device sda1, logical block 4 [1110016.978727] usb 4-1: | reset high speed USB device using ehci_hcd and address 3 | [1110017.302341] usb 4-1: reset high speed USB device using ehci_hcd and | address 3 [1110017.622023] usb 4-1: reset high speed USB device using | ehci_hcd and address 3 [1110017.945590] usb 4-1: reset high speed USB | device using ehci_hcd and address 3 [1110018.269144] usb 4-1: reset high | speed USB device using ehci_hcd and address 3 [1110018.580778] usb 4-1: | reset high speed USB device using ehci_hcd and address 3 | [1110018.713271] sd 1:0:0:0: [sda] Result: hostbyte=DID_ERROR | driverbyte=DRIVER_OK,SUGGEST_OK [1110018.713282] end_request: I/O error, | dev sda, sector 73 [1110018.713290] Buffer I/O error on device sda1, | logical block 5 Thanks, - brad | Sounds like you have a USB problem on your mythbox. I have a hard drive that is powered via usb and I know you need to plug both of the USB cables from the Y into the same usb 'block' (you can't plug one in the front and the other in the back). If you were doing that, try plugging them in next to each other. Otherwise I think it's a usb problem. That's easily detectable by using a jump drive in the same ports and check /var/log/messages or dmesg. Also, if it is bad usb hw on your myth box the hub won't fix it (which is more reason to try one). My usb hd has a slot for power, does yours? If so I'd suggest trying it. HTH - -- Eric Martin Key fingerprint = D1C4 086E DBB5 C18E 6FDA B215 6A25 7174 A941 3B9F -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgMrIMACgkQaiVxdKlBO5+AnACfUffz1SZX7CmFszBqHN93UwGr uoAAn0F07lMxLwfHiVOLrYWR6URQk6bv =x7NM -----END PGP SIGNATURE----- _______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
On Mon, Apr 21, 2008 at 11:22:23AM -0400, Clint Moyer wrote:
2.5" external drives are usually powered off the USB bus. If that were the problem, I wouldn't expect linux to see the drive as sda1 at all. Are the laptops that it does work with both linux? Is it formatted as NTFS?
It is a 2.5" drive. It does not have an external power source, to answer eric's question. I got a hold of a Y cable, but that didn't seem to help at all. One labtop is linux and the other labtop is OS X. They both were able to see the drive fine and mount it with the single USB cable, not the Y cable. Currently the drive is formated hfs since i was testing it with the OS X labtop. I find it strange that it can half see the drive. fdisk can see the drive and partition it, but if you try to format the drive you get nothing by read errors on just about every sector on the hard drive. When i get back to my apartment, i will try Eric's suggestion on seeing if a jump drive (which i assume is the same thing as a usb flash drive) can be read by my mythtv box. Thanks for you suggestions, - Brad
Otherwise I think it's a usb problem. That's easily detectable by using a jump drive in the same ports and check /var/log/messages or dmesg. Also, if it is bad usb hw on your myth box the hub won't fix it (which is more reason to try one).
I finally tried my usb flash drive from work and i saw the same behavior. a mouse and keyboard appear to work fine through usb, but block devices don't. Thanks for you help. -brad
participants (4)
-
bkn@ithryn.net
-
brad
-
Clint Moyer
-
Eric Martin