Re: Bug report: os-prober attempts to mount a logical partition
On 05/05/13 00:35, Barry Jackson wrote:
> os-prober should not be trying to mount a logical partition, can it be
> fixed so it does not attempt to?
I think you mean the (msdos) extended partition (often numbered sda2).
Logical partitions are numbered from sda5 and up.
I agree it is not ideal to try to mount that.
The hang does seem rather like a kernel bug though (ext2), in a
non-Debian kernel:
> 1. In kernel 3.3.8-desktop-2.mga2, os-prober (1.57-6) shows the bug
> (probing a logical partition), and the kernel's mount call hangs.
> [ 2036.520345] INFO: task mount:22332 blocked for more than 120 seconds.
> [ 2036.520345] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
> disables this message.
> [ 2036.520346] mount D ffffffff8160c1c0 0 22332 22325
> 0x00000004
> [ 2036.520348] ffff88042bbd3c68 0000000000000082 ffff88042bbd3c18
> ffff88042f028de0
> [ 2036.520350] ffff880416bd0000 ffff88042bbd3fd8 ffff88042bbd3fd8
> ffff88042bbd3fd8
> [ 2036.520352] ffff88042d972d20 ffff880416bd0000 ffff88042bbd3cc8
> ffff880428000400
> [ 2036.520354] Call Trace:
> [ 2036.520355] [<ffffffff8144fe9f>] schedule+0x3f/0x60
> [ 2036.520357] [<ffffffff8144ecea>] __mutex_lock_slowpath+0xca/0x140
> [ 2036.520359] [<ffffffff8144e93a>] mutex_lock+0x2a/0x50
> [ 2036.520360] [<ffffffff811601ef>] mount_bdev+0x7f/0x200
> [ 2036.520362] [<ffffffff811d80b0>] ? ext2_error+0x130/0x130
> [ 2036.520364] [<ffffffff811526bd>] ? __kmalloc_track_caller+0x13d/0x190
> [ 2036.520365] [<ffffffff811d6a35>] ext2_mount+0x15/0x20
> [ 2036.520367] [<ffffffff81161103>] mount_fs+0x43/0x1b0
> [ 2036.520369] [<ffffffff81126710>] ? __alloc_percpu+0x10/0x20
> [ 2036.520370] [<ffffffff8117ac92>] vfs_kern_mount+0x72/0x110
> [ 2036.520372] [<ffffffff8117b4f4>] do_kern_mount+0x54/0x110
> [ 2036.520373] [<ffffffff8117cce4>] do_mount+0x1a4/0x850
> [ 2036.520375] [<ffffffff81120bab>] ? memdup_user+0x4b/0x90
> [ 2036.520376] [<ffffffff81120c4b>] ? strndup_user+0x5b/0x80
> [ 2036.520378] [<ffffffff8117d4d0>] sys_mount+0x90/0xe0
> [ 2036.520379] [<ffffffff81458e79>] system_call_fastpath+0x16/0x1b
Regards,
--
Steven Chamberlain
steven@pyro.eu.org
Reply to: