LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 04-24-2023, 09:54 PM   #1
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,972

Rep: Reputation: 271Reputation: 271Reputation: 271
Can't boot into 6.3 - halts at rtl8192ce


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
 
Old 04-26-2023, 07:15 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,168
Blog Entries: 1

Rep: Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038
Quote:
Originally Posted by RandomTroll View Post
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...
 
Old 04-26-2023, 09:01 AM   #3
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,972

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by bathory View Post
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?
 
Old 04-26-2023, 10:21 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,168
Blog Entries: 1

Rep: Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038
Quote:
Originally Posted by RandomTroll View Post
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:
  1. extract the new kernel in /usr/src/
  2. copy the .config of the running kernel in the newly created dir
  3. run make oldconfig
  4. run make
  5. run make modules_install
  6. manually copy bzImage and System.map under /boot
  7. edit /etc/lilo.conf
  8. run lilo
  9. reboot
 
Old 04-26-2023, 12:44 PM   #5
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,972

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by bathory View Post
Of course. I'm already running it on my Slackware64
Thanks. It's good to know.

Quote:
Originally Posted by bathory View Post
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.

What's your architecture?
 
Old 04-26-2023, 03:06 PM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,168
Blog Entries: 1

Rep: Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038
Quote:
Originally Posted by RandomTroll View Post
Thanks. It's good to know.


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
 
Old 04-29-2023, 03:34 PM   #7
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,972

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by bathory View Post
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.
 
Old 04-30-2023, 02:10 AM   #8
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,168
Blog Entries: 1

Rep: Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038
Quote:
Originally Posted by RandomTroll View Post
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.
 
1 members found this post helpful.
Old 04-30-2023, 10:20 PM   #9
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,972

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by bathory View Post
These modules are also loaded by my kernel
Thanks! So it's just me, eh? hmmmmm...
 
Old 05-01-2023, 03:37 AM   #10
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,168
Blog Entries: 1

Rep: Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038
Quote:
Originally Posted by RandomTroll View Post
Thanks! So it's just me, eh? hmmmmm...
Just compiled the new 6.3.1 kernel without a hitch!
You can try it and see if it works for you too.
 
Old 05-01-2023, 02:48 PM   #11
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,972

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by bathory View Post
Just compiled the new 6.3.1 kernel without a hitch!
You can try it and see if it works for you too.
I did, of course, with the same result. 6.2.14 works though.
There was a major rewrite of i915 for 6.3.

I also figured out that only i915 is the problem: loading snd_hda_intel triggers the loading of i915.
 
Old 05-19-2023, 12:43 AM   #12
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,972

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
I had been specifying vga=773 in lilo.conf. If I specify nothing I boot.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] realtek rtl8192ce modules does not work on Debian gilliat Linux - Networking 2 07-21-2017 12:46 PM
RLT8188CE(rtl8192ce) firmware/driver version question/help buttugly Linux - Wireless Networking 1 08-24-2012 01:58 PM
Problems with RTL8192CE-VA4 in Fedora 15 kressb Linux - Wireless Networking 15 06-25-2011 03:10 PM
can't boot laptop - sequence halts while loading syslogd nass Slackware 6 01-02-2011 12:45 PM
kernel halts, system halts, computer commits suicide stupid_guy Linux - Newbie 10 06-07-2003 05:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration