lkml.org 
[lkml]   [2004]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: IPMI hangup in 2.6.6-rc3
I cannot figure out from the traceback what is wrong, and I haven't been 
able to reproduce this, even with ipmitool.

What kernel version are you running? Can you verify that the attached
patch is in your code?

--- linux-2.6.7-rc3-full/drivers/char/ipmi/ipmi_devintf.c.orig Wed Jun 9 12:08:23 2004
+++ linux-2.6.7-rc3-full/drivers/char/ipmi/ipmi_devintf.c Wed Jun 9 12:07:09 2004
@@ -199,7 +199,7 @@ static int handle_send_req(ipmi_user_t
goto out;
}

- if (copy_from_user(&msgdata,
+ if (copy_from_user(msgdata,
req->msg.data,
req->msg.data_len))
{

If that doesn't help, can you upgrade to 2.6.7-rc3-mm2 and re-try this
patch?

If that doesn't help, Can you turn on frame pointers and try again?
This will give a cleaner backtrace.

-Corey

Holger Kiehl wrote:

>On Wed, 16 Jun 2004, Holger Kiehl wrote:
>
>
>
>>On Wed, 16 Jun 2004, Corey Minyard wrote:
>>
>>
>>
>>>I missed a part of the patch, here is a new one with the include file changes.
>>>
>>>-Corey
>>>
>>>Corey Minyard wrote:
>>>
>>>
>>>
>>>>Unfortuantely, that fix has some problems, but it was on the right track. I
>>>>have a new patch attached; can you try it out? Also, the kernel interface
>>>>has not changed. It should be exactly the same as before.
>>>>
>>>>-Corey
>>>>
>>>>
>>Yes, with this patch it no longer hangs. But ipmitool still crashes
>>
>> root@apollo:~# ipmitool -I open sdr list
>> Segmentation fault
>>
>>
>>
>Just when I send the mail I noticed that each time I call ipmitool I get
>an oops:
>
>Jun 16 18:43:40 apollo kernel: <1>Unable to handle kernel paging request at virtual address 00100104
>Jun 16 18:43:40 apollo kernel: printing eip:
>Jun 16 18:43:40 apollo kernel: c013ba4a
>Jun 16 18:43:40 apollo kernel: *pde = 00000000
>Jun 16 18:43:40 apollo kernel: Oops: 0000 [#54]
>Jun 16 18:43:40 apollo kernel: SMP
>Jun 16 18:43:40 apollo kernel: Modules linked in: bonding
>Jun 16 18:43:40 apollo kernel: CPU: 1
>Jun 16 18:43:40 apollo kernel: EIP: 0060:[<c013ba4a>] Not tainted
>Jun 16 18:43:40 apollo kernel: EFLAGS: 00010086 (2.6.7)
>Jun 16 18:43:40 apollo kernel: EIP is at kfree+0x37/0x66
>Jun 16 18:43:40 apollo kernel: eax: 00000001 ebx: ffffffea ecx: 00100100 edx: c1000000
>Jun 16 18:43:40 apollo kernel: esi: 000015ec edi: 00000202 ebp: ffffffff esp: f6dcce84
>Jun 16 18:43:40 apollo kernel: ds: 007b es: 007b ss: 0068
>Jun 16 18:43:40 apollo kernel: Process ipmitool (pid: 19786, threadinfo=f6dcc000 task=c2269360)
>Jun 16 18:43:40 apollo kernel: Stack: ffffffea f6dccf6c f6dcceb0 c01dedca f6dccf78 00000000 00000000 ffffffff
>Jun 16 18:43:40 apollo kernel: 00000000 f7b8f7c8 000015ec 00000500 c000000f f61ebd80 00000282 f7c8be2c
>Jun 16 18:43:40 apollo kernel: c02e9600 f6e8b008 f6e8b008 00000000 00000004 f6dccf6c bffff2c0 f6dccf6c
>Jun 16 18:43:40 apollo kernel: Call Trace:
>Jun 16 18:43:40 apollo kernel: [<c01dedca>] handle_send_req+0xd3/0xe7
>Jun 16 18:43:40 apollo kernel: [<c01df205>] ipmi_ioctl+0x427/0x474
>Jun 16 18:43:40 apollo kernel: [<c015ece7>] sys_select+0x21c/0x482
>Jun 16 18:43:40 apollo kernel: [<c015e036>] sys_ioctl+0xef/0x223
>Jun 16 18:43:40 apollo kernel: [<c0104cf1>] sysenter_past_esp+0x52/0x71
>Jun 16 18:43:40 apollo kernel:
>Jun 16 18:43:40 apollo kernel: Code: 8b 1c 81 8b 03 3b 43 04 73 18 89 74 83 10 83 03 01 57 9d 8b
>
>
>
>
>>>EIP; c013ba4a No symbols available <=====
>>>
>>>
>
>Trace; c01dedca No symbols available
>Trace; c01df205 No symbols available
>Trace; c015ece7 No symbols available
>Trace; c015e036 No symbols available
>Trace; c0104cf1 No symbols available
>
>Code; c013ba4a No symbols available
>00000000 <_EIP>:
>Code; c013ba4a No symbols available <=====
> 0: 8b 1c 81 mov (%ecx,%eax,4),%ebx <=====
>Code; c013ba4d No symbols available
> 3: 8b 03 mov (%ebx),%eax
>Code; c013ba4f No symbols available
> 5: 3b 43 04 cmp 0x4(%ebx),%eax
>Code; c013ba52 No symbols available
> 8: 73 18 jae 22 <_EIP+0x22>
>Code; c013ba54 No symbols available
> a: 89 74 83 10 mov %esi,0x10(%ebx,%eax,4)
>Code; c013ba58 No symbols available
> e: 83 03 01 addl $0x1,(%ebx)
>Code; c013ba5b No symbols available
> 11: 57 push %edi
>Code; c013ba5c No symbols available
> 12: 9d popf
>Code; c013ba5d No symbols available
> 13: 8b 00 mov (%eax),%eax
>
>This must be the reason why ipmitool crashes.
>
>Holger
>
>


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

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.050 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site