View previous topic :: View next topic |
Author |
Message |
samsungNC10user n00b
Joined: 20 Mar 2009 Posts: 73
|
Posted: Mon Oct 08, 2012 3:01 pm Post subject: gentoo 64 installation problems |
|
|
bad minimal images or what?
the latest gentoo minimal image won't net_setup so i am using 201206 one
everything is going well until
Quote: | (chroot) livecd linux # make && make modules_install
scripts/kconfig/conf --silentoldconfig Kconfig
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `relocs'.
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
LDS arch/x86/kernel/acpi/realmode/wakeup.lds
LD arch/x86/kernel/acpi/realmode/wakeup.elf
OBJCOPY arch/x86/kernel/acpi/realmode/wakeup.bin
AS arch/x86/kernel/acpi/wakeup_rm.o
LD arch/x86/kernel/acpi/built-in.o
LD arch/x86/kernel/built-in.o
LDS arch/x86/kernel/vmlinux.lds
LDS arch/x86/vdso/vdso.lds
VDSO arch/x86/vdso/vdso.so.dbg
OBJCOPY arch/x86/vdso/vdso.so
AS arch/x86/vdso/vdso.o
LDS arch/x86/vdso/vdso32/vdso32.lds
VDSO arch/x86/vdso/vdso32-int80.so.dbg
OBJCOPY arch/x86/vdso/vdso32-int80.so
VDSO arch/x86/vdso/vdso32-syscall.so.dbg
OBJCOPY arch/x86/vdso/vdso32-syscall.so
VDSO arch/x86/vdso/vdso32-sysenter.so.dbg
OBJCOPY arch/x86/vdso/vdso32-sysenter.so
AS arch/x86/vdso/vdso32.o
VDSOSYM arch/x86/vdso/vdso-syms.lds
VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
VDSOSYM arch/x86/vdso/vdso32-syscall-syms.lds
VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
VDSOSYM arch/x86/vdso/vdso32-syms.lds
LD arch/x86/vdso/built-in.o
LD arch/x86/built-in.o
GZIP kernel/config_data.gz
CHK kernel/config_data.h
UPD kernel/config_data.h
CC kernel/configs.o
LD kernel/built-in.o
LD fs/btrfs/built-in.o
CC [M] fs/btrfs/super.o
CC [M] fs/btrfs/ctree.o
CC [M] fs/btrfs/extent-tree.o
CC [M] fs/btrfs/print-tree.o
CC [M] fs/btrfs/root-tree.o
CC [M] fs/btrfs/dir-item.o
CC [M] fs/btrfs/file-item.o
CC [M] fs/btrfs/inode-item.o
CC [M] fs/btrfs/inode-map.o
CC [M] fs/btrfs/disk-io.o
CC [M] fs/btrfs/transaction.o
CC [M] fs/btrfs/inode.o
CC [M] fs/btrfs/file.o
CC [M] fs/btrfs/tree-defrag.o
CC [M] fs/btrfs/extent_map.o
CC [M] fs/btrfs/sysfs.o
CC [M] fs/btrfs/struct-funcs.o
CC [M] fs/btrfs/xattr.o
CC [M] fs/btrfs/ordered-data.o
CC [M] fs/btrfs/extent_io.o
CC [M] fs/btrfs/volumes.o
CC [M] fs/btrfs/async-thread.o
CC [M] fs/btrfs/ioctl.o
CC [M] fs/btrfs/locking.o
CC [M] fs/btrfs/orphan.o
CC [M] fs/btrfs/export.o
CC [M] fs/btrfs/tree-log.o
CC [M] fs/btrfs/free-space-cache.o
CC [M] fs/btrfs/zlib.o
CC [M] fs/btrfs/lzo.o
CC [M] fs/btrfs/compression.o
CC [M] fs/btrfs/delayed-ref.o
CC [M] fs/btrfs/relocation.o
CC [M] fs/btrfs/delayed-inode.o
CC [M] fs/btrfs/scrub.o
CC [M] fs/btrfs/reada.o
CC [M] fs/btrfs/backref.o
CC [M] fs/btrfs/ulist.o
LD [M] fs/btrfs/btrfs.o
CC [M] drivers/scsi/lpfc/lpfc_scsi.o
cc1: warnings being treated as errors
drivers/scsi/lpfc/lpfc_scsi.c: In function 'lpfc_bg_setup_bpl':
drivers/scsi/lpfc/lpfc_scsi.c:1900:11: error: unused variable 'rc'
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'
drivers/scsi/lpfc/lpfc_scsi.c: In function 'lpfc_bg_setup_sgl':
drivers/scsi/lpfc/lpfc_scsi.c:2256:11: error: unused variable 'rc'
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'
make[3]: *** [drivers/scsi/lpfc/lpfc_scsi.o] Error 1
make[2]: *** [drivers/scsi/lpfc] Error 2
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2 |
neither genkernell nor manual config will compile, i haven't touched the settings yet
what now? another image?
genkernel compiled but stopped on modules, will gentoo start with kernel only? |
|
Back to top |
|
|
samsungNC10user n00b
Joined: 20 Mar 2009 Posts: 73
|
Posted: Mon Oct 08, 2012 3:27 pm Post subject: |
|
|
Quote: | (chroot) livecd linux # genkernel all
* Gentoo Linux Genkernel; Version 3.4.24_p2
* Running with options: all
* Linux Kernel 3.4.9-gentoo for x86_64...
* kernel: Using config from /usr/share/genkernel/arch/x86_64/kernel-config
* Previous config backed up to .config--2012-10-08--19-14-34.bak
* kernel: >> Running mrproper...
* >> Running oldconfig...
* kernel: >> Cleaning...
* >> Compiling 3.4.9-gentoo bzImage...
* >> Not installing firmware as it's included in the kernel already (CONFIG_FIRMWARE_IN_KERNEL=y)...
* >> Compiling 3.4.9-gentoo modules...
* ERROR: Failed to compile the "modules" target...
* -- Grepping log... --
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --oldconfig Kconfig
.config:2860:warning: symbol value 'm' invalid for RTC_LIB
.config:2861:warning: symbol value 'm' invalid for RTC_CLASS
--
choice[1]: 1
Sparse Memory virtual memmap (SPARSEMEM_VMEMMAP) [Y/n/?] y
Allow for memory hot-add (MEMORY_HOTPLUG) [N/y] n
Allow for memory compaction (COMPACTION) [N/y/?] (NEW) Enable KSM for page merging (KSM) [N/y/?] n
Low address space to protect from user allocation (DEFAULT_MMAP_MIN_ADDR) [4096] 4096
Enable recovery from hardware memory errors (MEMORY_FAILURE) [N/y/?] n
--
Thermal Zone (ACPI_THERMAL) [M/n/?] m
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
Boottime Graphics Resource Table support (ACPI_BGRT) [N/m/y/?] (NEW) ACPI Platform Error Interface (APEI) (ACPI_APEI) [N/y/?] n
--
* Bus options (PCI etc.)
*
PCI support (PCI) [Y/n/?] y
Support mmconfig PCI config space access (PCI_MMCONFIG) [Y/n] y
PCI Express support (PCIEPORTBUS) [Y/n/?] y
Root Port Advanced Error Reporting support (PCIEAER) [Y/n/?] y
PCI Express ECRC settings control (PCIE_ECRC) [N/y/?] n
PCIe AER error injector support (PCIEAER_INJECT) [N/m/y/?] n
--
* Wireless
*
Wireless (WIRELESS) [Y] y
cfg80211 - wireless configuration API (CFG80211) [M/n/?] m
nl80211 testmode command (NL80211_TESTMODE) [N/y/?] n
enable developer warnings (CFG80211_DEVELOPER_WARNINGS) [N/y/?] n
--
Symbios 53c500 PCMCIA support (PCMCIA_SYM53C500) [M/n/?] m
*
* Serial ATA and Parallel ATA drivers
*
Serial ATA and Parallel ATA drivers (ATA) [M/n/y/?] m
Verbose ATA error reporting (ATA_VERBOSE_ERROR) [Y/n/?] y
--
NILFS2 file system support (EXPERIMENTAL) (NILFS2_FS) [N/m/y/?] n
Dnotify support (DNOTIFY) [Y/n/?] y
Inotify support for userspace (INOTIFY_USER) [Y/n/?] y
Filesystem wide access notification (FANOTIFY) [N/y/?] (NEW) Quota support (QUOTA) [Y/?] y
Report quota messages through netlink interface (QUOTA_NETLINK_INTERFACE) [N/y/?] n
Print quota warnings to console (OBSOLETE) (PRINT_QUOTA_WARNING) [Y/n/?] y
--
RCU CPU stall timeout in seconds (RCU_CPU_STALL_TIMEOUT) [60] (NEW) Print additional diagnostics on RCU CPU stall (RCU_CPU_STALL_INFO) [N/y/?] (NEW) Enable tracing for RCU (RCU_TRACE) [N/y/?] n
Self test for the backtrace code (BACKTRACE_SELF_TEST) [N/m/y/?] n
Force extended block device numbers and spread them (DEBUG_BLOCK_EXT_DEVT) [N/y/?] n
Force weak per-cpu definitions (DEBUG_FORCE_WEAK_PER_CPU) [N/y/?] n
Debug access to per_cpu maps (DEBUG_PER_CPU_MAPS) [N/y/?] n
CPU notifier error injection module (CPU_NOTIFIER_ERROR_INJECT) [N/m/y/?] n
--
SHIPPED scripts/genksyms/keywords.hash.c
SHIPPED scripts/genksyms/parse.tab.h
SHIPPED scripts/genksyms/parse.tab.c
HOSTCC scripts/genksyms/lex.lex.o
scripts/genksyms/lex.lex.c_shipped: In function 'yylex1':
scripts/genksyms/lex.lex.c_shipped:904:1: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
--
CC fs/ext4/hash.o
CC block/partitions/efi.o
CC fs/ext4/resize.o
CC block/partitions/karma.o
fs/ext4/resize.c: In function 'ext4_update_super':
fs/ext4/resize.c:1144:9: warning: unused variable 'ret'
--
CC drivers/video/console/font_8x16.o
CC drivers/video/console/softcursor.o
CC fs/xfs/xfs_dir2_data.o
CC drivers/video/console/fbcondecor.o
CC fs/xfs/xfs_dir2_leaf.o
drivers/video/console/fbcondecor.c:511:6: warning: function declaration isn't a prototype
--
CC [M] drivers/block/cciss.o
CC [M] sound/core/seq/seq_info.o
CC [M] sound/core/seq/oss/seq_oss.o
CC [M] sound/core/seq/oss/seq_oss_init.o
drivers/block/cciss.c: In function 'dev_show_unique_id':
drivers/block/cciss.c:663:7: warning: 'sn[0]' may be used uninitialized in this function
drivers/block/cciss.c:663:7: warning: 'sn[1]' may be used uninitialized in this function
drivers/block/cciss.c:663:7: warning: 'sn[2]' may be used uninitialized in this function
drivers/block/cciss.c:663:7: warning: 'sn[3]' may be used uninitialized in this function
drivers/block/cciss.c:663:7: warning: 'sn[4]' may be used uninitialized in this function
drivers/block/cciss.c:663:7: warning: 'sn[5]' may be used uninitialized in this function
drivers/block/cciss.c:663:7: warning: 'sn[6]' may be used uninitialized in this function
drivers/block/cciss.c:663:7: warning: 'sn[7]' may be used uninitialized in this function
drivers/block/cciss.c:663:7: warning: 'sn[8]' may be used uninitialized in this function
drivers/block/cciss.c:663:7: warning: 'sn[9]' may be used uninitialized in this function
drivers/block/cciss.c:663:7: warning: 'sn[10]' may be used uninitialized in this function
drivers/block/cciss.c:663:7: warning: 'sn[11]' may be used uninitialized in this function
drivers/block/cciss.c:663:7: warning: 'sn[12]' may be used uninitialized in this function
drivers/block/cciss.c:663:7: warning: 'sn[13]' may be used uninitialized in this function
drivers/block/cciss.c:663:7: warning: 'sn[14]' may be used uninitialized in this function
drivers/block/cciss.c:663:7: warning: 'sn[15]' may be used uninitialized in this function
--
CC [M] drivers/hid/usbhid/hiddev.o
LD [M] drivers/hid/usbhid/usbhid.o
LD [M] drivers/hid/hid-logitech.o
CC [M] drivers/gpu/drm/radeon/r300.o
drivers/gpu/drm/radeon/r100.c: In function 'r100_bandwidth_update':
drivers/gpu/drm/radeon/r100.c:2894:50: warning: 'disp_drain_rate.full' may be used uninitialized in this function
drivers/gpu/drm/radeon/r100.c:2840:63: warning: 'crit_point_ff.full' may be used uninitialized in this function
--
CC [M] net/ipv6/proc.o
CC [M] net/ipv6/syncookies.o
CC [M] drivers/md/raid10.o
CC [M] net/ipv6/ah6.o
drivers/md/raid10.c: In function 'read_balance':
drivers/md/raid10.c:681:18: warning: 'rdev' may be used uninitialized in this function
--
CC [M] net/irda/irsysctl.o
CC [M] drivers/message/i2o/config-osm.o
CC [M] net/irda/ircomm/ircomm_tty.o
In file included from drivers/message/i2o/config-osm.c:39:0:
drivers/message/i2o/i2o_config.c: In function 'i2o_cfg_passthru':
drivers/message/i2o/i2o_config.c:881:19: warning: cast to pointer from integer of different size
drivers/message/i2o/i2o_config.c:936:10: warning: cast to pointer from integer of different size
--
CC [M] drivers/net/ethernet/3com/typhoon.o
CC [M] net/mac80211/driver-trace.o
CC [M] net/mac80211/mlme.o
CC [M] drivers/net/ethernet/8390/ne2k-pci.o
net/mac80211/mlme.c: In function 'ieee80211_prep_connection':
net/mac80211/mlme.c:3058:19: warning: 'sta' may be used uninitialized in this function
--
CC [M] net/netfilter/nfnetlink_log.o
CC [M] drivers/net/ethernet/amd/amd8111e.o
CC [M] net/netfilter/nf_conntrack_core.o
CC [M] drivers/net/ethernet/amd/nmclan_cs.o
drivers/net/ethernet/amd/nmclan_cs.c: In function 'nmclan_config':
drivers/net/ethernet/amd/nmclan_cs.c:625:3: warning: 'pcmcia_request_exclusive_irq' is deprecated (declared at include/pcmcia/ds.h:201)
--
CC [M] net/sctp/auth.o
CC [M] net/sctp/proc.o
CC [M] drivers/net/ethernet/mellanox/mlx4/mcg.o
CC [M] net/sctp/sysctl.o
drivers/net/ethernet/mellanox/mlx4/mcg.c: In function 'find_entry.clone.7':
drivers/net/ethernet/mellanox/mlx4/mcg.c:572:6: warning: 'hash' may be used uninitialized in this function
--
CC [M] drivers/net/wireless/ipw2x00/libipw_rx.o
CC [M] drivers/scsi/scsi_tgt_lib.o
CC [M] drivers/scsi/scsi_tgt_if.o
CC [M] drivers/net/wireless/ipw2x00/libipw_wx.o
drivers/net/wireless/ipw2x00/libipw_wx.c: In function 'libipw_wx_set_encodeext':
drivers/net/wireless/ipw2x00/libipw_wx.c:526:21: warning: unused variable 'dev'
--
CC [M] drivers/scsi/scsi_transport_srp.o
CC [M] drivers/scsi/libiscsi.o
CC [M] drivers/net/wireless/iwlwifi/iwl-agn-rs.o
CC [M] drivers/net/wireless/iwlwifi/iwl-mac80211.o
drivers/net/wireless/iwlwifi/iwl-mac80211.c: In function 'iwlagn_mac_resume':
drivers/net/wireless/iwlwifi/iwl-mac80211.c:443:23: warning: unused variable 'img'
CC [M] drivers/scsi/iscsi_boot_sysfs.o
CC [M] drivers/net/wireless/iwlwifi/iwl-ucode.o
CC [M] drivers/scsi/advansys.o
drivers/scsi/advansys.c:71:2: warning: #warning this driver is still not properly converted to the DMA API
--
CC [M] drivers/scsi/megaraid/megaraid_mm.o
CC [M] drivers/scsi/megaraid/megaraid_mbox.o
CC [M] drivers/scsi/megaraid/megaraid_sas_base.o
CC [M] drivers/scsi/lpfc/lpfc_nportdisc.o
CC [M] drivers/scsi/lpfc/lpfc_scsi.o
cc1: warnings being treated as errors
drivers/scsi/lpfc/lpfc_scsi.c: In function 'lpfc_bg_setup_bpl':
drivers/scsi/lpfc/lpfc_scsi.c:1900:11: error: unused variable 'rc'
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'
drivers/scsi/lpfc/lpfc_scsi.c: In function 'lpfc_bg_setup_sgl':
drivers/scsi/lpfc/lpfc_scsi.c:2256:11: error: unused variable 'rc'
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'
make[3]: *** [drivers/scsi/lpfc/lpfc_scsi.o] Error 1
make[2]: *** [drivers/scsi/lpfc] Error 2
--
CC [M] drivers/scsi/megaraid/megaraid_sas_fusion.o
CC [M] drivers/thermal/thermal_sys.o
CC [M] drivers/scsi/megaraid/megaraid_sas_fp.o
CC [M] drivers/tty/serial/8250/serial_cs.o
LD [M] drivers/scsi/megaraid/megaraid_sas.o
make[1]: *** [drivers/scsi] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [drivers] Error 2
* Gentoo Linux Genkernel; Version 3.4.24_p2
* Running with options: all
* ERROR: Failed to compile the "modules" 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 |
|
|
ce110ut Apprentice
Joined: 27 Sep 2002 Posts: 200
|
Posted: Mon Oct 08, 2012 3:33 pm Post subject: |
|
|
Personally, I've never been able to simply 'make' (or 'genkernel all') a kernel release - I've always had to set it up to match my setup. |
|
Back to top |
|
|
ce110ut Apprentice
Joined: 27 Sep 2002 Posts: 200
|
Posted: Mon Oct 08, 2012 3:36 pm Post subject: |
|
|
Also, if you were able to compile the kernel (vmlinux or bzImage) then technically yes your computer could boot into linux. If you are dependent on modules to get your system completely up and running (non compiled-in filesystem for example) then you may have an error on bootup. Nothing that can't be solved by setting up the kernel to fit your current setup though. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon Oct 08, 2012 3:54 pm Post subject: |
|
|
Run Code: | genkernel --menuconfig all | Edit menuconfig to
Device Drivers --->
SCSI device support --->
either: unselect (if you have no low level scsi devices; this takes them all out)
[ ] SCSI low-level drivers --->
or: unselect (if you do have low level scsi devices, this takes the bad ones out)
< > LibFC module (NEW)
< > LibFCoE module (NEW)
then exit menuconfig saving the configuration and allow genkernel to complete. _________________ Defund the FCC. |
|
Back to top |
|
|
samsungNC10user n00b
Joined: 20 Mar 2009 Posts: 73
|
Posted: Mon Oct 08, 2012 3:58 pm Post subject: |
|
|
DONAHUE wrote: | Run Code: | genkernel --menuconfig all | Edit menuconfig to
Device Drivers --->
SCSI device support --->
either: unselect (if you have no low level scsi devices; this takes them all out)
[ ] SCSI low-level drivers --->
or: unselect (if you do have low level scsi devices, this takes the bad ones out)
< > LibFC module (NEW)
< > LibFCoE module (NEW)
then exit menuconfig saving the configuration and allow genkernel to complete. |
is compiling past the last warning
TY! |
|
Back to top |
|
|
|