Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wifi card problem
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
RIA77
Guru
Guru


Joined: 24 Feb 2016
Posts: 342

PostPosted: Tue Apr 06, 2021 1:34 pm    Post subject: Reply with quote

Fatal error, alx not found.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Apr 06, 2021 1:59 pm    Post subject: Reply with quote

RIA77,

Either you are not running the kernel that belongs to the .config you posted or the
Code:
make modules_install
part of the kernel build process was skipped.

How do you configure and make your 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
RIA77
Guru
Guru


Joined: 24 Feb 2016
Posts: 342

PostPosted: Tue Apr 06, 2021 2:28 pm    Post subject: Reply with quote

make -j4 && make modules_install install
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Apr 06, 2021 2:57 pm    Post subject: Reply with quote

RIA77,

That's good. If the kernel name changes, update grub.cfg.

This may be a long shot but if your clock has ever stepped backwards, make can get confused and skip things that need to be compiled.
To test that, start a kernel build with
Code:
make clean

Then there is nothing left to confuse make.

You will need to remake the initrd too as it may have modules missing. While you are remaking the initrd, you may as well include the firmware for your wifif card too.

With the new kernel and initrd in place, reboot into it then
Code:
modprobe alx
should work, or even not be needed.
_________________
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
RIA77
Guru
Guru


Joined: 24 Feb 2016
Posts: 342

PostPosted: Tue Apr 06, 2021 3:16 pm    Post subject: Reply with quote

Should I rebuild initrd before kernel or after ? And how to rebuild initrd ?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Apr 06, 2021 6:06 pm    Post subject: Reply with quote

RIA77,

The initrd contains kernel modules, so it must be rebuilt after the kernel.

You have two initrd files already. How did you make them?
_________________
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
RIA77
Guru
Guru


Joined: 24 Feb 2016
Posts: 342

PostPosted: Tue Apr 06, 2021 7:53 pm    Post subject: Reply with quote

Probably with genkernel. Should I use genkernel again ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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