Part of backporting is looking at the patches that don't apply and figuring out why they don't apply and fixing the problems. It's not a lot of fun and you need to know C.
-Corey Krishnaprasad wrote: > hi corey > > sorry for again disturbing u . > > I have applied patches of 2.6.10 kernel to 2.6.9 kernel . > > Problems while patching > ------------------------------ > 1) when I applied patch "linux-i2c-2.6.10-nonblock.diff" > the following output will come... > > patch -p0 < ipmi_patches_2.6.9/linux-i2c-2.6.10-nonblock.diff > patching file linux-2.6.9/drivers/i2c/i2c-core.c > Hunk #3 succeeded at 264 (offset -1 lines). > Hunk #4 succeeded at 306 (offset -12 lines). > Hunk #5 succeeded at 658 (offset -21 lines). > Hunk #6 succeeded at 1003 (offset -12 lines). > Hunk #7 succeeded at 1436 (offset 25 lines). > Hunk #8 succeeded at 1446 with fuzz 1 (offset 2 lines). > Hunk #9 succeeded at 1824 (offset 25 lines). > Hunk #10 FAILED at 1843. > 1 out of 10 hunks FAILED -- saving rejects to file > linux-2.6.9/drivers/i2c/i2c-core.c.rej > patching file linux-2.6.9/include/linux/i2c.h > Hunk #4 FAILED at 97. > Hunk #5 succeeded at 215 (offset 8 lines). > Hunk #7 succeeded at 298 (offset 8 lines). > Hunk #9 succeeded at 350 (offset 8 lines). > Hunk #11 succeeded at 620 (offset 8 lines). > 1 out of 12 hunks FAILED -- saving rejects to file > linux-2.6.9/include/linux/i2c.h.rej > > other ipmi patches and i2c-i801 patch are working fine.. > > Then I changed i2c files of 2.6.9 files with 2.6.10 . Then all patches > are working fine. > > Still while compiling ipmi_si and ipmi_smb module error is coming > > the output is as follows.. > > drivers/char/ipmi/ipmi_si_intf.c:963: error: invalid lvalue in unary `&' > drivers/char/ipmi/ipmi_si_intf.c:963: error: initializer element is > not constant > drivers/char/ipmi/ipmi_si_intf.c:963: error: (near initialization for > `__param_arr_slave_addrs.num') > make[3]: *** [drivers/char/ipmi/ipmi_si_intf.o] Error 1 > make[2]: *** [drivers/char/ipmi] Error 2 > make[1]: *** [drivers/char] Error 2 > make: *** [drivers] Error 2 > > > Is there any soln for this... > > Thanks > > Krishna > > > > > > Corey Minyard wrote: > >>These patches are not directly available. You will have to backport. >> >>-Corey >> >>Krishnaprasad wrote: >> >> >> >>>Hi all >>> >>>Iam a newbie to this mailing list. I am having RHEL 4.0 kernel ( 2.6.9 >>>) . I am able to get IPMI values from 2.6.10 onwards using >>>appropriate patches. Is there any patches available for 2.6.9 . >>> >>>Its very urgent... >>> >>>If any one knows pls reply. >>> >>>Thanks in advance >>> >>>Regards >>>Krishna >>>------------------------------------------------------- This SF.Net >>>email is sponsored by the JBoss Inc. Get Certified Today * Register >>>for a JBoss Training Course Free Certification Exam for All Training >>>Attendees Through End of 2005 Visit >>>http://www.jboss.com/services/certification for more information >>>_______________________________________________ Openipmi-developer >>>mailing list [email protected] >>>https://lists.sourceforge.net/lists/listinfo/openipmi-developer >>> >>> >> >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by the JBoss Inc. >>Get Certified Today * Register for a JBoss Training Course >>Free Certification Exam for All Training Attendees Through End of 2005 >>Visit http://www.jboss.com/services/certification for more information >>_______________________________________________ >>Openipmi-developer mailing list >>[email protected] >>https://lists.sourceforge.net/lists/listinfo/openipmi-developer >> >> >> > > ------------------------------------------------------- This SF.Net > email is sponsored by the JBoss Inc. Get Certified Today * Register > for a JBoss Training Course Free Certification Exam for All Training > Attendees Through End of 2005 Visit > http://www.jboss.com/services/certification for more information > _______________________________________________ Openipmi-developer > mailing list [email protected] > https://lists.sourceforge.net/lists/listinfo/openipmi-developer ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Openipmi-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openipmi-developer
