2. The z/VM userid was not GRANTed access to couple to the VSWITCH. We did grant the guest manhyine permission to access the NIC (see q LAN details output)
1. The portname on the virtual NIC doesn't match what was specified for the VSWITCH. How do we specify the port name on the virtual NIC(NICDEF statment?). Below is the NICDEF statement that we used to define the layer 2 definition. Like you have pointed the port name in the output of "q lan details" does show OSA3600 on VMSWITCH definition and "UNASSIGNED" on the NIC(see below for the details). --------------------------------------- |NICDEF statement --------------------------------------- NICDEF 0700 TYPE QDIO LAN SYSTEM VSWITCHE --------------------------------------- |Q lAN DETAILS output --------------------------------------- q lan details 13:31:29 VSWITCH SYSTEM VSWITCHE Type: VSWITCH Connected: 1 Maxconn:INFINITE 13:31:29 PERSISTENT RESTRICTED ETHERNET Accounting: OFF 13:31:29 VLAN Unaware 13:31:29 State: Ready 13:31:29 QueueStorage: 8 13:31:29 Portname: OSA3600 RDEV: 3600 Controller: VSWCTRL1 VDEV: 3600 13:31:29 Adapter Owner: SVML09 NIC: 0700 Name: UNASSIGNED 13:31:29 RX Packets: 0 Discarded: 0 Errors: 0 13:31:29 TX Packets: 0 Discarded: 0 Errors: 0 13:31:29 RX Bytes: 0 TX Bytes: 0 13:31:29 Device: 0702 Unit: 002 Role: DATA 13:31:29 VSWITCH SYSTEM VSWITCH1 Type: VSWITCH Connected: 1 Maxconn: INFINITE 13:31:29 PERSISTENT RESTRICTED NONROUTER Accounting: OFF 13:31:29 VLAN Unaware 13:31:29 State: Ready 13:31:29 IPTimeout: 5 QueueStorage: 8 13:31:29 Portname: UNASSIGNED RDEV: 3903 Controller: VSWCTRL1 VDEV: 3903 13:31:29 Adapter Owner: SVML09 NIC: 0600 Name: UNASSIGNED 13:31:29 RX Packets: 17718 Discarded: 0 Errors: 0 13:31:29 TX Packets: 7674 Discarded: 0 Errors: 0 13:31:29 RX Bytes: 880667 TX Bytes: 557357 13:31:29 Device: 0602 Unit: 002 Role: DATA 13:31:29 Options: Broadcast Multicast IPv4 VLAN 13:31:29 Unicast IP Addresses: 13:31:29 157.170.179.123 MAC: 02-00-00-00-00-01 13:31:29 Multicast IP Addresses: 13:31:29 224.0.0.1 MAC: 01-00-5E-00-00-01 Ready; T=0.01/0.01 13:31:29 I've also seen that when the layers don't match (i.e. /sys/bus/.../layer2=0 but VSWITCH is in layer2 mode). Did you echo 1 > layer2 and echo OSA3600 > portname before echo 1 > online ? I could not find /sys/bus/.../0/0/0700/layer2=0 file at all after adding "echo 0.0.0700,0.0.0701,0.0.0702 > /sys/bus/ccwgroup/drivers/qeth/group". When I did a echo 1 > /sys/bus/.../layer2 it error'ed giving no such file/directory. Thank you, Ashwin -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Wednesday, June 27, 2007 12:30 PM To: [email protected] Subject: Re: How to add Layer2 network device to linux guest machine >>> On Wed, Jun 27, 2007 at 1:09 PM, in message <[EMAIL PROTECTED]>, "Bhemidhi, Ashwin" <[EMAIL PROTECTED]> wrote: > I am still struck with the same problem. Does anyone know what this > error message in /var/log/messages mean, it seems to have happened when > I did "echo 0.0.0700,0.0.0701,0.0.0702 > > /sys/bus/ccwgroup/drivers/qeth/group" but I am not sure if it > correspondence to with the command. > > Jun 27 11:55:46 svml09 kernel: qeth: received an IDX TERMINATE with > cause code 0x4e > Jun 27 11:55:46 svml09 kernel: qeth: Initialization in hardsetup failed! > rc=-5 http://www.google.com/search?hl=en&q=%22IDX+terminate%22+with+cause+code +0x4e The two causes appear to be: 1. The portname on the virtual NIC doesn't match what was specified for the VSWITCH. 2. The z/VM userid was not GRANTed access to couple to the VSWITCH. 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 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
