Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Wifi doesn't work/genkernel doesn't compile necessa
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Talinx
n00b
n00b


Joined: 29 Dec 2018
Posts: 4
Location: Germany

PostPosted: Sat Dec 29, 2018 1:03 am    Post subject: [Solved] Wifi doesn't work/genkernel doesn't compile necessa Reply with quote

I have installed Gentoo on my Laptop recently and I can't get wifi working.

Code:
ifconfig -a
does not show the network device.
Code:
lspci -v
does show the device, but it does not indicate that any drivers/modules are in use for it.
However when I look which module is in use when booting the Gentoo installation media (or another live Linux distribution (Tails)) I get ath10k_pci as module and wifi works flawlessly.

When installing I used
Code:
genkernel all
to compile the Kernel (I tried 4.14.83 and 4.20.0, both the same issue, acquired by
Code:
emerge --ask sys-kernel/gentoo-sources
and
Code:
emerge --ask sys-kernel/gentoo-sources:4.20.0
respectively).
I installed the firmware with
Code:
emerge --ask sys-kernel/linux-firmware
and the firmware for my wifi-card is there.

Code:
modprobe ath10k_pci
doesn't work (modprobe: FATAL: Module ath10k_pci not found in directory /lib/modules/4.20.0-gentoo).
Code:
find /usr/src/linux/drivers/ | grep ath10
does show some C source code files however
Code:
find /lib/modules/4.20.0-gentoo/ | grep ath10
gives no results. (Although
Code:
find /lib/modules/4.20.0-gentoo/ | grep ath9
does, don't know if this information is relevant.)

I suspect that for some reason genkernel hasn't compiled the ath10 modules, but I honestly am not sure at all what's going wrong.

Some information about my Hardware:
Lenovo IdeaPad 320S-13IKB
Network controller: Qualcomm Atheros QCA9377
EFI or BIOS: EFI
CPU: Intel Core i3-7100U
GPU: integrated (Intel HD 620)

Help would be greatly appreciated!

EDIT:
Solved problem by manually selecting the ath10k-drivers as suggested and avoiding
Code:
genkernel all
.

Last edited by Talinx on Sat Dec 29, 2018 4:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
Muso
l33t
l33t


Joined: 22 Oct 2002
Posts: 979
Location: The Holy city of Honolulu

PostPosted: Sat Dec 29, 2018 3:33 am    Post subject: Reply with quote

As root :

Code:
cd /usr/src/linux && make menuconfig


Find the missing modules, build them.

Then you can either install normally :

Code:
make -j4 && make modules_install
mount /boot
make install


Not sure with genkernel, maybe just another genkernel all after saving the menuconfig. Be sure /boot is mounted.


After that, assuming you are using grub, run :
Code:
grub-mkconfig -o /boot/grub/grub.cfg


Then :
Code:
umount /boot


And reboot.
_________________
Time is a great teacher, but unfortunately it kills all its pupils.
Back to top
View user's profile Send private message
skarab
n00b
n00b


Joined: 18 Jun 2017
Posts: 40

PostPosted: Sat Dec 29, 2018 9:53 am    Post subject: Reply with quote

by default menuconfig is set to no in /etc/genkernel.conf , run :

Code:
genkernel all --menuconfig
Back to top
View user's profile Send private message
Talinx
n00b
n00b


Joined: 29 Dec 2018
Posts: 4
Location: Germany

PostPosted: Sat Dec 29, 2018 4:34 pm    Post subject: Reply with quote

Thank you very much, everything works now!

Configuring the kernel manually and selecting the ath10k-drivers solved my problem!
Back to top
View user's profile Send private message
pamela
n00b
n00b


Joined: 30 Dec 2018
Posts: 2

PostPosted: Mon Jan 14, 2019 3:10 pm    Post subject: Reply with quote

Talinx wrote:
Thank you very much, everything works now!

Configuring the kernel manually and selecting the ath10k-drivers solved my problem!


Luckily I was looking for the same thing, after the reboot wifi works, thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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