public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Corey Minyard <minyard@acm.org>
To: Holger Kiehl <Holger.Kiehl@dwd.de>
Cc: Alex Williamson <alex.williamson@hp.com>,
	Philipp Matthias Hahn <pmhahn@titan.lahn.de>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: IPMI hangup in 2.6.6-rc3
Date: Wed, 16 Jun 2004 15:42:57 -0500	[thread overview]
Message-ID: <40D0B0D1.60804@acm.org> (raw)
In-Reply-To: <Pine.LNX.4.58.0406161842180.13439@praktifix.dwd.de>

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
>  
>



  reply	other threads:[~2004-06-16 20:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.58.R0405040649310.15047@praktifix.dwd.de>
2004-05-25 16:53 ` IPMI hangup in 2.6.6-rc3 Philipp Matthias Hahn
2004-06-04 20:59   ` Corey Minyard
2004-06-10 17:12     ` Alex Williamson
2004-06-16 12:32       ` Holger Kiehl
2004-06-16 14:19         ` Corey Minyard
2004-06-16 14:21           ` Corey Minyard
2004-06-16 14:44             ` Alex Williamson
2004-06-16 18:30             ` Holger Kiehl
2004-06-16 18:56               ` Holger Kiehl
2004-06-16 20:42                 ` Corey Minyard [this message]
2004-06-16 20:54                   ` Alex Williamson
2004-06-17  7:03                   ` Holger Kiehl
2004-05-04  7:05 Holger Kiehl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40D0B0D1.60804@acm.org \
    --to=minyard@acm.org \
    --cc=Holger.Kiehl@dwd.de \
    --cc=alex.williamson@hp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pmhahn@titan.lahn.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox