Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel modules
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
Mappack
n00b
n00b


Joined: 19 Jun 2016
Posts: 5

PostPosted: Sun Jun 19, 2016 9:54 am    Post subject: Kernel modules Reply with quote

Hello,

During the install in "Configuring the kernel" I have to put kernel modules to automatically load in/etc/conf.d/modules, however i don't know which kernel modules to put in there. How do i find out what hardware i have so i know what kernel modules to list in there?

Thanks in advance.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7553
Location: Goose Creek SC

PostPosted: Sun Jun 19, 2016 11:07 am    Post subject: Reply with quote

skip that step. don't need it. your hardware can be identified using lspci and lsusb from the install media. if in the chroot, emerge pciutils and usbutils to acquire these useful tools for your future installed system.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Mappack
n00b
n00b


Joined: 19 Jun 2016
Posts: 5

PostPosted: Sun Jun 19, 2016 11:18 am    Post subject: Reply with quote

Ok I will do that.

Also, thanks for the quick reply.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7553
Location: Goose Creek SC

PostPosted: Sun Jun 19, 2016 12:24 pm    Post subject: Reply with quote

welcome to gentoo.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Sun Jun 19, 2016 3:38 pm    Post subject: Reply with quote

You can see loaded modules when you boot from a good liveCD like SystemReescueCD and run lspci -k.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jun 19, 2016 3:58 pm    Post subject: Reply with quote

Mappack,

Almost all hardware is auto detected and kernel modules loaded for you.
There are a few odd things where this doesn't happen.

You may need to add moduies for kernel features but thats for later.
_________________
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
Mappack
n00b
n00b


Joined: 19 Jun 2016
Posts: 5

PostPosted: Sun Jun 19, 2016 9:49 pm    Post subject: Reply with quote

Thanks for all the replies!

I skipped the step like DONAHUE told me, and this worked out fine.

I am now trying to get my broadcom 43227 wireless card to work, but I think I will manage this with net-wireless/b43-fwcutter.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7553
Location: Goose Creek SC

PostPosted: Sun Jun 19, 2016 11:31 pm    Post subject: Reply with quote

suspect you will need the wl driver,
Code:
emerge broadcom-sta

_________________
Defund the FCC.
Back to top
View user's profile Send private message
Mappack
n00b
n00b


Joined: 19 Jun 2016
Posts: 5

PostPosted: Mon Jun 20, 2016 8:18 pm    Post subject: Reply with quote

Hello again,

I emerged broadcom-sta like you said and blacklisted ssb, b43legacy, b43 and ndiswrapper like you advised someone else in this thread: https://forums.gentoo.org/viewtopic-p-6424649.html. Is the device supposed to show up in "ip link" or in "ifconfig" now? Because it isn't there.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7196
Location: Saint Amant, Acadiana

PostPosted: Mon Jun 20, 2016 8:34 pm    Post subject: Reply with quote

Check your dmesg.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7553
Location: Goose Creek SC

PostPosted: Mon Jun 20, 2016 10:14 pm    Post subject: Reply with quote

as jaglover said and also ifconfig -a and lspci -k and lsmod for evidence that wl is present and attached as driver to your nic. grep can be your friend.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Mappack
n00b
n00b


Joined: 19 Jun 2016
Posts: 5

PostPosted: Tue Jun 21, 2016 7:45 pm    Post subject: Reply with quote

lspci -k found the device and said that the bcma-pci-bridge kernel driver is in use and it said "bcma, wl" after kernel modules.
Dmesg said that the wl module license: 'MIXED/Proprietary' taints the kernel and that it disabled lock debugging due to the kernel taint.
Dmesg also said that the module verification failed because the signature and/or required key was missing, this also tainted the kernel.
Could this be why it didn't show up in ip link and ifconfig?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7553
Location: Goose Creek SC

PostPosted: Wed Jun 22, 2016 1:20 am    Post subject: Reply with quote

do not believe the bcma module should be in use, try blacklisting and removing from kernel config and recompile kernel then repeat emerge broadcom-sta and reboot
https://wiki.gentoo.org/wiki/Wifi may help
emerge linux-firmware may help
BTW: my kernel configuration for a bcm4360 is :
Quote:
-*- Networking support --->
-*- Wireless --->
--- Wireless
<M> cfg80211 - wireless configuration API
[ ] nl80211 testmode command
[ ] enable developer warnings
[*] enable powersave by default
[ ] cfg80211 DebugFS entries
[*] cfg80211 wireless extensions compatibility
[ ] lib80211 debugging messages
< > Generic IEEE 802.11 Networking Stack (mac80211)

Device Drivers --->
[*] Network device support --->
[*] Wireless LAN --->
--- Wireless LAN
[ ] ADMtek devices
[ ] Atheros/Qualcomm devices
[ ] Atmel devices
[ ] Broadcom devices
[ ] Cisco devices
[*] Intel devices
<M> Intel PRO/Wireless 2100 Network Connection
[ ] Enable promiscuous mode
[ ] Enable full debugging output in IPW2100 module.
< > Intel PRO/Wireless 2200BG and 2915ABG Network Connection
[ ] Full debugging output for the LIBIPW component
[ ] Intersil devices
[ ] Marvell devices
[ ] MediaTek devices
[ ] Ralink devices
[ ] Realtek devices
[ ] Redpine Signals Inc devices
[ ] STMicroelectronics devices
[ ] Texas Instrument devices
[ ] ZyDAS devices
< > Wireless RNDIS USB support

Broadcom specific AMBA --->
< > BCMA support specific AMBA --->


the
Quote:
[*] Intel devices
<M> Intel PRO/Wireless 2100 Network Connection
was requested during the install of broadcom-sta (wl) to get some kernel support

your bcm43227 may not want this config watch the emerge broadcom-sta output closely.
if things get worse or no change you might try https://forums.gentoo.org/viewforum-f-18.html emphasizing bcm43227
_________________
Defund the FCC.
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