Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629580 - genkernel all missing alx module required for ethernet on Metabox laptop
Summary: genkernel all missing alx module required for ethernet on Metabox laptop
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-02 01:59 UTC by Clin
Modified: 2017-09-04 02:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Clin 2017-09-02 01:59:43 UTC
genkernel all did not build alx driver required for my Metabox Prime-X P870KM-G. Adding the module and modprobe alx fixed the issue immediately. 

localhost /usr/src/linux # diff .config.old .config
2288c2288
< # CONFIG_ALX is not set
---
> CONFIG_ALX=m

lspci -v
02:00.0 Ethernet controller: Qualcomm Atheros Device e0b1 (rev 10)
	Subsystem: CLEVO/KAPOK Computer Device 0875
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at de400000 (64-bit, non-prefetchable) [size=256K]
	I/O ports at d000 [size=128]
	Capabilities: [40] Power Management version 3
	Capabilities: [58] Express Endpoint, MSI 00
	Capabilities: [c0] MSI: Enable- Count=1/16 Maskable+ 64bit+
	Capabilities: [d8] MSI-X: Enable+ Count=16 Masked-
	Kernel driver in use: alx
	Kernel modules: alx

03:00.0 Ethernet controller: Qualcomm Atheros Device e0b1 (rev 10)
	Subsystem: CLEVO/KAPOK Computer Device 0875
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at de300000 (64-bit, non-prefetchable) [size=256K]
	I/O ports at c000 [size=128]
	Capabilities: [40] Power Management version 3
	Capabilities: [58] Express Endpoint, MSI 00
	Capabilities: [c0] MSI: Enable- Count=1/16 Maskable+ 64bit+
	Capabilities: [d8] MSI-X: Enable+ Count=16 Masked-
	Kernel driver in use: alx
	Kernel modules: alx
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2017-09-02 02:14:47 UTC
You can pass your own kernel config to genkernel, and for less common hardware, you should probably do so.

Less common: the ALX driver was added to the kernel on 2013/jun/17, shortly after v3.10-rc6, in and you're the first person to ask for the driver to be built :-)
Comment 2 Larry the Git Cow gentoo-dev 2017-09-04 02:51:15 UTC
Bug has been closed via the following commit:
    https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=1107e0e46dc09f5b424bcbb0751b60aa70652502

    commit 1107e0e46dc09f5b424bcbb0751b60aa70652502
Author:     Robin H. Johnson <robbat2@gentoo.org>
AuthorDate: 2017-09-04 02:45:08 +0000
Commit:     Robin H. Johnson <robbat2@gentoo.org>
CommitDate: 2017-09-04 02:45:08 +0000

    arch/x86*: enable CONFIG_ALX.
    
    Fixes: https://bugs.gentoo.org/show_bug.cgi?id=629580
    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>

 arch/x86/arch-config    | 1 +
 arch/x86_64/arch-config | 1 +
 2 files changed, 2 insertions(+)