Bug#357538: initramfs-tools: can't boot into new 2.6.15 evms system
Package: initramfs-tools
Version: 0.55b
Severity: normal
I am running a mostly testing system under a 2.4.27 kernel. I built a
2.6.15 kernel with the latest sources (2.6.15-8). kernel-package
10.036. lilo 22.6.1-7 and installed it with the latest unstable
initramfs-tools (0.55b).
When I boot the system I end up in busybox with no disk partitions
mounted. When I try to mount my root partition on a mount point, I
get "cramfs wrong magic."
I'm using evms, and I suspect it's involved in these problems. I use
lvm through it, but have no lvm packages installed.
Here is a rough transcription of the console toward the end:
------------------------------------------------
Begin: Mounting root file system.
Begin: Running /scripts/local-top
device-mapper: 4.4.0-ioctl (2005-01-12) initialised
/scripts/local-top/lvm: 36 vgchange: not found
# bug 354708 involv3s an error with that file
# and notes it's not there because a current lvm is not
# installed. I have neither an old nor a new one.
Done.
/init: 1: cannot open /dev/root: No such device or address
Begin: Running /scripts/local-premount
Done:
Usage: modprobe # several lines of instructions
# suggests something is invoking modprobe improperly
,pimt"
Cannot read /etc/fstab: No such file or dir
Done
Running /scripts/log-bottom
Running /scripts/init-bottom
mount: /root/dev on /dev/.static/dev failed
mount: Mounting /sys on /root/sys failed: no such...
mount: Mounting /proc on /root/proc failed...
Target filesysem doesn't have /sbin/init
BusyBox 1:1.01-4
-----------------------------------------
Though I am running evms now, the transition to 2.6 is particularly
delicate because under 2.6 evms must control all partitions on a
disk. Under 2.4 my root is a vanilla partition. I've edited fstab
and lilo.conf in ways I think are appropriate, but the environment in
which initramfs runs is significantly different from that in which the
ramdisk will execute. The change from devfs to udev is another
example of this.
I don't know what's going on, or even the extent to which this is an
initramfs-tools issue. I'm happy to provide more info or conduct
other experiments.
Here are some configuration snippets
--------------------- fstab -----------------------------
# I use the next line for my current 2.4 system
/dev/sda8 / ext2 defaults 1 1
# I use the line below for 2.6
#/dev/evms/newroot / ext2 defaults 1 1
# I was using devfs for 2.4, but have disabled it
# during the 2.6 transition. 2.6.15 doesn't do devfs
#devfs /dev devfs defaults 0 0
proc /proc proc defaults 0 0
none /proc/bus/usb usbfs defaults 0 0
# other partitions omitted
----------------------- lilo.conf ----------------------
prompt
default=debian
boot=/dev/sda
lba32
install=menu
map=/boot/map
# what I'm trying to use for the 2.6 kernel
image=/vmlinuz
initrd=/initrd.img
label=debian
root=/dev/evms/newroot
# working for the 2.4 kernel
image=/vmlinuz.old
label=debian-old
root=/dev/discs/disc0/part8
append="hda=ide-scsi hdb=ide-scsi"
--------------------------------------------------------
I've got 2.6 with evms running at home (built with the tools of a
couple months ago).
This system is dual-processor Athlon; one SCSI disk and some optical
drives.
My latest lilo run was triggered when I upgraded to the unstable
initramfs-tools.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable'), (40, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27adnvcd
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages initramfs-tools depends on:
ii busybox 1:1.01-4 Tiny utilities for small and embed
ii cpio 2.6-10 GNU cpio -- a program to manage ar
ii klibc-utils 1.2.2-3 small statically-linked utilities
ii udev 0.085-1 /dev/ and hotplug management daemo
initramfs-tools recommends no packages.
-- no debconf information
Reply to: