Skip to contentSkip to conversation

BUG: sleeping function called during table_load()

DISCUSSION Applied Hannes Reinecke 4 participants 6 messages Mar 1, 2013 – Apr 9, 2013 Device mapper

lore
Share & tools
lore
#0 lore raw

Hi all,

during booting 3.8.0 I hit this:

BUG: sleeping function called from invalid context at kernel/rcutree.c:2208
in_atomic(): 1, irqs_disabled(): 0, pid: 1976, name: multipath
Pid: 1976, comm: multipath Not tainted 3.8.0-default+ #18
Call Trace:
 [<ffffffff81078289>] __might_sleep+0xd9/0x100
 [<ffffffff810e2f9c>] synchronize_sched+0x2c/0x80
 [<ffffffff812e496f>] blk_queue_bypass_start+0x7f/0x90
 [<ffffffff812fa8bd>] blkcg_activate_policy+0x8d/0x290
 [<ffffffff812fef0f>] cfq_init_queue+0x6f/0x340
 [<ffffffff812deec5>] elevator_init+0x85/0x120
 [<ffffffffa022ec40>] ? dm_lld_busy+0x60/0x60 [dm_mod]
 [<ffffffff812e43f8>] blk_init_allocated_queue+0xa8/0xc0
 [<ffffffffa022c61c>] dm_setup_md_queue+0x3c/0xc0 [dm_mod]
 [<ffffffffa02336a2>] table_load+0x1c2/0x330 [dm_mod]
 [<ffffffffa0234929>] ctl_ioctl+0x1d9/0x270 [dm_mod]
 [<ffffffffa02334e0>] ? table_clear+0x80/0x80 [dm_mod]
 [<ffffffffa02349ce>] dm_ctl_ioctl+0xe/0x20 [dm_mod]
 [<ffffffff8119262d>] do_vfs_ioctl+0x9d/0x380
 [<ffffffff81181bc4>] ? fput+0x74/0xc0
 [<ffffffff811929a1>] sys_ioctl+0x91/0xb0
 [<ffffffff815ce469>] system_call_fastpath+0x16/0x1b

and several others of that ilk.
System itself doesn't seem to be affected, but we might want to look into it.

Cheers,

Hannes

Signature · 4 lines
Dr. Hannes Reinecke		      zSeries & Storage
[email protected]			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)
#1 lore raw

Hi Hannes,

Quoted 5 lines · Hannes Reinecke

during booting 3.8.0 I hit this:

BUG: sleeping function called from invalid context at kernel/rcutree.c:2208

in_atomic(): 1, irqs_disabled(): 0, pid: 1976, name: multipath
Pid: 1976, comm: multipath Not tainted 3.8.0-default+ #18

It seems the same issue with this:
[PATCH repost] blkcg: fix "scheduling while atomic" in blk_queue_bypass_start
https://patchwork.kernel.org/patch/2183891/

I've been waiting for Jens to pick it up.

Signature · 1 line
Jun'ichi Nomura, NEC Corporation
#2 lore raw
Quoted 9 lines · Jun'ichi Nomura

Hi Hannes,

Quoted 5 lines · Hannes Reinecke

during booting 3.8.0 I hit this:

BUG: sleeping function called from invalid context at kernel/rcutree.c:2208

in_atomic(): 1, irqs_disabled(): 0, pid: 1976, name: multipath
Pid: 1976, comm: multipath Not tainted 3.8.0-default+ #18

Quoted 5 lines

It seems the same issue with this:
[PATCH repost] blkcg: fix "scheduling while atomic" in blk_queue_bypass_start
https://patchwork.kernel.org/patch/2183891/

I've been waiting for Jens to pick it up.

I just offloaded the bigger chunk for 3.9, there will be a 2nd round after -rc1 where this is going to be included (amongst other things).

Signature · 1 line
Jens Axboe
#5 lore raw

Missing /dev/disk/by-path directory

In reply to Hannes Reinecke

Hi,

my RHEL 5.9 host system has several SCSI LUNs attached. For some reason the /dev/disk/by-path directory is missing...Does anybody has an idea what went wrong
or how to debug. Other RHEL 5.9 system are fine.

Regards,

Christian May
IBM

#3 lore raw
In reply to Jens Axboe

Hello Jens,

Quoted 8 lines · Jens Axboe
Quoted 7 lines · Jun'ichi Nomura
Quoted 5 lines · Hannes Reinecke

during booting 3.8.0 I hit this:

BUG: sleeping function called from invalid context at kernel/rcutree.c:2208

in_atomic(): 1, irqs_disabled(): 0, pid: 1976, name: multipath
Pid: 1976, comm: multipath Not tainted 3.8.0-default+ #18

Quoted 8 lines
Quoted 5 lines

It seems the same issue with this:
[PATCH repost] blkcg: fix "scheduling while atomic" in blk_queue_bypass_start
https://patchwork.kernel.org/patch/2183891/

I've been waiting for Jens to pick it up.

I just offloaded the bigger chunk for 3.9, there will be a 2nd round after -rc1 where this is going to be included (amongst other things).

It seems the above patch hasn't yet included in 3.9-rc6. Could you take it?
(Maybe for 3.10, if it's too late for 3.9)

Signature · 1 line
Jun'ichi Nomura, NEC Corporation
Applied
#4 lore raw
Quoted 15 lines · Jun'ichi Nomura

Hello Jens,

Quoted 12 lines · Jens Axboe
Quoted 11 lines · Jun'ichi Nomura
Quoted 5 lines · Hannes Reinecke

during booting 3.8.0 I hit this:

BUG: sleeping function called from invalid context at kernel/rcutree.c:2208

in_atomic(): 1, irqs_disabled(): 0, pid: 1976, name: multipath
Pid: 1976, comm: multipath Not tainted 3.8.0-default+ #18

It seems the same issue with this:
[PATCH repost] blkcg: fix "scheduling while atomic" in blk_queue_bypass_start
https://patchwork.kernel.org/patch/2183891/

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

I've been waiting for Jens to pick it up.

I just offloaded the bigger chunk for 3.9, there will be a 2nd round after -rc1 where this is going to be included (amongst other things).

It seems the above patch hasn't yet included in 3.9-rc6. Could you take it?
(Maybe for 3.10, if it's too late for 3.9)

I queued it up for 3.10, thanks.

Signature · 1 line
Jens Axboe