Discussion:
Booting Kernel on Amiga 3000
(too old to reply)
Stephen Walsh
2022-09-03 00:40:01 UTC
Permalink
Hi Guys,

I have "Debian GNU/Linux bookworm/sid" installed on both Qemu-user and
real hardware.

Amiga 3000
Warpengine ***@40Mhz
128Mb ram on warpengine
8Mb Fast ram on MB
2Mb Chip ram
X-surf Network card (Original)
Kickstart 3.2

Qemu is working with no issues.

Real hardware issue:

Booting kernel/inintrid 5.15.0-2 works and the machine boots all the
way.

Trying to boot with kernel/initrid 5.18.0-1 through to 5.18.0-4 results
in a grey screen and the machine doing nothing after amiboot loads in
the kernel. I have left it for 20 minutes with no change. Booting
5.15.0-2 starts showing the boot process after a couple of minutes.


amiboot -k vmlinux-5.15.0-2-m68k -r initrd.img-5.15.0-2-m68k
root=/dev/sda2 fb=false

When trying the newer kernel's, all I'm doing is replacing the
kernel/initrid with the newer versions.
--
Stephen - Vk3heg
John Paul Adrian Glaubitz
2022-09-03 07:30:01 UTC
Permalink
Hi Stephen!

Might be a wise idea to cross-post this to the Linux/m68k kernel mailing list.

Also, kernel 5.19.6 is currently being built and should be available soonish.

Adrian
Post by Stephen Walsh
I have "Debian GNU/Linux bookworm/sid" installed on both Qemu-user and
real hardware.
Amiga 3000
128Mb ram on warpengine
8Mb Fast ram on MB
2Mb Chip ram
X-surf Network card (Original)
Kickstart 3.2
Qemu is working with no issues.
Booting kernel/inintrid 5.15.0-2 works and the machine boots all the
way.
Trying to boot with kernel/initrid 5.18.0-1 through to 5.18.0-4 results
in a grey screen and the machine doing nothing after amiboot loads in
the kernel. I have left it for 20 minutes with no change. Booting
5.15.0-2 starts showing the boot process after a couple of minutes.
amiboot -k vmlinux-5.15.0-2-m68k -r initrd.img-5.15.0-2-m68k
root=/dev/sda2 fb=false
When trying the newer kernel's, all I'm doing is replacing the
kernel/initrid with the newer versions.
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Stephen Walsh
2022-09-04 01:50:01 UTC
Permalink
Hi Adrian,

On Sat, 3 Sep 2022 09:25:13 +0200
Post by John Paul Adrian Glaubitz
Might be a wise idea to cross-post this to the Linux/m68k kernel mailing list.
Didn't know there was one.
Post by John Paul Adrian Glaubitz
Also, kernel 5.19.6 is currently being built and should be available soonish.
I'll test that when it's released.
--
Stephen - Vk3heg
John Paul Adrian Glaubitz
2022-09-06 07:30:01 UTC
Permalink
Hi Stephen!
Post by Stephen Walsh
Post by John Paul Adrian Glaubitz
Also, kernel 5.19.6 is currently being built and should be available soonish.
I'll test that when it's released.
It's in the archives now. You can give it a try.

Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Ingo Jürgensmann
2022-09-03 11:50:01 UTC
Permalink
Post by Stephen Walsh
I have "Debian GNU/Linux bookworm/sid" installed on both Qemu-user and
real hardware.
Amiga 3000
128Mb ram on warpengine
Uhm? How do you get the Warpengine with 128MB into an A3000? Usually there is not enough space on the Warpengine for 4x 32 MB SIMMs - or did you use 2x 64MB ones or 4x single sided 32 MB SIMM with two additional sockets?
Post by Stephen Walsh
Booting kernel/inintrid 5.15.0-2 works and the machine boots all the
way.
Trying to boot with kernel/initrid 5.18.0-1 through to 5.18.0-4 results
in a grey screen and the machine doing nothing after amiboot loads in
the kernel. I have left it for 20 minutes with no change. Booting
5.15.0-2 starts showing the boot process after a couple of minutes.
amiboot -k vmlinux-5.15.0-2-m68k -r initrd.img-5.15.0-2-m68k
root=/dev/sda2 fb=false
When trying the newer kernel's, all I'm doing is replacing the
kernel/initrid with the newer versions.
https://people.debian.org/~cts/debian-m68k/woody/ refers to „debug=mem“ and „dmesg“ afterwards:

Append "debug=mem" to your boot line and run dmesg under AOS after a reboot. Please read the readme file.) and send the output to the appropriate list.

https://people.debian.org/~cts/debian-m68k/misc/dmesg.readme

Does this still work in newer kernels? Otherwise it would also be possible to use debug=ser if you have a serial (null modem) cable.
--
Ciao... // Web: http://blog.windfluechter.net
Ingo \X/ XMPP/Jabber: ***@jhookipa.net

gpg pubkey: http://www.juergensmann.de/ij_public_key.asc
Stephen Walsh
2022-09-04 02:00:01 UTC
Permalink
On Sat, 3 Sep 2022 13:10:46 +0200
Post by Ingo Jürgensmann
Post by Stephen Walsh
Amiga 3000
128Mb ram on warpengine
Uhm? How do you get the Warpengine with 128MB into an A3000? Usually
there is not enough space on the Warpengine for 4x 32 MB SIMMs - or
did you use 2x 64MB ones or 4x single sided 32 MB SIMM with two
additional sockets?
That's not relevant to this, but my A3000 isn't in a desktop case.
Post by Ingo Jürgensmann
Post by Stephen Walsh
Booting kernel/inintrid 5.15.0-2 works and the machine boots all the
way.
[...]
Post by Ingo Jürgensmann
Post by Stephen Walsh
When trying the newer kernel's, all I'm doing is replacing the
kernel/initrid with the newer versions.
Append "debug=mem" to your boot line and run dmesg under AOS after a
reboot. Please read the readme file.) and send the output to the
appropriate list.
This is the debug output.
[ 0.000000] Linux version 5.18.0-4-m68k (debian-***@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: 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] initrd: 0f7f81c2 - 10000000
[ 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] Unable to handle kernel access at virtual address (ptrval)
[ 0.000000] Oops: 00000000
[ 0.000000] Modules linked in:
[ 0.000000] PC: [<001ed444>] memcmp+0x2c/0x5c
[ 0.000000] SR: 2700 SP: (ptrval) a2: 00481530
[ 0.000000] d0: 0040af41 d1: 0ffffff8 d2: 001ed418 d3: 0000019e
[ 0.000000] d4: 0a04a258 d5: 00807e3e a0: 0000000c a1: 0ffffff4
[ 0.000000] Process swapper (pid: 0, task=(ptrval))
[ 0.000000] Frame format=7 eff addr=0047ffbc ssw=0505 faddr=0ffffff4
[ 0.000000] wb 1 stat/addr/data: 0005 0a04a258 00807e3e
[ 0.000000] wb 2 stat/addr/data: 0005 00536000 0000019e
[ 0.000000] wb 3 stat/addr/data: 0005 0047ffb4 001ed418
[ 0.000000] push data: 00807e3e 00355744 0a001000 0a05356c
[ 0.000000] Stack from 0047ffb4:
[ 0.000000] 001ed418 0000019e 00355744 0050fb0e 0ffffff4 0040af3d 0000000c 00536000
[ 0.000000] 0000019e 0a04a258 00807e3e 0a04df28 0a05f750 0a001000 0a05356c 0ffffff0
[ 0.000000] 0052e2b8 00000000 0050e872
[ 0.000000] Call Trace: [<001ed418>] memcmp+0x0/0x5c
[ 0.000000] [<00355744>] _printk+0x0/0x18
[ 0.000000] [<0050fb0e>] start_kernel+0x86/0x5a0
[ 0.000000] [<0050e872>] _sinittext+0x872/0x11f8
[ 0.000000]
[ 0.000000] Code: 4280 6036 2209 200b 2640 2241 5881 5880 <2411> b493 66e4 2241 2640 5988 7403 b488 65e6 60d6 4283 1631 1800 4282 1433 1800
[ 0.000000] Disabling lock debugging due to kernel taint
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---
<<<<<<<<<<<<<<<<<<<<
--
Stephen - Vk3heg
Ingo Jürgensmann
2022-09-04 09:00:01 UTC
Permalink
Post by Stephen Walsh
Post by Ingo Jürgensmann
Post by Stephen Walsh
Amiga 3000
128Mb ram on warpengine
Uhm? How do you get the Warpengine with 128MB into an A3000? Usually
there is not enough space on the Warpengine for 4x 32 MB SIMMs - or
did you use 2x 64MB ones or 4x single sided 32 MB SIMM with two
additional sockets?
That's not relevant to this, but my A3000 isn't in a desktop case.
Ok, in an A3000 tower case you might use the Warpengine for the A4000 with vertical sockets and not tilted sockets as in the A3000 desktop version of the Warpengine.
Post by Stephen Walsh
This is the debug output.
[ 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] initrd: 0f7f81c2 - 10000000
[ 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] 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] Unable to handle kernel access at virtual address (ptrval)
So, here is the error and a possible solution: using a memfile might help.

http://amigadev.elowar.com/read/ADCD_2.1/Hardware_Manual_guide/node00D4.html and comparing with the memory lists shown in ShowConfig or SysInfo might help.

It seems that it tries to move the kernel around, but is unable to do so. Might be when the new kernel is loaded to Chip Mem and the other memory types like Fast Mem are not recognized or ignored. By default it only uses one memory chunk with highest priority, IIRC, but maybe Geert or so will correct me.
If things haven’t changed since my tries with BigRAM 256MB then you can only make use of a single memory chunk as RAM. More memory chunks like onboard memory can be used as ramdisk for swapping or so.
--
Ciao... // Web: http://blog.windfluechter.net
Ingo \X/ XMPP/Jabber: ***@jhookipa.net

gpg pubkey: http://www.juergensmann.de/ij_public_key.asc
Stephen Walsh
2022-09-06 01:50:01 UTC
Permalink
Hello Ingo,

On Sun, 4 Sep 2022 10:55:40 +0200
Post by Ingo Jürgensmann
0x000000000a000000-0x000000000fffffff] [ 0.000000] Initmem setup
node 0 [mem 0x000000000a000000-0x000000000fffffff] [ 0.000000]
Unable to handle kernel access at virtual address (ptrval)
So, here is the error and a possible solution: using a memfile might help.
I've not done a memfile before so will need a pointer or two.
Post by Ingo Jürgensmann
It seems that it tries to move the kernel around, but is unable to do
so. Might be when the new kernel is loaded to Chip Mem and the other
memory types like Fast Mem are not recognized or ignored. By default
it only uses one memory chunk with highest priority, IIRC, but maybe
Geert or so will correct me. If things haven’t changed since my tries
with BigRAM 256MB then you can only make use of a single memory chunk
as RAM. More memory chunks like onboard memory can be used as ramdisk
for swapping or so.
The memory layout is like this. Seams to be all the time, booting into
3.1/ATK/SYSINFO

$08000000 - $0FFFFFFF 128Mb (WarpEngine)
$07800000 - $07FFFFFF 8Mb (Fast Ram)
$00004000 - $001FFFFF 2Mb (Chip Ram)


Z3 Warpengine $40000000 (16Mb)
Z2 X-Surf $00E90000 (64Kb)
Z2 Buddha IDE $00EA0000 (64Kb)



Debug booting 5.15.0-2


[ 0.000000] Linux version 5.15.0-2-m68k (debian-***@lists.debian.org) (gcc-11 (Debian 11.2.0-12) 11.2.0, GNU ld (GNU Binutils for Debian) 2.37) #1 Debian 5.15.5-2 (2021-12-18)
[ 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 0x0000000008000000-0x000000ffffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] initrd: 0783283d - 08000000
[ 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: 32448
[ 0.000000] Kernel command line: root=/dev/sda2 fb=false debug=mem BOOT_IMAGE=vmlinux-5.15.0-2-m68k
[ 0.000000] Unknown kernel command line parameters "fb=false BOOT_IMAGE=vmlinux-5.15.0-2-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: 116212K/131072K available (3399K kernel code, 611K rwdata, 1116K rodata, 164K init, 212K bss, 14860K reserved, 0K cma-reserved)
[ 0.000000] random: get_random_u32 called from __kmem_cache_create+0x24/0x26e with crng_init=0
[ 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.140000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.140000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.210000] devtmpfs: initialized
[ 0.240000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.240000] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.260000] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.270000] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.280000] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.520000] SCSI subsystem initialized
[ 0.550000] clocksource: Switched to clocksource ciab
[ 0.570000] VFS: Disk quotas dquot_6.6.0
[ 0.580000] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.840000] NET: Registered PF_INET protocol family
[ 0.840000] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.860000] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.860000] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.870000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.870000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.870000] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.880000] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.880000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.890000] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.890000] NET: Registered PF_XDP protocol family
[ 0.900000] Initialise system trusted keyrings
[ 0.900000] Key type blacklist registered
[ 0.920000] Trying to unpack rootfs image as initramfs...
[ 0.980000] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 1.280000] random: fast init done
[ 1.360000] zbud: loaded
[ 1.400000] Key type asymmetric registered
[ 1.400000] Asymmetric key parser 'x509' registered
[ 1.410000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 1.880000] io scheduler mq-deadline registered
[ 2.310000] Console: switching to colour frame buffer device 80x32
[ 2.760000] fb0: Amiga ECS frame buffer device, using 640K of video memory
[ 2.810000] pmac_zilog: 0.6 (Benjamin Herrenschmidt <***@kernel.crashing.org>)
[ 2.870000] ttyS0 is the amiga builtin serial port
[ 3.430000] Zorro: Probing AutoConfig expansion devices: 3 devices
[ 3.500000] mousedev: PS/2 mouse device common for all mice
[ 3.510000] input: amiga-keyboard as /devices/platform/amiga-keyboard/input/input0
[ 3.560000] rtc-rp5c01 rtc-rp5c01: registered as rtc0
[ 3.570000] rtc-rp5c01 rtc-rp5c01: setting system clock to 2022-09-05T20:47:56 UTC (1662410876)
[ 3.580000] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.600000] NET: Registered PF_PACKET protocol family
[ 3.650000] mpls_gso: MPLS GSO support
[ 3.660000] registered taskstats version 1
[ 3.670000] Loading compiled-in X.509 certificates
[ 26.210000] Freeing initrd memory: 7988K
[ 26.970000] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[ 26.980000] Loaded X.509 cert 'Debian Secure Boot Signer 2021 - linux: 4b6ef5abca669825178e052c84667ccbc0531f8c'
[ 27.010000] zswap: loaded using pool lzo/zbud
[ 27.040000] Key type ._fscrypt registered
[ 27.050000] Key type .fscrypt registered
[ 27.060000] Key type fscrypt-provisioning registered
[ 27.670000] Key type encrypted registered
[ 27.690000] Freeing unused kernel image (initmem) memory: 164K
[ 27.700000] This architecture does not have kernel memory protection.
[ 27.710000] Run /init as init process
[ 27.720000] with arguments:
[ 27.730000] /init
[ 27.740000] with environment:
[ 27.750000] HOME=/
[ 27.760000] TERM=linux
[ 27.770000] fb=false
[ 27.780000] BOOT_IMAGE=vmlinux-5.15.0-2-m68k
[ 44.520000] wd33c93-0: chip=WD33c93A/9 no_sync=0xff no_dma=0
[ 44.520000] debug_flags=0x00
[ 44.540000] setup_args=
[ 44.540000] ,
[ 44.550000] ,
[ 44.560000] ,
[ 44.570000] ,
[ 44.580000] ,
[ 44.590000] ,
[ 44.600000] ,
[ 44.610000] ,
[ 44.620000] ,
[ 44.630000] ,
[ 44.640000]
[ 44.660000] Version 1.26++ - 10/Feb/2007
[ 44.670000] scsi host0: Amiga 3000 built-in SCSI
[ 44.770000] FD: probing units
[ 44.770000] found
[ 44.770000] fd: drive 0 didn't identify, setting default ffffffff
[ 44.880000] fd0
[ 44.930000] fd: drive 0 didn't identify, setting default ffffffff
[ 45.140000]
[ 45.150000] fd: drive 0 didn't identify, setting default ffffffff
[ 45.730000] eth0: X-Surf at 0x00e90000, Ethernet Address 00:00:b4:3c:30:b9
[ 46.080000] 53c700: Version 2.8 By ***@HansenPartnership.com
[ 46.090000] scsi1: 53c710 rev 2
[ 47.110000] scsi host1: WarpEngine 40xx
[ 47.690000] libata version 3.00 loaded.
[ 47.780000] pata_buddha zorro2: Buddha IDE controller
[ 48.000000] Z2RAM: using 0K Zorro II RAM and 1024K Chip RAM (Total 1024K)
[ 48.100000] scsi host2: pata_buddha
[ 48.190000] scsi host3: pata_buddha
[ 48.240000] ata1: PATA max PIO4 cmd 0xea0000 ctl 0xea091a irq 2
[ 48.250000] ata2: PATA max PIO4 cmd 0xea0000 ctl 0xea0b1a irq 2
[ 48.270000] zorro8390 zorro1: X-Surf IDE controller
[ 48.560000] ata1.00: HPA detected: current 234439535, native 234441648
[ 48.570000] ata1.00: ATA-6: ST3120022A, 8.54, max UDMA/100
[ 48.580000] ata1.00: 234439535 sectors, multi 16: LBA48
[ 48.590000] ata1.00: configured for PIO
[ 48.610000] scsi 2:0:0:0: Direct-Access ATA ST3120022A 8.54 PQ: 0 ANSI: 5
[ 48.700000] scsi host4: pata_buddha
[ 48.830000] scsi host5: pata_buddha
[ 48.870000] ata3: PATA max PIO4 cmd 0xe90000 ctl 0x0 irq 2
[ 48.880000] ata4: PATA max PIO4 cmd 0xe90000 ctl 0x0 irq 2
[ 49.820000] fd: drive 0 didn't identify, setting default ffffffff
[ 49.830000] fd0: accessing DD 3.5-disk with Amiga-layout
[ 50.050000] fd: drive 0 didn't identify, setting default ffffffff
[ 53.390000] random: crng init done
[ 57.030000] sd 2:0:0:0: [sda] 234439535 512-byte logical blocks: (120 GB/112 GiB)
[ 57.050000] sd 2:0:0:0: [sda] Write Protect is off
[ 57.060000] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 57.070000] sd 2:0:0:0: [sda] Asking for cache data failed
[ 57.080000] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 57.440000] sda: RDSK (512) sda1 (DOS^A)(res 2 spb 8) sda2 ((res 2 spb 1) sda3 (SWP^@)(res 2 spb 1)
[ 57.530000] sd 2:0:0:0: [sda] Attached SCSI disk
[ 77.940000] scsi 1:0:1:0: tag#33 abort command
[ 77.950000] scsi 1:0:1:0: tag#33 New error handler wants HOST reset, cmd 8e017f35
[ 77.950000]
[ 77.960000] scsi 1:0:1:0: tag#33 CDB: Inquiry 12 00 00 00 24 00
[ 210.420000] process '/usr/bin/fstype' started with executable stack
[ 231.090000] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 243.680000] INFO: task systemd-udevd:75 blocked for more than 122 seconds.
[ 243.680000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 243.680000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 243.680000] task:systemd-udevd state:D stack: 0 pid: 75 ppid: 68 flags:0x00000040
[ 243.680000] Stack from 0217ffcc:
[ 243.680000] 0000000c c0038852 00000000 d0116850 00000000 00000000 00020000 d0111118
[ 243.680000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 243.680000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 243.680000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 243.680000]
[ 243.680000] INFO: task systemd-udevd:76 blocked for more than 122 seconds.
[ 243.680000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 243.680000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 243.680000] task:systemd-udevd state:D stack: 0 pid: 76 ppid: 68 flags:0x00000040
[ 243.680000] Stack from 021c5fcc:
[ 243.680000] 00000011 c0038852 00000000 d010c328 00000000 00000000 00020000 d011a690
[ 243.680000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 243.690000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 243.690000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 243.690000]
[ 243.690000] INFO: task scsi_eh_1:81 blocked for more than 122 seconds.
[ 243.690000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 243.690000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 243.690000] task:scsi_eh_1 state:D stack: 0 pid: 81 ppid: 2 flags:0x00000000
[ 243.690000] Stack from 0221ffcc:
[ 243.690000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 243.690000] 00000000 00000000 00000000 20000000 00000000
[ 243.690000] Call Trace:
[ 280.340000] systemd[1]: Inserted module 'autofs4'
[ 281.370000] NET: Registered PF_INET6 protocol family
[ 284.040000] Segment Routing with IPv6
[ 284.060000] In-situ OAM (IOAM) with IPv6
[ 285.290000] systemd[1]: systemd 251.4-3 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK -SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[ 285.310000] systemd[1]: Detected architecture m68k.
[ 286.180000] systemd[1]: Hostname set to <a3000>.
[ 325.380000] systemd[1]: Queued start job for default target Graphical Interface.
[ 325.620000] systemd[1]: Created slice Slice /system/getty.
[ 325.970000] systemd[1]: Created slice Slice /system/modprobe.
[ 326.310000] systemd[1]: Created slice User and Session Slice.
[ 326.620000] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 326.960000] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 327.360000] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 327.760000] systemd[1]: Reached target Local Encrypted Volumes.
[ 328.160000] systemd[1]: Reached target Local Integrity Protected Volumes.
[ 328.570000] systemd[1]: Reached target Path Units.
[ 328.960000] systemd[1]: Reached target Remote File Systems.
[ 329.350000] systemd[1]: Reached target Slice Units.
[ 329.750000] systemd[1]: Reached target Local Verity Protected Volumes.
[ 330.200000] systemd[1]: Listening on Syslog Socket.
[ 330.620000] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 331.020000] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 331.800000] systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
[ 331.840000] systemd[1]: Listening on Journal Socket (/dev/log).
[ 332.250000] systemd[1]: Listening on Journal Socket.
[ 332.660000] systemd[1]: Listening on udev Control Socket.
[ 333.070000] systemd[1]: Listening on udev Kernel Socket.
[ 333.470000] systemd[1]: Huge Pages File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[ 333.670000] systemd[1]: Mounting POSIX Message Queue File System...
[ 334.600000] systemd[1]: Mounting Kernel Debug File System...
[ 335.360000] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
[ 335.620000] systemd[1]: Starting Set the console keyboard layout...
[ 336.910000] systemd[1]: Starting Create List of Static Device Nodes...
[ 338.390000] systemd[1]: Starting Load Kernel Module configfs...
[ 340.040000] systemd[1]: Starting Load Kernel Module drm...
[ 341.680000] systemd[1]: Starting Load Kernel Module fuse...
[ 342.670000] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathExists=!/run/initramfs/fsck-root).
[ 343.750000] systemd[1]: Starting Journal Service...
[ 343.860000] fuse: init (API version 7.34)
[ 345.550000] systemd[1]: Starting Load Kernel Modules...
[ 347.840000] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 349.590000] systemd[1]: Repartition Root Disk was skipped because all trigger condition checks failed.
[ 350.570000] systemd[1]: Starting Coldplug All udev Devices...
[ 351.670000] ne.c: You must supply "io=0xNNN" value(s) for ISA cards.
[ 354.760000] systemd[1]: Mounted POSIX Message Queue File System.
[ 356.120000] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro. Quota mode: none.
[ 357.540000] systemd[1]: Mounted Kernel Debug File System.
[ 358.980000] systemd[1]: Finished Create List of Static Device Nodes.
[ 362.330000] systemd[1]: Started Journal Service.
[ 366.560000] INFO: task systemd-udevd:75 blocked for more than 245 seconds.
[ 366.570000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 366.580000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 366.600000] task:systemd-udevd state:D stack: 0 pid: 75 ppid: 68 flags:0x00000040
[ 366.610000] Stack from 0217ffcc:
[ 366.610000] 0000000c c0038852 00000000 d0116850 00000000 00000000 00020000 d0111118
[ 366.610000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 366.620000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 366.630000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 366.650000]
[ 366.660000] INFO: task systemd-udevd:76 blocked for more than 245 seconds.
[ 366.670000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 366.680000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 366.690000] task:systemd-udevd state:D stack: 0 pid: 76 ppid: 68 flags:0x00000040
[ 366.700000] Stack from 021c5fcc:
[ 366.700000] 00000011 c0038852 00000000 d010c328 00000000 00000000 00020000 d011a690
[ 366.700000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 366.720000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 366.730000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 366.740000]
[ 367.560000] INFO: task scsi_eh_1:81 blocked for more than 246 seconds.
[ 367.560000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 367.560000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 367.560000] task:scsi_eh_1 state:D stack: 0 pid: 81 ppid: 2 flags:0x00000000
[ 367.560000] Stack from 0221ffcc:
[ 367.560000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 367.560000] 00000000 00000000 00000000 20000000 00000000
[ 367.560000] Call Trace:
[ 380.830000] systemd-journald[170]: Received client request to flush runtime journal.
[ 440.010000] fd: drive 0 didn't identify, setting default ffffffff
[ 440.010000] fd0: accessing DD 3.5-disk with Amiga-layout
[ 440.760000] fd: drive 0 didn't identify, setting default ffffffff
[ 444.010000] sd 2:0:0:0: Attached scsi generic sg0 type 0
[ 455.640000] input: amiga-mouse as /devices/platform/amiga-mouse/input/input1
[ 456.520000] Amiga DMA sound driver rev 016 installed
[ 456.530000] Core driver edition 01.06 : AMIGA driver edition 00.04
[ 456.540000] Write will use 4 fragments of 32768 bytes as default
[ 456.840000] parport0: Amiga built-in port using irq
[ 457.080000] parport0: fix this legacy no-device port driver!
[ 489.440000] INFO: task systemd-udevd:75 blocked for more than 368 seconds.
[ 489.450000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 489.460000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 489.470000] task:systemd-udevd state:D stack: 0 pid: 75 ppid: 68 flags:0x00000040
[ 489.480000] Stack from 0217ffcc:
[ 489.480000] 0000000c c0038852 00000000 d0116850 00000000 00000000 00020000 d0111118
[ 489.480000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 489.490000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 489.500000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 489.510000]
[ 489.530000] INFO: task systemd-udevd:76 blocked for more than 368 seconds.
[ 489.540000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 489.550000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 489.560000] task:systemd-udevd state:D stack: 0 pid: 76 ppid: 68 flags:0x00000040
[ 489.570000] Stack from 021c5fcc:
[ 489.570000] 00000011 c0038852 00000000 d010c328 00000000 00000000 00020000 d011a690
[ 489.570000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 489.580000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 489.590000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 489.600000]
[ 490.300000] INFO: task scsi_eh_1:81 blocked for more than 369 seconds.
[ 490.310000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 490.320000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 490.330000] task:scsi_eh_1 state:D stack: 0 pid: 81 ppid: 2 flags:0x00000000
[ 490.340000] Stack from 0221ffcc:
[ 490.340000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 490.340000] 00000000 00000000 00000000 20000000 00000000
[ 490.350000] Call Trace:
[ 612.320000] INFO: task systemd-udevd:75 blocked for more than 491 seconds.
[ 612.320000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 612.330000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 612.340000] task:systemd-udevd state:D stack: 0 pid: 75 ppid: 68 flags:0x00000040
[ 612.350000] Stack from 0217ffcc:
[ 612.350000] 0000000c c0038852 00000000 d0116850 00000000 00000000 00020000 d0111118
[ 612.350000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 612.370000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 612.380000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 612.390000]
[ 994.680000] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 996.040000] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 996.500000] systemd-journald[170]: Received SIGTERM from PID 1 (systemd-shutdow).
[ 1006.530000] systemd-shutdown[1]: Waiting for process: 68 (systemd-udevd), 75 (systemd-udevd), 76 (systemd-udevd)
[ 1086.540000] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 1086.710000] systemd-shutdown[1]: Sending SIGKILL to PID 68 (systemd-udevd).
[ 1086.770000] systemd-shutdown[1]: Sending SIGKILL to PID 75 (systemd-udevd).
[ 1086.800000] systemd-shutdown[1]: Sending SIGKILL to PID 76 (systemd-udevd).
[ 1096.990000] systemd-shutdown[1]: Waiting for process: 75 (systemd-udevd), 76 (systemd-udevd)
[ 1177.090000] systemd-shutdown[1]: Unmounting file systems.
[ 1177.220000] [439]: Remounting '/' read-only with options 'errors=remount-ro'.
[ 1177.330000] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro. Quota mode: none.
[ 1177.960000] systemd-shutdown[1]: All filesystems unmounted.
[ 1177.970000] systemd-shutdown[1]: Deactivating swaps.
[ 1177.980000] systemd-shutdown[1]: All swaps deactivated.
[ 1177.990000] systemd-shutdown[1]: Detaching loop devices.
[ 1178.020000] systemd-shutdown[1]: All loop devices detached.
[ 1178.030000] systemd-shutdown[1]: Stopping MD devices.
[ 1178.050000] systemd-shutdown[1]: All MD devices stopped.
[ 1178.060000] systemd-shutdown[1]: Detaching DM devices.
[ 1178.080000] systemd-shutdown[1]: All DM devices detached.
[ 1178.090000] systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached.
[ 1178.430000] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 1178.490000] systemd-shutdown[1]: Powering off.



