QETH_PORTNO=1

in /etc/sysconfig/hardware/hwcfg-qeth-bus-ccw-0.0.1200 was the trick.


Chuck Tribolet
trib...@almaden.ibm.com (IBM business)
trib...@garlic.com (Personal)
http://www.almaden.ibm.com/cs/people/triblet



From:   Chuck Tribolet/Almaden/IBM
To:     linux-...@www2.marist.edu
Date:   03/08/2011 06:08 PM
Subject:        Defining second OSA port on the chpid on SLES10 SP3


I'm trying to use the second port on an OSA Express3 card under SLES10
SP3.  It keeps coming up trying to talk to the first port (portno 0).  I
know the HW is good because it will work if I do:

ifdown eth0
echo 0 > /sys/bus/ccwgroup/drivers/qeth/0.0.1200/online
echo 1 > /sys/bus/ccwgroup/drivers/qeth/0.0.1200/portno
echo 1 > /sys/bus/ccwgroup/drivers/qeth/0.0.1200/online
ifup eth0

but that goes away when I reboot zLinux.  It's not persistent.

Here's /etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.1200

BOOTPROTO='static'
UNIQUE=''
STARTMODE='auto'
IPADDR='9.30.163.167'
IPADDR_IPV6='fec8::9:30:163:167/64'
NETMASK='255.255.255.128'
NETWORK=''
BROADCAST=''
_nm_name='qeth-bus-ccw-0.0.1200'
PORTNO=1
ETHTOOL_OPTIONS=''
LLADDR=''
MTU=''
NAME=''
REMOTE_IPADDR=''
USERCONTROL='no'

What am I missing?

Chuck Tribolet
trib...@almaden.ibm.com (IBM business)
trib...@garlic.com (Personal)
http://www.almaden.ibm.com/cs/people/triblet

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu 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/

Reply via email to