You are not logged in.

#1 2020-02-26 21:16:43

tinko992
Member
Registered: 2016-03-03
Posts: 9

[SOLVED] Thinkpad Carbon X1 Gen7 becomes unbootable w/ sof-firmware

Edit/Solution: The problem described below occured when the packages sof-firmware and archlinux kernel, version 5.5.6, where installed simultaneously. It no longer occurs (on my system) with kernel 5.5.7. The original workarounds were to boot with "emergency" kernel parameter and either downgrade to kernel 5.5.5 or remove the package sof-firmware to get a bootable system. Removing the firmware would result in no sound, so kernel downgrade was probably the better workaround.

Hello, I had a somewhat unsettling issue come up today. My device is the Thinkpad Carbon X1 Gen7. BIOS revision 1.27 in case it matters (but I don't think it is related to the issue. I followed the advice from the wiki to get working sound ( https://wiki.archlinux.org/index.php/Le … n_7)#Audio ) and it worked mostly fine until today. Today at ~2pm UTC, I ran pacman -Syu and the next reboot, my machine would no longer boot up and allow me to login.

Here is some excerpt from the journal that i consider relevant:

Feb 26 19:19:50 *** kernel: sof-audio-pci 0000:00:1f.3: Firmware info: version 1:4:2-66a5a
Feb 26 19:19:50 *** kernel: sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:11:0 Kernel ABI 3:11:0
Feb 26 19:19:50 *** kernel: sof-audio-pci 0000:00:1f.3: firmware boot complete
Feb 26 19:19:50 *** kernel: BUG: unable to handle page fault for address: 000005dc00000000
Feb 26 19:19:50 *** kernel: #PF: supervisor read access in kernel mode
Feb 26 19:19:50 *** kernel: #PF: error_code(0x0000) - not-present page
Feb 26 19:19:50 *** kernel: PGD 0 P4D 0
Feb 26 19:19:50 *** kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI
Feb 26 19:19:50 *** kernel: CPU: 4 PID: 126 Comm: kworker/4:1 Not tainted 5.5.6-arch1-1 #1
Feb 26 19:19:50 *** kernel: Hardware name: LENOVO 20QD003MGE/20QD003MGE, BIOS N2HET44W (1.27 ) 01/15/2020
Feb 26 19:19:50 *** kernel: Workqueue: events sof_probe_work [snd_sof]
Feb 26 19:19:50 *** kernel: RIP: 0010:strlen+0x0/0x20
Feb 26 19:19:50 *** kernel: Code: 48 89 f9 74 09 48 83 c1 01 80 39 00 75 f7 31 d2 44 0f b6 04 16 44 88 04 11 48 83 c2 01 45 84 c0 75 ee c3 0f 1f 80 00 00 00 00 <80> 3f 00 74 10 48 89 f8 48 83 c0 01 80 38 00 75 f7 48 29 f8 c3 31
Feb 26 19:19:50 *** kernel: RSP: 0018:ffffa657004c7d30 EFLAGS: 00010206
Feb 26 19:19:50 *** kernel: RAX: ffff8ea0e01cd498 RBX: ffff8ea0eafb4018 RCX: 0000000000000000
Feb 26 19:19:50 *** dbus-daemon[518]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.2' (uid=0 pid=519 comm="/usr/bin/NetworkManager --no-daemon ")
Feb 26 19:19:50 *** NetworkManager[519]: <info>  [1582741190.2538] manager[0x55a9b4f1a0f0]: monitoring kernel firmware directory '/lib/firmware'.
Feb 26 19:19:50 *** systemd[1]: Starting The PHP FastCGI Process Manager...
Feb 26 19:19:50 *** dbus-daemon[518]: [system] Activating via systemd: service name='org.freedesktop.ColorManager' unit='colord.service' requested by ':1.5' (uid=0 pid=542 comm="/usr/bin/cupsd -l ")
Feb 26 19:19:50 *** kernel: RDX: 0000000000000cc0 RSI: 000005dc00000000 RDI: 000005dc00000000
Feb 26 19:19:50 *** kernel: RBP: 000005dc00000000 R08: ffff8ea0ee807100 R09: ffff8ea0ee807100
Feb 26 19:19:50 *** kernel: R10: 0000000000000010 R11: f000000000000000 R12: ffff8ea0e01cd498
Feb 26 19:19:50 *** kernel: R13: ffff8ea0ed48a0b0 R14: 0000000000000cc0 R15: 000000000000000f
Feb 26 19:19:50 *** kernel: FS:  0000000000000000(0000) GS:ffff8ea0f0700000(0000) knlGS:0000000000000000
Feb 26 19:19:50 *** kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 26 19:19:50 *** kernel: CR2: 000005dc00000000 CR3: 0000000148e0a004 CR4: 00000000003606e0
Feb 26 19:19:50 *** kernel: Call Trace:
Feb 26 19:19:50 *** kernel:  devm_kstrdup+0x22/0x60
Feb 26 19:19:50 *** kernel:  snd_soc_register_dai+0x6c/0x170 [snd_soc_core]
Feb 26 19:19:50 *** kernel:  snd_soc_add_component+0xf9/0x2c0 [snd_soc_core]
Feb 26 19:19:50 *** kernel:  devm_snd_soc_register_component+0x4e/0x90 [snd_soc_core]
Feb 26 19:19:50 *** kernel:  sof_probe_work+0x110/0x290 [snd_sof]
Feb 26 19:19:50 *** kernel:  process_one_work+0x1e1/0x3d0
Feb 26 19:19:50 *** kernel:  worker_thread+0x4a/0x3d0
Feb 26 19:19:50 *** kernel:  kthread+0xfb/0x130
Feb 26 19:19:50 *** kernel:  ? process_one_work+0x3d0/0x3d0
Feb 26 19:19:50 *** kernel:  ? kthread_park+0x90/0x90
Feb 26 19:19:50 *** kernel:  ret_from_fork+0x1f/0x40
Feb 26 19:19:50 *** kernel: Modules linked in: snd_hda_codec_hdmi snd_soc_hdac_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_soc_dmic snd_sof_pci snd_sof_intel_byt snd_sof_intel_ipc snd_sof_xtensa_dsp snd_sof_intel_hda_common snd_soc_hdac_hda x86_pkg_temp_thermal snd_sof_intel_hda intel_powerclamp snd_sof coretemp kvm_intel snd_hda_ext_core snd_soc_acpi_intel_match joydev snd_soc_acpi kvm snd_intel_dspcfg mousedev snd_hda_codec irqbypass snd_hda_core snd_hwdep snd_soc_core crct10dif_pclmul crc32_pclmul hid_multitouch iTCO_wdt ghash_clmulni_intel iTCO_vendor_support mei_hdcp hid_generic snd_compress aesni_intel intel_rapl_msr ac97_bus crypto_simd wmi_bmof intel_wmi_thunderbolt nls_iso8859_1 nls_cp437 snd_pcm_dmaengine cryptd iwlmvm vfat glue_helper intel_cstate mac80211 fat i915 intel_uncore snd_pcm intel_rapl_perf psmouse libarc4 pcspkr e1000e input_leds btusb snd_timer uvcvideo btrtl btbcm i2c_i801 btintel videobuf2_vmalloc videobuf2_memops i2c_algo_bit thunderbolt videobuf2_v4l2 nxp_nci_i2c
Feb 26 19:19:50 *** kernel:  videobuf2_common nxp_nci bluetooth iwlwifi drm_kms_helper nci mei_me videodev mei intel_lpss_pci cfg80211 intel_lpss idma64 i2c_hid ecdh_generic ecc mc crc16 nfc hid intel_pch_thermal drm tpm_crb thinkpad_acpi nvram ledtrig_audio rfkill intel_gtt snd agpgart tpm_tis tpm_tis_core ucsi_acpi syscopyarea typec_ucsi sysfillrect battery soundcore ac int3403_thermal tpm processor_thermal_device sysimgblt typec fb_sys_fops intel_rapl_common int340x_thermal_zone rng_core intel_soc_dts_iosf wmi int3400_thermal acpi_thermal_rel evdev mac_hid acpi_tad sg scsi_mod crypto_user ip_tables x_tables btrfs blake2b_generic libcrc32c crc32c_generic xor serio_raw raid6_pq atkbd libps2 crc32c_intel xhci_pci xhci_hcd i8042 serio
Feb 26 19:19:50 *** kernel: CR2: 000005dc00000000
Feb 26 19:19:50 *** kernel: ---[ end trace ebec7102f4be8dca ]---
Feb 26 19:19:50 *** kernel: RIP: 0010:strlen+0x0/0x20
Feb 26 19:19:50 *** kernel: Code: 48 89 f9 74 09 48 83 c1 01 80 39 00 75 f7 31 d2 44 0f b6 04 16 44 88 04 11 48 83 c2 01 45 84 c0 75 ee c3 0f 1f 80 00 00 00 00 <80> 3f 00 74 10 48 89 f8 48 83 c0 01 80 38 00 75 f7 48 29 f8 c3 31
Feb 26 19:19:50 *** kernel: RSP: 0018:ffffa657004c7d30 EFLAGS: 00010206
Feb 26 19:19:50 *** kernel: RAX: ffff8ea0e01cd498 RBX: ffff8ea0eafb4018 RCX: 0000000000000000
Feb 26 19:19:50 *** kernel: RDX: 0000000000000cc0 RSI: 000005dc00000000 RDI: 000005dc00000000
Feb 26 19:19:50 *** kernel: RBP: 000005dc00000000 R08: ffff8ea0ee807100 R09: ffff8ea0ee807100
Feb 26 19:19:50 *** kernel: R10: 0000000000000010 R11: f000000000000000 R12: ffff8ea0e01cd498
Feb 26 19:19:50 *** kernel: R13: ffff8ea0ed48a0b0 R14: 0000000000000cc0 R15: 000000000000000f
Feb 26 19:19:50 *** kernel: FS:  0000000000000000(0000) GS:ffff8ea0f0700000(0000) knlGS:0000000000000000
Feb 26 19:19:50 *** kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 26 19:19:50 *** kernel: CR2: 000005dc00000000 CR3: 0000000148e0a004 CR4: 00000000003606e0
[...]
Feb 26 19:20:06 *** systemd[1]: Started Getty on tty2.
Feb 26 19:20:06 *** audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 26 19:20:06 *** kernel: audit: type=1130 audit(1582741206.297:36): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 26 19:20:07 *** systemd[1]: Started Getty on tty3.
Feb 26 19:20:07 *** audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty3 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 26 19:20:07 *** kernel: audit: type=1130 audit(1582741207.631:37): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty3 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 26 19:20:08 *** kernel: usb 1-10: Failed to suspend device, error -110
Feb 26 19:20:08 *** systemd[1]: Started Getty on tty4.
Feb 26 19:20:08 *** audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty4 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 26 19:20:08 *** kernel: audit: type=1130 audit(1582741208.311:38): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty4 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 26 19:20:08 *** systemd[1]: Started Getty on tty5.
Feb 26 19:20:08 *** audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty5 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 26 19:20:08 *** kernel: audit: type=1130 audit(1582741208.961:39): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty5 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 26 19:20:15 *** dbus-daemon[518]: [system] Failed to activate service 'org.freedesktop.hostname1': timed out (service_start_timeout=25000ms)
[...]
Feb 26 19:20:52 *** systemd[1]: Started Getty on tty6.
Feb 26 19:20:52 *** audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty6 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 26 19:20:52 *** kernel: audit: type=1130 audit(1582741252.177:40): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty6 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 26 19:20:59 *** systemd[1]: Received SIGINT.
Feb 26 19:20:59 *** gdm-launch-environment][580]: pam_systemd(gdm-launch-environment:session): Failed to create session: Start job for unit 'session-c1.scope' failed with 'canceled'
Feb 26 19:20:59 *** audit[580]: USER_START pid=580 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_open grantors=? acct="gdm" exe="/usr/lib/gdm-session-worker" hostname=*** addr=? terminal=/dev/tty1 res=failed'
Feb 26 19:20:59 *** systemd[1]: Removed slice system-modprobe.slice.
Feb 26 19:20:59 *** kernel: audit: type=1105 audit(1582741259.751:41): pid=580 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:session_open grantors=? acct="gdm" exe="/usr/lib/gdm-session-worker" hostname=*** addr=? terminal=/dev/tty1 res=failed'
Feb 26 19:20:59 *** kernel: audit: type=1104 audit(1582741259.751:42): pid=580 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_permit acct="gdm" exe="/usr/lib/gdm-session-worker" hostname=*** addr=? terminal=/dev/tty1 res=success'
Feb 26 19:20:59 *** audit[580]: CRED_DISP pid=580 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_permit acct="gdm" exe="/usr/lib/gdm-session-worker" hostname=*** addr=? terminal=/dev/tty1 res=success'
Feb 26 19:20:59 *** systemd[1]: Stopped target Bluetooth.
Feb 26 19:20:59 *** systemd[1]: Stopped target Login Prompts.
Feb 26 19:20:59 *** systemd[1]: Stopped target Timers.
Feb 26 19:20:59 *** systemd[1]: man-db.timer: Succeeded.
Feb 26 19:20:59 *** systemd[1]: Stopped Daily man-db regeneration.
Feb 26 19:20:59 *** systemd[1]: shadow.timer: Succeeded.
Feb 26 19:20:59 *** systemd[1]: Stopped Daily verification of password and group files.
Feb 26 19:20:59 *** systemd[1]: systemd-tmpfiles-clean.timer: Succeeded.
Feb 26 19:20:59 *** systemd[1]: Stopped Daily Cleanup of Temporary Directories.
Feb 26 19:20:59 *** systemd[1]: lvm2-lvmpolld.socket: Succeeded.
Feb 26 19:20:59 *** systemd[1]: Closed LVM2 poll daemon socket.
Feb 26 19:20:59 *** systemd[1]: systemd-rfkill.socket: Succeeded.