Booting with kenel 5.18.0-4, but initrid 5.15.0-2


[ 0.000000] Linux version 5.18.0-4-m68k (debian-***@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 0x0000000008000000-0x000000ffffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-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: 32448
[ 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: 124168K/131072K available (3446K kernel code, 580K rwdata, 1136K rodata, 164K init, 178K bss, 6904K 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.100000] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 1.560000] zbud: loaded
[ 1.610000] Key type asymmetric registered
[ 1.610000] 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.660000] 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 <***@kernel.crashing.org>)
[ 2.150000] ttyS0 is the amiga builtin serial port
[ 2.520000] Zorro: Probing AutoConfig expansion devices: 3 devices
[ 2.550000] 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-05T20:40:51 UTC (1662410451)
[ 2.620000] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.640000] NET: Registered PF_PACKET protocol family
[ 2.650000] mpls_gso: MPLS GSO support
[ 2.660000] registered taskstats version 1
[ 2.680000] Loading compiled-in X.509 certificates
[ 2.880000] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[ 2.890000] Loaded X.509 cert 'Debian Secure Boot Signer 2021 - linux: 4b6ef5abca669825178e052c84667ccbc0531f8c'
[ 2.920000] zswap: loaded using pool lzo/zbud
[ 2.950000] Key type ._fscrypt registered
[ 2.960000] Key type .fscrypt registered
[ 2.970000] Key type fscrypt-provisioning registered
[ 3.020000] Key type encrypted registered
[ 3.080000] List of all partitions:
[ 3.090000] No filesystem could mount root, tried:
[ 3.090000]
[ 3.110000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 3.110000] CPU: 0 PID: 1 Comm: swapper Not tainted 5.18.0-4-m68k #1 Debian 5.18.16-1
[ 3.110000] Stack from 00823ef0:
[ 3.110000] 00823ef0 00419421 00419421 00354d80 00000000 00000000 00000000 00a98000
[ 3.110000] 00823f54 00355744 00355756 001ed30c 0051054a 0040b560 00823f54 0042cac5
[ 3.110000] 00000000 0000000c 00000000 00000000 00000000 001ed268 00000000 00000000
[ 3.110000] 00000000 756e6b6e 6f776e2d 626c6f63 6b28302c 30290050 00c17580 005105ac
[ 3.110000] 0040b5c4 005105d6 0040b5c4 00008001 00000000 0e4e1c00 00000000 00000000
[ 3.110000] 00000000 00000000 001ed268 00000000 00000000 00000000 0051081e 0035a22c
[ 3.110000] Call Trace: [<00354d80>] panic+0xc4/0x246
[ 3.110000] [<00355744>] _printk+0x0/0x18
[ 3.110000] [<00355756>] _printk+0x12/0x18
[ 3.110000] [<001ed30c>] strlen+0x0/0x14
[ 3.110000] [<0051054a>] mount_block_root+0x17a/0x194
[ 3.110000] [<001ed268>] strncmp+0x0/0x34
[ 3.110000] [<005105ac>] mount_root+0x48/0x14e
[ 3.110000] [<005105d6>] mount_root+0x72/0x14e
[ 3.110000] [<00008001>] atari_get_hardware_list+0x6d/0x3e0
[ 3.110000] [<001ed268>] strncmp+0x0/0x34
[ 3.110000] [<0051081e>] prepare_namespace+0x16c/0x17a
[ 3.110000] [<0035a22c>] kernel_init+0x0/0xec
[ 3.110000] [<0035a240>] kernel_init+0x14/0xec
[ 3.110000] [<0035a22c>] kernel_init+0x0/0xec
[ 3.110000] [<00002914>] ret_from_kernel_thread+0xc/0x14
[ 3.110000]
[ 3.110000] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
--
Stephen - Vk3heg
Ingo Jürgensmann
2022-09-06 05:50:01 UTC
Permalink
Post by Stephen Walsh
Post by Ingo Jürgensmann
So, here is the error and a possible solution: using a memfile might help.
I've not done a memfile before so will need a pointer or two.
Quick pointer was to look it up in my blog about the BigRamPlus:

https://blog.windfluechter.net/2013/12/18/1677-debian-donation-m68k-arrived/

There you can find a memfile. Basically it is quite simple. First line should be ChipMem and in that example there are my 64 MB FastMem on the Warpengine. And next parameter to the starting address is the size in bytes.
Post by Stephen Walsh
The memory layout is like this. Seams to be all the time, booting into
3.1/ATK/SYSINFO
$08000000 - $0FFFFFFF 128Mb (WarpEngine)
$07800000 - $07FFFFFF 8Mb (Fast Ram)
$00004000 - $001FFFFF 2Mb (Chip Ram)
Z3 Warpengine $40000000 (16Mb)
Z2 X-Surf $00E90000 (64Kb)
Z2 Buddha IDE $00EA0000 (64Kb)
You’ll only need to include those address space that is actually RAM, not address space for firmware or IO stuff.
--
Ciao... // Web: http://blog.windfluechter.net
Ingo \X/ XMPP/Jabber: ***@jhookipa.net

gpg pubkey: http://www.juergensmann.de/ij_public_key.asc
Geert Uytterhoeven
2022-09-06 07:40:01 UTC
Permalink
Hi Ingo,
Post by Ingo Jürgensmann
Post by Stephen Walsh
Post by Ingo Jürgensmann
So, here is the error and a possible solution: using a memfile might help.
I've not done a memfile before so will need a pointer or two.
https://blog.windfluechter.net/2013/12/18/1677-debian-donation-m68k-arrived/
There you can find a memfile. Basically it is quite simple. First line should be ChipMem and in that example there are my 64 MB FastMem on the Warpengine. And next parameter to the starting address is the size in bytes.
Post by Stephen Walsh
The memory layout is like this. Seams to be all the time, booting into
3.1/ATK/SYSINFO
$08000000 - $0FFFFFFF 128Mb (WarpEngine)
$07800000 - $07FFFFFF 8Mb (Fast Ram)
$00004000 - $001FFFFF 2Mb (Chip Ram)
Z3 Warpengine $40000000 (16Mb)
Z2 X-Surf $00E90000 (64Kb)
Z2 Buddha IDE $00EA0000 (64Kb)
You’ll only need to include those address space that is actually RAM, not address space for firmware or IO stuff.
As there are only two regions of Fast RAM, and the second one should
not be used as it is slow motherboard RAM, I think a memfile won't
make a difference.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ***@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Geert Uytterhoeven
2022-09-06 07:50:01 UTC
Permalink
Hi Stephen,
Post by Stephen Walsh
Debug booting 5.15.0-2
[ 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] DMA [mem 0x0000000008000000-0x000000ffffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] initrd: 0783283d - 08000000
So the initrd is located in motherboard RAM.
Post by Stephen Walsh
Booting with kenel 5.18.0-4, but initrid 5.15.0-2
[ 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
Why is there no initrd line here?

Note that your initial bad boot report (kernel 5.18.0-4 with corresponding
initrd) had:

initrd: 0f7f81c2 - 10000000

I.e. the initrd was located in the WarpEngine RAM.

What happens with the old kernel and the new initrd?
Post by Stephen Walsh
[ 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!
Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ***@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Stephen Walsh
2022-09-07 01:20:01 UTC
Permalink
Hi Geert,

On Tue, 6 Sep 2022 09:40:27 +0200
Post by Geert Uytterhoeven
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
Why is there no initrd line here?
The kernel dropped to busybox saying it couldn't find /dev/sda2 root
file system.
Post by Geert Uytterhoeven
What happens with the old kernel and the new initrd?
Kernel panic...


Here are three debugs..... mixing the kernel/intrid's...


debug: kernel 5.15.0-2-m68k, initrd 5.19.0-1-m68k

Searching for SAVEKMSG magic...
Found 7741 bytes at 0x001e0010
[ 0.000000] Linux version 5.15.0-2-m68k (debian-***@lists.debian.org) (gcc-11 (Debian 11.2.0-12) 11.2.0, GNU ld (GNU Binutils for Debian) 2.37) #1 Debian 5.15.5-2 (2021-12-18)
[ 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 0x0000000008000000-0x000000ffffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-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: 32448
[ 0.000000] Kernel command line: ignore_loglevel -r initrd.img-5.19.0-1-m68k root=/dev/sda2 fb=false debug=mem BOOT_IMAGE=vmlinux-5.15.0-2-m68k
[ 0.000000] Unknown kernel command line parameters "-r fb=false BOOT_IMAGE=vmlinux-5.15.0-2-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: 124204K/131072K available (3399K kernel code, 611K rwdata, 1116K rodata, 164K init, 212K bss, 6868K reserved, 0K cma-reserved)
[ 0.000000] random: get_random_u32 called from __kmem_cache_create+0x24/0x26e with crng_init=0
[ 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.140000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.140000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.210000] devtmpfs: initialized
[ 0.240000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.240000] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.270000] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.280000] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.280000] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.530000] SCSI subsystem initialized
[ 0.560000] clocksource: Switched to clocksource ciab
[ 0.580000] VFS: Disk quotas dquot_6.6.0
[ 0.590000] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.850000] NET: Registered PF_INET protocol family
[ 0.850000] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.870000] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.870000] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.870000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.880000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.880000] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.890000] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.890000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.900000] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.900000] NET: Registered PF_XDP protocol family
[ 0.910000] Initialise system trusted keyrings
[ 0.910000] Key type blacklist registered
[ 0.930000] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 1.280000] random: fast init done
[ 1.320000] zbud: loaded
[ 1.360000] Key type asymmetric registered
[ 1.360000] Asymmetric key parser 'x509' registered
[ 1.370000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 1.370000] io scheduler mq-deadline registered
[ 1.670000] Console: switching to colour frame buffer device 80x32
[ 1.820000] fb0: Amiga ECS frame buffer device, using 640K of video memory
[ 1.840000] pmac_zilog: 0.6 (Benjamin Herrenschmidt <***@kernel.crashing.org>)
[ 1.860000] ttyS0 is the amiga builtin serial port
[ 2.170000] Zorro: Probing AutoConfig expansion devices: 3 devices
[ 2.200000] mousedev: PS/2 mouse device common for all mice
[ 2.220000] input: amiga-keyboard as /devices/platform/amiga-keyboard/input/input0
[ 2.240000] rtc-rp5c01 rtc-rp5c01: registered as rtc0
[ 2.250000] rtc-rp5c01 rtc-rp5c01: setting system clock to 2022-09-07T10:00:27 UTC (1662544827)
[ 2.260000] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.270000] NET: Registered PF_PACKET protocol family
[ 2.280000] mpls_gso: MPLS GSO support
[ 2.300000] registered taskstats version 1
[ 2.310000] Loading compiled-in X.509 certificates
[ 2.500000] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[ 2.520000] Loaded X.509 cert 'Debian Secure Boot Signer 2021 - linux: 4b6ef5abca669825178e052c84667ccbc0531f8c'
[ 2.540000] zswap: loaded using pool lzo/zbud
[ 2.560000] Key type ._fscrypt registered
[ 2.570000] Key type .fscrypt registered
[ 2.580000] Key type fscrypt-provisioning registered
[ 2.630000] Key type encrypted registered
[ 2.650000] List of all partitions:
[ 2.660000] No filesystem could mount root, tried:
[ 2.660000]
[ 2.680000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 2.680000] CPU: 0 PID: 1 Comm: swapper Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 2.680000] Stack from 00823ef0:
[ 2.680000] 00823ef0 00409d85 00409d85 0034b094 00000000 00000000 00000000 00a54000
[ 2.680000] 00823f54 0034ba8e 0034baa0 001e977e 0050756e 003fc35c 00823f54 0041c09b
[ 2.680000] 00000000 0000000c 00000000 00000000 00000000 001e96bc 00000000 00000000
[ 2.680000] 00000000 756e6b6e 6f776e2d 626c6f63 6b28302c 30290090 00c10d00 005075d0
[ 2.680000] 003fc3c0 005075fa 003fc3c0 00008001 00000000 0aba9500 00000000 00000000
[ 2.680000] 00000000 00000000 001e96bc 00000000 00000000 00000000 00507842 0034e51e
[ 2.680000] Call Trace: [<0034b094>] panic+0xb6/0x278
[ 2.680000] [<0034ba8e>] _printk+0x0/0x18
[ 2.680000] [<0034baa0>] _printk+0x12/0x18
[ 2.680000] [<001e977e>] strlen+0x0/0x14
[ 2.680000] [<0050756e>] mount_block_root+0x17a/0x194
[ 2.680000] [<001e96bc>] strncmp+0x0/0x34
[ 2.680000] [<005075d0>] mount_root+0x48/0x14e
[ 2.680000] [<005075fa>] mount_root+0x72/0x14e
[ 2.680000] [<00008001>] atari_get_hardware_list+0x69/0x3e0
[ 2.680000] [<001e96bc>] strncmp+0x0/0x34
[ 2.680000] [<00507842>] prepare_namespace+0x16c/0x17a
[ 2.680000] [<0034e51e>] kernel_init+0x0/0xe4
[ 2.680000] [<0034e532>] kernel_init+0x14/0xe4
[ 2.680000] [<0034e51e>] kernel_init+0x0/0xe4
[ 2.680000] [<000028ec>] ret_from_kernel_thread+0xc/0x14
[ 2.680000]
[ 2.680000] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
<<<<<<<<<<<<<<<<<<<<



Debug: kernel 5.19.0-1-m68k, intrid 5.15.0-2-m68k
can't find /dev/sda2 root file system.

Searching for SAVEKMSG magic...
Found 7887 bytes at 0x001e0010
[ 0.000000] Linux version 5.19.0-1-m68k (debian-***@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.19.6-1 (2022-09-01)
[ 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 0x0000000008000000-0x000000ffffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-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: 32448
[ 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.19.0-1-m68k
[ 0.000000] Unknown kernel command line parameters "-r fb=false BOOT_IMAGE=vmlinux-5.19.0-1-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: 124124K/131072K available (3478K kernel code, 576K rwdata, 1148K rodata, 168K init, 176K bss, 6948K 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.260000] cblist_init_generic: Setting shift to 0 and lim to 1.
[ 0.290000] devtmpfs: initialized
[ 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.380000] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.390000] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.400000] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.630000] SCSI subsystem initialized
[ 0.670000] clocksource: Switched to clocksource ciab
[ 0.700000] VFS: Disk quotas dquot_6.6.0
[ 0.700000] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.050000] NET: Registered PF_INET protocol family
[ 1.060000] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 1.100000] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 1.110000] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 1.110000] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 1.110000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 1.120000] TCP: Hash tables configured (established 1024 bind 1024)
[ 1.130000] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 1.130000] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 1.130000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 1.150000] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 1.150000] NET: Registered PF_XDP protocol family
[ 1.160000] Initialise system trusted keyrings
[ 1.170000] Key type blacklist registered
[ 1.190000] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 1.640000] zbud: loaded
[ 1.690000] Key type asymmetric registered
[ 1.700000] Asymmetric key parser 'x509' registered
[ 1.730000] alg: self-tests for CTR-KDF (hmac(sha256)) passed
[ 1.740000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 1.750000] io scheduler mq-deadline registered
[ 2.040000] Console: switching to colour frame buffer device 80x32
[ 2.200000] fb0: Amiga ECS frame buffer device, using 640K of video memory
[ 2.230000] ttyS0 is the amiga builtin serial port
[ 2.600000] Zorro: Probing AutoConfig expansion devices: 3 devices
[ 2.640000] mousedev: PS/2 mouse device common for all mice
[ 2.650000] input: amiga-keyboard as /devices/platform/amiga-keyboard/input/input0
[ 2.680000] rtc-rp5c01 rtc-rp5c01: registered as rtc0
[ 2.690000] rtc-rp5c01 rtc-rp5c01: setting system clock to 2022-09-07T10:15:36 UTC (1662545736)
[ 2.710000] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.730000] NET: Registered PF_PACKET protocol family
[ 2.750000] mpls_gso: MPLS GSO support
[ 2.770000] registered taskstats version 1
[ 2.780000] Loading compiled-in X.509 certificates
[ 2.970000] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[ 2.990000] Loaded X.509 cert 'Debian Secure Boot Signer 2022 - linux: 14011249c2675ea8e5148542202005810584b25f'
[ 3.020000] zswap: loaded using pool lzo/zbud
[ 3.040000] Key type ._fscrypt registered
[ 3.050000] Key type .fscrypt registered
[ 3.060000] Key type fscrypt-provisioning registered
[ 3.120000] Key type encrypted registered
[ 3.180000] List of all partitions:
[ 3.190000] No filesystem could mount root, tried:
[ 3.190000]
[ 3.210000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 3.210000] CPU: 0 PID: 1 Comm: swapper Not tainted 5.19.0-1-m68k #1 Debian 5.19.6-1
[ 3.210000] Stack from 00823ee0:
[ 3.210000] 00823ee0 00423737 00423737 00000000 00000001 0036062a 00423737 0035ccf4
[ 3.210000] 00000000 00000000 00000000 00a90000 00823f54 0035d6d0 0035d6e2 001f2be4
[ 3.210000] 0051a57c 0041534e 00823f54 00436f17 00000000 0000000c 00000000 00000000
[ 3.210000] 00000000 001f2b40 00000000 00000000 00000000 756e6b6e 6f776e2d 626c6f63
[ 3.210000] 6b28302c 302900d0 00c17380 0051a5de 004153b2 0051a608 004153b2 00008001
[ 3.210000] 00000000 0e4e1c00 00000000 00000000 00000000 00000000 001f2b40 00000000
[ 3.210000] Call Trace: [<0036062a>] dump_stack+0xc/0x10
[ 3.210000] [<0035ccf4>] panic+0xc4/0x246
[ 3.210000] [<0035d6d0>] _printk+0x0/0x18
[ 3.210000] [<0035d6e2>] _printk+0x12/0x18
[ 3.210000] [<001f2be4>] strlen+0x0/0x14
[ 3.210000] [<0051a57c>] mount_block_root+0x17a/0x194
[ 3.210000] [<001f2b40>] strncmp+0x0/0x34
[ 3.210000] [<0051a5de>] mount_root+0x48/0x14e
[ 3.210000] [<0051a608>] mount_root+0x72/0x14e
[ 3.210000] [<00008001>] atari_get_hardware_list+0x31/0x3e0
[ 3.210000] [<001f2b40>] strncmp+0x0/0x34
[ 3.210000] [<0051a850>] prepare_namespace+0x16c/0x17a
[ 3.210000] [<003623dc>] kernel_init+0x0/0xec
[ 3.210000] [<003623f0>] kernel_init+0x14/0xec
[ 3.210000] [<003623dc>] kernel_init+0x0/0xec
[ 3.210000] [<00002914>] ret_from_kernel_thread+0xc/0x14
[ 3.210000]
[ 3.210000] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
<<<<<<<<<<<<<<<<<<<<


Debug: kernel/initrid 5.19.0-1-m68k


Searching for SAVEKMSG magic...
Found 7887 bytes at 0x001e0010
[ 0.000000] Linux version 5.19.0-1-m68k (debian-***@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.19.6-1 (2022-09-01)
[ 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 0x0000000008000000-0x000000ffffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-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: 32448
[ 0.000000] Kernel command line: ignore_loglevel -r initrd.img-5.19.0-1-m68k root=/dev/sda2 fb=false debug=mem BOOT_IMAGE=vmlinux-5.19.0-1-m68k
[ 0.000000] Unknown kernel command line parameters "-r fb=false BOOT_IMAGE=vmlinux-5.19.0-1-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: 124124K/131072K available (3478K kernel code, 576K rwdata, 1148K rodata, 168K init, 176K bss, 6948K 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.260000] cblist_init_generic: Setting shift to 0 and lim to 1.
[ 0.290000] devtmpfs: initialized
[ 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.380000] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.390000] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.400000] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.630000] SCSI subsystem initialized
[ 0.670000] clocksource: Switched to clocksource ciab
[ 0.700000] VFS: Disk quotas dquot_6.6.0
[ 0.700000] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.050000] NET: Registered PF_INET protocol family
[ 1.060000] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 1.100000] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 1.110000] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 1.110000] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 1.110000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 1.120000] TCP: Hash tables configured (established 1024 bind 1024)
[ 1.130000] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 1.130000] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 1.130000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 1.150000] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 1.150000] NET: Registered PF_XDP protocol family
[ 1.160000] Initialise system trusted keyrings
[ 1.170000] Key type blacklist registered
[ 1.190000] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 1.640000] zbud: loaded
[ 1.700000] Key type asymmetric registered
[ 1.700000] Asymmetric key parser 'x509' registered
[ 1.730000] alg: self-tests for CTR-KDF (hmac(sha256)) passed
[ 1.750000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 1.750000] io scheduler mq-deadline registered
[ 2.050000] Console: switching to colour frame buffer device 80x32
[ 2.210000] fb0: Amiga ECS frame buffer device, using 640K of video memory
[ 2.230000] ttyS0 is the amiga builtin serial port
[ 2.610000] Zorro: Probing AutoConfig expansion devices: 3 devices
[ 2.640000] mousedev: PS/2 mouse device common for all mice
[ 2.660000] input: amiga-keyboard as /devices/platform/amiga-keyboard/input/input0
[ 2.680000] rtc-rp5c01 rtc-rp5c01: registered as rtc0
[ 2.700000] rtc-rp5c01 rtc-rp5c01: setting system clock to 2022-09-07T10:08:52 UTC (1662545332)
[ 2.720000] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.740000] NET: Registered PF_PACKET protocol family
[ 2.750000] mpls_gso: MPLS GSO support
[ 2.780000] registered taskstats version 1
[ 2.790000] Loading compiled-in X.509 certificates
[ 2.990000] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[ 3.010000] Loaded X.509 cert 'Debian Secure Boot Signer 2022 - linux: 14011249c2675ea8e5148542202005810584b25f'
[ 3.040000] zswap: loaded using pool lzo/zbud
[ 3.070000] Key type ._fscrypt registered
[ 3.080000] Key type .fscrypt registered
[ 3.090000] Key type fscrypt-provisioning registered
[ 3.150000] Key type encrypted registered
[ 3.210000] List of all partitions:
[ 3.220000] No filesystem could mount root, tried:
[ 3.220000]
[ 3.240000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 3.240000] CPU: 0 PID: 1 Comm: swapper Not tainted 5.19.0-1-m68k #1 Debian 5.19.6-1
[ 3.240000] Stack from 00823ee0:
[ 3.240000] 00823ee0 00423737 00423737 00000000 00000001 0036062a 00423737 0035ccf4
[ 3.240000] 00000000 00000000 00000000 00a90000 00823f54 0035d6d0 0035d6e2 001f2be4
[ 3.240000] 0051a57c 0041534e 00823f54 00436f17 00000000 0000000c 00000000 00000000
[ 3.240000] 00000000 001f2b40 00000000 00000000 00000000 756e6b6e 6f776e2d 626c6f63
[ 3.240000] 6b28302c 30290030 00c17700 0051a5de 004153b2 0051a608 004153b2 00008001
[ 3.240000] 00000000 0e4e1c00 00000000 00000000 00000000 00000000 001f2b40 00000000
[ 3.240000] Call Trace: [<0036062a>] dump_stack+0xc/0x10
[ 3.240000] [<0035ccf4>] panic+0xc4/0x246
[ 3.240000] [<0035d6d0>] _printk+0x0/0x18
[ 3.240000] [<0035d6e2>] _printk+0x12/0x18
[ 3.240000] [<001f2be4>] strlen+0x0/0x14
[ 3.240000] [<0051a57c>] mount_block_root+0x17a/0x194
[ 3.240000] [<001f2b40>] strncmp+0x0/0x34
[ 3.240000] [<0051a5de>] mount_root+0x48/0x14e
[ 3.240000] [<0051a608>] mount_root+0x72/0x14e
[ 3.240000] [<00008001>] atari_get_hardware_list+0x31/0x3e0
[ 3.240000] [<001f2b40>] strncmp+0x0/0x34
[ 3.240000] [<0051a850>] prepare_namespace+0x16c/0x17a
[ 3.240000] [<003623dc>] kernel_init+0x0/0xec
[ 3.240000] [<003623f0>] kernel_init+0x14/0xec
[ 3.240000] [<003623dc>] kernel_init+0x0/0xec
[ 3.240000] [<00002914>] ret_from_kernel_thread+0xc/0x14
[ 3.240000]
[ 3.240000] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
<<<<<<<<<<<<<<<<<<<<
--
Stephen - Vk3heg
Stephen Walsh
2022-09-07 02:10:02 UTC
Permalink
Hi Finn,

On Wed, 7 Sep 2022 11:59:17 +1000 (AEST)
Post by Stephen Walsh
Here are three debugs..... mixing the kernel/intrid's...
What happens if you boot the 5.19 kernel/initrd pair with
"root=/dev/sda2" omitted from the kernel parameters?
It looks like the oops from the 5.18 build disappeared in the 5.19
build.
That makes me think that the 5.18 build would no longer oops when
used with the 5.19 initrd (?)
All boot attempts have ran with the following amiboot line (Changing
the kernel/initrd of course)

amiboot -k vmlinux-5.15.0-2-m68k -r initrd.img-5.15.0-2-m68k
root=/dev/sda2 fb=false debug=mem


amiboot is version 6, dated 11th may 2005.
--
Stephen - Vk3heg
Finn Thain
2022-09-07 03:40:01 UTC
Permalink
Post by Stephen Walsh
On Wed, 7 Sep 2022 11:59:17 +1000 (AEST)
Post by Stephen Walsh
Here are three debugs..... mixing the kernel/intrid's...
What happens if you boot the 5.19 kernel/initrd pair with
"root=/dev/sda2" omitted from the kernel parameters?
It looks like the oops from the 5.18 build disappeared in the 5.19 build.
That makes me think that the 5.18 build would no longer oops when
used with the 5.19 initrd (?)
All boot attempts have ran with the following amiboot line (Changing
the kernel/initrd of course)
amiboot -k vmlinux-5.15.0-2-m68k -r initrd.img-5.15.0-2-m68k
root=/dev/sda2 fb=false debug=mem
Right. What I was saying was that you'd probably get better results if you
omitted root=/dev/sda2.

Or, if you want to keep using the same amiboot line, I suggest you try the
5.18 kernel with the 5.19 initrd. It won't boot correctly but it might
prevent the oops. (The theory was that the 5.18 initrd grew too big.)
Finn Thain
2022-09-07 04:30:01 UTC
Permalink
Post by Finn Thain
Post by Stephen Walsh
On Wed, 7 Sep 2022 11:59:17 +1000 (AEST)
Post by Stephen Walsh
Here are three debugs..... mixing the kernel/intrid's...
What happens if you boot the 5.19 kernel/initrd pair with
"root=/dev/sda2" omitted from the kernel parameters?
It looks like the oops from the 5.18 build disappeared in the 5.19 build.
That makes me think that the 5.18 build would no longer oops when
used with the 5.19 initrd (?)
All boot attempts have ran with the following amiboot line (Changing
the kernel/initrd of course)
amiboot -k vmlinux-5.15.0-2-m68k -r initrd.img-5.15.0-2-m68k
root=/dev/sda2 fb=false debug=mem
Right. What I was saying was that you'd probably get better results if you
omitted root=/dev/sda2.
Please disregard that. I realize now that the kernel is not aware of any
initrd at all, which is why it fails with "No filesystem could mount
root". It still looks like a bootloader issue to me.
Geert Uytterhoeven
2022-09-07 07:20:01 UTC
Permalink
Hi Stephen,
Post by Stephen Walsh
On Wed, 7 Sep 2022 11:59:17 +1000 (AEST)
Post by Stephen Walsh
Here are three debugs..... mixing the kernel/intrid's...
What happens if you boot the 5.19 kernel/initrd pair with
"root=/dev/sda2" omitted from the kernel parameters?
It looks like the oops from the 5.18 build disappeared in the 5.19 build.
It disappeared because the (too large?) initrd is no longer loaded...
Post by Stephen Walsh
That makes me think that the 5.18 build would no longer oops when
used with the 5.19 initrd (?)
All boot attempts have ran with the following amiboot line (Changing
the kernel/initrd of course)
amiboot -k vmlinux-5.15.0-2-m68k -r initrd.img-5.15.0-2-m68k
root=/dev/sda2 fb=false debug=mem
Are you sure that is what you really used?

I missed this before, but all kernels that failed to mount their root
file systems, and printed no "initrd: <start> - <end>" lines, had the
"-r <initrd>" parameter in the kernel command line part:

Kernel command line: ignore_loglevel -r initrd.img-5.19.0-1-m68k
root=/dev/sda2 fb=false debug=mem BOOT_IMAGE=vmlinux-5.19.0-1-m68k

Hence Amiboot didn't provide the initrd...

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ***@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Finn Thain
2022-09-07 22:40:01 UTC
Permalink
Post by Geert Uytterhoeven
Post by Stephen Walsh
On Wed, 7 Sep 2022 11:59:17 +1000 (AEST)
Post by Stephen Walsh
Here are three debugs..... mixing the kernel/intrid's...
What happens if you boot the 5.19 kernel/initrd pair with
"root=/dev/sda2" omitted from the kernel parameters?
It looks like the oops from the 5.18 build disappeared in the 5.19 build.
It disappeared because the (too large?) initrd is no longer loaded...
Post by Stephen Walsh
That makes me think that the 5.18 build would no longer oops when
used with the 5.19 initrd (?)
All boot attempts have ran with the following amiboot line (Changing
the kernel/initrd of course)
amiboot -k vmlinux-5.15.0-2-m68k -r initrd.img-5.15.0-2-m68k
root=/dev/sda2 fb=false debug=mem
Are you sure that is what you really used?
I missed this before, but all kernels that failed to mount their root
file systems, and printed no "initrd: <start> - <end>" lines, had the
Kernel command line: ignore_loglevel -r initrd.img-5.19.0-1-m68k
root=/dev/sda2 fb=false debug=mem BOOT_IMAGE=vmlinux-5.19.0-1-m68k
Hence Amiboot didn't provide the initrd...
Okay, so the first couple of logs Stephen sent used the correct command
line. From those we can see,

Success:
[ 0.000000] initrd: 0783283d - 08000000
Failure:
[ 0.000000] initrd: 0f7f81c2 - 10000000

Stephen, can you please confirm that (given the correct bootloader
command) 5.15 does indeed oops when presented with an initrd that's 8 MiB
(8388608 bytes) or larger? And conversely, 5.18 does not oops when
presented with an initrd that's smaller than 8 MiB?
Stephen Walsh
2022-09-08 00:10:01 UTC
Permalink
Hi Finn,
Post by Finn Thain
Post by Stephen Walsh
Kernel command line: ignore_loglevel -r initrd.img-5.19.0-1-m68k
root=/dev/sda2 fb=false debug=mem BOOT_IMAGE=vmlinux-5.19.0-1-m68k
Hence Amiboot didn't provide the initrd...
Okay, so the first couple of logs Stephen sent used the correct command
line. From those we can see,
[ 0.000000] initrd: 0783283d - 08000000
[ 0.000000] initrd: 0f7f81c2 - 10000000
Stephen, can you please confirm that (given the correct bootloader
command) 5.15 does indeed oops when presented with an initrd that's 8 MiB
(8388608 bytes) or larger? And conversely, 5.18 does not oops when
presented with an initrd that's smaller than 8 MiB?
I'll have to re-test when I get home tonight, as I've gone through many
attempts.

I was thinking this morning that perhaps amiboot/kernel/intrid is having
issues with the larger size.



---
Stephen - vk3heg
Stephen Walsh
2022-09-08 00:00:01 UTC
Permalink
Hi Geert,
Post by Geert Uytterhoeven
Post by Stephen Walsh
amiboot -k vmlinux-5.15.0-2-m68k -r initrd.img-5.15.0-2-m68k
root=/dev/sda2 fb=false debug=mem
Are you sure that is what you really used?
Yes, that is what I've been using and works with 5.15

Screen shot of just before I started a new test. I boot the Amiga with
no startup-sequence and then run the script. (Saves typing).

Loading Image...
Post by Geert Uytterhoeven
I missed this before, but all kernels that failed to mount their root
file systems, and printed no "initrd: <start> - <end>" lines, had the
Kernel command line: ignore_loglevel -r initrd.img-5.19.0-1-m68k
root=/dev/sda2 fb=false debug=mem BOOT_IMAGE=vmlinux-5.19.0-1-m68k
I have seen it do that many times, but but boot correctly. I have also
seen amiboot get the system going and then either not find the hd, or
the nic or vis versa.

When I got the system installed last year it took many attempts due to
those issues, then someone posted the trick of copying the iso to the
swap space and the system finally installed.





---
Stephen - vk3heg
Finn Thain
2022-09-08 01:10:01 UTC
Permalink
Post by Stephen Walsh
Hi Geert,
Post by Geert Uytterhoeven
Post by Stephen Walsh
amiboot -k vmlinux-5.15.0-2-m68k -r initrd.img-5.15.0-2-m68k
root=/dev/sda2 fb=false debug=mem
Are you sure that is what you really used?
Yes, that is what I've been using and works with 5.15
I think that what Geert was getting at was the discrepancy between the
two test runs seen here:
https://lists.debian.org/debian-68k/2022/09/msg00015.html

The first has this:

[ 0.000000] Kernel command line: root=/dev/sda2 fb=false debug=mem BOOT_IMAGE=vmlinux-5.15.0-2-m68k
[ 0.000000] Unknown kernel command line parameters "fb=false BOOT_IMAGE=vmlinux-5.15.0-2-m68k", will be passed to user space.

Whereas the second has this:

