Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unable to boot conflict between nvidia 390.45 and 390.54
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
picarica
n00b
n00b


Joined: 11 Aug 2018
Posts: 51

PostPosted: Sat Sep 22, 2018 6:01 pm    Post subject: unable to boot conflict between nvidia 390.45 and 390.54 Reply with quote

after booting i didn't saw my lightdm so i checked dmesg and there it was conflict, i tried re-merging x11-drivers/nvidia-driver and recompiling kernel nothing worked

here is the whole message
Code:

NVRM: api mismatch: the client has the version 396.54, but
NVRM: this kernel module has the version 396.45. Please
NVRM: make sure that this kernel module and all nvidia driver
NVRM: components have the same version



what should i try?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42581
Location: 56N 3W

PostPosted: Sat Sep 22, 2018 6:06 pm    Post subject: Reply with quote

picarica,

Code:
NVRM: this kernel module has the version 396.45.

This was loaded when the kernel booted.

If you recompiled and reinstalled the kernel, then rebooted, you are not runnnig the kernel you think you are.

What does
Code:
uname -a
show?
Look at the date and time. That's the build time of the running kernel. Does it look like the time you expected?

The the kernel part is older than the Xorg part normally shows its a kernel part problem.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
picarica
n00b
n00b


Joined: 11 Aug 2018
Posts: 51

PostPosted: Sat Sep 22, 2018 6:17 pm    Post subject: Reply with quote

NeddySeagoon wrote:
picarica,

Code:
NVRM: this kernel module has the version 396.45.

This was loaded when the kernel booted.

If you recompiled and reinstalled the kernel, then rebooted, you are not runnnig the kernel you think you are.

What does
Code:
uname -a
show?
Look at the date and time. That's the build time of the running kernel. Does it look like the time you expected?

The the kernel part is older than the Xorg part normally shows its a kernel part problem.


i had always problem with this

Code:

uname -r
4.14.61-gentoo


but in my eselect kernel list is
Code:

4.14.65-gentoo


my system is using wrong kernel thats why virtualbox wont work either how do i fix this_
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42581
Location: 56N 3W

PostPosted: Sat Sep 22, 2018 6:27 pm    Post subject: Reply with quote

picarica,

I suspect that /boot was not mouthed for the kernel install, or you installed the new kernel correctly but did not tell your boot loader about it.
I have seen both of those steps performed correctly, then the new kernel not being the default option on the menu.

For virtualbox, if it used to work, you ned to
Code:
emerge @module-rebuild
to rebuild the virtual-box and other out of kernel modules against your eselected kernel.
While that's a required step, it won't work until you boot your 4.14.65-gentoo kernel.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
picarica
n00b
n00b


Joined: 11 Aug 2018
Posts: 51

PostPosted: Sat Sep 22, 2018 6:48 pm    Post subject: Reply with quote

NeddySeagoon wrote:
picarica,

I suspect that /boot was not mouthed for the kernel install, or you installed the new kernel correctly but did not tell your boot loader about it.
I have seen both of those steps performed correctly, then the new kernel not being the default option on the menu.

For virtualbox, if it used to work, you ned to
Code:
emerge @module-rebuild
to rebuild the virtual-box and other out of kernel modules against your eselected kernel.
While that's a required step, it won't work until you boot your 4.14.65-gentoo kernel.


ca it be because at installaion of gentoo i used genkernel all, but little after i compilted it custom made , i created symlink reconfigured grub2 but still at /bott there is 61 genkernel and 65 kernel :/
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42581
Location: 56N 3W

PostPosted: Sat Sep 22, 2018 7:28 pm    Post subject: Reply with quote

picarica,

Post the output of
Code:
ls -l /boot
with boot mounted.

Put your grub.cfg onto a pastbin site and post a link.
wgetpaste is your friend.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
picarica
n00b
n00b


Joined: 11 Aug 2018
Posts: 51

PostPosted: Sat Sep 22, 2018 11:16 pm    Post subject: Reply with quote

NeddySeagoon wrote:
picarica,

Post the output of
Code:
ls -l /boot
with boot mounted.

Put your grub.cfg onto a pastbin site and post a link.
wgetpaste is your friend.


/boot/ is

Code:

intframs-genkernel-x86_64-4.14.61-gentoo
kernel-genkernel-x86_64-4.14.61-gentoo
system.map-4.14.65-gentoo
system.map-4.14.65-gentoo.old
system.map-genkernel-.86_64-4.14.61-gentoo
vmlinuz-4.14.65-gentoo
vmlinuz-4.14.65-gentoo.old


an here is grub.cfg
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 6968

PostPosted: Sun Sep 23, 2018 7:50 am    Post subject: Reply with quote

the issue is simple: nvidia-drivers install the module in the current kernel point by /usr/src/linux

what you have done:
point /usr/src/linux to /usr/src/linux-4.14.61 kernel
install nvidia-drivers-396.45
point /usr/src/linux to /usr/src/linux-4.14.65 kernel
install nvidia-drivers-396.54

at this point:
nvidia is setup with 396.54, and the module for nvidia are:
396.54 for kernel-4.14.65 and 396.45 for kernel-4.14.61

and the clash is because when you try to use 4.14.61, it just tell you that the module nvidia of that kernel is 396.45 and it doesn't work with the 396.54 part (probably nvidia-glx)

to fix it:
either you use the kernel 4.14.65 (so that both nvidia part are 396.54)
or
point /usr/src/linux to kernel 4.14.61 (yep the old one, assuming you didn't let depclean remove it), re-emerge nvidia-drivers (this will update the module of kernel 4.14.61 to nvidia version 396.54), this way you could use the kernel you wish as both have now their module for nvidia-drivers-396.54

the solve depends on your choice, but now you know what is going on.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 42581
Location: 56N 3W

PostPosted: Sun Sep 23, 2018 9:22 am    Post subject: Reply with quote

picarica,

Your boot is missing the /grub directory. That suggests /boot is not mounted.
Also the command I asked you to run would provide dates and times, which you didn't post.
All that information is important in diagnosing your problem.

Your grub.cfg, shows that
Code:
linux   /boot/kernel-genkernel-x86_64-4.14.61-gentoo root=UUID=049f07ea-2dea-4234-b0e7-590a0e100091 ro
is the default option and that
Code:
 linux   /boot/vmlinuz-4.14.65-gentoo root=/dev/sdb2 ro 
is in the submenu.
This suggests that you are booting the default option, which you don't want and not choosing the submenu option that you do want.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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