Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error during genkernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
REmaxer
Tux's lil' helper
Tux's lil' helper


Joined: 03 Sep 2011
Posts: 146

PostPosted: Sat Sep 03, 2011 3:37 pm    Post subject: Error during genkernel Reply with quote

While can compile kernel with genkernel get this message
failed to compile the bzimage target

this is the log

Code:
*         >> Compiling 2.6.39-gentoo-r3 bzImage...
* ERROR: Failed to compile the "bzImage" target...

* -- Grepping log... --

  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --oldconfig Kconfig
.config:3224:warning: symbol value 'm' invalid for BRCMSMAC
.config:3225:warning: symbol value 'm' invalid for BRCMFMAC
--
  Processor (ACPI_PROCESSOR) [N/m/y/?] n
  Debug Statements (ACPI_DEBUG) [N/y/?] n
  PCI slot detection driver (ACPI_PCI_SLOT) [N/m/y/?] n
  Container and Module Devices (EXPERIMENTAL) (ACPI_CONTAINER) [N/m/y/?] n
  Smart Battery System (ACPI_SBS) [N/m/y/?] n
  Hardware Error Device (ACPI_HED) [N/m/y/?] n
  ACPI Platform Error Interface (APEI) (ACPI_APEI) [N/y/?] n
--
  SHIPPED scripts/genksyms/parse.h
  SHIPPED scripts/genksyms/keywords.c
  SHIPPED scripts/genksyms/parse.c
  HOSTCC  scripts/genksyms/lex.o
scripts/genksyms/lex.c: In function 'yylex1':
scripts/genksyms/lex.l:93: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
--
  LD      drivers/hwmon/built-in.o
  CC      drivers/gpu/drm/radeon/atombios_dp.o
make[1]: *** No rule to make target `/lib/firmware/iwlwifi-100-5.ucode', needed by `firmware/iwlwifi-100-5.ucode.gen.o'.  Stop.
make[1]: *** Waiting for unfinished jobs....
  MK_FW   firmware/iwlwifi-100-5.ucode.gen.S
make: *** [firmware] Error 2
--
  CC      drivers/scsi/scsi_scan.o
  CC      drivers/pci/iova.o
  CC      drivers/pci/intel-iommu.o
  CC      drivers/scsi/scsi_sysfs.o
drivers/pci/intel-iommu.c: In function 'init_iommu_pm_ops':
drivers/pci/intel-iommu.c:3250: warning: no return statement in function returning non-void
  CC      drivers/scsi/scsi_devinfo.o
At top level:
cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
--
  LD      drivers/video/omap2/built-in.o
  CC      drivers/video/console/softcursor.o
  CC      drivers/video/cfbfillrect.o
  CC      drivers/video/console/fbcondecor.o
  CC      drivers/video/console/cfbcondecor.o
drivers/video/console/fbcondecor.c:513: warning: function declaration isn't a prototype
cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
--
  LD      drivers/video/built-in.o
  LD      drivers/built-in.o
* Gentoo Linux Genkernel; Version 3.4.16
* Running with options: --menuconfig all

* ERROR: Failed to compile the "bzImage" target...
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Sep 03, 2011 3:44 pm    Post subject: Reply with quote

Fresh install?

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
REmaxer
Tux's lil' helper
Tux's lil' helper


Joined: 03 Sep 2011
Posts: 146

PostPosted: Sat Sep 03, 2011 3:46 pm    Post subject: Reply with quote

What....Manual install.....
No it's too hard.....can you help me
Back to top
View user's profile Send private message
mp342
Apprentice
Apprentice


Joined: 03 Aug 2010
Posts: 165
Location: France

PostPosted: Sat Sep 03, 2011 3:55 pm    Post subject: Reply with quote

I have the same problem everytime I compile a kernel after the installation. I launch genkernel again and the problem disappear (?).
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Sep 03, 2011 3:56 pm    Post subject: Reply with quote

I just meant "fresh" as in a new install as opposed to using generkernel to compile a new kernel for an already installed Gentoo, but that's okay. I understand.

The compile is failing because it doesn't have access to the firmware for the Intel PRO/Wireless network card. You can either re-run genkernel with the --menuconfig option and disable the build of the drivers for that card (if you don't have one). Otherwise, and probably simpler, you can emerge the firware:
Code:
emerge -av net-wireless/iwl3945-ucode
Does this make sense?

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.


Last edited by John R. Graham on Sat Sep 03, 2011 3:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
REmaxer
Tux's lil' helper
Tux's lil' helper


Joined: 03 Sep 2011
Posts: 146

PostPosted: Sat Sep 03, 2011 3:58 pm    Post subject: Reply with quote

I got it.I try....
Back to top
View user's profile Send private message
REmaxer
Tux's lil' helper
Tux's lil' helper


Joined: 03 Sep 2011
Posts: 146

PostPosted: Sat Sep 03, 2011 4:03 pm    Post subject: Reply with quote

Don't work again....
Code:
* -- Grepping log... --

  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --oldconfig Kconfig
.config:3224:warning: symbol value 'm' invalid for BRCMSMAC
.config:3225:warning: symbol value 'm' invalid for BRCMFMAC
--
  Processor (ACPI_PROCESSOR) [N/m/y/?] n
  Debug Statements (ACPI_DEBUG) [N/y/?] n
  PCI slot detection driver (ACPI_PCI_SLOT) [N/m/y/?] n
  Container and Module Devices (EXPERIMENTAL) (ACPI_CONTAINER) [N/m/y/?] n
  Smart Battery System (ACPI_SBS) [N/m/y/?] n
  Hardware Error Device (ACPI_HED) [N/m/y/?] n
  ACPI Platform Error Interface (APEI) (ACPI_APEI) [N/y/?] n
--
  SHIPPED scripts/genksyms/parse.h
  SHIPPED scripts/genksyms/keywords.c
  SHIPPED scripts/genksyms/parse.c
  HOSTCC  scripts/genksyms/lex.o
scripts/genksyms/lex.c: In function 'yylex1':
scripts/genksyms/lex.l:93: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
--
  CC      drivers/gpu/drm/radeon/atombios_dp.o
  LD      drivers/hwmon/built-in.o
make[1]: *** No rule to make target `/lib/firmware/iwlwifi-100-5.ucode', needed by `firmware/iwlwifi-100-5.ucode.gen.o'.  Stop.
make[1]: *** Waiting for unfinished jobs....
  MK_FW   firmware/iwlwifi-100-5.ucode.gen.S
make: *** [firmware] Error 2
--
  CC      drivers/scsi/scsi_scan.o
  CC      drivers/pci/iova.o
  CC      drivers/pci/intel-iommu.o
  CC      drivers/scsi/scsi_sysfs.o
drivers/pci/intel-iommu.c: In function 'init_iommu_pm_ops':
drivers/pci/intel-iommu.c:3250: warning: no return statement in function returning non-void
  CC      drivers/scsi/scsi_devinfo.o
At top level:
cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
--
  LD      drivers/video/omap2/dss/built-in.o
  LD      drivers/video/omap2/omapfb/built-in.o
  LD      drivers/video/omap2/built-in.o
  CC      drivers/video/console/fbcondecor.o
  CC      drivers/video/cfbfillrect.o
drivers/video/console/fbcondecor.c:513: warning: function declaration isn't a prototype
cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
--
  LD      drivers/video/built-in.o
  LD      drivers/built-in.o
* Gentoo Linux Genkernel; Version 3.4.16
* Running with options: all

* ERROR: Failed to compile the "bzImage" target...

* -- End log... --

* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.

* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
Back to top
View user's profile Send private message
REmaxer
Tux's lil' helper
Tux's lil' helper


Joined: 03 Sep 2011
Posts: 146

PostPosted: Sat Sep 03, 2011 4:16 pm    Post subject: Reply with quote

UP
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Sep 03, 2011 4:24 pm    Post subject: Reply with quote

Pardon me?
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
REmaxer
Tux's lil' helper
Tux's lil' helper


Joined: 03 Sep 2011
Posts: 146

PostPosted: Sat Sep 03, 2011 4:32 pm    Post subject: Reply with quote

Can you help me...
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Sep 03, 2011 4:42 pm    Post subject: Reply with quote

Was researching. This post has some kernel configuration changes that ought to help you. You make these changes by running
Code:
genkernel --menuconfig all
Let me know if this makes sense.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
REmaxer
Tux's lil' helper
Tux's lil' helper


Joined: 03 Sep 2011
Posts: 146

PostPosted: Sat Sep 03, 2011 4:54 pm    Post subject: Reply with quote

it's the same error
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Sep 03, 2011 5:16 pm    Post subject: Reply with quote

Emerge wgetpaste and then
Code:
wgetpaste /etc/genkernel.conf
wgetpaste /usr/src/linux/.config
and then post the links, please.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
REmaxer
Tux's lil' helper
Tux's lil' helper


Joined: 03 Sep 2011
Posts: 146

PostPosted: Sat Sep 03, 2011 5:19 pm    Post subject: Reply with quote

i've solved that error...now if i get a new errot let you know....
Back to top
View user's profile Send private message
REmaxer
Tux's lil' helper
Tux's lil' helper


Joined: 03 Sep 2011
Posts: 146

PostPosted: Sat Sep 03, 2011 5:21 pm    Post subject: Reply with quote

For the users with my same error.....
you must edit file kernel-config.conf and delete support for install secondary firmwares......
i now get a new error
Code:

