Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 4 Sep 2002 05:43:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 4 Sep 2002 05:43:21 -0400 Received: from c144049.adsl.hansenet.de ([213.39.144.49]:2308 "EHLO smaug.lan.local") by vger.kernel.org with ESMTP id ; Wed, 4 Sep 2002 05:43:18 -0400 Message-ID: X-Mailer: XFMail 1.5.2 on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT MIME-Version: 1.0 Date: Wed, 04 Sep 2002 11:47:48 +0200 (CEST) From: Florian Hinzmann To: linux-kernel@vger.kernel.org Subject: DMA problems w/ PIIX3 IDE, 2.4.20-pre4-ac2 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 7577 Lines: 205 Hi! I have problems with DMA mode at one of my boxes ( more technical details at the end of this mail ). It has one small disk (hda) and three disks bigger than 32GB. The machine does not boot with that big harddisks connected even if they are not listed in the BIOS. To circumvent this the three Maxtor disks (hdb,hdc,hdd) have jumpers set which reduces them to 4092 cylinder. I the setmax utility before to "unclip" them, but now the STROKE kernel option does this job and that works fine. But I do issue a "hdparm -d0" for each of them at bootup currently and they are running fine then. Enabling DMA with "hdparm -d1" (or not using hdparm at all) leads to errors like the following quite fast and reproducable: kernel: hdb: dma_timer_expiry: dma status == 0x60 kernel: hdb: timeout waiting for DMA kernel: hdb: timeout waiting for DMA kernel: hdb: (__ide_dma_test_irq) called while not waiting kernel: hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest } kernel: kernel: hdb: drive not ready for command Turning DMA off again stops these. I'd love to hear any experience other people have with this mainboard or even some statement if DMA is supposed to work with my setup. Technical details below. If anything is missing please say so and I will get it. Regards Florian ------------------------------------------------------------------------------- Mainboard: Asus P/I-XP55T2P4 --- part of dmesg ------------------------------------------------------------- Uniform Multi-Platform E-IDE driver Revision: 7.00alpha1 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx PIIX3: IDE controller at PCI slot 00:07.1 PIIX3: chipset revision 0 PIIX3: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xe800-0xe807, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0xe808-0xe80f, BIOS settings: hdc:DMA, hdd:DMA keyboard: Timeout - AT keyboard not present?(ed) keyboard: Timeout - AT keyboard not present?(f4) hda: Maxtor 82560A4, ATA DISK drive hdb: Maxtor 4D080H4, ATA DISK drive hdc: Maxtor 4W080H6, ATA DISK drive hdd: Maxtor 4D060H3, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: host protected area => 1 hda: 5001728 sectors (2561 MB) w/256KiB Cache, CHS=620/128/63, DMA hdb: host protected area => 1 hdb: 160086527 sectors (81964 MB) w/2048KiB Cache, CHS=9964/255/63, (U)DMA hdc: host protected area => 1 hdc: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=158816/16/63, (U)DMA hdd: host protected area => 1 hdd: 120069935 sectors (61476 MB) w/2048KiB Cache, CHS=7474/255/63, (U)DMA Partition check: hda: hda1 hda2 hdb: hdb1 hdc: hdc1 hdd: hdd1 --- part of lspci -vv --------------------------------------------------------- 00:07.1 IDE interface: Intel Corp. 82371SB PIIX3 IDE [Natoma/Triton II] (prog-if 80 [Master]) Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR-