LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-22-2023, 09:14 PM   #1
thethinker
Member
 
Registered: Jul 2006
Location: Peabody, MA, USA
Distribution: Xubuntu, Slackware, Pop!_OS
Posts: 297
Blog Entries: 2

Rep: Reputation: 37
Question screen blanks on startup after compiling 6.2.12 from working 5.15


Pretty new to kernel compiling here, but I did this exact thing on another machine with success...

On Slackware 15.0, old Acer netbook, running 5.15 (huge and generic, for Slackware that means using initrd with generic). Downloaded 6.2.12, used make oldconfig and did all default options ( = held down return for like 5 min straight....any better way of doing that?). make bzImage modules, make modules_install, copied vmlinuz into /boot, got a lilo entry going, and restart.

No kernel panic, but screen goes black during startup when I select the new kernel, no error messages I can see. It does not look like the screen is off, but no text is displayed.

On my system there are two distinct startup processes...I guess I would say "large text" first, and then a flicker to "small text", before finishing at login screen (not GUI yet, run level 3 I guess). That's at least a Slackware thing, maybe not sure if it happens on my Ubuntu box. But that feels like the step at which the startup is failing.

Anyone have any thoughts, or techniques to debug something like this?

EDIT: Tried using initrd and it didn't work. I don't think is the issue, I'm very familiar with what that looks like, having caused that errors many times....

Last edited by thethinker; 04-22-2023 at 09:17 PM.
 
Old 04-22-2023, 11:14 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,852
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Text size switch during init occurs when switch is made from generic mode, typically 80x25 on pre-UEFI BIOS, to KMS mode, usually the display's native mode. Ubuntu employs plymouth to hide both, making init behavior emulate Windows. An arbitrary mode for the framebuffer in KMS mode can be specified with video= on cmdline. Does doing so change anything for you? How about if you append nosimplefb=1?
 
Old 04-23-2023, 05:09 AM   #3
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Quote:
Originally Posted by thethinker View Post
... used make oldconfig and did all default options ( = held down return for like 5 min straight....any better way of doing that?)
This could perhaps help? https://docs.slackware.com/howtos:sl..._build_scripts
 
1 members found this post helpful.
Old 04-23-2023, 11:56 AM   #4
thethinker
Member
 
Registered: Jul 2006
Location: Peabody, MA, USA
Distribution: Xubuntu, Slackware, Pop!_OS
Posts: 297

Original Poster
Blog Entries: 2

Rep: Reputation: 37
Quote:
Originally Posted by Jan K. View Post
Well, I didn't think this helped directly, since the only kernels there are 5.15.X, and I want to get to 6.2. However, I grabbed the config files from here and recompiled using the same process I used before, and now I actually get past that graphical thing, so that's fixed. Thanks!

(I thought this was the same thing I did before, but perhaps the .config got rewritten or something)

Something else now - the mousepad does not work once I get into X. If anyone has immediate advice about that, that'd be awesome, but its a different problem now.
 
Old 04-23-2023, 12:58 PM   #5
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,852
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
What's installed, xf86-input-synaptics? xf86-input-libinput? xf86-input-evdev?
 
1 members found this post helpful.
  


Reply

Tags
kernel 5.15, kernel panic, screen locks



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
Screen blanks out intermently first hour after boot FC2 gmwrench Fedora 1 07-06-2004 08:43 PM
Screen blanks out after I log out simeandrews Slackware 1 06-08-2004 02:00 PM
Screen blanks out after I log out of Gnome simeandrews Linux - General 4 06-06-2004 03:41 PM
screen blanks after 2.6.6 boots dejavu_01 Slackware 1 05-20-2004 11:25 PM
nvidia+UXGA+XF86config -- display error after screen blanks jagmandan Linux - Laptop and Netbook 3 07-28-2003 11:32 AM

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

All times are GMT -5. The time now is 04:59 AM.

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