0

for a while now I have been following HowToGeek's Guide to setup a Always-On BitTorrent Box.

However, I have encountered a major problem which I am unable to solve. As I am torrenting and writing to the hard drive, the hard drive will lose connection after some time.

Upon checking dmesg, this is what is shown,

Mar 30 17:04:31 raspberrypi kernel: [ 3849.108613] net_ratelimit: 9 callbacks suppressed
Mar 30 17:31:55 raspberrypi kernel: [ 5492.920408] net_ratelimit: 1941 callbacks suppressed
Mar 30 17:38:48 raspberrypi kernel: [ 5906.787505] net_ratelimit: 12824 callbacks suppressed
Mar 30 17:40:41 raspberrypi kernel: [ 6018.993823] usb 1-1.2.4: USB disconnect, device number 5
Mar 30 17:40:47 raspberrypi kernel: [ 6025.375844] usb 1-1.2.4: new high-speed USB device number 6 using dwc_otg
Mar 30 17:40:47 raspberrypi kernel: [ 6025.480959] usb 1-1.2.4: New USB device found, idVendor=054c, idProduct=05bf
Mar 30 17:40:47 raspberrypi kernel: [ 6025.480999] usb 1-1.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 30 17:40:47 raspberrypi kernel: [ 6025.481019] usb 1-1.2.4: Product: Hard Drive
Mar 30 17:40:47 raspberrypi kernel: [ 6025.481036] usb 1-1.2.4: Manufacturer: Sony
Mar 30 17:40:47 raspberrypi kernel: [ 6025.481053] usb 1-1.2.4: SerialNumber: 22253528272D
Mar 30 17:40:47 raspberrypi kernel: [ 6025.487615] usb-storage 1-1.2.4:1.0: USB Mass Storage device detected
Mar 30 17:40:47 raspberrypi kernel: [ 6025.492100] scsi host1: usb-storage 1-1.2.4:1.0
Mar 30 17:40:47 raspberrypi kernel: [ 6025.567562] usbcore: registered new interface driver uas
Mar 30 17:40:48 raspberrypi kernel: [ 6026.492520] scsi 1:0:0:0: Direct-Access Sony Hard Drive 0201 PQ: 0 ANSI: 2
Mar 30 17:40:48 raspberrypi kernel: [ 6026.497620] sd 1:0:0:0: [sdb] 1953525165 512-byte logical blocks: (1.00 TB/931 GiB)
Mar 30 17:40:48 raspberrypi kernel: [ 6026.498815] sd 1:0:0:0: [sdb] Write Protect is off
Mar 30 17:40:48 raspberrypi kernel: [ 6026.531995] sdb: sdb1
Mar 30 17:40:48 raspberrypi kernel: [ 6026.537531] sd 1:0:0:0: [sdb] Attached SCSI disk
Mar 30 17:40:48 raspberrypi kernel: [ 6026.580959] sd 1:0:0:0: Attached scsi generic sg0 type 0

My current setup consists of,
Raspberry Pi B+ Model running on Raspbian OS
Belkin Powered USB Hub F4U020
Sony 1TB Hard Drive

The Pi is being powered by the hub as well.

Thanks for any help!

31 March, 7.57pm - An update on the situation, I switched to a dedicated power supply for the Pi in question, a different one from the one I used before. Torrenting has been going fine for the past 5-6 hours.

  • 1
    This could be a power problem with either the drive or the Pi. My suggestion would be to disconnect the drive and measure the voltage (details here elinux.org/R-Pi_Troubleshooting#Troubleshooting_power_problems) if it meets the requirements. then connect the drive and repeat. I would also suggest getting a dedicated power supply for the Pi itself instead of powering it from a hub - especially one shared with an ext. drive. – Steve Robillard Mar 31 '15 at 5:21
  • I have ever used a dedicated power supply for the pi but the same issue persists. Could it be the USB hub causing problems? – Limzy Mar 31 '15 at 6:24
  • 1
    This definitely sounds like power issues. Has the HD been tested at another system (e.g. Laptop or PC) and is it working fine there? – Ghanima Mar 31 '15 at 8:36
  • Yes. The hard disk has worked fine on other systems – Limzy Mar 31 '15 at 11:12
  • net_ratelimit: 12824 callbacks suppressed I believe this indicates something zany is going on, because it means something network related is bombing syslog with so many errors they are being suppressed. I have logs on my desktop here going back more than a year and net_ratelimit does not appear once. Is there nothing before that? – goldilocks Mar 31 '15 at 11:23
1

Try using a powered USB hub. This is clearly a power problem with the Pi not being able to supply enough power to the drive when it mostly needs it. Check this link out: Powered USB Hub

  • I am indeed already using a powered USB hub which powers both the Pi itself and the Hard Drive. Should I explore using a different USB hub? – Limzy Mar 31 '15 at 5:57
  • I think you should use a normal power unit for the pi then the hub for the external. – Kwekuq Mar 31 '15 at 6:05
  • I've tried that before in a previous setup but the same error occurs – Limzy Mar 31 '15 at 6:19
  • That's at least a 2 amp hub and Belkin doesn't regulate them (at least, the Belkin hub I have is unregulated) so power is probably not the issue. – goldilocks Mar 31 '15 at 11:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.