[ 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.

The presence of "-r filename" in the second log indicates that amiboot did
not act upon those arguments but passed them to the kernel instead.

When you run the tests I proposed, please use the first method again i.e.
omit "ignore_loglevel".
Geert Uytterhoeven
2022-09-08 06:50:02 UTC
Permalink
Hi Finn,
Post by Finn Thain
Post by Stephen Walsh
Post by Geert Uytterhoeven
Post by Stephen Walsh
amiboot -k vmlinux-5.15.0-2-m68k -r initrd.img-5.15.0-2-m68k
root=/dev/sda2 fb=false debug=mem
Are you sure that is what you really used?
Yes, that is what I've been using and works with 5.15
I think that what Geert was getting at was the discrepancy between the
https://lists.debian.org/debian-68k/2022/09/msg00015.html
[ 0.000000] Kernel command line: root=/dev/sda2 fb=false debug=mem BOOT_IMAGE=vmlinux-5.15.0-2-m68k
[ 0.000000] Unknown kernel command line parameters "fb=false BOOT_IMAGE=vmlinux-5.15.0-2-m68k", will be passed to user space.
[ 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.
The presence of "-r filename" in the second log indicates that amiboot did
not act upon those arguments but passed them to the kernel instead.
When you run the tests I proposed, please use the first method again i.e.
omit "ignore_loglevel".
oh right, the "ignore_loglevel" is in the wrong location: it should be
located after the initrd.

In the screenshot you showed, "ignore_loglevel" was the last parameter,
which is fine.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ***@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Stephen Walsh
2022-09-09 01:00:02 UTC
Permalink
Hi Guys.

As requested.

Finn I also tried kernel 5.19 with intrid 5.15..

Still only Kernel/Intrid 5.15-02 is the one that boots.

command line was always (With only kernel/intred changes):

amiboot -k vmlinux-5.15.0-2-m68k -r initrd.img-5.15.0-2-m68k
root=/dev/sda2 fb=false debug=mem


Kernel 5.19, intrd 5.19
[ 0.000000] Linux version 5.19.0-1-m68k (debian-***@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.19.6-1 (2022-09-01)
[ 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] initrd: 0f7f6794 - 10000000
[ 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 0x0000000008000000-0x000000ffffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Unable to handle kernel access at virtual address (ptrval)
[ 0.000000] Oops: 00000000
[ 0.000000] Modules linked in:
[ 0.000000] PC: [<001f2d34>] memcmp+0x2c/0x5c
[ 0.000000] SR: 2700 SP: (ptrval) a2: 0048b580
[ 0.000000] d0: 00414d11 d1: 0ffffff8 d2: 001f2d08 d3: 0000019e
[ 0.000000] d4: 0804d480 d5: 0080986c a0: 0000000c a1: 0ffffff4
[ 0.000000] Process swapper (pid: 0, task=(ptrval))
[ 0.000000] Frame format=7 eff addr=00489fbc ssw=0505 faddr=0ffffff4
[ 0.000000] wb 1 stat/addr/data: 0005 0804d480 0080986c
[ 0.000000] wb 2 stat/addr/data: 0005 00541000 0000019e
[ 0.000000] wb 3 stat/addr/data: 0005 00489fb4 001f2d08
[ 0.000000] push data: 0080986c 0035d6d0 08001000 08056794
[ 0.000000] Stack from 00489fb4:
[ 0.000000] 001f2d08 0000019e 0035d6d0 00519b0e 0ffffff4 00414d0d 0000000c 00541000
[ 0.000000] 0000019e 0804d480 0080986c 08051150 08062978 08001000 08056794 0ffffff0
[ 0.000000] 005384b2 00000000 00518872
[ 0.000000] Call Trace: [<001f2d08>] memcmp+0x0/0x5c
[ 0.000000] [<0035d6d0>] _printk+0x0/0x18
[ 0.000000] [<00519b0e>] start_kernel+0x86/0x5d2
[ 0.000000] [<00518872>] _sinittext+0x872/0x11f8
[ 0.000000]
[ 0.000000] Code: 4280 6036 2209 200b 2640 2241 5881 5880 <2411> b493 66e4 2241 2640 5988 7403 b488 65e6 60d6 4283 1631 1800 4282 1433 1800
[ 0.000000] Disabling lock debugging due to kernel taint
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---
<<<<<<<<<<<<<<<<<<<<


Kernel 5.18, intrid 5.18
[ 0.000000] Linux version 5.18.0-3-m68k (debian-***@lists.debian.org) (gcc-11 (Debian 11.3.0-4) 11.3.0, GNU ld (GNU Binutils for Debian) 2.38.90.20220713) #1 Debian 5.18.14-1 (2022-07-23)
[ 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] initrd: 0f7f7b16 - 10000000
[ 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 0x0000000008000000-0x000000ffffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Unable to handle kernel access at virtual address (ptrval)
[ 0.000000] Oops: 00000000
[ 0.000000] Modules linked in:
[ 0.000000] PC: [<001ed3a8>] memcmp+0x2c/0x5c
[ 0.000000] SR: 2700 SP: (ptrval) a2: 00481530
[ 0.000000] d0: 0040af9d d1: 0ffffff8 d2: 001ed37c d3: 0000019e
[ 0.000000] d4: 0806ba58 d5: 008084ea a0: 0000000c a1: 0ffffff4
[ 0.000000] Process swapper (pid: 0, task=(ptrval))
[ 0.000000] Frame format=7 eff addr=0047ffbc ssw=0505 faddr=0ffffff4
[ 0.000000] wb 1 stat/addr/data: 0005 0806ba58 008084ea
[ 0.000000] wb 2 stat/addr/data: 0005 00536000 0000019e
[ 0.000000] wb 3 stat/addr/data: 0005 0047ffb4 001ed37c
[ 0.000000] push data: 008084ea 00355728 08001000 0804b6d4
[ 0.000000] Stack from 0047ffb4:
[ 0.000000] 001ed37c 0000019e 00355728 0050fb0e 0ffffff4 0040af99 0000000c 00536000
[ 0.000000] 0000019e 0806ba58 008084ea 0806f728 08099280 08001000 0804b6d4 0ffffff0
[ 0.000000] 0052e2b8 00000000 0050e872
[ 0.000000] Call Trace: [<001ed37c>] memcmp+0x0/0x5c
[ 0.000000] [<00355728>] _printk+0x0/0x18
[ 0.000000] [<0050fb0e>] start_kernel+0x86/0x5a0
[ 0.000000] [<0050e872>] _sinittext+0x872/0x11f8
[ 0.000000]
[ 0.000000] Code: 4280 6036 2209 200b 2640 2241 5881 5880 <2411> b493 66e4 2241 2640 5988 7403 b488 65e6 60d6 4283 1631 1800 4282 1433 1800
[ 0.000000] Disabling lock debugging due to kernel taint
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---
<<<<<<<<<<<<<<<<<<<<


kernel 5.19, intrid 5.15
[ 0.000000] Linux version 5.19.0-1-m68k (debian-***@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.19.6-1 (2022-09-01)
[ 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] initrd: 0f83283d - 10000000
[ 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 0x0000000008000000-0x000000ffffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Unable to handle kernel access at virtual address (ptrval)
[ 0.000000] Oops: 00000000
[ 0.000000] Modules linked in:
[ 0.000000] PC: [<001f2d34>] memcmp+0x2c/0x5c
[ 0.000000] SR: 2700 SP: (ptrval) a2: 0048b580
[ 0.000000] d0: 00414d11 d1: 0ffffff8 d2: 001f2d08 d3: 0000019e
[ 0.000000] d4: 0806ba58 d5: 007cd7c3 a0: 0000000c a1: 0ffffff4
[ 0.000000] Process swapper (pid: 0, task=(ptrval))
[ 0.000000] Frame format=7 eff addr=00489fbc ssw=0505 faddr=0ffffff4
[ 0.000000] wb 1 stat/addr/data: 0005 0806ba58 007cd7c3
[ 0.000000] wb 2 stat/addr/data: 0005 00541000 0000019e
[ 0.000000] wb 3 stat/addr/data: 0005 00489fb4 001f2d08
[ 0.000000] push data: 007cd7c3 0035d6d0 08001000 0804ec6c
[ 0.000000] Stack from 00489fb4:
[ 0.000000] 001f2d08 0000019e 0035d6d0 00519b0e 0ffffff4 00414d0d 0000000c 00541000
[ 0.000000] 0000019e 0806ba58 007cd7c3 0806f728 08099280 08001000 0804ec6c 0ffffff0
[ 0.000000] 005384b2 00000000 00518872
[ 0.000000] Call Trace: [<001f2d08>] memcmp+0x0/0x5c
[ 0.000000] [<0035d6d0>] _printk+0x0/0x18
[ 0.000000] [<00519b0e>] start_kernel+0x86/0x5d2
[ 0.000000] [<00518872>] _sinittext+0x872/0x11f8
[ 0.000000]
[ 0.000000] Code: 4280 6036 2209 200b 2640 2241 5881 5880 <2411> b493 66e4 2241 2640 5988 7403 b488 65e6 60d6 4283 1631 1800 4282 1433 1800
[ 0.000000] Disabling lock debugging due to kernel taint
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---
<<<<<<<<<<<<<<<<<<<<


Kernel 5.18, intrid 5.15
[ 0.000000] Linux version 5.18.0-3-m68k (debian-***@lists.debian.org) (gcc-11 (Debian 11.3.0-4) 11.3.0, GNU ld (GNU Binutils for Debian) 2.38.90.20220713) #1 Debian 5.18.14-1 (2022-07-23)
[ 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] initrd: 0f83283d - 10000000
[ 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 0x0000000008000000-0x000000ffffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Unable to handle kernel access at virtual address (ptrval)
[ 0.000000] Oops: 00000000
[ 0.000000] Modules linked in:
[ 0.000000] PC: [<001ed3a8>] memcmp+0x2c/0x5c
[ 0.000000] SR: 2700 SP: (ptrval) a2: 00481530
[ 0.000000] d0: 0040af9d d1: 0ffffff8 d2: 001ed37c d3: 0000019e
[ 0.000000] d4: 0806ba58 d5: 007cd7c3 a0: 0000000c a1: 0ffffff4
[ 0.000000] Process swapper (pid: 0, task=(ptrval))
[ 0.000000] Frame format=7 eff addr=0047ffbc ssw=0505 faddr=0ffffff4
[ 0.000000] wb 1 stat/addr/data: 0005 0806ba58 007cd7c3
[ 0.000000] wb 2 stat/addr/data: 0005 00536000 0000019e
[ 0.000000] wb 3 stat/addr/data: 0005 0047ffb4 001ed37c
[ 0.000000] push data: 007cd7c3 00355728 08001000 0804eef4
[ 0.000000] Stack from 0047ffb4:
[ 0.000000] 001ed37c 0000019e 00355728 0050fb0e 0ffffff4 0040af99 0000000c 00536000
[ 0.000000] 0000019e 0806ba58 007cd7c3 0806f728 08099280 08001000 0804eef4 0ffffff0
[ 0.000000] 0052e2b8 00000000 0050e872
[ 0.000000] Call Trace: [<001ed37c>] memcmp+0x0/0x5c
[ 0.000000] [<00355728>] _printk+0x0/0x18
[ 0.000000] [<0050fb0e>] start_kernel+0x86/0x5a0
[ 0.000000] [<0050e872>] _sinittext+0x872/0x11f8
[ 0.000000]
[ 0.000000] Code: 4280 6036 2209 200b 2640 2241 5881 5880 <2411> b493 66e4 2241 2640 5988 7403 b488 65e6 60d6 4283 1631 1800 4282 1433 1800
[ 0.000000] Disabling lock debugging due to kernel taint
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---
<<<<<<<<<<<<<<<<<<<<
--
Stephen - Vk3heg
Finn Thain
2022-09-09 02:00:01 UTC
Permalink
Post by Stephen Walsh
Hi Guys.
As requested.
Thanks for sending those results.
Post by Stephen Walsh
Finn I also tried kernel 5.19 with intrid 5.15..
Still only Kernel/Intrid 5.15-02 is the one that boots.
You mean, you tried kernel 5.15 with initrd 5.19? The question is, "did it
oops?". Having seen the results below, I suspect that it didn't oops,
despite the large initrd.
Post by Stephen Walsh
amiboot -k vmlinux-5.15.0-2-m68k -r initrd.img-5.15.0-2-m68k
root=/dev/sda2 fb=false debug=mem
OK.
Post by Stephen Walsh
Kernel 5.19, intrd 5.19
[ 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] initrd: 0f7f6794 - 10000000
Length is 0x80986d.
Post by Stephen Walsh
[ 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] DMA [mem 0x0000000008000000-0x000000ffffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Unable to handle kernel access at virtual address (ptrval)
[ 0.000000] Oops: 00000000
[ 0.000000] PC: [<001f2d34>] memcmp+0x2c/0x5c
[ 0.000000] SR: 2700 SP: (ptrval) a2: 0048b580
[ 0.000000] d0: 00414d11 d1: 0ffffff8 d2: 001f2d08 d3: 0000019e
[ 0.000000] d4: 0804d480 d5: 0080986c a0: 0000000c a1: 0ffffff4
[ 0.000000] Process swapper (pid: 0, task=(ptrval))
[ 0.000000] Frame format=7 eff addr=00489fbc ssw=0505 faddr=0ffffff4
[ 0.000000] wb 1 stat/addr/data: 0005 0804d480 0080986c
[ 0.000000] wb 2 stat/addr/data: 0005 00541000 0000019e
[ 0.000000] wb 3 stat/addr/data: 0005 00489fb4 001f2d08
[ 0.000000] push data: 0080986c 0035d6d0 08001000 08056794
[ 0.000000] 001f2d08 0000019e 0035d6d0 00519b0e 0ffffff4 00414d0d 0000000c 00541000
[ 0.000000] 0000019e 0804d480 0080986c 08051150 08062978 08001000 08056794 0ffffff0
[ 0.000000] 005384b2 00000000 00518872
[ 0.000000] Call Trace: [<001f2d08>] memcmp+0x0/0x5c
[ 0.000000] [<0035d6d0>] _printk+0x0/0x18
[ 0.000000] [<00519b0e>] start_kernel+0x86/0x5d2
[ 0.000000] [<00518872>] _sinittext+0x872/0x11f8
[ 0.000000]
[ 0.000000] Code: 4280 6036 2209 200b 2640 2241 5881 5880 <2411> b493 66e4 2241 2640 5988 7403 b488 65e6 60d6 4283 1631 1800 4282 1433 1800
[ 0.000000] Disabling lock debugging due to kernel taint
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---
<<<<<<<<<<<<<<<<<<<<
Kernel 5.18, intrid 5.18
[ 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] initrd: 0f7f7b16 - 10000000
Length is 0x8084eb.
Post by Stephen Walsh
[ 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] DMA [mem 0x0000000008000000-0x000000ffffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Unable to handle kernel access at virtual address (ptrval)
[ 0.000000] Oops: 00000000
[ 0.000000] PC: [<001ed3a8>] memcmp+0x2c/0x5c
[ 0.000000] SR: 2700 SP: (ptrval) a2: 00481530
[ 0.000000] d0: 0040af9d d1: 0ffffff8 d2: 001ed37c d3: 0000019e
[ 0.000000] d4: 0806ba58 d5: 008084ea a0: 0000000c a1: 0ffffff4
[ 0.000000] Process swapper (pid: 0, task=(ptrval))
[ 0.000000] Frame format=7 eff addr=0047ffbc ssw=0505 faddr=0ffffff4
[ 0.000000] wb 1 stat/addr/data: 0005 0806ba58 008084ea
[ 0.000000] wb 2 stat/addr/data: 0005 00536000 0000019e
[ 0.000000] wb 3 stat/addr/data: 0005 0047ffb4 001ed37c
[ 0.000000] push data: 008084ea 00355728 08001000 0804b6d4
[ 0.000000] 001ed37c 0000019e 00355728 0050fb0e 0ffffff4 0040af99 0000000c 00536000
[ 0.000000] 0000019e 0806ba58 008084ea 0806f728 08099280 08001000 0804b6d4 0ffffff0
[ 0.000000] 0052e2b8 00000000 0050e872
[ 0.000000] Call Trace: [<001ed37c>] memcmp+0x0/0x5c
[ 0.000000] [<00355728>] _printk+0x0/0x18
[ 0.000000] [<0050fb0e>] start_kernel+0x86/0x5a0
[ 0.000000] [<0050e872>] _sinittext+0x872/0x11f8
[ 0.000000]
[ 0.000000] Code: 4280 6036 2209 200b 2640 2241 5881 5880 <2411> b493 66e4 2241 2640 5988 7403 b488 65e6 60d6 4283 1631 1800 4282 1433 1800
[ 0.000000] Disabling lock debugging due to kernel taint
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---
<<<<<<<<<<<<<<<<<<<<
kernel 5.19, intrid 5.15
[ 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] initrd: 0f83283d - 10000000
Length is 0x7cd7c4 which is below 8 MiB. Moreover, this is a known-good
initrd. So the oops appears to be caused by a kernel change and not initrd
growth.
Post by Stephen Walsh
[ 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] DMA [mem 0x0000000008000000-0x000000ffffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Unable to handle kernel access at virtual address (ptrval)
[ 0.000000] Oops: 00000000
[ 0.000000] PC: [<001f2d34>] memcmp+0x2c/0x5c
[ 0.000000] SR: 2700 SP: (ptrval) a2: 0048b580
[ 0.000000] d0: 00414d11 d1: 0ffffff8 d2: 001f2d08 d3: 0000019e
[ 0.000000] d4: 0806ba58 d5: 007cd7c3 a0: 0000000c a1: 0ffffff4
[ 0.000000] Process swapper (pid: 0, task=(ptrval))
[ 0.000000] Frame format=7 eff addr=00489fbc ssw=0505 faddr=0ffffff4
[ 0.000000] wb 1 stat/addr/data: 0005 0806ba58 007cd7c3
[ 0.000000] wb 2 stat/addr/data: 0005 00541000 0000019e
[ 0.000000] wb 3 stat/addr/data: 0005 00489fb4 001f2d08
[ 0.000000] push data: 007cd7c3 0035d6d0 08001000 0804ec6c
[ 0.000000] 001f2d08 0000019e 0035d6d0 00519b0e 0ffffff4 00414d0d 0000000c 00541000
[ 0.000000] 0000019e 0806ba58 007cd7c3 0806f728 08099280 08001000 0804ec6c 0ffffff0
[ 0.000000] 005384b2 00000000 00518872
[ 0.000000] Call Trace: [<001f2d08>] memcmp+0x0/0x5c
[ 0.000000] [<0035d6d0>] _printk+0x0/0x18
[ 0.000000] [<00519b0e>] start_kernel+0x86/0x5d2
[ 0.000000] [<00518872>] _sinittext+0x872/0x11f8
[ 0.000000]
[ 0.000000] Code: 4280 6036 2209 200b 2640 2241 5881 5880 <2411> b493 66e4 2241 2640 5988 7403 b488 65e6 60d6 4283 1631 1800 4282 1433 1800
[ 0.000000] Disabling lock debugging due to kernel taint
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---
<<<<<<<<<<<<<<<<<<<<
Kernel 5.18, intrid 5.15
[ 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] initrd: 0f83283d - 10000000
Length etc. is the same here.
Post by Stephen Walsh
[ 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] DMA [mem 0x0000000008000000-0x000000ffffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Unable to handle kernel access at virtual address (ptrval)
[ 0.000000] Oops: 00000000
[ 0.000000] PC: [<001ed3a8>] memcmp+0x2c/0x5c
[ 0.000000] SR: 2700 SP: (ptrval) a2: 00481530
[ 0.000000] d0: 0040af9d d1: 0ffffff8 d2: 001ed37c d3: 0000019e
[ 0.000000] d4: 0806ba58 d5: 007cd7c3 a0: 0000000c a1: 0ffffff4
[ 0.000000] Process swapper (pid: 0, task=(ptrval))
[ 0.000000] Frame format=7 eff addr=0047ffbc ssw=0505 faddr=0ffffff4
[ 0.000000] wb 1 stat/addr/data: 0005 0806ba58 007cd7c3
[ 0.000000] wb 2 stat/addr/data: 0005 00536000 0000019e
[ 0.000000] wb 3 stat/addr/data: 0005 0047ffb4 001ed37c
[ 0.000000] push data: 007cd7c3 00355728 08001000 0804eef4
[ 0.000000] 001ed37c 0000019e 00355728 0050fb0e 0ffffff4 0040af99 0000000c 00536000
[ 0.000000] 0000019e 0806ba58 007cd7c3 0806f728 08099280 08001000 0804eef4 0ffffff0
[ 0.000000] 0052e2b8 00000000 0050e872
[ 0.000000] Call Trace: [<001ed37c>] memcmp+0x0/0x5c
[ 0.000000] [<00355728>] _printk+0x0/0x18
[ 0.000000] [<0050fb0e>] start_kernel+0x86/0x5a0
[ 0.000000] [<0050e872>] _sinittext+0x872/0x11f8
[ 0.000000]
[ 0.000000] Code: 4280 6036 2209 200b 2640 2241 5881 5880 <2411> b493 66e4 2241 2640 5988 7403 b488 65e6 60d6 4283 1631 1800 4282 1433 1800
[ 0.000000] Disabling lock debugging due to kernel taint
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---
<<<<<<<<<<<<<<<<<<<<
If you would like to try to narrow down the problem a little, there are
5.16 and 5.17 builds available here:

https://snapshot.debian.org/archive/debian-ports/20220403T020744Z/pool-m68k/main/l/linux/

I recommend extracting the vmlinux binary from the deb directly (using ar
and tar) rather than installing the deb.
Stephen Walsh
2022-09-09 02:50:01 UTC
Permalink
Hi Finn,

On Fri, 9 Sep 2022 11:36:49 +1000 (AEST)
Post by Finn Thain
You mean, you tried kernel 5.15 with initrd 5.19? The question is,
"did it oops?". Having seen the results below, I suspect that it
didn't oops, despite the large initrd.
ohh.. here's a successful boot with vmlinux-5.15.0-2-m68k
initrd.img-5.19.0-1-m68k
[ 0.000000] Linux version 5.15.0-2-m68k (debian-***@lists.debian.org) (gcc-11 (Debian 11.2.0-12) 11.2.0, GNU ld (GNU Binutils for Debian) 2.37) #1 Debian 5.15.5-2 (2021-12-18)
[ 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 0x0000000008000000-0x000000ffffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] initrd: 0783283d - 08000000
[ 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: 32448
[ 0.000000] Kernel command line: root=/dev/sda2 fb=false debug=mem BOOT_IMAGE=vmlinux-5.15.0-2-m68k
[ 0.000000] Unknown kernel command line parameters "fb=false BOOT_IMAGE=vmlinux-5.15.0-2-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: 116212K/131072K available (3399K kernel code, 611K rwdata, 1116K rodata, 164K init, 212K bss, 14860K reserved, 0K cma-reserved)
[ 0.000000] random: get_random_u32 called from __kmem_cache_create+0x24/0x26e with crng_init=0
[ 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.140000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.140000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.210000] devtmpfs: initialized
[ 0.240000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.240000] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.260000] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.270000] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.280000] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.520000] SCSI subsystem initialized
[ 0.550000] clocksource: Switched to clocksource ciab
[ 0.570000] VFS: Disk quotas dquot_6.6.0
[ 0.580000] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.840000] NET: Registered PF_INET protocol family
[ 0.840000] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.860000] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.860000] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.860000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.870000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.870000] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.880000] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.880000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.890000] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.890000] NET: Registered PF_XDP protocol family
[ 0.900000] Initialise system trusted keyrings
[ 0.900000] Key type blacklist registered
[ 0.920000] Trying to unpack rootfs image as initramfs...
[ 0.980000] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 1.280000] random: fast init done
[ 1.360000] zbud: loaded
[ 1.400000] Key type asymmetric registered
[ 1.400000] Asymmetric key parser 'x509' registered
[ 1.410000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 1.880000] io scheduler mq-deadline registered
[ 2.330000] Console: switching to colour frame buffer device 80x32
[ 2.750000] fb0: Amiga ECS frame buffer device, using 640K of video memory
[ 2.810000] pmac_zilog: 0.6 (Benjamin Herrenschmidt <***@kernel.crashing.org>)
[ 2.820000] ttyS0 is the amiga builtin serial port
[ 3.430000] Zorro: Probing AutoConfig expansion devices: 3 devices
[ 3.500000] mousedev: PS/2 mouse device common for all mice
[ 3.510000] input: amiga-keyboard as /devices/platform/amiga-keyboard/input/input0
[ 3.570000] rtc-rp5c01 rtc-rp5c01: registered as rtc0
[ 3.580000] rtc-rp5c01 rtc-rp5c01: setting system clock to 2022-09-09T11:55:02 UTC (1662724502)
[ 3.600000] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.620000] NET: Registered PF_PACKET protocol family
[ 3.700000] mpls_gso: MPLS GSO support
[ 3.720000] registered taskstats version 1
[ 3.730000] Loading compiled-in X.509 certificates
[ 26.310000] Freeing initrd memory: 7988K
[ 27.070000] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[ 27.080000] Loaded X.509 cert 'Debian Secure Boot Signer 2021 - linux: 4b6ef5abca669825178e052c84667ccbc0531f8c'
[ 27.100000] zswap: loaded using pool lzo/zbud
[ 27.120000] Key type ._fscrypt registered
[ 27.130000] Key type .fscrypt registered
[ 27.140000] Key type fscrypt-provisioning registered
[ 27.740000] Key type encrypted registered
[ 27.760000] Freeing unused kernel image (initmem) memory: 164K
[ 27.770000] This architecture does not have kernel memory protection.
[ 27.780000] Run /init as init process
[ 27.790000] with arguments:
[ 27.800000] /init
[ 27.810000] with environment:
[ 27.820000] HOME=/
[ 27.830000] TERM=linux
[ 27.840000] fb=false
[ 27.850000] BOOT_IMAGE=vmlinux-5.15.0-2-m68k
[ 44.370000] wd33c93-0: chip=WD33c93A/9 no_sync=0xff no_dma=0
[ 44.370000] debug_flags=0x00
[ 44.390000] setup_args=
[ 44.390000] ,
[ 44.410000] ,
[ 44.420000] ,
[ 44.430000] ,
[ 44.440000] ,
[ 44.450000] ,
[ 44.460000] ,
[ 44.470000] ,
[ 44.480000] ,
[ 44.490000] ,
[ 44.510000]
[ 44.530000] Version 1.26++ - 10/Feb/2007
[ 44.540000] scsi host0: Amiga 3000 built-in SCSI
[ 44.650000] FD: probing units
[ 44.650000] found
[ 44.650000] fd: drive 0 didn't identify, setting default ffffffff
[ 44.730000] fd0
[ 44.780000] fd: drive 0 didn't identify, setting default ffffffff
[ 45.010000]
[ 45.030000] fd: drive 0 didn't identify, setting default ffffffff
[ 45.860000] eth0: X-Surf at 0x00e90000, Ethernet Address 00:00:b4:3c:30:b9
[ 45.970000] 53c700: Version 2.8 By ***@HansenPartnership.com
[ 45.980000] scsi1: 53c710 rev 2
[ 47.010000] scsi host1: WarpEngine 40xx
[ 47.510000] libata version 3.00 loaded.
[ 47.620000] pata_buddha zorro2: Buddha IDE controller
[ 47.930000] scsi host2: pata_buddha
[ 48.010000] scsi host3: pata_buddha
[ 48.050000] ata1: PATA max PIO4 cmd 0xea0000 ctl 0xea091a irq 2
[ 48.060000] ata2: PATA max PIO4 cmd 0xea0000 ctl 0xea0b1a irq 2
[ 48.070000] zorro8390 zorro1: X-Surf IDE controller
[ 48.160000] Z2RAM: using 0K Zorro II RAM and 1024K Chip RAM (Total 1024K)
[ 48.290000] ata1.00: HPA detected: current 234439535, native 234441648
[ 48.300000] ata1.00: ATA-6: ST3120022A, 8.54, max UDMA/100
[ 48.320000] ata1.00: 234439535 sectors, multi 16: LBA48
[ 48.330000] ata1.00: configured for PIO
[ 48.400000] scsi 2:0:0:0: Direct-Access ATA ST3120022A 8.54 PQ: 0 ANSI: 5
[ 48.540000] scsi host4: pata_buddha
[ 48.640000] scsi host5: pata_buddha
[ 48.690000] ata3: PATA max PIO4 cmd 0xe90000 ctl 0x0 irq 2
[ 48.710000] ata4: PATA max PIO4 cmd 0xe90000 ctl 0x0 irq 2
[ 49.910000] fd: drive 0 didn't identify, setting default ffffffff
[ 49.920000] fd0: accessing DD 3.5-disk with Amiga-layout
[ 50.160000] fd: drive 0 didn't identify, setting default ffffffff
[ 53.640000] random: crng init done
[ 57.100000] sd 2:0:0:0: [sda] 234439535 512-byte logical blocks: (120 GB/112 GiB)
[ 57.120000] sd 2:0:0:0: [sda] Write Protect is off
[ 57.130000] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 57.140000] sd 2:0:0:0: [sda] Asking for cache data failed
[ 57.150000] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 57.540000] sda: RDSK (512) sda1 (DOS^A)(res 2 spb 8) sda2 ((res 2 spb 1) sda3 (SWP^@)(res 2 spb 1)
[ 57.630000] sd 2:0:0:0: [sda] Attached SCSI disk
[ 78.580000] scsi 1:0:1:0: tag#1 abort command
[ 78.590000] scsi 1:0:1:0: tag#1 New error handler wants HOST reset, cmd 52055872
[ 78.590000]
[ 78.610000] scsi 1:0:1:0: tag#1 CDB: Inquiry 12 00 00 00 24 00
[ 210.810000] process '/usr/bin/fstype' started with executable stack
[ 231.150000] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 243.680000] INFO: task systemd-udevd:72 blocked for more than 122 seconds.
[ 243.680000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 243.680000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 243.680000] task:systemd-udevd state:D stack: 0 pid: 72 ppid: 68 flags:0x00000040
[ 243.680000] Stack from 021a7fcc:
[ 243.680000] 0000000c c0038852 00000000 d01199a8 00000000 00000000 00020000 d01197b8
[ 243.680000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 243.680000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 243.680000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 243.680000]
[ 243.680000] INFO: task systemd-udevd:73 blocked for more than 122 seconds.
[ 243.680000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 243.680000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 243.680000] task:systemd-udevd state:D stack: 0 pid: 73 ppid: 68 flags:0x00000040
[ 243.680000] Stack from 021a9fcc:
[ 243.680000] 0000000f c0038852 00000000 d0118700 00000000 00000000 00020000 d0116a90
[ 243.680000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 243.680000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 243.690000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 243.690000]
[ 243.690000] INFO: task scsi_eh_1:80 blocked for more than 122 seconds.
[ 243.690000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 243.690000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 243.690000] task:scsi_eh_1 state:D stack: 0 pid: 80 ppid: 2 flags:0x00000000
[ 243.690000] Stack from 02255fcc:
[ 243.690000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 243.690000] 00000000 00000000 00000000 20000000 00000000
[ 243.690000] Call Trace:
[ 280.490000] systemd[1]: Inserted module 'autofs4'
[ 281.520000] NET: Registered PF_INET6 protocol family
[ 284.170000] Segment Routing with IPv6
[ 284.180000] In-situ OAM (IOAM) with IPv6
[ 285.380000] systemd[1]: systemd 251.4-3 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK -SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[ 285.390000] systemd[1]: Detected architecture m68k.
[ 286.260000] systemd[1]: Hostname set to <a3000>.
[ 325.440000] systemd[1]: Queued start job for default target Graphical Interface.
[ 325.670000] systemd[1]: Created slice Slice /system/getty.
[ 326.020000] systemd[1]: Created slice Slice /system/modprobe.
[ 326.360000] systemd[1]: Created slice User and Session Slice.
[ 326.680000] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 327.030000] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 327.430000] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 327.820000] systemd[1]: Reached target Local Encrypted Volumes.
[ 328.220000] systemd[1]: Reached target Local Integrity Protected Volumes.
[ 328.620000] systemd[1]: Reached target Path Units.
[ 329.010000] systemd[1]: Reached target Remote File Systems.
[ 329.410000] systemd[1]: Reached target Slice Units.
[ 329.810000] systemd[1]: Reached target Local Verity Protected Volumes.
[ 330.260000] systemd[1]: Listening on Syslog Socket.
[ 330.800000] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 331.200000] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 331.990000] systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
[ 332.030000] systemd[1]: Listening on Journal Socket (/dev/log).
[ 332.440000] systemd[1]: Listening on Journal Socket.
[ 332.860000] systemd[1]: Listening on udev Control Socket.
[ 333.260000] systemd[1]: Listening on udev Kernel Socket.
[ 333.670000] systemd[1]: Huge Pages File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[ 333.870000] systemd[1]: Mounting POSIX Message Queue File System...
[ 334.780000] systemd[1]: Mounting Kernel Debug File System...
[ 335.440000] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
[ 335.730000] systemd[1]: Starting Set the console keyboard layout...
[ 337.150000] systemd[1]: Starting Create List of Static Device Nodes...
[ 338.560000] systemd[1]: Starting Load Kernel Module configfs...
[ 340.430000] systemd[1]: Starting Load Kernel Module drm...
[ 342.020000] systemd[1]: Starting Load Kernel Module fuse...
[ 342.960000] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathExists=!/run/initramfs/fsck-root).
[ 344.100000] systemd[1]: Starting Journal Service...
[ 344.180000] fuse: init (API version 7.34)
[ 345.820000] systemd[1]: Starting Load Kernel Modules...
[ 348.120000] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 349.860000] systemd[1]: Repartition Root Disk was skipped because all trigger condition checks failed.
[ 350.910000] systemd[1]: Starting Coldplug All udev Devices...
[ 351.810000] ne.c: You must supply "io=0xNNN" value(s) for ISA cards.
[ 355.970000] systemd[1]: Mounted POSIX Message Queue File System.
[ 356.340000] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro. Quota mode: none.
[ 358.560000] systemd[1]: Mounted Kernel Debug File System.
[ 359.770000] systemd[1]: Finished Create List of Static Device Nodes.
[ 362.560000] systemd[1]: Started Journal Service.
[ 366.560000] INFO: task systemd-udevd:72 blocked for more than 245 seconds.
[ 366.570000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 366.580000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 366.590000] task:systemd-udevd state:D stack: 0 pid: 72 ppid: 68 flags:0x00000040
[ 366.600000] Stack from 021a7fcc:
[ 366.600000] 0000000c c0038852 00000000 d01199a8 00000000 00000000 00020000 d01197b8
[ 366.600000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 366.620000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 366.630000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 366.640000]
[ 366.650000] INFO: task systemd-udevd:73 blocked for more than 245 seconds.
[ 366.660000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 366.670000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 366.680000] task:systemd-udevd state:D stack: 0 pid: 73 ppid: 68 flags:0x00000040
[ 366.700000] Stack from 021a9fcc:
[ 366.700000] 0000000f c0038852 00000000 d0118700 00000000 00000000 00020000 d0116a90
[ 366.700000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 366.710000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 366.730000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 366.740000]
[ 367.570000] INFO: task scsi_eh_1:80 blocked for more than 246 seconds.
[ 367.570000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 367.570000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 367.570000] task:scsi_eh_1 state:D stack: 0 pid: 80 ppid: 2 flags:0x00000000
[ 367.570000] Stack from 02255fcc:
[ 367.570000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 367.570000] 00000000 00000000 00000000 20000000 00000000
[ 367.570000] Call Trace:
[ 380.970000] systemd-journald[170]: Received client request to flush runtime journal.
[ 445.090000] fd: drive 0 didn't identify, setting default ffffffff
[ 445.100000] fd0: accessing DD 3.5-disk with Amiga-layout
[ 445.750000] fd: drive 0 didn't identify, setting default ffffffff
[ 448.850000] sd 2:0:0:0: Attached scsi generic sg0 type 0
[ 466.670000] input: amiga-mouse as /devices/platform/amiga-mouse/input/input1
[ 467.790000] Amiga DMA sound driver rev 016 installed
[ 467.800000] Core driver edition 01.06 : AMIGA driver edition 00.04
[ 467.810000] Write will use 4 fragments of 32768 bytes as default
[ 468.800000] parport0: Amiga built-in port using irq
[ 469.100000] parport0: fix this legacy no-device port driver!
[ 489.690000] INFO: task systemd-udevd:72 blocked for more than 368 seconds.
[ 489.710000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 489.720000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 489.730000] task:systemd-udevd state:D stack: 0 pid: 72 ppid: 68 flags:0x00000040
[ 489.740000] Stack from 021a7fcc:
[ 489.740000] 0000000c c0038852 00000000 d01199a8 00000000 00000000 00020000 d01197b8
[ 489.740000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 489.750000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 489.760000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 489.780000]
[ 489.790000] INFO: task systemd-udevd:73 blocked for more than 368 seconds.
[ 489.810000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 489.820000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 489.830000] task:systemd-udevd state:D stack: 0 pid: 73 ppid: 68 flags:0x00000040
[ 489.840000] Stack from 021a9fcc:
[ 489.840000] 0000000f c0038852 00000000 d0118700 00000000 00000000 00020000 d0116a90
[ 489.840000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 489.850000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 489.860000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 489.880000]
[ 490.700000] INFO: task scsi_eh_1:80 blocked for more than 369 seconds.
[ 490.710000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 490.730000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 490.740000] task:scsi_eh_1 state:D stack: 0 pid: 80 ppid: 2 flags:0x00000000
[ 490.750000] Stack from 02255fcc:
[ 490.750000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 490.750000] 00000000 00000000 00000000 20000000 00000000
[ 490.770000] Call Trace:
[ 612.320000] INFO: task systemd-udevd:72 blocked for more than 491 seconds.
[ 612.320000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 612.330000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 612.340000] task:systemd-udevd state:D stack: 0 pid: 72 ppid: 68 flags:0x00000040
[ 612.350000] Stack from 021a7fcc:
[ 612.350000] 0000000c c0038852 00000000 d01199a8 00000000 00000000 00020000 d01197b8
[ 612.350000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 612.370000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 612.380000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 612.390000]
[ 1193.000000] Adding 1952996k swap on /dev/sda3. Priority:-2 extents:1 across:1952996k FS
[ 1273.410000] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 1274.910000] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 1275.340000] systemd-journald[170]: Received SIGTERM from PID 1 (systemd-shutdow).
[ 1285.400000] systemd-shutdown[1]: Waiting for process: 73 (systemd-udevd), 68 (systemd-udevd), 72 (systemd-udevd)
[ 1365.410000] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 1365.580000] systemd-shutdown[1]: Sending SIGKILL to PID 68 (systemd-udevd).
[ 1365.650000] systemd-shutdown[1]: Sending SIGKILL to PID 72 (systemd-udevd).
[ 1365.680000] systemd-shutdown[1]: Sending SIGKILL to PID 73 (systemd-udevd).
[ 1375.850000] systemd-shutdown[1]: Waiting for process: 73 (systemd-udevd), 72 (systemd-udevd)
[ 1455.930000] systemd-shutdown[1]: Unmounting file systems.
[ 1456.060000] [439]: Remounting '/' read-only with options 'errors=remount-ro'.
[ 1456.170000] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro. Quota mode: none.
[ 1456.810000] systemd-shutdown[1]: All filesystems unmounted.
[ 1456.820000] systemd-shutdown[1]: Deactivating swaps.
[ 1456.840000] systemd-shutdown[1]: All swaps deactivated.
[ 1456.850000] systemd-shutdown[1]: Detaching loop devices.
[ 1456.870000] systemd-shutdown[1]: All loop devices detached.
[ 1456.880000] systemd-shutdown[1]: Stopping MD devices.
[ 1456.900000] systemd-shutdown[1]: All MD devices stopped.
[ 1456.910000] systemd-shutdown[1]: Detaching DM devices.
[ 1456.940000] systemd-shutdown[1]: All DM devices detached.
[ 1456.950000] systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached.
[ 1457.270000] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 1457.340000] systemd-shutdown[1]: Powering off.
[ 1475.050000] amikbd: Ctrl-Amiga-Amiga reset warning!!
<<<<<<<<<<<<<<<<<<<<
--
Stephen - Vk3heg
Finn Thain
2022-09-09 03:30:01 UTC
Permalink
Post by Stephen Walsh
Hi Finn,
On Fri, 9 Sep 2022 11:36:49 +1000 (AEST)
Post by Finn Thain
You mean, you tried kernel 5.15 with initrd 5.19? The question is,
"did it oops?". Having seen the results below, I suspect that it
didn't oops, despite the large initrd.
ohh.. here's a successful boot with vmlinux-5.15.0-2-m68k
initrd.img-5.19.0-1-m68k
[ 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] DMA [mem 0x0000000008000000-0x000000ffffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] initrd: 0783283d - 08000000
That appears to be the 5.15 initrd.
Stephen Walsh
2022-09-09 04:20:01 UTC
Permalink
Here's a test of kernel 5.16, intrid 5.16. It exited to busybox saying
it couldn’t find /dev/sda2 (root fs)
[ 0.000000] Linux version 5.16.0-6-m68k (debian-***@lists.debian.org) (gcc-11 (Debian 11.2.0-19) 11.2.0, GNU ld (GNU Binutils for Debian) 2.38) #1 Debian 5.16.18-1 (2022-03-29)
[ 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 0x0000000008000000-0x000000ffffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] initrd: 077fc59f - 08000000
[ 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: 32448
[ 0.000000] Kernel command line: root=/dev/sda2 fb=false debug=mem BOOT_IMAGE=vmlinux-5.16.0-6-m68k
[ 0.000000] Unknown kernel command line parameters "fb=false BOOT_IMAGE=vmlinux-5.16.0-6-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: 115972K/131072K available (3414K kernel code, 611K rwdata, 1124K rodata, 164K init, 212K bss, 15100K reserved, 0K cma-reserved)
[ 0.000000] random: get_random_u32 called from __kmem_cache_create+0x24/0x26e with crng_init=0
[ 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.140000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.140000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.210000] devtmpfs: initialized
[ 0.240000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.240000] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.260000] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.270000] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.280000] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.470000] SCSI subsystem initialized
[ 0.500000] clocksource: Switched to clocksource ciab
[ 0.520000] VFS: Disk quotas dquot_6.6.0
[ 0.530000] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.790000] NET: Registered PF_INET protocol family
[ 0.790000] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.810000] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.810000] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.820000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.820000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.820000] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.830000] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.830000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.840000] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.840000] NET: Registered PF_XDP protocol family
[ 0.850000] Initialise system trusted keyrings
[ 0.850000] Key type blacklist registered
[ 0.870000] Trying to unpack rootfs image as initramfs...
[ 0.930000] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 1.280000] random: fast init done
[ 1.310000] zbud: loaded
[ 1.350000] Key type asymmetric registered
[ 1.350000] Asymmetric key parser 'x509' registered
[ 1.360000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 2.150000] io scheduler mq-deadline registered
[ 2.440000] Console: switching to colour frame buffer device 80x32
[ 2.690000] fb0: Amiga ECS frame buffer device, using 640K of video memory
[ 2.720000] pmac_zilog: 0.6 (Benjamin Herrenschmidt <***@kernel.crashing.org>)
[ 2.740000] ttyS0 is the amiga builtin serial port
[ 3.460000] Zorro: Probing AutoConfig expansion devices: 3 devices
[ 3.490000] mousedev: PS/2 mouse device common for all mice
[ 3.510000] input: amiga-keyboard as /devices/platform/amiga-keyboard/input/input0
[ 3.540000] rtc-rp5c01 rtc-rp5c01: registered as rtc0
[ 3.550000] rtc-rp5c01 rtc-rp5c01: setting system clock to 2022-09-09T13:40:54 UTC (1662730854)
[ 3.560000] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.580000] NET: Registered PF_PACKET protocol family
[ 3.590000] mpls_gso: MPLS GSO support
[ 3.600000] registered taskstats version 1
[ 3.610000] Loading compiled-in X.509 certificates
[ 53.940000] random: crng init done
[ 64.750000] Freeing initrd memory: 8204K
[ 65.680000] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[ 65.690000] Loaded X.509 cert 'Debian Secure Boot Signer 2021 - linux: 4b6ef5abca669825178e052c84667ccbc0531f8c'
[ 65.710000] zswap: loaded using pool lzo/zbud
[ 65.730000] Key type ._fscrypt registered
[ 65.740000] Key type .fscrypt registered
[ 65.750000] Key type fscrypt-provisioning registered
[ 66.540000] Key type encrypted registered
[ 66.590000] Freeing unused kernel image (initmem) memory: 164K
[ 66.600000] This architecture does not have kernel memory protection.
[ 66.610000] Run /init as init process
[ 66.620000] with arguments:
[ 66.630000] /init
[ 66.640000] with environment:
[ 66.650000] HOME=/
[ 66.660000] TERM=linux
[ 66.670000] fb=false
[ 66.680000] BOOT_IMAGE=vmlinux-5.16.0-6-m68k
[ 86.880000] wd33c93-0: chip=WD33c93A/9 no_sync=0xff no_dma=0
[ 86.880000] debug_flags=0x00
[ 86.910000] setup_args=
[ 86.910000] ,
[ 86.920000] ,
[ 86.930000] ,
[ 86.940000] ,
[ 86.950000] ,
[ 86.960000] ,
[ 86.970000] ,
[ 86.980000] ,
[ 86.990000] ,
[ 87.000000] ,
[ 87.010000]
[ 87.030000] Version 1.26++ - 10/Feb/2007
[ 87.040000] scsi host0: Amiga 3000 built-in SCSI
[ 87.330000] FD: probing units
[ 87.330000] found
[ 87.330000] fd: drive 0 didn't identify, setting default ffffffff
[ 87.440000] fd0
[ 87.470000] fd: drive 0 didn't identify, setting default ffffffff
[ 87.620000]
[ 87.660000] fd: drive 0 didn't identify, setting default ffffffff
[ 88.560000] eth0: X-Surf at 0x00e90000, Ethernet Address 00:00:b4:3c:30:b9
[ 88.770000] 53c700: Version 2.8 By ***@HansenPartnership.com
[ 88.780000] scsi1: 53c710 rev 2
[ 89.800000] scsi host1: WarpEngine 40xx
[ 89.990000] libata version 3.00 loaded.
[ 90.050000] pata_buddha zorro2: Buddha IDE controller
[ 90.190000] scsi host2: pata_buddha
[ 90.300000] scsi host3: pata_buddha
[ 90.380000] ata1: PATA max PIO4 cmd 0xea0000 ctl 0xea091a irq 2
[ 90.390000] ata2: PATA max PIO4 cmd 0xea0000 ctl 0xea0b1a irq 2
[ 90.400000] zorro8390 zorro1: X-Surf IDE controller
[ 90.690000] ata1.00: HPA detected: current 234439535, native 234441648
[ 90.700000] ata1.00: ATA-6: ST3120022A, 8.54, max UDMA/100
[ 90.720000] ata1.00: 234439535 sectors, multi 16: LBA48
[ 90.730000] ata1.00: configured for PIO
[ 90.820000] scsi 2:0:0:0: Direct-Access ATA ST3120022A 8.54 PQ: 0 ANSI: 5
[ 90.950000] scsi host4: pata_buddha
[ 91.000000] scsi host5: pata_buddha
[ 91.040000] ata3: PATA max PIO4 cmd 0xe90000 ctl 0x0 irq 2
[ 91.050000] ata4: PATA max PIO4 cmd 0xe90000 ctl 0x0 irq 2
[ 91.080000] Z2RAM: using 0K Zorro II RAM and 1024K Chip RAM (Total 1024K)
[ 95.220000] fd: drive 0 didn't identify, setting default ffffffff
[ 95.230000] fd0: accessing DD 3.5-disk with Amiga-layout
[ 95.420000] fd: drive 0 didn't identify, setting default ffffffff
[ 116.980000] scsi 1:0:0:0: tag#16 abort command
[ 117.000000] scsi 1:0:0:0: tag#16 New error handler wants HOST reset, cmd b22a6b61
[ 117.000000]
[ 117.010000] scsi 1:0:0:0: tag#16 CDB: Inquiry 12 00 00 00 24 00
[ 243.680000] INFO: task systemd-udevd:86 blocked for more than 122 seconds.
[ 243.690000] Not tainted 5.16.0-6-m68k #1 Debian 5.16.18-1
[ 243.700000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 243.710000] task:systemd-udevd state:D stack: 0 pid: 86 ppid: 72 flags:0x00000000
[ 243.720000] Stack from 00b6dfcc:
[ 243.720000] 0000000a c0037ff8 00000000 d01325e0 00000000 00000000 d0134e38 d0131608
[ 243.720000] 0000015c 0000015c 00000000 0000c01a d0f40080
[ 243.730000] Call Trace: [<0000c01a>] mvme16x_get_hardware_list+0x10/0x8c
[ 243.750000]
[ 243.760000] INFO: task systemd-udevd:90 blocked for more than 122 seconds.
[ 243.770000] Not tainted 5.16.0-6-m68k #1 Debian 5.16.18-1
[ 243.780000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 243.790000] task:systemd-udevd state:D stack: 0 pid: 90 ppid: 72 flags:0x00000000
[ 243.800000] Stack from 00be3fcc:
[ 243.800000] 00000005 c0037ff8 00000000 d01320e8 00000000 00000000 d012fce8 d0130048
[ 243.800000] 0000015c 0000015c 00000000 0000c01a d0f40080
[ 243.810000] Call Trace: [<0000c01a>] mvme16x_get_hardware_list+0x10/0x8c
[ 243.820000]
[ 243.830000] INFO: task scsi_eh_1:95 blocked for more than 123 seconds.
[ 243.840000] Not tainted 5.16.0-6-m68k #1 Debian 5.16.18-1
[ 243.850000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 243.860000] task:scsi_eh_1 state:D stack: 0 pid: 95 ppid: 2 flags:0x00000000
[ 243.870000] Stack from 027ebfcc:
[ 243.870000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 243.870000] 00000000 00000000 00000000 20000000 00000000
[ 243.880000] Call Trace:
[ 292.430000] amikbd: Ctrl-Amiga-Amiga reset warning!!
<<<<<<<<<<<<<<<<<<<<
--
Stephen - Vk3heg
Finn Thain
2022-09-09 07:30:01 UTC
Permalink
Post by Stephen Walsh
Here's a test of kernel 5.16, intrid 5.16. It exited to busybox saying
it couldn’t find /dev/sda2 (root fs)
...
[ 116.980000] scsi 1:0:0:0: tag#16 abort command
[ 117.000000] scsi 1:0:0:0: tag#16 New error handler wants HOST reset, cmd b22a6b61
[ 117.000000]
[ 117.010000] scsi 1:0:0:0: tag#16 CDB: Inquiry 12 00 00 00 24 00
That seems to be an unrelated issue. To pursue that one, I would
cross-compile a monolithic Amiga kernel from kernel.org source and use git
bisect to find the regression (assuming it's a regression). But not
everyone is comfortable building Linux from source and even if you were
the early crash would prevent you from debugging the scsi issue anyway. So
you need a way to boot 5.19 without oops. Can you achieve that by altering
the RAM configuration?
Geert Uytterhoeven
2022-09-09 07:40:01 UTC
Permalink
Hi Finn,
Post by Finn Thain
Post by Stephen Walsh
Here's a test of kernel 5.16, intrid 5.16. It exited to busybox saying
it couldn’t find /dev/sda2 (root fs)
...
[ 116.980000] scsi 1:0:0:0: tag#16 abort command
[ 117.000000] scsi 1:0:0:0: tag#16 New error handler wants HOST reset, cmd b22a6b61
[ 117.000000]
[ 117.010000] scsi 1:0:0:0: tag#16 CDB: Inquiry 12 00 00 00 24 00
That seems to be an unrelated issue. To pursue that one, I would
cross-compile a monolithic Amiga kernel from kernel.org source and use git
bisect to find the regression (assuming it's a regression). But not
everyone is comfortable building Linux from source and even if you were
the early crash would prevent you from debugging the scsi issue anyway. So
you need a way to boot 5.19 without oops. Can you achieve that by altering
the RAM configuration?
A monolithic Amiga kernel does not need an initrd, so it won't suffer
from the early crash.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ***@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Michael Schmitz
2022-09-09 05:10:01 UTC
Permalink
Hi Finn,
Post by Finn Thain
Post by Stephen Walsh
Kernel 5.19, intrd 5.19
[ 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] initrd: 0f7f6794 - 10000000
Length is 0x80986d.
...
Post by Finn Thain
Post by Stephen Walsh
Kernel 5.18, intrid 5.18
[ 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] initrd: 0f7f7b16 - 10000000
Length is 0x8084eb.
...
Post by Finn Thain
Post by Stephen Walsh
kernel 5.19, intrid 5.15
[ 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] initrd: 0f83283d - 10000000
Length is 0x7cd7c4 which is below 8 MiB. Moreover, this is a known-good
initrd. So the oops appears to be caused by a kernel change and not initrd
growth.
All these have the initrd in the second memory chunk - at least one of
the successful boots had the initrd in the first (8 MB) chunk).

I know nothing about the way amiboot works, and how the RAM chunk to
copy the initrd image to is selected. Just speculating: maybe amiboot
plus initrd size must be below 8 MB for the first chunk to get used?

But that's a little academic. I really wonder what makes the initrd at
the end of the second RAM chunk fault. But e.g. the range

0f83283d - 10000000

extends one byte beyond what's mapped

node 0: [mem 0x0000000008000000-0x000000000fffffff]

and the fault occurs at faddr=0ffffff4, at which point the processor
probably pre-fetched out to 10000000.

I need to dig out the 68040 manual to check what frame format 7 means...

Cheers,

Michael
Finn Thain
2022-09-09 07:40:01 UTC
Permalink
Hi Michael,
Post by Michael Schmitz
I know nothing about the way amiboot works, and how the RAM chunk to
copy the initrd image to is selected.
Same here. This is not a bug I can resolve. It's a bug for someone who
knows Amiga hardware and amiboot algorithms.
Post by Michael Schmitz
Just speculating: maybe amiboot plus initrd size must be below 8 MB for
the first chunk to get used?
But that's a little academic. I really wonder what makes the initrd at
the end of the second RAM chunk fault. But e.g. the range
0f83283d - 10000000
extends one byte beyond what's mapped
node 0: [mem 0x0000000008000000-0x000000000fffffff]
Interesting. That's the failure case. But in the success case, that "one
byte" was always the first byte in the "node 0" mapping. Maybe you're onto
something.
Geert Uytterhoeven
2022-09-09 07:40:01 UTC
Permalink
Hi Michael,
Post by Michael Schmitz
Post by Finn Thain
Post by Stephen Walsh
Kernel 5.19, intrd 5.19
[ 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] initrd: 0f7f6794 - 10000000
Length is 0x80986d.
...
Post by Finn Thain
Post by Stephen Walsh
Kernel 5.18, intrid 5.18
[ 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] initrd: 0f7f7b16 - 10000000
Length is 0x8084eb.
...
Post by Finn Thain
Post by Stephen Walsh
kernel 5.19, intrid 5.15
[ 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] initrd: 0f83283d - 10000000
Length is 0x7cd7c4 which is below 8 MiB. Moreover, this is a known-good
initrd. So the oops appears to be caused by a kernel change and not initrd
growth.
All these have the initrd in the second memory chunk - at least one of
the successful boots had the initrd in the first (8 MB) chunk).
I know nothing about the way amiboot works, and how the RAM chunk to
copy the initrd image to is selected. Just speculating: maybe amiboot
plus initrd size must be below 8 MB for the first chunk to get used?
m68kboot/common/amiga/linuxboot.c

bi.ramdisk.addr = (u_long)start_mem+mem_size-rd_size;

However, that's not where it is loaded initially:

memreq = kernel_size+bi_size+rd_size;
memptr = (char *)AllocMem(memreq, MEMF_FAST | MEMF_PUBLIC | MEMF_CLEAR);

I expect the allocated memory to be from the largest (second)
block of memory.

Later, everything is copied to the first memory block.
But from a quick glance, I see no check to verify the first
block is sufficiently large.

I think we really need to see the output of "amiboot -d",
for both the good and the bad cases.
Post by Michael Schmitz
But that's a little academic. I really wonder what makes the initrd at
the end of the second RAM chunk fault. But e.g. the range
0f83283d - 10000000
extends one byte beyond what's mapped
node 0: [mem 0x0000000008000000-0x000000000fffffff]
That's because the first printed range is initrd_start, initrd_end,
while the second is (u64)start_pfn << PAGE_SHIFT,
((u64)end_pfn << PAGE_SHIFT) - 1).
Post by Michael Schmitz
and the fault occurs at faddr=0ffffff4, at which point the processor
probably pre-fetched out to 10000000.
Or perhaps memcmp() (that's __builtin_memcmp()?) loads 4 words
at once?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ***@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Stephen Walsh
2022-09-10 00:10:01 UTC
Permalink
Hi Geert.
Post by Geert Uytterhoeven
I think we really need to see the output of "amiboot -d",
for both the good and the bad cases.
I had amiboot like so:

amiboot -d -k vmlinux-5.15.0-2-m68k -r initrd.img-5.15.0-2-m68k
root=/dev/sda2 fb=false

Didn't see anything different, in the output except for this at the
start of the process:

Loading Image...


Kernel/Intrd: 5.15.0-2-m68k
[ 0.000000] Linux version 5.15.0-2-m68k (debian-***@lists.debian.org) (gcc-11 (Debian 11.2.0-12) 11.2.0, GNU ld (GNU Binutils for Debian) 2.37) #1 Debian 5.15.5-2 (2021-12-18)
[ 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 0x0000000008000000-0x000000ffffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] initrd: 0783283d - 08000000
[ 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: 32448
[ 0.000000] Kernel command line: root=/dev/sda2 fb=false debug=mem BOOT_IMAGE=vmlinux-5.15.0-2-m68k
[ 0.000000] Unknown kernel command line parameters "fb=false BOOT_IMAGE=vmlinux-5.15.0-2-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: 116212K/131072K available (3399K kernel code, 611K rwdata, 1116K rodata, 164K init, 212K bss, 14860K reserved, 0K cma-reserved)
[ 0.000000] random: get_random_u32 called from __kmem_cache_create+0x24/0x26e with crng_init=0
[ 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.140000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.140000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.210000] devtmpfs: initialized
[ 0.240000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.240000] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.260000] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.270000] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.280000] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.520000] SCSI subsystem initialized
[ 0.550000] clocksource: Switched to clocksource ciab
[ 0.570000] VFS: Disk quotas dquot_6.6.0
[ 0.580000] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.840000] NET: Registered PF_INET protocol family
[ 0.840000] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.860000] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.860000] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.870000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.870000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.870000] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.880000] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.880000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.890000] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.890000] NET: Registered PF_XDP protocol family
[ 0.900000] Initialise system trusted keyrings
[ 0.900000] Key type blacklist registered
[ 0.920000] Trying to unpack rootfs image as initramfs...
[ 0.980000] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 1.280000] random: fast init done
[ 1.360000] zbud: loaded
[ 1.400000] Key type asymmetric registered
[ 1.400000] Asymmetric key parser 'x509' registered
[ 1.410000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 1.880000] io scheduler mq-deadline registered
[ 2.300000] Console: switching to colour frame buffer device 80x32
[ 2.720000] fb0: Amiga ECS frame buffer device, using 640K of video memory
[ 2.770000] pmac_zilog: 0.6 (Benjamin Herrenschmidt <***@kernel.crashing.org>)
[ 2.780000] ttyS0 is the amiga builtin serial port
[ 3.340000] Zorro: Probing AutoConfig expansion devices: 3 devices
[ 3.410000] mousedev: PS/2 mouse device common for all mice
[ 3.420000] input: amiga-keyboard as /devices/platform/amiga-keyboard/input/input0
[ 3.480000] rtc-rp5c01 rtc-rp5c01: registered as rtc0
[ 3.490000] rtc-rp5c01 rtc-rp5c01: setting system clock to 2022-09-09T22:00:11 UTC (1662760811)
[ 3.510000] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.530000] NET: Registered PF_PACKET protocol family
[ 3.620000] mpls_gso: MPLS GSO support
[ 3.630000] registered taskstats version 1
[ 3.640000] Loading compiled-in X.509 certificates
[ 26.270000] Freeing initrd memory: 7988K
[ 27.030000] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[ 27.040000] Loaded X.509 cert 'Debian Secure Boot Signer 2021 - linux: 4b6ef5abca669825178e052c84667ccbc0531f8c'
[ 27.060000] zswap: loaded using pool lzo/zbud
[ 27.080000] Key type ._fscrypt registered
[ 27.090000] Key type .fscrypt registered
[ 27.100000] Key type fscrypt-provisioning registered
[ 27.710000] Key type encrypted registered
[ 27.730000] Freeing unused kernel image (initmem) memory: 164K
[ 27.740000] This architecture does not have kernel memory protection.
[ 27.750000] Run /init as init process
[ 27.760000] with arguments:
[ 27.770000] /init
[ 27.780000] with environment:
[ 27.790000] HOME=/
[ 27.800000] TERM=linux
[ 27.810000] fb=false
[ 27.820000] BOOT_IMAGE=vmlinux-5.15.0-2-m68k
[ 44.630000] wd33c93-0: chip=WD33c93A/9 no_sync=0xff no_dma=0
[ 44.630000] debug_flags=0x00
[ 44.650000] setup_args=
[ 44.650000] ,
[ 44.660000] ,
[ 44.670000] ,
[ 44.680000] ,
[ 44.690000] ,
[ 44.700000] ,
[ 44.710000] ,
[ 44.720000] ,
[ 44.730000] ,
[ 44.740000] ,
[ 44.750000]
[ 44.780000] Version 1.26++ - 10/Feb/2007
[ 44.800000] scsi host0: Amiga 3000 built-in SCSI
[ 44.940000] FD: probing units
[ 44.940000] found
[ 44.940000] fd: drive 0 didn't identify, setting default ffffffff
[ 45.070000] fd0
[ 45.140000] fd: drive 0 didn't identify, setting default ffffffff
[ 45.330000]
[ 45.350000] fd: drive 0 didn't identify, setting default ffffffff
[ 45.880000] eth0: X-Surf at 0x00e90000, Ethernet Address 00:00:b4:3c:30:b9
[ 45.990000] 53c700: Version 2.8 By ***@HansenPartnership.com
[ 46.000000] scsi1: 53c710 rev 2
[ 47.020000] scsi host1: WarpEngine 40xx
[ 47.650000] libata version 3.00 loaded.
[ 47.770000] pata_buddha zorro2: Buddha IDE controller
[ 47.970000] scsi host2: pata_buddha
[ 48.010000] Z2RAM: using 0K Zorro II RAM and 1024K Chip RAM (Total 1024K)
[ 48.070000] scsi host3: pata_buddha
[ 48.120000] ata1: PATA max PIO4 cmd 0xea0000 ctl 0xea091a irq 2
[ 48.130000] ata2: PATA max PIO4 cmd 0xea0000 ctl 0xea0b1a irq 2
[ 48.140000] zorro8390 zorro1: X-Surf IDE controller
[ 48.430000] ata1.00: HPA detected: current 234439535, native 234441648
[ 48.450000] ata1.00: ATA-6: ST3120022A, 8.54, max UDMA/100
[ 48.460000] ata1.00: 234439535 sectors, multi 16: LBA48
[ 48.470000] ata1.00: configured for PIO
[ 48.530000] scsi 2:0:0:0: Direct-Access ATA ST3120022A 8.54 PQ: 0 ANSI: 5
[ 48.550000] scsi host4: pata_buddha
[ 48.700000] scsi host5: pata_buddha
[ 48.850000] ata3: PATA max PIO4 cmd 0xe90000 ctl 0x0 irq 2
[ 48.860000] ata4: PATA max PIO4 cmd 0xe90000 ctl 0x0 irq 2
[ 49.870000] fd: drive 0 didn't identify, setting default ffffffff
[ 49.880000] fd0: accessing DD 3.5-disk with Amiga-layout
[ 50.060000] fd: drive 0 didn't identify, setting default ffffffff
[ 53.630000] random: crng init done
[ 57.110000] sd 2:0:0:0: [sda] 234439535 512-byte logical blocks: (120 GB/112 GiB)
[ 57.130000] sd 2:0:0:0: [sda] Write Protect is off
[ 57.140000] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 57.160000] sd 2:0:0:0: [sda] Asking for cache data failed
[ 57.170000] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 57.540000] sda: RDSK (512) sda1 (DOS^A)(res 2 spb 8) sda2 ((res 2 spb 1) sda3 (SWP^@)(res 2 spb 1)
[ 57.620000] sd 2:0:0:0: [sda] Attached SCSI disk
[ 78.580000] scsi 1:0:1:0: tag#33 abort command
[ 78.600000] scsi 1:0:1:0: tag#33 New error handler wants HOST reset, cmd 0a825e9c
[ 78.600000]
[ 78.620000] scsi 1:0:1:0: tag#33 CDB: Inquiry 12 00 00 00 24 00
[ 210.780000] process '/usr/bin/fstype' started with executable stack
[ 231.180000] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 243.680000] INFO: task systemd-udevd:78 blocked for more than 122 seconds.
[ 243.690000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 243.700000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 243.720000] task:systemd-udevd state:D stack: 0 pid: 78 ppid: 68 flags:0x00000040
[ 243.730000] Stack from 021cffcc:
[ 243.730000] 00000011 c0038852 00000000 d011a388 00000000 00000000 00020000 d0108f10
[ 243.730000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 243.740000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 243.750000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 243.760000]
[ 243.770000] INFO: task systemd-udevd:79 blocked for more than 122 seconds.
[ 243.780000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 243.790000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 243.800000] task:systemd-udevd state:D stack: 0 pid: 79 ppid: 68 flags:0x00000040
[ 243.810000] Stack from 021dbfcc:
[ 243.810000] 0000000c c0038852 00000000 d011b578 00000000 00000000 00020000 d0119808
[ 243.810000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 243.820000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 243.830000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 243.860000]
[ 244.060000] INFO: task scsi_eh_1:83 blocked for more than 123 seconds.
[ 244.060000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 244.060000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 244.060000] task:scsi_eh_1 state:D stack: 0 pid: 83 ppid: 2 flags:0x00000000
[ 244.060000] Stack from 0225bfcc:
[ 244.060000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 244.060000] 00000000 00000000 00000000 20000000 00000000
[ 244.060000] Call Trace:
[ 280.590000] systemd[1]: Inserted module 'autofs4'
[ 281.620000] NET: Registered PF_INET6 protocol family
[ 284.280000] Segment Routing with IPv6
[ 284.290000] In-situ OAM (IOAM) with IPv6
[ 285.520000] systemd[1]: systemd 251.4-3 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK -SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[ 285.530000] systemd[1]: Detected architecture m68k.
[ 286.390000] systemd[1]: Hostname set to <a3000>.
[ 325.540000] systemd[1]: Queued start job for default target Graphical Interface.
[ 325.770000] systemd[1]: Created slice Slice /system/getty.
[ 326.120000] systemd[1]: Created slice Slice /system/modprobe.
[ 326.470000] systemd[1]: Created slice User and Session Slice.
[ 326.780000] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 327.130000] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 327.520000] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 327.920000] systemd[1]: Reached target Local Encrypted Volumes.
[ 328.310000] systemd[1]: Reached target Local Integrity Protected Volumes.
[ 328.720000] systemd[1]: Reached target Path Units.
[ 329.110000] systemd[1]: Reached target Remote File Systems.
[ 329.510000] systemd[1]: Reached target Slice Units.
[ 329.900000] systemd[1]: Reached target Local Verity Protected Volumes.
[ 330.350000] systemd[1]: Listening on Syslog Socket.
[ 330.880000] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 331.270000] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 332.080000] systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
[ 332.120000] systemd[1]: Listening on Journal Socket (/dev/log).
[ 332.540000] systemd[1]: Listening on Journal Socket.
[ 332.960000] systemd[1]: Listening on udev Control Socket.
[ 333.350000] systemd[1]: Listening on udev Kernel Socket.
[ 333.760000] systemd[1]: Huge Pages File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[ 333.960000] systemd[1]: Mounting POSIX Message Queue File System...
[ 334.860000] systemd[1]: Mounting Kernel Debug File System...
[ 335.480000] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
[ 335.760000] systemd[1]: Starting Set the console keyboard layout...
[ 337.130000] systemd[1]: Starting Create List of Static Device Nodes...
[ 338.420000] systemd[1]: Starting Load Kernel Module configfs...
[ 340.320000] systemd[1]: Starting Load Kernel Module drm...
[ 341.910000] systemd[1]: Starting Load Kernel Module fuse...
[ 342.940000] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathExists=!/run/initramfs/fsck-root).
[ 343.980000] fuse: init (API version 7.34)
[ 344.010000] systemd[1]: Starting Journal Service...
[ 345.800000] systemd[1]: Starting Load Kernel Modules...
[ 347.720000] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 349.470000] systemd[1]: Repartition Root Disk was skipped because all trigger condition checks failed.
[ 350.450000] systemd[1]: Starting Coldplug All udev Devices...
[ 352.320000] ne.c: You must supply "io=0xNNN" value(s) for ISA cards.
[ 355.030000] systemd[1]: Mounted POSIX Message Queue File System.
[ 355.320000] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro. Quota mode: none.
[ 357.330000] systemd[1]: Mounted Kernel Debug File System.
[ 359.250000] systemd[1]: Finished Create List of Static Device Nodes.
[ 361.980000] systemd[1]: Started Journal Service.
[ 366.560000] INFO: task systemd-udevd:78 blocked for more than 245 seconds.
[ 366.560000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 366.560000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 366.560000] task:systemd-udevd state:D stack: 0 pid: 78 ppid: 68 flags:0x00000040
[ 366.560000] Stack from 021cffcc:
[ 366.560000] 00000011 c0038852 00000000 d011a388 00000000 00000000 00020000 d0108f10
[ 366.560000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 366.560000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 366.560000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 366.560000]
[ 366.560000] INFO: task systemd-udevd:79 blocked for more than 245 seconds.
[ 366.560000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 366.560000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 366.560000] task:systemd-udevd state:D stack: 0 pid: 79 ppid: 68 flags:0x00000040
[ 366.560000] Stack from 021dbfcc:
[ 366.560000] 0000000c c0038852 00000000 d011b578 00000000 00000000 00020000 d0119808
[ 366.560000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 366.560000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 366.570000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 366.570000]
[ 366.570000] INFO: task scsi_eh_1:83 blocked for more than 245 seconds.
[ 366.570000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 366.570000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 366.570000] task:scsi_eh_1 state:D stack: 0 pid: 83 ppid: 2 flags:0x00000000
[ 366.570000] Stack from 0225bfcc:
[ 366.570000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 366.570000] 00000000 00000000 00000000 20000000 00000000
[ 366.570000] Call Trace:
[ 380.080000] systemd-journald[172]: Received client request to flush runtime journal.
[ 445.420000] fd: drive 0 didn't identify, setting default ffffffff
[ 445.420000] fd0: accessing DD 3.5-disk with Amiga-layout
[ 446.430000] fd: drive 0 didn't identify, setting default ffffffff
[ 448.980000] sd 2:0:0:0: Attached scsi generic sg0 type 0
[ 463.970000] Amiga DMA sound driver rev 016 installed
[ 463.980000] Core driver edition 01.06 : AMIGA driver edition 00.04
[ 463.980000] Write will use 4 fragments of 32768 bytes as default
[ 466.630000] parport0: Amiga built-in port using irq
[ 466.800000] input: amiga-mouse as /devices/platform/amiga-mouse/input/input1
[ 466.950000] parport0: fix this legacy no-device port driver!
[ 489.440000] INFO: task systemd-udevd:78 blocked for more than 368 seconds.
[ 489.450000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 489.460000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 489.470000] task:systemd-udevd state:D stack: 0 pid: 78 ppid: 68 flags:0x00000040
[ 489.480000] Stack from 021cffcc:
[ 489.480000] 00000011 c0038852 00000000 d011a388 00000000 00000000 00020000 d0108f10
[ 489.480000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 489.500000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 489.520000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 489.530000]
[ 489.540000] INFO: task systemd-udevd:79 blocked for more than 368 seconds.
[ 489.560000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 489.570000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 489.580000] task:systemd-udevd state:D stack: 0 pid: 79 ppid: 68 flags:0x00000040
[ 489.590000] Stack from 021dbfcc:
[ 489.590000] 0000000c c0038852 00000000 d011b578 00000000 00000000 00020000 d0119808
[ 489.590000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 489.610000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 489.620000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 489.630000]
[ 491.010000] INFO: task scsi_eh_1:83 blocked for more than 370 seconds.
[ 491.020000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 491.030000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 491.050000] task:scsi_eh_1 state:D stack: 0 pid: 83 ppid: 2 flags:0x00000000
[ 491.060000] Stack from 0225bfcc:
[ 491.060000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 491.060000] 00000000 00000000 00000000 20000000 00000000
[ 491.070000] Call Trace:
[ 612.350000] INFO: task systemd-udevd:78 blocked for more than 491 seconds.
[ 612.360000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 612.370000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 612.380000] task:systemd-udevd state:D stack: 0 pid: 78 ppid: 68 flags:0x00000040
[ 612.390000] Stack from 021cffcc:
[ 612.390000] 00000011 c0038852 00000000 d011a388 00000000 00000000 00020000 d0108f10
[ 612.390000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 612.400000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 612.410000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 612.410000]
[ 1342.440000] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 1342.580000] systemd-journald[172]: Failed to send WATCHDOG=1 notification message: Connection refused
[ 1343.910000] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 1344.440000] systemd-journald[172]: Received SIGTERM from PID 1 (systemd-shutdow).
[ 1354.450000] systemd-shutdown[1]: Waiting for process: 78 (systemd-udevd), 68 (systemd-udevd), 79 (systemd-udevd)
[ 1434.460000] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 1434.630000] systemd-shutdown[1]: Sending SIGKILL to PID 68 (systemd-udevd).
[ 1434.670000] systemd-shutdown[1]: Sending SIGKILL to PID 78 (systemd-udevd).
[ 1434.710000] systemd-shutdown[1]: Sending SIGKILL to PID 79 (systemd-udevd).
[ 1444.880000] systemd-shutdown[1]: Waiting for process: 78 (systemd-udevd), 79 (systemd-udevd)
[ 1524.980000] systemd-shutdown[1]: Unmounting file systems.
[ 1525.100000] [494]: Remounting '/' read-only with options 'errors=remount-ro'.
[ 1525.220000] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro. Quota mode: none.
[ 1525.640000] systemd-shutdown[1]: All filesystems unmounted.
[ 1525.660000] systemd-shutdown[1]: Deactivating swaps.
[ 1525.680000] systemd-shutdown[1]: All swaps deactivated.
[ 1525.690000] systemd-shutdown[1]: Detaching loop devices.
[ 1525.710000] systemd-shutdown[1]: All loop devices detached.
[ 1525.720000] systemd-shutdown[1]: Stopping MD devices.
[ 1525.740000] systemd-shutdown[1]: All MD devices stopped.
[ 1525.760000] systemd-shutdown[1]: Detaching DM devices.
[ 1525.780000] systemd-shutdown[1]: All DM devices detached.
[ 1525.790000] systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached.
[ 1526.110000] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 1526.180000] systemd-shutdown[1]: Powering off.
[ 1937.170000] amikbd: Ctrl-Amiga-Amiga reset warning!!
<<<<<<<<<<<<<<<<<<<<
--
Stephen - Vk3heg
Geert Uytterhoeven
2022-09-10 07:50:01 UTC
Permalink
Hi Stephen,
Post by Stephen Walsh
Post by Geert Uytterhoeven
I think we really need to see the output of "amiboot -d",
for both the good and the bad cases.
amiboot -d -k vmlinux-5.15.0-2-m68k -r initrd.img-5.15.0-2-m68k
root=/dev/sda2 fb=false
Didn't see anything different, in the output except for this at the
https://amiga.vk3heg.net/wp-content/uploads/2022/09/PXL_20220909_120251490.MP_-scaled.jpg
Which says "ramdisk dest is 0x0f83283d"...
Post by Stephen Walsh
Kernel/Intrd: 5.15.0-2-m68k
[ 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] DMA [mem 0x0000000008000000-0x000000ffffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] initrd: 0783283d - 08000000
... which does not match 0783283d?

