View previous topic :: View next topic |
Author |
Message |
sicr0 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 23 Mar 2022 Posts: 180
|
Posted: Sat Apr 02, 2022 6:19 am Post subject: [SOLVED] Intel AX200 interface not found |
|
|
I tried setting up all the kernel modules necessary for my Intel WiFi chipset (from a HP Elitebook 855 G7) to work (iwlwifi I guess). For some reason now when I run ifconfig it doesn't show up (wlp1s0). Where did I may have messed up?
lspci: https://pastebin.com/Cnk27vKw
.config: https://pastebin.com/rJyANV5M
Last edited by sicr0 on Sun Apr 03, 2022 5:34 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31474 Location: here
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sicr0 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 23 Mar 2022 Posts: 180
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31474 Location: here
|
Posted: Sat Apr 02, 2022 9:47 am Post subject: |
|
|
In the dmesg there seems to be no mention of the iwlwifi module, what return lspci -kkn command? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sicr0 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 23 Mar 2022 Posts: 180
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/176594205966916859b5145.jpg)
Joined: 22 Feb 2018 Posts: 2698
|
Posted: Sat Apr 02, 2022 5:01 pm Post subject: |
|
|
It looks like dmesg output might have been truncated. There's no mention of iwlwifi and yet lspci output shows it's loaded.
Try uploading the output of `dmesg | grep iwlwifi`
Anyway you didn't answer if you emerged linux-firmware. Ax200 won't load if if doesn't find the relevant firmware.
Regards,
Georgi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sicr0 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 23 Mar 2022 Posts: 180
|
Posted: Sat Apr 02, 2022 5:21 pm Post subject: |
|
|
I have linux-firmware installed. dmesg | grep iwlwifi doesn't return anything. This all started after I followed the iwd installation guide. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/176594205966916859b5145.jpg)
Joined: 22 Feb 2018 Posts: 2698
|
Posted: Sat Apr 02, 2022 6:25 pm Post subject: |
|
|
sicr0 wrote: | I have linux-firmware installed. dmesg | grep iwlwifi doesn't return anything. This all started after I followed the iwd installation guide. |
Since the guide starts with kernel configuration, I assume you rebuilt your kernel. Does `modprobe iwlmvm` say anything? Include the relevan dmesg (the grep iwlwifi command) output if the command is successful.
p.s. thre's and iwlwifi wiki page, see if you can figure out something from there if I don't respond soon.
Regards,
Georgi |
|
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: 54847 Location: 56N 3W
|
Posted: Sat Apr 02, 2022 7:51 pm Post subject: |
|
|
sicr0,
Are you running the kernel you think you are?
Code: | [ 0.000000] Linux version 5.15.26-gentoo (root@livecd) (gcc (Gentoo 11.2.1_p20220115 p4) 11.2.1 20220115, GNU ld (Gentoo 2.37_p1 p2) 2.37) #1 SMP Wed Mar 30 12:49:03 -03 2022 |
The kernel that produced that dmesg was built on Wed Mar 30 12:49:03 -03 2022
grknights post about iwd was made on Fri Apr 01, 2022.
Which is after your running kernel was built.
If you have made a new kernel since Wed Mar 30 12:49:03 -03 2022, we need to discover why its not in use. _________________ 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) |
sicr0 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 23 Mar 2022 Posts: 180
|
Posted: Sat Apr 02, 2022 7:53 pm Post subject: |
|
|
I finished two or three days ago installing Gentoo for the first time so I think it's quite new |
|
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: 54847 Location: 56N 3W
|
Posted: Sat Apr 02, 2022 7:57 pm Post subject: |
|
|
sicr0,
Compare it to the timestamp on /usr/src/linux/.config
Code: | $ ls -l /usr/src/linux/.config
-rw-r--r-- 1 root root 147594 Mar 26 16:39 /usr/src/linux/.config |
If that .config was used to make the running kernel, it mush be older than the 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 |
|
![](templates/gentoo/images/spacer.gif) |
sicr0 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 23 Mar 2022 Posts: 180
|
Posted: Sat Apr 02, 2022 8:34 pm Post subject: |
|
|
This is the output:
Code: | $ ls -l /usr/src/linux/.config
-rw-r--r-- 1 root root 130374 Apr 2 00:34 /usr/src/linux/.config
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/176594205966916859b5145.jpg)
Joined: 22 Feb 2018 Posts: 2698
|
Posted: Sat Apr 02, 2022 8:38 pm Post subject: |
|
|
Sicr0, I expected to find the information I asked for. It would have at least brought more light of what your running kernel supports.
If you want help you need to provide the information you've been asked for.
Once again, what does `modprobe iwlmvm` command say.
If runs successfully, does the `dmesg | grep iwlwifi` command yield any output?
Regards,
Georgi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sicr0 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 23 Mar 2022 Posts: 180
|
Posted: Sat Apr 02, 2022 8:48 pm Post subject: |
|
|
logrusx, I'm really sorry for the inconvenience, it's my first installation and it's been a month trying to make it work so I'm quite burnt out.
The .config of my running kernel it's in the first post (https://pastebin.com/Cnk27vKw), for what I've seen it's with that file that someone can see what the kernel supports.
As for the "modprobe iwlmvm", running it yields "modprobe: ERROR: could not insert 'iwlmvm': Invalid argument" (even tho the module is selected on the kernel as requested in https://wiki.gentoo.org/wiki/Iwlwifi). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/176594205966916859b5145.jpg)
Joined: 22 Feb 2018 Posts: 2698
|
Posted: Sat Apr 02, 2022 8:58 pm Post subject: |
|
|
That means you're not running the kennel you think you are. I'm sorry but it's getting too late for me. Try to find out how to build and install the kernel. I guess there are relevant wiki pages, but you need to find them on your own as I'm not on the computer anymore.
I'm but sure but I think there are linked in the configuring your kernel section in the handbook.
Regards,
Georgi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sicr0 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 23 Mar 2022 Posts: 180
|
Posted: Sat Apr 02, 2022 9:02 pm Post subject: |
|
|
Thanks for your help, I'll try and figure something out |
|
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: 54847 Location: 56N 3W
|
Posted: Sat Apr 02, 2022 9:14 pm Post subject: |
|
|
sicr0,
The favourite is to not mount /boot, so the kernel gets correctly installed to the wrong place.
That's not an error but grub won't be able to find it to boot.
Did you do the date check I asked for? _________________ 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) |
pietinger Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
Joined: 17 Oct 2006 Posts: 5384 Location: Bavaria
|
Posted: Sat Apr 02, 2022 9:19 pm Post subject: |
|
|
sicr0,
if you are using grub then the most often mistake beginners do is: They think it is enough to do only once (at first installation time) a
Code: | # grub-mkconfig -o /boot/grub/grub.cfg |
Thats wrong, you have to do it after every new kernel VERSION or kernel CONFIGURATION.
Maybe this Cheat Sheet will help you:
Code: | New Kernel Version:
# mount /boot
# cd /usr/src/linux-X.Y.Z-gentoo
# cp /usr/src/linux/.config .
# make oldconfig
# insert the nr. of cores of your CPU for X
# make -j X
# make install
# make modules_install
# I do an backup of every config in:
# cp .config /etc/MY/config-X-Y-Z
# grub-mkconfig -o /boot/grub/grub.cfg
# eselect kernel list
# eselect kernel set
# umount /boot
Changing your Configuration:
# mount /boot
# cd /usr/src/linux
# make menuconfig
# make -j X
# make install
# make modules_install
# cp .config /etc/MY/config-X-Y-Z-revA
# grub-mkconfig -o /boot/grub/grub.cfg
# umount /boot |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sicr0 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 23 Mar 2022 Posts: 180
|
Posted: Sun Apr 03, 2022 5:33 am Post subject: |
|
|
pietinger, IT WAS IT! I LOVE YOU!
I really didn't knew that after every update one need to regenerate te GRUB. Now the interface is back again. Damn man, I was worried all day about this, I want to cry |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
logrusx Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/176594205966916859b5145.jpg)
Joined: 22 Feb 2018 Posts: 2698
|
Posted: Sun Apr 03, 2022 9:24 am Post subject: |
|
|
sicr0 wrote: | pietinger, IT WAS IT! I LOVE YOU!
I really didn't knew that after every update one need to regenerate te GRUB. Now the interface is back again. Damn man, I was worried all day about this, I want to cry |
So, sicr0, it seems you're not only new to Gentoo, but new to Linux?
Congratulations on your first successful step, which is in fact a big leap! Being new to both worlds makes it a big thing.
Regards,
Georgi |
|
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: 54847 Location: 56N 3W
|
Posted: Sun Apr 03, 2022 10:31 am Post subject: |
|
|
sicr0,
Code: | grub-mkconfig -o /boot/grub/grub.cfg | writes all the kernel file names it finds is /boot into /boot/grub/grub.cfg.
It does a bit more too, like creating the grub menu that you see at boot time.
When you build a kernel that will have a new file name, you must update /boot/grub/grub.cfg, or it will not appear.
When its a rebuild of an existing kernel, its harmless to run grub-mkconfig, but its not required.
That's the hard part done how. Well done.
Check Compare the build date and time with the build date and time I quoted from your dmesg. _________________ 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) |
pietinger Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
Joined: 17 Oct 2006 Posts: 5384 Location: Bavaria
|
Posted: Sun Apr 03, 2022 9:51 pm Post subject: |
|
|
sicr0 wrote: | pietinger, IT WAS IT! I LOVE YOU! |
I know this feeling ... when I made mistakes as beginner ... and somebody helped me here. Now, for me its time to give it back ... Your time will come also ![Smile :-)](images/smiles/icon_smile.gif) |
|
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: 54847 Location: 56N 3W
|
Posted: Sun Apr 03, 2022 10:03 pm Post subject: |
|
|
pietinger,
... and now you make your mistakes as an expert :)
So you never forget what it feels like. _________________ 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) |
pietinger Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
Joined: 17 Oct 2006 Posts: 5384 Location: Bavaria
|
Posted: Sun Apr 03, 2022 10:18 pm Post subject: |
|
|
Neddy,
NeddySeagoon wrote: | ... and now you make your mistakes as an expert ![Smile :)](images/smiles/icon_smile.gif) |
Mistakes, yes ... expert, no ! As long as I can learn from you I will not be an expert ... maybe in 30 years ...
NeddySeagoon wrote: | So you never forget what it feels like. |
This is true. The feeling when it works is great and will be always ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sicr0 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 23 Mar 2022 Posts: 180
|
Posted: Sun Apr 03, 2022 10:23 pm Post subject: |
|
|
Thanks NeddySeagoon, I made some minor changes to the kernel so I'm running the kernel I'm supposed to. Now the only thing I have to make work is the trackpad, I've followed the manual for the Synaptics driver but it doesn't work when I launch Sway. I'm opening an issue in the Desktop Environment section since it belongs there |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|