Dma Timeout Error Status 0x58
Case and Cooling Fetish CPU & Motherboard Technologia Mobile Computing Outpost Networking Matrix Other Hardware Agora Classifieds Ars DIY Forum (Name TBD!) Operating Systems & Software Battlefront Microsoft OS & Software Colloquium Linux Kung Fu Windows Technical Mojo Distributed Computing Arcana Macintoshian Achaia Programmer's Symposium The Server Room Ars Lykaion Gaming, Extra Strength Caplets The Lounge The Soap Box The Boardroom The Observatory Ars Help & Feedback Ars Subscription Member Areas Image Galleries HDD DMA Timeouts 7 posts scube Ars Scholae Palatinae Registered: Sep 24, 2000Posts: 1026 Posted: Wed Dec 07, 2005 11:36 am I just installed a new Segate 250GB IDE HDD into my computer which runs Debian 3.1. It started generating DMA timeout messages almost right away.Here are the relavant messages from dmesg, including the DMA timeout errors: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: IDE controller at PCI slot 0000:00:07.1 VP_IDE: chipset revision 6 VP_IDE: not 100% native mode: will probe irqs later VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:07.1 ide0: BM-DMA at 0x9400-0x9407, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0x9408-0x940f, BIOS settings: hdc:DMA, hdd:DMA hda: HDS722580VLAT20, ATA DISK drive hdb: ST3250823A, ATA DISK drive Using anticipatory io scheduler ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hda: max request size: 1024KiB hda: 160836480 sectors (82348 MB) w/1794KiB Cache, CHS=16383/255/63, UDMA(100) /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 < p5 p6 p7 > hdb: max request size: 1024KiB hdb: 488397168 sectors (250059 MB) w/8192KiB Cache, CHS=30401/255/63, UDMA(100) . .
Sat, 3 Jul 2004 14:02:57 -0400 Message-id: <[🔎]20040703180257.GA30885@nerdnetworks.org> Hello - The reason I'm submitting this to the Debian list is because this issue seems to be related to whatever kernel options Debian gives me, or perhaps the specific 2.4 version that Debian installs. In short, when I boot Red Hat 9 on this system, also using a 2.4 kernel, I don't seem to have this problem. The problem I'm referring to is basically this: on my Dell Latitude LS laptop, when I reboot the system, it is unable to enable dma on its hard drive. However after any power down/power up cycle, it has no problem doing so. The drive is an IBM, and I've used their drive fitness test tool, which tells me the http://arstechnica.com/civis/viewtopic.php?t=341579 drive is fine. I also installed smartmontools and had it check the S.M.A.R.T. status of the drive, and it checked out as well. When the system is warm booting, I get these errors when it tries to enable dma (pulled from dmesg so you can see context): ------ Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx PIIX4: IDE controller at PCI slot 00:07.1 PIIX4: chipset https://lists.debian.org/debian-user/2004/07/msg00345.html revision 1 PIIX4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xfcd0-0xfcd7, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xfcd8-0xfcdf, BIOS settings: hdc:pio, hdd:pio hda: C/H/S=0/0/0 from BIOS ignored hda: IBM-DJSA-210, ATA DISK drive blk: queue c0398c60, I/O limit 4095Mb (mask 0xffffffff) ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hda: attached ide-disk driver. apm: get_event: Interface not connected hda: 19640880 sectors (10056 MB) w/384KiB Cache, CHS=19485/16/63, UDMA(33) Partition check: hda:<4>hda: dma_timer_expiry: dma status == 0x21 hda: error waiting for DMA hda: dma timeout retry: status=0x58 { DriveReady SeekComplete DataRequest } [PTBL] [1222/255/63] hda1 hda2 <<4>hda: dma_timer_expiry: dma status == 0x21 hda: error waiting for DMA hda: dma timeout retry: status=0x58 { DriveReady SeekComplete DataRequest } hda5 > hda: dma_timer_expiry: dma status == 0x21 hda: error waiting for DMA hda: dma timeout retry: status=0x58 { DriveReady SeekComplete DataRequest } hda: dma_timer_expiry: dma status == 0x21 hda: error waiting for DMA hda: dma timeout retry: status=0x58 { DriveReady SeekComplete DataRequest } ------ I get the same errors if I try to manually enable dma with hdparm. If I just check drive status with hdparm, it indicates dma is off: ------ /dev/hda: multcount = 16 (on) IO_support = 0 (default 16-bit) unmaskirq = 0 (off) using_dma = 0 (off) keepsettings = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry =
hours Gentoo Forums Forum Index Kernel & https://forums.gentoo.org/viewtopic-t-436479-start-0.html Hardware View previous topic :: View next topic Author Message gourangaTux's lil' helperJoined: 05 Aug 2005Posts: 113 Posted: Wed Feb 22, 2006 12:35 pm http://linux.kernel.narkive.com/MbFHHZv7/dma-timeout-error Post subject: Harddisk Problem Dmesg sais this (see code) Anyone any id what it means? DMA works sometimes, but now its off. It's very dma timeout strange, something kills DMA. Code: ide: failed opcode was: unknown hda: dma_timer_expiry: dma status == 0x21 hda: DMA timeout error hda: dma timeout error: status=0x50 { DriveReady SeekComplete } ide: failed opcode was: unknown hda: task_in_intr: status=0x51 { DriveReady SeekComplete Error } hda: task_in_intr: error=0x04 { DriveStatusError } ide: failed dma timeout error opcode was: unknown hda: task_in_intr: status=0x51 { DriveReady SeekComplete Error } hda: task_in_intr: error=0x04 { DriveStatusError } ide: failed opcode was: unknown hda: task_in_intr: status=0x51 { DriveReady SeekComplete Error } hda: task_in_intr: error=0x04 { DriveStatusError } ide: failed opcode was: unknown hda: task_in_intr: status=0x51 { DriveReady SeekComplete Error } hda: task_in_intr: error=0x04 { DriveStatusError } ide: failed opcode was: unknown ide0: reset: success hda: dma_timer_expiry: dma status == 0x21 hda: DMA timeout error hda: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest } ide: failed opcode was: unknown hda: dma_timer_expiry: dma status == 0x21 hda: DMA timeout error hda: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest } ide: failed opcode was: unknown hda: dma_timer_expiry: dma status == 0x21 hda: DMA timeout error hda: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest } Code: root@genserv everything # hdparm -d /dev/hda4 /dev/hda4: using_dma = 0
boot:hdb: dma_timer_expiry: dma status == 0x41hdb: DMA timeout errorhdb: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }hdb: drive not ready for commandhdb: dma_timer_expiry: dma status == 0x41hdb: DMA timeout errorhdb: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }hdb: drive not ready for commandAny ideas?Thanks,A.-To unsubscribe from this list: send the line "unsubscribe linux-kernel" inthe body of a message to ***@vger.kernel.orgMore majordomo info at http://vger.kernel.org/majordomo-info.htmlPlease read the FAQ at http://www.tux.org/lkml/ Bartlomiej Zolnierkiewicz 2004-10-02 16:50:11 UTC PermalinkRaw Message Post by Adam ShermanI have a VIA M6000 board with an ATA CompactFlash adaptor containing a512MB SanDisk card.hdb: dma_timer_expiry: dma status == 0x41hdb: DMA timeout errorhdb: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }hdb: drive not ready for commandhdb: dma_timer_expiry: dma status == 0x41hdb: DMA timeout errorhdb: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest }hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }hdb: drive not ready for commandAny ideas?If this is a new CF capable of DMA but CF-to-IDE adapter doesn't supportDMA (most don't) then "ide=nodma" kernel command line parameter shoulddo the job. It might be also bug in via82cxxx host driver.Maybe DMA should be off by default for CF but it requires fixing almostevery IDE host driver and why punish good hardware.-To unsubscribe from this list: send the line "unsubscribe linux-kernel" inthe body of a message to ***@vger.kernel.orgMore majordomo info at http://vger.kernel.org/majordomo-info.htmlPlease read the FAQ at http://www.tux.org/lkml/ Adam Sherman 2004-10-02 17:40:08 UTC PermalinkRaw Message Post by Bartlomiej ZolnierkiewiczPost by Adam ShermanI have a VIA M6000 board with an ATA CompactFlash adaptor containing a512MB SanDisk card.hdb: dma_timer_expiry: dma status == 0x41hd