View previous topic :: View next topic |
Author |
Message |
lellopisello n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Dec 2022 Posts: 1 Location: Italy
|
Posted: Mon Dec 12, 2022 3:58 pm Post subject: Forgot to install ath9k module, what do I do? |
|
|
hi guys, I'm going to preface by saying that I am completely new to Gentoo as this is an issue I'm having with my first installation.
anyways, during the kernel configuration, I just completely forgot to include the drivers to my network card, which is a Qualcomm Atheros AR9565 (the required module should be ath9k right?)
do I really need to recompile the kernel to fix this issue or is there a better way?
and, if I do need to recompile how should I do it? should i do a kernel upgrade?
thanks in advance. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Christian99 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 28 May 2009 Posts: 1721
|
Posted: Mon Dec 12, 2022 4:09 pm Post subject: |
|
|
just go in kernel src dir, call make menuconfig and enable the driver (or instead of make menuconfig, use any other method to enable the driver), and then call make.
make figures out, what source files need to be build, and also considers object files still lying around from previous compiles, so it doesn't rebuild all required source files, only source files, that aren't compiled yet.
after that, do make install (and make module_install if you have modules build) and you should be fine |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Banana Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
![](images/avatars/5204386264b863c6da7ffb.jpg)
Joined: 21 May 2004 Posts: 1886 Location: Germany
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54821 Location: 56N 3W
|
Posted: Mon Dec 12, 2022 6:38 pm Post subject: |
|
|
lellopisello,
Welcome to Gentoo.
Yes you need ath9k. If you choose it as a module in .
Then run Code: | make modules
make modules_install
modprobe ath9k | it may just work.
Adding modules to the running kernel like this is not guaranteed to work but its always worth a try.
No reboot required.
If the modprobe fails, look in dmesg for the errors. Missing symbols indicate that ath9k wants something else that was not build.
So do the whole build and install again.
Make is lazy. Unless all the existing binaries are removed from the kernel build tree, make will reuse what it can.
If you are running make by hand, don't forget to use Code: | make -j<CPU_THREADS> | on only one thread will be used. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|