New kernels

AmigaOne X1000 platform specific issues related to Linux only.
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: New kernels

Post by xeno74 »

musa wrote: Wed May 31, 2023 9:42 pm Hi
Linux6.4_rc4 boot Fienix but give me kernel panic on Debian 64 and debain 32 . Will try again later
Have a nice day
Thank you! :-) Have you seen any error messages in the output of the kernel panic?
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: New kernels

Post by xeno74 »

musa wrote: Wed May 31, 2023 9:42 pm Hi
Linux6.4_rc4 boot Fienix but give me kernel panic on Debian 64 and debain 32 . Will try again later
Have a nice day
Peter,

Maybe the block device node id changes sometimes so the root boot argument is not correct anymore.

In my point of view it is better to use names (LABELs) for partitions.

Further information: Booting with an initial ramdisk and LABEL

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
musa
Posts: 709
Joined: Tue Aug 23, 2011 7:58 pm

Re: New kernels

Post by musa »

Hi
Trying to boot debian64 bookworm with a ramdisk - it's a very slow method but after 10 minutes the system reports
Begin: running/scripts/localblock ... done. this goes on and on and after a long time I stop.
I also think that if Debian, which is on sdc4, is no longer is on sdc4, then my fixed debian menu item should not work either, but it works and points to sdc4
For now, I'm out of ideas
Have a nice day.


Image
AmigaX1000
Follow me on twitter @basjoo_dk
User avatar
sailorMH
Posts: 230
Joined: Wed Aug 28, 2013 6:01 pm
Location: Czech republic

Re: New kernels

Post by sailorMH »

for me DebianSid boots:
Image

boots vmlinux with parameter rootdelay=10.
I am not tested mintPPC, it is also DebianSid.

P.S: my standart rootdelay=5 works too.
Micro A1-C (G3/1.2 GHz), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: New kernels

Post by xeno74 »

musa wrote: Thu Jun 01, 2023 10:46 am Hi
Trying to boot debian64 bookworm with a ramdisk - it's a very slow method but after 10 minutes the system reports
Begin: running/scripts/localblock ... done. this goes on and on and after a long time I stop.
I also think that if Debian, which is on sdc4, is no longer is on sdc4, then my fixed debian menu item should not work either, but it works and points to sdc4
For now, I'm out of ideas
Have a nice day.
Have you assigned a name for the debian64 partition? For example:

Code: Select all

bash-5.1# tune2fs -L DEBIAN /dev/sdb6
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: New kernels

Post by xeno74 »

FYI:

MGLRU Looks Like One Of The Best Linux Kernel Innovations Of The Year -- phoronix.com

Further information: Multi-Gen LRU

Code: Select all

CONFIG_LRU_GEN=y
CONFIG_LRU_GEN_ENABLED=y
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: New kernels

Post by xeno74 »

sailorMH wrote: Thu Jun 01, 2023 4:56 pm for me DebianSid boots:

boots vmlinux with parameter rootdelay=10.
I am not tested mintPPC, it is also DebianSid.

P.S: my standart rootdelay=5 works too.
Many thanks for testing! :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: New kernels

Post by xeno74 »

Hi All,

I released the RC5 of kernel 6.4 for the X1000 and X5000 today.

New:
Download: linux-image-6.4-rc5-X1000_X5000.tar.gz

Image

Please test the kernels.

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
musa
Posts: 709
Joined: Tue Aug 23, 2011 7:58 pm

Re: New kernels

Post by musa »

Hi
I format my usb drive and put vmlinux-5.11 or vmlinux 6.4-rc5 on it. Boot my x1000 and use the following command setenv bootargs "root=/dev/sdc4" (Debian64)
boot -elf -noints -fatfs usbdisk0:vmlinux-5.11
Debian boot with no error.
Restart x1000
Then
bootargs "root=/dev/sdc4" (Debian64)
boot -elf -noints -fatfs usbdisk0:vmlinux-6.4_rc5
Kernel panic.
Trying my other partitions with Debian 32, Fedora, Void, Feinix
same result. vmlinux-6.4_rc5 gets kernel panic early in the boot
Have a nice day
AmigaX1000
Follow me on twitter @basjoo_dk
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: New kernels

Post by xeno74 »

musa wrote: Wed Jun 07, 2023 9:35 am Hi
I format my usb drive and put vmlinux-5.11 or vmlinux 6.4-rc5 on it. Boot my x1000 and use the following command setenv bootargs "root=/dev/sdc4" (Debian64)
boot -elf -noints -fatfs usbdisk0:vmlinux-5.11
Debian boot with no error.
Restart x1000
Then
bootargs "root=/dev/sdc4" (Debian64)
boot -elf -noints -fatfs usbdisk0:vmlinux-6.4_rc5
Kernel panic.
Trying my other partitions with Debian 32, Fedora, Void, Feinix
same result. vmlinux-6.4_rc5 gets kernel panic early in the boot
Have a nice day
Have you seen any error messages in the kernel panic?

How many hard disks/SSDs are installed in your X1000? Are they connected to the SATA ports? Is one connected to the IDE port?

Maybe you need to add "rootdelay=5" to the boot arguments.
musa wrote: Wed Jun 07, 2023 9:35 am Then
bootargs "root=/dev/sdc4" (Debian64)
Only "bootargs" or "setenv bootargs"?

Void PPC and Debian Sid PPC64 boot with the RC5 on my X1000.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply