I'm getting weird DMA errors on my Fedora Core 5 computer. The motherboard is an ASRock P4VM800 with 512MB DDR Celeron 2533 MHz Model 4 hard drive is a Hitachi 7K80 7200 rpm parallel-ATA 80 Gig. Fedora is installed on /dev/hda7 9.4 Gig partition ext3 The DMA error message shows up during big file, or multiple file, copying from one directory to another, and during bootup. dmesg shows this message: cd ..hda: dma_intr: status=0x51 { DriveReady SeekComplete Error } hda: dma_intr: error=0x84 { DriverStatus Error BadCCR } ide: failed opcode was: unknown Sometimes the error message shows up at one point in the boot process, sometimes in another. During really big copies, the DMA error message is quite frequent. I also have XP, 98SE, and Slackware on the machine but so far none of them have this error, or maybe they're not telling. Can anyone tell me how to deal with this problem?
BadCCR...? Could you mean BadCRC?
If so, Google says your drive is dying. "I'm Feeling Lucky" Link: http://linuxgazette.net/issue76/tag/10.html
On 30-May-06, at 3:20 PM, schwartz wrote:
DriverStatus Error BadCCR
On May 30, 2006 03:28 pm, Sean Cody wrote this amazing epistle:
BadCCR...? Could you mean BadCRC?
Not unless he was thinking about "Bad Moon Rising" by CCR. Then again apart from playing an MP3 (or something similar) I'm not sure how he got CCR on his computer. ;-)
Sorry about that. It was too much of a straight line to resist.
Later Mike
Those errors are more likely signs of failing drive.
You should use the smartmontools to do a status check on your drive.
http://smartmontools.sourceforge.net/
Hard drives have had SMART technology for years and Linux has had these tools for just about as long yet no distro (that I'm aware of) activates smart monitoring by default. That is a real shame since they are so valuable.
Since the docs don't make it really obvious how to do a spot check:
[root@sergeant root]# smartctl -t short /dev/hda smartctl version 5.21 Copyright (C) 2002-3 Bruce Allen Home page is http://smartmontools.sourceforge.net/
=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION === Sending command: "Execute SMART Short self-test routine immediately in off-line mode". Drive command "Execute SMART Short self-test routine immediately in off-line mode" successful. Testing has begun. Please wait 1 minutes for test to complete. Test will complete after Wed May 31 09:27:42 2006
Use smartctl -X to abort test. [root@sergeant root]# smartctl -l selftest /dev/hda smartctl version 5.21 Copyright (C) 2002-3 Bruce Allen Home page is http://smartmontools.sourceforge.net/
=== START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Short offline Completed without error 00% 30579 - # 2 Extended offline Completed without error 00% 29284 - # 3 Extended offline Completed without error 00% 28500 -
You may want to do "-t long" instead of short, it takes a while to execute but is more thorough.
Sean
On 5/31/06, John Lange john.lange@open-it.ca wrote:
Those errors are more likely signs of failing drive.
You should use the smartmontools to do a status check on your drive.
http://smartmontools.sourceforge.net/
Hard drives have had SMART technology for years and Linux has had these tools for just about as long yet no distro (that I'm aware of) activates smart monitoring by default. That is a real shame since they are so valuable.
-- John Lange OpenIT ltd. www.Open-IT.ca (204) 885 0872 VoIP, Web services, Linux Consulting, Server Co-Location
On Tue, 2006-05-30 at 15:20 -0500, schwartz wrote:
I'm getting weird DMA errors on my Fedora Core 5 computer. The motherboard is an ASRock P4VM800 with 512MB DDR Celeron 2533 MHz Model 4 hard drive is a Hitachi 7K80 7200 rpm parallel-ATA 80 Gig. Fedora is installed on /dev/hda7 9.4 Gig partition ext3 The DMA error message shows up during big file, or multiple file, copying from one directory to another, and during bootup. dmesg shows this message: cd ..hda: dma_intr: status=0x51 { DriveReady SeekComplete Error } hda: dma_intr: error=0x84 { DriverStatus Error BadCCR } ide: failed opcode was: unknown Sometimes the error message shows up at one point in the boot process, sometimes in another. During really big copies, the DMA error message is quite frequent. I also have XP, 98SE, and Slackware on the machine but so far none of them have this error, or maybe they're not telling. Can anyone tell me how to deal with this problem?
Roundtable mailing list Roundtable@muug.mb.ca http://www.muug.mb.ca/mailman/listinfo/roundtable
Roundtable mailing list Roundtable@muug.mb.ca http://www.muug.mb.ca/mailman/listinfo/roundtable
One real negative about SMART is that its mostly IDE only. Even though SATA drives have SMART capability the Linux kernel doesn't support it unless you are using the very newest kernel (just checked and 2.6.15 is the first version to support it).
John
On Wed, 2006-05-31 at 09:29 -0500, Sean Walberg wrote:
Since the docs don't make it really obvious how to do a spot check:
[root@sergeant root]# smartctl -t short /dev/hda smartctl version 5.21 Copyright (C) 2002-3 Bruce Allen Home page is http://smartmontools.sourceforge.net/
=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION === Sending command: "Execute SMART Short self-test routine immediately in off-line mode". Drive command "Execute SMART Short self-test routine immediately in off-line mode" successful. Testing has begun. Please wait 1 minutes for test to complete. Test will complete after Wed May 31 09:27:42 2006
Use smartctl -X to abort test. [root@sergeant root]# smartctl -l selftest /dev/hda smartctl version 5.21 Copyright (C) 2002-3 Bruce Allen Home page is http://smartmontools.sourceforge.net/
=== START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Short offline Completed without error 00% 30579
# 2 Extended offline Completed without error 00% 29284
# 3 Extended offline Completed without error 00% 28500
You may want to do "-t long" instead of short, it takes a while to execute but is more thorough.
Sean
On 5/31/06, John Lange john.lange@open-it.ca wrote: Those errors are more likely signs of failing drive.
You should use the smartmontools to do a status check on your drive. http://smartmontools.sourceforge.net/ Hard drives have had SMART technology for years and Linux has had these tools for just about as long yet no distro (that I'm aware of) activates smart monitoring by default. That is a real shame since they are so valuable. -- John Lange OpenIT ltd. www.Open-IT.ca (204) 885 0872 VoIP, Web services, Linux Consulting, Server Co-Location On Tue, 2006-05-30 at 15:20 -0500, schwartz wrote: > I'm getting weird DMA errors on my Fedora Core 5 computer. > The motherboard is an ASRock P4VM800 with 512MB DDR > Celeron 2533 MHz Model 4 > hard drive is a Hitachi 7K80 7200 rpm parallel-ATA 80 Gig. > Fedora is installed on /dev/hda7 9.4 Gig partition ext3 > The DMA error message shows up during big file, > or multiple file, copying from one directory to another, > and during bootup. dmesg shows this message: > cd ..hda: dma_intr: status=0x51 > { DriveReady SeekComplete Error } > hda: dma_intr: error=0x84 { DriverStatus Error BadCCR } > ide: failed opcode was: unknown > Sometimes the error message shows up at one point > in the boot process, sometimes in another. During really > big copies, the DMA error message is quite frequent. > I also have XP, 98SE, and Slackware on the machine > but so far none of them have this error, or maybe they're > not telling. > Can anyone tell me how to deal with this problem? > > > > > > _______________________________________________ > Roundtable mailing list > Roundtable@muug.mb.ca > http://www.muug.mb.ca/mailman/listinfo/roundtable > _______________________________________________ Roundtable mailing list Roundtable@muug.mb.ca http://www.muug.mb.ca/mailman/listinfo/roundtable
-- Sean Walberg sean@ertw.com http://ertw.com/ _______________________________________________ Roundtable mailing list Roundtable@muug.mb.ca http://www.muug.mb.ca/mailman/listinfo/roundtable
On 5/31/06, John Lange john.lange@open-it.ca wrote:
One real negative about SMART is that its mostly IDE only. Even though SATA drives have SMART capability the Linux kernel doesn't support it unless you are using the very newest kernel (just checked and 2.6.15 is the first version to support it).
I haven't used it with SATA, but SMART works great with SCSI, including 3Ware RAID cards. Even though the card presents itself to the system as a SCSI device, the software can talk to the controller to poll the individual drives.
Sean
Yup. I should have said "a real negative is it doesn't work with SATA drives until kernel 2.6.15".
Ironically this thread reminded me to check into that because I have a server with SATA drives that have been unmonitored since the switch to libata about a year ago.
I just installed a new kernel a few weeks back and I'm now finally able to re-implement proper drive monitoring on it.
Seems to work perfectly with SATA now.
John
On Wed, 2006-05-31 at 10:13 -0500, Sean Walberg wrote:
On 5/31/06, John Lange john.lange@open-it.ca wrote: One real negative about SMART is that its mostly IDE only. Even though SATA drives have SMART capability the Linux kernel doesn't support it unless you are using the very newest kernel (just checked and 2.6.15 is the first version to support it).
I haven't used it with SATA, but SMART works great with SCSI, including 3Ware RAID cards. Even though the card presents itself to the system as a SCSI device, the software can talk to the controller to poll the individual drives.
Sean
-- Sean Walberg sean@ertw.com http://ertw.com/ _______________________________________________ Roundtable mailing list Roundtable@muug.mb.ca http://www.muug.mb.ca/mailman/listinfo/roundtable