[PLD 2.x (Ac): Bug 104] New: don' t resolve dependences when running on non-installed kernel
btsadmin at pld-linux.org
btsadmin at pld-linux.org
Wed Feb 13 12:57:49 CET 2008
http://bugs.pld-linux.org/show_bug.cgi?id=104
Summary: don't resolve dependences when running on non-installed
kernel
Product: PLD 2.x (Ac)
Version: unspecified
Platform: All
OS/Version: PLD Linux
Status: NEW
Severity: major
Priority: Normal
Component: Core system
AssignedTo: bugs at pld-linux.org
ReportedBy: undefine at pld-linux.org
Estimated Hours: 0.0
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11)
Gecko/20071201 PLD/2.0 (Ac) BonEcho/2.0.0.11
Build Identifier: geninitrd-0:9000.3-1.noarch
[root at livecd ~]# uname -a
Linux livecd 2.6.15.3 #1 Tue Feb 14 18:41:00 UTC 2006 alpha EV67 PLD Linux
[root at livecd ~]# geninitrd -v -f /boot/initrd 2.6.16.60-1smp
geninitrd: Using libdir: lib
geninitrd: Using modprobe -c to get modules config
geninitrd: Using /dev/md0 as device for rootfs
geninitrd: Finding modules for device path /dev/md0
geninitrd: Finding RAID details using mdadm for rootdev=/dev/md0
modinfo: could not open /lib/modules/2.6.15.3/modules.dep
ie - modinfo try to resolve dependencies using running kernel, not
installed one. When there is no modules.dep for running kernel - it
fails.
bad workaround:
ln -sf /lib/modules/2.6.16.60-1smp/ /lib/modules/2.6.15.3
Reproducible: Always
Steps to Reproduce:
1. uninstall running kernel
2. use geninitrd
Actual Results:
[root at livecd ~]# uname -a
Linux livecd 2.6.15.3 #1 Tue Feb 14 18:41:00 UTC 2006 alpha EV67 PLD Linux
[root at livecd ~]# geninitrd -v -f /boot/initrd 2.6.16.60-1smp
geninitrd: Using libdir: lib
geninitrd: Using modprobe -c to get modules config
geninitrd: Using /dev/md0 as device for rootfs
geninitrd: Finding modules for device path /dev/md0
geninitrd: Finding RAID details using mdadm for rootdev=/dev/md0
modinfo: could not open /lib/modules/2.6.15.3/modules.dep
Expected Results:
[root at livecd ~]# geninitrd -v -f /boot/initrd-2.6.16.60-1smp.gz 2.6.16.60-1smp
geninitrd: Using libdir: lib
geninitrd: Using modprobe -c to get modules config
geninitrd: Using /dev/md0 as device for rootfs
geninitrd: Finding modules for device path /dev/md0
geninitrd: Finding RAID details using mdadm for rootdev=/dev/md0
geninitrd: Finding modules for device path /dev/sdb2
geninitrd: Finding SCSI modules using scsi_hostadapter
geninitrd: Finding modules for device path /dev/sda2
geninitrd: Finding SCSI modules using scsi_hostadapter
geninitrd: + cp /bin/initrd-busybox /tmp/initrd.IzO9TU/bin/initrd-busybox
geninitrd: Loading module [md-mod] without options.
geninitrd: Loading module [raid1] without options.
geninitrd: Loading module [scsi_mod] without options.
geninitrd: Loading module [scsi_transport_spi] without options.
geninitrd: Loading module [sym53c8xx] without options.
geninitrd: Loading module [sd_mod] without options.
geninitrd: Loading module [mbcache] without options.
geninitrd: Loading module [jbd] without options.
geninitrd: Loading module [ext3] without options.
geninitrd: Setting up mdadm...
geninitrd: + cp /sbin/initrd-mdassemble /tmp/initrd.IzO9TU/bin/mdassemble
geninitrd: echo Setting up array (/dev/md0 = /dev/sdb2 /dev/sda2)
geninitrd: + cp /dev/sdb2 /tmp/initrd.IzO9TU/dev/sdb2
geninitrd: + cp /dev/sda2 /tmp/initrd.IzO9TU/dev/sda2
geninitrd: + cp /dev/md0 /tmp/initrd.IzO9TU/dev/md0
geninitrd: Adding rootfs finding based on kernel cmdline root= option support.
geninitrd: Generating romfs image: /tmp/initrd.img-IOZjc2
geninitrd: Image size for romfs: 3072KiB (/tmp/initrd.img-IOZjc2)
geninitrd: Compressing /boot/initrd-2.6.16.60-1smp.gz
--
Configure bugmail: http://bugs.pld-linux.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.
More information about the pld-bugs
mailing list