Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#545675: grub-pc --configure fails on linux-image-2.6.30-1-686

1 view
Skip to first unread message

xcomm

unread,
Sep 8, 2009, 7:40:13 AM9/8/09
to
Package: grub-pc
Version: 1.97~beta2-2
Severity: normal


Dear grub-pc Maintainers,

just wanna note that it failed with linux-image-2.6.30-1-686 on unstable, but linux-image-2.6.29-2-686 worked smooth.

Don't know what changed in 2.6.30, maybe something about Resume (this is promting now) or LVM2.

The Error was regarding:

grub-pc: grub-probe: error: cannot find a device for /.

Leaving grub-pc half-configured and rendering it to have me booting it from hand via the grub-shell.

After booting linux-image-2.6.29-2-686 dpkg --configre was running without an error.

Best regards, Jan

BTW:
l /dev/mapper/
insgesamt 0
crw-rw---- 1 root root 10, 60 8. Sep 12:23 control
brw-rw---- 1 root disk 253, 1 8. Sep 12:23 vg-lv--root
brw-rw---- 1 root disk 253, 2 8. Sep 12:23 vg-lv--swap
drwxr-xr-x 2 root root 120 8. Sep 12:23 ./
brw-rw---- 1 root disk 253, 0 8. Sep 12:23 vg-lv--tmp
drwxr-xr-x 16 root root 5340 8. Sep 12:24 ../

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/vg-lv--root / ext3 rw,noatime,nodiratime,errors=remount-ro,data=ordered 0 0
/dev/mapper/vg-lv--tmp /tmp ext3 rw,nosuid,nodev,noatime,nodiratime,errors=continue,data=ordered 0 0
/dev/sda1 /boot ext3 rw,noatime,nodiratime,errors=continue,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0) /dev/sda
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
insmod lvm
insmod ext2
set root=(vg-lv-root)
search --no-floppy --fs-uuid --set 3bc6ed38-f40d-4f56-893a-c20d6b52983e
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 2cc3d817-d417-4292-90e2-1f22ed24fe4a
insmod png
if background_image /grub/moreblue-orbit-grub.png ; then
set color_normal=black/black
set color_highlight=magenta/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, Linux 2.6.30-1-686" {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 2cc3d817-d417-4292-90e2-1f22ed24fe4a
linux /vmlinuz-2.6.30-1-686 root=/dev/mapper/vg-lv--root ro quiet
initrd /initrd.img-2.6.30-1-686
}
menuentry "Debian GNU/Linux, Linux 2.6.30-1-686 (recovery mode)" {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 2cc3d817-d417-4292-90e2-1f22ed24fe4a
linux /vmlinuz-2.6.30-1-686 root=/dev/mapper/vg-lv--root ro single
initrd /initrd.img-2.6.30-1-686
}
menuentry "Debian GNU/Linux, Linux 2.6.29-2-686" {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 2cc3d817-d417-4292-90e2-1f22ed24fe4a
linux /vmlinuz-2.6.29-2-686 root=/dev/mapper/vg-lv--root ro quiet
initrd /initrd.img-2.6.29-2-686
}
menuentry "Debian GNU/Linux, Linux 2.6.29-2-686 (recovery mode)" {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 2cc3d817-d417-4292-90e2-1f22ed24fe4a
linux /vmlinuz-2.6.29-2-686 root=/dev/mapper/vg-lv--root ro single
initrd /initrd.img-2.6.29-2-686
}
menuentry "Debian GNU/Linux, Linux 2.6.26-2-xen-686" {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 2cc3d817-d417-4292-90e2-1f22ed24fe4a
linux /vmlinuz-2.6.26-2-xen-686 root=/dev/mapper/vg-lv--root ro quiet
initrd /initrd.img-2.6.26-2-xen-686
}
menuentry "Debian GNU/Linux, Linux 2.6.26-2-xen-686 (recovery mode)" {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 2cc3d817-d417-4292-90e2-1f22ed24fe4a
linux /vmlinuz-2.6.26-2-xen-686 root=/dev/mapper/vg-lv--root ro single
initrd /initrd.img-2.6.26-2-xen-686
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (900, 'unstable'), (600, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-2-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-pc depends on:
ii debconf [debconf-2.0] 1.5.27 Debian configuration management sy
ii grub-common 1.97~beta2-2 GRand Unified Bootloader, version
ii libc6 2.9-26 GNU C Library: Shared libraries
ii ucf 3.0021 Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
ii desktop-base 5.0.5 common files for the Debian Deskto
ii genisoimage 9:1.1.9-1 Creates ISO-9660 CD-ROM filesystem

-- debconf-show failed

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Jan Rasche

unread,
Sep 9, 2009, 4:50:11 AM9/9/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Dear grub-pc Maintainers,

The 2.6.30 issue seems to be related to changes in LVM2.

l /dev/mapper
insgesamt 0
crw-rw---- 1 root root 10, 60 9. Sep 10:12 control
lrwxrwxrwx 1 root root 7 9. Sep 10:12 vg-lv--root -> ../dm-0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
brw-rw---- 1 root disk 253, 2 9. Sep 10:13 vg-lv--swap
drwxr-xr-x 2 root root 120 9. Sep 10:13 ./
brw-rw---- 1 root disk 253, 1 9. Sep 10:13 vg-lv--tmp
drwxr-xr-x 16 root root 5300 9. Sep 10:14 ../

(Sorry, my BTW post was the directory /etc/mapper under 2.6.29.)

Regards, Jan


- --
- --

"Eigentlich bin ich ganz anders...
...nur komme ich so selten dazu."

* [http://en.wikipedia.org/wiki/Ödön_von_Horváth Ödön von Horváth]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqnZWUACgkQZ4Vo3ep5lKT1ZgCeJPUbFORTQDWKTWIty9DeMOS4
+ecAoMFUgzmSGQdT/Mmyg1RyJ0J+I2yg
=yUgU
-----END PGP SIGNATURE-----

Jan Rasche

unread,
Sep 9, 2009, 6:10:07 AM9/9/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi Grub-pc Maintainers,

I had found Felix Zielcke's post here:

http://www.mail-archive.com/debian-b...@lists.debian.org/msg686387.html

<cite>

Check with `ls -l /dev/mapper/' if the files there are real devices or
symlinks to /dev/dm-?
If they're symlinks then this is #542435 which is actually caused by an
upstream dmsetup change: #542422
Though that has been fixed now but it seems like for some people just
upgrading the package and rebooting doestn't solve the problem.
In that case run `echo change > /sys/block/dm-?/uevent'
Replace the ? with every /dev/dm-* device you have.

</cite>

But the issue is not solved this way (unstable is freshest - I did
what above suggested) or maybe not related to dmsetup.

l /dev/mapper/
insgesamt 0
crw-rw---- 1 root root 10, 60 9. Sep 11:36 control
lrwxrwxrwx 1 root root 7 9. Sep 11:36 vg-lv--root -> ../dm-0
brw-rw---- 1 root disk 253, 2 9. Sep 11:36 vg-lv--swap
drwxr-xr-x 2 root root 120 9. Sep 11:36 ./
brw-rw---- 1 root disk 253, 1 9. Sep 11:36 vg-lv--tmp
drwxr-xr-x 16 root root 5300 9. Sep 11:37 ../

vg-lv--root -> ../dm-0

is still linked this way, but only under 2.6.30 not under 2.6.29, so
it seems somehow Kernel related.

Best regard, Jan

- --
- --

"Eigentlich bin ich ganz anders...
...nur komme ich so selten dazu."

* [http://en.wikipedia.org/wiki/Ödön_von_Horváth Ödön von Horváth]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqne/4ACgkQZ4Vo3ep5lKRtSgCfQEzFqo/S5LlBfIz7GNiK2lfC
q7MAnizCW9iN+Pu2dovr8GFtQpRuwhwl
=OI/M
-----END PGP SIGNATURE-----

Felix Zielcke

unread,
Sep 9, 2009, 6:20:06 AM9/9/09
to

Oh that gives me an idea I totally didn't think about with the other
reports.
Your initrd maybe was created with that buggy dmsetup udev rule instead
of the fixed one.
`update-initramfs -c -t -k all' and a reboot should fix this if that's
the case.


--
Felix Zielcke
Proud Debian Maintainer

Jan Rasche

unread,
Sep 9, 2009, 6:40:12 AM9/9/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Felix,

You are great! :-)

The new initrd cleaned the issue.

l /dev/mapper/
insgesamt 0
crw-rw---- 1 root root 10, 60 9. Sep 12:14 control
brw-rw---- 1 root root 253, 0 9. Sep 12:14 vg-lv--root
brw-rw---- 1 root disk 253, 2 9. Sep 12:14 vg-lv--swap
drwxr-xr-x 2 root root 120 9. Sep 12:14 ./
brw-rw---- 1 root disk 253, 1 9. Sep 12:14 vg-lv--tmp
drwxr-xr-x 16 root root 5300 9. Sep 12:15 ../

uname -a
Linux xcomm 2.6.30-1-686 #1 SMP Sat Aug 15 19:11:58 UTC 2009 i686
GNU/Linux

Best regards, Jan

- --
- --

"Eigentlich bin ich ganz anders...
...nur komme ich so selten dazu."

* [http://en.wikipedia.org/wiki/Ödön_von_Horváth Ödön von Horváth]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqngYcACgkQZ4Vo3ep5lKTH2gCeNp4UJ0taTWDhrlfVk3lKrnKT
fgEAnitZ83ZWY45GH3VvFq+U9W7mcjxG
=/d9c
-----END PGP SIGNATURE-----

0 new messages