I’m trying to use debian on a compact flash card, but keep running into dma problems. I’m surprised this is such a pain in the neck. This looks helpful though:

http://www.debianhelp.org/node/5042

I run into the same problem with pfsense.

The new /etc/mkinitrd/modules file:

modprobe -k  tulip
modprobe -k  sis900
modprobe -k  vesafb > /dev/null 2>&1
modprobe -k  fbcon 2> /dev/null
modprobe -k  unix 2> /dev/null
modprobe -k  pdc202xx_new > /dev/null 2>&1
modprobe -k  aec62xx > /dev/null 2>&1
modprobe -k  alim15x3 > /dev/null 2>&1
modprobe -k  amd74xx > /dev/null 2>&1
modprobe -k  atiixp > /dev/null 2>&1
modprobe -k  cmd64x > /dev/null 2>&1
modprobe -k  cs5520 > /dev/null 2>&1
modprobe -k  cs5530 > /dev/null 2>&1
modprobe -k  cy82c693 > /dev/null 2>&1
modprobe -k  generic > /dev/null 2>&1
modprobe -k  hpt34x > /dev/null 2>&1
modprobe -k  hpt366 > /dev/null 2>&1
modprobe -k  ns87415 > /dev/null 2>&1
modprobe -k  opti621 > /dev/null 2>&1
modprobe -k  pdc202xx_old > /dev/null 2>&1
modprobe -k  piix > /dev/null 2>&1
modprobe -k  rz1000 > /dev/null 2>&1
modprobe -k  sc1200 > /dev/null 2>&1
modprobe -k  serverworks > /dev/null 2>&1
modprobe -k  siimage > /dev/null 2>&1
modprobe -k  sis5513 > /dev/null 2>&1
modprobe -k  slc90e66 > /dev/null 2>&1
modprobe -k  triflex > /dev/null 2>&1
modprobe -k  trm290 > /dev/null 2>&1
modprobe -k  via82cxxx > /dev/null 2>&1
modprobe -k  ide-generic
modprobe -k  ide-disk

The original /etc/mkinitrd/modules file:

modprobe -k  loop
modprobe -k  ext3
modprobe -k  jbd
modprobe -k  ide-generic
modprobe -k  ide-disk
modprobe -k  ide-scsi
modprobe -k  ide-cd
modprobe -k  ehci-hcd
modprobe -k  ohci-hcd
modprobe -k  uhci-hcd
modprobe -k  sd-mod
modprobe -k  usb-storage
modprobe -k  8139too
modprobe -k  mii
modprobe -k  af-packet
modprobe -k  unix
modprobe -k  ds
modprobe -k  yenta-socket
modprobe -k  vesafb > /dev/null 2>&1
modprobe -k  fbcon 2> /dev/null
modprobe -k  unix 2> /dev/null

Interesting. By following the setup from the original initrd, I was able to avoid the dma issue

mount -t cramfs /boot/initrd.img-2.4.27-3-686 /mnt/initrd -o loop

(initrd archive at debian.org)

The original debian image is from Hacom. Their server is really slow so I’ll offer the images that I altered here when they are ready .

Actually, the modules lists above don’t need the “modprobe -k”. Here’s what I used to recreate the initrd.img:

loop
ext3
jbd
ide-generic
ide-disk
ide-scsi
ide-cd
ehci-hcd
ohci-hcd
uhci-hcd
sd-mod
usb-storage
mii
unix
fbcon 2> /dev/null
unix 2> /dev/null

In the future, I plan to buy this compact flash card for use as a hard drive.