public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* UDMA problem with Maxtor 7200rpm disk
@ 2001-12-19 20:16 Jean-Francois Levesque
  2001-12-20  0:47 ` Tim Moore
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jean-Francois Levesque @ 2001-12-19 20:16 UTC (permalink / raw)
  To: linux-kernel

Hi!

I have a problem regarding my new Asus A7V266 board with VIA KT266 chipset.  Byron Stanoszek told me to ask my problem to this list so here it is :

My hard drive is a Maxtor 5T030H3 ATA DISK drive (30 gig).  The problem is that I'm not able to read more than 7 MB/sec :

[root@xyz jfl]# /sbin/hdparm -t /dev/hda

/dev/hda:
 Timing buffered disk reads:  64 MB in  9.18 seconds =  6.97 MB/sec


[root@xyz jfl]# /sbin/hdparm -d1 -X66 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 setting xfermode to 66 (UltraDMA mode2)
 using_dma    =  1 (on)
[root@xyz jfl]# /sbin/hdparm -t /dev/hda

/dev/hda:
 Timing buffered disk reads:  64 MB in  9.70 seconds =  6.60 MB/sec

[root@xyz jfl]# /sbin/hdparm /dev/hda

/dev/hda:
 multcount    = 16 (on)
 I/O support  =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  0 (off)
 keepsettings =  0 (off)
 nowerr       =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 3736/255/63, sectors = 60030432, start = 0
[root@xyz jfl]#



I also have some idebus errors.

The problem seems to be the DMA (ATA100 compatible board and disk).

Here is a part of my dmesg output (on kernel 2.4.2) :


[...]
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 89
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt8233 (rev 00) IDE UDMA100 controller on pci00:11.1
    ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:pio, hdd:pio
hda: Maxtor 5T030H3, ATA DISK drive
hdd: CD620E, ATAPI CD/DVD-ROM drive
hdd: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
hdd: set_drive_speed_status: error=0x04
ide1: Drive 1 didn't accept speed setting. Oh, well.
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 60030432 sectors (30736 MB) w/2048KiB Cache, CHS=3736/255/63, UDMA(33)
Partition check:
 hda:hda: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 14
hda: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
hda: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 14
hda: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
hda: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 14
hda: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
hda: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 14
hda: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
hda: DMA disabled
ide0: reset: success
 hda1 hda2 hda3 < hda5 hda6 hda7 hda8 hda9 >
Floppy drive(s): fd0 is 1.44M

[...]

hdd: ATAPI 5X CD-ROM drive, 240kB Cache
Uniform CD-ROM driver Revision: 3.12
es1371: version v0.27 time 20:52:56 Apr  8 2001
es1371: found chip, vendor id 0x1274 device id 0x5880 revision 0x02
PCI: Found IRQ 10 for device 00:0e.0
es1371: found es1371 rev 2 at io 0xd800 irq 10
es1371: features: joystick 0x0
ac97_codec: AC97 Audio codec, id: 0x8384:0x7608 (SigmaTel STAC9708)
hdd: irq timeout: status=0xd0 { Busy }
hdd: ATAPI reset complete
hdd: irq timeout: status=0xd0 { Busy }
hdd: ATAPI reset complete
hdd: irq timeout: status=0xd0 { Busy }
end_request: I/O error, dev 16:40 (hdd), sector 0
hdd: status timeout: status=0xd0 { Busy }
hdd: drive not ready for command
hdd: ATAPI reset complete
hdd: irq timeout: status=0xd0 { Busy }
hdd: ATAPI reset complete
es1371: unloading
es1371: version v0.27 time 20:52:56 Apr  8 2001
es1371: found chip, vendor id 0x1274 device id 0x5880 revision 0x02
PCI: Found IRQ 10 for device 00:0e.0
es1371: found es1371 rev 2 at io 0xd800 irq 10
es1371: features: joystick 0x0
ac97_codec: AC97 Audio codec, id: 0x8384:0x7608 (SigmaTel STAC9708)
hdd: irq timeout: status=0xd0 { Busy }
end_request: I/O error, dev 16:40 (hdd), sector 0
hdd: status timeout: status=0xd0 { Busy }
hdd: drive not ready for command
es1371: unloading
hdd: ATAPI reset complete
es1371: version v0.27 time 20:52:56 Apr  8 2001
es1371: found chip, vendor id 0x1274 device id 0x5880 revision 0x02
PCI: Found IRQ 10 for device 00:0e.0
es1371: found es1371 rev 2 at io 0xd800 irq 10
es1371: features: joystick 0x0
ac97_codec: AC97 Audio codec, id: 0x8384:0x7608 (SigmaTel STAC9708)
es1371: unloading
es1371: version v0.27 time 20:52:56 Apr  8 2001
es1371: found chip, vendor id 0x1274 device id 0x5880 revision 0x02
PCI: Found IRQ 10 for device 00:0e.0
es1371: found es1371 rev 2 at io 0xd800 irq 10
es1371: features: joystick 0x0
ac97_codec: AC97 Audio codec, id: 0x8384:0x7608 (SigmaTel STAC9708)
hdd: irq timeout: status=0xd0 { Busy }
hdd: ATAPI reset complete
hdd: irq timeout: status=0xd0 { Busy }
end_request: I/O error, dev 16:40 (hdd), sector 0
hdd: status timeout: status=0xd0 { Busy }
hdd: drive not ready for command
hdd: ATAPI reset complete


hda is my Maxtor 30 gig hard disk
hdd is a old IDE CDROM that was working very well but now I get a lot of errors.

IRQ problems?
DMA problems?

I use the 80-pin blue IDE cable.

I'm using kernel 2.4.2 (from RH 7.1) because when I try the 2.4.9 (from RH 7.1), I get "hda: drive not ready for command" error (when the kernel is checking for the partitions on the disk) and my system hangs (freeze) on this.  I also tried 2.4.12-ac5 (what Byron was using and it was working with his VIA chipset) and 2.4.16 (lastest stable version) but I have the exact same error (not ready for command).

Any idea?

Thank you in advance for your help!

Jean-François Lévesque
jfl@jfworld.net

PS: My disk also "freeze" my system for a few seconds (from 1/2 to maybe 3sec) while checking some data.

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: UDMA problem with Maxtor 7200rpm disk
@ 2001-12-23 21:53 Andy Furniss
  0 siblings, 0 replies; 9+ messages in thread
From: Andy Furniss @ 2001-12-23 21:53 UTC (permalink / raw)
  To: linux-kernel



>When I try to enable DMA with hdparm -d1 /dev/hda :

>ide_dmaproc: chipset supported ide_dma_timeout func only: 14
>hda: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
>hda: timeout waiting for DMA
>ide_dmaproc: chipset supported ide_dma_timeout func only: 14
>hda: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
>hda: timeout waiting for DMA
>ide_dmaproc: chipset supported ide_dma_timeout func only: 14
>hda: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
>hda: timeout waiting for DMA
>ide_dmaproc: chipset supported ide_dma_timeout func only: 14
>hda: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
>hda: DMA disabled
>ide0: reset: success

I got this when I got my 40G 5200 maxtor. I've got an old award bios & PII 
with 440bx chipset.

The solution was to turn off udma in bios my 2.2 kernel and w98 could then 
use mdma.

I noticed that when I tested with a 2.4.9 it could use udma again - even 
though it remains off (for W98 & 2.2) in bios.

Andy.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2001-12-23 21:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-19 20:16 UDMA problem with Maxtor 7200rpm disk Jean-Francois Levesque
2001-12-20  0:47 ` Tim Moore
2001-12-20  1:25   ` Jean-Francois Levesque
2001-12-20  1:28 ` GOTO Masanori
2001-12-20  1:38   ` Jean-Francois Levesque
2001-12-20  2:43     ` Jean-Francois Levesque
2001-12-20  3:18       ` Timothy Covell
2001-12-20  9:10 ` Sergey S. Kostyliov
  -- strict thread matches above, loose matches on Subject: below --
2001-12-23 21:53 Andy Furniss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox