Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Intel AX200 interface not found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sicr0
Apprentice
Apprentice


Joined: 23 Mar 2022
Posts: 180

PostPosted: Sat Apr 02, 2022 6:19 am    Post subject: [SOLVED] Intel AX200 interface not found Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31474
Location: here

PostPosted: Sat Apr 02, 2022 6:24 am    Post subject: Reply with quote

Correct firmware iwlwifi-cc-a0-46.ucode is loaded. What return dmesg?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
sicr0
Apprentice
Apprentice


Joined: 23 Mar 2022
Posts: 180

PostPosted: Sat Apr 02, 2022 7:02 am    Post subject: Reply with quote

dmesg: https://pastebin.com/rDdYdg5G

Also I was installing iwd since I wanted to see if my network connectivity problems where originating from wpa_supplicant, after following this https://wiki.gentoo.org/wiki/Iwd#Kernel on boot I receive the message "failed to load pkcs8_key_parser"
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31474
Location: here

PostPosted: Sat Apr 02, 2022 9:47 am    Post subject: Reply with quote

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
View user's profile Send private message
sicr0
Apprentice
Apprentice


Joined: 23 Mar 2022
Posts: 180

PostPosted: Sat Apr 02, 2022 4:29 pm    Post subject: Reply with quote

This is the lspci -kkn output:
https://pastebin.com/sDALLU5c
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2698

PostPosted: Sat Apr 02, 2022 5:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
sicr0
Apprentice
Apprentice


Joined: 23 Mar 2022
Posts: 180

PostPosted: Sat Apr 02, 2022 5:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2698

PostPosted: Sat Apr 02, 2022 6:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Apr 02, 2022 7:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
sicr0
Apprentice
Apprentice


Joined: 23 Mar 2022
Posts: 180

PostPosted: Sat Apr 02, 2022 7:53 pm    Post subject: Reply with quote

I finished two or three days ago installing Gentoo for the first time so I think it's quite new
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Apr 02, 2022 7:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
sicr0
Apprentice
Apprentice


Joined: 23 Mar 2022
Posts: 180

PostPosted: Sat Apr 02, 2022 8:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2698

PostPosted: Sat Apr 02, 2022 8:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
sicr0
Apprentice
Apprentice


Joined: 23 Mar 2022
Posts: 180

PostPosted: Sat Apr 02, 2022 8:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2698

PostPosted: Sat Apr 02, 2022 8:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
sicr0
Apprentice
Apprentice


Joined: 23 Mar 2022
Posts: 180

PostPosted: Sat Apr 02, 2022 9:02 pm    Post subject: Reply with quote

Thanks for your help, I'll try and figure something out
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Apr 02, 2022 9:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5384
Location: Bavaria

PostPosted: Sat Apr 02, 2022 9:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
sicr0
Apprentice
Apprentice


Joined: 23 Mar 2022
Posts: 180

PostPosted: Sun Apr 03, 2022 5:33 am    Post subject: Reply with quote

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
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2698

PostPosted: Sun Apr 03, 2022 9:24 am    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Apr 03, 2022 10:31 am    Post subject: Reply with quote

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
Code:
uname -a
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
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5384
Location: Bavaria

PostPosted: Sun Apr 03, 2022 9:51 pm    Post subject: Reply with quote

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 :-)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Apr 03, 2022 10:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5384
Location: Bavaria

PostPosted: Sun Apr 03, 2022 10:18 pm    Post subject: Reply with quote

Neddy,

NeddySeagoon wrote:
... and now you make your mistakes as an expert :)

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 :D
Back to top
View user's profile Send private message
sicr0
Apprentice
Apprentice


Joined: 23 Mar 2022
Posts: 180

PostPosted: Sun Apr 03, 2022 10:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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