Interestingly, this is the working case.

While the non-working case in your next email has
"ramdisk dest is 0x0f7f6794" and a matching
"initrd: 0f7f6794 - 10000000".

/me confused even more...

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ***@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Stephen Walsh
2022-09-10 09:40:01 UTC
Permalink
Hi Geert,
Post by Geert Uytterhoeven
While the non-working case in your next email has
"ramdisk dest is 0x0f7f6794" and a matching
"initrd: 0f7f6794 - 10000000".
/me confused even more...
Just did a fresh test with both, powered down between tests..



Kernel 5.15/intrid 5.15:

Loading Image...
[ 0.000000] Linux version 5.15.0-2-m68k (debian-***@lists.debian.org) (gcc-11 (Debian 11.2.0-12) 11.2.0, GNU ld (GNU Binutils for Debian) 2.37) #1 Debian 5.15.5-2 (2021-12-18)
[ 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 0x0000000008000000-0x000000ffffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] initrd: 0783283d - 08000000
[ 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: 32448
[ 0.000000] Kernel command line: root=/dev/sda2 fb=false debug=mem BOOT_IMAGE=vmlinux-5.15.0-2-m68k
[ 0.000000] Unknown kernel command line parameters "fb=false BOOT_IMAGE=vmlinux-5.15.0-2-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: 116212K/131072K available (3399K kernel code, 611K rwdata, 1116K rodata, 164K init, 212K bss, 14860K reserved, 0K cma-reserved)
[ 0.000000] random: get_random_u32 called from __kmem_cache_create+0x24/0x26e with crng_init=0
[ 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.140000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.140000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.210000] devtmpfs: initialized
[ 0.240000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.240000] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.260000] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.270000] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.280000] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.520000] SCSI subsystem initialized
[ 0.550000] clocksource: Switched to clocksource ciab
[ 0.570000] VFS: Disk quotas dquot_6.6.0
[ 0.580000] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.840000] NET: Registered PF_INET protocol family
[ 0.840000] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.860000] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.860000] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.870000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.870000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.870000] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.880000] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.880000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.890000] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.890000] NET: Registered PF_XDP protocol family
[ 0.900000] Initialise system trusted keyrings
[ 0.900000] Key type blacklist registered
[ 0.920000] Trying to unpack rootfs image as initramfs...
[ 0.980000] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 1.280000] random: fast init done
[ 1.360000] zbud: loaded
[ 1.400000] Key type asymmetric registered
[ 1.400000] Asymmetric key parser 'x509' registered
[ 1.410000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 1.880000] io scheduler mq-deadline registered
[ 2.320000] Console: switching to colour frame buffer device 80x32
[ 2.770000] fb0: Amiga ECS frame buffer device, using 640K of video memory
[ 2.820000] pmac_zilog: 0.6 (Benjamin Herrenschmidt <***@kernel.crashing.org>)
[ 2.840000] ttyS0 is the amiga builtin serial port
[ 3.400000] Zorro: Probing AutoConfig expansion devices: 3 devices
[ 3.510000] mousedev: PS/2 mouse device common for all mice
[ 3.520000] input: amiga-keyboard as /devices/platform/amiga-keyboard/input/input0
[ 3.540000] rtc-rp5c01 rtc-rp5c01: registered as rtc0
[ 3.550000] rtc-rp5c01 rtc-rp5c01: setting system clock to 2022-09-10T18:27:59 UTC (1662834479)
[ 3.560000] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.580000] NET: Registered PF_PACKET protocol family
[ 3.660000] mpls_gso: MPLS GSO support
[ 3.670000] registered taskstats version 1
[ 3.690000] Loading compiled-in X.509 certificates
[ 26.270000] Freeing initrd memory: 7988K
[ 27.030000] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[ 27.050000] Loaded X.509 cert 'Debian Secure Boot Signer 2021 - linux: 4b6ef5abca669825178e052c84667ccbc0531f8c'
[ 27.080000] zswap: loaded using pool lzo/zbud
[ 27.110000] Key type ._fscrypt registered
[ 27.120000] Key type .fscrypt registered
[ 27.130000] Key type fscrypt-provisioning registered
[ 27.740000] Key type encrypted registered
[ 27.750000] Freeing unused kernel image (initmem) memory: 164K
[ 27.760000] This architecture does not have kernel memory protection.
[ 27.770000] Run /init as init process
[ 27.780000] with arguments:
[ 27.790000] /init
[ 27.810000] with environment:
[ 27.820000] HOME=/
[ 27.830000] TERM=linux
[ 27.840000] fb=false
[ 27.850000] BOOT_IMAGE=vmlinux-5.15.0-2-m68k
[ 44.410000] wd33c93-0: chip=WD33c93A/9 no_sync=0xff no_dma=0
[ 44.410000] debug_flags=0x00
[ 44.430000] setup_args=
[ 44.430000] ,
[ 44.440000] ,
[ 44.450000] ,
[ 44.460000] ,
[ 44.470000] ,
[ 44.480000] ,
[ 44.490000] ,
[ 44.500000] ,
[ 44.510000] ,
[ 44.520000] ,
[ 44.530000]
[ 44.550000] Version 1.26++ - 10/Feb/2007
[ 44.560000] scsi host0: Amiga 3000 built-in SCSI
[ 44.670000] FD: probing units
[ 44.670000] found
[ 44.670000] fd: drive 0 didn't identify, setting default ffffffff
[ 44.750000] fd0
[ 44.800000] fd: drive 0 didn't identify, setting default ffffffff
[ 45.030000]
[ 45.050000] fd: drive 0 didn't identify, setting default ffffffff
[ 45.840000] eth0: X-Surf at 0x00e90000, Ethernet Address 00:00:b4:3c:30:b9
[ 46.000000] 53c700: Version 2.8 By ***@HansenPartnership.com
[ 46.020000] scsi1: 53c710 rev 2
[ 47.040000] scsi host1: WarpEngine 40xx
[ 47.700000] libata version 3.00 loaded.
[ 47.790000] pata_buddha zorro2: Buddha IDE controller
[ 47.990000] scsi host2: pata_buddha
[ 48.050000] scsi host3: pata_buddha
[ 48.150000] ata1: PATA max PIO4 cmd 0xea0000 ctl 0xea091a irq 2
[ 48.170000] ata2: PATA max PIO4 cmd 0xea0000 ctl 0xea0b1a irq 2
[ 48.180000] zorro8390 zorro1: X-Surf IDE controller
[ 48.260000] Z2RAM: using 0K Zorro II RAM and 1024K Chip RAM (Total 1024K)
[ 48.410000] ata1.00: HPA detected: current 234439535, native 234441648
[ 48.420000] ata1.00: ATA-6: ST3120022A, 8.54, max UDMA/100
[ 48.430000] ata1.00: 234439535 sectors, multi 16: LBA48
[ 48.440000] ata1.00: configured for PIO
[ 48.450000] scsi 2:0:0:0: Direct-Access ATA ST3120022A 8.54 PQ: 0 ANSI: 5
[ 48.640000] scsi host4: pata_buddha
[ 48.730000] scsi host5: pata_buddha
[ 48.780000] ata3: PATA max PIO4 cmd 0xe90000 ctl 0x0 irq 2
[ 48.790000] ata4: PATA max PIO4 cmd 0xe90000 ctl 0x0 irq 2
[ 49.620000] fd: drive 0 didn't identify, setting default ffffffff
[ 49.630000] fd0: accessing DD 3.5-disk with Amiga-layout
[ 49.840000] fd: drive 0 didn't identify, setting default ffffffff
[ 53.390000] random: crng init done
[ 57.010000] sd 2:0:0:0: [sda] 234439535 512-byte logical blocks: (120 GB/112 GiB)
[ 57.030000] sd 2:0:0:0: [sda] Write Protect is off
[ 57.040000] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 57.050000] sd 2:0:0:0: [sda] Asking for cache data failed
[ 57.060000] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 57.450000] sda: RDSK (512) sda1 (DOS^A)(res 2 spb 8) sda2 ((res 2 spb 1) sda3 (SWP^@)(res 2 spb 1)
[ 57.530000] sd 2:0:0:0: [sda] Attached SCSI disk
[ 78.580000] scsi 1:0:1:0: tag#1 abort command
[ 78.590000] scsi 1:0:1:0: tag#1 New error handler wants HOST reset, cmd b3aa8967
[ 78.590000]
[ 78.600000] scsi 1:0:1:0: tag#1 CDB: Inquiry 12 00 00 00 24 00
[ 210.190000] process '/usr/bin/fstype' started with executable stack
[ 230.800000] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 243.680000] INFO: task systemd-udevd:70 blocked for more than 122 seconds.
[ 243.680000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 243.680000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 243.680000] task:systemd-udevd state:D stack: 0 pid: 70 ppid: 68 flags:0x00000040
[ 243.680000] Stack from 02171fcc:
[ 243.680000] 0000000b c0038852 00000000 d01197a8 00000000 00000000 00020000 d01195c0
[ 243.680000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 243.680000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 243.680000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 243.680000]
[ 243.680000] INFO: task systemd-udevd:71 blocked for more than 122 seconds.
[ 243.680000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 243.680000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 243.680000] task:systemd-udevd state:D stack: 0 pid: 71 ppid: 68 flags:0x00000040
[ 243.680000] Stack from 02191fcc:
[ 243.680000] 0000000f c0038852 00000000 d011b4b0 00000000 00000000 00020000 d01074a8
[ 243.680000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 243.680000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 243.690000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 243.690000]
[ 243.690000] INFO: task scsi_eh_1:80 blocked for more than 122 seconds.
[ 243.690000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 243.690000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 243.690000] task:scsi_eh_1 state:D stack: 0 pid: 80 ppid: 2 flags:0x00000000
[ 243.690000] Stack from 0222bfcc:
[ 243.690000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 243.690000] 00000000 00000000 00000000 20000000 00000000
[ 243.690000] Call Trace:
[ 280.190000] systemd[1]: Inserted module 'autofs4'
[ 281.230000] NET: Registered PF_INET6 protocol family
[ 283.910000] Segment Routing with IPv6
[ 283.920000] In-situ OAM (IOAM) with IPv6
[ 285.140000] systemd[1]: systemd 251.4-3 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK -SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[ 285.160000] systemd[1]: Detected architecture m68k.
[ 286.030000] systemd[1]: Hostname set to <a3000>.
[ 324.970000] systemd[1]: Queued start job for default target Graphical Interface.
[ 325.200000] systemd[1]: Created slice Slice /system/getty.
[ 325.550000] systemd[1]: Created slice Slice /system/modprobe.
[ 325.900000] systemd[1]: Created slice User and Session Slice.
[ 326.210000] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 326.560000] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 326.950000] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 327.350000] systemd[1]: Reached target Local Encrypted Volumes.
[ 327.740000] systemd[1]: Reached target Local Integrity Protected Volumes.
[ 328.140000] systemd[1]: Reached target Path Units.
[ 328.530000] systemd[1]: Reached target Remote File Systems.
[ 328.910000] systemd[1]: Reached target Slice Units.
[ 329.310000] systemd[1]: Reached target Local Verity Protected Volumes.
[ 329.850000] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 330.260000] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 331.050000] systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
[ 331.100000] systemd[1]: Listening on Journal Socket (/dev/log).
[ 331.520000] systemd[1]: Listening on Journal Socket.
[ 331.940000] systemd[1]: Listening on udev Control Socket.
[ 332.330000] systemd[1]: Listening on udev Kernel Socket.
[ 332.730000] systemd[1]: Huge Pages File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[ 332.920000] systemd[1]: Mounting POSIX Message Queue File System...
[ 333.780000] systemd[1]: Mounting Kernel Debug File System...
[ 334.520000] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
[ 334.800000] systemd[1]: Starting Set the console keyboard layout...
[ 336.130000] systemd[1]: Starting Create List of Static Device Nodes...
[ 337.600000] systemd[1]: Starting Load Kernel Module configfs...
[ 339.490000] systemd[1]: Starting Load Kernel Module drm...
[ 341.050000] systemd[1]: Starting Load Kernel Module fuse...
[ 342.040000] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathExists=!/run/initramfs/fsck-root).
[ 343.100000] systemd[1]: Starting Journal Service...
[ 343.180000] fuse: init (API version 7.34)
[ 344.900000] systemd[1]: Starting Load Kernel Modules...
[ 347.210000] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 348.960000] systemd[1]: Repartition Root Disk was skipped because all trigger condition checks failed.
[ 350.160000] systemd[1]: Starting Coldplug All udev Devices...
[ 350.690000] ne.c: You must supply "io=0xNNN" value(s) for ISA cards.
[ 354.440000] systemd[1]: Mounted POSIX Message Queue File System.
[ 354.550000] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro. Quota mode: none.
[ 356.930000] systemd[1]: Mounted Kernel Debug File System.
[ 358.810000] systemd[1]: Finished Create List of Static Device Nodes.
[ 361.540000] systemd[1]: Started Journal Service.
[ 366.560000] INFO: task systemd-udevd:70 blocked for more than 245 seconds.
[ 366.560000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 366.560000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 366.560000] task:systemd-udevd state:D stack: 0 pid: 70 ppid: 68 flags:0x00000040
[ 366.560000] Stack from 02171fcc:
[ 366.560000] 0000000b c0038852 00000000 d01197a8 00000000 00000000 00020000 d01195c0
[ 366.560000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 366.560000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 366.560000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 366.560000]
[ 366.560000] INFO: task systemd-udevd:71 blocked for more than 245 seconds.
[ 366.560000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 366.560000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 366.560000] task:systemd-udevd state:D stack: 0 pid: 71 ppid: 68 flags:0x00000040
[ 366.560000] Stack from 02191fcc:
[ 366.560000] 0000000f c0038852 00000000 d011b4b0 00000000 00000000 00020000 d01074a8
[ 366.560000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 366.560000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 366.560000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 366.570000]
[ 366.570000] INFO: task scsi_eh_1:80 blocked for more than 245 seconds.
[ 366.570000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 366.570000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 366.570000] task:scsi_eh_1 state:D stack: 0 pid: 80 ppid: 2 flags:0x00000000
[ 366.570000] Stack from 0222bfcc:
[ 366.570000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 366.570000] 00000000 00000000 00000000 20000000 00000000
[ 366.570000] Call Trace:
[ 380.660000] systemd-journald[169]: Received client request to flush runtime journal.
[ 444.220000] fd: drive 0 didn't identify, setting default ffffffff
[ 444.220000] fd0: accessing DD 3.5-disk with Amiga-layout
[ 445.100000] fd: drive 0 didn't identify, setting default ffffffff
[ 447.460000] sd 2:0:0:0: Attached scsi generic sg0 type 0
[ 462.720000] Amiga DMA sound driver rev 016 installed
[ 462.730000] Core driver edition 01.06 : AMIGA driver edition 00.04
[ 462.740000] Write will use 4 fragments of 32768 bytes as default
[ 463.480000] input: amiga-mouse as /devices/platform/amiga-mouse/input/input1
[ 463.820000] parport0: Amiga built-in port using irq
[ 463.930000] parport0: fix this legacy no-device port driver!
[ 489.440000] INFO: task systemd-udevd:70 blocked for more than 368 seconds.
[ 489.450000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 489.470000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 489.480000] task:systemd-udevd state:D stack: 0 pid: 70 ppid: 68 flags:0x00000040
[ 489.500000] Stack from 02171fcc:
[ 489.500000] 0000000b c0038852 00000000 d01197a8 00000000 00000000 00020000 d01195c0
[ 489.500000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 489.510000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 489.530000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 489.540000]
[ 490.260000] INFO: task systemd-udevd:71 blocked for more than 369 seconds.
[ 490.270000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 490.280000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 490.290000] task:systemd-udevd state:D stack: 0 pid: 71 ppid: 68 flags:0x00000040
[ 490.300000] Stack from 02191fcc:
[ 490.300000] 0000000f c0038852 00000000 d011b4b0 00000000 00000000 00020000 d01074a8
[ 490.300000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 490.320000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 490.330000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 490.340000]
[ 490.360000] INFO: task scsi_eh_1:80 blocked for more than 369 seconds.
[ 490.370000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 490.380000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 490.400000] task:scsi_eh_1 state:D stack: 0 pid: 80 ppid: 2 flags:0x00000000
[ 490.410000] Stack from 0222bfcc:
[ 490.410000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 490.410000] 00000000 00000000 00000000 20000000 00000000
[ 490.420000] Call Trace:
[ 612.320000] INFO: task systemd-udevd:70 blocked for more than 491 seconds.
[ 612.320000] Not tainted 5.15.0-2-m68k #1 Debian 5.15.5-2
[ 612.330000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 612.340000] task:systemd-udevd state:D stack: 0 pid: 70 ppid: 68 flags:0x00000040
[ 612.350000] Stack from 02171fcc:
[ 612.350000] 0000000b c0038852 00000000 d01197a8 00000000 00000000 00020000 d01195c0
[ 612.350000] 0000015c 0000015c 00000000 0014c01a d65c0080
[ 612.370000] Call Trace: [<00020000>] _FP_CALL_TOP+0x9402/0xd512
[ 612.380000] [<0014c01a>] iomap_dio_bio_iter+0x3fc/0x416
[ 612.390000]
[ 1246.560000] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 1247.590000] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 1248.030000] systemd-journald[169]: Received SIGTERM from PID 1 (systemd-shutdow).
[ 1248.150000] systemd-journald[169]: Failed to send WATCHDOG=1 notification message: Connection refused
[ 1258.080000] systemd-shutdown[1]: Waiting for process: 71 (systemd-udevd), 68 (systemd-udevd), 70 (systemd-udevd)
[ 1338.090000] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 1338.270000] systemd-shutdown[1]: Sending SIGKILL to PID 68 (systemd-udevd).
[ 1338.330000] systemd-shutdown[1]: Sending SIGKILL to PID 70 (systemd-udevd).
[ 1338.370000] systemd-shutdown[1]: Sending SIGKILL to PID 71 (systemd-udevd).
[ 1348.530000] systemd-shutdown[1]: Waiting for process: 71 (systemd-udevd), 70 (systemd-udevd)
[ 1428.620000] systemd-shutdown[1]: Unmounting file systems.
[ 1428.740000] [442]: Remounting '/' read-only with options 'errors=remount-ro'.
[ 1428.850000] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro. Quota mode: none.
[ 1429.520000] systemd-shutdown[1]: All filesystems unmounted.
[ 1429.530000] systemd-shutdown[1]: Deactivating swaps.
[ 1429.550000] systemd-shutdown[1]: All swaps deactivated.
[ 1429.560000] systemd-shutdown[1]: Detaching loop devices.
[ 1429.590000] systemd-shutdown[1]: All loop devices detached.
[ 1429.600000] systemd-shutdown[1]: Stopping MD devices.
[ 1429.630000] systemd-shutdown[1]: All MD devices stopped.
[ 1429.640000] systemd-shutdown[1]: Detaching DM devices.
[ 1429.660000] systemd-shutdown[1]: All DM devices detached.
[ 1429.670000] systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached.
[ 1429.990000] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 1430.060000] systemd-shutdown[1]: Powering off.
[ 1441.940000] amikbd: Ctrl-Amiga-Amiga reset warning!!
<<<<<<<<<<<<<<<<<<<<



