Kernel 5.15

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

Re: Kernel 5.15

Post by xeno74 »

Hypex wrote: Mon Sep 20, 2021 10:01 am Okay, so I installed the final 5.14, then alpha1 and rc1 of 5.15. All look to work fine.

All installed fine in my boot manager and subsequently booted fine.

Though, I thought the alpha1 may have an issue because of a delay before I could log in, but later it cleared up. However, my Fienix has a quirk, because it only boots in emergency mode. I don't know why. I wonder if it's due to getting my R7 working ages ago and it changed something. My boot line is simple. I'm so used to pressing Ctrl-D now I just ignore it. :-)

Code: Select all

console=tty0 root=/dev/sda16

Hi Hypex,

Many thanks for testing! Great that they work with the X1Boot Manager. :-)

Have you seen any error messages because of the Fienix issue?

Cheers,
Christian
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: Kernel 5.15

Post by xeno74 »

Hi All,

I have released the RC2 of kernel 5.15 for testing.

New:
Download: linux-image-5.15-rc2-X1000_X5000.tar.gz

Image


@Darren
Thanks a lot for your pas_pci_init patch! It still works without any problems. Could you please submit your patch to the kernel developers?

@All
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
Hypex
Beta Tester
Beta Tester
Posts: 645
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: Kernel 5.15

Post by Hypex »

xeno74 wrote: Mon Sep 20, 2021 10:12 am
Hypex wrote: Mon Sep 20, 2021 10:01 am Hi Hypex,

Many thanks for testing! Great that they work with the X1Boot Manager. :-)
Yes it is. I should update it to deal with these beta kernels. I've got all these old modules left behind. But it is useful for me to test. I just install an updated kernel and if the name matches my default I can immediately save and reboot. :D
Have you seen any error messages because of the Fienix issue?

Cheers,
Christian
The only thing I've noticed is a fail on checking boot mount. Which I thought I had fixed when I found the UUID didn't match in the fstab. But it tends to continue after though now I wonder if this red flags it.
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 645
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: Kernel 5.15

Post by Hypex »

xeno74 wrote: Mon Sep 20, 2021 10:12 am Hi Hypex,

Many thanks for testing! Great that they work with the X1Boot Manager. :-)
Yes it is. I should update it to deal with these beta kernels. I've got all these old modules left behind. But it is useful for me to test. I just install an updated kernel and if the name matches my default I can immediately save and reboot. :D
Have you seen any error messages because of the Fienix issue?

Cheers,
Christian
The only thing I've noticed is a fail on checking boot mount. Which I thought I had fixed when I found the UUID didn't match in the fstab. But it tends to continue after though now I wonder if this red flags it.
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.15

Post by xeno74 »

Hypex wrote: Mon Sep 20, 2021 5:46 pm [The only thing I've noticed is a fail on checking boot mount. Which I thought I had fixed when I found the UUID didn't match in the fstab. But it tends to continue after though now I wonder if this red flags it.
Do you have another Linux distribution installed on your X1000? If yes, please check the file system of Fienix with the command ”e2fsck -f”.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 645
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: Kernel 5.15

Post by Hypex »

xeno74 wrote: Tue Sep 21, 2021 7:46 am Do you have another Linux distribution installed on your X1000? If yes, please check the file system of Fienix with the command ”e2fsck -f”.
I do, in fact two, but I'm afraid they are too old. It told me! The newist is Ubuntu 14.04. I have a rescue menu entry, but it points to my Fienix, IIRC. Seens I could do with a mini Linux I could set up for rescue operations. One that doesn't need a full distro for the bare minimum. Perhaps a Debian installer in rescue mode would be suitable.

Also, I tried to enter root terminal at boot, but it only responded to return key and other keys didn't work. Strange, I could still Ctrl-D it.
User avatar
xeno74
Posts: 9320
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.15

Post by xeno74 »

Hypex wrote: Tue Sep 21, 2021 5:58 pm Seens I could do with a mini Linux I could set up for rescue operations. One that doesn't need a full distro for the bare minimum. Perhaps a Debian installer in rescue mode would be suitable.
You can use the new Debian or Void images for repairing the file system from a USB stick.

Downloads:
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: Kernel 5.15

Post by xeno74 »

Just for info:
Sven wrote:

Code: Select all

Hi,

This series adds support for the I2C controller found on Apple Silicon Macs
which has quite a bit of history:

Apple bought P.A. Semi in 2008 and it looks like a part of its legacy continues
to live on in the M1. This controller has actually been used since at least the
iPhone 4S and hasn't changed much since then.
Essentially, there are only a few differences that matter:

   - The controller no longer is a PCI device
   - Starting at some iPhone an additional bit in one register
         must be set in order to start transmissions.
   - The reference clock and hence the clock dividers are different

In order to add support for a platform device I first replaced PCI-specific
bits and split out the PCI driver to its own file. Then I added support
to make the clock divider configurable and converted the driver to use
managed device resources to make it a bit simpler.

The Apple and PASemi driver will never be compiled in the same kernel
since the Apple one will run on arm64 while the original PASemi driver
will only be useful on powerpc.
I've thus followed the octeon (mips)/thunderx(arm64) approach to do the
split: I created a -core.c file which contains the shared logic and just
compile that one for both the PASemi and the new Apple driver.

Now unfortunately I don't have access to any old PASemi hardware and
cannot confirm that my changes haven't broken anything for those.
I believe Hector was in contact with Olof a few months ago who
said that he might still have an old machine on which he could
test this.
I'd very much appreciate if he (or anyone else for that matter :-)) 
could give this series a quick test on the old PASemi machines.


Best,

Sven
Links:
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: Kernel 5.15

Post by xeno74 »

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: Kernel 5.15

Post by xeno74 »

FYI:
Sven wrote: Hi Christian,

Thanks already for volunteering to test this!

On Sun, Sep 26, 2021, at 22:27, Christian Zigotzky wrote:
Hi Sven,

I can't apply your patch 5 (i2c: pasemi: Split pci driver to its own file). [1]

——

That's strange because it should apply cleanly. I'll double check after to work today to see if I messed up while sending this.

——
Error message:

patching file b/drivers/i2c/busses/i2c-pasemi-core.c (renamed from a/drivers/i2c/busses/i2c-pasemi.c)
Hunk #3 FAILED at 344.
1 out of 3 hunks FAILED -- saving rejects to file
b/drivers/i2c/busses/i2c-pasemi-core.c.rej
patching file b/drivers/i2c/busses/i2c-pasemi-core.h
patching file b/drivers/i2c/busses/i2c-pasemi-pci.c

Please post one patch with all your modifications.
——

Sure, will do that later as well!

Best,

Sven
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply