After upgrage from gentoo-sources-3.8.13 to gentoo-sources-3.10.7 I've got kernel panic on early load. I've 1) checked that eselect kernel list shows 3.7.10 set 2) zcat /proc/config.gz to /usr/src/linux-3.7.10-gentoo/.config 3) make clean (since you've already attempted a problematic build) 4) make oldconfig 5) make && make modules_install And after loading with new kernel I get this: Code: 00 00 85 c0 74 2d 44 89 f2 48 89 de 4c 89 ef e8 d3 fd ff ff 48 85 c0 0f 84 fc 00 00 00 48 89 83 80 00 00 00 48 8b 93 b8 00 00 00 <48> 8b 40 30 48 89 50 48 44 89 b3 c0 00 00 00 be 01 00 00 00 48 RIP [<ffffffff810a11c4>] relay_open_buf.part.11+0x194/0x2a0 RSP <ffff8802320bfbb8> CR2: 000000000000001d ---[ end trace bc7d2724b299825b ]--- Kernel panic - not syncing: Attempted to kill init! exitcode 0x00000009 Reproducible: Always lspci -nn: 00:00.0 Host bridge [0600]: Intel Corporation Core Processor DRAM Controller [8086:0044] (rev 18) 00:01.0 PCI bridge [0604]: Intel Corporation Core Processor PCI Express x16 Root Port [8086:0045] (rev 18) 00:16.0 Communication controller [0780]: Intel Corporation 5 Series/3400 Series Chipset HECI Controller [8086:3b64] (rev 06) 00:1a.0 USB controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 06) 00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56] (rev 06) 00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42] (rev 06) 00:1c.1 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 [8086:3b44] (rev 06) 00:1c.2 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 [8086:3b46] (rev 06) 00:1c.5 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 [8086:3b4c] (rev 06) 00:1d.0 USB controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34] (rev 06) 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev a6) 00:1f.0 ISA bridge [0601]: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller [8086:3b09] (rev 06) 00:1f.2 SATA controller [0106]: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller [8086:3b29] (rev 06) 00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30] (rev 06) 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Robson CE [Radeon HD 6370M/7370M] [1002:68e4] 01:00.1 Audio device [0403]: Advanced Micro Devices [AMD] nee ATI Cedar HDMI Audio [Radeon HD 5400/6300 Series] [1002:aa68] 03:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01) 05:00.0 System peripheral [0880]: JMicron Technology Corp. SD/MMC Host Controller [197b:2382] (rev 80) 05:00.2 SD Host controller [0805]: JMicron Technology Corp. Standard SD Host Controller [197b:2381] (rev 80) 05:00.3 System peripheral [0880]: JMicron Technology Corp. MS Host Controller [197b:2383] (rev 80) 05:00.4 System peripheral [0880]: JMicron Technology Corp. xD Host Controller [197b:2384] (rev 80) 05:00.5 Ethernet controller [0200]: JMicron Technology Corp. JMC250 PCI Express Gigabit Ethernet Controller [197b:0250] (rev 03) ff:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers [8086:2c62] (rev 05) ff:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2d01] (rev 05) ff:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2d10] (rev 05) ff:02.1 Host bridge [0600]: Intel Corporation Core Processor QPI Physical 0 [8086:2d11] (rev 05) ff:02.2 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d12] (rev 05) ff:02.3 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d13] (rev 05)
Created attachment 358000 [details] working .config on which I run make oldconfig
# CONFIG_BINFMT_MISC is not set
(In reply to Jeroen Roovers from comment #2) > # CONFIG_BINFMT_MISC is not set Just tried setting it to <y>, but it didn't help.
RIP function relay_open_buf found in kernel/relay.c which tells me this is "Public API and common code for kernel->userspace relay file support.". If I look in Documentation/filesystems/relay.txt I am wondering if you are using this, the relevant kernel option is CONFIG_RELAY; if you don't recall needing that, could you try to disable that kernel option? It appears disabled in your old config, but I wonder if that's the same case for the new config; could you post your new config as well when disabling CONFIG_RELAY doesn't fix it? As to fix the relay functionality itself, we would need tho full kernel panic.
Hmm, I've configured 3.10.7 from scratch and it works. Seems that oldconfig just missed some critical option (it happens sometimes) and that is not a bug.