Bionic64 with more recent kernel? (Solved)

Using applications, configuring, problems
Message
Author
enrique
Posts: 595
Joined: Sun 10 Nov 2019, 00:10
Location: Planet Earth

#21 Post by enrique »

fabrice_035

There are 1001 threads in the forum telling you how to compile a kernel. This can quickly show you it is not an exact science. ;) Meaning there are many factors that can influence your build. I am not going to get you another one. But I will show you how to follow what I did.

This is our GOAL: To have a new Kernel you need to build a new vmilnuz + the driver modules.
New Kernel ===========> vmlinuz
Associated driver modules ==> zdrv_bionicpup64_8.0.sfs


You need Build Tools:
Download and install

Code: Select all

https://distro.ibiblio.org/puppylinux/puppy-bionic/bionicpup64/devx_bionicpup64_8.0.sfs
https://distro.ibiblio.org/puppylinux/puppy-bionic/bionicpup64/kernel_sources-4.19.23-bionicpup64.sfs
To build kernel for Puppy easy way is you use kernel kit.
Download & extract to a working folder

Code: Select all

https://github.com/puppylinux-woof-CE/woof-CE
Then navigate to the kernel kit directory.

You need to Setup Kernel Kit Environment
To make it simple for you download that attachment. And save the file on TOP of Kernel Kit working directory defaults.

To build your only need to open a terminal and do ./build.sh
It will download all needed files. And from time to time will ask you a few basic question (BUT IMPORTANT). In this case do not worry it will build. As for frirmware you do not need to include as you now have an fdrv. And when ask for make, just select "make menuconfig" and just exit. This update the file date. I never try but maybe just "Skip" will work also.

Depending on the Kernel, you need about 10GB of FREE ext Linux space. It take 1.5 hours more or less. So when you are ready to do it, be prepare to CLOSE ALL open programs, including your browser. Make sure Internet is on. At the end you will have all your needed file in the "output" directory.

Good luck
enrique.
Attachments
kernel-kit-Asus-files.tar.xz.tar
(39.91 KiB) Downloaded 53 times

User avatar
fabrice_035
Posts: 765
Joined: Mon 28 Apr 2014, 17:54
Location: Bretagne / France

#22 Post by fabrice_035 »

@enrique
I redid an iso with the missing file and puppy starts correctly but the result is the same.

Code: Select all

root# modprobe asus-nb-wmi
modprobe: FATAL: Module asus-nb-wmi not found in directory /lib/modules/4.19.23

Code: Select all

root# lsmod | grep asus
asus_wireless          16384  0


Tomorrow I'll try to do a kernel alone with your example. Thank you.
And maybe ozsouth can make one, but thanks again.
Bionicpup64-8.0 _ Kernel 5.4.27-64oz _ Asus Rog GL752

ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

#23 Post by ozsouth »

Built kernel 5.4.27 with asus & hotplug changes. Baisc tests OK. I like to test for a few days before releasing to public.
@fabrice - link sent in pm to you. Same change procedure as before. Use at own risk.

User avatar
fabrice_035
Posts: 765
Joined: Mon 28 Apr 2014, 17:54
Location: Bretagne / France

#24 Post by fabrice_035 »

:D
Yeaaaaahhhhh !

Great and good news, it works with Mr. Ozsouth's latest kernel!

Code: Select all

root# lsmod | grep asus
asus_nb_wmi            28672  0
asus_wmi               24576  1 asus_nb_wmi
sparse_keymap          16384  1 asus_wmi
rfkill                 20480  4 asus_wmi,bluetooth,cfg80211
hwmon                  16384  2 asus_wmi,nouveau
wmi                    20480  3 asus_wmi,mxm_wmi,nouveau
battery                20480  1 asus_wmi
asus_wireless          16384  0
root# 
root# uname -r
5.4.27-64oz

The keyboard shortcut to turn on the keyboard light works !
Thanks again for your time, you're great!

Regard.
Bionicpup64-8.0 _ Kernel 5.4.27-64oz _ Asus Rog GL752

enrique
Posts: 595
Joined: Sun 10 Nov 2019, 00:10
Location: Planet Earth

#25 Post by enrique »

@ozsouth

Do not need to post the link for the kernel. But either you or fabrice_035 please post the config file used. For future references.

@fabrice_035

I am happy for you. And even happier on the forum, we get all this opened thread with hardware issues, and users never report back if they resolve or how. But lately I been seen a change. We are positively dealing with the hardware issues. Nice

User avatar
fabrice_035
Posts: 765
Joined: Mon 28 Apr 2014, 17:54
Location: Bretagne / France

#26 Post by fabrice_035 »

@enrique
I don't have a configuration file, I assume you're talking about the DOTconfig file? Ozsouth privately sent me the new kernel already compiled
already compiled
Regard
Bionicpup64-8.0 _ Kernel 5.4.27-64oz _ Asus Rog GL752

enrique
Posts: 595
Joined: Sun 10 Nov 2019, 00:10
Location: Planet Earth

#27 Post by enrique »

fabrice_035

Look into /boot

You will see a file that start with "config" and it may read in your case "config-5.4.27-64oz-amd64" or similar. That is a copy of the real setup "DOTconfig"

Thanks.
enrique

User avatar
fabrice_035
Posts: 765
Joined: Mon 28 Apr 2014, 17:54
Location: Bretagne / France

#28 Post by fabrice_035 »

Ok!
Attached file real extension
Attachments
config-5.4.27-64oz.gz
Linux/x86 5.4.27-64oz Kernel Configuration
(48.1 KiB) Downloaded 47 times
Bionicpup64-8.0 _ Kernel 5.4.27-64oz _ Asus Rog GL752

ozsouth
Posts: 858
Joined: Fri 01 Jan 2010, 22:08
Location: S.E Australia

#29 Post by ozsouth »

@enrique - the kernel seems fine, if no issues by tomorrow night, links will be posted in the Additional Software/System section of forum. The DOTconfig is what I usually use, but also has the 2 asus wmi entries, the hotplug_pci & 2 eeepc entries added.

enrique
Posts: 595
Joined: Sun 10 Nov 2019, 00:10
Location: Planet Earth

#30 Post by enrique »

Thanks you all. See we have this for the future.

ozsouth
vtpup needs help with audio in Acer R11 Chromebook. Maybe you can help him too. See
http://murga-linux.com/puppy/viewtopic. ... 12#1055612

Edit:
I see he has try already a few patches of yours. I will have to read more on you. Nice work ozsouth

Post Reply