Fedora Linux Support Community & Resources Center
  #1  
Old 3rd July 2006, 01:39 AM
Craig Pemberton's Avatar
Craig Pemberton Offline
Registered User
 
Join Date: Jun 2006
Location: Austin
Posts: 195
hard drive errors

Hello everyone,

My computer has been freezing up quite a bit lately, especially during long compiles. Strange things happen with large copies or file decompressions. I recently moved to Houston, and it has been stuffy so maybe it's overheating. I moved my hard drive to a shorter IDE ribbon and opened the case and one of those things seemed to help but now my case is back together and crashing.

Here is a script I used to pull the relevant information out of the logs concerning my hard drive. What can I do? Is this a simple issue or am I looking at a sudden loss of all my data?

Thank you.
-Craig

Quote:
[~] cat /bin/diskerr
cat /var/log/messages | grep hda | grep 'Aug 26' | grep -v 'ro root' | grep -v 'flushes supported' | grep -v 'Adding' | grep -v 'ATA DISK drive'| grep -v 'BIOS settings' | grep -v 'hda1 hda2 hda3 hda4' | grep -v 'max request size' | grep -v 'is SMART capable' |grep -v 'found in smartd database'| grep -v '/dev/hda, opened' | grep -v 'EXT3 FS on hda3' | grep -v 'CHS=22526/255/63'|colrm 1 26 | sort | uniq -c | sort -n
[~] diskerr
1 kernel: end_request: I/O error, dev hda, sector 80373588
1 kernel: end_request: I/O error, dev hda, sector 80373596
1 kernel: end_request: I/O error, dev hda, sector 80373604
1 kernel: end_request: I/O error, dev hda, sector 80373612
1 kernel: end_request: I/O error, dev hda, sector 80373620
1 kernel: end_request: I/O error, dev hda, sector 80373628
1 kernel: end_request: I/O error, dev hda, sector 80373636
1 kernel: end_request: I/O error, dev hda, sector 80373644
1 kernel: end_request: I/O error, dev hda, sector 80373652
1 kernel: end_request: I/O error, dev hda, sector 80373660
1 kernel: end_request: I/O error, dev hda, sector 80373668
1 kernel: hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=80373683, high=4, low=13264819, sector=80373588
1 kernel: hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=80373683, high=4, low=13264819, sector=80373596
1 kernel: hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=80373683, high=4, low=13264819, sector=80373604
1 kernel: hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=80373683, high=4, low=13264819, sector=80373612
1 kernel: hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=80373683, high=4, low=13264819, sector=80373620
1 kernel: hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=80373683, high=4, low=13264819, sector=80373628
1 kernel: hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=80373683, high=4, low=13264819, sector=80373636
1 kernel: hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=80373683, high=4, low=13264819, sector=80373644
1 kernel: hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=80373683, high=4, low=13264819, sector=80373652
1 kernel: hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=80373683, high=4, low=13264819, sector=80373660
1 kernel: hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=80373683, high=4, low=13264819, sector=80373668
1 smartd[1784]: Device: /dev/hda, 3 Currently unreadable (pending) sectors
1 smartd[1800]: Device: /dev/hda, 3 Currently unreadable (pending) sectors
2 smartd[1790]: Device: /dev/hda, 3 Currently unreadable (pending) sectors
4 smartd[1816]: Device: /dev/hda, 3 Currently unreadable (pending) sectors
6 kernel: end_request: I/O error, dev hda, sector 80373676
6 kernel: hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=80373683, high=4, low=13264819, sector=80373676
17 kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
[~]
Reply With Quote
  #2  
Old 3rd July 2006, 01:48 AM
Effie04's Avatar
Effie04 Offline
Registered User
 
Join Date: May 2006
Age: 34
Posts: 110
Hello Craig

Seems to me that your Harddisk is defective maybe because of you moved it - i suggest you backup important data you have, and than do some checking on the drive...

you could try doing fsck which checks for problems on the filesystem and tries to fix them , BUT:
it is slow and you have to do it when all you filesystem is unmounted ( use a rescue cd or something)
__________________
Desktop: FC6 || Laptop: WinXP+FC6
Reply With Quote
  #3  
Old 3rd July 2006, 03:16 AM
Craig Pemberton's Avatar
Craig Pemberton Offline
Registered User
 
Join Date: Jun 2006
Location: Austin
Posts: 195
I have done fsck on my ext3 and e2fsck on my ext2 and fsck.vfat on my FAT32. They seem to find errors fairly often. Is this common?

How would I check my swap partition?

How would I figure out which sectors map to which partitions of my hard drive anyway? Can't I turn those sectors which are bad 'off' somehow?

I guess mainly what I don't know how to figure out is if this is *really* a hard drive problem or something else. Right now I'm a broke college student and don't need to be buying another hard drive if I don't absolutely have to.

Thanks!

Last edited by Craig Pemberton; 3rd July 2006 at 03:25 AM.
Reply With Quote
  #4  
Old 3rd July 2006, 01:55 PM
Effie04's Avatar
Effie04 Offline
Registered User
 
Join Date: May 2006
Age: 34
Posts: 110
Its not common, usually linux is very stable and fsck rarely needs to be used.

i dont think you could check a swap partitions, anyways its being rewritten every time the linux boots

how could you mark bad sectors using linux is a good question , i dont know (the windows scandisk does that but its irrelevant for us )

if those problem and errors in fsck arise again it is most probably a defective drive
__________________
Desktop: FC6 || Laptop: WinXP+FC6
Reply With Quote
Reply

Tags
drive, errors, hard

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard Drive Reallocated Sector Count Errors ESC201 Using Fedora 5 15th November 2010 07:06 AM
What is written to hard drive with thumb drive install or live cd murof Using Fedora 5 12th December 2008 04:27 PM
Installing to a USB Flash Drive and using the drive and a normal hard drive beeball Installation and Live Media 3 23rd March 2008 05:45 AM
2.6.22.1-27.fc7: hard drive ATA bus errors dcam Hardware & Laptops 4 6th August 2007 06:09 AM
Would like to mount old Fedora boot drive as second hard drive. grndplane Using Fedora 20 5th February 2006 04:53 AM


Current GMT-time: 14:57 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat