[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#478317: kernel: dma cannot be disabled by boot option



Package: kernel
Severity: normal


My problem is, that dma cannot be diabled by boot prompt options. I understand,
that a simple ide=nodma does not work, as these options only work on drivers
included in the kernel, while ide_core is a module loaded from the initrd. 
Regarding the documentation, the boot option ide_core.ide=nodma should do the 
trick. However, it didnt work on my system.

Some background information: My system had a normal harddisk and I had no
problem installing etch (netinstall) on it. Then, I replaced the hard disk with 
an ide-to-sd converter and an sd-card (a flash disk) which cant handle dma. As a 
result, I was unable to boot the system, regardless of the boot option I tried 
(nodma ide=nodma ide0=nodma hda=nodma ide_core.ide=nodma, ...). The only way to 
disable dma on boot was to add an option to /etc/modprobe.d/ide and rebuild the 
initrd:

> echo 'options ide_core options="ide=nodma"' > /etc/modprobe.d/ide
> update-initramfs -u

Obviously, this isnt possible on a non-bootable system. So, I had to put the
working harddisk in the box again, boot, build the initrd and copy it to the sd
card. After that, the system runs fine.

I think this bug has been addressed many times for woody and sarge. I also found
similar bug reports for etch, however, without solution.

#475223: How to disable dma on the netinst CD Package: debian-installer
#442333: initramfs ignores ide lernel cmd line parameters Package: live-initramfs
#284425: debian-installer: A small improvement suggestion Package: rootskel

Regards,

Juergen Bausa


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)



Reply to: