Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] Errore aggiornamento kernel
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
Maxxx
Guru
Guru


Joined: 12 Jan 2016
Posts: 515
Location: Italia

PostPosted: Sat Mar 30, 2019 10:22 am    Post subject: [RISOLTO] Errore aggiornamento kernel Reply with quote

Buongiorno a tutti,
stamattina mentre aggiorno il kernel, se eseguo il comando "genkernel --oldconfig all" mi esce questo errore...
premetto che ho copiato il file .config del vecchio kernel sulla directory del nuovo kernel...
lo stesso errore me lo da anche se eseguo "genkernel --menuconfig all"

Quote:
* ERROR: Failed to compile the "prepare" target...
*
* -- Grepping log... --
*
* YACC scripts/kconfig/zconf.tab.c
* LEX scripts/kconfig/zconf.lex.c
* HOSTCC scripts/kconfig/zconf.tab.o
* HOSTLD scripts/kconfig/conf
*scripts/kconfig/conf --oldconfig Kconfig
*.config:472:warning: symbol value 'm' invalid for VIRTIO_BLK_SCSI
*.config:661:warning: override: reassigning to symbol PATA_SCH
*.config:728:warning: override: reassigning to symbol DM_BUFIO
*.config:740:warning: override: reassigning to symbol DM_LOG_USERSPACE
*.config:923:warning: override: reassigning to symbol IPV6
*.config:925:warning: override: reassigning to symbol IPV6_ROUTER_PREF
*.config:926:warning: override: reassigning to symbol IPV6_ROUTE_INFO
*.config:927:warning: override: reassigning to symbol IPV6_OPTIMISTIC_DAD
*.config:928:warning: override: reassigning to symbol INET6_AH
*.config:929:warning: override: reassigning to symbol INET6_ESP
*.config:930:warning: override: reassigning to symbol INET6_IPCOMP
*.config:931:warning: override: reassigning to symbol IPV6_MIP6
*.config:932:warning: override: reassigning to symbol IPV6_SIT
*.config:933:warning: override: reassigning to symbol IPV6_TUNNEL
*.config:934:warning: override: reassigning to symbol IPV6_SUBTREES
*.config:935:warning: override: reassigning to symbol IPV6_MULTIPLE_TABLES
*.config:936:warning: override: reassigning to symbol IPV6_MROUTE
*.config:937:warning: override: reassigning to symbol IPV6_PIMSM_V2
*.config:954:warning: override: reassigning to symbol NETFILTER
*.config:955:warning: override: reassigning to symbol NETFILTER_ADVANCED
*.config:969:warning: symbol value 'm' invalid for NF_CT_PROTO_DCCP
*.config:971:warning: symbol value 'm' invalid for NF_CT_PROTO_SCTP
*.config:972:warning: symbol value 'm' invalid for NF_CT_PROTO_UDPLITE
*.config:990:warning: symbol value 'm' invalid for NF_NAT_PROTO_DCCP
*.config:991:warning: symbol value 'm' invalid for NF_NAT_PROTO_UDPLITE
*.config:992:warning: symbol value 'm' invalid for NF_NAT_PROTO_SCTP
*.config:1000:warning: symbol value 'm' invalid for NF_TABLES_INET
*.config:1015:warning: override: reassigning to symbol NETFILTER_XTABLES
*.config:1075:warning: override: reassigning to symbol BRIDGE_NETFILTER
*.config:1084:warning: symbol value 'm' invalid for NF_TABLES_IPV4
*.config:1122:warning: override: reassigning to symbol IP_NF_ARPTABLES
*.config:1131:warning: symbol value 'm' invalid for NF_TABLES_IPV6
*.config:1158:warning: symbol value 'm' invalid for NF_TABLES_BRIDGE
*.config:1187:warning: override: reassigning to symbol BRIDGE_NF_EBTABLES
*.config:1188:warning: override: reassigning to symbol BRIDGE_EBT_802_3
*.config:1189:warning: override: reassigning to symbol BRIDGE_EBT_AMONG
*.config:1190:warning: override: reassigning to symbol BRIDGE_EBT_ARP
*.config:1191:warning: override: reassigning to symbol BRIDGE_EBT_ARPREPLY
*.config:1192:warning: override: reassigning to symbol BRIDGE_EBT_BROUTE
*.config:1193:warning: override: reassigning to symbol BRIDGE_EBT_DNAT
*.config:1194:warning: override: reassigning to symbol BRIDGE_EBT_IP
*.config:1195:warning: override: reassigning to symbol BRIDGE_EBT_IP6
*.config:1196:warning: override: reassigning to symbol BRIDGE_EBT_LIMIT
*.config:1197:warning: override: reassigning to symbol BRIDGE_EBT_LOG
*.config:1198:warning: override: reassigning to symbol BRIDGE_EBT_MARK
*.config:1199:warning: override: reassigning to symbol BRIDGE_EBT_MARK_T
*.config:1200:warning: override: reassigning to symbol BRIDGE_EBT_NFLOG
*.config:1201:warning: override: reassigning to symbol BRIDGE_EBT_PKTTYPE
*.config:1202:warning: override: reassigning to symbol BRIDGE_EBT_REDIRECT
*.config:1203:warning: override: reassigning to symbol BRIDGE_EBT_SNAT
*.config:1204:warning: override: reassigning to symbol BRIDGE_EBT_STP
*.config:1205:warning: override: reassigning to symbol BRIDGE_EBT_T_FILTER
*.config:1206:warning: override: reassigning to symbol BRIDGE_EBT_T_NAT
*.config:1208:warning: override: reassigning to symbol BRIDGE_EBT_VLAN
*.config:1209:warning: override: reassigning to symbol XFRM
*.config:1210:warning: override: reassigning to symbol XFRM_MIGRATE
*.config:1211:warning: override: reassigning to symbol XFRM_SUB_POLICY
*.config:1212:warning: override: reassigning to symbol XFRM_STATISTICS
*.config:1213:warning: override: reassigning to symbol XFRM_USER
*.config:1214:warning: override: reassigning to symbol INET_XFRM_MODE_TRANSPORT
*.config:1215:warning: override: reassigning to symbol INET_XFRM_MODE_TUNNEL
*.config:1216:warning: override: reassigning to symbol INET_XFRM_MODE_BEET
*.config:1217:warning: override: reassigning to symbol INET6_XFRM_MODE_TRANSPORT
*.config:1218:warning: override: reassigning to symbol INET6_XFRM_MODE_TUNNEL
*.config:1219:warning: override: reassigning to symbol INET6_XFRM_MODE_ROUTEOPTIMIZATION
*.config:1220:warning: override: reassigning to symbol INET6_XFRM_MODE_BEET
*.config:1247:warning: override: reassigning to symbol IP_DCCP
*.config:1263:warning: override: reassigning to symbol NETLABEL
*.config:2530:warning: override: reassigning to symbol MEDIA_CAMERA_SUPPORT
*.config:2555:warning: override: reassigning to symbol MEDIA_USB_SUPPORT
*.config:2556:warning: override: reassigning to symbol MEDIA_USB_SUPPORT
*.config:2635:warning: override: reassigning to symbol MEDIA_ANALOG_TV_SUPPORT
*.config:2636:warning: override: reassigning to symbol MEDIA_DIGITAL_TV_SUPPORT
*.config:2637:warning: override: reassigning to symbol VIDEOBUF2_CORE
*.config:2638:warning: override: reassigning to symbol VIDEOBUF2_MEMOPS
*.config:2639:warning: override: reassigning to symbol VIDEOBUF2_VMALLOC
*.config:2641:warning: override: reassigning to symbol DVB_CORE
*.config:2642:warning: override: reassigning to symbol DVB_NET
*.config:2643:warning: override: reassigning to symbol DVB_MAX_ADAPTERS
*.config:2644:warning: override: reassigning to symbol DVB_DYNAMIC_MINORS
*.config:2722:warning: override: reassigning to symbol VIDEO_TUNER
*.config:2809:warning: override: FB_MB862XX_LIME changes choice state
*.config:3346:warning: symbol value 'm' invalid for AB3100_CORE
*.config:3356:warning: symbol value 'm' invalid for MFD_WM8400
*.config:3357:warning: symbol value 'm' invalid for MFD_WM8350_I2C
*.config:3358:warning: symbol value 'm' invalid for MFD_WM8350
*.config:3359:warning: symbol value 'm' invalid for MFD_WM831X
*.config:3396:warning: override: reassigning to symbol JFS_POSIX_ACL
*.config:3397:warning: override: reassigning to symbol JFS_SECURITY
*.config:3404:warning: override: reassigning to symbol XFS_RT
*.config:3837:warning: override: reassigning to symbol TMPFS_POSIX_ACL
*.config:4108:warning: override: reassigning to symbol DYNAMIC_FTRACE
*.config:4109:warning: override: reassigning to symbol FTRACE_MCOUNT_RECORD
*.config:4119:warning: override: reassigning to symbol NO_HZ
*.config:4133:warning: symbol value 'm' invalid for POWER_SUPPLY
*.config:4205:warning: override: reassigning to symbol EDAC_I3000
*.config:4206:warning: override: reassigning to symbol EDAC_X38
*.config:4364:warning: override: reassigning to symbol FUNCTION_TRACER
*.config:4365:warning: override: reassigning to symbol FUNCTION_GRAPH_TRACER
*.config:4477:warning: override: reassigning to symbol IP_MROUTE_MULTIPLE_TABLES
*.config:4563:warning: override: reassigning to symbol NF_CONNTRACK_SNMP
*.config:4928:warning: symbol value 'm' invalid for X86_INTEL_PSTATE
*--
* Debug Statements (ACPI_DEBUG) [N/y/?] (NEW)
* PCI slot detection driver (ACPI_PCI_SLOT) [Y/n/?] y
* Container and Module Devices (ACPI_CONTAINER) [Y/?] (NEW) y
* Memory Hotplug (ACPI_HOTPLUG_MEMORY) [Y/n/?] y
* Smart Battery System (ACPI_SBS) [N/m/y/?] (NEW)
* Hardware Error Device (ACPI_HED) [Y/?] y
* Allow ACPI methods to be inserted/replaced at run time (ACPI_CUSTOM_METHOD) [N/m/y/?] (NEW)
* Boottime Graphics Resource Table support (ACPI_BGRT) [N/y/?] (NEW)
* Hardware-reduced ACPI support only (ACPI_REDUCED_HARDWARE_ONLY) [N/y/?] (NEW)
* ACPI NVDIMM Firmware Interface Table (NFIT) (ACPI_NFIT) [N/m/y/?] (NEW)
* ACPI Platform Error Interface (APEI) (ACPI_APEI) [Y/n/?] y
* APEI Generic Hardware Error Source (ACPI_APEI_GHES) [Y/n/?] y
* APEI PCIe AER logging/recovering support (ACPI_APEI_PCIEAER) [Y/n/?] y
* APEI memory error recovering support (ACPI_APEI_MEMORY_FAILURE) [Y/n/?] y
* APEI Error INJection (EINJ) (ACPI_APEI_EINJ) [M/n/y/?] m
* APEI Error Record Serialization Table (ERST) Debug Support (ACPI_APEI_ERST_DEBUG) [N/m/y/?] n
* DPTF Platform Power Participant (DPTF_POWER) [N/m/y/?] (NEW)
* Extended Error Log support (ACPI_EXTLOG) [N/m/y/?] (NEW)
*--
*
*PCI support (PCI) [Y/n/?] y
* Support mmconfig PCI config space access (PCI_MMCONFIG) [Y/n/?] (NEW)
*Read CNB20LE Host Bridge Windows (PCI_CNB20LE_QUIRK) [N/y/?] (NEW)
*PCI Express Port Bus support (PCIEPORTBUS) [Y/n/?] y
* PCI Express Advanced Error Reporting support (PCIEAER) [Y/n/?] y
* PCI Express error injection support (PCIEAER_INJECT) [M/n/y/?] m
*--
*Allow for memory compaction (COMPACTION) [Y/n/?] y
* Page migration (MIGRATION) [Y/?] y
*Enable bounce buffers (BOUNCE) [Y/n/?] (NEW)
*Enable KSM for page merging (KSM) [Y/n/?] y
*Low address space to protect from user allocation (DEFAULT_MMAP_MIN_ADDR) [4096] 4096
*Enable recovery from hardware memory errors (MEMORY_FAILURE) [Y/n/?] y
*--
* *
* round-robin scheduling (IP_VS_RR) [M/n/?] m
* weighted round-robin scheduling (IP_VS_WRR) [M/n/?] m
* least-connection scheduling (IP_VS_LC) [M/n/?] m
* weighted least-connection scheduling (IP_VS_WLC) [M/n/?] m
* weighted failover scheduling (IP_VS_FO) [N/m/?] (NEW)
*--
* * 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
*--
* * Inter-FE based on IETF ForCES InterFE LFB
* *
* Inter-FE based on IETF ForCES InterFE LFB (NET_IFE) [N/m/y/?] (NEW)
* Network light weight tunnels (LWTUNNEL) [N/y/?] (NEW)
* Network physical/parent device Netlink interface (NET_DEVLINK) [N/m/y/?] (NEW)
* Generic failover module (FAILOVER) [M/y/?] (NEW)
*--
*SCSI CDROM support (BLK_DEV_SR) [M/n/y/?] m
* Enable vendor-specific extensions (for SCSI CDROM) (BLK_DEV_SR_VENDOR) [Y/n/?] y
*SCSI generic support (CHR_DEV_SG) [M/n/y/?] m
*SCSI media changer support (CHR_DEV_SCH) [M/n/y/?] m
*SCSI Enclosure Support (SCSI_ENCLOSURE) [M/n/?] m
*Verbose SCSI error reporting (kernel size += 36K) (SCSI_CONSTANTS) [Y/n/?] y
*--
* Compile All OSD modules with lots of DEBUG prints (SCSI_OSD_DEBUG) [N/y/?] n
*
* Serial ATA and Parallel ATA drivers (libata)
*
*Serial ATA and Parallel ATA drivers (libata) (ATA) [Y/n/m/?] y
* Verbose ATA error reporting (ATA_VERBOSE_ERROR) [Y/n/?] y
*--
* I/O Path Selector based on the service time (DM_MULTIPATH_ST) [M/n/?] m
* I/O delaying target (DM_DELAY) [M/n/?] m
* DM uevents (DM_UEVENT) [Y/n/?] y
* Flakey target (DM_FLAKEY) [M/n/?] m
* Verity target support (DM_VERITY) [M/n/?] m
* Verity forward error correction support (DM_VERITY_FEC) [Y/n/?] y
*--
* Simulated radio testing tool for mac80211 (MAC80211_HWSIM) [M/n/?] m
* Wireless RNDIS USB support (USB_NET_RNDIS_WLAN) [M/n/?] m
* VMware VMXNET3 ethernet driver (VMXNET3) [M/n/y/?] m
* FUJITSU Extended Socket Network Device driver (FUJITSU_ES) [N/m/y/?] (NEW)
* Simulated networking device (NETDEVSIM) [N/m/y/?] (NEW)
* Failover driver (NET_FAILOVER) [M/y/?] (NEW)
*--
* Enable additional MMU debugging (NOUVEAU_DEBUG_MMU) [N/y/?] (NEW)
* Support for backlight control (DRM_NOUVEAU_BACKLIGHT) [Y/n/?] y
*Intel 8xx/9xx/G3x/G4x/HD Graphics (DRM_I915) [M/n/?] m
* Enable alpha quality support for new Intel hardware by default (DRM_I915_ALPHA_SUPPORT) [N/y/?] (NEW)
* Enable capturing GPU state following a hang (DRM_I915_CAPTURE_ERROR) [Y/n/?] (NEW)
* Compress GPU error state (DRM_I915_COMPRESS_ERROR) [Y/n/?] (NEW)
* Always enable userptr support (DRM_I915_USERPTR) [Y/n/?] (NEW)
* Enable Intel GVT-g graphics virtualization host support (DRM_I915_GVT) [N/y/?] (NEW)
* *
* * drm/i915 Debugging
* *
* Force GCC to throw an error instead of a warning when compiling (DRM_I915_WERROR) [N/y/?] (NEW)
*--
* Enable additional driver debugging for fence objects (DRM_I915_SW_FENCE_DEBUG_OBJECTS) [N/y/?] (NEW)
* Enable additional driver debugging for detecting dependency cycles (DRM_I915_SW_FENCE_CHECK_DAG) [N/y/?] (NEW)
* Enable additional driver debugging for GuC (DRM_I915_DEBUG_GUC) [N/y/?] (NEW)
* Enable selftests upon driver load (DRM_I915_SELFTEST) [N/y/?] (NEW)
* Enable low level request tracing events (DRM_I915_LOW_LEVEL_TRACEPOINTS) [N/y/?] (NEW)
* Enable extra debug warnings for vblank evasion (DRM_I915_DEBUG_VBLANK_EVADE) [N/y/?] (NEW)
*--
* Intel OPA VNIC support (INFINIBAND_OPA_VNIC) [N/m/?] (NEW)
* RDMA verbs transport library (INFINIBAND_RDMAVT) [N/m/?] (NEW)
* Software RDMA over Ethernet (RoCE) driver (RDMA_RXE) [N/m/?] (NEW)
* Broadcom Netxtreme HCA support (INFINIBAND_BNXT_RE) [N/m/?] (NEW)
*
* EDAC (Error Detection And Correction) reporting
*
*EDAC (Error Detection And Correction) reporting (EDAC) [Y/n/m/?] y
* EDAC legacy sysfs (EDAC_LEGACY_SYSFS) [Y/n/?] y
* Debugging (EDAC_DEBUG) [N/y/?] n
* Decode MCEs in human-readable form (only on AMD for now) (EDAC_DECODE_MCE) [M/n/y/?] m
* Output ACPI APEI/GHES BIOS detected errors via EDAC (EDAC_GHES) [N/y/?] (NEW)
* AMD64 (Opteron, Athlon64) (EDAC_AMD64) [M/n/?] m
* Sysfs HW Error injection facilities (EDAC_AMD64_ERROR_INJECTION) [Y/n/?] y
*--
*XFS filesystem support (XFS_FS) [M/n/y/?] m
* XFS Quota support (XFS_QUOTA) [Y/n/?] y
* XFS POSIX ACL support (XFS_POSIX_ACL) [Y/n/?] y
* XFS Realtime subvolume support (XFS_RT) [Y/n/?] y
* XFS online metadata check support (XFS_ONLINE_SCRUB) [N/y/?] (NEW)
* XFS Verbose Warnings (XFS_WARN) [N/y/?] (NEW)
*--
*Inotify support for userspace (INOTIFY_USER) [Y/n/?] y
*Filesystem wide access notification (FANOTIFY) [Y/n/?] y
* fanotify permissions checking (FANOTIFY_ACCESS_PERMISSIONS) [N/y/?] (NEW)
*Quota support (QUOTA) [Y/n/?] y
*Report quota messages through netlink interface (QUOTA_NETLINK_INTERFACE) [Y/n/?] y
*Print quota warnings to console (OBSOLETE) (PRINT_QUOTA_WARNING) [Y/n/?] y
*--
*Enable tracing for RCU (RCU_TRACE) [N/y/?] n
*Provide debugging asserts for adding NO_HZ support to an arch (RCU_EQS_DEBUG) [N/y/?] (NEW)
*Force round-robin CPU selection for unbound work items (DEBUG_WQ_FORCE_RR_CPU) [N/y/?] (NEW)
*Force extended block device numbers and spread them (DEBUG_BLOCK_EXT_DEVT) [N/y/?] n
*Enable CPU hotplug state control (CPU_HOTPLUG_STATE_CONTROL) [N/y/?] (NEW)
*Notifier error injection (NOTIFIER_ERROR_INJECTION) [N/m/y/?] (NEW)
*--
* HOSTCC scripts/kconfig/conf.o
* HOSTLD scripts/kconfig/conf
*scripts/kconfig/conf --syncconfig Kconfig
*You are building kernel with non-retpoline compiler.
*Please update your compiler.
*make: *** [arch/x86/Makefile:307: checkbin] Error 1
*--
* Running with options: --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 "prepare" 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!


Last edited by Maxxx on Sat Mar 30, 2019 2:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21757
Location: here

PostPosted: Sat Mar 30, 2019 12:36 pm    Post subject: Reply with quote

Che versione di gcc usi? Cambia qualcosa se lanci il comando con genkernel --kernel-config=/path/to/old/config --all?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Maxxx
Guru
Guru


Joined: 12 Jan 2016
Posts: 515
Location: Italia

PostPosted: Sat Mar 30, 2019 1:00 pm    Post subject: Reply with quote

ciao,
utilizzo il gcc 6.4.0 e con quel comando non cambia niente.
Se digito "eselect gcc list" ottengo questo:

Quote:
[1] x86_64-pc-linux-gnu-4.9.4
[2] x86_64-pc-linux-gnu-5.4.0
[3] x86_64-pc-linux-gnu-6.4.0 *
[4] x86_64-pc-linux-gnu-7.3.0
[5] x86_64-pc-linux-gnu-8.2.0
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21757
Location: here

PostPosted: Sat Mar 30, 2019 1:24 pm    Post subject: Reply with quote

gcc-6.4 non sopporta la compilazione retpoline, quindi o cambi versione di gcc o disattivi la config CONFIG_RETPOLINE (serve per mitigare il bug spectre)
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Maxxx
Guru
Guru


Joined: 12 Jan 2016
Posts: 515
Location: Italia

PostPosted: Sat Mar 30, 2019 1:27 pm    Post subject: Reply with quote

sto passando a gcc 8.2, sto ricompilando alcune cose... sono quasi alla fine, ho eseguito il comando:

Code:
emerge --ask --oneshot --usepkg=n --verbose sys-devel/libtool sys-devel/llvm sys-devel/clang


senza ricompilare tutto quanto il sistema...

appena finito provo a ricompilare il nuovo kernel
Back to top
View user's profile Send private message
Maxxx
Guru
Guru


Joined: 12 Jan 2016
Posts: 515
Location: Italia

PostPosted: Sat Mar 30, 2019 1:46 pm    Post subject: Reply with quote

ora ho ridato:

Code:
genkernel --oldconfig all


e sembrerebbe che stia compilando regolarmente
Back to top
View user's profile Send private message
Maxxx
Guru
Guru


Joined: 12 Jan 2016
Posts: 515
Location: Italia

PostPosted: Sat Mar 30, 2019 2:10 pm    Post subject: Reply with quote

risolto, grazie mille!!!!!!
ho riavviato con il nuovo kernel e funziona benissimo.
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