LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-14-2013, 03:11 AM   #1
markmb
Member
 
Registered: Jul 2011
Location: Spain
Distribution: Fedora
Posts: 61

Rep: Reputation: 3
Error with Transmission, extern HDD and Raspberry Pi


Hello everyone

I'm trying to use my Raspberry Pi as a Torrent downloader, and after a time downloading, it crashes witht this errors:

EXT4-fs error (device sda1): ext4_wait_block_bitmap:445: comm transmission-da: Cannot read block bitmap - block_group = 4806, block_bitmap = 157483008
EXT4-fs error (device sda1): ext4_discard_preallocations:3842: comm transmission-da: Error reading block bitmap for 4806

I couldn't find much information using google, so I ask if somebody can help me. I'm using a Rasperry Pi with Raspbian, connected by wifi, and a USB external drive formated in EXT3 and self powered.

Thank you in advance!
 
Old 04-14-2013, 09:48 AM   #2
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbangified Debian 8 (Jessie)
Posts: 747
Blog Entries: 1

Rep: Reputation: 172Reputation: 172
Can you try a different drive or format your drive as Ext4 ??
Some external drives are rather finicky and tend to drop the connection when connected for long periods of time. The hard drive might have a dodgy usb to sata converter in it.
 
Old 04-14-2013, 11:00 PM   #3
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
few things to look at.

1. get are more reliable power supply for your RPi min specs needs to be 1mA and 5V, but a 2mA would be better

2. what is the brand/modle of your external USB drive. If it is a WD Passport you could be faced with the well know issue of WD power management turning off the external drive and not allowing Linux to wake it back up. therefore the drive is removed from your RPi as a location to store data and you could get the above errors.

If that is the case, mind you it is not limited to WD Passport drives but many WD external USB drives, you will first have to format the drive for NTFS, then use a MS Windows computer and install their WD management software. Once you have that accomplished you will then have to disable their "sleep" function. After all of that you can then format it back to ext3 or ext4 for Linux native access.
 
Old 04-15-2013, 02:41 AM   #4
markmb
Member
 
Registered: Jul 2011
Location: Spain
Distribution: Fedora
Posts: 61

Original Poster
Rep: Reputation: 3
I have a WD My Book Essential, I think, and a 1A (I suppose you are talking about A and not mA) power supply.

Would you recommend me to start by changing the power supply, or by formatting and using WD tools? (it had some sofware on when it was new, I remember).

Thanks for your answer!
 
Old 04-15-2013, 04:56 AM   #5
Springs
Member
 
Registered: Apr 2008
Posts: 73

Rep: Reputation: 0
It does sound like your hard drive is disconnecting itself from the machine.

I would format it and turn off the sleep mode as suggested first and then see how it goes after that.
 
Old 04-16-2013, 12:02 AM   #6
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Quote:
Originally Posted by markmb View Post
I have a WD My Book Essential, I think, and a 1A (I suppose you are talking about A and not mA) power supply.

Would you recommend me to start by changing the power supply, or by formatting and using WD tools? (it had some sofware on when it was new, I remember).

Thanks for your answer!
yes i did mean 1A, sorry 1000mA is what I was thinking. same thing.

with the WD external drives you will have to format to NTFS and use their tools to disable sleep mode. This is a known issue with WD drives and linux. If you do not disable the onboard BIOS's sleep mode it will remain active and linux will not be able to wake the drive to reconnect.
 
Old 04-19-2013, 04:21 PM   #7
markmb
Member
 
Registered: Jul 2011
Location: Spain
Distribution: Fedora
Posts: 61

Original Poster
Rep: Reputation: 3
I formatted the HDD in NTFS, installed the WD tools and disabled the sleep option (it was enabled), but it doesn't work either. I get the same error after a while downloading at full speed.

EDIT: When it fails, I do a "mount" again, and it says that sda1 doesn't exist, so I have to disconnect the HDD and reconnect it.

From the answers before: I have a 1A power supply, and it is formatted in EXT3.

What do you think is the problem?

Thank you in advance.

Last edited by markmb; 04-19-2013 at 04:38 PM.
 
Old 10-12-2013, 12:22 PM   #8
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
if it is still dropping connection, then the external is the issue. as you have disabled the sleep mode the drive should never go to sleep.

try it on an other Linux system to see if it drops there as well. if it does, take it back as it is defective.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error building crosstools-ng on LFS for raspberry pi - custom kernel error Keith Hedger Linux From Scratch 0 01-15-2013 05:44 PM
No transmission circlesdisplayed for wirless transmission in ns2 susanthomas Linux - Newbie 2 05-23-2012 01:14 AM
LXer: Enter the element14 Pi Day ??Raspberry RoadTest? Challenge for a chance to win a Raspberry Pi c LXer Syndicated Linux News 0 03-08-2012 06:20 AM
Transmission web interface error halvors Linux - Server 1 12-02-2009 10:31 AM
Extern. HDD. Unable to write. vexer Linux - Hardware 3 01-28-2005 08:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration