View previous topic :: View next topic |
Author |
Message |
nahpets Veteran
Joined: 05 Oct 2003 Posts: 1178 Location: Montreal, Canada
|
Posted: Thu May 27, 2004 1:03 am Post subject: hard drive problems with kernel 2.6 |
|
|
Ever since I upgraded to kernel 2.6.x, my computer freezes when there's a lot of disk IO going on. When I have DMA enabled and xfer mode is udma5, I get a hard lock and I need to power off the machine. Just for kicks, I disabled DMA and I got the same errors without the hard locks. Here's my log output:
Quote: |
May 26 20:52:49 stephan hda: read_intr: status=0x51 { DriveReady SeekComplete Error }
May 26 20:52:49 stephan hda: read_intr: error=0x10 { SectorIdNotFound }, LBAsect=117220667, sector=117220667
May 26 20:52:49 stephan hda: read_intr: status=0x51 { DriveReady SeekComplete Error }
May 26 20:52:49 stephan hda: read_intr: error=0x10 { SectorIdNotFound }, LBAsect=117220667, sector=117220667
May 26 20:52:49 stephan hda: read_intr: status=0x51 { DriveReady SeekComplete Error }
May 26 20:52:49 stephan hda: read_intr: error=0x10 { SectorIdNotFound }, LBAsect=117220667, sector=117220667
May 26 20:52:49 stephan hda: read_intr: status=0x51 { DriveReady SeekComplete Error }
May 26 20:52:49 stephan hda: read_intr: error=0x10 { SectorIdNotFound }, LBAsect=117220667, sector=117220667
May 26 20:52:49 stephan ide0: reset: success
May 26 20:52:49 stephan hda: read_intr: status=0x51 { DriveReady SeekComplete Error }
May 26 20:52:49 stephan hda: read_intr: error=0x10 { SectorIdNotFound }, LBAsect=117220667, sector=117220667
May 26 20:52:49 stephan end_request: I/O error, dev hda, sector 117220667
May 26 20:52:54 stephan hda: read_intr: status=0x51 { DriveReady SeekComplete Error }
May 26 20:52:54 stephan hda: read_intr: error=0x10 { SectorIdNotFound }, LBAsect=117220667, sector=117220667
May 26 20:52:54 stephan hda: read_intr: status=0x51 { DriveReady SeekComplete Error }
May 26 20:52:54 stephan hda: read_intr: error=0x10 { SectorIdNotFound }, LBAsect=117220667, sector=117220667
May 26 20:52:54 stephan hda: read_intr: status=0x51 { DriveReady SeekComplete Error }
May 26 20:52:54 stephan hda: read_intr: error=0x10 { SectorIdNotFound }, LBAsect=117220667, sector=117220667
May 26 20:52:54 stephan hda: read_intr: status=0x51 { DriveReady SeekComplete Error }
May 26 20:52:54 stephan hda: read_intr: error=0x10 { SectorIdNotFound }, LBAsect=117220667, sector=117220667
May 26 20:52:54 stephan ide0: reset: success
May 26 20:52:54 stephan hda: read_intr: status
|
I then did the following:
Quote: |
root # hdparm -d1 -X udma4 /dev/hda
/dev/hda:
setting using_dma to 1 (on)
setting xfermode to 68 (UltraDMA mode4)
using_dma = 1 (on)
root # hdparm -i /dev/hda
/dev/hda:
Model=WDC WD600BB-75CAA0, FwRev=16.06V16, SerialNo=WD-WMA8F3460825
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=40
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=117187500
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 *udma4 udma5
AdvancedPM=no WriteCache=enabled
Drive conforms to: device does not report version:
* signifies the current active mode
|
And I still got the same error messages in the logs, but my system didn't crash as it does with udma5. Does anyone have any idea which kernel option is causing these IO problems? |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Thu May 27, 2004 1:18 am Post subject: |
|
|
Unless you tell us the exact model of your ATA controller and what IDE ATA driver you used in the kernel, there's small chance of help... See lspci -v for info on the controller. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
nahpets Veteran
Joined: 05 Oct 2003 Posts: 1178 Location: Montreal, Canada
|
Posted: Thu May 27, 2004 5:21 am Post subject: |
|
|
I finally figured out that it's a partition table problem. cfdisk gives me:
Quote: |
FATAL ERROR: Bad primary partition 3: Partition ends after end-of-disk
Press any key to exit cfdisk
|
|
|
Back to top |
|
|
Yankee Tux's lil' helper
Joined: 25 Jul 2003 Posts: 77 Location: Germany
|
Posted: Tue Jul 27, 2004 9:44 am Post subject: |
|
|
I am experiencing exactly the same problem including the cfdisk failure message.
Can anyone tell me, what this is about and what I could do to fix this problem? |
|
Back to top |
|
|
|
|
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
|
|