Kernel Builder script -- simple version
Kernel builder script -- simple version
hi blaze if you have the porteus current,you have the last llvm the last mesa the last of all you need to run a great system...or not, i try with a stock porteus if the fulalas script work
Kernel builder script -- simple version
hi the kernel build script run in this system, with the only add of the devel.xzm:
guest@porteus:~$ uname -a
Linux porteus.example.net 5.17.0-rc2-porteus #1 SMP PREEMPT Mon Jan 31 09:19:15 UTC 2022 x86_64 AMD FX(tm)-6300 Six-Core Processor AuthenticAMD GNU/Linux
guest@porteus:~$ uname -a
Linux porteus.example.net 5.17.0-rc2-porteus #1 SMP PREEMPT Mon Jan 31 09:19:15 UTC 2022 x86_64 AMD FX(tm)-6300 Six-Core Processor AuthenticAMD GNU/Linux
Code: Select all
root@porteus:/home/guest/Music# sh '/home/guest/Music/kernel.sh' 5.16.7
Initial setup...
Downloading kernel source code...
Extracting kernel source code...
Copying .config file...
Downloading AUFS...
Patching AUFS...
Building kernel (this may take a while)...
Creating symlinks...
Downloading firmware...
Extracting firmware...
Adding firmware...
/home/guest/Music/kernel.sh: line 115: [: too many arguments
Blacklisting...
Copying cryptsetup...
Creating kernel xzm module...
Creating crippled xzm module...
Cleaning up...
Finished successfully.
The following files were generated:
vmlinuz -> should go into boot/syslinux
000-kernel.xzm -> should go into porteus/base
06-crippled_sources-5.16.7.xzm -> should go into porteus/base
root@porteus:/home/guest/Music#
Kernel builder script -- simple version
Yeah, the issue is not related to the script, but the packages installed on the machine.
- Blaze
- DEV Team
- Posts: 3869
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
Kernel builder script -- simple version
Hi beny,
yes I have Porteus-current (base on Slackware-current) and seems issue in the packages.
I have requeste to you, can you test stock porteus with a new devel module (please check you PM)
Thanks.
yes I have Porteus-current (base on Slackware-current) and seems issue in the packages.
I have requeste to you, can you test stock porteus with a new devel module (please check you PM)
Thanks.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
Kernel builder script -- simple version
hi blaze you are right the devel of your do not compile, well in mine i have cython and not pearl so i think that is the issue the other software are the same just the version number changes but is ok.... you can try the change if work? and about the package weight the 06 that is mine 144.2 and 05 is 135,a different compression rate?
- Blaze
- DEV Team
- Posts: 3869
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
Kernel builder script -- simple version
Hi beny.
Thanks for your report.
Do you mean weght of 05 devel module?
Is the compression rate
Thanks for your report.
Do you mean weght of 05 devel module?
Is the compression rate
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
Kernel builder script -- simple version
hi blaze the add of cython in the 05-devel isn't enough the build fail again,so maybe you have stripped software inside devel,ok just a report.
Kernel builder script -- simple version
@Ed_P, you don't need to download anything apart from the tar.gz file in the first post. Just extract it and run: kernel.sh 5.16.10
Make sure your devel module is activated and you have internet connection.
Make sure your devel module is activated and you have internet connection.
- Ed_P
- Contributor
- Posts: 8343
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Kernel builder script -- simple version
Adding some instructions to extract all the files in the tar.gz file to a single folder would be useful. And showing a user where to find a kernel to build would be helpful, I would have used https://mirrors.slackware.com/slackware ... kware64/a/. Adding a test in the script for the presence of 05-devel.xzm would also be a good idea since I didn't have it with my 1st attempt to run the script. And telling the user the build will take over a half hour would be useful also. And that's on a new notebook!
Are the files ok with the line 115 error?
Code: Select all
guest@porteus:/mnt/nvme0n1p7/porteus5.0/rc3ISOModules/kernelBuilder$ ./kernel.sh 5.16.10
Please enter root's password below:
Password:
Initial setup...
Downloading kernel source code...
Extracting kernel source code...
Copying .config file...
Downloading AUFS...
Patching AUFS...
Building kernel (this may take a while)...
Creating symlinks...
Downloading firmware...
Extracting firmware...
Adding firmware...
./kernel.sh: line 115: [: too many arguments
Blacklisting...
Copying cryptsetup...
Creating kernel xzm module...
Creating crippled xzm module...
Cleaning up...
Finished successfully.
The following files were generated:
vmlinuz -> should go into boot/syslinux
000-kernel.xzm -> should go into porteus/base
06-crippled_sources-5.16.10.xzm -> should go into porteus/base
guest@porteus:/mnt/nvme0n1p7/porteus5.0/rc3ISOModules/kernelBuilder$
Ed
Kernel builder script -- simple version
Yeah, that 115 thing means nothing. Go ahead and try to boot with this new kernel. Don't forget to copy vmlinuz to boot/syslinux, otherwise your system will get mad
- Ed_P
- Contributor
- Posts: 8343
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Kernel builder script -- simple version
5.16.10 boots and supports sound.
Unfortunately same issue as 5.16.9.
Unfortunately same issue as 5.16.9.
Ed
Kernel builder script -- simple version
hi Ed_P i think you have to solve issue not rollback, your wifi device is?
Kernel builder script -- simple version
@Ed_P, you can try to copy the firmware folder from 5.15.1 to your 5.16.9 and see what happens.
- Ed_P
- Contributor
- Posts: 8343
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Kernel builder script -- simple version
Actually I would prefer to copy some of the firmware folder from the new 5.16.10 to my 5.15.1.
BTW I made some changes to the kernel.sh file. I replaced the original:
Code: Select all
# Switch to root:
if [ `whoami` != root ]; then
echo "Please enter root's password below:"
su -c "$0 $1 $PWD"
exit
fi
Code: Select all
if [ ! -f /mnt/live/memory/images/05-devel.xzm ]; then
echo "05-devel.xzm needs to be active." && exit 1
fi
# Switch to root:
if [ `whoami` != root ]; then
echo "Please enter root's password below:\033[1;31m"
su -c "$0 $1 $PWD"
exit
fi
echo -e "\033[0m"; echo -en "\033]0;kernelBuilder\a"
And
Code: Select all
echo "Building kernel (this may take a while)..."
Code: Select all
echo && date && echo
echo "Building kernel (this may take up to an hour)..."
Code: Select all
guest@porteus:~$ su
Password:
root@porteus:/home/guest# uname -a
Linux porteus.example.net 5.15.1-porteus #1 SMP Sat Nov 6 19:26:29 MSK 2021 x86_64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz GenuineIntel GNU/Linux
root@porteus:/home/guest# lspci -k -s $(lspci | grep -Ei 'wifi|wireless|net' | awk '{print$1}' | head -n1)
00:14.3 Network controller: Intel Corporation Device a0f0 (rev 20)
Subsystem: Intel Corporation Device 4070
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
root@porteus:/home/guest# modprobe -D iwlwifi
insmod /lib/modules/5.15.1-porteus/kernel/net/rfkill/rfkill.ko.zst
insmod /lib/modules/5.15.1-porteus/kernel/net/wireless/cfg80211.ko.zst
insmod /lib/modules/5.15.1-porteus/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko.zst
root@porteus:/home/guest# modinfo iwlwifi
filename: /lib/modules/5.15.1-porteus/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko.zst
license: GPL
author: Intel Corporation <linuxwifi@intel.com>
description: Intel(R) Wireless WiFi driver for Linux
Added in 1 hour 2 minutes 33 seconds:
An interesting find in 5.16.10.
Code: Select all
guest@porteus:/mnt/live/memory/images/000-Xkernel.xzm/lib$ find . -maxdepth 3 -type f -exec grep -l "snd_hda_intel" "{}" \;
./modules/5.16.10-porteus/modules.alias
./modules/5.16.10-porteus/modules.alias.bin
guest@porteus:/mnt/live/memory/images/000-Xkernel.xzm/lib$
Ed