I did a couple of reboots. I was unable to log into gdm. I was unable to log into tty2 (I'd enter some username and then there would be no password prompt). I was unable to reboot by other means than holding the power button for 10 seconds. I was unable to boot to target rescue (it would show the above kernel stacktrace and crash without accepting any more input) but I was able to boot to target emergency and after trying a couple of things (like blacklisting various modules that started with snd_), what finally worked was pacman -R sof-firmware.

My machine boots again but of course I no longer have audio output which is unsatisfactory. I tried reinstalling sof-firmware again but this would again lead to the issue of not being able to boot other than to target "emergency". I consider this a serious issue if it may cause crashes at boot for other users of this machine.

full journal of the failed attempt to boot (with sof-firmware installed): https://pastebin.com/z00wm73Q (some strings that I consider sensitive were replaced with ***)
the output of "pacman -Q": https://pastebin.com/6avGtk9z

Any help would be appreciated.

Last edited by tinko992 (2020-03-02 09:08:05)

Offline

#2 2020-02-26 21:42:18

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: [SOLVED] Thinkpad Carbon X1 Gen7 becomes unbootable w/ sof-firmware

I needed to downgrade the kernel to 5.5.5.arch1-1 to make it work again

Offline

#3 2020-02-26 23:07:50

tinko992
Member
Registered: 2016-03-03
Posts: 9

Re: [SOLVED] Thinkpad Carbon X1 Gen7 becomes unbootable w/ sof-firmware

Thanks, that helps. I hope it is appropriate that I do not mark the thread as solved because it is not really a solution to not being able to update the kernel. If I find that the next kernel release fixes the issue, then I would consider it more appropriate to mark the thread as solved.

Offline

#4 2020-02-27 05:18:20

shuloh
Member
Registered: 2020-02-27
Posts: 1

Re: [SOLVED] Thinkpad Carbon X1 Gen7 becomes unbootable w/ sof-firmware

Hi there, I can confirm I have the  exact same issue with my X1C7.
I followed the arch wiki for the audio setup previously.
After kernel update the system freezes with the same errorrs.

I had to uninstall sof-firmware and live with no audio for now.

Last edited by shuloh (2020-02-27 05:18:59)

Offline

#5 2020-03-01 13:58:26

tbw
Member
Registered: 2017-01-01
Posts: 9

Re: [SOLVED] Thinkpad Carbon X1 Gen7 becomes unbootable w/ sof-firmware

Same problem here. Downgrading to Linux 5.5.5 fixed it for now.

Offline

#6 2020-03-02 09:01:27

tinko992
Member
Registered: 2016-03-03
Posts: 9

Re: [SOLVED] Thinkpad Carbon X1 Gen7 becomes unbootable w/ sof-firmware

I just now ran a full system upgrade and got Linux Kernel 5.5.7. I got working sound with sof-firmware and no boot issues so I will mark the thread as solved.

Offline

#7 2020-03-07 22:45:43

tbw
Member
Registered: 2017-01-01
Posts: 9

Re: [SOLVED] Thinkpad Carbon X1 Gen7 becomes unbootable w/ sof-firmware

I confirm it's working again on my end too, using Linux 5.5.8.

Offline

#8 2020-03-09 03:25:30

rangoon
Member
From: New Zealand
Registered: 2020-02-14
Posts: 4

Re: [SOLVED] Thinkpad Carbon X1 Gen7 becomes unbootable w/ sof-firmware

Same, 5.5.8. everything working


Gamer | Dad | Coffee Drinker | Kiwi | The Right Kind of Crazy

Offline

Board footer

Powered by FluxBB