kernel oops in resched_task

2010-01-06 Thread Erez Zilber
Hi,

I got this oops while running open-iscsi on a CentOS 5.3 machine
(don't know how to recreate it). it crashes while trying to wake up
the work queue after queuecommand was called. Has anyone seen
something similar?

Jan  2 22:24:27 172.16.9.55 RIP: 0010:[8008cccf]
Jan  2 22:24:27 172.16.9.55  [8008cccf] resched_task+0x12/0x65
Jan  2 22:24:27 172.16.9.55 RSP: 0018:81033f4e3948  EFLAGS: 00010097
Jan  2 22:24:27 172.16.9.55 RAX: 80420400 RBX: a7784ff72815 RCX:
81033f4e2000
Jan  2 22:24:27 172.16.9.55 RDX: 3f4e2048 RSI: 810302f0d0f8 RDI:
8103307e47a0
Jan  2 22:24:27 172.16.9.55 RBP: 81033f4e3948 R08: 810653e3fea0 R09:
0020
Jan  2 22:24:27 172.16.9.55 R10:  R11:  R12:
0007
Jan  2 22:24:27 172.16.9.55 R13: 81065d7990c0 R14: 0007 R15:
81000901c480
Jan  2 22:24:27 172.16.9.55 FS:  2aac40713940()
GS:81010dae53c0() knlGS:
Jan  2 22:24:27 172.16.9.55 CS:  0010 DS:  ES:  CR0: 80050033
Jan  2 22:24:27 172.16.9.55 CR2: 00017aae7c80 CR3: 0005ea57f000 CR4:
06e0
Jan  2 22:24:27 172.16.9.55 Process kal (pid: 15472, threadinfo
81033f4e2000, task 8103307e47a0)
Jan  2 22:24:27 172.16.9.55 Stack:
Jan  2 22:24:27 172.16.9.55  81033f4e39e8
Jan  2 22:24:27 172.16.9.55  8004676f
Jan  2 22:24:27 172.16.9.55  307e47a0
Jan  2 22:24:27 172.16.9.55  0001
Jan  2 22:24:27 172.16.9.55
Jan  2 22:24:27 172.16.9.55  000700115288
Jan  2 22:24:27 172.16.9.55  0001
Jan  2 22:24:27 172.16.9.55  0007
Jan  2 22:24:27 172.16.9.55  
Jan  2 22:24:27 172.16.9.55
Jan  2 22:24:27 172.16.9.55  663135343732
Jan  2 22:24:27 172.16.9.55  80012e80
Jan  2 22:24:27 172.16.9.55  0010
Jan  2 22:24:27 172.16.9.55  
Jan  2 22:24:27 172.16.9.55
Jan  2 22:24:27 172.16.9.55 Call Trace:
Jan  2 22:24:27 172.16.9.55  [8004676f] try_to_wake_up+0x422/0x481
Jan  2 22:24:27 172.16.9.55  [80012e80] get_request+0x1a6/0x36d
Jan  2 22:24:27 172.16.9.55  [800a097d]
autoremove_wake_function+0x9/0x2e
Jan  2 22:24:27 172.16.9.55  [8008b6d6]
__wake_up_common+0x3e/0x68
Jan  2 22:24:27 172.16.9.55  [8002dd0a] __wake_up+0x38/0x4f
Jan  2 22:24:27 172.16.9.55  [8009263f] vprintk+0x2b2/0x317
Jan  2 22:24:27 172.16.9.55  [8001bbb8]
generic_make_request+0x1d2/0x1e9
Jan  2 22:24:27 172.16.9.55  [800926f6] printk+0x52/0xbd
Jan  2 22:24:27 172.16.9.55  [8009d8b7]
__queue_work+0x43/0x53
Jan  2 22:24:27 172.16.9.55  [8009d945] queue_work+0x4e/0x57
Jan  2 22:24:27 172.16.9.55  [8009d945] queue_work+0x4e/0x57
Jan  2 22:24:27 172.16.9.55  [882033fe]
:libiscsi:iscsi_queuecommand+0x40e/0x434
Jan  2 22:24:27 172.16.9.55  [880755a6]
:scsi_mod:scsi_done+0x0/0x18
Jan  2 22:24:27 172.16.9.55  [800624d8]
__sched_text_start+0x78/0xbd5
Jan  2 22:24:27 172.16.9.55  [8013f3df]
elv_next_request+0x196/0x1a6
Jan  2 22:24:27 172.16.9.55  [8006dd2b]
do_gettimeofday+0x40/0x8f
Jan  2 22:24:27 172.16.9.55  [8005a05d]
getnstimeofday+0x10/0x28
Jan  2 22:24:27 172.16.9.55  [8006389b]
io_schedule+0x3f/0x67
Jan  2 22:24:27 172.16.9.55  [800f170f]
__blockdev_direct_IO+0x8b0/0xa19
Jan  2 22:24:27 172.16.9.55  [800e3265]
blkdev_direct_IO+0x32/0x37
Jan  2 22:24:27 172.16.9.55  [800e319d]
blkdev_get_blocks+0x0/0x96
Jan  2 22:24:27 172.16.9.55  [8000c1f1]
__generic_file_aio_read+0xb8/0x190
Jan  2 22:24:27 172.16.9.55  [800c5d80]
generic_file_read+0xac/0xc5
Jan  2 22:24:27 172.16.9.55  [800a0974]
autoremove_wake_function+0x0/0x2e
Jan  2 22:24:27 172.16.9.55  [80063097]
thread_return+0x62/0xfe
Jan  2 22:24:27 172.16.9.55  [800b73c3]
audit_syscall_entry+0x16e/0x1a1
Jan  2 22:24:27 172.16.9.55  [8000b379] vfs_read+0xcb/0x171
Jan  2 22:24:27 172.16.9.55  [80013097]
sys_pread64+0x50/0x70
Jan  2 22:24:27 172.16.9.55  [8005d229] tracesys+0x71/0xe0
Jan  2 22:24:27 172.16.9.55  [8005d28d] tracesys+0xd5/0xe0
Jan  2 22:24:27 172.16.9.55
Jan  2 22:24:27 172.16.9.55
Jan  2 22:24:27 172.16.9.55 Code:
Jan  2 22:24:27 172.16.9.55 48
Jan  2 22:24:27 172.16.9.55 8b
Jan  2 22:24:27 172.16.9.55 14
Jan  2 22:24:27 172.16.9.55 d5
Jan  2 22:24:27 172.16.9.55 40
Jan  2 22:24:27 172.16.9.55 7a
Jan  2 22:24:27 172.16.9.55 3d
Jan  2 22:24:27 172.16.9.55 80
Jan  2 22:24:27 172.16.9.55 48
Jan  2 22:24:27 172.16.9.55 03
Jan  2 22:24:27 172.16.9.55 42
Jan  2 22:24:27 172.16.9.55 08
Jan  2 22:24:27 172.16.9.55 8b
Jan  2 22:24:27 172.16.9.55 00
Jan  2 22:24:27 172.16.9.55 85
Jan  2 22:24:27 172.16.9.55 c0
Jan  2 22:24:27 172.16.9.55 7e
Jan  2 22:24:27 172.16.9.55 0a
Jan  2 22:24:27 172.16.9.55 0f
Jan  2 22:24:27 172.16.9.55 0b
Jan  2 22:24:27 172.16.9.55
Jan  2 22:24:27 172.16.9.55 RIP
Jan  2 22:24:27 

Re: kernel oops in resched_task

2010-01-06 Thread Pasi Kärkkäinen
On Wed, Jan 06, 2010 at 04:28:32PM +0200, Erez Zilber wrote:
 Hi,
 
 I got this oops while running open-iscsi on a CentOS 5.3 machine
 (don't know how to recreate it). it crashes while trying to wake up
 the work queue after queuecommand was called. Has anyone seen
 something similar?


I'd suggest you to upgrade to 5.4 and see if it still happens.

-- Pasi

-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.




Re: kernel oops in resched_task

2010-01-06 Thread Mike Christie

On 01/06/2010 08:28 AM, Erez Zilber wrote:

Hi,

I got this oops while running open-iscsi on a CentOS 5.3 machine
(don't know how to recreate it). it crashes while trying to wake up
the work queue after queuecommand was called. Has anyone seen
something similar?



I have not seen it.

Are you using the kernel modules that come with 5.3 or the open-iscsi 
ported ones?
-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.