Bug#613603: grub-pc: Auto-detection of a filesystem of /dev/ad0s1a failed.
Vladimir 'φ-coder/phcoder' Serbinenko
phcoder at gmail.com
Thu Mar 24 19:32:43 UTC 2011
> /usr/sbin/grub-probe: info: opening hd0,1,1.
> /usr/sbin/grub-probe: info: the size of hd0 is 312581808.
> ufs2
> !531 Z20 ?0 L1 root at metisse:ttyp1 (-zsh) 1:43:50 [/boot/grub] #
>
Looks like memory corruption. Could you run it under valgrind?
> Running grub-mkdevicemap didn't help btw.
>
> Downgrading to 1.98+20100804-14 from Squeeze helped, i.e. it seems to be
> a regression which had been introduced after 1.98+20100804-14.
>
> I suspect a kfreebsd-only issue, user-tagging it accordingly.
>
> -- Package-specific info:
> <#part type="text/plain" disposition=attachment description="Bug script output">
>
> *********************** BEGIN /proc/mounts
> /dev/ad0s1a / ufs rw 0 0
> *********************** END /proc/mounts
>
> *********************** BEGIN /boot/grub/device.map
> (hd0) /dev/ad0
> *********************** END /boot/grub/device.map
>
> *********************** BEGIN /boot/grub/grub.cfg
> #
> # DO NOT EDIT THIS FILE
> #
> # It is automatically generated by grub-mkconfig using templates
> # from /etc/grub.d and settings from /etc/default/grub
> #
>
> ### BEGIN /etc/grub.d/00_header ###
> if [ -s $prefix/grubenv ]; then
> load_env
> fi
> set default="0"
> if [ "${prev_saved_entry}" ]; then
> set saved_entry="${prev_saved_entry}"
> save_env saved_entry
> set prev_saved_entry=
> save_env prev_saved_entry
> set boot_once=true
> fi
>
> function savedefault {
> if [ -z "${boot_once}" ]; then
> saved_entry="${chosen}"
> save_env saved_entry
> fi
> }
>
> function load_video {
> insmod vbe
> insmod vga
> insmod video_bochs
> insmod video_cirrus
> }
>
> insmod part_bsd
> insmod part_msdos
> insmod ufs2
> set root='(hd0,1,1)'
> search --no-floppy --fs-uuid --set 49c265649d15ddd7
> if loadfont /usr/share/grub/unicode.pf2 ; then
> set gfxmode=640x480
> load_video
> insmod gfxterm
> fi
> terminal_output gfxterm
> insmod part_bsd
> insmod part_msdos
> insmod ufs2
> set root='(hd0,1,1)'
> search --no-floppy --fs-uuid --set 49c265649d15ddd7
> set locale_dir=($root)/boot/grub/locale
> set lang=en
> insmod gettext
> set timeout=5
> ### END /etc/grub.d/00_header ###
>
> ### BEGIN /etc/grub.d/05_debian_theme ###
> insmod part_bsd
> insmod part_msdos
> insmod ufs2
> set root='(hd0,1,1)'
> search --no-floppy --fs-uuid --set 49c265649d15ddd7
> insmod png
> if background_image /usr/share/images/desktop-base/spacefun-grub.png; then
> set color_normal=light-gray/black
> set color_highlight=white/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_kfreebsd ###
> menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 8.1-1-686-smp' --class debian --class gnu-kfreebsd --class gnu --class os {
> insmod part_bsd
> insmod part_msdos
> insmod ufs2
> set root='(hd0,1,1)'
> search --no-floppy --fs-uuid --set 49c265649d15ddd7
> echo 'Loading kernel of FreeBSD 8.1-1-686-smp ...'
> kfreebsd /boot/kfreebsd-8.1-1-686-smp.gz
> set kFreeBSD.vfs.root.mountfrom=ufs:/dev/ad0s1a
> set kFreeBSD.vfs.root.mountfrom.options=rw
> }
> menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 8.0-1-686-smp' --class debian --class gnu-kfreebsd --class gnu --class os {
> insmod part_bsd
> insmod part_msdos
> insmod ufs2
> set root='(hd0,1,1)'
> search --no-floppy --fs-uuid --set 49c265649d15ddd7
> echo 'Loading kernel of FreeBSD 8.0-1-686-smp ...'
> kfreebsd /boot/kfreebsd-8.0-1-686-smp.gz
> set kFreeBSD.vfs.root.mountfrom=ufs:/dev/ad0s1a
> set kFreeBSD.vfs.root.mountfrom.options=rw
> }
> menuentry 'Debian GNU/kFreeBSD, with kFreeBSD 7.3-1-686-smp' --class debian --class gnu-kfreebsd --class gnu --class os {
> insmod part_bsd
> insmod part_msdos
> insmod ufs2
> set root='(hd0,1,1)'
> search --no-floppy --fs-uuid --set 49c265649d15ddd7
> echo 'Loading kernel of FreeBSD 7.3-1-686-smp ...'
> kfreebsd /boot/kfreebsd-7.3-1-686-smp.gz
> insmod part_bs;
> fi
> ### END /etc/grub.d/41_custom ###
> *********************** END /boot/grub/grub.cfg
> <#/part>
>
> -- System Information:
> Debian Release: wheezy/sid
> APT prefers unstable
> APT policy: (990, 'unstable'), (600, 'testing'), (110, 'experimental')
> Architecture: kfreebsd-i386 (i686)
>
> Kernel: kFreeBSD 8.1-1-686-smp
> Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages grub-pc depends on:
> ii cdebconf [debconf-2.0] 0.153 Debian Configuration Management Sy
> ii debconf [debconf-2.0] 1.5.38 Debian configuration management sy
> ii grub-common 1.99~rc1-2 GRand Unified Bootloader, version
> ii libc0.1 2.11.2-11 Embedded GNU C Library: Shared lib
> ii libnvpair0 8.1-4 OpenSolaris name-value pair librar
> ii libzfs0 8.1-4 FreeBSD ZFS library
> ii ucf 3.0025+nmu1 Update Configuration File: preserv
>
> grub-pc recommends no packages.
>
> Versions of packages grub-pc suggests:
> ii desktop-base 6.0.5 common files for the Debian Deskto
>
> -- Configuration Files:
> /etc/default/grub changed:
> GRUB_DEFAULT=0
> GRUB_TIMEOUT=5
> GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
> GRUB_CMDLINE_LINUX_DEFAULT="quiet"
> GRUB_CMDLINE_LINUX=""
>
>
> -- debconf information:
> grub2/kfreebsd_cmdline:
> grub2/device_map_regenerated:
> grub-pc/linux_cmdline: fillme
> * grub2/linux_cmdline:
> grub-pc/install_devices_empty: false
> * grub-pc/install_devices_failed: true
> grub-pc/chainload_from_menu.lst: true
> grub-pc/kopt_extracted: false
> * grub-pc/install_devices: /dev/ad0
> grub-pc/postrm_purge_boot_grub: false
> grub-pc/install_devices_failed_upgrade: true
> grub-pc/disk_description:
> grub2/kfreebsd_cmdline_default: quiet
> grub-pc/partition_description:
> grub-pc/install_devices_disks_changed:
> * grub2/linux_cmdline_default: quiet
> grub-pc/mixed_legacy_and_grub2: true
>
>
>
> _______________________________________________
> Pkg-grub-devel mailing list
> Pkg-grub-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-grub-devel
>
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20110324/eef228e5/attachment.pgp>
More information about the Pkg-grub-devel
mailing list