MX 17/18 Repository: The Liquorix Kernel Thread

Locked
Message
Author
grelos
Posts: 69
Joined: Wed Mar 28, 2018 3:12 pm

Re: MX 17 Repository: The Liquorix Kernel Thread

#71 Post by grelos »

Since I upgraded from 4.15 to 4.17.x (I do not remember it now) the laptop works much better in general, especially shutting down is unbelievably quicker.
MX-19 on Lenovo 520-15IKB

User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

Re: Baytrail-kernel Re: MX 17 Repository: The Liquorix Kernel Thread

#72 Post by Stevo »

cinclus wrote: Tue Sep 04, 2018 10:31 pm https://plus.google.com/communities/117 ... 4346186936
https://drive.google.com/drive/folders/ ... DugCW492cp
There is a kernel patch-set from John Brodie for building a 32-Bit Liquorix-kernel (4.16.16-zen) for my Asus T100TA.
Question:
The 32-Bit Liquorix kernel-configuration file is ".config-i686-zen (baytrail)". Would that be suitable for building a live-kernel for MX-17?
Any comments highly appreciated.
Since I don't know what's different in his patchset, I don't feel qualified to answer that question.

jbMacAZ
Posts: 61
Joined: Tue Aug 22, 2017 2:08 am

Re: Baytrail-kernel Re: MX 17 Repository: The Liquorix Kernel Thread

#73 Post by jbMacAZ »

cinclus wrote: Tue Sep 04, 2018 10:31 pm patch-set from John Brodie for building a 32-Bit Liquorix-kernel (4.16.16-zen) for my Asus T100TA.
Question:
The 32-Bit Liquorix kernel-configuration file is ".config-i686-zen (baytrail)". Would that be suitable for building a live-kernel for MX-17?
I would expect so. There is a 4.16.16-zen-i686 kernel already built on that site. It works on Peppermint, SparkyLinux, Mint 19 and was derived from a 4.16.11-zen-amd64 kernel build that does run on a remastered liveUSB MX-17.1 on my Asus T100CHI. But I haven't tested 4.16.16-zen-i686 on MX-Linux. The .config would be a good starting point if it doesn't just work. The kernel should work on an installation. It's the remastering support that is a little more demanding. Despite the Ubuntu name in the G+ group, the Ubuntu patches are not part of the built kernels from there.

Another approach would be to diff or meld the official liquorix .config, mine and an equivalent MX-Linux kernel .config. It's a bit tedious, but with enough trial and error you should get something that works. If it doesn't work, getting support to fix a customized kernel could be a challenge. The good news is that kernel support for the T100 family has never been better and it is possible to run with unmodified kernels >= 4.16. Auto dimming won't work and nobody has baytrail soc camera support, but most other stuff works.
-John
MX-18 on Asus T100CHI (z3775 Intel baytrail) mixed-mode 32 bit UEFI, 64 bit OS
Dell 3250 Inspiron desktop, i5-6400, 64 bit OS

User avatar
JLS727
Posts: 38
Joined: Sat May 02, 2015 4:18 pm

Re: MX 17 Repository: The Liquorix Kernel Thread

#74 Post by JLS727 »

cinclus, I have an Asus T100TA netbook and have been unable to boot into any version of linux. Could you tell me how you did it? I would really like to install MX-17.1 on my netbook as well. Thank you for any assistance.

cinclus
Posts: 103
Joined: Sun Mar 13, 2016 5:35 am

Re: Baytrail-kernel Re: MX 17 Repository: The Liquorix Kernel Thread

#75 Post by cinclus »

jbMacAZ wrote: Wed Sep 05, 2018 6:02 pm
cinclus wrote: Tue Sep 04, 2018 10:31 pm The 32-Bit Liquorix kernel-configuration file is ".config-i686-zen (baytrail)". Would that be suitable for building a live-kernel for MX-17?
There is a 4.16.16-zen-i686 kernel already built on that site. It works on Peppermint, SparkyLinux, Mint 19 and was derived from a 4.16.11-zen-amd64 kernel build that does run on a remastered liveUSB MX-17.1 on my Asus T100CHI. But I haven't tested 4.16.16-zen-i686 on MX-Linux. The .config would be a good starting point if it doesn't just work. The kernel should work on an installation. It's the remastering support that is a little more demanding. Despite the Ubuntu name in the G+ group, the Ubuntu patches are not part of the built kernels from there.
Another approach would be to diff or meld the official liquorix .config, mine and an equivalent MX-Linux kernel .config. It's a bit tedious, but with enough trial and error you should get something that works. If it doesn't work, getting support to fix a customized kernel could be a challenge. The good news is that kernel support for the T100 family has never been better and it is possible to run with unmodified kernels >= 4.16. Auto dimming won't work and nobody has baytrail soc camera support, but most other stuff works.
-John
John,

