2.6.7: preempt + sysfs = BUG on ppc

From: Tom Vier
Date: Sun Jun 20 2004 - 10:40:35 EST


i forgot to exclude /sys when i ran rsync. this is easily reproducable.

kernel BUG in fill_read_buffer at fs/sysfs/file.c:92!
Oops: Exception in kernel mode, sig: 5 [#1]
PREEMPT
NIP: C009687C LR: C0096870 SP: D1587EA0 REGS: d1587df0 TRAP: 0700 Not tainted
MSR: 00029032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c07b4060[879] 'rsync' THREAD: d1586000Last syscall: 3
GPR00: 00000001 D1587EA0 C07B4060 FFFFFFEA C7E38000 D327F000 00007F11 00000000
GPR08: 00000000 00000000 00000000 D1586000 20002442 1004CFE4 00000000 00000000
GPR16: 00001000 10040000 10040000 10040000 10040000 00000003 00001000 00000000
GPR24: 00001000 00000000 00000000 00000000 C010E348 C0264BEC D1B64F1C C079F1A8
NIP [c009687c] fill_read_buffer+0x70/0xb4
LR [c0096870] fill_read_buffer+0x64/0xb4
Call trace:
[c0096a28] sysfs_read_file+0x5c/0x78
[c005ad68] vfs_read+0xdc/0x128
[c005afd8] sys_read+0x40/0x74
[c0005b20] ret_from_syscall+0x0/0x44

kernel BUG in fill_read_buffer at fs/sysfs/file.c:92!
Oops: Exception in kernel mode, sig: 5 [#2]
PREEMPT
NIP: C009687C LR: C0096870 SP: C577FEA0 REGS: c577fdf0 TRAP: 0700 Not tainted
MSR: 00029032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c07b4060[1230] 'rsync' THREAD: c577e000Last syscall: 3
GPR00: 00000001 C577FEA0 C07B4060 FFFFFFEA C4828000 D327F000 00007F11 00000000
GPR08: 00000000 00000000 00000000 C577E000 20002442 1004CFE4 00000000 00000000
GPR16: 00001000 10040000 10040000 10040000 10040000 00000003 00001000 00000000
GPR24: 00001000 00000000 00000000 00000000 C010E348 C0264BEC D1B6433C C079F1A8
NIP [c009687c] fill_read_buffer+0x70/0xb4
LR [c0096870] fill_read_buffer+0x64/0xb4
Call trace:
[c0096a28] sysfs_read_file+0x5c/0x78
[c005ad68] vfs_read+0xdc/0x128
[c005afd8] sys_read+0x40/0x74
[c0005b20] ret_from_syscall+0x0/0x44

--
Tom Vier <tmv@xxxxxxxxxxx>
DSA Key ID 0x15741ECE

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/