On 11/24/2013 1:24 PM, David Kredba wrote:
> 2013/11/24 Alan Feuerbacher <alan...@comcast.net>:
>> On 11/24/2013 10:33 AM, Bruce Dubbs wrote:
>>> Alan Feuerbacher wrote:
>>>> On 11/24/2013 12:19 AM, Bruce Dubbs wrote:
>>
>> Per Ken's suggestion, I added the ethernet driver for my Realtek
>> ethernet device, recompiled the kernel, reinstalled systemd/udev from
>> scratch. Still no luck.
>>
>> When linux starts, I see a message:
>> "Bringing up the eth0 interface... skipped"
>>
>> When I try to bring up the network with ifup I get this:
>>
>> ifup eth0
>> #######
>>       Bringing up the eth0 interface...
>>       Adding IPv4 address 10.0.1.1 to the eth0 interface...Cannot find
>> device "eth0"
>> *****
>>
>> *****face eth0 doesn't exist.
>> #######
>>
>>>> Ok, then I must have missed something when building the system. What do
>>>> I look for in the LFS book to build the right ethernet driver?
>>>
>>> Bring up a working system and run lsmod.
>>
>> I get this:
>>
>> lsmod
>> ######
>> Module                  Size    Used by
>> x86_pkg_temp_thermal    4511    0
>> ######
>>
>> I know that something is very wrong, but where do I go from here?
>>
>>   > We have no way to tell what
>>> hardware you have, but we do refer to several references on configuring
>>> a kernel in Section 8.3.
>>
>> I read them, thank you.
>>
>>> You can also just build all ethernet drivers as modules.  You may get
>>> some interface like enp2s0.  See
>>> http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
>>>
>>> The objective of udev-lfs-208-1/init-net-rules.sh in Section 6.62 is to
>>> create a udev rule to rename this back to eth0.
>>
>> After reinstalling systemd/udev I still don't get this file.
>>
>> Alan

> Do you have pciutils installed?
> If not install it (you can use liveCD or what you used to do first
> installation and chroot inside your current system or download it and
> copy in if you have USB storage working etc.).
> Then start in single mode and post output of lspci -v.

I don't know what "single mode" is, but I started the LFS system and did 
lspci -v. I also did that on the host Fedora system. The outputs were 
the same -- no surprise.

Output from lspci -v :
#######
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core 
processor DRAM Controller (rev 09)
        Subsystem: ASUSTeK Computer Inc. P8H77-I Motherboard
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core 
processor PCI Express Root Port (rev 09) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Capabilities: [88] Subsystem: ASUSTeK Computer Inc. P8H77-I Motherboard
        Capabilities: [80] Power Management version 3
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [a0] Express Root Port (Slot+), MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [140] Root Complex Link
        Capabilities: [d94] #19
        Kernel driver in use: pcieport

00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd 
Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA 
controller])
        Subsystem: ASUSTeK Computer Inc. Device 84ca
        Flags: bus master, fast devsel, latency 0, IRQ 41
        Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at f000 [size=64]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [a4] PCI Advanced Features
        Kernel driver in use: i915

00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset 
Family USB xHCI Host Controller (rev 04) (prog-if 30 [XHCI])
        Subsystem: ASUSTeK Computer Inc. P8H77-I Motherboard
        Flags: medium devsel, IRQ 16
        Memory at f7e00000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [70] Power Management version 2
        Capabilities: [80] MSI: Enable- Count=1/8 Maskable- 64bit+

00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series 
Chipset Family MEI Controller #1 (rev 04)
        Subsystem: ASUSTeK Computer Inc. P8H77-I Motherboard
        Flags: bus master, fast devsel, latency 0, IRQ 10
        Memory at f7e1a000 (64-bit, non-prefetchable) [size=16]
        Capabilities: [50] Power Management version 3
        Capabilities: [8c] MSI: Enable- Count=1/1 Maskable- 64bit+

00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset 
Family USB Enhanced Host Controller #2 (rev 04) (prog-if 20 [EHCI])
        Subsystem: ASUSTeK Computer Inc. P8H77-I Motherboard
        Flags: medium devsel, IRQ 23
        Memory at f7e18000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Capabilities: [98] PCI Advanced Features

00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset 
Family High Definition Audio Controller (rev 04)
        Subsystem: ASUSTeK Computer Inc. Device 841b
        Flags: bus master, fast devsel, latency 0, IRQ 44
        Memory at f7e10000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [130] Root Complex Link
        Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset 
Family PCI Express Root Port 1 (rev c4) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: ASUSTeK Computer Inc. P8H77-I Motherboard
        Capabilities: [a0] Power Management version 2
        Kernel driver in use: pcieport

00:1c.4 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset 
Family PCI Express Root Port 5 (rev c4) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        I/O behind bridge: 0000e000-0000efff
        Prefetchable memory behind bridge: 00000000f0000000-00000000f00fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: ASUSTeK Computer Inc. P8H77-I Motherboard
        Capabilities: [a0] Power Management version 2
        Kernel driver in use: pcieport

00:1c.5 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c4) (prog-if 
01 [Subtractive decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=04, subordinate=05, sec-latency=0
        Memory behind bridge: f7d00000-f7dfffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 84ca
        Capabilities: [a0] Power Management version 2

00:1c.7 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset 
Family PCI Express Root Port 8 (rev c4) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
        Memory behind bridge: f7c00000-f7cfffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 84ca
        Capabilities: [a0] Power Management version 2
        Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset 
Family USB Enhanced Host Controller #1 (rev 04) (prog-if 20 [EHCI])
        Subsystem: ASUSTeK Computer Inc. P8H77-I Motherboard
        Flags: medium devsel, IRQ 23
        Memory at f7e17000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Capabilities: [98] PCI Advanced Features

00:1f.0 ISA bridge: Intel Corporation Z77 Express Chipset LPC Controller 
(rev 04)
        Subsystem: ASUSTeK Computer Inc. Device 84ca
        Flags: bus master, medium devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:1f.2 SATA controller: Intel Corporation 7 Series/C210 Series Chipset 
Family 6-port SATA Controller [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0])
        Subsystem: ASUSTeK Computer Inc. P8H77-I Motherboard
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 42
        I/O ports at f0b0 [size=8]
        I/O ports at f0a0 [size=4]
        I/O ports at f090 [size=8]
        I/O ports at f080 [size=4]
        I/O ports at f060 [size=32]
        Memory at f7e16000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [70] Power Management version 3
        Capabilities: [a8] SATA HBA v1.0
        Capabilities: [b0] PCI Advanced Features
        Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family 
SMBus Controller (rev 04)
        Subsystem: ASUSTeK Computer Inc. P8H77-I Motherboard
        Flags: medium devsel, IRQ 18
        Memory at f7e15000 (64-bit, non-prefetchable) [size=256]
        I/O ports at f040 [size=32]

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09)
        Subsystem: ASUSTeK Computer Inc. P8H77-I Motherboard
        Flags: bus master, fast devsel, latency 0, IRQ 43
        I/O ports at e000 [size=256]
        Memory at f0004000 (64-bit, prefetchable) [size=4K]
        Memory at f0000000 (64-bit, prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 01
        Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
        Capabilities: [d0] Vital Product Data
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
        Kernel driver in use: r8169

04:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI 
Bridge (rev 03) (prog-if 01 [Subtractive decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=04, secondary=05, subordinate=05, sec-latency=32
        Memory behind bridge: f7d00000-f7dfffff
        Capabilities: [c0] Subsystem: ASUSTeK Computer Inc. Device 8489

05:01.0 Network controller: Broadcom Corporation BCM4321 802.11b/g/n 
(rev 01)
        Subsystem: Netgear WN311B RangeMax Next 270 Mbps Wireless PCI Adapter
        Flags: bus master, fast devsel, latency 32, IRQ 6
        Memory at f7d00000 (32-bit, non-prefetchable) [size=16K]

06:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB 
Host Controller (prog-if 30 [XHCI])
        Subsystem: ASUSTeK Computer Inc. Device 8488
        Flags: fast devsel, IRQ 19
        Memory at f7c00000 (64-bit, non-prefetchable) [size=32K]
        Capabilities: [50] MSI: Enable- Count=1/8 Maskable- 64bit+
        Capabilities: [68] MSI-X: Enable- Count=8 Masked-
        Capabilities: [78] Power Management version 3
        Capabilities: [80] Express Legacy Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
#######


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to