The officially official Devuan Forum!

You are not logged in.

#1 2020-03-06 12:35:16

xinomilo
Member
Registered: 2017-07-02
Posts: 116  

system freeze with non-default 5.5.x kernel(s)

seen it happen a few times with different kernels of the 5.5.x tree (specifically linux-libre & antix). haven't seen it happened with stock kernel yet ( 5.4.19-1).
writing it here, in case someone has some tips..
when this happens laptop is completely frozen, can only hard-reboot it.

using i915 driver, 2nd gen i5 cpu on a thinkpad t420s. with chimaera/ceres.

Graphics:  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics vendor: Lenovo driver: i915 v: kernel 
           bus ID: 00:02.0 
           Display: x11 server: X.Org 1.20.7 driver: modesetting unloaded: fbdev,vesa resolution: 1600x900~60Hz 
           OpenGL: renderer: Mesa DRI Intel Sandybridge Mobile v: 3.3 Mesa 19.3.3 direct render: Yes 
Mar  6 14:16:56 hostname kernel: [11397.232781] general protection fault: 0000 [#1] PREEMPT SMP PTI
Mar  6 14:16:56 hostname kernel: [11397.232789] CPU: 2 PID: 2387 Comm: Xorg Tainted: G            E     5.5.0-antix.1-amd64-smp #1
Mar  6 14:16:56 hostname kernel: [11397.232790] Hardware name: LENOVO xxxx, BIOS xxxxxx
Mar  6 14:16:56 hostname kernel: [11397.232800] RIP: 0010:kmem_cache_alloc+0x7d/0x210
Mar  6 14:16:56 hostname kernel: [11397.232803] Code: 7e 48 8b 70 08 48 39 f2 75 e7 4c 8b 28 4d 85 ed 0f 84 75 01 00 00 41 8b 5e 20 49 8b 3e 48 8d 8a 00 01 00 00 4c 89 e8 4c 01 eb <48> 33 1b 49 33 9e 70 01 00 00 65 48 0f c7 0f 0f 94 c0 84 c0 74 ae
Mar  6 14:16:56 hostname kernel: [11397.232804] RSP: 0018:ffffc9000048fa30 EFLAGS: 00010206
Mar  6 14:16:56 hostname kernel: [11397.232807] RAX: 6b75844d72bf8ffa RBX: 6b75844d72bf8ffa RCX: 0000000008d4ef02
Mar  6 14:16:56 hostname kernel: [11397.232808] RDX: 0000000008d4ee02 RSI: 0000000008d4ee02 RDI: 000000000002f530
Mar  6 14:16:56 hostname kernel: [11397.232809] RBP: 0000000000000cc0 R08: 0000000000000000 R09: ffff8881909b1690
Mar  6 14:16:56 hostname kernel: [11397.232810] R10: ffff88818e660240 R11: 0000000000000001 R12: ffffffffa0254d75
Mar  6 14:16:56 hostname kernel: [11397.232811] R13: 6b75844d72bf8ffa R14: ffff8881971c2a00 R15: ffff8881971c2a00
Mar  6 14:16:56 hostname kernel: [11397.232813] FS:  00007fdc83ba5a80(0000) GS:ffff888198280000(0000) knlGS:0000000000000000
Mar  6 14:16:56 hostname kernel: [11397.232815] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mar  6 14:16:56 hostname kernel: [11397.232816] CR2: 00007f4f22bc0020 CR3: 0000000190038003 CR4: 00000000000606e0
Mar  6 14:16:56 hostname kernel: [11397.232818] Call Trace:
Mar  6 14:16:56 hostname kernel: [11397.232871]  i915_active_ref+0x65/0x180 [i915]
Mar  6 14:16:56 hostname kernel: [11397.232902]  i915_vma_move_to_active+0x22/0x150 [i915]
Mar  6 14:16:56 hostname kernel: [11397.232926]  i915_gem_do_execbuffer+0xd56/0x18a0 [i915]
Mar  6 14:16:56 hostname kernel: [11397.232932]  ? __wake_up_common+0x80/0x180
Mar  6 14:16:56 hostname kernel: [11397.232936]  ? unix_stream_read_generic+0x204/0x990
Mar  6 14:16:56 hostname kernel: [11397.232941]  ? __kmalloc_node+0x57/0x310
Mar  6 14:16:56 hostname kernel: [11397.232967]  i915_gem_execbuffer2_ioctl+0x1df/0x3d0 [i915]
Mar  6 14:16:56 hostname kernel: [11397.232989]  ? i915_gem_execbuffer_ioctl+0x2e0/0x2e0 [i915]
Mar  6 14:16:56 hostname kernel: [11397.233008]  drm_ioctl_kernel+0xaa/0xf0 [drm]
Mar  6 14:16:56 hostname kernel: [11397.233017]  drm_ioctl+0x208/0x390 [drm]
Mar  6 14:16:56 hostname kernel: [11397.233041]  ? i915_gem_execbuffer_ioctl+0x2e0/0x2e0 [i915]
Mar  6 14:16:56 hostname kernel: [11397.233047]  do_vfs_ioctl+0x45f/0x6d0
Mar  6 14:16:56 hostname kernel: [11397.233052]  ksys_ioctl+0x5e/0x90
Mar  6 14:16:56 hostname kernel: [11397.233055]  __x64_sys_ioctl+0x16/0x20
Mar  6 14:16:56 hostname kernel: [11397.233058]  do_syscall_64+0x4c/0x170
Mar  6 14:16:56 hostname kernel: [11397.233063]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Mar  6 14:16:56 hostname kernel: [11397.233066] RIP: 0033:0x7fdc840d6497
Mar  6 14:16:56 hostname kernel: [11397.233069] Code: 00 00 90 48 8b 05 f9 79 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d c9 79 0c 00 f7 d8 64 89 01 48
Mar  6 14:16:56 hostname kernel: [11397.233070] RSP: 002b:00007fffc95958d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Mar  6 14:16:56 hostname kernel: [11397.233073] RAX: ffffffffffffffda RBX: 00007fffc9595920 RCX: 00007fdc840d6497
Mar  6 14:16:56 hostname kernel: [11397.233074] RDX: 00007fffc9595920 RSI: 0000000040406469 RDI: 000000000000000e
Mar  6 14:16:56 hostname kernel: [11397.233075] RBP: 0000000040406469 R08: 00005630743a7540 R09: 0000000000000001
Mar  6 14:16:56 hostname kernel: [11397.233076] R10: 0000000000000000 R11: 0000000000000246 R12: 0000563074365690
Mar  6 14:16:56 hostname kernel: [11397.233077] R13: 000000000000000e R14: ffffffffffffffff R15: 00007fdc832f0e08
Mar  6 14:16:56 hostname kernel: [11397.233079] Modules linked in: ccm(E) nf_tables(E) nfnetlink(E) cpufreq_powersave(E) cpufreq_conservative(E) intel_rapl_msr(E) intel_rapl_common(E) x86_pkg_temp_thermal(E) intel_powerclamp(E) ath9k(E) mei_hdcp(E) mei_wdt(E) coretemp(E) ath9k_common(E) snd_hda_codec_conexant(E) ath9k_hw(E) kvm_intel(E) snd_hda_codec_generic(E) kvm(E) snd_hda_intel(E) ath(E) snd_intel_dspcfg(E) mac80211(E) snd_hda_codec(E) irqbypass(E) snd_hda_core(E) joydev(E) intel_cstate(E) snd_hwdep(E) intel_rapl_perf(E) pcspkr(E) serio_raw(E) wmi_bmof(E) snd_pcm(E) thinkpad_acpi(E) cfg80211(E) iTCO_wdt(E) libarc4(E) iTCO_vendor_support(E) nvram(E) snd_timer(E) ledtrig_audio(E) mei_me(E) snd(E) soundcore(E) rfkill(E) ac(E) mei(E) evdev(E) dm_crypt(E) dm_mod(E) hid_generic(E) crct10dif_pclmul(E) crc32_pclmul(E) crc32c_intel(E) ghash_clmulni_intel(E) aesni_intel(E) crypto_simd(E) cryptd(E) glue_helper(E) psmouse(E) i915(E) i2c_i801(E) lpc_ich(E) wmi(E) thermal(E) intel_gtt(E) i2c_algo_bit(E) battery(E) drm_kms_helper(E)
Mar  6 14:16:56 hostname kernel: [11397.233110]  syscopyarea(E) sysfillrect(E) sysimgblt(E) fb_sys_fops(E) video(E) drm(E) e1000e(E) button(E)
Mar  6 14:16:56 hostname kernel: [11397.233129] ---[ end trace f56d9eb062a345ea ]---
Mar  6 14:16:56 hostname kernel: [11397.233136] RIP: 0010:kmem_cache_alloc+0x7d/0x210
Mar  6 14:16:56 hostname kernel: [11397.233140] Code: 7e 48 8b 70 08 48 39 f2 75 e7 4c 8b 28 4d 85 ed 0f 84 75 01 00 00 41 8b 5e 20 49 8b 3e 48 8d 8a 00 01 00 00 4c 89 e8 4c 01 eb <48> 33 1b 49 33 9e 70 01 00 00 65 48 0f c7 0f 0f 94 c0 84 c0 74 ae
Mar  6 14:16:56 hostname kernel: [11397.233143] RSP: 0018:ffffc9000048fa30 EFLAGS: 00010206
Mar  6 14:16:56 hostname kernel: [11397.233148] RAX: 6b75844d72bf8ffa RBX: 6b75844d72bf8ffa RCX: 0000000008d4ef02
Mar  6 14:16:56 hostname kernel: [11397.233150] RDX: 0000000008d4ee02 RSI: 0000000008d4ee02 RDI: 000000000002f530
Mar  6 14:16:56 hostname kernel: [11397.233154] RBP: 0000000000000cc0 R08: 0000000000000000 R09: ffff8881909b1690
Mar  6 14:16:56 hostname kernel: [11397.233157] R10: ffff88818e660240 R11: 0000000000000001 R12: ffffffffa0254d75
Mar  6 14:16:56 hostname kernel: [11397.233160] R13: 6b75844d72bf8ffa R14: ffff8881971c2a00 R15: ffff8881971c2a00
Mar  6 14:16:56 hostname kernel: [11397.233164] FS:  00007fdc83ba5a80(0000) GS:ffff888198280000(0000) knlGS:0000000000000000
Mar  6 14:16:56 hostname kernel: [11397.233168] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mar  6 14:16:56 hostname kernel: [11397.233171] CR2: 00007f4f22bc0020 CR3: 0000000190038003 CR4: 00000000000606e0

Last edited by xinomilo (2020-03-06 12:47:26)

Offline

#2 2020-03-09 03:30:03

dzz
Member
From: Exmouth, South West England
Registered: 2016-12-01
Posts: 30  

Re: system freeze with non-default 5.5.x kernel(s)

Maybe or not your problem is related but:

My ceres live builds, with *default* 5x kernels (all of them), hang every time in seemingly random stages of bootup. Often while still in initramfs. This older HP (Intel) laptop is all I have around at the moment. They boot fine with some combinations of "failsafe graphics" parameters on the cmdline (maybe breaks some acpi-related functions):

noapic noapm nodma nomce nolapic nosmp

Seems a major kernel issue. A search for, e.g. "linux 5x intel hangs", returns much info but little good news, at least not soon. No such issues here with Beowulf and Ascii systems.

:~$ uname -r && inxi -CG
5.4.0-4-amd64
CPU:
  Topology: Single Core model: Intel Core2 T5500 bits: 64 type: MCP
  L2 cache: 2048 KiB
  Speed: 1662 MHz min/max: N/A Core speed (MHz): 1: 1662
Graphics:
  Device-1: Intel Mobile 945GM/GMS 943/940GML Express Integrated Graphics
  driver: i915 v: kernel
  Display: x11 server: X.Org 1.20.7 driver: intel
  unloaded: fbdev,modesetting,vesa resolution: 1024x768~60Hz
  Message: Unable to show advanced data. Required tool glxinfo missing.

Last edited by dzz (2020-03-09 03:38:36)

Offline

#3 2020-03-09 06:36:35

czeekaj
Member
Registered: 2019-06-12
Posts: 47  

Re: system freeze with non-default 5.5.x kernel(s)

I had hangs on my desktop running Ceres while gaming, had to roll back to beowulf for stability. It would hang and than just start up again. Never crash.

Pretty sure it is a kernel issue. I looked into it and only solution I found was people rolling back the kernel. Something odd on the newer versions.

I have a dell laptop on Ceres. Never noticed hanging. Kernel is 5.X. No non-free repo though.

Last edited by czeekaj (2020-03-09 06:41:45)

Offline

#4 2020-03-09 10:47:41

xinomilo
Member
Registered: 2017-07-02
Posts: 116  

Re: system freeze with non-default 5.5.x kernel(s)

in my case freeze happened after working already for some hours, while browsing some "news" web with ff & several tabs open.
no issues so far with 5.4 official kernel (devuan/debian sid 5.4.19-1), sticking with that for now.

Last edited by xinomilo (2020-03-09 10:51:43)

Offline

#5 2020-03-31 17:51:38

xinomilo
Member
Registered: 2017-07-02
Posts: 116  

Re: system freeze with non-default 5.5.x kernel(s)

using linux libre 5.6 (https://lists.gnu.org/archive/html/info … 00014.html), for several hours today, no freezes so far... looks good. didn't read linux kernel official release notes, but probably some "popular" intel issues were patched..

Offline

#6 2020-04-01 01:50:48

aus9
Member
Registered: 2020-03-24
Posts: 36  

Re: system freeze with non-default 5.5.x kernel(s)

Hi

If you have access to a live cd/USB I suggest you try out a xorg setting.
first I used to have an intel VGA but now AMD APU so can not test this myself anymore.

2) on Beowulf we have a confless Xorg system. But hopefully your system  should recognise part conf files.

so you will need powers to create the conf dir.
skip the apt commands if you know you have not deleted any intel drivers

su - 
apt update
apt install xserver-xorg-video-intel

# create dir if missing
[ -d /etc/X11/xorg.conf.d/ ] || mkdir /etc/X11/xorg.conf.d

# create file
echo '## /etc/X11/xorg.conf.d
Section "Device"
	Identifier  "Intel Graphics"
	Driver      "Intel"
	Option      "AccelMethod"  "sna"
        #Option      "AccelMethod"  "uxa"
	Option      "TearFree"	"True"
	Option      "Tiling"	"True"
	Option      "SwapbuffersWait" "True"
EndSection' > /etc/X11/xorg.conf.d/20-intel.conf

Now you have 2 options over full reboot
allegedly you will get graphics and the driver in inxi -Gxxx will change from modesetting to intel

and either graphics will be stable or not
uxa is commented out and you have sna.

if not working too well, try editting with root powers to comment out the first and enable the second as some cards vary.

if you can not get into GUI and do not know how to use nano at console login
then just a live cd/usb, mount the target internal drive and then use root powers to edit that file.

ref
https://gist.github.com/r0xsh/a868e794f … d5b9e743dc

Last edited by aus9 (2020-04-01 01:55:08)

Offline

Board footer