Kernel: 5.19/intrid 5.19:

Loading Image...
[ 0.000000] Linux version 5.19.0-1-m68k (debian-***@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.19.6-1 (2022-09-01)
[ 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] initrd: 0f7f6794 - 10000000
[ 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 0x0000000008000000-0x000000ffffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Unable to handle kernel access at virtual address (ptrval)
[ 0.000000] Oops: 00000000
[ 0.000000] Modules linked in:
[ 0.000000] PC: [<001f2d34>] memcmp+0x2c/0x5c
[ 0.000000] SR: 2700 SP: (ptrval) a2: 0048b580
[ 0.000000] d0: 00414d11 d1: 0ffffff8 d2: 001f2d08 d3: 0000019e
[ 0.000000] d4: 0804d480 d5: 0080986c a0: 0000000c a1: 0ffffff4
[ 0.000000] Process swapper (pid: 0, task=(ptrval))
[ 0.000000] Frame format=7 eff addr=00489fbc ssw=0505 faddr=0ffffff4
[ 0.000000] wb 1 stat/addr/data: 0005 0804d480 0080986c
[ 0.000000] wb 2 stat/addr/data: 0005 00541000 0000019e
[ 0.000000] wb 3 stat/addr/data: 0005 00489fb4 001f2d08
[ 0.000000] push data: 0080986c 0035d6d0 08001000 08056794
[ 0.000000] Stack from 00489fb4:
[ 0.000000] 001f2d08 0000019e 0035d6d0 00519b0e 0ffffff4 00414d0d 0000000c 00541000
[ 0.000000] 0000019e 0804d480 0080986c 08051150 08062978 08001000 08056794 0ffffff0
[ 0.000000] 005384b2 00000000 00518872
[ 0.000000] Call Trace: [<001f2d08>] memcmp+0x0/0x5c
[ 0.000000] [<0035d6d0>] _printk+0x0/0x18
[ 0.000000] [<00519b0e>] start_kernel+0x86/0x5d2
[ 0.000000] [<00518872>] _sinittext+0x872/0x11f8
[ 0.000000]
[ 0.000000] Code: 4280 6036 2209 200b 2640 2241 5881 5880 <2411> b493 66e4 2241 2640 5988 7403 b488 65e6 60d6 4283 1631 1800 4282 1433 1800
[ 0.000000] Disabling lock debugging due to kernel taint
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---
<<<<<<<<<<<<<<<<<<<<
--
Stephen - Vk3heg
Stephen Walsh
2022-09-10 01:20:01 UTC
Permalink
Hi Geert,

On Fri, 9 Sep 2022 09:34:21 +0200
Post by Geert Uytterhoeven
I think we really need to see the output of "amiboot -d",
for both the good and the bad cases.
Loading Image...


Kernel/Intrd: 5.19
[ 0.000000] Linux version 5.19.0-1-m68k (debian-***@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.19.6-1 (2022-09-01)
[ 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] initrd: 0f7f6794 - 10000000
[ 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 0x0000000008000000-0x000000ffffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] Unable to handle kernel access at virtual address (ptrval)
[ 0.000000] Oops: 00000000
[ 0.000000] Modules linked in:
[ 0.000000] PC: [<001f2d34>] memcmp+0x2c/0x5c
[ 0.000000] SR: 2700 SP: (ptrval) a2: 0048b580
[ 0.000000] d0: 00414d11 d1: 0ffffff8 d2: 001f2d08 d3: 0000019e
[ 0.000000] d4: 0804d480 d5: 0080986c a0: 0000000c a1: 0ffffff4
[ 0.000000] Process swapper (pid: 0, task=(ptrval))
[ 0.000000] Frame format=7 eff addr=00489fbc ssw=0505 faddr=0ffffff4
[ 0.000000] wb 1 stat/addr/data: 0005 0804d480 0080986c
[ 0.000000] wb 2 stat/addr/data: 0005 00541000 0000019e
[ 0.000000] wb 3 stat/addr/data: 0005 00489fb4 001f2d08
[ 0.000000] push data: 0080986c 0035d6d0 08001000 08056794
[ 0.000000] Stack from 00489fb4:
[ 0.000000] 001f2d08 0000019e 0035d6d0 00519b0e 0ffffff4 00414d0d 0000000c 00541000
[ 0.000000] 0000019e 0804d480 0080986c 08051150 08062978 08001000 08056794 0ffffff0
[ 0.000000] 005384b2 00000000 00518872
[ 0.000000] Call Trace: [<001f2d08>] memcmp+0x0/0x5c
[ 0.000000] [<0035d6d0>] _printk+0x0/0x18
[ 0.000000] [<00519b0e>] start_kernel+0x86/0x5d2
[ 0.000000] [<00518872>] _sinittext+0x872/0x11f8
[ 0.000000]
[ 0.000000] Code: 4280 6036 2209 200b 2640 2241 5881 5880 <2411> b493 66e4 2241 2640 5988 7403 b488 65e6 60d6 4283 1631 1800 4282 1433 1800
[ 0.000000] Disabling lock debugging due to kernel taint
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---
<<<<<<<<<<<<<<<<<<<<
--
Stephen - Vk3heg
Michael Schmitz
2022-09-10 03:00:01 UTC
Permalink
Hi Geert,
Post by Finn Thain
Hi Michael,
Post by Michael Schmitz
Post by Finn Thain
Post by Stephen Walsh
Kernel 5.19, intrd 5.19
[ 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] initrd: 0f7f6794 - 10000000
Length is 0x80986d.
...
Post by Finn Thain
Post by Stephen Walsh
Kernel 5.18, intrid 5.18
[ 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] initrd: 0f7f7b16 - 10000000
Length is 0x8084eb.
...
Post by Finn Thain
Post by Stephen Walsh
kernel 5.19, intrid 5.15
[ 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] initrd: 0f83283d - 10000000
Length is 0x7cd7c4 which is below 8 MiB. Moreover, this is a known-good
initrd. So the oops appears to be caused by a kernel change and not initrd
growth.
All these have the initrd in the second memory chunk - at least one of
the successful boots had the initrd in the first (8 MB) chunk).
Just spotted another difference - in the success case, the initrd log
message is printed after the initmem setup log message.

Maybe add initcall_debug to the kernel options so we see what happens in
which order in succes and fault cases?
Post by Finn Thain
Post by Michael Schmitz
I know nothing about the way amiboot works, and how the RAM chunk to
copy the initrd image to is selected. Just speculating: maybe amiboot
plus initrd size must be below 8 MB for the first chunk to get used?
m68kboot/common/amiga/linuxboot.c
bi.ramdisk.addr = (u_long)start_mem+mem_size-rd_size;
That's after figuring out which RAM segment the kernel will get loaded
to. If I understand you right, that is always the first memory block. In
all cases, this is the 0x8000000 one (hence the message about chunk
0x7800000 getting ignored by mem setup).

But the initrd does not always get loaded at the end of the kernel RAM
segment - in fact, in all cases where it's instead loaded to the later
ignored segment, the kernel boots fine.
Post by Finn Thain
memreq = kernel_size+bi_size+rd_size;
memptr = (char *)AllocMem(memreq, MEMF_FAST | MEMF_PUBLIC | MEMF_CLEAR);
I expect the allocated memory to be from the largest (second)
block of memory.
Later, everything is copied to the first memory block.
But from a quick glance, I see no check to verify the first
block is sufficiently large.
I think we really need to see the output of "amiboot -d",
for both the good and the bad cases.
Post by Michael Schmitz
But that's a little academic. I really wonder what makes the initrd at
the end of the second RAM chunk fault. But e.g. the range
0f83283d - 10000000
extends one byte beyond what's mapped
node 0: [mem 0x0000000008000000-0x000000000fffffff]
That's because the first printed range is initrd_start, initrd_end,
while the second is (u64)start_pfn << PAGE_SHIFT,
((u64)end_pfn << PAGE_SHIFT) - 1).
And in the success case, initrd_end does just serendipitously happen to
be mapped (first byte of the kernel RAM segment), while in the problem
case it doesn't (beyond end of kernel RAM segment).

How is initrd_end calculate? It's just initrd_start + initrd_size, which
is just fine because the calculation of the bootconfig address from
initrd_end is correct, and initrd_end should never be accessed.
Post by Finn Thain
Post by Michael Schmitz
and the fault occurs at faddr=0ffffff4, at which point the processor
probably pre-fetched out to 10000000.
Or perhaps memcmp() (that's __builtin_memcmp()?) loads 4 words
at once?
It's lib/string.c:memcmp() for me. That does load (unsigned long) for as
long as there's still more than sizeof(unsigned long), then compares bytes.

Might depend on the GCC version?

Changing amiboot to leave some space before the end of RAM is probably
quite hard, but moving the loaded initrd down by a few bytes early on in
the boot (in setup_arch()??) might be a simple way to test the hypothesis.

Cheers,

Michael
Post by Finn Thain
Gr{oetje,eeting}s,
Geert
--
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Geert Uytterhoeven
2022-09-08 06:50:01 UTC
Permalink
Hi Stephen,
Post by Stephen Walsh
Post by Geert Uytterhoeven
Post by Stephen Walsh
amiboot -k vmlinux-5.15.0-2-m68k -r initrd.img-5.15.0-2-m68k
root=/dev/sda2 fb=false debug=mem
Are you sure that is what you really used?
Yes, that is what I've been using and works with 5.15
Screen shot of just before I started a new test. I boot the Amiga with
no startup-sequence and then run the script. (Saves typing).
https://amiga.vk3heg.net/wp-content/uploads/2022/09/PXL_20220907_121140311-scaled.jpg
That indeed looks good.
Does Amiboot print that it actually loads the ramdisk?
Post by Stephen Walsh
Post by Geert Uytterhoeven
I missed this before, but all kernels that failed to mount their root
file systems, and printed no "initrd: <start> - <end>" lines, had the
Kernel command line: ignore_loglevel -r initrd.img-5.19.0-1-m68k
root=/dev/sda2 fb=false debug=mem BOOT_IMAGE=vmlinux-5.19.0-1-m68k
I have seen it do that many times, but but boot correctly. I have also
seen amiboot get the system going and then either not find the hd, or
the nic or vis versa.
That's really strange. Amiboot should only pass the last unrecognized
parts of the parameters as the kernel command line.
Any chance there is not a real space, but a non-breaking space
(SHIFT + SPACE, 0xa0) after the "-r", confusing the parser?

Can you try running Amiboot with "-d"? That will print more info about
the used addresses, and will give you more time to read its output,
by waiting for a keypress before launching Linux.

Thanks!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ***@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Finn Thain
2022-09-07 02:20:01 UTC
Permalink
Post by Stephen Walsh
Here are three debugs..... mixing the kernel/intrid's...
What happens if you boot the 5.19 kernel/initrd pair with "root=/dev/sda2"
omitted from the kernel parameters?

It looks like the oops from the 5.18 build disappeared in the 5.19 build.

That makes me think that the 5.18 build would no longer oops when used
with the 5.19 initrd (?)
Eero Tamminen
2022-09-06 14:40:02 UTC
Permalink
Hi,
Post by Stephen Walsh
[ 3.110000] Call Trace: [<00354d80>] panic+0xc4/0x246
[ 3.110000] [<00355744>] _printk+0x0/0x18
[ 3.110000] [<00355756>] _printk+0x12/0x18
[ 3.110000] [<001ed30c>] strlen+0x0/0x14
[ 3.110000] [<0051054a>] mount_block_root+0x17a/0x194
[ 3.110000] [<001ed268>] strncmp+0x0/0x34
[ 3.110000] [<005105ac>] mount_root+0x48/0x14e
[ 3.110000] [<005105d6>] mount_root+0x72/0x14e
[ 3.110000] [<00008001>] atari_get_hardware_list+0x6d/0x3e0
This seems a bit odd line for kernel boot on Amiga.

That's a static function in atari/config.c, called only by
config_atari() function, which is called only setup_arch() in
kernel/setup_mm.c:
-----------------------------------
...
switch (m68k_machtype) {
#ifdef CONFIG_AMIGA
case MACH_AMIGA:
config_amiga();
break;
#endif
#ifdef CONFIG_ATARI
case MACH_ATARI:
config_atari();
break;
#endif
...
-----------------------------------
Post by Stephen Walsh
[ 3.110000] [<001ed268>] strncmp+0x0/0x34
[ 3.110000] [<0051081e>] prepare_namespace+0x16c/0x17a
[ 3.110000] [<0035a22c>] kernel_init+0x0/0xec
[ 3.110000] [<0035a240>] kernel_init+0x14/0xec
[ 3.110000] [<0035a22c>] kernel_init+0x0/0xec
[ 3.110000] [<00002914>] ret_from_kernel_thread+0xc/0x14
- Eero
Andreas Schwab
2022-09-06 16:20:01 UTC
Permalink
Post by Eero Tamminen
Hi,
Post by Stephen Walsh
[ 3.110000] Call Trace: [<00354d80>] panic+0xc4/0x246
[ 3.110000] [<00355744>] _printk+0x0/0x18
[ 3.110000] [<00355756>] _printk+0x12/0x18
[ 3.110000] [<001ed30c>] strlen+0x0/0x14
[ 3.110000] [<0051054a>] mount_block_root+0x17a/0x194
[ 3.110000] [<001ed268>] strncmp+0x0/0x34
[ 3.110000] [<005105ac>] mount_root+0x48/0x14e
[ 3.110000] [<005105d6>] mount_root+0x72/0x14e
[ 3.110000] [<00008001>] atari_get_hardware_list+0x6d/0x3e0
This seems a bit odd line for kernel boot on Amiga.
It's a false match (0x8001 can be anything).
--
Andreas Schwab, ***@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
Laurent Vivier
2022-09-06 16:40:01 UTC
Permalink
Post by Andreas Schwab
Post by Eero Tamminen
Hi,
Post by Stephen Walsh
[ 3.110000] Call Trace: [<00354d80>] panic+0xc4/0x246
[ 3.110000] [<00355744>] _printk+0x0/0x18
[ 3.110000] [<00355756>] _printk+0x12/0x18
[ 3.110000] [<001ed30c>] strlen+0x0/0x14
[ 3.110000] [<0051054a>] mount_block_root+0x17a/0x194
[ 3.110000] [<001ed268>] strncmp+0x0/0x34
[ 3.110000] [<005105ac>] mount_root+0x48/0x14e
[ 3.110000] [<005105d6>] mount_root+0x72/0x14e
[ 3.110000] [<00008001>] atari_get_hardware_list+0x6d/0x3e0
This seems a bit odd line for kernel boot on Amiga.
It's a false match (0x8001 can be anything).
Stack corruption?

0x8001 looks like

uapi/asm/bootinfo-amiga.h:#define BI_AMIGA_AUTOCON 0x8001 /* AutoConfig device */

Thanks,
Laurent
Finn Thain
2022-09-06 22:10:01 UTC
Permalink
Post by Laurent Vivier
Post by Andreas Schwab
Post by Eero Tamminen
Hi,
Post by Stephen Walsh
[ 3.110000] Call Trace: [<00354d80>] panic+0xc4/0x246
[ 3.110000] [<00355744>] _printk+0x0/0x18
[ 3.110000] [<00355756>] _printk+0x12/0x18
[ 3.110000] [<001ed30c>] strlen+0x0/0x14
[ 3.110000] [<0051054a>] mount_block_root+0x17a/0x194
[ 3.110000] [<001ed268>] strncmp+0x0/0x34
[ 3.110000] [<005105ac>] mount_root+0x48/0x14e
[ 3.110000] [<005105d6>] mount_root+0x72/0x14e
[ 3.110000] [<00008001>] atari_get_hardware_list+0x6d/0x3e0
This seems a bit odd line for kernel boot on Amiga.
It's a false match (0x8001 can be anything).
Expanding a little on what Andreas said above: Linux/m68k doesn't produce
precise backtraces. What gets printed is any value found on the stack that
could possibly be interpreted as an instruction pointer i.e. any address
within a kernel code segment.
Post by Laurent Vivier
Stack corruption?
No, i's not an oops, it's normal behaviour:

[ 3.110000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

This expected, and it is not the crash that was originally reported.

Regarding the oops that was originally reported, the kernel already told
us why it crashed:

[ 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!

Hence Geert's questions aimed at figuring out what's going on with the
bootloader.
Post by Laurent Vivier
0x8001 looks like
uapi/asm/bootinfo-amiga.h:#define BI_AMIGA_AUTOCON 0x8001 /* AutoConfig device */
By the time the kernel gets to mounting the rootfs, the stack frame
generated by amiga_parse_bootinfo() has been clobbered many times over.
Geert Uytterhoeven
2022-09-07 07:20:01 UTC
Permalink
Hi Finn,
Post by Finn Thain
Regarding the oops that was originally reported, the kernel already told
[ 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!
That's not the reason why it crashed. Dropping that memory chunk is
expected (and good) behavior.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ***@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Finn Thain
2022-09-07 09:50:01 UTC
Permalink
Post by Geert Uytterhoeven
Post by Finn Thain
Regarding the oops that was originally reported, the kernel already told
[ 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!
That's not the reason why it crashed.
Maybe. It would be nice if the oops message offered us the fault address
like it used to, instead of "Unable to handle kernel access at virtual
address (ptrval)". This is a regression, IMO, that could be easy or hard
to fix, depending on reviewers' notion of "security"...
Andreas Schwab
2022-09-07 10:10:01 UTC
Permalink
Post by Finn Thain
Post by Geert Uytterhoeven
Post by Finn Thain
Regarding the oops that was originally reported, the kernel already told
[ 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!
That's not the reason why it crashed.
Maybe. It would be nice if the oops message offered us the fault address
like it used to, instead of "Unable to handle kernel access at virtual
address (ptrval)".
I think it's the faddr=0ffffff4.
--
Andreas Schwab, ***@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
Geert Uytterhoeven
2022-09-07 10:10:02 UTC
Permalink
Post by Andreas Schwab
Post by Finn Thain
Post by Geert Uytterhoeven
Post by Finn Thain
Regarding the oops that was originally reported, the kernel already told
[ 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!
That's not the reason why it crashed.
Maybe. It would be nice if the oops message offered us the fault address
like it used to, instead of "Unable to handle kernel access at virtual
address (ptrval)".
I think it's the faddr=0ffffff4.
Which matches

data = (char *)initrd_end - BOOTCONFIG_MAGIC_LEN;

in init/main.c:get_boot_config_from_initrd(), the function identified
by Finn before.

So if the initrd is stored at the end of motherboard RAM:

initrd: 0783283d - 08000000

The code

memcmp(data, BOOTCONFIG_MAGIC, BOOTCONFIG_MAGIC_LEN)

works. When the initrd is stored at the end of WarpEngine RAM:

initrd: 0f7f81c2 - 10000000

it crashes, probably because it is not mapped.

According to

Initmem setup node 0 [mem 0x000000000a000000-0x000000000fffffff]

the memory should be mapped, shouldn't it?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ***@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Andreas Schwab
2022-09-07 10:40:02 UTC
Permalink
Post by Stephen Walsh
initrd: 0783283d - 08000000
The code
memcmp(data, BOOTCONFIG_MAGIC, BOOTCONFIG_MAGIC_LEN)
initrd: 0f7f81c2 - 10000000
it crashes, probably because it is not mapped.
According to
Initmem setup node 0 [mem 0x000000000a000000-0x000000000fffffff]
the memory should be mapped, shouldn't it?
But in the success case, the initrd is located _before_ the node 0
region:

[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] initrd: 0783283d - 08000000
--
Andreas Schwab, ***@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
Finn Thain
2022-09-07 23:10:01 UTC
Permalink
Post by Andreas Schwab
Post by Stephen Walsh
initrd: 0783283d - 08000000
The code
memcmp(data, BOOTCONFIG_MAGIC, BOOTCONFIG_MAGIC_LEN)
initrd: 0f7f81c2 - 10000000
it crashes, probably because it is not mapped.
According to
Initmem setup node 0 [mem 0x000000000a000000-0x000000000fffffff]
the memory should be mapped, shouldn't it?
But in the success case, the initrd is located _before_ the node 0
[ 0.000000] Initmem setup node 0 [mem 0x0000000008000000-0x000000000fffffff]
[ 0.000000] initrd: 0783283d - 08000000
So we see an ATC fault when reading from an address that's mapped but no
fault when the initrd is located in "unused" memory. I find that
surprising. Yet the fault address is initrd_end - BOOTCONFIG_MAGIC_LEN.
Anyway, it appears Geert is right and I was wrong about the memory chunk
at 0x7800000:0x800000 being the cause of the fault. But it does look like
the use of that chunk may have prevented the fault in the success case.
Finn Thain
2022-09-04 09:50:01 UTC
Permalink
Hi Stephen,
Post by Stephen Walsh
On Sat, 3 Sep 2022 13:10:46 +0200
Post by Ingo Jürgensmann
Post by Stephen Walsh
Amiga 3000
128Mb ram on warpengine
Uhm? How do you get the Warpengine with 128MB into an A3000? Usually
there is not enough space on the Warpengine for 4x 32 MB SIMMs - or
did you use 2x 64MB ones or 4x single sided 32 MB SIMM with two
additional sockets?
That's not relevant to this, but my A3000 isn't in a desktop case.
Still, it might help to narrow down the bug if you also test a RAM
configuration that others have had success with -- if possible.
Post by Stephen Walsh
Post by Ingo Jürgensmann
Post by Stephen Walsh
Booting kernel/inintrid 5.15.0-2 works and the machine boots all the
way.
[...]
Post by Ingo Jürgensmann
Post by Stephen Walsh
When trying the newer kernel's, all I'm doing is replacing the
kernel/initrid with the newer versions.
Append "debug=mem" to your boot line and run dmesg under AOS after a
reboot. Please read the readme file.) and send the output to the
appropriate list.
This is the debug output.
[ 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] initrd: 0f7f81c2 - 10000000
[ 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] 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]
That looks like the point where you'd normally see output from,

pr_info("Built %u zonelists, mobility grouping %s. Total pages: %ld\n",
nr_online_nodes,
page_group_by_mobility_disabled ? "off" : "on",
vm_total_pages);

but the address of this format string is not in the oops message. (It
might help to add "ignore_loglevel" to the kernel parameters.)

Anyway, 0040af3d and 0040af41 can be seen in the oops messages, which can
be found in "objdump -s" output:

40af30 6f707469 6f6e7300 01352573 0023424f options..5%s.#BO
40af40 4f54434f 4e464947 0a000133 626f6f74 OTCONFIG...3boot
40af50 636f6e66 69672073 697a6520 25642069 config size %d i
40af60 73206772 65617465 72207468 616e2069 s greater than i
40af70 6e697472 64207369 7a652025 6c640a00 nitrd size %ld..

I can't see how setup_boot_config() could crash before linux_banner got
printed... but it does do this,

if (!memcmp(data, BOOTCONFIG_MAGIC, BOOTCONFIG_MAGIC_LEN))
goto found;

which seems to fit the backtrace.

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.
Post by Stephen Walsh
[ 0.000000] Unable to handle kernel access at virtual address (ptrval)
[ 0.000000] Oops: 00000000
[ 0.000000] PC: [<001ed444>] memcmp+0x2c/0x5c
[ 0.000000] SR: 2700 SP: (ptrval) a2: 00481530
[ 0.000000] d0: 0040af41 d1: 0ffffff8 d2: 001ed418 d3: 0000019e
[ 0.000000] d4: 0a04a258 d5: 00807e3e a0: 0000000c a1: 0ffffff4
[ 0.000000] Process swapper (pid: 0, task=(ptrval))
[ 0.000000] Frame format=7 eff addr=0047ffbc ssw=0505 faddr=0ffffff4
[ 0.000000] wb 1 stat/addr/data: 0005 0a04a258 00807e3e
[ 0.000000] wb 2 stat/addr/data: 0005 00536000 0000019e
[ 0.000000] wb 3 stat/addr/data: 0005 0047ffb4 001ed418
[ 0.000000] push data: 00807e3e 00355744 0a001000 0a05356c
[ 0.000000] 001ed418 0000019e 00355744 0050fb0e 0ffffff4 0040af3d 0000000c 00536000
[ 0.000000] 0000019e 0a04a258 00807e3e 0a04df28 0a05f750 0a001000 0a05356c 0ffffff0
[ 0.000000] 0052e2b8 00000000 0050e872
[ 0.000000] Call Trace: [<001ed418>] memcmp+0x0/0x5c
[ 0.000000] [<00355744>] _printk+0x0/0x18
[ 0.000000] [<0050fb0e>] start_kernel+0x86/0x5a0
[ 0.000000] [<0050e872>] _sinittext+0x872/0x11f8
[ 0.000000]
[ 0.000000] Code: 4280 6036 2209 200b 2640 2241 5881 5880 <2411> b493 66e4 2241 2640 5988 7403 b488 65e6 60d6 4283 1631 1800 4282 1433 1800
[ 0.000000] Disabling lock debugging due to kernel taint
[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---
<<<<<<<<<<<<<<<<<<<<
Stephen Walsh
2022-09-04 12:40:01 UTC
Permalink
Hi Finn,
Post by Finn Thain
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-***@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 <***@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
Finn Thain
2022-09-05 00:10:01 UTC
Permalink
Post by Stephen Walsh
Post by Finn Thain
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.
OK. I assume that it was the initrd change that prevented the oops and not
the addition of ignore_loglevel.

Your results suggest to me that the problem was triggered by the growth of
the initrd between v5.15 and v5.18.

My guess is that the bootloader made use of the 8 MB memory chunk which
was later discarded by the kernel.

[ 0.000000] Ignoring memory chunk at 0x7800000:0x800000 before the first chunk

This may actually be a bootloader bug, i.e. memory chunks not in the
correct sequence (?).

Anyway, I agree with Ingo, this problem has to do with memory layout
and/or bootloader behaviour and the way to avoid it is probably a memfile.

As I have no experience with booting Linux on Amigas I can't be of much
more help unfortunately. So I'll stop guessing and leave this to the Amiga
experts.

Regards,
Finn
Loading...