View previous topic :: View next topic |
Author |
Message |
cld71 Tux's lil' helper
Joined: 12 Jul 2005 Posts: 128
|
Posted: Sat Jun 09, 2012 3:25 pm Post subject: It worked!!!!!!!!!!!!!!!!! :d |
|
|
I commented out the line that had BUSYBOX_VER="1.19.3" and added BUSYBOX_VER="1.20.1" to the /etc/genkernel.conf file.
And copied the /usr/portage/distfiles/busybox-1.20.1.tar.bz2 source file to /var/cache/genkernel/src/ .
Just like Yan-Fa Li suggested on Gentoo Bugzilla page https://bugs.gentoo.org/show_bug.cgi?id=419511.
And the kernel finally compiled using genkernel.
I like to thank everyone that helped.
THANKS!!!!!!!!!!!!!!!!!!!!!! |
|
Back to top |
|
|
gcasillo l33t
Joined: 23 Sep 2003 Posts: 739 Location: Cincinnati, Ohio, USA
|
Posted: Sun Jun 17, 2012 4:10 am Post subject: Re: It worked!!!!!!!!!!!!!!!!! :d |
|
|
cld71 wrote: | I commented out the line that had BUSYBOX_VER="1.19.3" and added BUSYBOX_VER="1.20.1" to the /etc/genkernel.conf file.
And copied the /usr/portage/distfiles/busybox-1.20.1.tar.bz2 source file to /var/cache/genkernel/src/ .
Just like Yan-Fa Li suggested on Gentoo Bugzilla page https://bugs.gentoo.org/show_bug.cgi?id=419511.
And the kernel finally compiled using genkernel.
I like to thank everyone that helped.
THANKS!!!!!!!!!!!!!!!!!!!!!! |
I've taken these steps or they were done automatically for me (don't remember), and I still can't get genkernel to build a kernel without running into that lpfc error. Anybody else stuck? |
|
Back to top |
|
|
NuMPTy Tux's lil' helper
Joined: 04 Mar 2012 Posts: 78
|
Posted: Wed Jul 25, 2012 1:56 am Post subject: Re: gentoo-sources-3.4.0 errors out doesn't compile |
|
|
ryao wrote: | ryao wrote: | cld71 wrote: | Code: | * CC [M] drivers/net/wireless/rtl818x/rtl8180/grf5101.o
* CC [M] drivers/scsi/lpfc/lpfc_scsi.o
* LD [M] drivers/net/wireless/rtl818x/rtl8180/rtl8180.o
* CC [M] drivers/net/wireless/rtl818x/rtl8187/dev.o
*drivers/scsi/lpfc/lpfc_scsi.c: In function ‘lpfc_bg_setup_bpl’:
*drivers/scsi/lpfc/lpfc_scsi.c:1900:11: error: unused variable ‘rc’ [-Werror=unused-variable]
*drivers/scsi/lpfc/lpfc_scsi.c: In function ‘lpfc_bg_setup_bpl_prot’:
*drivers/scsi/lpfc/lpfc_scsi.c:2037:11: error: unused variable ‘rc’ [-Werror=unused-variable]
*drivers/scsi/lpfc/lpfc_scsi.c: In function ‘lpfc_bg_setup_sgl’:
*drivers/scsi/lpfc/lpfc_scsi.c:2256:11: error: unused variable ‘rc’ [-Werror=unused-variable]
*drivers/scsi/lpfc/lpfc_scsi.c: In function ‘lpfc_bg_setup_sgl_prot’:
*drivers/scsi/lpfc/lpfc_scsi.c:2386:11: error: unused variable ‘rc’ [-Werror=unused-variable]
*cc1: all warnings being treated as errors
*make[3]: *** [drivers/scsi/lpfc/lpfc_scsi.o] Error 1
*make[2]: *** [drivers/scsi/lpfc] Error 2
*make[1]: *** [drivers/scsi] Error 2
*-- |
|
This is a bug in the kernel. Open /usr/src/linux-3.4.0/drivers/scsi/lpfc/lpfc_scsi.c in your favorite text editor and delete lines 2386, 2256, 2037 and 1900 in that order. Save the file and recompile. This issue should disappear. |
Here is a patch that does this:
https://gist.github.com/2886793 |
I know I'm late to the party, but this fixed my issue on a custom build of 3.4,6 - thanks
Any word on if your patch is being integrated? |
|
Back to top |
|
|
ryao Retired Dev
Joined: 27 Feb 2012 Posts: 132
|
Posted: Sun Jul 29, 2012 11:10 pm Post subject: Re: gentoo-sources-3.4.0 errors out doesn't compile |
|
|
NuMPTy wrote: | ryao wrote: | ryao wrote: | cld71 wrote: | Code: | * CC [M] drivers/net/wireless/rtl818x/rtl8180/grf5101.o
* CC [M] drivers/scsi/lpfc/lpfc_scsi.o
* LD [M] drivers/net/wireless/rtl818x/rtl8180/rtl8180.o
* CC [M] drivers/net/wireless/rtl818x/rtl8187/dev.o
*drivers/scsi/lpfc/lpfc_scsi.c: In function ‘lpfc_bg_setup_bpl’:
*drivers/scsi/lpfc/lpfc_scsi.c:1900:11: error: unused variable ‘rc’ [-Werror=unused-variable]
*drivers/scsi/lpfc/lpfc_scsi.c: In function ‘lpfc_bg_setup_bpl_prot’:
*drivers/scsi/lpfc/lpfc_scsi.c:2037:11: error: unused variable ‘rc’ [-Werror=unused-variable]
*drivers/scsi/lpfc/lpfc_scsi.c: In function ‘lpfc_bg_setup_sgl’:
*drivers/scsi/lpfc/lpfc_scsi.c:2256:11: error: unused variable ‘rc’ [-Werror=unused-variable]
*drivers/scsi/lpfc/lpfc_scsi.c: In function ‘lpfc_bg_setup_sgl_prot’:
*drivers/scsi/lpfc/lpfc_scsi.c:2386:11: error: unused variable ‘rc’ [-Werror=unused-variable]
*cc1: all warnings being treated as errors
*make[3]: *** [drivers/scsi/lpfc/lpfc_scsi.o] Error 1
*make[2]: *** [drivers/scsi/lpfc] Error 2
*make[1]: *** [drivers/scsi] Error 2
*-- |
|
This is a bug in the kernel. Open /usr/src/linux-3.4.0/drivers/scsi/lpfc/lpfc_scsi.c in your favorite text editor and delete lines 2386, 2256, 2037 and 1900 in that order. Save the file and recompile. This issue should disappear. |
Here is a patch that does this:
https://gist.github.com/2886793 |
I know I'm late to the party, but this fixed my issue on a custom build of 3.4,6 - thanks
Any word on if your patch is being integrated? |
The LKML didn't like my patch and opted for a different solution that was apparently never merged. Please file a bug report about this. We can patch it in gentoo-sources. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|