Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Configuring the Modules
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
warren13n
n00b
n00b


Joined: 16 Dec 2011
Posts: 26
Location: western canada

PostPosted: Sat Dec 17, 2011 4:12 pm    Post subject: [SOLVED]Configuring the Modules Reply with quote

I am in a little over my head on this step. I am installing per the handbook- minimal cd installation. I am using terminal in the live dvd. First, is this a mandatory step? When I run "find /lib/modules/3.0.6-gentoo/ -type f -iname '*.o' -or -iname '*.ko' | less" a lot of modules come up. How would I know what to use? Thanks for your help.

Last edited by warren13n on Sat Dec 17, 2011 11:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Dec 17, 2011 4:20 pm    Post subject: Reply with quote

warren13n,

The kernel can autoload modules, udev can autoload modules. There are very few that need to be listed in the modules file.
About the only one I can think of is the module for your network card.

To determine which one that is, run
Code:
lspci -k
and see which kernel modules are in use for your network interfaces.
You won't have lspci yet. You get that with
Code:
emerge pciutils


Don't worry about getting it exactly right just now - its easy to fix later if 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
warren13n
n00b
n00b


Joined: 16 Dec 2011
Posts: 26
Location: western canada

PostPosted: Sat Dec 17, 2011 4:28 pm    Post subject: Reply with quote

Gentoo-11 / # lspci -k
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 09)
Subsystem: ASUSTeK Computer Inc. Device 1867
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 09)
Subsystem: ASUSTeK Computer Inc. Device 1862
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 09)
Subsystem: ASUSTeK Computer Inc. Device 1862
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
Subsystem: ASUSTeK Computer Inc. Device 1867
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
Subsystem: ASUSTeK Computer Inc. Device 1867
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
Subsystem: ASUSTeK Computer Inc. Device 1867
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
Subsystem: ASUSTeK Computer Inc. Device 1867
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
Subsystem: Santa Cruz Operation Device 1043
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
Subsystem: ASUSTeK Computer Inc. Device 1867
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
Subsystem: ASUSTeK Computer Inc. Device 1867
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
Subsystem: ASUSTeK Computer Inc. Device 1867
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
Subsystem: ASUSTeK Computer Inc. Device 1867
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
Subsystem: ASUSTeK Computer Inc. Device 1867
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
Subsystem: ASUSTeK Computer Inc. Device 1867
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: Device 1a3b:1089
03:00.0 Ethernet controller: Attansic Technology Corp. Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller (rev b0)

I don't see a module for atheros 8.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Dec 17, 2011 4:41 pm    Post subject: Reply with quote

warren13n,

I have one of those. My lspci shows
Code:
03:00.0 Ethernet controller: Atheros Communications AR8121/AR8113/AR8114 Gigabit or Fast Ethernet (rev b0)
   Subsystem: ASUSTeK Computer Inc. Device 831c
   Kernel driver in use: ATL1E
   Kernel modules: atl1e


so you need the atl1e module. Its lowercase - look at your lsmod now, with it working.
_________________
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
warren13n
n00b
n00b


Joined: 16 Dec 2011
Posts: 26
Location: western canada

PostPosted: Sat Dec 17, 2011 10:27 pm    Post subject: Reply with quote

Neddy, this is the only one on my list.

/lib/modules/3.0.6-gentoo/kernel/drivers/net/atlx/atl1.ko

Correct? Or should I try emerge? :?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Dec 17, 2011 10:35 pm    Post subject: Reply with quote

warren13n,


I don't think thats it. We are talking kernel modules here so its not emerge, its fix the kernel.

There are three very similar entries in make menuconfig
Code:
  │ │    <*>   Atheros/Attansic L1 Gigabit Ethernet support                        │ │ 
  │ │    <M>   Atheros L1E Gigabit Ethernet support (EXPERIMENTAL)                 │ │ 
  │ │    < >   Atheros L1C Gigabit Ethernet support (EXPERIMENTAL)

It looks like I got it wrong the first time, then added the module to fix it.

Since you have it missing, get into make menuconfig, select
Code:
<M>   Atheros L1E Gigabit Ethernet support (EXPERIMENTAL)
The <M> is important for the shortcut here. Press / to search in menuconfig.
Save your changed configuration as you exit make menuconfig, so do
Code:
make modules
make modules_install
As you have only changed a setting from < > to <M>, there is no need to make the whole kernel, no need to reistall the kernel to /boot and no need to reboot to use the new module.
_________________
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
warren13n
n00b
n00b


Joined: 16 Dec 2011
Posts: 26
Location: western canada

PostPosted: Sat Dec 17, 2011 11:14 pm    Post subject: Reply with quote

Thanks Neddy Seagoon. That looked like it worked. :) Now for the next step!
Back to top
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Thu Nov 22, 2012 2:50 pm    Post subject: Reply with quote

NeddySeagoon wrote:
I have one of those. My lspci shows
Code:
03:00.0 Ethernet controller: Atheros Communications AR8121/AR8113/AR8114 Gigabit or Fast Ethernet (rev b0)
   Subsystem: ASUSTeK Computer Inc. Device 831c
   Kernel driver in use: ATL1E
   Kernel modules: atl1e

Out of curiosity : Did you try / manage to make it MSI driven ?
_________________
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