[lfs-support] LFS 7.0 - No Devices in /dev on boot up - Kernel then shuts off PC

Bruce Dubbs bruce.dubbs at gmail.com
Tue Jan 10 10:58:57 PST 2012

jasonpsage at jegas.com wrote:
>>> ...what I found is...the driver is named tg3. It is from Broadcom. 
>>> They have a Linux Driver - its in *.rpm format, the source code 
>>> is for a 2.6 kernel (might not work on 3.1, might... I dunno) but
>>> rather than fight and fight to figure out how to get this to work (which
>>> it might not..
>> The tg3 driver is inside the kernel source, you don't need an RPM for that.
> I Saw some Broadcom "drivers" in the Kernel Make Menu config area, and
> that didn't work.
> Do you think its a matter of me running some Loadmodule command in a
> script to make it work then?


> Note, in the kernel I checked it with the ASTERISK which is supposed to
> compile it into the kernel versus being a loadable module.

That's right.

> Is it possible I need to "load" (turn on?) a module that is compiled
> into the kernel with a command in a script somewhere?


The eth0 does not show up in /dev.  If you do `lspci`, you should see 
your Broadcom device.  On my system, I have:

00:19.0 Ethernet controller: Intel Corporation 82567LM-3 Gigabit Network 
Connection (rev 02)

Look under /sys/devices.  The /sys fs is fairly hard to interpret, but I 
have /sys/devices/pci0000:00/0000:00:19.0/net/eth0

The easier way is to do a `dmesg|less` and look for Broadcom or eth. 
For instance I have:

[    2.812841] e1000e: Intel(R) PRO/1000 Network Driver - 1.3.10-k2
[    2.813098] e1000e: Copyright(c) 1999 - 2011 Intel Corporation.
[    2.813358] e1000e 0000:00:19.0: PCI INT A -> GSI 21 (level, low) -> 
IRQ 21
[    2.813611] e1000e 0000:00:19.0: setting latency timer to 64
[    2.813673] e1000e 0000:00:19.0: irq 49 for MSI/MSI-X
[    3.003210] e1000e 0000:00:19.0: eth0: (PCI Express:2.5GT/s:Width x1) 
[    3.003650] e1000e 0000:00:19.0: eth0: Intel(R) PRO/1000 Network 
[    3.003926] e1000e 0000:00:19.0: eth0: MAC: 8, PHY: 8, PBA No: 2021FF-0FF

[   11.272643] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   12.971862] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow 
Control: Rx/Tx
[   12.971866] e1000e 0000:00:19.0: eth0: 10/100 speed: disabling TSO
[   12.972313] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   23.522019] eth0: no IPv6 routers present

You also need to make sure the /etc/sysconfig/ifconfig.eth0 file is set 
up properly as described in section 7.2.2.

   -- Bruce

More information about the lfs-support mailing list