
Date: Mon, 4 Dec 2000 12:17:55 -0500 (EST) From: Brett Delmage <brett@cfsc.ottawa.on.ca> Message-ID: <Pine.LNX.4.21.0012041156060.18205-100000@pannier.cfsc.ottawa.on.ca> Subject: slow IDE + no DMA on SuSE 7, Asus K7V with VIA chips I noticed some SuSE people's comments in the IDE driver code for VIA / AMD chipsets in the IDE driver code that I am using. I'm hoping this is a good place to start asking questions. I've already used google with no obvious results other than similar inquiries. I just installed SuSE 7 on my Athlon K7V (700 MHz), previously running RH 6.1. The IDE drive (Maxtor 7200 UDMA 66) drive performance is slow. My P2 233 laptop has 2 times faster disk transfers :-( Here's my chispet rundown: ve3jlg:~ # lspci 00:00.0 Host bridge: VIA Technologies, Inc. VT82C691 [Apollo PRO] (rev 02) 00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598 [Apollo MVP3 AGP] 00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super] (rev 22) 00:04.1 IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev 10) 00:04.2 USB Controller: VIA Technologies, Inc. VT82C586B USB (rev 10) 00:04.3 USB Controller: VIA Technologies, Inc. VT82C586B USB (rev 10) 00:04.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30) 00:09.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30) 00:0b.0 SCSI storage controller: Adaptec AHA-2930CU (rev 03) 00:0c.0 Multimedia audio controller: Creative Labs SB Live! EMU10000 (rev 07) 00:0c.1 Input device controller: Creative Labs SB Live! (rev 07) 01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 RF -------------------- I have everything tuned up that I can on my IDE interface. I would expect to get at least 16 MB/s. I'm only getting ~8 MB/s. Hmmmppph. <p>ve3jlg:~ # hdparm -v /dev/hda /dev/hda: multcount = 16 (on) I/O support = 3 (32-bit w/sync) unmaskirq = 0 (off) using_dma = 0 (off) keepsettings = 0 (off) nowerr = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry = 4982/255/63, sectors = 80041248, start = 0 <p>------------------ ve3jlg:~ # hdparm -t /dev/hda /dev/hda: Timing buffered disk reads: 64 MB in 8.18 seconds = 7.82 MB/sec <p>ve3jlg:~ # hdparm -T /dev/hda /dev/hda: Timing buffer-cache reads: 128 MB in 0.73 seconds =175.34 MB/sec Obviously, room for improvement! ---------------------- The major speed problem I think is that I cannot enable DMA without errors: <p>Dec 3 09:56:47 ve3jlg kernel: hda: dma_timer_expiry: dma status == 0x21 Dec 3 09:56:57 ve3jlg kernel: hda: timeout waiting for DMA Dec 3 09:56:57 ve3jlg kernel: ide_dmaproc: chipset supported ide_dma_timeout func only: 14 Dec 3 09:56:57 ve3jlg kernel: hda: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest } Dec 3 09:56:57 ve3jlg kernel: hda: status timeout: status=0xd0 { Busy } Dec 3 09:56:57 ve3jlg kernel: hda: drive not ready for command Dec 3 09:56:57 ve3jlg kernel: ide0: reset: success Dec 3 09:58:58 ve3jlg kernel: hda: dma_timer_expiry: dma status == 0x21 Dec 3 09:59:08 ve3jlg kernel: hda: timeout waiting for DMA Dec 3 09:59:08 ve3jlg kernel: ide_dmaproc: chipset supported ide_dma_timeout func only: 14 Dec 3 09:59:08 ve3jlg kernel: hda: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest } Dec 3 09:59:08 ve3jlg kernel: hda: status timeout: status=0xd0 { Busy } Dec 3 09:59:08 ve3jlg kernel: hda: drive not ready for command ----------------------- QUESTIONS --------- Any suggestions? Does anyone have a K7V system running well? If so, what is your transfer rate and what are you using? Is there a specific kernel upgrade/patch I should install? Also, what is the correct processor selection when compiling the kernel? Athlon or K7 CPU is not specifically mentioned. The system runs very well otherwise. I really, really didn't want to go with Big Bad Intel, because of their nasty practices like inserting privacy-invading serial numbers without telling anyone, and buggy chips. Thanks for any tips in advance. 73, Brett Ottawa, Canada