Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129031 - DMA mode cannot be disabled even with ide=nodma
Summary: DMA mode cannot be disabled even with ide=nodma
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: AMD64 Other
: High normal
Assignee: Gentoo Release Team
URL: http://pastebin.com/642483
Whiteboard:
Keywords:
: 129032 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-06 07:29 UTC by Andrew D Kirch
Modified: 2007-05-10 18:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew D Kirch 2006-04-06 07:29:39 UTC
I have a Syba CF to native IDE adapter (model SD CF IDE DI) and am attempting to partition the 512MB CF card.  I ran shred on the CF card (-n 1 -z) and then cfdisk.   The card shred'd and fdisked normally.  Attempting to run mke2fs or mkreiserfs failed.  Rebooting and rerunning cfdisk shows the partition structure, however mke2fs and mkreiserfs will not execute, and any attempt to use them will exit with the error "hda:<4>hda: dma_timer_expiry: dma status == 0x21".   In the bios I then set udma to off and multiword dma to 0.  I booted the gentoo amd64 install cd (full) with the option "ide=nodma".  I am still getting the above erorrs, a log of which can be found at: http://pastebin.com/642483.  System hardware is Sempron 3100(64 bit) and Asus K8N.

This has been tested and works without error in Knoppix 4.0.2.  

Emerge -info is irrelevent as this bug occurs before inital mounting of harddrives during installation.

tested on:
install-amd64-universal-2006.0.iso  
install-x86-minimal-2006.0.iso
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-06 07:31:53 UTC
Don't refer to pastebin for any bug-related logs, ever. Makes searching for duplicates useless.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-04-06 07:32:18 UTC
*** Bug 129032 has been marked as a duplicate of this bug. ***
Comment 3 Andrew D Kirch 2006-04-06 07:37:13 UTC
From the original pastebin: (Apologies) 

hda:<4>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
 hda1 hda2 hda3
 hda:<4>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
 hda1 hda2 hda3
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
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-10 08:17:49 UTC

*** This bug has been marked as a duplicate of 125254 ***
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2006-04-10 10:54:33 UTC
I've spoken to Andrew and this isn't a dupe, it's a kernel issue. The kernel refuses to do ide=nodma on his CF adapter and barfs before Gentoo even boots up.
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-18 16:59:04 UTC
Kernel: please reassign this to release@ once it is fixed (if it isn't in 2.6.16 already) so I can leave it open until a new release is out.

Thanks
Comment 7 Joshua Schmidlkofer 2006-06-14 10:18:34 UTC
Let me just second this - even if you disable DMA, using the latest livecd - hdparm runs and re-enabled it.  It really makes booting and absolute bitch.
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2006-09-01 13:34:53 UTC
Andrew, can you verify if this is still an issue with the 2006.1 release?
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2007-05-10 18:32:27 UTC
This should be FIXED with 2007.0 but feel free to REOPEN if it is still a problem.