http://bugzilla.kernel.org/show_bug.cgi?id=7364
------- Comment #17 from bonbons67@xxxxxxxxxxx 2007-06-18 13:16 -------
I just tried to reproduce on 2.6.22-rc5 now and got the following output (see
end for description of my setup):
[ 7753.510000] BUG: scheduling while atomic: emerge/0xd0117331/4970
[ 7753.510000] [<c0104afa>] show_trace_log_lvl+0x1a/0x30
[ 7753.520000] [<c0104b22>] show_trace+0x12/0x20
[ 7753.520000] [<c0104c45>] dump_stack+0x15/0x20
[ 7753.530000] [<c03066f7>] schedule+0x497/0x5c0
[ 7753.530000] [<c01188c3>] __cond_resched+0x23/0x50
[ 7753.540000] [<c0306d29>] cond_resched+0x39/0x40
[ 7753.540000] [<e3af4435>] xfs_buf_iowait+0x35/0x60 [xfs]
[ 7753.550000] [<e3af3f49>] xfs_buf_iostart+0x79/0x90 [xfs]
[ 7753.550000] [<e3af3830>] xfs_buf_read_flags+0x50/0x70 [xfs]
[ 7753.550000] [<e3ae58b5>] xfs_trans_read_buf+0x195/0x320 [xfs]
[ 7753.560000] [<e3ab8345>] xfs_btree_read_bufs+0x55/0x70 [xfs]
[ 7753.560000] [<e3a9f6a6>] xfs_alloc_lookup+0xe6/0x3c0 [xfs]
[ 7753.570000] [<e3aa0d24>] xfs_alloc_lookup_eq+0x14/0x20 [xfs]
[ 7753.570000] [<e3a9bbab>] xfs_alloc_fixup_trees+0x17b/0x330 [xfs]
[ 7753.580000] [<e3a9c7a1>] xfs_alloc_ag_vextent_near+0x6e1/0x9b0 [xfs]
[ 7753.580000] [<e3a9beee>] xfs_alloc_ag_vextent+0xee/0x100 [xfs]
[ 7753.590000] [<e3a9e250>] xfs_alloc_vextent+0x330/0x430 [xfs]
[ 7753.590000] [<e3aad057>] xfs_bmap_btalloc+0x2e7/0x790 [xfs]
[ 7753.590000] [<e3aad51e>] xfs_bmap_alloc+0x1e/0x30 [xfs]
[ 7753.600000] [<e3ab085c>] xfs_bmapi+0xccc/0x13a0 [xfs]
[ 7753.600000] [<e3abcf14>] xfs_dir2_grow_inode+0xe4/0x3a0 [xfs]
[ 7753.610000] [<e3abea34>] xfs_dir2_sf_to_block+0xb4/0x5a0 [xfs]
[ 7753.610000] [<e3ac49e8>] xfs_dir2_sf_addname+0x108/0x130 [xfs]
[ 7753.620000] [<e3abc8e0>] xfs_dir_createname+0xd0/0x110 [xfs]
[ 7753.620000] [<e3ae2013>] xfs_rename+0x2d3/0x8c0 [xfs]
[ 7753.620000] [<e3af80ba>] xfs_vn_rename+0x3a/0x90 [xfs]
[ 7753.630000] [<c0166ec6>] vfs_rename_other+0xb6/0x100
[ 7753.630000] [<c016701d>] vfs_rename+0x10d/0x240
[ 7753.640000] [<c01672c1>] do_rename+0x171/0x1a0
[ 7753.640000] [<c016735e>] sys_renameat+0x6e/0x80
[ 7753.650000] [<c0167399>] sys_rename+0x29/0x30
[ 7753.650000] [<c0103dd6>] sysenter_past_esp+0x5f/0x85
[ 7753.660000] =======================
[ 7753.660000] BUG: scheduling while atomic: emerge/0xc0117331/4970
[ 7753.670000] [<c0104afa>] show_trace_log_lvl+0x1a/0x30
[ 7753.670000] [<c0104b22>] show_trace+0x12/0x20
[ 7753.670000] [<c0104c45>] dump_stack+0x15/0x20
[ 7753.680000] [<c03066f7>] schedule+0x497/0x5c0
[ 7753.680000] [<c0307773>] __down+0x63/0xc0
[ 7753.690000] [<c03076a2>] __down_failed+0xa/0x10
[ 7753.690000] [<e3af4442>] xfs_buf_iowait+0x42/0x60 [xfs]
[ 7753.690000] [<e3af3f49>] xfs_buf_iostart+0x79/0x90 [xfs]
[ 7753.700000] [<e3af3830>] xfs_buf_read_flags+0x50/0x70 [xfs]
[ 7753.700000] [<e3ae58b5>] xfs_trans_read_buf+0x195/0x320 [xfs]
[ 7753.710000] [<e3ab8345>] xfs_btree_read_bufs+0x55/0x70 [xfs]
[ 7753.710000] [<e3a9f6a6>] xfs_alloc_lookup+0xe6/0x3c0 [xfs]
[ 7753.710000] [<e3aa0d24>] xfs_alloc_lookup_eq+0x14/0x20 [xfs]
[ 7753.720000] [<e3a9bbab>] xfs_alloc_fixup_trees+0x17b/0x330 [xfs]
[ 7753.720000] [<e3a9c7a1>] xfs_alloc_ag_vextent_near+0x6e1/0x9b0 [xfs]
[ 7753.720000] [<e3a9beee>] xfs_alloc_ag_vextent+0xee/0x100 [xfs]
[ 7753.730000] [<e3a9e250>] xfs_alloc_vextent+0x330/0x430 [xfs]
[ 7753.730000] [<e3aad057>] xfs_bmap_btalloc+0x2e7/0x790 [xfs]
[ 7753.730000] [<e3aad51e>] xfs_bmap_alloc+0x1e/0x30 [xfs]
[ 7753.740000] [<e3ab085c>] xfs_bmapi+0xccc/0x13a0 [xfs]
[ 7753.740000] [<e3abcf14>] xfs_dir2_grow_inode+0xe4/0x3a0 [xfs]
[ 7753.740000] [<e3abea34>] xfs_dir2_sf_to_block+0xb4/0x5a0 [xfs]
[ 7753.750000] [<e3ac49e8>] xfs_dir2_sf_addname+0x108/0x130 [xfs]
[ 7753.750000] [<e3abc8e0>] xfs_dir_createname+0xd0/0x110 [xfs]
[ 7753.750000] [<e3ae2013>] xfs_rename+0x2d3/0x8c0 [xfs]
[ 7753.760000] [<e3af80ba>] xfs_vn_rename+0x3a/0x90 [xfs]
[ 7753.760000] [<c0166ec6>] vfs_rename_other+0xb6/0x100
[ 7753.760000] [<c016701d>] vfs_rename+0x10d/0x240
[ 7753.770000] [<c01672c1>] do_rename+0x171/0x1a0
[ 7753.770000] [<c016735e>] sys_renameat+0x6e/0x80
[ 7753.770000] [<c0167399>] sys_rename+0x29/0x30
[ 7753.780000] [<c0103dd6>] sysenter_past_esp+0x5f/0x85
[ 7753.780000] =======================
[ 7753.790000] BUG: scheduling while atomic: emerge/0xc0117331/4970
[ 7753.790000] [<c0104afa>] show_trace_log_lvl+0x1a/0x30
[ 7753.790000] [<c0104b22>] show_trace+0x12/0x20
[ 7753.790000] [<c0104c45>] dump_stack+0x15/0x20
[ 7753.790000] [<c03066f7>] schedule+0x497/0x5c0
[ 7753.790000] [<c013d0ba>] refrigerator+0x4a/0x70
[ 7753.790000] [<c012557c>] get_signal_to_deliver+0x23c/0x250
[ 7753.800000] [<c0103bcb>] do_signal+0x5b/0x170
[ 7753.800000] [<c0103d1a>] do_notify_resume+0x3a/0x3c
[ 7753.800000] [<c0103eda>] work_notifysig+0x13/0x19
[ 7753.800000] =======================
[ 7753.800000] NOHZ: local_softirq_pending 2a
The setup is a follows:
* nbd client
Gentoo Linux, gcc 3.4.6, glibc 2.5, nbd 2.9.3
On /dev/nbd0 I link an image of an XFS / filesystem (also Gentoo)
and chroot into the mountpoint to run emerge --metadata (update of
metadata with lots of I/O, reading and writing portage tree metadata)
* nbd server
Gentoo Linux, gcc 4.1.2, glibc 2.5, nbd 2.9.3
It exports the file-based image of that root filesystem
Both machines are on the same subnet, after the BUG() messages in kernel log
the emerge process is blocked in D state, no traffic pending on nbd connection
on either side according to netstat.
Filesystem is still working for other processes (e.g. listing files) and show
network traffic.
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
|