Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED-Kernel upgrade
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mich
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2007
Posts: 129

PostPosted: Sat Jul 15, 2023 1:09 pm    Post subject: SOLVED-Kernel upgrade Reply with quote

Hello,
After doing an upgrade from kernel 6.1.19-gentoo to any of the following kernel:
linux-6.1.27-gentoo-r1
[4] linux-6.1.28-gentoo
[5] linux-6.1.31-gentoo *
[6] linux-6.1.38-gentoo

i receive a black screen with a blinking prompt

I compared the kernel and the video staff .. not changed, so I don't understand.
Can you help me please?

Michel


Last edited by mich on Sun Jul 16, 2023 3:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
shadowless
Tux's lil' helper
Tux's lil' helper


Joined: 27 Nov 2022
Posts: 101

PostPosted: Sat Jul 15, 2023 1:47 pm    Post subject: Reply with quote

Does the machine have a nvidia video card using proprietary drivers?

EDIT: This should be irrelevant (See post below). I learned something myself today :D


Last edited by shadowless on Sat Jul 15, 2023 2:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2667

PostPosted: Sat Jul 15, 2023 2:02 pm    Post subject: Re: Kernel upgrade Reply with quote

shadowless wrote:
Does the machine have a nvidia video card using proprietary drivers?


At least a framebuffer console should appear, nvidia never provided fbcon driver and always counted on the generic ones from the kernel.

mich wrote:
Hello,
After doing an upgrade from kernel 6.1.19-gentoo to any of the following kernel:
linux-6.1.27-gentoo-r1
[4] linux-6.1.28-gentoo
[5] linux-6.1.31-gentoo *
[6] linux-6.1.38-gentoo

i receive a black screen with a blinking prompt

I compared the kernel and the video staff .. not changed, so I don't understand.
Can you help me please?

Michel


It's the same line of kernels, your config can be directly copied, did you copy it or did you manually configure the newer kernels?

Did you happen to forget to create the initramfs?

Also post your kernel config, the working and not working ones.

Best Regards,
Georgi
Back to top
View user's profile Send private message
mich
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2007
Posts: 129

PostPosted: Sat Jul 15, 2023 6:05 pm    Post subject: Re: Kernel upgrade Reply with quote

logrusx wrote:
shadowless wrote:
Does the machine have a nvidia video card using proprietary drivers?


At least a framebuffer console should appear, nvidia never provided fbcon driver and always counted on the generic ones from the kernel.

mich wrote:
Hello,
After doing an upgrade from kernel 6.1.19-gentoo to any of the following kernel:
linux-6.1.27-gentoo-r1
[4] linux-6.1.28-gentoo
[5] linux-6.1.31-gentoo *
[6] linux-6.1.38-gentoo

i receive a black screen with a blinking prompt

I compared the kernel and the video staff .. not changed, so I don't understand.
Can you help me please?

Michel


It's the same line of kernels, your config can be directly copied, did you copy it or did you manually configure the newer kernels?

Did you happen to forget to create the initramfs?

Also post your kernel config, the working and not working ones.

Best Regards,
Georgi


Hello Georgi,

I remember now that i emerged nvidia drivers and I think I need to reemerge each time I upgrade the kernel.
I'll try that now and comeback.
Thanks_
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1560
Location: switzerland

PostPosted: Sun Jul 16, 2023 5:14 am    Post subject: Re: Kernel upgrade Reply with quote

mich wrote:


Hello Georgi,

I remember now that i emerged nvidia drivers and I think I need to reemerge each time I upgrade the kernel.
I'll try that now and comeback.
Thanks_


If this was the problem, remeber to do

Code:
#emerge -a @module-rebuild


every time you compile a new kernel (I suppose you're using gentoo-sources)
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
mich
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2007
Posts: 129

PostPosted: Sun Jul 16, 2023 8:06 am    Post subject: Re: Kernel upgrade Reply with quote

luna80 wrote:
mich wrote:


Hello Georgi,

I remember now that i emerged nvidia drivers and I think I need to reemerge each time I upgrade the kernel.
I'll try that now and comeback.
Thanks_


If this was the problem, remeber to do

Code:
#emerge -a @module-rebuild


every time you compile a new kernel (I suppose you're using gentoo-sources)


Hello Georgi,

Yes, you are right. I installed x11-drivers/nvidia-drivers-390.157 and put in my package.mask >x11-drivers/nvidia-drivers-391.
Now i reemerged x11-drivers/nvidia-drivers-390.157 and I see the following message:

Be warned/reminded that the 390.xx branch reached end-of-life and
* NVIDIA is no longer fixing issues (including security). Free to keep
* using (for now) but it is recommended to either switch to nouveau or
* replace hardware. Will be kept in-tree while possible, but expect it
* to be removed likely in early 2027 or earlier if major issues arise.


I have an nvidia card but working well, and if i understand the message they will remove the nvidia package in the future?
Back to top
View user's profile Send private message
mich
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2007
Posts: 129

PostPosted: Sun Jul 16, 2023 8:14 am    Post subject: Re: Kernel upgrade Reply with quote

mich wrote:
luna80 wrote:
mich wrote:


Hello Georgi,

I remember now that i emerged nvidia drivers and I think I need to reemerge each time I upgrade the kernel.
I'll try that now and comeback.
Thanks_


If this was the problem, remeber to do

Code:
#emerge -a @module-rebuild


every time you compile a new kernel (I suppose you're using gentoo-sources)


Hello Georgi,

Yes, you are right. I installed x11-drivers/nvidia-drivers-390.157 and put in my package.mask >x11-drivers/nvidia-drivers-391.
Now i reemerged x11-drivers/nvidia-drivers-390.157 and I see the following message:

Be warned/reminded that the 390.xx branch reached end-of-life and
* NVIDIA is no longer fixing issues (including security). Free to keep
* using (for now) but it is recommended to either switch to nouveau or
* replace hardware. Will be kept in-tree while possible, but expect it
* to be removed likely in early 2027 or earlier if major issues arise.


I have an nvidia card but working well, and if i understand the message they will remove the nvidia package in the future?




After reboot all is OK now, but if they remove nvidia package from the tree, i can' t use anymore my nvidia card?
Thanks
Back to top
View user's profile Send private message
shadowless
Tux's lil' helper
Tux's lil' helper


Joined: 27 Nov 2022
Posts: 101

PostPosted: Sun Jul 16, 2023 2:51 pm    Post subject: Re: Kernel upgrade Reply with quote

mich wrote:

After reboot all is OK now, but if they remove nvidia package from the tree, i can' t use anymore my nvidia card?
Thanks


If this ever happens, you'll be able to copy the ebuild into a local repo and "maintain" it yourself. And by maintain I mean you shouldn't have to do anything because that driver version is guaranteed to never be updated. For extra piece of mind you could download the source link from nvidia and keep it backed up somewhere, just in case they ever get rid of it (not sure how likely that is).
Back to top
View user's profile Send private message
mich
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2007
Posts: 129

PostPosted: Sun Jul 16, 2023 3:13 pm    Post subject: Re: Kernel upgrade (SOLVED) Reply with quote

shadowless wrote:
mich wrote:

After reboot all is OK now, but if they remove nvidia package from the tree, i can' t use anymore my nvidia card?
Thanks


If this ever happens, you'll be able to copy the ebuild into a local repo and "maintain" it yourself. And by maintain I mean you shouldn't have to do anything because that driver version is guaranteed to never be updated. For extra piece of mind you could download the source link from nvidia and keep it backed up somewhere, just in case they ever get rid of it (not sure how likely that is).


Thank you!
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2667

PostPosted: Sun Jul 16, 2023 4:20 pm    Post subject: Re: Kernel upgrade Reply with quote

mich wrote:


Hello Georgi,

Yes, you are right. I installed x11-drivers/nvidia-drivers-390.157 and put in my package.mask >x11-drivers/nvidia-drivers-391.
Now i reemerged x11-drivers/nvidia-drivers-390.157 and I see the following message:

Be warned/reminded that the 390.xx branch reached end-of-life and
* NVIDIA is no longer fixing issues (including security). Free to keep
* using (for now) but it is recommended to either switch to nouveau or
* replace hardware. Will be kept in-tree while possible, but expect it
* to be removed likely in early 2027 or earlier if major issues arise.


I have an nvidia card but working well, and if i understand the message they will remove the nvidia package in the future?


There's still more than 3 years until early 2027. Until then I hope you have a new video card. I was with a card from around 2007 I think and it worked up until I retired my old computer. Now I see people are still finding ways to use cards supported by that driver version.

Regards,
Georgi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum