[Yaird-devel] Bug#346134: yaird: ide-cd module not loaded by image

Moshe Yudkowsky speech at pobox.com
Thu Jan 5 22:18:22 UTC 2006


Package: yaird
Version: 0.0.12-3
Severity: normal

When using initramfs-tools, the /boot/initrd.img file that's created tries to load the ide-cd module if any ide device it encounters is a CDROM; that's on the basis of the script in /usr/share/initramfs-tools/scripts/init-bottom/udev, which is provided by the udev package.

Yaird does not load the ide-cd package and doesn't look to initramfs-tools or mkinitrd-tools for scripts. The "init" script that's part of the generated image does not attempt to load ide-cd. To get the cdrom working, I have to "modprobe ide-cd" manually. I've tried placing "ide-cd" into /etc/modules, but that doesn't help.

Here's the relevant portion of the yaird build:


> yaird: goal: mountdir, / (/etc/yaird/Default.cfg:143)
> yaird: action: insmod, /lib/modules/2.6.14-2-k7/kernel/drivers/ide/ide-core.ko {optionList=-- }
> yaird: action: insmod, /lib/modules/2.6.14-2-k7/kernel/drivers/ide/ide-generic.ko {optionList=-- }
> yaird: action: insmod, /lib/modules/2.6.14-2-k7/kernel/drivers/ide/ide-disk.ko {optionList=-- }
> yaird: hardware: completed ide0/0.0
> yaird: action: mkbdev, /dev/hda {sysname=hda }
> yaird: action: mkbdev, /dev/hda1 {sysname=hda/hda1 }
> yaird: action: insmod, /lib/modules/2.6.14-2-k7/kernel/drivers/md/md-mod.ko {optionList=-- }
> yaird: action: insmod, /lib/modules/2.6.14-2-k7/kernel/drivers/md/raid1.ko {optionList=-- }
> yaird: action: mdadm, /dev/md1 {components=ARRAY(0x89b78c8) major=9 minor=1 uuid=5842a331:676c7ce4:06417154:50dffb65 }
> yaird: action: insmod, /lib/modules/2.6.14-2-k7/kernel/fs/reiserfs/reiserfs.ko {optionList=-- }
> yaird: action: mount, /mnt {device=/dev/md1 fsType=reiserfs isRoot=1 options=-- }


Please advise if Yaird needs to change /etc/yaird/Default.cfg, or if udev needs to provide a script, or if this is a configuration problem. I realize that I could probably fix this with an appropriate entry into Default.cfg, but I can't believe that's the correct fix -- it seems far too specific.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages yaird depends on:
ii  cpio                         2.6-10      GNU cpio -- a program to manage ar
ii  dash                         0.5.3-1     The Debian Almquist Shell
ii  libc6                        2.3.5-9     GNU C Library: Shared libraries an
ii  libhtml-template-perl        2.8-1       HTML::Template : A module for usin
ii  libparse-recdescent-perl     1.94.free-1 Generates recursive-descent parser
ii  perl                         5.8.7-10    Larry Wall's Practical Extraction 

yaird recommends no packages.

-- no debconf information




More information about the Yaird-devel mailing list