Linux - KernelThis forum is for all discussion relating to the Linux kernel.
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 upgraded the kernel from 6.2.12 to 6.3 this morning, remembered to re-boot now. It halts at
Quote:
rtl8192ce: Chip Version ID:B_CUT_88C
I always keep the previous working kernel around so booted into 6.2.12 without incident.
Later:
I removed the rtl8192ce module and it halted after loading a bunch of USB devices. I unplugged all USB devices and it halts after
Quote:
kallsyms_selftest: finish
A day later:
I downloaded the source for 6.3 (I've been patching for years.) When I tried to build I got:
Quote:
In file included from arch/x86/decode.c:10:
/usr/src/linux-6.3/tools/arch/x86/include/asm/insn.h:10:10: fatal error: asm/byteorder.h: No such file or directory
10 | #include
| ^~~~~~~~~~~~~~~~~
compilation terminated.
but /usr/include/include/asm/byteorder.h is there.
Last edited by RandomTroll; 04-25-2023 at 10:11 PM.
Reason: Added more information
I upgraded the kernel from 6.2.12 to 6.3 this morning, remembered to re-boot now. It halts at
I always keep the previous working kernel around so booted into 6.2.12 without incident.
Later:
I removed the rtl8192ce module and it halted after loading a bunch of USB devices. I unplugged all USB devices and it halts after
A day later:
I downloaded the source for 6.3 (I've been patching for years.) When I tried to build I got:
but /usr/include/include/asm/byteorder.h is there.
Looks like you had the same problem previously.
Follow the steps you did back then in order to compile the new kernel...
Looks like you had the same problem previously.
Follow the steps you did back then in order to compile the new kernel...
Good memory! I had a different problem back then: patch-5.12 had eliminated byteorder.h - I could copy the old one over and get a build. kernel 6.3 still has byteorder.h. Building from a full source of 6.3 doesn't find it - why not?
And my original problem is that kernel 6.3 halts. Have you built 6.3 yet?
Good memory! I had a different problem back then: patch-5.12 had eliminated byteorder.h - I could copy the old one over and get a build. kernel 6.3 still has byteorder.h. Building from a full source of 6.3 doesn't find it - why not?
And my original problem is that kernel 6.3 halts. Have you built 6.3 yet?
Of course. I'm already running it on my Slackware64:
Code:
uname -r
6.3.0
I don't know what are you doing wrong? I'm always follow the next steps to build a new kernel:
extract the new kernel in /usr/src/
copy the .config of the running kernel in the newly created dir
Of course. I'm already running it on my Slackware64
Thanks. It's good to know.
Quote:
Originally Posted by bathory
I don't know what are you doing wrong?
I've been building my own kernel for 20 years. I changed the includes in insn.h and orc_types.h to point directly to byteorder.h and built. There must be thousands of other <> type includes in the source that point to the same directories - why does it only matter on these 2 files? The kernel built from the whole source halts at the same place.
I've been building my own kernel for 20 years. I changed the includes in insn.h and orc_types.h to point directly to byteorder.h and built. There must be thousands of other <> type includes in the source that point to the same directories - why does it only matter on these 2 files? The kernel built from the whole source halts at the same place.
What's your architecture?
I'm running Slackware64-current on an old Intel Core i5-2300 CPU with 8G RAM
I'm running Slackware64-current on an old Intel Core i5-2300 CPU with 8G RAM
Thanks. I narrowed down the halt to the loading of either snd_hda_intel or i915. Do you use either? I need snd_hda_intel for sound and i915 provides my preferred video mode.
Last edited by RandomTroll; 04-29-2023 at 03:54 PM.
Thanks. I narrowed down the halt to the loading of either snd_hda_intel or i915. Do you use either? I need snd_hda_intel for sound and i915 provides my preferred video mode.
These modules are also loaded by my kernel, because I'm using an Intel i5 CPU and chipset.
For video though I'm using an old Nvidia card with the patched legacy 470.182.03 drivers.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.