Bug#620663: grub-pc hangs after upgrading lenny to squeezy

Dio Brando diobrando at bmlabs.net
Sun Apr 3 11:09:56 UTC 2011


Package: grub-pc
Version: 1.98+20100804-14
Severity: grave

Linux mcfly.bmlabs.net 2.6.32-bpo.5-amd64 #1 SMP Fri Jun 11 08:42:31 UTC 
2010 x86_64 GNU/Linux

Debian squeeze


After the grub-pc upgrade from grub legacy to grub 2.0 using the command 
upgrade-from-grub-legacy, update-grub, grub-mkconfig and all other 
commands regards grub-pc package (dpkg-reconfigure grub-pc too) 
hangs/stucks.

I have two identical server (same model) and only one have this "bug". 
The only difference in the upgrade procedure is to say no at "including 
grub-pc to grub legacy config file menu.cfg" apt question and the 
execution of upgrade-from-grub-legacy after upgrade without reboot.

Now grub-pc is correctly installed (it boot linux kernel without 
problem), but I can't install a new linux-kernel or update grub.cfg 
config file for example!

strace last part report of update-grub (grub-mkconfig) command:

[..]
stat("/sbin/mkdir", 0x7fff017e6810)     = -1 ENOENT (No such file or 
directory)
stat("/bin/mkdir", {st_mode=S_IFREG|0755, st_size=48864, ...}) = 0
stat("/bin/mkdir", {st_mode=S_IFREG|0755, st_size=48864, ...}) = 0
geteuid()                               = 0
getegid()                               = 0
getuid()                                = 0
getgid()                                = 0
access("/bin/mkdir", X_OK)              = 0
stat("/bin/mkdir", {st_mode=S_IFREG|0755, st_size=48864, ...}) = 0
geteuid()                               = 0
getegid()                               = 0
getuid()                                = 0
getgid()                                = 0
access("/bin/mkdir", R_OK)              = 0
stat("/bin/mkdir", {st_mode=S_IFREG|0755, st_size=48864, ...}) = 0
stat("/bin/mkdir", {st_mode=S_IFREG|0755, st_size=48864, ...}) = 0
geteuid()                               = 0
getegid()                               = 0
getuid()                                = 0
getgid()                                = 0
access("/bin/mkdir", X_OK)              = 0
stat("/bin/mkdir", {st_mode=S_IFREG|0755, st_size=48864, ...}) = 0
geteuid()                               = 0
getegid()                               = 0
getuid()                                = 0
getgid()                                = 0
access("/bin/mkdir", R_OK)              = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0
lseek(255, -5016, SEEK_CUR)             = 3192
clone(child_stack=0, 
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7fefc4c5d9d0) = 11811
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x441ea0, [], SA_RESTORER, 0x7fefc42d31e0}, 
{SIG_DFL, [], SA_RESTORER, 0x7fefc42d31e0}, 8) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 11811
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, 0x7fff017e64dc, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn(0xffffffffffffffff)        = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fefc42d31e0}, 
{0x441ea0, [], SA_RESTORER, 0x7fefc42d31e0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "\nif test -e ${GRUB_PREFIX}/devic"..., 8176) = 5016
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat("/boot/grub/device.map", {st_mode=S_IFREG|0664, st_size=61, ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
lseek(255, -4817, SEEK_CUR)             = 3391
clone(child_stack=0, 
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7fefc4c5d9d0) = 11812
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x444090, [], SA_RESTORER, 0x7fefc42d31e0}, 
{0x444090, [], SA_RESTORER, 0x7fefc42d31e0}, 8) = 0
close(4)                                = 0
read(3, ^C <unfinished ...>






More information about the Pkg-grub-devel mailing list