Kernel 4.13

AmigaOne X1000 platform specific issues related to Linux only.

Re: Kernel 4.13

Postby xeno74 » Wed Jul 26, 2017 10:17 am

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: 3076
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.13

Postby xeno74 » Sat Jul 29, 2017 2:52 pm

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 4: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: 3076
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.13

Postby xeno74 » Sat Jul 29, 2017 4:22 pm

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: 3076
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.13

Postby xeno74 » Sat Jul 29, 2017 6:30 pm

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: 3076
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.13

Postby xeno74 » Sun Jul 30, 2017 8:20 pm

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: 3076
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.13

Postby xeno74 » Sun Jul 30, 2017 10:05 pm

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: 3076
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.13

Postby xeno74 » Mon Jul 31, 2017 1:03 pm

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
xeno74
 
Posts: 3076
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.13

Postby tbreeden » Tue Aug 01, 2017 4:45 am

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
tbreeden
 
Posts: 87
Joined: Sat Jun 18, 2011 1:57 am
Location: Charlottesville, VA, USA

Re: Kernel 4.13

Postby xeno74 » Tue Aug 01, 2017 5:51 am

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: 3076
Joined: Fri Mar 23, 2012 8:58 am

Re: Kernel 4.13

Postby xeno74 » Mon Aug 07, 2017 9:54 pm

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.
User avatar
xeno74
 
Posts: 3076
Joined: Fri Mar 23, 2012 8:58 am

PreviousNext

Return to Platform: AmigaOne X1000 - Linux Only

Who is online

Users browsing this forum: No registered users and 2 guests

cron