Bug 459044
Summary: | Hipersocket real devices attach/detach in z/VM doesn't recover with write and data device | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | IBM Bug Proxy <bugproxy> | ||||||
Component: | initscripts | Assignee: | initscripts Maintenance Team <initscripts-maint-list> | ||||||
Status: | CLOSED ERRATA | QA Contact: | BaseOS QE <qe-baseos-auto> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 5.2.z | CC: | borgan, cward, dzickus, harald, hpicht, jjarvis, jkachuck, pknirsch, rhel, syeghiay, tao, ykopkova | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | s390x | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2009-01-20 22:15:40 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
IBM Bug Proxy
2008-08-13 21:28:27 UTC
Tjhis is proposed for 5.4 as per todays bug call, Hello Red Hat: There is the RIT 232889 created now and connected to this LTC BZ. Please link RIT 232889 to RH BZ 459044. > https://enterprise.redhat.com/issue-tracker/?module=issues&action=view&tid=232889 Hello Red Hat, the fix in udev is for a System z specific event which would not have impact on other architectures and it will benefit customers working with virtualized environments which are common on System z . Please evaluate inclusion into RHEL5.3 As asked for in todays call: (for adaption in RIT) This bug has severity "high" and Priority 2 on IBM site. if you have any issues to accept this fix please let us know what are your concerns regarding: business impact technical issues or quality Thanks in advance Created attachment 322692 [details]
initscripts-8.45.21-s390-subchannel.patch
Created attachment 322693 [details]
initscripts-8.45.21-s390-specfile.patch
Hello Red Hat, attached to this BZ you'll find two patches against the initrd package. This is *not* a kernel issue. The patches have been tested and fix the problem. Posting this patch upstream is not applicable, since this only changes Redhat specific distribution code. With best regards, --Hans Patch is broken.. # t="60" grep -i "^[[:space:]]*SUBCHANNELS=.*${t}.*$" /tmp/sub-test.txt SUBCHANNELS=0.600.0 SUBCHANNELS=0.0.600 SUBCHANNELS=600.0.0 (In reply to comment #20) > ------- Comment From harald 2008-11-10 12:13:05 EDT------- > Patch is broken.. > > # t="60" grep -i "^[[:space:]]*SUBCHANNELS=.*${t}.*$" /tmp/sub-test.txt > SUBCHANNELS=0.600.0 > SUBCHANNELS=0.0.600 > SUBCHANNELS=600.0.0 > Hi Harald, I think your testcase is broken. In this test $t should look like this "0.0.0060", since this is the format which is passed to get_config_by_subchannel (). With best regards, --Hans CHANNEL=${DEVPATH##*/} CONFIG=$(get_config_by_subchannel $CHANNEL) and IIRC CHANNEL is only one channel I stand corrected.. your patch would work $ t=0.0.0100 grep -i "^[[:space:]]*SUBCHANNELS=.*${t}.*$" /tmp/sub-test.txt SUBCHANNELS=0.0.0100,0.0.0200,0.0.0300 SUBCHANNELS=10.0.0100,0.0.0200,0.0.0300 As per John Jarvis this should be in snapshot 3 because fix is checked in already Hi Hans, RHEl5.3 is initscripts-8.45.25-1.el5 contains this , which is different from the patch above LANG=C egrep -i -l "^[[:space:]]*SUBCHANNELS=([0-9]\.[0-9]\.[a-f0-9]+,){0,2}${1}(,[0-9]\.[0-9]\.[a-f0-9]+){0,2}([[:space:]]+#|[[:space:]]*$)" /etc/sysconfig/network-scripts/ifcfg-* \ | LC_ALL=C sed -e "$__sed_discard_ignored_files" The problem is not fixed , the write and data device doesn't recover from after detach/attach thanks Anupama Could you attach your ifcfg files to this bugzilla please? That way we can reproduce the failing restart. Thanks & regards, Phil Ping IBM, please attach the ifcfg files for a reproducer. Thanks & regards, Phil Hello Redhat , Here is the ifcfg file of Hipersockets # IBM QETH DEVICE=hsi0 BOOTPROTO=static IPADDR=10.40.48.35 NETMASK=255.255.0.0 NETTYPE=qeth ONBOOT=yes PORTNAME=OSAPORT OPTIONS="layer2=1" SUBCHANNELS=0.0.8003,0.0.8004,0.0.8005 [root@h4215035 ~]# cat /etc/modprobe.conf f alias eth0 qeth alias hsi0 qeth with: # cat ifcfg-eth1 TYPE=Ethernet DEVICE=eth1 BOOTPROTO=none ONBOOT=no USERCTL=no IPV6INIT=no PEERDNS=yes SUBCHANNELS=0.0.0700,0.0.0701,0.0.0702 NETTYPE=qeth NETMASK=255.255.255.0 IPADDR=192.168.1.1 I was able to do: # vmcp detach 701 \* # vmcp attach 701 \* and ccw_init found the correct ifcfg file, but: # ifconfig eth1 eth1: error fetching interface information: Device not found I had to detach everything first to make it work afterwards. # ifconfig eth1 eth1 Link encap:Ethernet HWaddr 00:09:6B:1A:B3:A9 BROADCAST MULTICAST MTU:1492 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) # vmcp detach 700 \* OSA 0700 DETACHED BY DEVEL3 # vmcp detach 701 \* OSA 0701 DETACHED BY DEVEL3 # vmcp detach 702 \* OSA 0702 DETACHED BY DEVEL3 # vmcp attach 700 \* OSA 0700 ATTACHED TO DEVEL3 0700 # ifconfig eth1 eth1: error fetching interface information: Device not found # vmcp attach 701 \* OSA 0701 ATTACHED TO DEVEL3 0701 # ifconfig eth1 eth1: error fetching interface information: Device not found # vmcp attach 702 \* OSA 0702 ATTACHED TO DEVEL3 0702 [root@devel3 network-scripts]# ifconfig eth1 eth1 Link encap:Ethernet HWaddr 00:09:6B:1A:B3:A9 BROADCAST MULTICAST MTU:1492 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Is there anything to be done additionally in ccw_init, if only one channel is reattached? so to summarize: Thus for the 2nd and 3rd subchannel of a qeth-device: Even though the hotplug event is generated, the scripts are not able to determine the corresponding ifcfg-file. The group-operation in /lib/udev/ccw_init echo "$SUBCHANNELS" > $DIR/group fails, because $NETTYPE is empty and thus $DIR is not setup correctly. Now, the ifcfg-file is found, but the: echo "$SUBCHANNELS" > $DIR/group fails nontheless. Both, initscripts-8.45.25-1.el5 and the patch from comment #5 let ccw_init find the correct ifcfg-file.. but both versions fail on my machine to recover the interface! After a telephone conference with Phil Knirsch we came to the conclusion that the best idea is to close this issue (since the correct ifcfg-configuration-file is found) and to open a new bug against the corresponding kernel device driver for 5.4 With best regards, --Hans (In reply to comment #39) > After a telephone conference with Phil Knirsch we came to the conclusion that > the best idea is to close this issue (since the correct > ifcfg-configuration-file is found) and to open a new bug against the > corresponding kernel device driver for 5.4 Hi Hans, Thanks for the update. Have you already opened a new bug for RHEL 5.4? Please go ahead and close this bug (Resolution= WILLNOTFIX ?) when you open the new bug. Thanks! Closing this bug @IBM. For the follow up discussion we use the following bugzilla entry: https://bugzilla.linux.ibm.com/show_bug.cgi?id=50500 We currently don't have a RH BZ id yet. With best regards, --Hans An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0245.html |