LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-13-2006, 12:49 PM   #1
General
Member
 
Registered: Aug 2005
Distribution: Debian 7
Posts: 526

Rep: Reputation: 31
Buffer I/O error on hdd


A friend gave me a new harddrive. I already had a second harddrive, with no mount point leading to it, so I simply shut down the computer and switched the two harddrives. During first boot, I ran PowerMax and ran a full test on the new harddrive, and the harddrive passed. I have not yet formatted the drive (it is ntfs) nor created a mount point. After rebooting, now I see a bunch of messages stating "Buffer I/O error on hdd, logical block (some number)." What does this mean?
 
Old 05-14-2006, 10:52 AM   #2
spindles
Member
 
Registered: May 2005
Location: New Zealand
Distribution: Now Ubuntu 16.04
Posts: 154

Rep: Reputation: 15
Hi General,
I am not too smart about hardware but...
I was looking this up all last week.

I was getting these messages:
<4>hdb: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
<4>hdb: read_intr: error=0x10 { SectorIdNotFound }, LBAsect=19606367, sector=19541088
<4>end_request: I/O error, dev hdb, sector 19541088

<3>Buffer I/O error on device hdb, logical block 19541088<4>hdb: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
<4>hdb: read_intr: error=0x10 { SectorIdNotFound }, LBAsect=19606367, sector=19541088
<4>end_request: I/O error, dev hdb, sector 19541088
<3>Buffer I/O error on device hdb, logical block 19541088

I read, amongst my searches, such advice as "your drive is stuffed and about to die" but I didn't believe it because I have been getting these messages about hdb since I installed Linux over a year ago. Also, I have got similar messages about hda since then, and it was brand new at the time. Both disks are still working fine.

It is still all a puzzle to me, but experts might know what the codes mean where it says "error=0x10" and "status=0x59".
(If you are getting other numbers in these messages it might be more worrying.)

The "sector=1954108" mentioned happens to be the last sector on that drive.

On boot, there would be these messages, then DMA would be turned off.
If I later turned DMA back on for hda, the system would find this problem with hdb again at some time and turn off DMA for hda and hdb (which are on the same DMA channel.

However if I "force DMA", i.e. turn on DMA for all the disks at a later stage of booting, the problem does not happen any more: I don't get the messages, DMA is not turned off.

If you want to search for information, I found that searching for "SeekComplete DataRequest Error" turned up plenty of results: but it is still a mystery to me. On some forums I saw discussions that seemed to me to be among hardware experts -- I didn't really understand a word of it.

I concluded that, at least with these particular error codes -- "error=0x10" and "status=0x59" -- the cause is probably in the areas of DMA and ACPI -- and the worst that will happen is that DMA will be turned off while you are working (annoying!).
(By the way, in case it is relevant, I found out in these discussions that if you have power saving enabled on your linux system, a disk that goes to sleep is likely to have DMA still disabled when it is woken up.)

Like you said, I saw that other people had run disk checking utilities after seeing these messages -- and those checks didn't show up any problems with the disk.

Also I noticed that at shutdown, i.e. runlevel 6, a similar message is returned about every disk. This makes sense to me, i.e. they are unmounted now or turned off, so they are not returning any info to the system.

Hope this helps but, as I said, after a lot of searching I found that quite a few people have questions about these messages but I still did not find out anything aimed at my level of understanding.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Buffer I/O error during Installation herduk Mandriva 3 09-06-2005 09:37 AM
Buffer I/O error during bootup vvenkata Linux - General 1 08-23-2005 06:52 PM
Buffer I/O error linuxhippy Fedora 4 07-15-2005 05:25 AM
mnt error--buffer I/O error, dev fd0 elempoimen Linux - Hardware 0 06-10-2005 10:51 PM
usb-storage buffer i/o error zedmango Linux - Hardware 0 04-14-2004 01:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:43 PM.

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