Since mlx4_en does not publish a list of pci ids to support, put udev rule
to detect and load appropriate drivers git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11430 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
ff55c8e93e
commit
59835e592a
1
xCAT-nbroot2/98-mlx.rules
Normal file
1
xCAT-nbroot2/98-mlx.rules
Normal file
@ -0,0 +1 @@
|
||||
SUBSYSTEM=="pci", ATTRS{subsystem_vendor}=="15b3", ATTRS{subsystem_device}=="4010", RUN+="/sbin/loadmlxeth"
|
@ -604,7 +604,9 @@ inst "$moddir/dhclient.conf" "/etc/dhclient.conf"
|
||||
inst "$moddir/dhclient-script" "/sbin/dhclient-script"
|
||||
inst "$moddir/rsyslog.conf" "/etc/rsyslog.conf"
|
||||
inst "$moddir/99-imm.rules" "/etc/udev/rules.d/99-imm.rules"
|
||||
inst "$moddir/98-mlx.rules" "/etc/udev/rules.d/98-mlx.rules"
|
||||
inst "$moddir/setupimmnic" "/sbin/setupimmnic"
|
||||
inst "$moddir/loadmlxeth" "/sbin/loadmlxeth"
|
||||
dracut_install /sbin/rpc.statd /usr/sbin/sm-notify /etc/netconfig rpcbind /etc/host.conf /usr/sbin/rpc.idmapd
|
||||
dracut_install ps free find #debug
|
||||
inst_dir /var/lib/nfs
|
||||
|
1
xCAT-nbroot2/loadmlxeth
Executable file
1
xCAT-nbroot2/loadmlxeth
Executable file
@ -0,0 +1 @@
|
||||
modprobe mlx4_en
|
Loading…
Reference in New Issue
Block a user