Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #####################################################
- ## For you Googlers or those who stumble on this ##
- ## Every time I go through this process my box ##
- ## won't boot. I MUST be doing something wrong ##
- ## but even after 6 attempts, I'm tripping over ##
- ## the same issue. I'm 'too close' or 'too ##
- ## focused' on the project that eyes can't see ##
- ## my mistake. ##
- ## Any assistance is very much appercicated! ##
- ## I have documented my installation process here ##
- ## http://pastebin.com/Hp0Cnecv ##
- ## It's just a condensed version of the handbook ##
- ## documenting every command step by step. ##
- #####################################################
- #####################################################
- ## Update: The boot issue (near the end) requires ##
- ## some manual fixing during the installation ##
- ## (read: while in the LiveCD environment) or ##
- ## after you did everything; just boot from the ##
- ## LiveCD again See the OpenRC Fixes here: ##
- ## http://xrl.us/openrc ##
- #####################################################
- (chroot) livecd / # gcc -v
- Using built-in specs.
- Target: x86_64-pc-linux-gnu
- Configured with: /var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.5 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.5 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.5/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.5/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.4.5/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.4.5 p1.2, pie-0.4.5'
- Thread model: posix
- gcc version 4.4.5 (Gentoo 4.4.5 p1.2, pie-0.4.5)
- (chroot) livecd / # cat /etc/make.conf
- # These settings were set by the catalyst build script that automatically
- # built this stage.
- # Please consult /usr/share/portage/config/make.conf.example for a more
- # detailed example.
- CFLAGS="-march=native -mtune=generic -O2 -pipe"
- CXXFLAGS="${CFLAGS}"
- # WARNING: Changing your CHOST is not something that should be done lightly.
- # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
- CHOST="x86_64-pc-linux-gnu"
- # These are the USE flags that were used in addition to what is provided by the
- # profile used for building.
- USE="mmx sse sse2 -gtk -gnome -qt4 -kde -dvd -alsa -cdr"
- MAKEOPTS="-j2"
- GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrors.tds.net/gentoo"
- SYNC="rsync://rsync26.us.gentoo.org/gentoo-portage"
- (chroot) livecd / # zcat /proc/config.gz > /usr/share/genkernel/arch/x86_64/kernel-config
- (chroot) livecd / # genkernel --menuconfig all
- * Gentoo Linux Genkernel; Version 3.4.10.907
- * Running with options: --menuconfig all
- grep: /usr/src/linux/.config: No such file or directory
- * Linux Kernel 2.6.38-gentoo-r6 for x86_64...
- * kernel: >> Running mrproper...
- * config: Using config from /usr/share/genkernel/arch/x86_64/kernel-config
- * Previous config backed up to .config.bak
- * >> Running oldconfig...
- * kernel: >> Cleaning...
- * config: >> Invoking menuconfig...
- #
- # configuration written to .config
- #
- *** End of the configuration.
- *** Execute 'make' to start the build or try 'make help'.
- * >> Compiling 2.6.38-gentoo-r6 bzImage...
- * >> Compiling 2.6.38-gentoo-r6 modules...
- * ERROR: Failed to compile the "modules_install" target...
- * -- Grepping log... --
- 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
- --
- CC drivers/base/driver.o
- CC fs/lockd/xdr.o
- CC drivers/base/class.o
- CC drivers/base/platform.o
- CC fs/lockd/grace.o
- drivers/base/platform.c:645: warning: 'platform_legacy_suspend' defined but not used
- drivers/base/platform.c:657: warning: 'platform_legacy_resume' defined but not used
- CC fs/lockd/clnt4xdr.o
- cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
- --
- CC fs/reiserfs/dir.o
- CC drivers/pci/pci.o
- CC fs/reiserfs/fix_node.o
- CC drivers/pci/pci-driver.o
- CC fs/reiserfs/super.o
- drivers/pci/pci-driver.c:456: warning: 'pci_pm_default_resume_early' defined but not used
- drivers/pci/pci-driver.c:500: warning: 'pci_legacy_suspend' defined but not used
- drivers/pci/pci-driver.c:527: warning: 'pci_legacy_suspend_late' defined but not used
- drivers/pci/pci-driver.c:558: warning: 'pci_legacy_resume_early' defined but not used
- drivers/pci/pci-driver.c:567: warning: 'pci_legacy_resume' defined but not used
- drivers/pci/pci-driver.c:580: warning: 'pci_pm_default_resume' defined but not used
- drivers/pci/pci-driver.c:588: warning: 'pci_pm_default_suspend' defined but not used
- drivers/pci/pci-driver.c:595: warning: 'pci_has_legacy_pm_support' defined but not used
- cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
- --
- LD fs/xfs/xfs.o
- LD fs/xfs/built-in.o
- CC fs/eventpoll.o
- CC drivers/video/sysfillrect.o
- fs/eventpoll.c: In function 'ep_poll':
- fs/eventpoll.c:1143: warning: 'slack' may be used uninitialized in this function
- At top level:
- cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
- --
- LD net/sunrpc/auth_gss/built-in.o
- LD net/sunrpc/built-in.o
- LD net/built-in.o
- LD vmlinux.o
- MODPOST vmlinux.o
- WARNING: modpost: Found 7 section mismatch(es).
- --
- CC [M] fs/gfs2/glock.o
- CC [M] fs/gfs2/glops.o
- CC [M] fs/gfs2/inode.o
- CC [M] crypto/aes_generic.o
- fs/gfs2/inode.c: In function 'gfs2_lookup_by_inum':
- fs/gfs2/inode.c:188: warning: 'inode' may be used uninitialized in this function
- At top level:
- cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
- --
- CC [M] crypto/khazad.o
- CC [M] fs/gfs2/dentry.o
- CC [M] crypto/anubis.o
- CC [M] fs/gfs2/export.o
- crypto/anubis.c: In function 'anubis_crypt':
- crypto/anubis.c:581: warning: 'inter' is used uninitialized in this function
- At top level:
- cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
- --
- CC [M] fs/ocfs2/cluster/ver.o
- LD [M] fs/ocfs2/cluster/ocfs2_nodemanager.o
- CC [M] fs/ocfs2/dlm/dlmdomain.o
- CC [M] drivers/block/cpqarray.o
- drivers/block/cpqarray.c: In function 'do_ida_request':
- drivers/block/cpqarray.c:972: warning: the frame size of 1056 bytes is larger than 1024 bytes
- At top level:
- cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
- --
- CC [M] drivers/char/hw_random/virtio-rng.o
- CC [M] drivers/char/ipmi/ipmi_msghandler.o
- CC [M] sound/core/hwdep.o
- CC [M] sound/core/memalloc.o
- drivers/char/ipmi/ipmi_msghandler.c: In function 'send_panic_events':
- drivers/char/ipmi/ipmi_msghandler.c:4399: warning: the frame size of 1104 bytes is larger than 1024 bytes
- At top level:
- cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
- --
- CC [M] sound/pci/hda/patch_via.o
- CC [M] drivers/message/i2o/bus-osm.o
- CC [M] drivers/message/i2o/config-osm.o
- In file included from drivers/message/i2o/config-osm.c:39:
- drivers/message/i2o/i2o_config.c: In function 'i2o_cfg_passthru':
- drivers/message/i2o/i2o_config.c:881: warning: cast to pointer from integer of different size
- drivers/message/i2o/i2o_config.c:936: warning: cast to pointer from integer of different size
- CC [M] sound/pci/hda/hda_codec.o
- drivers/message/i2o/i2o_config.c: In function 'i2o_cfg_passthru32':
- drivers/message/i2o/i2o_config.c:739: warning: the frame size of 1280 bytes is larger than 1024 bytes
- drivers/message/i2o/i2o_config.c: In function 'i2o_cfg_passthru':
- drivers/message/i2o/i2o_config.c:975: warning: the frame size of 1280 bytes is larger than 1024 bytes
- At top level:
- cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
- --
- LD [M] sound/pci/snd-sonicvibes.o
- LD [M] sound/pci/snd-via82xx.o
- LD [M] sound/pci/snd-via82xx-modem.o
- CC [M] sound/pcmcia/pdaudiocf/pdaudiocf.o
- sound/pcmcia/pdaudiocf/pdaudiocf.c: In function 'pdacf_config':
- sound/pcmcia/pdaudiocf/pdaudiocf.c:226: warning: 'pcmcia_request_exclusive_irq' is deprecated (declared at include/pcmcia/ds.h:201)
- At top level:
- cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
- --
- CC [M] sound/pcmcia/pdaudiocf/pdaudiocf_pcm.o
- CC [M] drivers/net/acenic.o
- LD [M] sound/pcmcia/pdaudiocf/snd-pdaudiocf.o
- CC [M] sound/pcmcia/vx/vxpocket.o
- sound/pcmcia/vx/vxpocket.c: In function 'vxpocket_config':
- sound/pcmcia/vx/vxpocket.c:232: warning: 'pcmcia_request_exclusive_irq' is deprecated (declared at include/pcmcia/ds.h:201)
- At top level:
- cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
- --
- CC [M] drivers/net/e1000e/phy.o
- CC [M] net/mac80211/spectmgmt.o
- CC [M] net/mac80211/tx.o
- CC [M] drivers/net/e1000e/param.o
- net/mac80211/tx.c: In function 'ieee80211_subif_start_xmit':
- net/mac80211/tx.c:1753: warning: unused variable 'mppath'
- CC [M] drivers/net/e1000e/ethtool.o
- At top level:
- cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
- --
- LD [M] lib/lzo/lzo_compress.o
- LD [M] lib/lzo/lzo_decompress.o
- CC [M] lib/raid6/algos.o
- CC [M] drivers/net/pcmcia/nmclan_cs.o
- drivers/net/pcmcia/nmclan_cs.c: In function 'nmclan_config':
- drivers/net/pcmcia/nmclan_cs.c:628: warning: 'pcmcia_request_exclusive_irq' is deprecated (declared at include/pcmcia/ds.h:201)
- CC [M] lib/raid6/recov.o
- At top level:
- cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
- --
- CC [M] drivers/net/vxge/vxge-ethtool.o
- CC [M] drivers/net/usb/dm9601.o
- CC [M] drivers/net/vxge/vxge-main.o
- CC [M] drivers/net/usb/smsc75xx.o
- drivers/net/vxge/vxge-main.c: In function 'vxge_tx_msix_handle':
- drivers/net/vxge/vxge-main.c:2150: warning: the frame size of 1040 bytes is larger than 1024 bytes
- CC [M] drivers/net/usb/smsc95xx.o
- drivers/net/vxge/vxge-main.c: In function 'vxge_poll_inta':
- drivers/net/vxge/vxge-main.c:1844: warning: the frame size of 1072 bytes is larger than 1024 bytes
- At top level:
- cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
- --
- CC [M] drivers/net/wan/wanxl.o
- CC [M] drivers/net/wireless/airo.o
- CC [M] drivers/scsi/scsi_transport_srp.o
- CC [M] drivers/scsi/iscsi_boot_sysfs.o
- CC [M] drivers/scsi/advansys.o
- drivers/scsi/advansys.c:72:2: warning: #warning this driver is still not properly converted to the DMA API
- --
- CC [M] drivers/scsi/ips.o
- CC [M] drivers/net/wireless/ray_cs.o
- CC [M] drivers/net/wireless/wl3501_cs.o
- CC [M] drivers/scsi/fdomain.o
- drivers/net/wireless/wl3501_cs.c: In function 'wl3501_mgmt_scan_confirm':
- drivers/net/wireless/wl3501_cs.c:656: warning: 'sig' is used uninitialized in this function
- At top level:
- cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
- --
- CC [M] drivers/virtio/virtio_balloon.o
- CC [M] drivers/xen/platform-pci.o
- LD [M] drivers/xen/xen-platform-pci.o
- Building modules, stage 2.
- MODPOST 834 modules
- WARNING: modpost: Found 1 section mismatch(es).
- --
- INSTALL sound/usb/usx2y/snd-usb-usx2y.ko
- make[1]: *** No rule to make target `/lib/firmware/./', needed by `/lib/firmware/atmsar11.fw'. Stop.
- make[1]: *** Waiting for unfinished jobs....
- MKDIR /lib/firmware/acenic/
- MKDIR /lib/firmware/adaptec/
- make: *** [_modinst_post] Error 2
- * Gentoo Linux Genkernel; Version 3.4.10.907
- * Running with options: --menuconfig all
- * ERROR: Failed to compile the "modules_install" 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 [email protected]. 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!
- ################################################
- ## /var/log/genkernel.log can be found here ##
- ## http://paste.pocoo.org/show/419307/ ##
- ################################################
- ####################################################################
- ## Here I try again (back-to-back with no configuration changes) ##
- ## And suddenly it completes error free ##
- ####################################################################
- (chroot) livecd / # genkernel --menuconfig all
- * Gentoo Linux Genkernel; Version 3.4.10.907
- * Running with options: --menuconfig all
- * Linux Kernel 2.6.38-gentoo-r6 for x86_64...
- * kernel: >> Running mrproper...
- * config: Using config from /usr/share/genkernel/arch/x86_64/kernel-config
- * Previous config backed up to .config.bak
- * >> Running oldconfig...
- * kernel: >> Cleaning...
- * config: >> Invoking menuconfig...
- #
- # configuration written to .config
- #
- *** End of the configuration.
- *** Execute 'make' to start the build or try 'make help'.
- * >> Compiling 2.6.38-gentoo-r6 bzImage...
- * >> Compiling 2.6.38-gentoo-r6 modules...
- * Copying config for successful build to /etc/kernels/kernel-config-x86_64-2.6.38-gentoo-r6
- * e2fsprogs: >> Configuring...
- * e2fsprogs: >> Compiling...
- * blkid: >> Copying to cache...
- * busybox: >> Applying patches...
- * busybox: >> Configuring...
- * busybox: >> Compiling...
- * busybox: >> Copying to cache...
- * initramfs: >> Initializing...
- * >> Appending base_layout cpio data...
- * >> Appending auxilary cpio data...
- * >> Appending busybox cpio data...
- * >> Appending modules cpio data...
- * >> Appending blkid cpio data...
- *
- * Kernel compiled successfully!
- *
- * Required Kernel Parameters:
- * real_root=/dev/$ROOT
- *
- * Where $ROOT is the device node for your root partition as the
- * one specified in /etc/fstab
- *
- * If you require Genkernel's hardware detection features; you MUST
- * tell your bootloader to use the provided INITRAMFS file. Otherwise;
- * substitute the root argument for the real_root argument if you are
- * not planning to use the initramfs...
- * WARNING... WARNING... WARNING...
- * Additional kernel cmdline arguments that *may* be required to boot properly...
- * Do NOT report kernel bugs as genkernel bugs unless your bug
- * is about the default genkernel configuration...
- *
- * Make sure you have the latest genkernel before reporting bugs.
- # After that's all said and done I exit the chrooted environment
- # The system complains that shm was not mounted (?)
- # And after I reboot I get this error during the boot sequence
- #######################################
- ## Update: See http://xrl.us/openrc ##
- #######################################
- >> Activating mdev
- >> Determining root device...
- >> Mounting root...
- >> Booting (initramfs)>> ERROR: your real /dev is missing files required to boot (console and null)..
- switch_root: can't open '/dev/console': No such file or directory
- Kernel panic - not syncing: Attempting to kill init!
- Pid: 1, comm: switch_root Not tainted 2.6.38-gentoo-r6 #1
- # Again, my step-by-step process is here http://pastebin.com/Hp0Cnecv
Advertisement
Add Comment
Please, Sign In to add comment