Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problema durante compilazione del kernel [Risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
saverik
Apprentice
Apprentice


Joined: 18 Oct 2008
Posts: 270

PostPosted: Tue Nov 07, 2017 9:32 am    Post subject: Problema durante compilazione del kernel [Risolto] Reply with quote

Buongiorno , sto compilando su un pc fisso con cpu fx8130 scheda video hd6950 e 16 gb ram
Lanciando il genkernel mi trovo davanti a questa schermata.


Code:
* Gentoo Linux Genkernel; Version 3.4.52.4^[[0m
* Running with options: --splash --install --makeopts=-j7 --no-clean --menuconfig all
* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..

* Linux Kernel 4.12.12-gentoo^[[0m for x86_64^[[0m...
* .. with config file /usr/share/genkernel/arch/x86_64/generated-config
* WARNING: Failed to mount /boot!
* kernel: --mrproper is disabled; not running 'make mrproper'.
*         >> Running oldconfig...
COMMAND: make -j7 CC="gcc" LD="ld" AS="as" ARCH="x86" oldconfig
scripts/kconfig/conf  --oldconfig Kconfig
#
# configuration written to .config
#
* kernel: --clean is disabled; not running 'make clean'.
* kernel: >> Invoking menuconfig...
COMMAND: make -j7 -j1 CC="gcc" LD="ld" AS="as" ARCH="x86" menuconfig
COMMAND: make -j7 CC="gcc" LD="ld" AS="as" ARCH="x86" prepare
scripts/kconfig/conf  --silentoldconfig Kconfig
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/bounds.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
*         >> Compiling 4.12.12-gentoo bzImage...
COMMAND: make -j7 CC="gcc" LD="ld" AS="as" ARCH="x86" bzImage
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     scripts/mod/devicetable-offsets.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/bounds.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  AS     firmware/lib/firmware/.gen.o

/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/as: out of memory allocating 9223372036854841463 bytes after a total of 266$
make[1]: *** [scripts/Makefile.build:403: firmware/lib/firmware/.gen.o] Error 1
make: *** [Makefile:1019: firmware] Error 2
make: *** Attesa per i processi non terminati....
CC     arch/x86/pci/i386.o
  GZIP    kernel/config_data.gz
  CC     arch/x86/pci/init.o
  CC     arch/x86/pci/direct.o
  CC     arch/x86/pci/fixup.o
  CHK     kernel/config_data.h
  UPD     kernel/config_data.h
  CC     kernel/configs.o
  CC     arch/x86/pci/acpi.o
  LD     kernel/built-in.o
  CC     arch/x86/pci/legacy.o
  CC     arch/x86/pci/irq.o
  CC     arch/x86/pci/common.o
  CC     arch/x86/pci/early.o
  CC     arch/x86/pci/bus_numa.o
  CC     arch/x86/pci/amd_bus.o
  LD     arch/x86/pci/built-in.o
  CC     drivers/scsi/libsas/sas_init.o
  CC     drivers/scsi/libsas/sas_phy.o
  CC     drivers/scsi/libsas/sas_port.o
  CC     drivers/scsi/libsas/sas_event.o
  CC     drivers/scsi/mvsas/mv_init.o
  CC     drivers/scsi/libsas/sas_dump.o
  CC     drivers/scsi/mvsas/mv_sas.o
 CC     arch/x86/pci/init.o
  CC     arch/x86/pci/direct.o
  CC     arch/x86/pci/fixup.o
  CHK     kernel/config_data.h
  UPD     kernel/config_data.h
  CC     kernel/configs.o
  CC     arch/x86/pci/acpi.o
  LD     kernel/built-in.o
  CC     arch/x86/pci/legacy.o
  CC     arch/x86/pci/irq.o
  CC     arch/x86/pci/common.o
  CC     arch/x86/pci/early.o
  CC     arch/x86/pci/bus_numa.o
  CC     arch/x86/pci/amd_bus.o
  LD     arch/x86/pci/built-in.o
  CC     drivers/scsi/libsas/sas_init.o
  CC     drivers/scsi/libsas/sas_phy.o
  CC     drivers/scsi/libsas/sas_port.o
  CC     drivers/scsi/libsas/sas_event.o
  CC     drivers/scsi/mvsas/mv_init.o
  CC     drivers/scsi/libsas/sas_dump.o
  CC     drivers/scsi/mvsas/mv_sas.o
  CC     drivers/scsi/mvsas/mv_64xx.o
  CC     drivers/scsi/libsas/sas_expander.o
  CC     drivers/scsi/libsas/sas_discover.o
  CC     drivers/scsi/libsas/sas_scsi_host.o
  CC     drivers/scsi/libsas/sas_task.o
  CC     drivers/scsi/libsas/sas_ata.o
  CC     drivers/scsi/mvsas/mv_94xx.o
  CC     drivers/scsi/libsas/sas_host_smp.o
  CC     drivers/scsi/scsi_transport_sas.o
  LD     drivers/scsi/mvsas/mvsas.o
  LD     drivers/scsi/mvsas/built-in.o
  LD     drivers/scsi/libsas/libsas.o
  LD     drivers/scsi/libsas/built-in.o
  LD     drivers/scsi/built-in.o
  LD     drivers/built-in.o
* Gentoo Linux Genkernel; Version 3.4.52.4^[[0m
* Running with options: --splash --install --makeopts=-j7 --no-clean --menuconfig all
* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..

* ERROR: Failed to compile the "bzImage" target...
*
* -- Grepping log... --
 -- 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
          drivers/scsi/libsas/sas_task.o
  CC     drivers/scsi/libsas/sas_ata.o
  CC     drivers/scsi/mvsas/mv_94xx.o
  CC     drivers/scsi/libsas/sas_host_smp.o
  CC     drivers/scsi/scsi_transport_sas.o
  LD     drivers/scsi/mvsas/mvsas.o
  LD     drivers/scsi/mvsas/built-in.o
  LD     drivers/scsi/libsas/libsas.o
  LD     drivers/scsi/libsas/built-in.o
  LD     drivers/scsi/built-in.o
  LD     drivers/built-in.o
* Gentoo Linux Genkernel; Version 3.4.52.4^[[0m
* Running with options: --splash --install --makeopts=-j7 --no-clean --menuconfig all
* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..



non riesco a venirne fuori.
_________________
Elitebook G840_G3 cpu i5-6300u ,16GbRam,ToshibaNvme512Gb
Linux= Gentoo64bit+xfce4+LightDm+Openrc


Last edited by saverik on Tue Nov 14, 2017 9:50 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21321
Location: here

PostPosted: Tue Nov 07, 2017 10:09 am    Post subject: Reply with quote

Per cortesia puoi postare l'output dei comandi emerge --info, free e df -h?

Code:
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/as: out of memory allocating 9223372036854841463 bytes after a total of 266$

Sembra qualche problema di memoria
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
saverik
Apprentice
Apprentice


Joined: 18 Oct 2008
Posts: 270

PostPosted: Tue Nov 07, 2017 10:33 am    Post subject: Reply with quote

Ecco qua
Code:
 
(chroot) saveriku-desktop / # emerge --info
Portage 2.3.8 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop, gcc-5.4.0, glibc-2.25-r8, 4.10.0-38-generic x86_64)
=================================================================
System uname: Linux-4.10.0-38-generic-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.4.1
KiB Mem:    16387636 total,  12994588 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 06 Nov 2017 11:00:01 +0000
Head commit of repository gentoo: ff9224fb5438d19e45520f4e777365e6fee88376
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.32.1::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.15-r2::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r8::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=bdver2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=bdver2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support readline sdl seccomp session spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" XFCE_PLUGINS="brightness clock trash" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

(chroot) saveriku-desktop / # free
              total        used        free      shared  buff/cache   available
Mem:       16387636     1704956    13041300       63348     1641380    14311060
Swap:             0           0           0
(chroot) saveriku-desktop / # df -h
File system     Dim. Usati Dispon. Uso% Montato su
/dev/sda2        39G  5,1G     32G  14% /
tmpfs           7,9G     0    7,9G   0% /sys/fs/cgroup
udev            7,8G     0    7,8G   0% /dev
shm             7,9G   36M    7,8G   1% /dev/shm
(chroot) saveriku-desktop / #

_________________
Elitebook G840_G3 cpu i5-6300u ,16GbRam,ToshibaNvme512Gb
Linux= Gentoo64bit+xfce4+LightDm+Openrc
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21321
Location: here

PostPosted: Tue Nov 07, 2017 10:53 am    Post subject: Reply with quote

Sei sicuro delle CFLAGS? Qui per le FX riportano bdver1 (ma non conosco bene il mondo AMD).
Hai provato con un MAKEOPTS minore?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
saverik
Apprentice
Apprentice


Joined: 18 Oct 2008
Posts: 270

PostPosted: Tue Nov 07, 2017 11:22 am    Post subject: Reply with quote

riprovato come da te suggerito.. nullaa di fatto non e' cambiato nulla
_________________
Elitebook G840_G3 cpu i5-6300u ,16GbRam,ToshibaNvme512Gb
Linux= Gentoo64bit+xfce4+LightDm+Openrc
Back to top
View user's profile Send private message
antonellocaroli
Apprentice
Apprentice


Joined: 11 Aug 2016
Posts: 230

PostPosted: Tue Nov 07, 2017 11:42 am    Post subject: Reply with quote

Hai una partizione di boot? mi sembra che non l ha montata

Code:
* WARNING: Failed to mount /boot!


Prova a montarla manualmente e controllare che non sia piena df -h
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21321
Location: here

PostPosted: Tue Nov 07, 2017 12:18 pm    Post subject: Reply with quote

Puoi postare anche il file /var/log/genkernel.log
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
saverik
Apprentice
Apprentice


Joined: 18 Oct 2008
Posts: 270

PostPosted: Tue Nov 07, 2017 12:58 pm    Post subject: Reply with quote

non ho la boot separata...

questo e' il log.[/code]


[code]
GNU nano 2.7.5 File: /var/log/genkernel.log


* Gentoo Linux Genkernel; Version 3.4.52.4^[[0m
* Running with options: --splash --no-install --makeopts=-j4 --no-clean --menuconfig all
* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..

* Linux Kernel 4.12.12-gentoo^[[0m for x86_64^[[0m...
* .. with config file /usr/share/genkernel/arch/x86_64/generated-config
* kernel: --mrproper is disabled; not running 'make mrproper'.
* >> Running oldconfig...
COMMAND: make -j4 CC="gcc" LD="ld" AS="as" ARCH="x86" oldconfig
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
* kernel: --clean is disabled; not running 'make clean'.
* kernel: >> Invoking menuconfig...
COMMAND: make -j4 -j1 CC="gcc" LD="ld" AS="as" ARCH="x86" menuconfig
COMMAND: make -j4 CC="gcc" LD="ld" AS="as" ARCH="x86" prepare
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK include/generated/timeconst.h
CHK include/generated/bounds.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
* >> Compiling 4.12.12-gentoo bzImage...
COMMAND: make -j4 CC="gcc" LD="ld" AS="as" ARCH="x86" bzImage
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK scripts/mod/devicetable-offsets.h
CHK include/generated/utsrelease.h
CHK include/generated/timeconst.h
CHK include/generated/bounds.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
GZIP kernel/config_data.gz
CHK kernel/config_data.h
AS firmware/lib/firmware/.gen.o

/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/as: out of memory allocating 9223372036854841463 bytes after a total of 266$
make[1]: *** [scripts/Makefile.build:403: firmware/lib/firmware/.gen.o] Error 1
make: *** [Makefile:1019: firmware] Error 2

^G Guida ^O Salva ^W Cerca ^K Taglia ^T Ortografia ^Y Pag Prec. M-\ Prima riga M-W Successivo ^^ Marca testo
^X Esci ^R Inserisci ^\ Sostituisci ^U Incolla ^C Posizione ^V Pag Succ. M-/ Ultima riga M-] Parentesi M-^ Copia
_________________
Elitebook G840_G3 cpu i5-6300u ,16GbRam,ToshibaNvme512Gb
Linux= Gentoo64bit+xfce4+LightDm+Openrc
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21321
Location: here

PostPosted: Tue Nov 07, 2017 1:36 pm    Post subject: Reply with quote

Sei partito da un .config esistente? Se si puoi postarlo con wgetpaste?

EDIT: e provare a configurare da zero?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
antonellocaroli
Apprentice
Apprentice


Joined: 11 Aug 2016
Posts: 230

PostPosted: Tue Nov 07, 2017 3:09 pm    Post subject: Reply with quote

hai die tmpfs in fstab?
Back to top
View user's profile Send private message
saverik
Apprentice
Apprentice


Joined: 18 Oct 2008
Posts: 270

PostPosted: Tue Nov 14, 2017 9:50 am    Post subject: Reply with quote

Eccomi ragazzi.. stamattina ho cancellato i file .config e .configold.
tutto risolto...Solo non mi spiego cosa andava male visto che è una nuova installazione.
_________________
Elitebook G840_G3 cpu i5-6300u ,16GbRam,ToshibaNvme512Gb
Linux= Gentoo64bit+xfce4+LightDm+Openrc
Back to top
View user's profile Send private message
sabayonino
l33t
l33t


Joined: 03 Jan 2012
Posts: 665

PostPosted: Tue Nov 14, 2017 11:18 am    Post subject: Reply with quote

Code:
make[1]: *** [scripts/Makefile.build:403: firmware/lib/firmware/.gen.o] Error 1
make: *** [Makefile:1019: firmware] Error 2


La butto là
Qualcosa di "libfirmware" selezionato nel kernel in contrasto con il pacchetto "linux-firmware" ??
o qualcozsa del genere.
_________________
BOINC ed il calcolo distribuito
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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