SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I started the migration from the linux-4.4.302 kernel to linux-cip-4.4.302-cip 73 only last month.
if I replace the linux-4.4.302 file.tar.xz by the linux-cip-4.4.302-cip74 file.tar.gz in the SlackBuilds, the job creates a kernel-generic-4.4.302-x86_64-1 package.txz and nothing more.
I did get a kernel-modules-4.4.302_cip74_st39-x86_64-1.txz Package. ( note the underscores, instead of the 'CIP-native' dashes ).
BUT, the kernel-modules Package has no kernel modules in it:
I see the modules in /tmp/moddir/lib/modules/4.4.302-cip74-st39/ but I believe it is because of the -cip74 and -st39 localversion tags and the rules for SlackBuild Packages.
I gave up -- there is too much 'Deby' Specific Code in the CIP Source since the January Release so I turned to 4.14.y instead
I have the same judgment as you
sadly my hardware does not support 4.14 I will stay on 4.4.302 (I have no problem with it, it was just to have an up-to-date kernel).
When I saw the CIP entrusted debian with the maintenance of the kernel I had a bad feeling, so we will try it with a lot of goodwill, thank you all.
I know this thread has been marked solved, but if anyone is interested, I've attached a kernel SlackBuild script. This is basically the same routine that I devised for compiling a custom kernel to keep the ancient nvidia-legacy304 kernel module working on Slackware 15.0. I've stripped out all the nvidia stuff, and it can now be used on its own.
Use the $KTYPE variable to specify what kind of kernel you want. Options are:
The script will look in /boot for an appropriate (matching KTYPE) config file. You can override this and search in another directory by setting $CONFIG_PATH variable. Also, the script assumes your KERNEL tree is located at Slackeware's standard location: /usr/src/linux-${KERNEL}. This too can be overridden by setting $SRCPATH variable on the command line.
Setting the variable(s) $MODULES and/or $HEADERS on the command line will instruct the script to build those packages, as well. Alternatively, you can use the KTYPE=all option.
will build two packages: kernel-huge and kernel-modules.
Code:
KERNEL=4.4.302 KTYPE=both ./jay_kernel.SlackBuild
will build kernel-huge and kernel-generic (but no kernel-modules.)
Code:
KERNEL=4.4.302 KTYPE=all ./jay_kernel.SlackBuild
will build four packages: kernel-huge, kernel-generic, kernel-modules, and kernel-headers.
There are several more configurable options available on the command-line, including the ability to build a Slackware-style install-able kernel-source package by setting the $SRCPACK variable. My apologies for not completing a proper README file...
I've used this script for compiling CIP kernels and it seems to work out of the box:
I know this thread has been marked solved, but if anyone is interested, I've attached a kernel SlackBuild script. This is basically the same routine that I devised for compiling a custom kernel to keep the ancient nvidia-legacy304 kernel module working on Slackware 15.0. I've stripped out all the nvidia stuff, and it can now be used on its own.
Use the $KTYPE variable to specify what kind of kernel you want. Options are:
The script will look in /boot for an appropriate (matching KTYPE) config file. You can override this and search in another directory by setting $CONFIG_PATH variable. Also, the script assumes your KERNEL tree is located at Slackeware's standard location: /usr/src/${KERNEL}. This too can be overridden by setting $SRCPATH variable on the command line.
Setting the variable(s) $MODULES and/or $HEADERS on the command line will instruct the script to build those packages, as well. Alternatively, you can use the KTYPE=all option.
will build two packages: kernel-huge and kernel-modules.
Code:
KERNEL=4.4.302 KTYPE=both ./jay_kernel.SlackBuild
will build kernel-huge and kernel-generic (but no kernel-modules.)
Code:
KERNEL=4.4.302 KTYPE=all ./jay_kernel.SlackBuild
will build four packages: kernel-huge, kernel-generic, kernel-modules, and kernel-headers.
There are several more configurable options available on the command-line, including the ability to build a Slackware-style install-able kernel-source package by setting the $SRCPACK variable. My apologies for not completing a proper README file...
I've used this script for compiling CIP kernels and it seems to work out of the box:
I would say that the Request was more [ABANDONED] than [SOLVED]
The threads are long and convoluted, but the punch line is that bigbadaboum and I were finally able to build the Kernel Packages using Pat's SlackBuilds.
But then the Kernels did not boot for either one of us due to the custom mods to the 4.4.302 kernel source for the CIP Reference Machine
One Q: do the resulting HUGE and/or GENERIC kernels actually boot on your Slackware 14.2 OS ?
I would say that the Request was more [ABANDONED] than [SOLVED]
The threads are long and convoluted, but the punch line is that bigbadaboum and I were finally able to build the Kernel Packages using Pat's SlackBuilds.
In fact, "my" SlackBuild amounts to not much more than a wrapper for Pat's. All the heavy lifting in kernel_build.functions was pretty much lifted wholesale from the official Slackware kernel SlackBuilds.
Quote:
Originally Posted by kjhambrick
But then the Kernels did not boot for either one of us due to the custom mods to the 4.4.302 kernel source for the CIP Reference Machine
One Q: do the resulting HUGE and/or GENERIC kernels actually boot on your Slackware 14.2 OS ?
Thanks for the SlackBuild !
-- kjh
Yes, I successfully compiled and am currently running 4.4.302-cip72-st28 on my last remaining i586, Slackware 14.2. This machine is my router/gateway, so it runs 24/7, and I've encountered no hiccups so far. (On this antique box, it did take over 50 hours to compile the modules, though!)
ok I'm telling you the whole truth,
While working on the CIP-74, I noticed some strange things on my machine, kernel.org provides a tar.gz I wanted to convert it to tar.xz, I tried three times I got errors three times.
the Kernel-CIP-73 gives this with dmesg:
[ 0.015785] Spectre V2 : Mitigation: Retpolines
normally it is:
[ 0.015791] Spectre V2 : Mitigation: Full generic retpoline
there are modifications to the management of the microsoft RNDIS driver but this creates small things not very clean (nothing serious instead of having android device we have a double entry, android device and the SerialNumber)
Nothing particular to report on the compilation times:
linus torvalds kernel 4.4.202 (gimp-2.8.22)
real 2m34,755s
user 4m8,815s
sys 0m24,490s
linux-cip-4.4.302-cip73 (gimp-2.8.22)
real 2m35,552s
user 4m8,747s
sys 0m25,235s
But after the problems encountered with linux-cip-4.4.302-cip74 there confidence is no longer there.
I even did a system restore like a good paranoid that I am
The definition of insanity is doing the same thing over and over and expecting different results.
Albert Einstein.
Last edited by bigbadaboum; 04-08-2023 at 11:07 PM.
The definition of insanity is doing the same thing over and over and expecting different results.
Albert Einstein.
This reminds me an old sysadmin's joke: "The thing about Windows is when you do the same thing several times you get different results every time". I attach a document originally written by Jean-Denis CARRETERO and reproduced with his authorization, in both French (original) and English (Google translated) languages. Remove the .txt extension to read it in a web browser.
Hello Didier Spaier,
I knew the time when we were bowing down to a friend who had just bought the latest matrox millennium, when a simple ubuntu signed kernel boosted the UNIGINE Benchmarks performance by 30%.
Hello kjhambrick,
Quote:
I would say that the Request was more [ABANDONED] than [SOLVED]
You have already seen these herds of wildebeest in Africa during transhumance, the leaders of the herd spending 90% of the time leading the herd rather than thinking, dragging them into rivers that are too deep and infested with crocodiles, well our wildebeest is Patrick Volkerding, but he stays behind, observes and then crosses at the right time when the water level is low and we can see the crocodiles, he used 100% of his intelligence to find a solution rather than wanting to prevent the herd from to die because time is not unlimited, you have to make choices.
I have seen it done with sys ini, ldap and recently with chrocus.
So JayByrd I write the post with the SOLVED status but I can put the ABANDONED status it doesn't give me a problem. so I'm doing it for the kernel-CIP.
but I know that you wrote her to tease me
Last edited by bigbadaboum; 04-09-2023 at 05:40 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.