Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Errors on boot [Solved - Rebuilt System]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
exssnrg
n00b
n00b


Joined: 29 Sep 2005
Posts: 11

PostPosted: Sat Oct 01, 2005 5:56 pm    Post subject: Errors on boot [Solved - Rebuilt System] Reply with quote

I had some errors on boot that looked like a hard drive was going to fail. Since it was an old drive, i grabbed a new one and dd'd the system over to a new drive. The new drive shows the same errors. I'm not sure what to do now.


At the top of the boot process I see this:

hda: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: task_in_intr: error=0x10 { SectorIdNotFound }, LBAsect=78230688, high=4, low=1121824, sector=78230688
ide:failed opcode was: unknown

===> my comment: This happends 5-6 times then:

ide0: reset:success

===> my comment: The above repeated about 4 screens full then:

Buffer IO error on device hda3 logical block 9517990
setting /sbin/udevsend as hot plug agent

Boot continues apparently normally from there.

I'm using a compaq nc6000 laptop

fdisk -l shows:

Disk /dev/hda: 40.0 GB, 40007761920 bytes
240 heads, 63 sectors/track, 5168 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 5 37768+ 83 Linux
/dev/hda2 6 138 1005480 82 Linux swap / Solaris
/dev/hda3 139 5174 38072160 83 Linux

What is happening here? What should I do if anthing? The system seems to operate fine after boot, but this worries me.


Last edited by exssnrg on Fri Oct 07, 2005 4:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
sigmalll
Guru
Guru


Joined: 24 Aug 2003
Posts: 332

PostPosted: Sat Oct 01, 2005 11:16 pm    Post subject: Reply with quote

If you have SMART enabled in your bios (and HD supports)
Code:
#emerge smartmontools
...
...
#smartctl -H /dev/hda


I get the following on one of my older HD's
Code:

smartctl version 5.33 [i686-pc-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
Please note the following marginal Attributes:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  9 Power_On_Seconds        0x0012   001   001   020    Old_age   Always   FAILING_NOW 16882h+18m+28s


Have a look at the man page for smartctl for all the other things you can do (good example commands at end of page)
Code:
#man smartctl


EDIT: Dont forget to fsck :)
Back to top
View user's profile Send private message
exssnrg
n00b
n00b


Joined: 29 Sep 2005
Posts: 11

PostPosted: Sun Oct 02, 2005 12:06 am    Post subject: Reply with quote

the results:

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

So... the question is: Do I need to worry?
Back to top
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Sun Oct 02, 2005 1:48 am    Post subject: Re: Errors on boot Reply with quote

exssnrg wrote:
Code:
hda: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: task_in_intr: error=0x10 { SectorIdNotFound }, LBAsect=78230688, high=4, low=1121824, sector=78230688
ide:failed opcode was: unknown

What is happening here? What should I do if anthing? The system seems to operate fine after boot, but this worries me.

Something is trying to read past the end of the drive (LBA 78230688 is at byte offset 40054112256, but your drive is a little smaller from your fdisk output). Since the error stayed after swapping disks, it could be a corrupt filesystem referencing some non-existent LBA. Your could try to run fsck manually (from a LiveCD, as you need the partition unmounted to do this, and if you're using XFS, run xfs_check instead, as fsck.xfs is a no-op).

The "ide0: reset" are just the consequence of the numerous other errors: the IDE driver normally reissues failed commands a few times. After that, if the error still exists, it assumes the drive and/or the controller is confused, and resets the IDE bus to bring the devices to a known state.
Back to top
View user's profile Send private message
exssnrg
n00b
n00b


Joined: 29 Sep 2005
Posts: 11

PostPosted: Fri Oct 07, 2005 4:43 pm    Post subject: Problem solved - Complete rebuild Reply with quote

Thanks everyone for the assistance however I determined it was a lost cause. Started fresh, which wasn't as hard as I thought it would be!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum