Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]webcam not working
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
abdus
Apprentice
Apprentice


Joined: 10 Feb 2021
Posts: 189
Location: bandung

PostPosted: Sun Mar 21, 2021 11:52 am    Post subject: Reply with quote

i named the kernel nvidia because i thought of compiling 2 kernels, one with nvidia propriatary drivers and its name is nvidia the other is with nouveau driver without the suffix nvidia in its name and i used nvidia as a main kernel, i thought of following the guide of multiple kernels for multiple drivers for nvidia but i just compiled the 2 kernels only
_________________
i would like to thank everyone that contributed to the gentoo project in any means
Back to top
View user's profile Send private message
abdus
Apprentice
Apprentice


Joined: 10 Feb 2021
Posts: 189
Location: bandung

PostPosted: Sun Mar 21, 2021 11:56 am    Post subject: Reply with quote

ls -l /boot output : https://dpaste.com/6CRHVUYM9
mount /boot: https://dpaste.com/3QL6F6N5W
less /etc/fstab output: https://dpaste.com/89WF2MHNP
_________________
i would like to thank everyone that contributed to the gentoo project in any means
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Mar 21, 2021 12:44 pm    Post subject: Reply with quote

abdus,

That's good, you auto mount boot, so you have not been correctly installing the kernel to the wrong place.
Code:

...
-rwxr-xr-x 1 root root  3604176 Mar 21 14:03 initramfs-5.4.97-gentoo.img
-rwxr-xr-x 1 root root  3601600 Mar 20 21:41 initramfs-5.4.97-gentoo.img.old
-rwxr-xr-x 1 root root  3595400 Mar  6 14:41 initramfs-5.4.97-gentoonvidia.img
...
-rwxr-xr-x 1 root root 12219200 Mar 21 14:02 vmlinuz-5.4.97-gentoo
-rwxr-xr-x 1 root root 11506496 Mar  6 14:40 vmlinuz-5.4.97-gentoonvidia
-rwxr-xr-x 1 root root 12182336 Mar 20 21:40 vmlinuz-5.4.97-gentoo.old


The kernel you are running is called gentoonvidia.
Its name and date tie in nicely with
Code:
# uname -a
Linux localhost.localdomain 5.4.97-gentoonvidia #1 SMP Sat Mar 6 14:01:08 WIB 2021


You also have a kernel/initrd set from MAr 20 and Mar 21. Good. That narrows it down a lot. That's your newer kernels correctly installed to the correct place but grub is not loading either by default. There are several possible reasons.

You did not update the grub.cfg, so grub knows nothing of any vmlinuz-5.4.97-gentoo or vmlinuz-5.4.97-gentoo.old kernels.
You did update the grub.cfg but vmlinuz-5.4.97-gentoonvidia is still the default anh the other kernels are hidden in the Advanced Menu, so you need to choose vmlinuz-5.4.97-gentoo from there at boot time.
_________________
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
abdus
Apprentice
Apprentice


Joined: 10 Feb 2021
Posts: 189
Location: bandung

PostPosted: Sun Mar 21, 2021 4:11 pm    Post subject: Reply with quote

obviously i did not update grub since the first time, i don't remember i did and i am sure of it. excuse me, should i update it every time i compile my kernel?
_________________
i would like to thank everyone that contributed to the gentoo project in any means
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30907
Location: here

PostPosted: Sun Mar 21, 2021 4:16 pm    Post subject: Reply with quote

abdus wrote:
obviously i did not update grub since the first time, i don't remember i did and i am sure of it. excuse me, should i update it every time i compile my kernel?

Every time you create a new kernel with different name (usually when you compile a new kernel version).
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
abdus
Apprentice
Apprentice


Joined: 10 Feb 2021
Posts: 189
Location: bandung

PostPosted: Sun Mar 21, 2021 4:48 pm    Post subject: Reply with quote

i updated grub, but the device is still not found yet, when selected the other kernel it worked, but the wireless interface is not found so i cannot connect to wireless internet, so thank you for helping me figure out the problem and fix it i appreciate your help.
_________________
i would like to thank everyone that contributed to the gentoo project in any means
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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