>>> On 7/30/2010 at 08:30 AM, "van Sleeuwen, Berry"
<[email protected]> wrote:
> Hi Mark,
>
> It didn't work after we setup with "QETH_PORTNO=1". To verify I tried to
> enable port 1 online as descibed in the Device driver manual. That did
> the trick. So we can use port1 on the OSA. But once we reboot the
> linuxguest will be using port0 again. How can we make sure it is
> correctly configured after a reboot?
It looks like that part of the support didn't make it into SP2, only SP3 and
later. Since you're running an out of service system anyway, you could just
make this update:
--- /etc/sysconfig/hardware/scripts/hwup-qeth 2010-07-30 14:44:26.000000000
-0400
+++ /etc/sysconfig/hardware/scripts/hwup-qeth 2009-09-05
07:51:01.000000000 -0400
@@ -57,6 +57,13 @@
echo 1 > $_ccwgroup_dir/layer2
fi
fi
+ # Choose local port number
+ if [ -w "$_ccwgroup_dir/portno" ] && [ "$QETH_PORTNO" ]; then
+ if [ "$QETH_PORTNO" -gt "0" ]; then
+ message_n "(Port $QETH_PORTNO) "
+ echo $QETH_PORTNO >$_ccwgroup_dir/portno
+ fi
+ fi
# Set additional options
if [ "$QETH_OPTIONS" ]; then
for opt in $QETH_OPTIONS; do
There won't be any future maintenance coming along to wipe out the change.
You'd be better off upgrading to SP3, however.
Mark Post
----------------------------------------------------------------------
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/