On Tue, 05 Apr 2005 11:28:22 -0700, Steve Langasek wrote:
> tags 291386 unreproducible moreinfo
> thanks
> 
> Hi Eric,
> 
> I've tried to pin down this bug, but I find that the current version of
> initrd-tools builds correct (matching) initrds whether or not the lvm10
> package is installed.  Is it possible that the broken initrd was built with
> an old version of initrd-tools, or was somehow built on a system that did
> not have lvm2 installed?  Can you still recreate this broken initrd problem
> if you install lvm10 on the system?  What version of initrd-tools do you
> currently have installed?
> 
> Thanks,
> -- 
> Steve Langasek
> postmodern programmer

Hi,

  It does occur all the same for me with initrd-tools 0.1.77...

  Do you have the root filesystem on lvm2 ?

  I attach the output of "diff -rub /mnt/initrd1 /mnt/initrd2",
  with on /mnt/initrd1 a mount of the initrd without lvm10,
  and on /mnt/initrd2 a mount of the initrd with lvm10

  I also verified that the initrd with lvm10 still does not boot my box 
properly...

Regards.
 
-- 
  Eric Deplagne
Only in /mnt/initrd1/bin: mkdir
Only in /mnt/initrd1/bin2: mkdir
diff: /mnt/initrd1/dev/cciss: No such file or directory
diff: /mnt/initrd2/dev/cciss: No such file or directory
File /mnt/initrd1/dev/console is a character special file while file 
/mnt/initrd2/dev/console is a character special file
diff: /mnt/initrd1/dev/ida: No such file or directory
diff: /mnt/initrd2/dev/ida: No such file or directory
diff: /mnt/initrd1/dev/ide: No such file or directory
diff: /mnt/initrd2/dev/ide: No such file or directory
Only in /mnt/initrd2/dev: lvm
diff: /mnt/initrd1/dev/mapper: No such file or directory
diff: /mnt/initrd2/dev/mapper: No such file or directory
diff: /mnt/initrd1/dev/md: No such file or directory
diff: /mnt/initrd2/dev/md: No such file or directory
File /mnt/initrd1/dev/null is a character special file while file 
/mnt/initrd2/dev/null is a character special file
diff: /mnt/initrd1/dev/scsi: No such file or directory
diff: /mnt/initrd2/dev/scsi: No such file or directory
diff: /mnt/initrd1/dev/vg: No such file or directory
diff: /mnt/initrd2/dev/vg: No such file or directory
Only in /mnt/initrd1/etc: lvm
Only in /mnt/initrd1/lib: libdevmapper.so.1.01
Only in /mnt/initrd1/lib: libdl.so.2
Only in /mnt/initrd2/lib: liblvm-10.so.1
Only in /mnt/initrd2/lib: lvm-10
Only in /mnt/initrd1/lib: lvm-200
diff -rub /mnt/initrd1/loadmodules /mnt/initrd2/loadmodules
--- /mnt/initrd1/loadmodules    1970-01-01 01:00:00.000000000 +0100
+++ /mnt/initrd2/loadmodules    1970-01-01 01:00:00.000000000 +0100
@@ -29,4 +29,4 @@
 modprobe -k  via82cxxx > /dev/null 2>&1
 modprobe -k  ide-detect
 modprobe -k  ide-disk
-modprobe -k  dm-mod
+modprobe -k  lvm-mod
Only in /mnt/initrd2/sbin: vgscan
diff -rub /mnt/initrd1/script /mnt/initrd2/script
--- /mnt/initrd1/script 1970-01-01 01:00:00.000000000 +0100
+++ /mnt/initrd2/script 1970-01-01 01:00:00.000000000 +0100
@@ -1,16 +1,7 @@
 ROOT=/dev/mapper/vg-root
 unload_unused_ide 'yes' pdc202xx_new adma100 aec62xx alim15x3 amd74xx atiixp 
cmd640 cmd64x cs5530 cy82c693 generic hpt34x hpt366 ns87415 opti621 
pdc202xx_old piix rz1000 sc1200 serverworks siimage sis5513 slc90e66 triflex 
trm290 via82cxxx
-mkdir /devfs/vg
-mount_tmpfs /var
-if [ -f /etc/lvm/lvm.conf ]; then
-cat /etc/lvm/lvm.conf > /var/lvm.conf
-fi
-mount_tmpfs /etc/lvm
-if [ -f /var/lvm.conf ]; then
-cat /var/lvm.conf > /etc/lvm/lvm.conf
-fi
-mount -nt devfs devfs /dev
+[ -c /dev/lvm ] || mknod /dev/lvm c 109 0
+mount_tmpfs /etc
+vgscan
 vgchange -a y vg
-umount /dev
-umount -n /var
-umount -n /etc/lvm
+umount -n /etc

Attachment: signature.asc
Description: Digital signature

Reply via email to