thank you very much. These a very valuable hints from where to start. Perhaps a remastered MX-17 with this kernel
http://mxrepo.com/mx/testrepo/pool/test ... 1_i386.deb
could be a good starting point for learning to do the difficult 32-Bit uefi settings. But to go further and build a new kernel a patch-set for that very kernel would perhaps be helpful which I can't find under that same directory
http://mxrepo.com/mx/testrepo/pool/test ... -liquorix/.

-Joachim

User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

Re: MX 17 Repository: The Liquorix Kernel Thread

#76 Post by Stevo »

The original 4.16-6 packaging is on github here: https://github.com/damentz/liquorix-pac ... ter=4.17-2

So you'd just need to get the 4.16.0 kernel tarball from kernel.org and rename it to linux-liquorix_4.16.orig.tar.xz, then extract it and the package tarball, and then put the debian folder from that into the extracted source. Then your extra patches can be added to debian/patches and the series file there, and hope that they are compatible.

jbMacAZ
Posts: 61
Joined: Tue Aug 22, 2017 2:08 am

Re: MX 17 Repository: The Liquorix Kernel Thread

#77 Post by jbMacAZ »

Sorry, the built 32 bit kernel (4.16.16-zen-i686) is at the G+ T100/Ubuntu group community files. Try this link https://drive.google.com/drive/folders/ ... k_wGxaWPwP
copy the 2 files to an empty folder on your T100TA , open a terminal and install it with

Code: Select all

sudo dpkg -i *.deb
Next you need to use the wiki to update the kernel (kernel updater) on the liveUSB before remastering.

Disclaimer: 32 bit kerrnel optimized specifically for the the T100 (Intel baytrail). This kernel is unknown to the MX-linux team, and I am a relative newbie here...
MX-18 on Asus T100CHI (z3775 Intel baytrail) mixed-mode 32 bit UEFI, 64 bit OS
Dell 3250 Inspiron desktop, i5-6400, 64 bit OS

User avatar
fehlix
Developer
Posts: 10303
Joined: Wed Apr 11, 2018 5:09 pm

Re: MX 17 Repository: The Liquorix Kernel Thread

#78 Post by fehlix »

Stevo wrote: Mon Sep 03, 2018 10:45 pm We now have 4.18-4 in the test repo, based on vanilla kernel release 4.18.5. Upgraders should also use the latest Nvidia driver from backports as necessary, or other dkms packages and firmware from our MX test repo if your hardware requires those.

All 4.17 Liquorix kernel versions have been removed except for the last release.
After having latest Liquorix kernel 4.18.0-8.1-liquorix-amd64 from test-repo installed,
and all works great.. I thought, why not give latest nvidia driver 390.48-2~mx17+1 from test-repo a try.
Not sure what the best procedure is to install this from test-repo.
I tried it this way: Enabled test-repo and run "ddm-mx -i nvidia" from console.
It looked promising, but ... here a short log with the final error building the module:

Code: Select all

 ddm-mx -i nvidia
 ...
 Kandidat ist: 390.48-2~mx17+1
 ...
 Nvidia-Befehl = apt-get install --reinstall -y --force-yes   nvidia-driver nvidia-settings nvidia-kernel-dkms nvidia-xconfig
 ...
nvidia-kernel-dkms (390.48-2~mx17+1) wird eingerichtet ...
Loading new nvidia-current-390.48 DKMS files...
Building for 4.18.0-8.1-liquorix-amd64
Building initial module for 4.18.0-8.1-liquorix-amd64
Error! Bad return status for module build on kernel: 4.18.0-8.1-liquorix-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/390.48/build/make.log for more information.
...
update-initramfs: Generating /boot/initrd.img-4.18.0-8.1-liquorix-amd64
/usr/local/bin/ddm-mx: Zeile 472: erstelle Datei /etc/X11/xorg.conf: Datei oder Verzeichnis nicht gefunden

WARNING: Unable to locate/open X configuration file.

New X configuration file written to '/etc/X11/xorg.conf'
Rebooting into console purged with "ddm-mx -p nvidia"
with this card:

Code: Select all

Graphics:  Device-1: NVIDIA GK104 [GeForce GTX 770] driver: nouveau v: kernel 
           Display: x11 server: X.Org 1.19.2 driver: nouveau unloaded: fbdev,modesetting,vesa 
           resolution: 1680x1050~60Hz, 1920x1080~60Hz 
           OpenGL: renderer: Gallium 0.4 on NVE4 v: 4.3 Mesa 13.0.6 
What the safest procedure or alternative procedure to do the job?
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

Re: MX 17 Repository: The Liquorix Kernel Thread

#79 Post by Stevo »

I'm pretty sure you'll have to install the newer Nvidia driver from backports for a 4.18 kernel until I port it over to the test repo. I know that version builds. The Nvidia-installer makes it pretty easy to install from backports, though.

User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

Re: MX 17 Repository: The Liquorix Kernel Thread

#80 Post by Stevo »

OK, nvidia-driver 390.77 is ported over from backports to our test repo, so I hope it's now installable.

Locked

Return to “Package Requests/Status - MX 17/18”