Re: Booting Kernel on Amiga 3000
Hi Finn,
> What happens if you boot the known-good initrd (v5.15) with the
> crashy vmlinux binary (v5.18)?
> The combination won't boot normally but should fail normally (wrong
> modules) and not fail with an oops.
It still crashes, but I can see the process.
Searching for SAVEKMSG magic...
Found 7920 bytes at 0x001e0010
>>>>>>>>>>>>>>>>>>>>
[ 0.000000] Linux version 5.18.0-4-m68k (debian-kernel@lists.debian.org) (gcc-11 (Debian 11.3.0-5) 11.3.0, GNU ld (GNU Binutils for Debian) 2.38.90.20220713) #1 Debian 5.18.16-1 (2022-08-10)
[ 0.000000] printk: debug: ignoring loglevel setting.
[ 0.000000] printk: console [debug0] enabled
[ 0.000000] Amiga hardware found: [A3000] VIDEO BLITTER AMBER_FF AUDIO FLOPPY A3000_SCSI KEYBOARD MOUSE SERIAL PARALLEL A3000_CLK CHIP_RAM PAULA DENISE_HR AGNUS_HR_PAL MAGIC_REKICK ZORRO3
[ 0.000000] Ignoring memory chunk at 0x7800000:0x800000 before the first chunk
[ 0.000000] Fix your bootloader or use a memfile to make use of this area!
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x000000000a000000-0x000000ffffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x000000000a000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x000000000a000000-0x000000000fffffff]
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 24336
[ 0.000000] Kernel command line: ignore_loglevel -r initrd.img-5.15.0-2-m68k root=/dev/sda2 fb=false debug=mem BOOT_IMAGE=vmlinux-5.18.0-4-m68k
[ 0.000000] Unknown kernel command line parameters "-r fb=false BOOT_IMAGE=vmlinux-5.18.0-4-m68k", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Sorting __ex_table...
[ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[ 0.000000] Memory: 91752K/98304K available (3446K kernel code, 580K rwdata, 1136K rodata, 164K init, 178K bss, 6552K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 200
[ 0.000000] clocksource: ciab: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 2694272661900 ns
[ 0.000000] Console: colour dummy device 80x25
[ 0.020000] printk: console [tty0] enabled
[ 0.020000] Calibrating delay loop... 26.00 BogoMIPS (lpj=130048)
[ 0.130000] pid_max: default: 32768 minimum: 301
[ 0.170000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.170000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.250000] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.250000] cblist_init_generic: Setting shift to 0 and lim to 1.
[ 0.280000] devtmpfs: initialized
[ 0.310000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.310000] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.370000] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.380000] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.390000] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.620000] SCSI subsystem initialized
[ 0.660000] clocksource: Switched to clocksource ciab
[ 0.690000] VFS: Disk quotas dquot_6.6.0
[ 0.690000] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.980000] NET: Registered PF_INET protocol family
[ 0.980000] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 1.010000] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 1.020000] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 1.030000] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 1.030000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 1.030000] TCP: Hash tables configured (established 1024 bind 1024)
[ 1.040000] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 1.040000] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 1.050000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 1.060000] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 1.060000] NET: Registered PF_XDP protocol family
[ 1.080000] Initialise system trusted keyrings
[ 1.080000] Key type blacklist registered
[ 1.110000] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 1.560000] zbud: loaded
[ 1.620000] Key type asymmetric registered
[ 1.620000] Asymmetric key parser 'x509' registered
[ 1.650000] alg: self-tests for CTR-KDF (hmac(sha256)) passed
[ 1.660000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 1.670000] io scheduler mq-deadline registered
[ 1.960000] Console: switching to colour frame buffer device 80x32
[ 2.110000] fb0: Amiga ECS frame buffer device, using 640K of video memory
[ 2.130000] pmac_zilog: 0.6 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)
[ 2.150000] ttyS0 is the amiga builtin serial port
[ 2.510000] Zorro: Probing AutoConfig expansion devices: 3 devices
[ 2.540000] mousedev: PS/2 mouse device common for all mice
[ 2.560000] input: amiga-keyboard as /devices/platform/amiga-keyboard/input/input0
[ 2.590000] rtc-rp5c01 rtc-rp5c01: registered as rtc0
[ 2.600000] rtc-rp5c01 rtc-rp5c01: setting system clock to 2022-09-04T19:57:26 UTC (1662321446)
[ 2.630000] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.650000] NET: Registered PF_PACKET protocol family
[ 2.660000] mpls_gso: MPLS GSO support
[ 2.670000] registered taskstats version 1
[ 2.690000] Loading compiled-in X.509 certificates
[ 2.890000] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[ 2.910000] Loaded X.509 cert 'Debian Secure Boot Signer 2021 - linux: 4b6ef5abca669825178e052c84667ccbc0531f8c'
[ 2.940000] zswap: loaded using pool lzo/zbud
[ 2.970000] Key type ._fscrypt registered
[ 2.980000] Key type .fscrypt registered
[ 2.990000] Key type fscrypt-provisioning registered
[ 3.050000] Key type encrypted registered
[ 3.100000] List of all partitions:
[ 3.110000] No filesystem could mount root, tried:
[ 3.110000]
[ 3.140000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 3.140000] CPU: 0 PID: 1 Comm: swapper Not tainted 5.18.0-4-m68k #1 Debian 5.18.16-1
[ 3.140000] Stack from 00831ef0:
[ 3.140000] 00831ef0 00419421 00419421 00354d80 00000000 00000000 00000000 00a98000
[ 3.140000] 00831f54 00355744 00355756 001ed30c 0051054a 0040b560 00831f54 0042cac5
[ 3.140000] 00000000 0000000c 00000000 00000000 00000000 001ed268 00000000 00000000
[ 3.140000] 00000000 756e6b6e 6f776e2d 626c6f63 6b28302c 30290070 00c15200 005105ac
[ 3.140000] 0040b5c4 005105d6 0040b5c4 00008001 00000000 0e4e1c00 00000000 00000000
[ 3.140000] 00000000 00000000 001ed268 00000000 00000000 00000000 0051081e 0035a22c
[ 3.140000] Call Trace: [<00354d80>] panic+0xc4/0x246
[ 3.140000] [<00355744>] _printk+0x0/0x18
[ 3.140000] [<00355756>] _printk+0x12/0x18
[ 3.140000] [<001ed30c>] strlen+0x0/0x14
[ 3.140000] [<0051054a>] mount_block_root+0x17a/0x194
[ 3.140000] [<001ed268>] strncmp+0x0/0x34
[ 3.140000] [<005105ac>] mount_root+0x48/0x14e
[ 3.140000] [<005105d6>] mount_root+0x72/0x14e
[ 3.140000] [<00008001>] atari_get_hardware_list+0x6d/0x3e0
[ 3.140000] [<001ed268>] strncmp+0x0/0x34
[ 3.140000] [<0051081e>] prepare_namespace+0x16c/0x17a
[ 3.140000] [<0035a22c>] kernel_init+0x0/0xec
[ 3.140000] [<0035a240>] kernel_init+0x14/0xec
[ 3.140000] [<0035a22c>] kernel_init+0x0/0xec
[ 3.140000] [<00002914>] ret_from_kernel_thread+0xc/0x14
[ 3.140000]
[ 3.140000] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
<<<<<<<<<<<<<<<<<<<<
--
Stephen - Vk3heg
Reply to: