Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error while running the genkernel all command
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
Zero0ne
n00b
n00b


Joined: 05 Apr 2011
Posts: 2

PostPosted: Tue Apr 05, 2011 9:17 pm    Post subject: Error while running the genkernel all command Reply with quote

* Gentoo Linux Genkernel; Version 3.4.10.907
* Running with options: all

* Linux Kernel 2.6.36-gentoo-r8 for x86...
* kernel: >> Running mrproper...
* config: Using config from /usr/share/genkernel/arch/x86/kernel-config
* Previous config backed up to .config.bak
* >> Running oldconfig...
* kernel: >> Cleaning...
* >> Compiling 2.6.36-gentoo-r8 bzImage...
* ERROR: Failed to compile the "bzImage" target...

* -- Grepping log... --

COMMAND: make -j2 CC="gcc" LD="ld" AS="as" ARCH="x86"
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
scripts/basic/docproc.c: In function 'docsect':
scripts/basic/docproc.c:336: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result
--
Disable ACPI for systems before Jan 1st this year (ACPI_BLACKLIST_YEAR) [0] 0
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) [M/y/?] m
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
--
COMMAND: make -j2 CC="gcc" LD="ld" AS="as" ARCH="x86"
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
scripts/basic/docproc.c: In function 'docsect':
scripts/basic/docproc.c:336: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result
--
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:97: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
--
In file included from /usr/src/linux-2.6.36-gentoo-r8/arch/x86/include/asm/uaccess.h:571,
from include/drm/drmP.h:65,
from drivers/gpu/drm/radeon/radeon_state.c:30:
In function 'copy_from_user',
inlined from 'radeon_cp_clear' at drivers/gpu/drm/radeon/radeon_state.c:2171:
/usr/src/linux-2.6.36-gentoo-r8/arch/x86/include/asm/uaccess_32.h:212: warning: call to 'copy_from_user_overflow' declared with attribute warning: copy_from_user() buffer size is not provably correct
--
LD drivers/input/gameport/built-in.o
LD drivers/gpu/drm/vmwgfx/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/pci/search.o
CC drivers/pnp/pnpacpi/core.o
CC drivers/pci/pci-sysfs.o
CC drivers/pnp/pnpacpi/rsparser.o
drivers/pci/pci-sysfs.c: In function 'pci_mmap_resource':
drivers/pci/pci-sysfs.c:753: warning: format '%16Lx' expects type 'long long unsigned int', but argument 9 has type 'resource_size_t'
drivers/pci/pci-sysfs.c:753: warning: format '%16Lx' expects type 'long long unsigned int', but argument 10 has type 'resource_size_t'
--
LD drivers/video/built-in.o
LD drivers/built-in.o
* Gentoo Linux Genkernel; Version 3.4.10.907
* 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!


This is the error I get when trying to run the genkernel all command in section 7d of the handbook, if someone could help with this I would greatly appreciate it.
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1214
Location: Massachusetts USA

PostPosted: Tue Apr 05, 2011 11:04 pm    Post subject: Reply with quote

See https://forums.gentoo.org/viewtopic-t-868641-start-0-postdays-0-postorder-asc-highlight-.html
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Wed Apr 06, 2011 12:12 am    Post subject: Reply with quote

boot cd, mount gentoo partitions, enter the chroot, use your partition device names in place of sda3 and sda1:
Code:
mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"

eliminate the error with these changes. Menuconfig Screenshots, View as slide show
Code:
genkernel --menuconfig all

we want
Quote:
General setup --->
[*] Prompt for development and/or incomplete code/drivers
() Cross-compiler tool prefix
() Local version - append to kernel release
[ ] Automatically append version information to the version string
Kernel compression mode (GZIP) --->
[*] Support for paging of anonymous memory (swap)
[*] System V IPC
[*] POSIX Message Queues
[*] BSD Process Accounting
[ ] BSD Process Accounting version 3 file format
[*] Export task/process statistics through netlink (EXPERIMENTAL)
[*] Enable per-task delay accounting (EXPERIMENTAL)
[*] Enable extended accounting over taskstats (EXPERIMENTAL)
[*] Enable per-task storage I/O accounting (EXPERIMENTAL)
[*] Auditing support
[*] Enable system-call auditing support
IRQ subsystem --->
RCU Subsystem --->
<*> Kernel .config support
[*] Enable access to .config through /proc/config.gz
(17) Kernel log buffer size (16 => 64KB, 17 => 128KB)
[*] Control Group support --->
-*- Namespaces support --->
[ ] Automatic process group scheduling
[ ] enable deprecated sysfs features to support old userspace tools
-*- Kernel->user space relay support (formerly relayfs)
[*] Initial RAM filesystem and RAM disk (initramfs/initrd) support
() Initramfs source file(s)

[*] Optimize for size
[ ] Configure standard kernel features (expert users) --->
[ ] Embedded system
-*- Load all symbols for debugging/ksymoops
-*- Include all symbols in kallsyms
[*] Do an extra kallsyms pass
Kernel Performance Events And Counters --->
[ ] Disable heap randomization
Choose SLAB allocator (SLUB (Unqueued Allocator)) --->
[*] Profiling support<M> OProfile system profiling
[*] OProfile multiplexing support (EXPERIMENTAL)
[*] Kprobes
[ ] Optimize trace point call sites
GCOV-based kernel profiling --->

_________________
Defund the FCC.
Back to top
View user's profile Send private message
likewhoa
l33t
l33t


Joined: 04 Oct 2006
Posts: 778
Location: Brooklyn, New York

PostPosted: Wed Apr 06, 2011 2:54 am    Post subject: Reply with quote

@ZeroOne see https://forums.gentoo.org/viewtopic-p-6612539.html#6612539 as this will solve your problem.
Back to top
View user's profile Send private message
Zero0ne
n00b
n00b


Joined: 05 Apr 2011
Posts: 2

PostPosted: Wed Apr 06, 2011 4:26 pm    Post subject: Reply with quote

Thank you its working now :)
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