Thanks for the trace. I think that we've finally caught something.
>From the grub-pc.log:
rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy
There is also this trace in dmesg at the same time:
[217080.308127] INFO: task grub-setup:21796 blocked for more than 120 seconds.
[217080.308136] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
this message.
[217080.308142] grub-setup D 000168a6 0 21796 21163 0x00000000
[217080.308152] f145bf2c 00000082 c2b28000 000168a6 00000000 c0844720 c0cde92c
c0844720
[217080.308167] 3b3cff87 0000c44f c0844720 c0844720 c0cde92c c0844720 c0844720
f6bef880
[217080.308181] 00000000 0000c44f c0cde680 f145bf60 c0cde680 e4c1c23c f145bf58
c058aa05
[217080.308196] Call Trace:
[217080.308220] [<c058aa05>] rwsem_down_failed_common+0x75/0x1a0
[217080.308228] [<c058ab7d>] rwsem_down_read_failed+0x1d/0x30
[217080.308236] [<c058abd7>] call_rwsem_down_read_failed+0x7/0x10
[217080.308243] [<c058a12c>] ? down_read+0x1c/0x20
[217080.308252] [<c022a10d>] sync_filesystems+0xbd/0x110
[217080.308260] [<c022a1b6>] sys_sync+0x16/0x40
[217080.308268] [<c01033ec>] syscall_call+0x7/0xb
Which would suggest that the sync call in grub-setup didn't return and
matches the 1rst ps output.
BTW I noticed that there are I/O errors on sdb
[118033.240069] Buffer I/O error on device sdb1, logical block 4096327
[118033.240084] Buffer I/O error on device sdb1, logical block 4096328
[118033.240093] Buffer I/O error on device sdb1, logical block 4096329
[118033.240101] Buffer I/O error on device sdb1, logical block 4096330
[118033.240110] Buffer I/O error on device sdb1, logical block 4096331
[118033.240119] Buffer I/O error on device sdb1, logical block 4096332
[118033.240127] Buffer I/O error on device sdb1, logical block 4096333
[118033.240136] Buffer I/O error on device sdb1, logical block 4096334
[118033.240144] Buffer I/O error on device sdb1, logical block 4096335
[118033.240526] sd 2:0:0:0: [sdb] Unhandled error code
[118033.240532] sd 2:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT
driverbyte=DRIVER_OK
[118033.240541] sd 2:0:0:0: [sdb] CDB: Read(10): 28 00 01 f4 0b 67 00 00 10 00
[118033.240561] end_request: I/O error, dev sdb, sector 32770919
but that shouldn't be related to the grub-pc upgrade since it was not
mounted at the time of the failure.
Just to confirm your setup. This is a dual boot system with windows on sda1,
linux on sda3, a data disk (which filesystem) on sdc, another unused drive on
sdb, and an external drive on sd. grub2 is installed on MBR of sda and it's not
a virtual machine ?
Is there anything else specific to your setup ?
Do you have some "boot sector virus protection" enabled in your bios ?
** Changed in: grub2 (Ubuntu)
Importance: Undecided => Medium
** Changed in: grub2 (Ubuntu)
Status: New => Confirmed
--
package grub-pc 1.98-1ubuntu4 failed to upgrade: subprocess installed
post-installation script hangs
https://bugs.launchpad.net/bugs/561374
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs