Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-02-2005, 08:10 AM   #1
Registered: Jan 2004
Location: Earth
Distribution: Ubuntu
Posts: 301

Rep: Reputation: 30
Problems compiling kernel (gentoo on ppc)

Hello all. at the moment, i am trying to install gentoo onto an ibook (600mhz g3). however, regardless of whether i compile manually or use genkernel, i get some nasty little errors that i can't seem to find any info on. here is the latest result while attempting to compile with genkernel:

livecd linux # genkernel --udev all
* Gentoo Linux Genkernel; Version 3.1.5
* Compiling Linux Kernel 2.6.10-gentoo-r8 for ppc...

mount: special device /dev/BOOT does not exist
* WARNING: Failed to mount /boot!

* kernel: >> Running mrproper...
* config: Using config from /usr/share/genkernel/ppc/kernel-config-2.6
* Previous config backed up to .config.bak
* >> Running oldconfig...
* kernel: >> Cleaning...
* >> Compiling 2.6.10-gentoo-r8 vmlinux...
* ERROR: Failed to compile the "vmlinux" target...

* -- Grepping log... --

* Gentoo Linux Genkernel; Version 3.1.5

* Compiling Linux Kernel 2.6.10-gentoo-r8 for ppc...
* WARNING: Failed to mount /boot!
SCSI generic support (CHR_DEV_SG) [Y/n/m/?] y
* Some SCSI devices (e.g. CD jukebox) support multiple LUNs
Probe all LUNs on each SCSI device (SCSI_MULTI_LUN) [Y/n/?] y
Verbose SCSI error reporting (kernel size +=12K) (SCSI_CONSTANTS) [N/y/?] n
CC arch/ppc/kernel/align.o
CC arch/ppc/kernel/semaphore.o
CC arch/ppc/kernel/syscalls.o
CC arch/ppc/kernel/setup.o
arch/ppc/kernel/setup.c: In function `set_preferred_console':
arch/ppc/kernel/setup.c:488: warning: 'offset' might be used uninitialized in th
is function
CC arch/ppc/platforms/pmac_pci.o
AS arch/ppc/platforms/pmac_sleep.o
CC arch/ppc/platforms/pmac_low_i2c.o
CC arch/ppc/platforms/chrp_setup.o
arch/ppc/platforms/chrp_setup.c: In function `pegasos_set_l2cr':
arch/ppc/platforms/chrp_setup.c:222: warning: unused variable `l2cr_value'
CC arch/ppc/platforms/chrp_time.o
CC arch/ppc/platforms/chrp_pci.o
arch/ppc/platforms/chrp_pci.c: In function `peg2_read_config':
arch/ppc/platforms/chrp_pci.c:200: warning: 'msr' might be used uninitialized in
this function
arch/ppc/platforms/chrp_pci.c: In function `peg2_write_config':
arch/ppc/platforms/chrp_pci.c:255: warning: 'msr' might be used uninitialized in
this function
CC arch/ppc/platforms/pmac_nvram.o
CC arch/ppc/platforms/pmac_backlight.o
CC arch/ppc/platforms/residual.o
CC arch/ppc/platforms/pmac_smp.o
arch/ppc/platforms/pmac_smp.c: In function `smp_core99_probe':
arch/ppc/platforms/pmac_smp.c:456: warning: 'tbprop' might be used uninitialized
in this function
arch/ppc/platforms/pmac_smp.c: In function `smp_core99_kick_cpu':
arch/ppc/platforms/pmac_smp.c:503: warning: 'new_vector' might be used uninitial
ized in this function
CC arch/ppc/lib/locks.o
LD arch/ppc/lib/built-in.o
CC arch/ppc/syslib/prep_nvram.o
CC arch/ppc/syslib/prom_init.o
arch/ppc/syslib/prom_init.c: In function `prom_hold_cpus':
arch/ppc/syslib/prom_init.c:708: warning: null argument where non-null required
(arg 1)
arch/ppc/syslib/prom_init.c: In function `prom_init':
arch/ppc/syslib/prom_init.c:908: warning: assignment makes integer from pointer
without a cast
CC arch/ppc/syslib/prom.o
arch/ppc/syslib/prom.c: In function `finish_node':
arch/ppc/syslib/prom.c:311: warning: 'newintrc' might be used uninitialized in t
his function
arch/ppc/syslib/prom.c:311: warning: 'newaddrc' might be used uninitialized in t
his function
CC kernel/kmod.o
CC kernel/workqueue.o
CC kernel/pid.o
CC kernel/rcupdate.o
CC kernel/intermodule.o
kernel/intermodule.c:179: warning: `inter_module_register' is deprecated (declar
ed at kernel/intermodule.c:38)
kernel/intermodule.c:180: warning: `inter_module_unregister' is deprecated (decl
ared at kernel/intermodule.c:79)
kernel/intermodule.c:183: warning: `inter_module_put' is deprecated (declared at
CC mm/rmap.o
CC mm/vmalloc.o
CC mm/page_io.o
CC mm/swap_state.o
mm/swap_state.c: In function `__add_to_swap_cache':
mm/swap_state.c:92: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:> for instructions.
Preprocessed source stored into /tmp/ccdoKWt6.out file, please attach this to yo
ur bugreport.
make[1]: *** [mm/swap_state.o] Error 1
make: *** [mm] Error 2
* Gentoo Linux Genkernel; Version 3.1.5

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

* -- End log... --

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

* Report any genkernel bugs to and
* assign your bug to 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!
Old 08-03-2005, 12:48 AM   #2
Registered: Apr 2004
Distribution: Gentoo 2004.1
Posts: 56

Rep: Reputation: 15
looks like your /etc/fstab might be messed up. could you post that?
Old 08-05-2005, 07:40 PM   #3
Registered: Jan 2004
Location: Earth
Distribution: Ubuntu
Posts: 301

Original Poster
Rep: Reputation: 30
unfortunately no. i need that machine up so i was forced to put osx back on it for the time being. i am considering trying netbsd but i am very unfamilar with it and how easy/difficult getting the airport card to work is. i have set it up with two partitions, one with osx and one to be used during the next attempt at another os but i wouldn't be able to attempt it untill next thursday when i get some time off.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't compile gentoo patched kernel on ppc raven Linux - Software 2 06-21-2005 06:49 AM
Gentoo ppc fstab... no gentoo documentation I_Come_anon3410 Linux - Software 0 01-16-2005 10:28 PM
Gentoo Stage 3 ppc issues MACSRULE Linux - General 0 09-15-2004 05:06 PM
Emerging ppc kernel in gentoo MACSRULE Linux - Newbie 3 09-12-2004 12:48 AM
Gentoo on PPC Shr00mBoXx Linux - Distributions 1 08-25-2004 02:27 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration