| View previous topic :: View next topic |
| Author |
Message |
reksav Apprentice

Joined: 09 Mar 2005 Posts: 165 Location: rochester, ny
|
Posted: Mon Dec 24, 2007 10:54 pm Post subject: hdparm cant turn on dma... [SOLVED] |
|
|
got a new harddrive for storage and hdparm doesnt seem to be able to turn on dma. gives a timer expired and device busy error at boot...
also the read outs are extremely slow (drive is 7200rpm 16mb cache)
| Code: | localhost reksav # hdparm -Tt /dev/hda
/dev/hda:
Timing cached reads: 928 MB in 2.00 seconds = 463.17 MB/sec
Timing buffered disk reads: 12 MB in 3.33 seconds = 3.61 MB/sec
|
my hdparm in /etc/conf.d... (sets dma to on for hdc and hdd, but wont for hda)
| Code: | hdc_args="-d1"
hda_args="-d1"
hdd_args="-d1"
|
| Code: | localhost reksav # hdparm /dev/hda
/dev/hda:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 38913/255/63, sectors = 625142448, start = 0
localhost reksav # hdparm /dev/hdc
/dev/hdc:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 16383/255/63, sectors = 160836480, start = 0
localhost reksav # hdparm /dev/hdd
/dev/hdd:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 19590/16/63, sectors = 19746720, start = 0
|
and finally, errors from my /var/log/dmesg
| Code: | hda: max request size: 512KiB
hda: 625142448 sectors (320072 MB) w/16384KiB Cache, CHS=38913/255/63, UDMA(100)
hda: cache flushes supported
hda:<4>hda: dma_timer_expiry: dma status == 0x61
hda: DMA timeout error
hda: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hda: DMA disabled
ide0: reset: success
hda1 |
Last edited by reksav on Tue Dec 25, 2007 11:54 am; edited 1 time in total |
|
| Back to top |
|
 |
VinzC Advocate


Joined: 17 Apr 2004 Posts: 4345 Location: Spa (Belgium)
|
Posted: Tue Dec 25, 2007 1:22 am Post subject: |
|
|
I'd say you might have an IRQ sharing problem but I'm no expert. Have you tried PATA for your chipset instead of the old ATAPI/RLL/MFM drivers? PATA sets DMA when appropriate and makes hdparm useless since it doesn't handle serial drives (PATA makes your old /dev/hd? drives appear as /dev/sd?). You might as well post the results of lspci. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root” |
|
| Back to top |
|
 |
cyrillic Watchman


Joined: 19 Feb 2003 Posts: 7301 Location: Groton, Massachusetts USA
|
Posted: Tue Dec 25, 2007 3:45 am Post subject: |
|
|
It could be a bad cable, since /dev/hdc and /dev/hdd seem to be working OK.
Or it could be a buggy cdrom drive at /dev/hdb sharing the cable with your harddrive at /dev/hda that is causing problems. |
|
| Back to top |
|
 |
reksav Apprentice

Joined: 09 Mar 2005 Posts: 165 Location: rochester, ny
|
Posted: Tue Dec 25, 2007 4:40 am Post subject: |
|
|
tried a new cable, tried without cdrom connected, even tried in other ide slot... still the same story... possible doa??
| Code: | localhost reksav # lspci
00:00.0 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.5 PIC: VIA Technologies, Inc. P4M890 I/O APIC Interrupt Controller
00:00.6 Host bridge: VIA Technologies, Inc. P4M890 Security Device
00:00.7 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:02.0 PCI bridge: VIA Technologies, Inc. P4M890 PCI to PCI Bridge Controller
00:03.0 PCI bridge: VIA Technologies, Inc. P4M890 PCI to PCI Bridge Controller
00:08.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
00:08.1 Input device controller: Creative Labs SB Audigy Game Port (rev 03)
00:08.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port
00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
02:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7600 GT] (rev a1)
|
|
|
| Back to top |
|
 |
VinzC Advocate


Joined: 17 Apr 2004 Posts: 4345 Location: Spa (Belgium)
|
Posted: Tue Dec 25, 2007 9:07 am Post subject: |
|
|
To be sure the disk is dead try it on another machine if you can. It also looks like your motherboard is SATA-capable. You might try a SATA disk if ever this one was dead. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root” |
|
| Back to top |
|
 |
reksav Apprentice

Joined: 09 Mar 2005 Posts: 165 Location: rochester, ny
|
Posted: Tue Dec 25, 2007 11:54 am Post subject: |
|
|
yep, disks dead now to deal with the hassle of trying to exchange it  |
|
| Back to top |
|
 |
VinzC Advocate


Joined: 17 Apr 2004 Posts: 4345 Location: Spa (Belgium)
|
Posted: Tue Dec 25, 2007 11:56 am Post subject: |
|
|
R.I.P.  _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root” |
|
| 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
|
|