Hello, I have a problem disabling IDE DMA. I am trying to install Debian Sarge in to an old laptop and with DMA enabled (default) I keep getting DMA timeouts and retries from /dev/hda. The kernel image is 2.4.23-1-386 (2.4.23-1).
This is probably because I do not know how it should be done in the first place when using modular kernel and initrd. Below I will explain what I did try to do. I tried the following on lilo prompt: linux ide=nodma linux ide0=nodma linux hda=noautotune With no results. The kernel still prints when initializing IDE: hda: ..., DMA And when booting a desktop computer (where DMA works fine) from the same 2.5" hard disk "hdparm" reports that DMA is enabled for /dev/hda. Then I tried to create a custom initrd image using "mkinitrd" from "initrd-tools" (0.1.56). I noticed that the default "/sbin/init" script will try to pass the IDE options specified on the kernel command line to "ide-mod" module. However, this module has been renamed to "ide-core" so I modified "/usr/share/initrd-tools/init" accordingly (is this a bug, should the init script determine the correct module name before passing IDE options to it?). I then created the new custom initrd image using just "mkinitrd -o /boot/myinitrd.img", updated the "/initrd.img" link and ran lilo. However, this did not help at all. The DMA was still enabled. Then I added into "/etc/mkinitrd/modules" the line (also tried other variations above) ide-core ide=nodma Again created the new initrd image and installed it using lilo. But it didn't help either. -- Johannes Lehtinen <[EMAIL PROTECTED]>, http://www.iki.fi/jle/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]