[linux-cifs-client] (no subject)

Eric Sesterhenn snakebyte at gmx.de
Thu Jan 8 12:35:12 GMT 2009


hi,

with current -git i can trigger a box lockup with samba and iozone.

The relevant .config entries:
root at whiterabbit:/usr/src/linux# grep CIFS .config
CONFIG_CIFS=y
# CONFIG_CIFS_STATS is not set
CONFIG_CIFS_WEAK_PW_HASH=y
# CONFIG_CIFS_UPCALL is not set
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y
CONFIG_CIFS_DEBUG2=y
CONFIG_CIFS_EXPERIMENTAL=y
# CONFIG_CIFS_DFS_UPCALL is not set
root at whiterabbit:/usr/src/linux# grep SMB .config
# CONFIG_SMB_FS is not set

To reproduce:

mkdir /media/samba > /dev/null 2>&1
mount -t cifs //WHITERABBIT/data /media/samba -o password=root
touch /media/samba/stress/nfs2
chown nobody:nobody /media/samba/stress/nfs2
/usr/bin/iozone -a -s 1024 -f /media/samba/stress/nfs2

The exported directory lies on an ext3 partition

Kernel reports the following:

[  238.935942] BUG: scheduling while atomic: iozone/5035/0x00000002
[  238.936214] INFO: lockdep is turned off.
[  238.936330] Modules linked in:
[  238.936524] Pid: 5035, comm: iozone Tainted: G        W
2.6.28-07485-g9e42d0c #177
[  238.936706] Call Trace:
[  238.936853]  [<c0127137>] __schedule_bug+0x63/0x6a
[  238.936986]  [<c07f6f51>] schedule+0x99/0x947
[  238.937170]  [<c014c9d2>] ? print_lock_contention_bug+0x11/0xb2
[  238.937300]  [<c014e553>] ? trace_hardirqs_on_caller+0x18/0x15f
[  238.937450]  [<c07f9df4>] ? _spin_unlock_irqrestore+0x47/0x5d
[  238.937591]  [<c01401bd>] ? prepare_to_wait+0x46/0x4c
[  238.937745]  [<c0145031>] async_synchronize_cookie_special+0xac/0x103
[  238.937873]  [<c0140060>] ? autoremove_wake_function+0x0/0x35
[  238.938038]  [<c01450d0>] async_synchronize_full_special+0x1a/0x1c
[  238.938172]  [<c01a1e6d>] sync_filesystems+0x4f/0xf9
[  238.938323]  [<c01b965d>] do_sync+0x2f/0x5f
[  238.938442]  [<c01b969f>] sys_sync+0x12/0x17
[  238.938584]  [<c0102f21>] sysenter_do_call+0x12/0x31
[  239.816381] BUG: scheduling while atomic: iozone/5035/0x00000002
[  239.816539] INFO: lockdep is turned off.
[  239.816678] Modules linked in:
[  239.816869] Pid: 5035, comm: iozone Tainted: G        W
2.6.28-07485-g9e42d0c #177
[  239.817090] Call Trace:
[  239.817236]  [<c0127137>] __schedule_bug+0x63/0x6a
[  239.817368]  [<c07f6f51>] schedule+0x99/0x947
[  239.817518]  [<c014c9d2>] ? print_lock_contention_bug+0x11/0xb2
[  239.817648]  [<c014e553>] ? trace_hardirqs_on_caller+0x18/0x15f
[  239.817796]  [<c07f9df4>] ? _spin_unlock_irqrestore+0x47/0x5d
[  239.817939]  [<c01401bd>] ? prepare_to_wait+0x46/0x4c
[  239.818114]  [<c0145031>] async_synchronize_cookie_special+0xac/0x103
[  239.818245]  [<c0140060>] ? autoremove_wake_function+0x0/0x35
[  239.818389]  [<c01450d0>] async_synchronize_full_special+0x1a/0x1c
[  239.818522]  [<c01a1e6d>] sync_filesystems+0x4f/0xf9
[  239.818673]  [<c01b965d>] do_sync+0x2f/0x5f
[  239.818794]  [<c01b969f>] sys_sync+0x12/0x17
[  239.818935]  [<c0102f21>] sysenter_do_call+0x12/0x31
[  240.537199] BUG: scheduling while atomic: iozone/5035/0x00000002
[  240.537358] INFO: lockdep is turned off.
[  240.537496] Modules linked in:
[  240.537689] Pid: 5035, comm: iozone Tainted: G        W
2.6.28-07485-g9e42d0c #177
[  240.537855] Call Trace:
[  240.538001]  [<c0127137>] __schedule_bug+0x63/0x6a
[  240.538192]  [<c07f6f51>] schedule+0x99/0x947
[  240.538327]  [<c014c9d2>] ? print_lock_contention_bug+0x11/0xb2
[  240.538474]  [<c014e553>] ? trace_hardirqs_on_caller+0x18/0x15f
[  240.538608]  [<c07f9df4>] ? _spin_unlock_irqrestore+0x47/0x5d
[  240.538767]  [<c01401bd>] ? prepare_to_wait+0x46/0x4c
[  240.538907]  [<c0145031>] async_synchronize_cookie_special+0xac/0x103
[  240.539073]  [<c0140060>] ? autoremove_wake_function+0x0/0x35
[  240.539201]  [<c01450d0>] async_synchronize_full_special+0x1a/0x1c
[  240.539348]  [<c01a1e6d>] sync_filesystems+0x4f/0xf9
[  240.539481]  [<c01b965d>] do_sync+0x2f/0x5f
[  240.539619]  [<c01b969f>] sys_sync+0x12/0x17
[  240.539744]  [<c0102f21>] sysenter_do_call+0x12/0x31
[  306.017009] BUG: soft lockup - CPU#0 stuck for 61s! [pdflush:340]
[  306.017009] Modules linked in:
[  306.017009] irq event stamp: 0
[  306.017009] hardirqs last  enabled at (0): [<(null)>] (null)
[  306.017009] hardirqs last disabled at (0): [<c012cf11>]
copy_process+0x320/0x1035
[  306.017009] softirqs last  enabled at (0): [<c012cf11>]
copy_process+0x320/0x1035
[  306.017009] softirqs last disabled at (0): [<(null)>] (null)
[  306.017009] 
[  306.017009] Pid: 340, comm: pdflush Tainted: G        W
(2.6.28-07485-g9e42d0c #177) System Name
[  306.017009] EIP: 0060:[<c05295b0>] EFLAGS: 00000202 CPU: 0
[  306.017009] EIP is at delay_tsc+0x24/0x88
[  306.017009] EAX: d8c5588a EBX: 00000001 ECX: c01b7134 EDX: 00000043
[  306.017009] ESI: 16543f94 EDI: 00000001 EBP: cf171f20 ESP: cf171f10
[  306.017009]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[  306.017009] CR0: 8005003b CR2: 0955d000 CR3: 0b5e0000 CR4: 000006d0
[  306.017009] DR0: c012dca8 DR1: 00000000 DR2: 00000000 DR3: 00000000
[  306.017009] DR6: ffff0ff0 DR7: 00000400
[  306.017009] Call Trace:
[  306.017009]  [<c05294e8>] __delay+0xe/0x10
[  306.017009]  [<c05363d8>] _raw_spin_lock+0xa6/0xfd
[  306.017009]  [<c07f975a>] _spin_lock+0x4c/0x5d
[  306.017009]  [<c01b7134>] writeback_inodes+0x26/0xa9
[  306.017009]  [<c018103e>] background_writeout+0x79/0xa5
[  306.017009]  [<c0181502>] ? pdflush+0x0/0x1a2
[  306.017009]  [<c018160a>] pdflush+0x108/0x1a2
[  306.017009]  [<c0180fc5>] ? background_writeout+0x0/0xa5
[  306.017009]  [<c013ff8a>] kthread+0x40/0x66
[  306.017009]  [<c013ff4a>] ? kthread+0x0/0x66
[  306.017009]  [<c01037c3>] kernel_thread_helper+0x7/0x10



Greetings, Eric


More information about the linux-cifs-client mailing list