m68k artifacts will not boot correctly with kernel panic
Problem
https://gitlab.com/api/v4/projects/giomasce%2Fdqib/jobs/artifacts/master/download?job=convert_m68k-q800 will not boot because of kernel panic.
Expected
boot without kernel panic.
Actual information
- debian:sid
- qemu-system-misc 1:7.2+dfsg-1+b2
Use the following command, described in artifacts/readme.txt.
qemu-system-m68k -machine q800 -cpu m68040 -m 1G -drive file=image.qcow2 -net nic,model=dp83932,netdev=net -netdev user,id=net,hostfwd=tcp::2222-:22 -kernel kernel -initrd initrd -nographic -append "root=LABEL=rootfs console=ttyS0"
It results in:
[ 0.320000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.320000] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.320000] ------------[ cut here ]------------
[ 0.320000] WARNING: CPU: 0 PID: 1 at mm/vmalloc.c:483 __vmap_pages_range_noflush+0x11e/0x1c2
[ 0.320000] Modules linked in:
[ 0.320000] CPU: 0 PID: 1 Comm: swapper Not tainted 6.1.0-1-m68k #1 Debian 6.1.4-1
[ 0.320000] Stack from 0145dd74:
[ 0.320000] 0145dd74 0045130d 0045130d 00000000 00000009 0038beaa 0045130d 003865a4
[ 0.320000] 004579cc 000001e3 00001084 000ea56e 003865ee 004579cc 000001e3 000eba6c
[ 0.320000] 00000009 00000000 00000000 40800000 40801000 40800fff 00000000 00000000
[ 0.320000] 00000000 000eba6c 004579cc 000001e3 00000009 00000000 00402dc2 00000000
[ 0.320000] 000000c0 40801000 00000001 00000001 01426280 0038f116 000ebb10 0038d092
[ 0.320000] 40800fff 000ebb2a 40800000 40801000 00000039 01403330 0000000c 000ecb04
[ 0.320000] Call Trace: [<0038beaa>] dump_stack+0xc/0x10
[ 0.320000] [<003865a4>] __warn+0xbe/0xc0
[ 0.320000] [<00001084>] kernel_pg_dir+0x84/0x1000
[ 0.320000] [<000ea56e>] pte_offset_kernel.isra.0+0x0/0x20
[ 0.320000] [<003865ee>] warn_slowpath_fmt+0x48/0x66
[ 0.320000] [<000eba6c>] __vmap_pages_range_noflush+0x11e/0x1c2
[ 0.320000] [<000eba6c>] __vmap_pages_range_noflush+0x11e/0x1c2
[ 0.320000] [<0038f116>] schedule_timeout_uninterruptible+0x0/0xa
[ 0.320000] [<000ebb10>] vmap_pages_range.constprop.0+0x0/0x3a
[ 0.320000] [<0038d092>] __cond_resched+0x0/0x56
[ 0.320000] [<000ebb2a>] vmap_pages_range.constprop.0+0x1a/0x3a
[ 0.320000] [<000ecb04>] __vmalloc_node_range+0x2fc/0x3b6
[ 0.320000] [<00001000>] kernel_pg_dir+0x0/0x1000
[ 0.320000] [<0037f16e>] strcpy+0x0/0x1c
[ 0.320000] [<0003f4b4>] parse_args+0x0/0x308
[ 0.320000] [<00002104>] do_one_initcall+0x0/0x184
[ 0.320000] [<00563930>] sock_init+0x0/0xaa
[ 0.320000] [<000ec740>] __vmalloc_node+0x40/0x48
[ 0.320000] [<00001000>] kernel_pg_dir+0x0/0x1000
[ 0.320000] [<000826b0>] bpf_prog_alloc_no_stats+0x26/0xea
[ 0.320000] [<000ec760>] __vmalloc+0x18/0x20
[ 0.320000] [<00001000>] kernel_pg_dir+0x0/0x1000
[ 0.320000] [<000826b0>] bpf_prog_alloc_no_stats+0x26/0xea
[ 0.320000] [<000826b0>] bpf_prog_alloc_no_stats+0x26/0xea
[ 0.320000] [<00001000>] kernel_pg_dir+0x0/0x1000
[ 0.320000] [<00563930>] sock_init+0x0/0xaa
[ 0.320000] [<00082790>] bpf_prog_alloc+0x1c/0x70
[ 0.320000] [<00563930>] sock_init+0x0/0xaa
[ 0.320000] [<002a9c20>] bpf_prog_create+0x2e/0x7c
[ 0.320000] [<00563930>] sock_init+0x0/0xaa
[ 0.320000] [<005641e6>] ptp_classifier_init+0x22/0x44
[ 0.320000] [<005639d8>] sock_init+0xa8/0xaa
[ 0.320000] [<00002172>] do_one_initcall+0x6e/0x184
[ 0.320000] [<0037f16e>] strcpy+0x0/0x1c
[ 0.320000] [<0003f4b4>] parse_args+0x0/0x308
[ 0.320000] [<00002104>] do_one_initcall+0x0/0x184
[ 0.320000] [<0054b25c>] kernel_init_freeable+0x192/0x19c
[ 0.320000] [<00563930>] sock_init+0x0/0xaa
[ 0.320000] [<0038bff4>] kernel_init+0x0/0xec
[ 0.320000] [<0038c008>] kernel_init+0x14/0xec
[ 0.320000] [<0038bff4>] kernel_init+0x0/0xec
[ 0.320000] [<0000297c>] ret_from_kernel_thread+0xc/0x14
[ 0.320000]
[ 0.330000] ---[ end trace 0000000000000000 ]---
[ 0.330000] kernel BUG at net/core/ptp_classifier.c:227!
[ 0.330000] *** TRAP #7 *** FORMAT=0
[ 0.330000] Current process id is 1
[ 0.330000] BAD KERNEL TRAP: 00000000
[ 0.330000] Modules linked in:
[ 0.330000] PC: [<00564204>] ptp_classifier_init+0x40/0x44
[ 0.330000] SR: 2000 SP: (ptrval) a2: 01495c00
[ 0.330000] d0: 0000002c d1: 004f3cd4 d2: 00000000 d3: 01426980
[ 0.330000] d4: 0037f16e d5: 0003f4b4 a0: 0145de78 a1: 0145de48
[ 0.330000] Process swapper (pid: 1, task=(ptrval))
[ 0.330000] Frame format=0
[ 0.330000] Stack from 0145df04:
[ 0.330000] 00442671 0047a6e8 000000e3 00510042 0056f9ea 00569ca8 005639d8 00000064
[ 0.330000] 00002172 00000064 01426980 0037f16e 0003f4b4 00002104 00000000 00000001
[ 0.330000] 00569cc8 00572244 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.330000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.330000] 00000000 00000000 0054b25c 00563930 00000000 127a3980 00000000 fffffffc
[ 0.330000] 00000000 0038bff4 00000000 00000000 00000000 0038c008 00569de8 0038bff4
[ 0.330000] Call Trace: [<005639d8>] sock_init+0xa8/0xaa
[ 0.330000] [<00002172>] do_one_initcall+0x6e/0x184
[ 0.330000] [<0037f16e>] strcpy+0x0/0x1c
[ 0.330000] [<0003f4b4>] parse_args+0x0/0x308
[ 0.330000] [<00002104>] do_one_initcall+0x0/0x184
[ 0.330000] [<0054b25c>] kernel_init_freeable+0x192/0x19c
[ 0.330000] [<00563930>] sock_init+0x0/0xaa
[ 0.330000] [<0038bff4>] kernel_init+0x0/0xec
[ 0.330000] [<0038c008>] kernel_init+0x14/0xec
[ 0.330000] [<0038bff4>] kernel_init+0x0/0xec
[ 0.330000] [<0000297c>] ret_from_kernel_thread+0xc/0x14
[ 0.330000]
[ 0.330000] Code: a6e8 4879 0044 2671 4eb9 0038 6dca 4e47 <4e5e> 4e75 4879 0051 1ca4 4eb9 0028 7dba 588f 4280 4e75 4878 0006 4879 003d 7478
[ 0.330000] Disabling lock debugging due to kernel taint
[ 0.330000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[ 0.330000] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ]---