[lfs-support] Ethernet Card Not Found

Dan McGhee beesnees at grm.net
Mon Nov 25 17:48:41 PST 2013


On 11/25/2013 07:19 PM, Alan Feuerbacher wrote:
> On 11/25/2013 11:27 AM, Dan McGhee wrote:
>>>>>> lsmod
>>>>>> ######
>>>>>> Module                  Size    Used by
>>>>>> x86_pkg_temp_thermal    4511    0
>>>>>> ######
>> This shows that either the module is not loaded or that it's configured
>> into your kernel.
> Having gotten the card to work, I repeated "lsmod" and got exactly the
> same result as above.
Yes because it was compiled into the kernel.
>
>>>> I think Bruce was talking about a working distribution (the one you used to
>>>> build LFS for example). Boot it and run lsmod.
>>>> The information you get there could indicate the right driver for the kernel.
>>> Ah! Here's the output from the Fedora host with lsmod :
>>>
>>> #######
>>> Module                  Size  Used by
>>> <snipped irrelevant stuff>
>>> mac80211              564847  1 b43
>>> cfg80211              460310  2 b43,mac80211
>>> rfkill                 21694  5 cfg80211,bluetooth,asus_wmi [This may be only for wireless.  I don't know.]
>>> r8169                  71677  0
>>> mii                    13527  1 r8169
>> This shows you the modules Fedora uses to get your card working.
> My suspicion is that the modules aside from r8169 are not applicable to
> getting the card working. See below.
Only mii, crc32 and r8169 are needed for your NIC. The other stuff is 
for wireless and that was my "rust" coming through. I must confess that 
I haven't used a wired setup for at least 8 yrs. I configure my ethernet 
card "just in case." As Bruce pointed out in one of his posts, selecting 
"y" for r8169 automatially selects the other two if you used 'make 
menuconfig' or 'make xconfig' to configure your kernel.
>
>> To see what might be happening to your ethernet card when LFS boots, run
>>
>> <dmesg | grep Ethernet>
>>
>> Here are the results I get:
>>
>>>    r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
>>>    Bluetooth: BNEP (Ethernet Emulation) ver 1.3
That tells you the driver is loaded. But you already knew that since it 
now works. :)
> So now you know that you need
> "CONFIG_{MAC80211,CFG80211,MII,RFKILL,R8169}=y or m in your kernel
> .config.
> Those variables are all set =y in my .config.
Yes. They will be.

I'm really glad you got it working. I know how frustrating those things 
can be, especially when you're on a steeply sloped learning curve. You 
asked many good questions in your other post. The first thing that must 
occur is that you "know what you don't know." If you don't have that, 
you aren't able to ask the questions. To answer yours, "Google" is a 
friend. Try those terms you're learning.

Dan




More information about the lfs-support mailing list