Bug#473209: More info

Robert Millan rmh at aybabtu.com
Mon Apr 7 15:10:40 UTC 2008


On Sat, Apr 05, 2008 at 04:39:22PM +0300, Sami Liedes wrote:
> I initially had the same problem with "Cannot get the real path of
> /dev/hda".

This is fixed now (will be in next upload).

> However now update-grub hangs pretty much forever, and I get messages
> like this on my kernel log:
> 
> ------------------------------------------------------------
> [4520359.961987] end_request: I/O error, dev fd0, sector 0
> [4520372.128819] end_request: I/O error, dev fd0, sector 0
> [4520384.295621] end_request: I/O error, dev fd0, sector 0
> [4520384.295633] Buffer I/O error on device fd0, logical block 0
> [4520396.461384] end_request: I/O error, dev fd0, sector 0
> [4520396.461396] Buffer I/O error on device fd0, logical block 0
> [4520408.628195] end_request: I/O error, dev fd0, sector 0
> [4520420.797716] end_request: I/O error, dev fd0, sector 0
> [4520420.797722] Buffer I/O error on device fd0, logical block 0
> [4520432.972089] end_request: I/O error, dev fd0, sector 0
> [4520432.972102] Buffer I/O error on device fd0, logical block 0
> [4520467.706750] end_request: I/O error, dev fd0, sector 0
> [4520479.878390] end_request: I/O error, dev fd0, sector 0
> [4520492.048230] end_request: I/O error, dev fd0, sector 0
> [4520492.048236] Buffer I/O error on device fd0, logical block 0
> ...
> ------------------------------------------------------------

Please could you file a separate bug for this?

> I rebuilt grub-common with debug syms and got a backtrace. The crash
> occurs in the LVM code. Curiously the crash happens when calling
> grub_lvm_scan_device("hd0,3"), not while probing for the floppy disk.
> 
> ------------------------------------------------------------
> # gdb --args grub-probe -t device fd0
> GNU gdb 6.8-debian
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu"...
> (gdb) r
> Starting program: /usr/sbin/grub-probe -t device fd0
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x000000000040589d in grub_memmove (dest=0x7fff8774e2c0, src=0x6, n=37) at /home/sliedes/rec/grub2-1.96+20080228/kern/misc.c:43
> 43              *--d = *--s;
> (gdb) bt
> #0  0x000000000040589d in grub_memmove (dest=0x7fff8774e2c0, src=0x6, n=37) at /home/sliedes/rec/grub2-1.96+20080228/kern/misc.c:43
> #1  0x000000000041f3d0 in grub_lvm_scan_device (name=0x6350c0 "hd0,3") at /home/sliedes/rec/grub2-1.96+20080228/disk/lvm.c:310
> #2  0x00000000004044a1 in iterate_partition (disk=0x635010, partition=0x7fff8774e9d0) at /home/sliedes/rec/grub2-1.96+20080228/kern/device.c:132
> #3  0x000000000041c551 in pc_partition_map_iterate (disk=0x635010, hook=0x7fff8774eb8f) at /home/sliedes/rec/grub2-1.96+20080228/partmap/pc.c:153
> #4  0x000000000040808f in grub_partition_iterate (hook=0x7fff8774eb8f) at /home/sliedes/rec/grub2-1.96+20080228/kern/partition.c:126
> #5  0x0000000000404535 in iterate_disk (disk_name=0x7fff8774eae0 "hd0") at /home/sliedes/rec/grub2-1.96+20080228/kern/device.c:101
> #6  0x0000000000401e37 in call_hook (hook=0x7fff8774eb78, drive=128) at /home/sliedes/rec/grub2-1.96+20080228/util/biosdisk.c:131
> #7  0x0000000000401e6c in grub_util_biosdisk_iterate (hook=0x7fff8774eb78) at /home/sliedes/rec/grub2-1.96+20080228/util/biosdisk.c:140
> #8  0x0000000000404985 in grub_disk_dev_iterate (hook=0x7fff8774eb78) at /home/sliedes/rec/grub2-1.96+20080228/kern/disk.c:205
> #9  0x00000000004043f4 in grub_device_iterate (hook=0x41f080 <grub_lvm_scan_device>) at /home/sliedes/rec/grub2-1.96+20080228/kern/device.c:138
> #10 0x000000000041faeb in grub_mod_init (mod=0x0) at /home/sliedes/rec/grub2-1.96+20080228/disk/lvm.c:511
> #11 0x000000000041fad3 in grub_lvm_init () at /home/sliedes/rec/grub2-1.96+20080228/disk/lvm.c:509
> #12 0x0000000000420ca0 in grub_init_all () at grub_probe_init.c:44
> #13 0x0000000000401cc1 in main (argc=4, argv=0x7fff8774ed38) at /home/sliedes/rec/grub2-1.96+20080228/util/grub-probe.c:355
> ------------------------------------------------------------

Same here.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)





More information about the Pkg-grub-devel mailing list