* Gentoo Linux Genkernel; Version 3.4.16
* Running with options: --install all

* Linux Kernel 2.6.39-gentoo-r3 for x86_64...
* kernel: Using config from /usr/share/genkernel/arch/x86_64/kernel-config
*         Previous config backed up to .config--2011-09-03--21-15-55.bak
* kernel: >> Running mrproper...
*         >> Running oldconfig...
* kernel: >> Cleaning...
*         >> Compiling 2.6.39-gentoo-r3 bzImage...
* ERROR: Failed to compile the "bzImage" target...

* -- Grepping log... --

  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --oldconfig Kconfig
.config:3224:warning: symbol value 'm' invalid for BRCMSMAC
.config:3225:warning: symbol value 'm' invalid for BRCMFMAC
--
  Processor (ACPI_PROCESSOR) [N/m/y/?] n
  Debug Statements (ACPI_DEBUG) [N/y/?] n
  PCI slot detection driver (ACPI_PCI_SLOT) [N/m/y/?] n
  Container and Module Devices (EXPERIMENTAL) (ACPI_CONTAINER) [N/m/y/?] n
  Smart Battery System (ACPI_SBS) [N/m/y/?] n
  Hardware Error Device (ACPI_HED) [N/m/y/?] n
  ACPI Platform Error Interface (APEI) (ACPI_APEI) [N/y/?] n
--
  SHIPPED scripts/genksyms/parse.h
  SHIPPED scripts/genksyms/keywords.c
  SHIPPED scripts/genksyms/parse.c
  HOSTCC  scripts/genksyms/lex.o
scripts/genksyms/lex.c: In function 'yylex1':
scripts/genksyms/lex.l:93: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
--
  CC      drivers/pci/dmar.o
  CC      net/ipv4/tcp_timer.o
  CC      drivers/pci/iova.o
  CC      drivers/pci/intel-iommu.o
drivers/pci/intel-iommu.c: In function 'init_iommu_pm_ops':
drivers/pci/intel-iommu.c:3250: warning: no return statement in function returning non-void
  CC      net/ipv4/tcp_ipv4.o
At top level:
cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
--
  LD      net/xfrm/built-in.o
  CC      net/compat.o
  CC      drivers/video/console/softcursor.o
  CC      drivers/video/console/fbcondecor.o
  CC      net/sysctl_net.o
drivers/video/console/fbcondecor.c:513: warning: function declaration isn't a prototype
cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
--
  HOSTCC  arch/x86/boot/compressed/mkpiggy
  AS      arch/x86/boot/pmjump.o
  CC      arch/x86/boot/printf.o
  LZO     arch/x86/boot/compressed/vmlinux.bin.lzo
/bin/sh: lzop: command not found
make[2]: *** [arch/x86/boot/compressed/vmlinux.bin.lzo] Error 1
make[1]: *** [arch/x86/boot/compressed/vmlinux] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [bzImage] Error 2
* Gentoo Linux Genkernel; Version 3.4.16
* Running with options: --install all

* ERROR: Failed to compile the "bzImage" target...

* -- End log... --

* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.

* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
Back to top
View user's profile Send private message
REmaxer
Tux's lil' helper
Tux's lil' helper


Joined: 03 Sep 2011
Posts: 146

PostPosted: Sat Sep 03, 2011 5:30 pm    Post subject: Reply with quote

I've solved .
Thank you for everything guy.. >)
Back to top
View user's profile Send private message
mp342
Apprentice
Apprentice


Joined: 03 Aug 2010
Posts: 165
Location: France

PostPosted: Sat Sep 03, 2011 5:31 pm    Post subject: Reply with quote

You have chosen lzo as compression format for the image.

Install lzop.
Back to top
View user's profile Send private message
REmaxer
Tux's lil' helper
Tux's lil' helper


Joined: 03 Sep 2011
Posts: 146

PostPosted: Sat Sep 03, 2011 5:33 pm    Post subject: Reply with quote

Thanks....
I wont use gzip but i didn't find the section for compression format in configuration file....
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sun Sep 04, 2011 2:36 pm    Post subject: Reply with quote

Code:
genkernel --menuconfig all
Edit to:
Quote:
General setup --->
Kernel compression mode (Gzip) ---> # select this item, in the dialog that appears arrow to gzip and click enter
[*] Initial RAM filesystem and RAM disk (initramfs/initrd) support
( ) Initramfs source file(s) # select this item, in the dialog that appears enter a space to activate the submenu
(0) User ID to map to 0 (user root)
(0) Group ID to map to 0 (group root)
Built-in initramfs compression mode (Gzip) ---> # select this item, in the dialog that appears arrow to gzip and enter

exit menuconfig saving the new configuration and allow genkernel to complete.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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