 |
 |
 |
 |
| Hardware & Laptops Help with your hardware, including laptop issues |

3rd July 2006, 01:39 AM
|
 |
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 }
[~]
|
|

3rd July 2006, 01:48 AM
|
 |
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
|

3rd July 2006, 03:16 AM
|
 |
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.
|

3rd July 2006, 01:55 PM
|
 |
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
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 14:57 (Wednesday, 19-06-2013)
|
|
 |
 |
 |
 |
|
|