Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264770AbUFPUn0 (ORCPT ); Wed, 16 Jun 2004 16:43:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264775AbUFPUn0 (ORCPT ); Wed, 16 Jun 2004 16:43:26 -0400 Received: from rwcrmhc13.comcast.net ([204.127.198.39]:52972 "EHLO rwcrmhc13.comcast.net") by vger.kernel.org with ESMTP id S264770AbUFPUnA (ORCPT ); Wed, 16 Jun 2004 16:43:00 -0400 Message-ID: <40D0B0D1.60804@acm.org> Date: Wed, 16 Jun 2004 15:42:57 -0500 From: Corey Minyard User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030428 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Holger Kiehl Cc: Alex Williamson , Philipp Matthias Hahn , LKML Subject: Re: IPMI hangup in 2.6.6-rc3 References: <20040525165335.GA28905@titan.lahn.de> <40C0E2BF.3040705@acm.org> <1086887543.4182.46.camel@tdi> <40D056E2.4010605@acm.org> <40D05779.9080203@acm.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4866 Lines: 135 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:[] 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: [] handle_send_req+0xd3/0xe7 >Jun 16 18:43:40 apollo kernel: [] ipmi_ioctl+0x427/0x474 >Jun 16 18:43:40 apollo kernel: [] sys_select+0x21c/0x482 >Jun 16 18:43:40 apollo kernel: [] sys_ioctl+0xef/0x223 >Jun 16 18:43:40 apollo kernel: [] 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/