public inbox for linux-next@vger.kernel.org
 help / color / mirror / Atom feed
* linux-next: boot failure after merge of the vfs-brauner tree
@ 2024-02-05  5:15 Stephen Rothwell
  2024-02-05 12:44 ` Christian Brauner
  0 siblings, 1 reply; 7+ messages in thread
From: Stephen Rothwell @ 2024-02-05  5:15 UTC (permalink / raw)
  To: Christian Brauner; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 3805 bytes --]

Hi all,

After merging the vfs-brauner tree, today's linux-next build (powerpc
pseries_le_defconfig) failed like this:

[    2.498347][    T1] Loading compiled-in X.509 certificates
[    2.514931][   T53] BUG: Kernel NULL pointer dereference at 0x00000038
[    2.515067][   T53] Faulting instruction address: 0xc0000000011c9e14
[    2.515629][   T53] Oops: Kernel access of bad area, sig: 11 [#1]
[    2.515749][   T53] LE PAGE_SIZE=64K MMU=Hash SMP NR_CPUS=2048 NUMA pSeries
[    2.516160][   T53] Modules linked in:
[    2.516586][   T53] CPU: 0 PID: 53 Comm: cryptomgr_probe Not tainted 6.8.0-rc3-04019-g26b3eeef9e0f #1
[    2.516849][   T53] Hardware name: IBM pSeries (emulated by qemu) POWER8 (raw) 0x4d0200 0xf000004 of:SLOF,HEAD pSeries
[    2.517084][   T53] NIP:  c0000000011c9e14 LR: c0000000001dd7b4 CTR: c00000000029c820
[    2.517163][   T53] REGS: c00000000786fa00 TRAP: 0380   Not tainted  (6.8.0-rc3-04019-g26b3eeef9e0f)
[    2.517288][   T53] MSR:  8000000002009033 <SF,VEC,EE,ME,IR,DR,RI,LE>  CR: 28004208  XER: 20000000
[    2.517612][   T53] CFAR: c0000000001dd7b0 IRQMASK: 1 
[    2.517612][   T53] GPR00: c0000000001dd7b4 c00000000786fca0 c0000000015c9900 0000000000000038 
[    2.517612][   T53] GPR04: 0000000000000003 0000000000000001 0000000000000051 fffffffffffe0000 
[    2.517612][   T53] GPR08: 0000000000000000 0000000000000001 c0000000079554c8 0000000000002000 
[    2.517612][   T53] GPR12: c00000000029c820 c000000002b60000 c00000000018fa0c c00000000404cec0 
[    2.517612][   T53] GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
[    2.517612][   T53] GPR20: 0000000000000000 0000000000000000 c000000006e0e580 0000000000000000 
[    2.517612][   T53] GPR24: c000000002951080 c000000002a0e848 0000000000000000 0000000000000051 
[    2.517612][   T53] GPR28: c0000000048cc100 0000000000000038 0000000000000001 0000000000000001 
[    2.518535][   T53] NIP [c0000000011c9e14] _raw_spin_lock_irqsave+0x34/0xc0
[    2.519499][   T53] LR [c0000000001dd7b4] __wake_up+0x44/0xa4
[    2.519797][   T53] Call Trace:
[    2.519944][   T53] [c00000000786fca0] [0000000000002000] 0x2000 (unreliable)
[    2.520411][   T53] [c00000000786fcd0] [c00000000786fd10] 0xc00000000786fd10
[    2.520523][   T53] [c00000000786fd20] [c00000000016d240] pidfd_wake_up_poll+0x50/0x64
[    2.520597][   T53] [c00000000786fd40] [c000000000189460] __change_pid+0x84/0x16c
[    2.520669][   T53] [c00000000786fd70] [c000000000158dec] release_task+0x338/0x788
[    2.520740][   T53] [c00000000786fe10] [c00000000015aa9c] do_exit+0x6d8/0xd38
[    2.520812][   T53] [c00000000786fef0] [c00000000018f9c4] kthread_exit+0x3c/0x40
[    2.521033][   T53] [c00000000786ff20] [c00000000023f2bc] __module_put_and_kthread_exit+0x38/0x3c
[    2.521120][   T53] [c00000000786ff50] [c00000000095cdc4] cryptomgr_probe+0xc8/0xcc
[    2.521204][   T53] [c00000000786ff90] [c00000000018fb3c] kthread+0x138/0x140
[    2.521283][   T53] [c00000000786ffe0] [c00000000000ded8] start_kernel_thread+0x14/0x18
[    2.521512][   T53] Code: 3842fb20 7c0802a6 60000000 fbe1fff8 f821ffd1 8bed0932 63e90001 992d0932 a12d0008 3ce0fffe 5529083c 61290001 <7d001829> 7d063879 40c20018 7d063838 
[    2.522412][   T53] ---[ end trace 0000000000000000 ]---
[    2.545459][   T53] pstore: backend (nvram) writing error (-1)
[    2.545630][   T53] 
[    2.545995][   T53] note: cryptomgr_probe[53] exited with irqs disabled
[    2.546329][   T53] Fixing recursive fault but reboot is needed!
[    2.560506][    T1] Loaded X.509 cert 'Build time autogenerated kernel key: fcc64ee53479274966d371cbdc225bca2574aaaf'

Bisected to commit

  7a1cac7d58e3 ("pidfd: convert to wake_up_poll()")

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread
* linux-next: boot failure after merge of the vfs-brauner tree
@ 2024-10-30  7:30 Stephen Rothwell
  2024-11-06  9:55 ` Christian Brauner
  0 siblings, 1 reply; 7+ messages in thread
From: Stephen Rothwell @ 2024-10-30  7:30 UTC (permalink / raw)
  To: Christian Brauner; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 3657 bytes --]

Hi all,

After merging the vfs-brauner tree, today's linux-next build (powerpc
pseries_le_defconfig) qemu boot test failed like this:

 Initialise system trusted keyrings
 Key type blacklist registered
 BUG: Kernel NULL pointer dereference on write at 0x00000018
 Faulting instruction address: 0xc0000000009867d0
 Oops: Kernel access of bad area, sig: 7 [#1]
 LE PAGE_SIZE=4K MMU=Radix SMP NR_CPUS=2048 NUMA pSeries
 Modules linked in:
 CPU: 0 UID: 0 PID: 27 Comm: kworker/u4:1 Not tainted 6.12.0-rc5-08184-gd1b0879097de #1
 Hardware name: IBM pSeries (emulated by qemu) POWER10 (architected) 0x801200 0xf000006 of:SLOF,HEAD pSeries
 Workqueue: async async_run_entry_fn
 NIP:  c0000000009867d0 LR: c0000000009867cc CTR: c000000000986780
 REGS: c000000004a17510 TRAP: 0300   Not tainted  (6.12.0-rc5-08184-gd1b0879097de)
 MSR:  8000000002009033 <SF,VEC,EE,ME,IR,DR,RI,LE>  CR: 84088884  XER: 00000000
 CFAR: c000000000985c94 DAR: 0000000000000018 DSISR: 02080000 IRQMASK: 0 
 GPR00: c0000000009867cc c000000004a177b0 c0000000016ae600 c000000004353748 
 GPR04: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
 GPR08: 000000007d629000 0000000000000003 0000000000000000 0000000000004000 
 GPR12: c000000000986780 c000000002a7b000 c00000000018d168 c0000000041f3d80 
 GPR16: 0000000000000000 0000000000000000 c000000003855800 c00000000427b300 
 GPR20: fffffffffffffef7 c000000004ba2c20 0000000000000001 0000000000000000 
 GPR24: 0000000000000041 0001024100010041 c000000002779f18 c00000000435ef40 
 GPR28: 0000000000000000 c000000004ba6650 0000000000000010 c00000000435ef00 
 NIP [c0000000009867d0] selinux_file_open+0x50/0x140
 LR [c0000000009867cc] selinux_file_open+0x4c/0x140
 Call Trace:
 [c000000004a177b0] [c0000000009867cc] selinux_file_open+0x4c/0x140 (unreliable)
 [c000000004a17810] [c00000000096ab04] security_file_open+0xa4/0x1b0
 [c000000004a17840] [c00000000059ff94] do_dentry_open+0x174/0x5d0
 [c000000004a17890] [c0000000005a28c4] vfs_open+0x44/0x140
 [c000000004a178c0] [c0000000005c5af8] path_openat+0xb08/0x1490
 [c000000004a179a0] [c0000000005c6548] do_filp_open+0xc8/0x1a0
 [c000000004a17ad0] [c0000000005a0880] filp_open+0x130/0x1f0
 [c000000004a17b30] [c000000002007c2c] do_name+0x110/0x360
 [c000000004a17bc0] [c000000002006d1c] write_buffer+0x60/0x8c
 [c000000004a17bf0] [c000000002006db0] flush_buffer+0x68/0xf4
 [c000000004a17c40] [c00000000207f860] gunzip+0x344/0x454
 [c000000004a17cc0] [c000000002007924] unpack_to_rootfs+0x204/0x380
 [c000000004a17d60] [c000000002008124] do_populate_rootfs+0xbc/0x2b8
 [c000000004a17df0] [c0000000001973e8] async_run_entry_fn+0x58/0x170
 [c000000004a17e40] [c0000000001806f4] process_one_work+0x1d4/0x4d0
 [c000000004a17ef0] [c00000000018199c] worker_thread+0x3ec/0x5b0
 [c000000004a17f90] [c00000000018d298] kthread+0x138/0x140
 [c000000004a17fe0] [c00000000000ded8] start_kernel_thread+0x14/0x18
 Code: 7c7f1b78 f8010010 f821ffa1 e929b53e ebc30080 e8630028 e94d0478 f9410048 39400000 7fde4a14 4bfff431 8123001c <913e0008> 4bff3245 60000000 907e000c 
 ---[ end trace 0000000000000000 ]---
 pstore: backend (nvram) writing error (-1)

Caused by commit

  0eccf222d798 ("fs: port files to file_ref")

I bisected it to this commit, the commit before boots OK.

I have reverted that commit for today.

The qemu command line is:

qemu-system-ppc64 -M pseries,cap-hpt-max-page-size=4k,accel=kvm  -m 2G -vga none -nographic -enable-kvm -kernel $vmlinux -initrd $initrd

but 

qemu-system-ppc64 -M pseries -m 2G -vga none -nographic -kernel $vmlinux -initrd $initrd

fails as well.
-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread
* linux-next: boot failure after merge of the vfs-brauner tree
@ 2024-02-05  4:58 Stephen Rothwell
  2024-02-05  5:00 ` Stephen Rothwell
  0 siblings, 1 reply; 7+ messages in thread
From: Stephen Rothwell @ 2024-02-05  4:58 UTC (permalink / raw)
  To: Christian Brauner; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 236 bytes --]

Hi all,

After merging the vfs-brauner tree, today's linux-next build (powerpc
pseries_le_defconfig) failed like this:


Bisected to commit

  7a1cac7d58e3 ("pidfd: convert to wake_up_poll()")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-11-06 10:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-05  5:15 linux-next: boot failure after merge of the vfs-brauner tree Stephen Rothwell
2024-02-05 12:44 ` Christian Brauner
  -- strict thread matches above, loose matches on Subject: below --
2024-10-30  7:30 Stephen Rothwell
2024-11-06  9:55 ` Christian Brauner
2024-11-06 10:56   ` Stephen Rothwell
2024-02-05  4:58 Stephen Rothwell
2024-02-05  5:00 ` Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox