After upgrading my son's Asus PN50 with Ubuntu 21.10 to latest kernel 5.13.0-23, I no longer able to boot it normally. Kernel fails with the following somewhere in the middle of the boot process (which got suspiciously slow):
[ 1.359465] BUG: kernel NULL pointer dereference, address: 000000000000000c [ 1.359498] #PF: supervisor write access in kernel mode [ 1.359519] #PF: error_code(0x0002) - not-present page [ 1.359540] PGD 0 P4D 0 [ 1.359553] Oops: 0002 [#1] SMP NOPTI [ 1.359569] CPU: 0 PID: 175 Comm: systemd-udevd Not tainted 5.13.0-23-generic #23-Ubuntu [ 1.359602] Hardware name: ASUSTeK COMPUTER INC. MINIPC PN50/PN50, BIOS 0623 05/13/2021 [ 1.359632] RIP: 0010:amd_sfh_hid_client_init+0x47/0x350 [amd_sfh] [ 1.359661] Code: 00 53 48 83 ec 20 48 8b 5f 08 48 8b 07 48 8d b3 22 01 00 00 4c 8d b0 c8 00 00 00 e8 23 07 00 00 45 31 c0 31 c9 ba 00 00 20 00 <89> 43 0c 48 8d 83 68 01 00 00 48 8d bb 80 01 00 00 48 c7 c6 20 6d [ 1.359729] RSP: 0018:ffffbf71c099f9d8 EFLAGS: 00010246 [ 1.359750] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 1.359777] RDX: 0000000000200000 RSI: ffffffffc03cd249 RDI: ffffffffa680004c [ 1.359804] RBP: ffffbf71c099fa20 R08: 0000000000000000 R09: 0000000000000006 [ 1.359831] R10: ffffbf71c0d00000 R11: 0000000000000007 R12: 0000000fffffffe0 [ 1.359857] R13: ffff992bc3387cd8 R14: ffff992bc11560c8 R15: ffff992bc3387cd8 [ 1.359884] FS: 00007ff0ec1a48c0(0000) GS:ffff992ebf600000(0000) knlGS:0000000000000000 [ 1.359915] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1.359937] CR2: 000000000000000c CR3: 0000000102fd0000 CR4: 0000000000350ef0 [ 1.359964] Call Trace: [ 1.359976] ? __pci_set_master+0x5f/0xe0 [ 1.359997] amd_mp2_pci_probe+0xad/0x160 [amd_sfh] [ 1.360021] local_pci_probe+0x48/0x80 [ 1.360038] pci_device_probe+0x105/0x1c0 [ 1.360056] really_probe+0x24b/0x4c0 [ 1.360073] driver_probe_device+0xf0/0x160 [ 1.360091] device_driver_attach+0xab/0xb0 [ 1.360110] __driver_attach+0xb2/0x140 [ 1.360126] ? device_driver_attach+0xb0/0xb0 [ 1.360145] bus_for_each_dev+0x7e/0xc0 [ 1.360161] driver_attach+0x1e/0x20 [ 1.360177] bus_add_driver+0x135/0x1f0 [ 1.360194] driver_register+0x95/0xf0 [ 1.360210] ? 0xffffffffc03d2000 [ 1.360225] __pci_register_driver+0x57/0x60 [ 1.360242] amd_mp2_pci_driver_init+0x23/0x1000 [amd_sfh] [ 1.360266] do_one_initcall+0x48/0x1d0 [ 1.360284] ? kmem_cache_alloc_trace+0xfb/0x240 [ 1.360306] do_init_module+0x62/0x290 [ 1.360323] load_module+0xa8f/0xb10 [ 1.360340] __do_sys_finit_module+0xc2/0x120 [ 1.360359] __x64_sys_finit_module+0x18/0x20 [ 1.360377] do_syscall_64+0x61/0xb0 [ 1.361638] ? ksys_mmap_pgoff+0x135/0x260 [ 1.362883] ? exit_to_user_mode_prepare+0x37/0xb0 [ 1.364121] ? syscall_exit_to_user_mode+0x27/0x50 [ 1.365343] ? __x64_sys_mmap+0x33/0x40 [ 1.366550] ? do_syscall_64+0x6e/0xb0 [ 1.367749] ? do_syscall_64+0x6e/0xb0 [ 1.368923] ? do_syscall_64+0x6e/0xb0 [ 1.370079] ? syscall_exit_to_user_mode+0x27/0x50 [ 1.371227] ? do_syscall_64+0x6e/0xb0 [ 1.372359] ? exc_page_fault+0x8f/0x170 [ 1.373478] ? asm_exc_page_fault+0x8/0x30 [ 1.374584] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 1.375684] RIP: 0033:0x7ff0ec73a94d [ 1.376767] Code: 5b 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b3 64 0f 00 f7 d8 64 89 01 48 [ 1.377926] RSP: 002b:00007ffd00724ba8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 1.379076] RAX: ffffffffffffffda RBX: 000055e130084390 RCX: 00007ff0ec73a94d [ 1.380225] RDX: 0000000000000000 RSI: 00007ff0ec8ca3fe RDI: 0000000000000005 [ 1.381363] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000000 [ 1.382488] R10: 0000000000000005 R11: 0000000000000246 R12: 00007ff0ec8ca3fe [ 1.383598] R13: 000055e130083370 R14: 000055e130084480 R15: 000055e130086cb0 [ 1.384698] Modules linked in: ahci(+) libahci i2c_piix4(+) r8169(+) amd_sfh(+) i2c_hid_acpi realtek i2c_hid xhci_pci(+) xhci_pci_renesas wmi(+) video(+) fjes(+) hid [ 1.385841] CR2: 000000000000000c [ 1.386955] ---[ end trace b2ebcacf74b788da ]--- [ 1.388064] RIP: 0010:amd_sfh_hid_client_init+0x47/0x350 [amd_sfh] [ 1.389176] Code: 00 53 48 83 ec 20 48 8b 5f 08 48 8b 07 48 8d b3 22 01 00 00 4c 8d b0 c8 00 00 00 e8 23 07 00 00 45 31 c0 31 c9 ba 00 00 20 00 <89> 43 0c 48 8d 83 68 01 00 00 48 8d bb 80 01 00 00 48 c7 c6 20 6d [ 1.390374] RSP: 0018:ffffbf71c099f9d8 EFLAGS: 00010246 [ 1.391560] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 1.392338] piix4_smbus 0000:00:14.0: Auxiliary SMBus Host Controller at 0xb20 [ 1.392763] RDX: 0000000000200000 RSI: ffffffffc03cd249 RDI: ffffffffa680004c [ 1.395162] RBP: ffffbf71c099fa20 R08: 0000000000000000 R09: 0000000000000006 [ 1.396372] R10: ffffbf71c0d00000 R11: 0000000000000007 R12: 0000000fffffffe0 [ 1.397564] R13: ffff992bc3387cd8 R14: ffff992bc11560c8 R15: ffff992bc3387cd8 [ 1.398754] FS: 00007ff0ec1a48c0(0000) GS:ffff992ebf600000(0000) knlGS:0000000000000000 [ 1.399916] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1.401044] CR2: 000000000000000c CR3: 0000000102fd0000 CR4: 0000000000350ef0
Previous kernel 5.13.0-22 works alright.
ProblemType: Bug DistroRelease: Ubuntu 21.10 Package: linux-image-5.13.0-23-generic 5.13.0-23.23 ProcVersionSignature: Ubuntu 5.13.0-22.22-generic 5.13.19 Uname: Linux 5.13.0-22-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.11-0ubuntu71 Architecture: amd64 AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-id', '/dev/snd/controlC1', '/dev/snd/pcmC1D0c', '/dev/snd/controlC2', '/dev/snd/hwC2D0', '/dev/snd/pcmC2D0c', '/dev/snd/pcmC2D0p', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D9p', '/dev/snd/pcmC0D8p', '/dev/snd/pcmC0D7p', '/dev/snd/pcmC0D3p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CasperMD5CheckResult: unknown Date: Wed Jan 5 19:00:15 2022 InstallationDate: Installed on 2021-01-01 (369 days ago) InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022) MachineType: ASUSTeK COMPUTER INC. MINIPC PN50 ProcFB: 0 amdgpudrmfb ProcKernelCmdLine: BOOT_IMAGE=/BOOT/ubuntu_ct91lc@/vmlinuz-5.13.0-22-generic root=ZFS=rpool/ROOT/ubuntu_ct91lc ro quiet splash RelatedPackageVersions: linux-restricted-modules-5.13.0-22-generic N/A linux-backports-modules-5.13.0-22-generic N/A linux-firmware 1.201.3 SourcePackage: linux UpgradeStatus: Upgraded to impish on 2021-10-17 (80 days ago) WifiSyslog:
dmi.bios.date: 05/13/2021 dmi.bios.release: 6.23 dmi.bios.vendor: ASUSTeK COMPUTER INC. dmi.bios.version: 0623 dmi.board.asset.tag: Default string dmi.board.name: PN50 dmi.board.vendor: ASUSTeK COMPUTER INC. dmi.board.version: To be filled by O.E.M. dmi.chassis.asset.tag: Default string dmi.chassis.type: 35 dmi.chassis.vendor: Default string dmi.chassis.version: Default string dmi.modalias: dmi:bvnASUSTeKCOMPUTERINC.:bvr0623:bd05/13/2021:br6.23:svnASUSTeKCOMPUTERINC.:pnMINIPCPN50:pvr0623:rvnASUSTeKCOMPUTERINC.:rnPN50:rvrTobefilledbyO.E.M.:cvnDefaultstring:ct35:cvrDefaultstring:sku: dmi.product.family: Vivo PC dmi.product.name: MINIPC PN50 dmi.product.version: 0623 dmi.sys.vendor: ASUSTeK COMPUTER INC.
After upgrading my son's Asus PN50 with Ubuntu 21.10 to latest kernel 5.13.0-23, I no longer able to boot it normally. Kernel fails with the following somewhere in the middle of the boot process (which got suspiciously slow):
[ 1.359465] BUG: kernel NULL pointer dereference, address: 000000000000000c sfh_hid_ client_ init+0x47/ 0x350 [amd_sfh] 99f9d8 EFLAGS: 00010246 0(0000) GS:ffff992ebf60 0000(0000) knlGS:000000000 0000000 master+ 0x5f/0xe0 pci_probe+ 0xad/0x160 [amd_sfh] probe+0x48/ 0x80 probe+0x105/ 0x1c0 probe+0x24b/ 0x4c0 probe_device+ 0xf0/0x160 driver_ attach+ 0xab/0xb0 attach+ 0xb2/0x140 driver_ attach+ 0xb0/0xb0 each_dev+ 0x7e/0xc0 attach+ 0x1e/0x20 driver+ 0x135/0x1f0 register+ 0x95/0xf0 driver+ 0x57/0x60 pci_driver_ init+0x23/ 0x1000 [amd_sfh] initcall+ 0x48/0x1d0 alloc_trace+ 0xfb/0x240 module+ 0x62/0x290 0xa8f/0xb10 finit_module+ 0xc2/0x120 finit_module+ 0x18/0x20 64+0x61/ 0xb0 pgoff+0x135/ 0x260 user_mode_ prepare+ 0x37/0xb0 exit_to_ user_mode+ 0x27/0x50 mmap+0x33/ 0x40 64+0x6e/ 0xb0 64+0x6e/ 0xb0 64+0x6e/ 0xb0 exit_to_ user_mode+ 0x27/0x50 64+0x6e/ 0xb0 fault+0x8f/ 0x170 page_fault+ 0x8/0x30 64_after_ hwframe+ 0x44/0xae 724ba8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 sfh_hid_ client_ init+0x47/ 0x350 [amd_sfh] 99f9d8 EFLAGS: 00010246 0(0000) GS:ffff992ebf60 0000(0000) knlGS:000000000 0000000
[ 1.359498] #PF: supervisor write access in kernel mode
[ 1.359519] #PF: error_code(0x0002) - not-present page
[ 1.359540] PGD 0 P4D 0
[ 1.359553] Oops: 0002 [#1] SMP NOPTI
[ 1.359569] CPU: 0 PID: 175 Comm: systemd-udevd Not tainted 5.13.0-23-generic #23-Ubuntu
[ 1.359602] Hardware name: ASUSTeK COMPUTER INC. MINIPC PN50/PN50, BIOS 0623 05/13/2021
[ 1.359632] RIP: 0010:amd_
[ 1.359661] Code: 00 53 48 83 ec 20 48 8b 5f 08 48 8b 07 48 8d b3 22 01 00 00 4c 8d b0 c8 00 00 00 e8 23 07 00 00 45 31 c0 31 c9 ba 00 00 20 00 <89> 43 0c 48 8d 83 68 01 00 00 48 8d bb 80 01 00 00 48 c7 c6 20 6d
[ 1.359729] RSP: 0018:ffffbf71c0
[ 1.359750] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 1.359777] RDX: 0000000000200000 RSI: ffffffffc03cd249 RDI: ffffffffa680004c
[ 1.359804] RBP: ffffbf71c099fa20 R08: 0000000000000000 R09: 0000000000000006
[ 1.359831] R10: ffffbf71c0d00000 R11: 0000000000000007 R12: 0000000fffffffe0
[ 1.359857] R13: ffff992bc3387cd8 R14: ffff992bc11560c8 R15: ffff992bc3387cd8
[ 1.359884] FS: 00007ff0ec1a48c
[ 1.359915] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1.359937] CR2: 000000000000000c CR3: 0000000102fd0000 CR4: 0000000000350ef0
[ 1.359964] Call Trace:
[ 1.359976] ? __pci_set_
[ 1.359997] amd_mp2_
[ 1.360021] local_pci_
[ 1.360038] pci_device_
[ 1.360056] really_
[ 1.360073] driver_
[ 1.360091] device_
[ 1.360110] __driver_
[ 1.360126] ? device_
[ 1.360145] bus_for_
[ 1.360161] driver_
[ 1.360177] bus_add_
[ 1.360194] driver_
[ 1.360210] ? 0xffffffffc03d2000
[ 1.360225] __pci_register_
[ 1.360242] amd_mp2_
[ 1.360266] do_one_
[ 1.360284] ? kmem_cache_
[ 1.360306] do_init_
[ 1.360323] load_module+
[ 1.360340] __do_sys_
[ 1.360359] __x64_sys_
[ 1.360377] do_syscall_
[ 1.361638] ? ksys_mmap_
[ 1.362883] ? exit_to_
[ 1.364121] ? syscall_
[ 1.365343] ? __x64_sys_
[ 1.366550] ? do_syscall_
[ 1.367749] ? do_syscall_
[ 1.368923] ? do_syscall_
[ 1.370079] ? syscall_
[ 1.371227] ? do_syscall_
[ 1.372359] ? exc_page_
[ 1.373478] ? asm_exc_
[ 1.374584] entry_SYSCALL_
[ 1.375684] RIP: 0033:0x7ff0ec73a94d
[ 1.376767] Code: 5b 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b3 64 0f 00 f7 d8 64 89 01 48
[ 1.377926] RSP: 002b:00007ffd00
[ 1.379076] RAX: ffffffffffffffda RBX: 000055e130084390 RCX: 00007ff0ec73a94d
[ 1.380225] RDX: 0000000000000000 RSI: 00007ff0ec8ca3fe RDI: 0000000000000005
[ 1.381363] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000000
[ 1.382488] R10: 0000000000000005 R11: 0000000000000246 R12: 00007ff0ec8ca3fe
[ 1.383598] R13: 000055e130083370 R14: 000055e130084480 R15: 000055e130086cb0
[ 1.384698] Modules linked in: ahci(+) libahci i2c_piix4(+) r8169(+) amd_sfh(+) i2c_hid_acpi realtek i2c_hid xhci_pci(+) xhci_pci_renesas wmi(+) video(+) fjes(+) hid
[ 1.385841] CR2: 000000000000000c
[ 1.386955] ---[ end trace b2ebcacf74b788da ]---
[ 1.388064] RIP: 0010:amd_
[ 1.389176] Code: 00 53 48 83 ec 20 48 8b 5f 08 48 8b 07 48 8d b3 22 01 00 00 4c 8d b0 c8 00 00 00 e8 23 07 00 00 45 31 c0 31 c9 ba 00 00 20 00 <89> 43 0c 48 8d 83 68 01 00 00 48 8d bb 80 01 00 00 48 c7 c6 20 6d
[ 1.390374] RSP: 0018:ffffbf71c0
[ 1.391560] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 1.392338] piix4_smbus 0000:00:14.0: Auxiliary SMBus Host Controller at 0xb20
[ 1.392763] RDX: 0000000000200000 RSI: ffffffffc03cd249 RDI: ffffffffa680004c
[ 1.395162] RBP: ffffbf71c099fa20 R08: 0000000000000000 R09: 0000000000000006
[ 1.396372] R10: ffffbf71c0d00000 R11: 0000000000000007 R12: 0000000fffffffe0
[ 1.397564] R13: ffff992bc3387cd8 R14: ffff992bc11560c8 R15: ffff992bc3387cd8
[ 1.398754] FS: 00007ff0ec1a48c
[ 1.399916] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1.401044] CR2: 000000000000000c CR3: 0000000102fd0000 CR4: 0000000000350ef0
Previous kernel 5.13.0-22 works alright.
ProblemType: Bug 5.13.0- 23-generic 5.13.0-23.23 ature: Ubuntu 5.13.0- 22.22-generic 5.13.19 dules: zfs zunicode zavl icp zcommon znvpair controlC1' , '/dev/snd/ pcmC1D0c' , '/dev/snd/ controlC2' , '/dev/snd/hwC2D0', '/dev/snd/ pcmC2D0c' , '/dev/snd/ pcmC2D0p' , '/dev/snd/by-path', '/dev/snd/ controlC0' , '/dev/snd/hwC0D0', '/dev/snd/ pcmC0D9p' , '/dev/snd/ pcmC0D8p' , '/dev/snd/ pcmC0D7p' , '/dev/snd/ pcmC0D3p' , '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: esult: unknown /BOOT/ubuntu_ ct91lc@ /vmlinuz- 5.13.0- 22-generic root=ZFS= rpool/ROOT/ ubuntu_ ct91lc ro quiet splash ersions: restricted- modules- 5.13.0- 22-generic N/A backports- modules- 5.13.0- 22-generic N/A
DistroRelease: Ubuntu 21.10
Package: linux-image-
ProcVersionSign
Uname: Linux 5.13.0-22-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-id', '/dev/snd/
CasperMD5CheckR
Date: Wed Jan 5 19:00:15 2022
InstallationDate: Installed on 2021-01-01 (369 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
MachineType: ASUSTeK COMPUTER INC. MINIPC PN50
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.201.3
SourcePackage: linux
UpgradeStatus: Upgraded to impish on 2021-10-17 (80 days ago)
WifiSyslog:
dmi.bios.date: 05/13/2021 asset.tag: Default string asset.tag: Default string version: Default string OMPUTERINC. :bvr0623: bd05/13/ 2021:br6. 23:svnASUSTeKCO MPUTERINC. :pnMINIPCPN50: pvr0623: rvnASUSTeKCOMPU TERINC. :rnPN50: rvrTobefilledby O.E.M.: cvnDefaultstrin g:ct35: cvrDefaultstrin g:sku: version: 0623
dmi.bios.release: 6.23
dmi.bios.vendor: ASUSTeK COMPUTER INC.
dmi.bios.version: 0623
dmi.board.
dmi.board.name: PN50
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: To be filled by O.E.M.
dmi.chassis.
dmi.chassis.type: 35
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnASUSTeKC
dmi.product.family: Vivo PC
dmi.product.name: MINIPC PN50
dmi.product.
dmi.sys.vendor: ASUSTeK COMPUTER INC.