screen blanks on startup after compiling 6.2.12 from working 5.15
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.
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.