Hi Corey
        thank you for the response. i am sorry i could not reply to you
immediately.i applied the patch you gave me and rebuilt the kernel. the
problem hasn't gone away. now the system goes down after some time. so i
checked /var/log/messages try and find out why it went down. i did not
get any core dumps or error messages. is there some other way to debug
this ?

thanks & regards
SangameshM
On Fri, 2006-02-03 at 11:22 +0530, Anupama M.R. wrote:
> 
> 
> -----Original Message----- 
> From: Corey Minyard [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, February 02, 2006 9:04 PM 
> To: Anupama M.R. 
> Cc: [email protected] 
> Subject: Re: [Openipmi-developer] FW: mail to IPMI group
> 
> 
> Anupama M.R. wrote:
> 
> >Hi, 
> > 
> >i have a Intel SE7520JR2 Motherboard  running Linux fedora core 4 
> >with 2.6.15 kernel. i have applied the following ipmi patches to the 
> >kernel in the same order. 
> > 
> >1. linux-base-2.6.15-v38.0.diff 
> >2. linux-emu-2.6.15-v38.0.diff 
> >3. linux-i2c-2.6.15-v38.0.diff 
> >4. linux-i2c-i801-2.6.15-v38.0.diff 
> >5. linux-smb-2.6.15-v38.0.diff 
> > 
> >I am using ipmitool to view sensor values. The problem is ipmitool
> is 
> >inconsistent. some times it works and some times it doesn't. some
> times 
> >ipmitool reports "Unable to get SDR info" after a while. 
> > 
> >I had ipmi drivers up and running fine on 2.6.13.2. only when i
> changed 
> >to 2.6.15 i am facing this problem. it would be great if anyone
> could 
> >help me out. 
> > 
> >   
> > 
> Thanks for reporting this.  I think there is a missing
> initialization, 
> can try try the attached patch?
> 
> That patch should fix the oops, which should allow things to be 
> initialized properly, which should hopefully let the IPMI driver
> work :).
> 
> If not, we need to probe some more.  When you load the ipmi_smb
> module, 
> can you specify "dbg_probe=1 dbg=7" to have it spit out more debugging
> info?
> 
> -Corey
> 
Index: linux-2.6.15/drivers/i2c/i2c-core.c
===================================================================
--- linux-2.6.15.orig/drivers/i2c/i2c-core.c
+++ linux-2.6.15/drivers/i2c/i2c-core.c
@@ -1407,6 +1407,7 @@ s32 i2c_smbus_xfer(struct i2c_adapter * 
 	entry->smbus.command = command;
 	entry->smbus.size = size;
 	entry->smbus.data = data;
+	entry->complete = NULL;
 
  	if (algo->smbus_start) {
  		i2c_perform_op_wait(adapter, entry);

Reply via email to