You are not logged in.

#1 2015-11-22 19:09:38

canni
Member
Registered: 2007-08-02
Posts: 8

[SOLVED] Problems with XMG C405 - random Kernel Panics

Some context first:

Laptop link: http://mysn.co.uk/xmg-c405-gaminglaptop

$ lspci
00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge - DMI (rev 0a)
00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 0a)
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 0a)
00:14.0 USB controller: Intel Corporation 9 Series Chipset Family USB xHCI Controller
00:16.0 Communication controller: Intel Corporation 9 Series Chipset Family ME Interface #1
00:1a.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 1 (rev d0)
00:1c.1 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 2 (rev d0)
00:1c.2 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 3 (rev d0)
00:1d.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #1
00:1f.0 ISA bridge: Intel Corporation 9 Series Chipset Family HM97 LPC Controller
00:1f.2 SATA controller: Intel Corporation 9 Series Chipset Family SATA Controller [AHCI Mode]
00:1f.3 SMBus: Intel Corporation 9 Series Chipset Family SMBus Controller
01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
03:00.0 Network controller: Intel Corporation Wireless 7260 (rev bb)

cat /etc/modprobe.d/nouveau_blacklist.conf
blacklist nouveau

- No proprietary nvidia drivers installed
- nvidia disabled in BIOS when I'm using Linux
- Gnome3 DE

Now, the are a couple of issues that are quite annoying hmm

1) Random Kernel Panic's:
- sometimes even before boot process finishes
- most often happens when some code gets compiled (?) eg:

pip install psycopg2

triggers kernel panic in 1 in 3 tries, and quite often when installing packages from AUR
- I've tried installing latest Ubuntu (15.04 and 15.10) installation process dies with Kernel Panic ALWAYS, straight after "Coping files finished" stage/step, probably when compiling something...

2) Touchpad
- works with no issues 90% of time
- when it dies I have to do full power-off/on cycle, just reboot does not helps.

Any clues how can I debug/pin-point the issue?

Last edited by canni (2015-11-23 19:26:58)

Offline

#2 2015-11-22 19:31:19

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Problems with XMG C405 - random Kernel Panics

Have you got the Intel microcode updates installed?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2015-11-22 19:40:57

canni
Member
Registered: 2007-08-02
Posts: 8

Re: [SOLVED] Problems with XMG C405 - random Kernel Panics

I forgot about microcode, I followed wiki page to get this working, and got a Kernel Panic on first reboot hmm second reboot worked so I can post this...

[    0.893969] microcode: CPU0 sig=0x40671, pf=0x20, revision=0xd
[    0.893975] microcode: CPU1 sig=0x40671, pf=0x20, revision=0xd
[    0.893980] microcode: CPU2 sig=0x40671, pf=0x20, revision=0xd
[    0.893985] microcode: CPU3 sig=0x40671, pf=0x20, revision=0xd
[    0.893989] microcode: CPU4 sig=0x40671, pf=0x20, revision=0xd
[    0.893993] microcode: CPU5 sig=0x40671, pf=0x20, revision=0xd
[    0.893998] microcode: CPU6 sig=0x40671, pf=0x20, revision=0xd
[    0.894003] microcode: CPU7 sig=0x40671, pf=0x20, revision=0xd
[    0.894029] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba

Offline

#4 2015-11-23 10:46:32

hmh
Member
Registered: 2015-10-08
Posts: 13

Re: [SOLVED] Problems with XMG C405 - random Kernel Panics

canni wrote:

I forgot about microcode, I followed wiki page to get this working, and got a Kernel Panic on first reboot hmm second reboot worked so I can post this...

[    0.893969] microcode: CPU0 sig=0x40671, pf=0x20, revision=0xd

You need microcode revision=0x13 to fix the typical crashes for this processor.  It is in the latest release of the intel microcode data package, so you may need to update.

Whether this will fix your particular issue or not, I do not know.  But I do know one cannot trust that processor with microcode revision 0xd to run stable.  Also, check with your motherboard/system vendor for a BIOS update.

Offline

#5 2015-11-23 18:44:23

canni
Member
Registered: 2007-08-02
Posts: 8

Re: [SOLVED] Problems with XMG C405 - random Kernel Panics

Thanks for pointing me onto this, unfortunately intel-ucode package does not contain microcode update for this CPU (yet)
I followed this BUG report: https://bugzilla.kernel.org/show_bug.cgi?id=103351
and found here updated microcode: https://github.com/bgw/bdw-ucode-update-tool

Testing now, currently looking promising...

[EDIT]
Marking topic as solved, microcode update from bgw repo looks like a fix for my issues.

[    1.082943] microcode: CPU0 sig=0x40671, pf=0x20, revision=0xd
[    1.082965] microcode: CPU1 sig=0x40671, pf=0x20, revision=0xd
[    1.082985] microcode: CPU2 sig=0x40671, pf=0x20, revision=0xd
[    1.083005] microcode: CPU3 sig=0x40671, pf=0x20, revision=0xd
[    1.083017] microcode: CPU4 sig=0x40671, pf=0x20, revision=0xd
[    1.083032] microcode: CPU5 sig=0x40671, pf=0x20, revision=0xd
[    1.083049] microcode: CPU6 sig=0x40671, pf=0x20, revision=0xd
[    1.083065] microcode: CPU7 sig=0x40671, pf=0x20, revision=0xd
[    1.083173] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[    4.100475] microcode: CPU0 sig=0x40671, pf=0x20, revision=0xd
[    4.103644] microcode: CPU0 updated to revision 0x13, date = 2015-08-03
[    4.103696] microcode: CPU1 sig=0x40671, pf=0x20, revision=0xd
[    4.105738] microcode: CPU1 updated to revision 0x13, date = 2015-08-03
[    4.105777] microcode: CPU2 sig=0x40671, pf=0x20, revision=0xd
[    4.107757] microcode: CPU2 updated to revision 0x13, date = 2015-08-03
[    4.107817] microcode: CPU3 sig=0x40671, pf=0x20, revision=0xd
[    4.109866] microcode: CPU3 updated to revision 0x13, date = 2015-08-03
[    4.109895] microcode: CPU4 sig=0x40671, pf=0x20, revision=0xd
[    4.111814] microcode: CPU4 updated to revision 0x13, date = 2015-08-03
[    4.111840] microcode: CPU5 sig=0x40671, pf=0x20, revision=0xd
[    4.113749] microcode: CPU5 updated to revision 0x13, date = 2015-08-03
[    4.113831] microcode: CPU6 sig=0x40671, pf=0x20, revision=0xd
[    4.115853] microcode: CPU6 updated to revision 0x13, date = 2015-08-03
[    4.115884] microcode: CPU7 sig=0x40671, pf=0x20, revision=0xd
[    4.117797] microcode: CPU7 updated to revision 0x13, date = 2015-08-03

Last edited by canni (2015-11-23 19:26:24)

Offline

Board footer

Powered by FluxBB