Re: Booting Kernel on Amiga 3000
On Fri, 9 Sep 2022, Stephen Walsh wrote:
> Hi Guys.
>
> As requested.
>
Thanks for sending those results.
> 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.
> 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
>
OK.
>
> Kernel 5.19, intrd 5.19
>
> >>>>>>>>>>>>>>>>>>>>
> [ 0.000000] Linux version 5.19.0-1-m68k (debian-kernel@lists.debian.org) (gcc-11 (Debian 11.3.0-5) 11.3.0, GNU ld (GNU Binutils for Debian) 2.38.90.20220713) #1 Debian 5.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
Length is 0x80986d.
> [ 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-kernel@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
Length is 0x8084eb.
> [ 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-kernel@lists.debian.org) (gcc-11 (Debian 11.3.0-5) 11.3.0, GNU ld (GNU Binutils for Debian) 2.38.90.20220713) #1 Debian 5.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
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.
> [ 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-kernel@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
Length etc. is the same here.
> [ 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! ]---
> <<<<<<<<<<<<<<<<<<<<
>
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.
Reply to: