Hi, we have a strange problem with adding an extra network adapater in a SLES11
SP1
Starting with one works fine.
Adding one more always ends up with the first ip-address not posible to login
via ssh
but the added nr 2 ip-address works, so we can login ( thank's for that )
We have the following def in z/VM ( 5.4 )
NICDEF 0700 TYPE QDIO DEV 3 LAN SYSTEM VSW1
NICDEF 0710 TYPE QDIO DEV 3 LAN SYSTEM VSW1
below is from boot.msg, there is a strange rename, why ??
even more strange, after that rename in boot.msg, further down in same boot.msg
it displays eth0 as ip ending with 122 and eth1 as ip ending with 115 which is
the order we have configured them into, so what rename ???
<6>qeth.2c6def: register layer 3 discipline
<6>qdio: 0.0.0712 OSA on SC 5 using AI:1 QEBSM:0 PCI:1 TDD:1 SIGA:RW AO
<4>
<6>qeth.736dae: 0.0.0710: Device is a Guest LAN QDIO card (level: V543)
<4>with link type GuestLAN QDIO (portname: ZLINUX1)
<6>qeth.47953b: 0.0.0710: Hardware IP fragmentation not supported on eth0
<6>qeth.066069: 0.0.0710: Inbound source MAC-address not supported on eth0
<6>qeth.d7fdb4: 0.0.0710: VLAN enabled
<6>qeth.e90c78: 0.0.0710: Multicast enabled
<6>qeth.5a9d02: 0.0.0710: IPV6 enabled
<6>qeth.184d8a: 0.0.0710: Broadcast enabled
<6>qeth.dac2aa: 0.0.0710: Using SW checksumming on eth0.
<6>qeth.9c4c89: 0.0.0710: Outbound TSO not supported on eth0
<6>eth0 renamed to eth1 by udevd [676]
<------------------------------ STRANGE RENAME HERE
<6>udev: renamed network interface eth0 to eth1
<6>dasd-eckd.90fb0d: 0.0.0207: New DASD 3390/0C (CU 3990/01) with 3000
cylinders, 15 heads, 224 sectors
<6>dasd-eckd.412b53: 0.0.0207: DASD with 4 KB/block, 2160000 KB total size, 48
KB/track, compatible disk layout
<6> dasdh:VOL1/ 0X0207: dasdh1
<6>qdio: 0.0.0702 OSA on SC 2 using AI:1 QEBSM:0 PCI:1 TDD:1 SIGA:RW AO
<6>dasd-eckd.90fb0d: 0.0.0208: New DASD 3390/0C (CU 3990/01) with 1500
cylinders, 15 heads, 224 sectors
<6>dasd-eckd.412b53: 0.0.0208: DASD with 4 KB/block, 1080000 KB total size, 48
KB/track, linux disk layout
<6> dasdi:LNX1/ 0X0208: dasdi1
<6>qeth.736dae: 0.0.0700: Device is a Guest LAN QDIO card (level: V543)
<4>with link type GuestLAN QDIO (portname: ZLINUX)
<6>qeth.47953b: 0.0.0700: Hardware IP fragmentation not supported on eth0
<6>qeth.066069: 0.0.0700: Inbound source MAC-address not supported on eth0
<6>qeth.d7fdb4: 0.0.0700: VLAN enabled
<6>qeth.e90c78: 0.0.0700: Multicast enabled
<6>qeth.5a9d02: 0.0.0700: IPV6 enabled
<6>qeth.184d8a: 0.0.0700: Broadcast enabled
<6>qeth.dac2aa: 0.0.0700: Using SW checksumming on eth0.
<6>qeth.9c4c89: 0.0.0700: Outbound TSO not supported on eth0
...
...
Setting up (localfs) network interfaces:
lo
lo IP address: 127.0.0.1/8
IP address: 127.0.0.2/8
lo
..done eth0 name: OSA Express Network card (0.0.0700)
eth0 IP address: 10.248.33.122/25
Jul 8 10:56:10 zlinhm01 SuSEfirewall2: SuSEfirewall2 not active
eth0
..done eth1 name: OSA Express Network card (0.0.0710)
eth1 IP address: 10.248.33.115/25
Jul 8 10:56:10 zlinhm01 SuSEfirewall2: SuSEfirewall2 not active
eth1
..doneSetting up service (localfs) network . . . . . . . . . ...done
We have looked into /etc/udev/rules.d/ for there 700 and 710 devices, only
thing differed
was portname that was ZLINUX in 700 and 0 in 710
So we changed it to ZLINUX1 in 710 (we have a SLES10 using 3 devices with that
naming)
same shit ;)
Then we also paid attention to portno atribut, which was 0 for both 700 and
710, so
we changed that to 1 for 710. reboot: same result
And by reboot I mean z/VM logoff logon.
The udev 51 files looks like this now:
cat /etc/udev/rules.d/51-qeth-0.0.0700.rules
# Configure qeth device at 0.0.0700/0.0.0701/0.0.0702
ACTION=="add", SUBSYSTEM=="drivers", KERNEL=="qeth", IMPORT{program}="collect
0.0.0700 %k 0.0.0700 0.0.0701 0.0.0702 qeth"
ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="0.0.0700", IMPORT{program}="collect
0.0.0700 %k 0.0.0700 0.0.0701 0.0.0702 qeth"
ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="0.0.0701", IMPORT{program}="collect
0.0.0700 %k 0.0.0700 0.0.0701 0.0.0702 qeth"
ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="0.0.0702", IMPORT{program}="collect
0.0.0700 %k 0.0.0700 0.0.0701 0.0.0702 qeth"
TEST=="[ccwgroup/0.0.0700]", GOTO="qeth-0.0.0700-end"
ACTION=="add", SUBSYSTEM=="ccw", ENV{COLLECT_0.0.0700}=="0",
ATTR{[drivers/ccwgroup:qeth]group}="0.0.0700,0.0.0701,0.0.0702"
ACTION=="add", SUBSYSTEM=="drivers", KERNEL=="qeth",
ENV{COLLECT_0.0.0700}=="0",
ATTR{[drivers/ccwgroup:qeth]group}="0.0.0700,0.0.0701,0.0.0702"
LABEL="qeth-0.0.0700-end"
ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.0700",
ATTR{portname}="ZLINUX"
ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.0700", ATTR{portno}="0"
ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.0700", ATTR{layer2}="0"
ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.0700", ATTR{online}="1"
cat /etc/udev/rules.d/51-qeth-0.0.0710.rules
# Configure qeth device at 0.0.0710/0.0.0711/0.0.0712
ACTION=="add", SUBSYSTEM=="drivers", KERNEL=="qeth", IMPORT{program}="collect
0.0.0710 %k 0.0.0710 0.0.0711 0.0.0712 qeth"
ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="0.0.0710", IMPORT{program}="collect
0.0.0710 %k 0.0.0710 0.0.0711 0.0.0712 qeth"
ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="0.0.0711", IMPORT{program}="collect
0.0.0710 %k 0.0.0710 0.0.0711 0.0.0712 qeth"
ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="0.0.0712", IMPORT{program}="collect
0.0.0710 %k 0.0.0710 0.0.0711 0.0.0712 qeth"
TEST=="[ccwgroup/0.0.0710]", GOTO="qeth-0.0.0710-end"
ACTION=="add", SUBSYSTEM=="ccw", ENV{COLLECT_0.0.0710}=="0",
ATTR{[drivers/ccwgroup:qeth]group}="0.0.0710,0.0.0711,0.0.0712"
ACTION=="add", SUBSYSTEM=="drivers", KERNEL=="qeth",
ENV{COLLECT_0.0.0710}=="0",
ATTR{[drivers/ccwgroup:qeth]group}="0.0.0710,0.0.0711,0.0.0712"
LABEL="qeth-0.0.0710-end"
ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.0710",
ATTR{portname}="ZLINUX1"
ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.0710", ATTR{portno}="1"
ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.0710", ATTR{layer2}="0"
ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.0710", ATTR{online}="1"
There are also diffs in the files :
:/etc/sysconfig/network # cat ifcfg-eth0
BOOTPROTO='static'
IPADDR='10.248.33.122/25'
BROADCAST='131.97.122.127'
STARTMODE='onboot'
NAME='OSA Express Network card (0.0.0700)'
:/etc/sysconfig/network # cat ifcfg-eth1
BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
INTERFACETYPE='qeth'
IPADDR='10.248.33.115/25'
MTU=''
NAME='OSA Express Network card (0.0.0710)'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
don't know if these matters here.
If we remove ( or delete in Yast 710 'not configured' )
the first 700 with ip ending with 122 starts working again.
We really would appreciate some hints here !
Best Regards Tore Agblad
Cordialement / Vriendelijke Groeten / Best Regards / Med Vänliga Hälsningar
Tore Agblad
Volvo Information Technology
Infrastructure Mainframe Design & Development
SE-405 08, Gothenburg Sweden
E-mail: [email protected]
http://www.volvo.com/volvoit/global/en-gb/
________________________________________
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/