Mailinglist Archive: opensuse (911 mails)

< Previous Next >
Re: [opensuse] puzzle of the week: why was my eth1 renamed ibft0 ?
16.12.2015 15:11, Per Jessen пишет:
On a new Leap install, "eth1" suddenly (well, after having rebuilt the
initrd a few times) ended up getting renamed as ibft0 ?? I don't
recall ever seeing that before.


It actually should be the second initrd. If root is on iSCSI, dracut
always adds iscsi_ibft module; on next run (after reboot) it sees IBFT
information and in this case it sets boot interface name to ibft.

I do not see any way to disable this behavior. I did not study code
enough to check what depends on fixed name.

May be it is more simple to accept this? Otherwise it is really question
to upstream.

The system is booting over iSCSI, but this behaviour is new.

When I rebuild the initrd, I now see:

Stored kernel commandline:
ip=ibft rd.iscsi.firmware=1
resume=UUID=0486e987-f7f8-4335-8844-846bc7b46997
root=UUID=7b9d1cc7-a7a0-435d-987c-84eedee7188e
rootflags=rw,relatime,data=ordered rootfstype=ext4

I have no idea where "ip=ibft rd.iscsi.firmware=1" comes from.

When booting like this, my network config ends up being:

2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group
default qlen 1000
link/ether 00:30:48:90:80:d0 brd ff:ff:ff:ff:ff:ff
3: ibft0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP group default qlen 1000
link/ether 00:30:48:90:80:d1 brd ff:ff:ff:ff:ff:ff
inet 10.42.8.4/21 brd 10.42.15.255 scope global ibft0
valid_lft forever preferred_lft forever
inet6 fe80::230:48ff:fe90:80d1/64 scope link
valid_lft forever preferred_lft forever

Despite no config for ibft0:

# ls -l /etc/sysconfig/network
total 72
-rw-r--r-- 1 root root 8693 Dec 16 10:49 config
-rw-r--r-- 1 root root 9013 Dec 16 10:49 dhcp
-rw-r--r-- 1 root root 35 Dec 16 13:00 ifcfg-eth1
-rw------- 1 root root 173 Dec 16 10:49 ifcfg-lo
-rw-r--r-- 1 root root 21738 Sep 11 10:14 ifcfg.template
drwxr-xr-x 2 root root 4096 Dec 16 10:48 if-down.d
drwxr-xr-x 2 root root 4096 Dec 16 10:48 if-up.d
drwx------ 2 root root 4096 Sep 30 12:59 providers
drwxr-xr-x 2 root root 4096 Dec 16 10:48 scripts




--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References