Bug#765540: missing symbol

Ivan Sergio Borgonovo ivan.s.b at gmail.com
Thu Oct 16 10:25:25 UTC 2014



On 10/16/2014 10:27 AM, Colin Watson wrote:
> On Thu, Oct 16, 2014 at 04:14:50AM +0200, Ivan Sergio Borgonovo wrote:
>> after upgrading grub from 2.00-22 -> 2.02~beta2-14 I was left in rescue
>> grub console with an error about missing symbol (something related to
>> color).
> 
> This almost certainly means that your system is misconfigured and is
> installing GRUB to somewhere that doesn't correspond to where your
> system actually boots from, resulting in the core image and modules
> being incompatible.  Please post the output of:

I checked pre and post upgrade and debconf-show grub-pc is identical.
I didn't reboot the box, I just updated the package again, run what you
asked and downgrade grub again.

If there was something wrong with the configuration I'd guess just
downgrading wouldn't solve the problem.

This is the first grub upgrade that has been made on this box and
nothing was changed from installation.

As you can see it runs on a RAID1. There are just 2 partition: / and swap.
I can spot a difference between this non booting box and a box that boot:
GRUB_CMDLINE_LINUX_DEFAULT="quiet" # not booting
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.dpm=1" # booting

These are 2 very different machine in terms of partition layout etc...
still the message was related to "color" that make me think "splash"
could be an interesting difference.

Sorry if I didn't take note about the exact error. If you need the exact
missing symbol I'll upgrade again and reboot the box ASAP (a couple of
days).

thanks

>   debconf-show grub-pc

  grub-pc/mixed_legacy_and_grub2: true
* grub2/linux_cmdline_default: quiet
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/kopt_extracted: false
  grub-pc/timeout: 1
  grub-pc/hidden_timeout: false
  grub2/kfreebsd_cmdline_default: quiet
  grub-pc/install_devices_empty: false
* grub2/linux_cmdline:
  grub2/device_map_regenerated:
  grub-pc/install_devices_failed: false
  grub-pc/disk_description:
  grub-pc/chainload_from_menu.lst: true
  grub-pc/partition_description:
  grub2/kfreebsd_cmdline:
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/install_devices_disks_changed:
* grub-pc/install_devices:
/dev/disk/by-id/ata-WDC_WD20EZRX-00D8PB0_WD-WMC4M0855797

>   cat /proc/mounts
rootfs / rootfs rw 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs rw,relatime,size=10240k,nr_inodes=250868,mode=755 0 0
devpts /dev/pts devpts
rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,relatime,size=405044k,mode=755 0 0
/dev/disk/by-uuid/d823f9f2-691b-4124-8475-e0b38ebeda20 / ext4
rw,relatime,errors=remount-ro,data=ordered 0 0
securityfs /sys/kernel/security securityfs
rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,mode=755 0 0
cgroup /sys/fs/cgroup/systemd cgroup
rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd
0 0
pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
cgroup /sys/fs/cgroup/cpuset cgroup
rw,nosuid,nodev,noexec,relatime,cpuset,clone_children 0 0
cgroup /sys/fs/cgroup/cpu,cpuacct cgroup
rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0
cgroup /sys/fs/cgroup/devices cgroup
rw,nosuid,nodev,noexec,relatime,devices 0 0
cgroup /sys/fs/cgroup/freezer cgroup
rw,nosuid,nodev,noexec,relatime,freezer 0 0
cgroup /sys/fs/cgroup/net_cls,net_prio cgroup
rw,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
cgroup /sys/fs/cgroup/perf_event cgroup
rw,nosuid,nodev,noexec,relatime,perf_event 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs
rw,relatime,fd=21,pgrp=1,timeout=300,minproto=5,maxproto=5,direct 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,relatime 0 0
mqueue /dev/mqueue mqueue rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
tmpfs /run/user/1000 tmpfs
rw,nosuid,nodev,relatime,size=202524k,mode=700,uid=1000,gid=1000 0 0



>   ls -l /dev/disk/by-id/
lrwxrwxrwx 1 root root  9 Oct 16 04:06
ata-WDC_WD20EZRX-00D8PB0_WD-WMC4M0755186 -> ../../sda
lrwxrwxrwx 1 root root 10 Oct 16 04:06
ata-WDC_WD20EZRX-00D8PB0_WD-WMC4M0755186-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 16 04:06
ata-WDC_WD20EZRX-00D8PB0_WD-WMC4M0755186-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Oct 16 04:06
ata-WDC_WD20EZRX-00D8PB0_WD-WMC4M0755186-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 Oct 16 04:06
ata-WDC_WD20EZRX-00D8PB0_WD-WMC4M0855797 -> ../../sdb
lrwxrwxrwx 1 root root 10 Oct 16 04:06
ata-WDC_WD20EZRX-00D8PB0_WD-WMC4M0855797-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Oct 16 04:06
ata-WDC_WD20EZRX-00D8PB0_WD-WMC4M0855797-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Oct 16 04:06
ata-WDC_WD20EZRX-00D8PB0_WD-WMC4M0855797-part3 -> ../../sdb3
lrwxrwxrwx 1 root root  9 Oct 16 04:06 md-name-kerberos:0 -> ../../md0
lrwxrwxrwx 1 root root  9 Oct 16 04:06 md-name-kerberos:1 -> ../../md1
lrwxrwxrwx 1 root root  9 Oct 16 04:06
md-uuid-c38629be:44b7139d:3be7b954:8121bf9f -> ../../md1
lrwxrwxrwx 1 root root  9 Oct 16 04:06
md-uuid-f6cbb5e7:f5bb5e0c:48bf2fe2:7e0cde66 -> ../../md0
lrwxrwxrwx 1 root root  9 Oct 16 04:06 wwn-0x50014ee003a4a179 -> ../../sda
lrwxrwxrwx 1 root root 10 Oct 16 04:06 wwn-0x50014ee003a4a179-part1 ->
../../sda1
lrwxrwxrwx 1 root root 10 Oct 16 04:06 wwn-0x50014ee003a4a179-part2 ->
../../sda2
lrwxrwxrwx 1 root root 10 Oct 16 04:06 wwn-0x50014ee003a4a179-part3 ->
../../sda3
lrwxrwxrwx 1 root root  9 Oct 16 04:06 wwn-0x50014ee0ae4f2d64 -> ../../sdb
lrwxrwxrwx 1 root root 10 Oct 16 04:06 wwn-0x50014ee0ae4f2d64-part1 ->
../../sdb1
lrwxrwxrwx 1 root root 10 Oct 16 04:06 wwn-0x50014ee0ae4f2d64-part2 ->
../../sdb2
lrwxrwxrwx 1 root root 10 Oct 16 04:06 wwn-0x50014ee0ae4f2d64-part3 ->
../../sdb3



> Thanks,
> 

-- 
Ivan Sergio Borgonovo
http://www.webthatworks.it



More information about the Pkg-grub-devel mailing list