Kernel 4.13

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

Re: Kernel 4.13

Post by xeno74 »

Hi All,

I have removed the block updates in the bad commit Merge tag 'libnvdimm-for-4.13'.

Code: Select all

cp ../../linux-4.12/a/drivers/block/brd.c drivers/block/brd.c
Unfortunately the block updates aren't the problem. I have to look to the other updates.

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

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

Re: Kernel 4.13

Post by xeno74 »

Hi All,

I have removed the FLUSHCACHE updates in the bad commit Merge tag 'libnvdimm-for-4.13'.

Code: Select all

christian@AmigaoneX1000:~/Downloads/linux-4.13/a$ cp ../../linux-4.12/a/lib/Kconfig lib/Kconfig
christian@AmigaoneX1000:~/Downloads/linux-4.13/a$ cp ../../linux-4.12/a/lib/iov_iter.c lib/iov_iter.c

Code: Select all

lib/iov_iter.c:538:8: error: redefinition of ‘copy_to_iter’
 size_t copy_to_iter(const void *addr, size_t bytes, struct iov_iter *i)
        ^~~~~~~~~~~~
In file included from lib/iov_iter.c:3:0:
./include/linux/uio.h:103:8: note: previous definition of ‘copy_to_iter’ was here
 size_t copy_to_iter(const void *addr, size_t bytes, struct iov_iter *i)
        ^~~~~~~~~~~~
lib/iov_iter.c:555:8: error: redefinition of ‘copy_from_iter’
 size_t copy_from_iter(void *addr, size_t bytes, struct iov_iter *i)
        ^~~~~~~~~~~~~~
In file included from lib/iov_iter.c:3:0:
./include/linux/uio.h:112:8: note: previous definition of ‘copy_from_iter’ was here
 size_t copy_from_iter(void *addr, size_t bytes, struct iov_iter *i)
        ^~~~~~~~~~~~~~
lib/iov_iter.c:574:6: error: redefinition of ‘copy_from_iter_full’
 bool copy_from_iter_full(void *addr, size_t bytes, struct iov_iter *i)
      ^~~~~~~~~~~~~~~~~~~
In file included from lib/iov_iter.c:3:0:
./include/linux/uio.h:121:6: note: previous definition of ‘copy_from_iter_full’ was here
 bool copy_from_iter_full(void *addr, size_t bytes, struct iov_iter *i)
      ^~~~~~~~~~~~~~~~~~~
lib/iov_iter.c:599:8: error: redefinition of ‘copy_from_iter_nocache’
 size_t copy_from_iter_nocache(void *addr, size_t bytes, struct iov_iter *i)
        ^~~~~~~~~~~~~~~~~~~~~~
In file included from lib/iov_iter.c:3:0:
./include/linux/uio.h:130:8: note: previous definition of ‘copy_from_iter_nocache’ was here
 size_t copy_from_iter_nocache(void *addr, size_t bytes, struct iov_iter *i)
        ^~~~~~~~~~~~~~~~~~~~~~
lib/iov_iter.c:618:6: error: redefinition of ‘copy_from_iter_full_nocache’
 bool copy_from_iter_full_nocache(void *addr, size_t bytes, struct iov_iter *i)
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from lib/iov_iter.c:3:0:
./include/linux/uio.h:139:6: note: previous definition of ‘copy_from_iter_full_nocache’ was here
 bool copy_from_iter_full_nocache(void *addr, size_t bytes, struct iov_iter *i)
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [lib/iov_iter.o] Fehler 1
make: *** [lib] Fehler 2
OK, it doesn't work.

Edit: It doesn't work but I figured out that it isn't enabled in our kernel config so it's not interesting for us.

Cheers,
Christian
Last edited by xeno74 on Sat Jul 29, 2017 3:31 pm, edited 1 time in total.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 4.13

Post by xeno74 »

Hi All,

I have removed the dax updates in the bad commit Merge tag 'libnvdimm-for-4.13'.

Code: Select all

christian@AmigaoneX1000:~/Downloads/linux-4.13/a$ cp ../../linux-4.12/a/fs/dax.c fs/dax.c
christian@AmigaoneX1000:~/Downloads/linux-4.13/a$ cp ../../linux-4.12/a/include/linux/dax.h include/linux/dax.h


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

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

Re: Kernel 4.13

Post by xeno74 »

Hi All,

I installed the old Mesa 17.0.1 on the MATE PowerPC Remix 2017 today and this solves the problem. I am happy! :-) Many thanks to Julian for the hint!

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

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

Re: Kernel 4.13

Post by xeno74 »

tbreeden wrote: Restoring the /etc/X11/xorg.conf that was there previously makes the 4.11 kernel boot ok into the GUI.
Hi Tom,

We have solved the problem. :-)

Please boot the MATE PowerPC Remix 2017 with an older kernel like 4.9, 4.10, 4.11, or 4.12. After that, please install the Mesa version 17.0.1 with the following commands.

Code: Select all

sudo dpkg -i libgl1-mesa-dri_17.0.1-1ubuntu1_powerpc.deb

Code: Select all

sudo dpkg -i libgl1-mesa-glx_17.0.1-1ubuntu1_powerpc.deb
Afterwards, please reboot your X1000 with the kernel 4.13. Thank you for helping us.

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

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

Re: Kernel 4.13

Post by xeno74 »

Hi All,

I released the RC2 for the X1000 and X5000 today.

New:
Download: vmlinux-4.13-rc2-AmigaONE_X1000_X5000.tar.gz

Image

Please note: Please install the Mesa version 17.0.1 if you want to use the MATE PowerPC Remix 2017 with the kernel 4.13.

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

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

Re: Kernel 4.13

Post by xeno74 »

Hi All,

I have recently released the RC3 for the X1000 and X5000.

New:
Download: vmlinux-4.13-rc3-AmigaONE_X1000_X5000.tar.gz

Image

Please note: Please install the Mesa version 17.0.1 if you want to use the MATE PowerPC Remix 2017 with the kernel 4.13.

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

Running Linux on AmigaONEs can require some tinkering.
User avatar
tbreeden
Posts: 160
Joined: Sat Jun 18, 2011 12:57 am
Location: Charlottesville, VA, USA
Contact:

Re: Kernel 4.13

Post by tbreeden »

Hi Tom,

We have solved the problem. :-)

please install the Mesa version 17.0.1 with the following commands. ...
Hurray, that did it!

After I re-installed these Mesa packages, everything worked very well.

I did have to use a workaround for the keyboard to make more progress, however. :D

Image

Tom
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.13

Post by xeno74 »

tbreeden wrote:
Hurray, that did it!

After I re-installed these Mesa packages, everything worked very well.

I did have to use a workaround for the keyboard to make more progress, however. :D

Image

Tom
:-) Well done!
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 4.13

Post by xeno74 »

Hi All,

Here is the RC4 for the X1000 and X5000.

New:
Download: vmlinux-4.13-rc4-AmigaONE_X1000_X5000.tar.gz

Please note: Please install the Mesa version 17.0.1 if you want to use the MATE PowerPC Remix 2017 with the kernel 4.13.

Download: Mesa-17.0.1-MATE_PowerPC_Remix_2017.tar.bz2

Screenshot of the MATE PowerPC Remix 2017 with the RC4 of kernel 4.13:

Image

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

Running Linux on AmigaONEs can require some tinkering.
Post Reply