Dracut help

Brian Cluff brian at snaptek.com
Wed Dec 7 08:55:39 MST 2016


Is there any common storage they all have write access to?  Perhaps you 
have a file lock issue.

Brian Cluff

On 12/07/2016 07:00 AM, George Toft wrote:
> Round 2 . . .
>
> So in my quest for diskless workstation, I found that if I boot more 
> than 6 at a time, after 10 minutes uptime, they freeze. Nothing in 
> /var/log/messages; nothing in the screen.  And it's not a full lock - 
> I can switch from TTY to TTY, but "He's dead, Jim." I can do them in 
> waves of 6 with 2 minutes in between and that gets 24 up and running 
> with no problem.
>
> Any ideas?
>
> Regards,
>
> George Toft
>
> On 11/29/2016 11:00 PM, George Toft wrote:
>> Of course, 5 minutes after I sent this, I got the modules to load 
>> into the initramfs:
>>
>> [root at localhost tftpboot]# dracut --force -m "network" --add-drivers 
>> "sunrpc.ko `find 
>> /usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet 
>> -type f -exec basename {} \;`" drive3testing.img 
>> 3.10.0-327.36.3.el7.x86_64
>> [root at localhost tftpboot]# lsinitrd drive3testing.img | grep ethernet
>> drwxr-xr-x  22 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet
>> drwxr-xr-x   6 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/atheros
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/atheros/alx
>> -rw-r--r--   1 root     root        59805 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/atheros/alx/alx.ko
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/atheros/atl1c
>> -rw-r--r--   1 root     root        71549 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/atheros/atl1c/atl1c.ko
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/atheros/atl1e
>> -rw-r--r--   1 root     root        66885 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/atheros/atl1e/atl1e.ko
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/atheros/atlx
>> -rw-r--r--   1 root     root        64405 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/atheros/atlx/atl1.ko
>> -rw-r--r--   1 root     root        55613 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/atheros/atlx/atl2.ko
>> drwxr-xr-x   3 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/broadcom
>> -rw-r--r--   1 root     root        58053 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/broadcom/b44.ko
>> -rw-r--r--   1 root     root       125461 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/broadcom/bnx2.ko
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/broadcom/bnx2x
>> -rw-r--r--   1 root     root      1040525 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/broadcom/bnx2x/bnx2x.ko
>> -rw-r--r--   1 root     root        93997 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/broadcom/cnic.ko
>> -rw-r--r--   1 root     root       243413 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/broadcom/tg3.ko
>> drwxr-xr-x   3 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/brocade
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/brocade/bna
>> -rw-r--r--   1 root     root       226757 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/brocade/bna/bna.ko
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/cadence
>> -rw-r--r--   1 root     root        18269 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/cadence/at91_ether.ko
>> -rw-r--r--   1 root     root        40797 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/cadence/macb.ko
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/calxeda
>> -rw-r--r--   1 root     root        38957 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/calxeda/xgmac.ko
>> drwxr-xr-x   5 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/chelsio
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/chelsio/cxgb3
>> -rw-r--r--   1 root     root       242437 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/chelsio/cxgb3/cxgb3.ko
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/chelsio/cxgb4
>> -rw-r--r--   1 root     root       343149 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/chelsio/cxgb4/cxgb4.ko
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/chelsio/cxgb4vf
>> -rw-r--r--   1 root     root       109213 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf.ko
>> drwxr-xr-x   3 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/cisco
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/cisco/enic
>> -rw-r--r--   1 root     root       127589 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/cisco/enic/enic.ko
>> drwxr-xr-x   3 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/dec
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/dec/tulip
>> -rw-r--r--   1 root     root        54005 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/dec/tulip/de2104x.ko
>> -rw-r--r--   1 root     root        72965 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/dec/tulip/de4x5.ko
>> -rw-r--r--   1 root     root        45997 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/dec/tulip/dmfe.ko
>> -rw-r--r--   1 root     root       113557 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/dec/tulip/tulip.ko
>> -rw-r--r--   1 root     root        38925 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/dec/tulip/uli526x.ko
>> -rw-r--r--   1 root     root        52949 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/dec/tulip/winbond-840.ko
>> -rw-r--r--   1 root     root        26285 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/dec/tulip/xircom_cb.ko
>> -rw-r--r--   1 root     root        37685 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/dnet.ko
>> drwxr-xr-x   3 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/emulex
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/emulex/benet
>> -rw-r--r--   1 root     root       188445 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/emulex/benet/be2net.ko
>> -rw-r--r--   1 root     root        30765 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/ethoc.ko
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/icplus
>> -rw-r--r--   1 root     root        38565 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/icplus/ipg.ko
>> drwxr-xr-x  11 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel/e1000
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel/e1000e
>> -rw-r--r--   1 root     root       251805 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel/e1000/e1000.ko
>> -rw-r--r--   1 root     root       389989 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel/e1000e/e1000e.ko
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel/fm10k
>> -rw-r--r--   1 root     root       165885 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel/fm10k/fm10k.ko
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel/i40e
>> -rw-r--r--   1 root     root       406245 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel/i40e/i40e.ko
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel/i40evf
>> -rw-r--r--   1 root     root       115445 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel/i40evf/i40evf.ko
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel/igb
>> -rw-r--r--   1 root     root       329749 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel/igb/igb.ko
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel/igbvf
>> -rw-r--r--   1 root     root        64557 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel/igbvf/igbvf.ko
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel/ixgbe
>> -rw-r--r--   1 root     root       424669 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel/ixgbe/ixgbe.ko
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel/ixgbevf
>> -rw-r--r--   1 root     root        87181 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel/ixgbevf/ixgbevf.ko
>> -rw-r--r--   1 root     root        66461 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/jme.ko
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/marvell
>> -rw-r--r--   1 root     root        13557 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/marvell/mvmdio.ko
>> -rw-r--r--   1 root     root        74173 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/marvell/skge.ko
>> -rw-r--r--   1 root     root        95117 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/marvell/sky2.ko
>> drwxr-xr-x   4 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/mellanox
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/mellanox/mlx4
>> -rw-r--r--   1 root     root       465605 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_core.ko
>> -rw-r--r--   1 root     root       177373 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_en.ko
>> drwxr-xr-x   3 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/mellanox/mlx5
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/mellanox/mlx5/core
>> -rw-r--r--   1 root     root       277773 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko
>> drwxr-xr-x   3 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/myricom
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/myricom/myri10ge
>> -rw-r--r--   1 root     root        93845 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/myricom/myri10ge/myri10ge.ko
>> drwxr-xr-x   3 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/oki-semi
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/oki-semi/pch_gbe
>> -rw-r--r--   1 root     root       112749 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.ko
>> drwxr-xr-x   5 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/qlogic
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/qlogic/netxen
>> -rw-r--r--   1 root     root       169061 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/qlogic/netxen/netxen_nic.ko
>> -rw-r--r--   1 root     root        69037 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/qlogic/qla3xxx.ko
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/qlogic/qlcnic
>> -rw-r--r--   1 root     root       460453 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/qlogic/qlcnic/qlcnic.ko
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/qlogic/qlge
>> -rw-r--r--   1 root     root       142429 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/qlogic/qlge/qlge.ko
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/realtek
>> -rw-r--r--   1 root     root        51205 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/realtek/8139cp.ko
>> -rw-r--r--   1 root     root        68877 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/realtek/8139too.ko
>> -rw-r--r--   1 root     root       127725 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/realtek/r8169.ko
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/sfc
>> -rw-r--r--   1 root     root       508133 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/sfc/sfc.ko
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/smsc
>> -rw-r--r--   1 root     root        44309 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/smsc/epic100.ko
>> -rw-r--r--   1 root     root        48869 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/smsc/smsc9420.ko
>> drwxr-xr-x   2 root     root            0 Nov 29 22:26 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/ti
>> -rw-r--r--   1 root     root        57581 Oct 24 09:50 
>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/ti/tlan.ko
>> [root at localhost tftpboot]#
>>
>>
>> Still doesn't work - getting this error:
>>
>> localhost.localdomain dracut-initqueue[240]: RTNETLINK answers: File 
>> exists
>>
>> and only loopback network is up.  3 minutes later, it drops me into 
>> the dracut emergency shell.
>>
>> Thoughts?
>>
>> Regards,
>>
>> George Toft
>>
>> On 11/29/2016 10:17 PM, George Toft wrote:
>>> OS: CentOS 7
>>>
>>> I'm building an image for a diskless workstation, and it turns out 
>>> about 25% of the clients don't work (great description).
>>>
>>> The problem is the laptop NIC hardware.  What I found works are the 
>>> older laptops that use the e1000 NIC, but some newer ones don't work 
>>> - they are using something else.  I tried to create the initramdisk 
>>> using dracut:
>>>
>>> dracut --force -m "nfs network base" drive3testing.img 
>>> 3.10.0-327.36.3.el7.x86_64
>>>
>>> and when I look at the modules included, I get:
>>>
>>> [root at localhost tftpboot]# lsinitrd drive3testing.img | grep ethernet
>>> drwxr-xr-x   4 root     root            0 Nov 29 21:54 
>>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet
>>> drwxr-xr-x   3 root     root            0 Nov 29 21:54 
>>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel
>>> drwxr-xr-x   2 root     root            0 Nov 29 21:54 
>>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel/e1000e
>>> -rw-r--r--   1 root     root       389989 Oct 24 09:50 
>>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel/e1000e/e1000e.ko
>>> drwxr-xr-x   2 root     root            0 Nov 29 21:54 
>>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/realtek
>>> -rw-r--r--   1 root     root        51205 Oct 24 09:50 
>>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/realtek/8139cp.ko
>>> -rw-r--r--   1 root     root        68877 Oct 24 09:50 
>>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/realtek/8139too.ko
>>> [root at localhost tftpboot]#
>>>
>>> yet the number of ethernet kernel modules are far greater:
>>>
>>> [root at localhost tftpboot]# find 
>>> /usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet 
>>> -type f -exec basename {} \;
>>> alx.ko
>>> atl1c.ko
>>> atl1e.ko
>>> atl1.ko
>>> atl2.ko
>>> b44.ko
>>> bnx2.ko
>>> bnx2x.ko
>>> cnic.ko
>>> tg3.ko
>>> bna.ko
>>> at91_ether.ko
>>> macb.ko
>>> xgmac.ko
>>> cxgb3.ko
>>> cxgb4.ko
>>> cxgb4vf.ko
>>> enic.ko
>>> de2104x.ko
>>> de4x5.ko
>>> dmfe.ko
>>> tulip.ko
>>> uli526x.ko
>>> winbond-840.ko
>>> xircom_cb.ko
>>> dnet.ko
>>> be2net.ko
>>> ethoc.ko
>>> ipg.ko
>>> e1000.ko
>>> e1000e.ko
>>> fm10k.ko
>>> i40e.ko
>>> i40evf.ko
>>> igb.ko
>>> igbvf.ko
>>> ixgbe.ko
>>> ixgbevf.ko
>>> jme.ko
>>> mvmdio.ko
>>> skge.ko
>>> sky2.ko
>>> mlx4_core.ko
>>> mlx4_en.ko
>>> mlx5_core.ko
>>> myri10ge.ko
>>> pch_gbe.ko
>>> netxen_nic.ko
>>> qla3xxx.ko
>>> qlcnic.ko
>>> qlge.ko
>>> 8139cp.ko
>>> 8139too.ko
>>> r8169.ko
>>> sfc.ko
>>> epic100.ko
>>> smsc9420.ko
>>> tlan.ko
>>> [root at localhost tftpboot]#
>>>
>>> So I thought I found the answer, and shoved that list into the 
>>> dracut command like so:
>>>
>>> [root at localhost tftpboot]# dracut --force -m "nfs network base `find 
>>> /usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet 
>>> -type f -exec basename {} \;`" drivewipe3testing.img 
>>> 3.10.0-327.36.3.el7.x86_64
>>> dracut module 'alx.ko' cannot be found or installed.
>>> dracut module 'atl1c.ko' cannot be found or installed.
>>> dracut module 'atl1e.ko' cannot be found or installed.
>>> dracut module 'atl1.ko' cannot be found or installed.
>>> dracut module 'atl2.ko' cannot be found or installed.
>>> dracut module 'b44.ko' cannot be found or installed.
>>> dracut module 'bnx2.ko' cannot be found or installed.
>>> dracut module 'bnx2x.ko' cannot be found or installed.
>>> dracut module 'cnic.ko' cannot be found or installed.
>>> dracut module 'tg3.ko' cannot be found or installed.
>>> dracut module 'bna.ko' cannot be found or installed.
>>> dracut module 'at91_ether.ko' cannot be found or installed.
>>> dracut module 'macb.ko' cannot be found or installed.
>>> dracut module 'xgmac.ko' cannot be found or installed.
>>> dracut module 'cxgb3.ko' cannot be found or installed.
>>> :
>>> dracut module 'epic100.ko' cannot be found or installed.
>>> dracut module 'smsc9420.ko' cannot be found or installed.
>>> dracut module 'tlan.ko' cannot be found or installed.
>>> [root at localhost tftpboot]#
>>>
>>> I even tried to just list the directory name like so:
>>>
>>> [root at localhost tftpboot]# dracut --force -m "nfs network base `find 
>>> /usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet 
>>> -type d -exec basename {} \;`" drivewipe3testing.img 
>>> 3.10.0-327.36.3.el7.x86_64
>>>
>>> But that did didn't help much:
>>>
>>> [root at localhost tftpboot]# lsinitrd drivewipe3testing.img | grep 
>>> ethernet
>>> Arguments: --force -m 'nfs network base ethernet atheros alx atl1c 
>>> atl1e atlx broadcom bnx2x brocade bna cadence calxeda chelsio cxgb3 
>>> cxgb4 cxgb4vf cisco enic dec tulip emulex benet icplus intel e1000 
>>> e1000e fm10k i40e i40evf igb igbvf ixgbe ixgbevf marvell mellanox 
>>> mlx4 mlx5 core myricom myri10ge oki-semi pch_gbe qlogic netxen 
>>> qlcnic qlge realtek sfc smsc ti'
>>> drwxr-xr-x   4 root     root            0 Nov 29 22:04 
>>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet
>>> drwxr-xr-x   3 root     root            0 Nov 29 22:04 
>>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel
>>> drwxr-xr-x   2 root     root            0 Nov 29 22:04 
>>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel/e1000e
>>> -rw-r--r--   1 root     root       389989 Oct 24 09:50 
>>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/intel/e1000e/e1000e.ko
>>> drwxr-xr-x   2 root     root            0 Nov 29 22:04 
>>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/realtek
>>> -rw-r--r--   1 root     root        51205 Oct 24 09:50 
>>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/realtek/8139cp.ko
>>> -rw-r--r--   1 root     root        68877 Oct 24 09:50 
>>> usr/lib/modules/3.10.0-327.36.3.el7.x86_64/kernel/drivers/net/ethernet/realtek/8139too.ko
>>> [root at localhost tftpboot]#
>>>
>>>
>>> Listing of /etc/dracut.conf (space-saving mode - comments left out):
>>>
>>> [root at localhost tftpboot]# grep -v "^#" /etc/dracut.conf | grep -v "^$"
>>> add_dracutmodules+="nfs"
>>> [root at localhost tftpboot]#
>>>
>>> What am I doing wrong?
>>>
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss



More information about the PLUG-discuss mailing list