Yes, that was the trick.

THANKS!

Frank M. Ramaekers Jr.
Systems Programmer                   MCP, MCP+I, MCSE & RHCE
American Income Life Insurance Co.   Phone: (254)761-6649
1200 Wooded Acres Dr.                Fax:   (254)741-5777
Waco, Texas  76710
        
-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of
Brad Hinson
Sent: Friday, December 18, 2009 3:04 PM
To: [email protected]
Subject: Re: CentOS 4.7 on zSeries

Frank M. Ramaekers wrote:
> No, I want two:       eth0 - Real OSA-X (out to the real world)
>                       eth1 - VSWITCH (internal to the zSeries)
>
> I went ahead and added my own ifcfg-eth1 (hoping that would help).
>
> # IBM QETH
> DEVICE=eth1
> ARP=no
> BOOTPROTO=static
> BROADCAST=192.168.199.255
> IPADDR=192.168.199.40
> MTU=4096
> NETMASK=255.255.255.0
> NETTYPE=qeth
> NETWORK=192.168.199.0
> ONBOOT=yes
> PORTNAME=FOOBAR
> SUBCHANNELS=0.0.0700,0.0.0701,0.0.0702
> TYPE=Ethernet
>

Is eth1 not coming up automatically?  If not, make sure you have this
line in /etc/modprobe.conf:

alias eth1 qeth

> Frank M. Ramaekers Jr.
> Systems Programmer                   MCP, MCP+I, MCSE & RHCE
> American Income Life Insurance Co.   Phone: (254)761-6649
> 1200 Wooded Acres Dr.                Fax:   (254)741-5777
> Waco, Texas  76710
>       
>
>
>
>
> -----Original Message-----
> From: Linux on 390 Port [mailto:[email protected]] On Behalf Of
> Brad Hinson
> Sent: Friday, December 18, 2009 2:28 PM
> To: [email protected]
> Subject: Re: CentOS 4.7 on zSeries
>
> Frank M. Ramaekers wrote:
>> 1)  see below...
>> CP Q NIC DET
>> Adapter 0700.P00 Type: QDIO      Name: UNASSIGNED  Devices: 3
>>   MAC: 02-00-00-00-00-06         VSWITCH: SYSTEM VSWTMK00
>>       RX Packets: 0          Discarded: 0          Errors: 0
>>       TX Packets: 0          Discarded: 0          Errors: 0
>>       RX Bytes: 0                    TX Bytes: 0
>>   Unassigned Devices:
>>       Device: 0700  Unit: 000   Role: Unassigned
>>       Device: 0701  Unit: 001   Role: Unassigned
>>       Device: 0702  Unit: 002   Role: Unassigned
>> Currently, I IPL CMS in order to perform the 'COUPLE' command (which
>> doesn't fail).   I have performed the SET GRANT.   I see nothing in
> the
>> dmesg (except for the eth0):
>> qeth: Device 0.0.0600/0.0.0601/0.0.0602 is a OSD Express card (level:
>> 0892)
>> with link type OSD_1000 (portname: FOOBAR)
>> divert: allocating divert_blk for eth0
>> qeth: Hardware IP fragmentation not supported on eth0
>> qeth: VLAN enabled
>> qeth: Multicast enabled
>> qeth: IPV6 enabled
>> qeth: Broadcast enabled
>> qeth: Using SW checksumming on eth0.
>> qeth: Outbound TSO enabled
>> ip_tables: (C) 2000-2002 Netfilter core team
>> eth0: no IPv6 routers present
>> (The real OSA-X is at 0600-0602 and the VSWITCH is 0700-0702)
>
> This indicates eth0 is 600-602, the real OSA.  If you want eth0 to be
> the NIC, set SUBCHANNES=0.0.0700,0.0.0701,0.0.0702 in
> /etc/sysconfig/network-scripts/ifcfg-eth0.  If that doesn't help, the
> output of 'q vswitch VSWTMK00' and
> /etc/sysconfig/network-scripts/ifcfg-eth0 may help.
>
> -Brad
>
>> # vmcp q v osa
>> OSA  0600 ON OSA   0F90 SUBCHANNEL = 0000
>>      0600 DEVTYPE OSA         CHPID 01 OSD
>>      0600 QDIO-ELIGIBLE       QIOASSIST-ELIGIBLE
>> OSA  0601 ON OSA   0F91 SUBCHANNEL = 0001
>>      0601 DEVTYPE OSA         CHPID 01 OSD
>>      0601 QDIO-ELIGIBLE       QIOASSIST-ELIGIBLE
>> OSA  0602 ON OSA   0F92 SUBCHANNEL = 0002
>>      0602 DEVTYPE OSA         CHPID 01 OSD
>>      0602 QDIO ACTIVE         QIOASSIST ACTIVE
>>      0602
>>      0602 INP + 01 IOCNT = 00136721  ADP = 014 PROG = 000 UNAVAIL =
> 114
>>      0602          BYTES = 0000000001359600
>>      0602 OUT + 01 IOCNT = 00000000  ADP = 000 PROG = 000 UNAVAIL =
> 128
>>      0602          BYTES = 0000000000000000
>>      0602 OUT + 02 IOCNT = 00000000  ADP = 000 PROG = 000 UNAVAIL =
> 128
>>      0602          BYTES = 0000000000000000
>>      0602 OUT - 03 IOCNT = 00001377  ADP = 001 PROG = 127 UNAVAIL =
> 000
>>      0602          BYTES = 000000000004ADC0
>>      0602 OUT + 04 IOCNT = 00000000  ADP = 000 PROG = 000 UNAVAIL =
> 128
>>      0602          BYTES = 0000000000000000
>> OSA  0700 ON NIC  0700  UNIT 000 SUBCHANNEL = 0003
>>      0700 DEVTYPE OSA         CHPID 02 OSD
>>      0700 MAC 02-00-00-00-00-06 CURRENT
>>      0700 QDIO-ELIGIBLE       QIOASSIST-ELIGIBLE
>> OSA  0701 ON NIC  0700  UNIT 001 SUBCHANNEL = 0004
>>      0701 DEVTYPE OSA         CHPID 02 OSD
>>      0701 QDIO-ELIGIBLE       QIOASSIST-ELIGIBLE
>> OSA  0702 ON NIC  0700  UNIT 002 SUBCHANNEL = 0005
>>      0702 DEVTYPE OSA         CHPID 02 OSD
>>      0702 QDIO-ELIGIBLE       QIOASSIST-ELIGIBLE
>>
>> 2)   Okay:
>> modprobe vmcp
>> [r...@vmlnx000 ~]# vmcp q t
>> TIME IS 10:28:38 CST FRIDAY 12/18/09
>> CONNECT= 27:04:50 VIRTCPU= 014:03.64 TOTCPU= 014:28.42
>>
>> Does the monprobe have to run each time the Linux system is booted?
>>
>> Frank M. Ramaekers Jr.
>> Systems Programmer                   MCP, MCP+I, MCSE & RHCE
>> American Income Life Insurance Co.   Phone: (254)761-6649
>> 1200 Wooded Acres Dr.                Fax:   (254)741-5777
>> Waco, Texas  76710
>>      
>>
>>
>>
>>
>> -----Original Message-----
>> From: Linux on 390 Port [mailto:[email protected]] On Behalf Of
>> Mauro Souza
>> Sent: Friday, December 18, 2009 9:50 AM
>> To: [email protected]
>> Subject: Re: CentOS 4.7 on zSeries
>>
>> 1 - When you IPL your Linux, there could be some message indicating
> why
>> your
>> vswitch isn't working. The most common mistake is forgetting to give
> the
>> guest authorization to couple to the vswitch.
>> 2 - To use vmcp, the module vmcp must be loaded. Issue a "modprobe
> vmcp"
>> before.
>>
>> Mauro
>> http://mauro.limeiratem.com - registered Linux User: 294521
>> Scripture is both history, and a love letter from God.
>>
>>
>> On Fri, Dec 18, 2009 at 1:42 PM, Frank M. Ramaekers
>> <[email protected]>wrote:
>>
>>> I've just loaded CentOS 4.7 in a VM (z/VM 5.4) and am experiencing
>> some
>>> problems:
>>>
>>> 1)      I have a VSWITCH that I can't seem to get working (already
>> have
>>> a eth0 with a real OSA-X)
>>>
>>> 2)      The vmcp device seems to be missing:
>>> # vmcp q t
>>> Error: Could not open device /dev/vmcp: No such file or directory
>>>
>>> Thanks,
>>>
>>>
>>> Frank M. Ramaekers Jr.
>>> Systems Programmer                   MCP, MCP+I, MCSE & RHCE
>>> American Income Life Insurance Co.   Phone: (254)761-6649
>>> 1200 Wooded Acres Dr.                Fax:   (254)741-5777
>>> Waco, Texas  76710
>>>
>>>
>>> _____________________________________________________
>>> This message contains information which is privileged and
> confidential
>> and
>>> is solely for the use of the
>>> intended recipient. If you are not the intended recipient, be aware
>> that
>>> any review, disclosure,
>>> copying, distribution, or use of the contents of this message is
>> strictly
>>> prohibited. If you have
>>> received this in error, please destroy it immediately and notify us
> at
>>> [email protected].
>>>
>>>
> ----------------------------------------------------------------------
>>> 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
>>
>> _____________________________________________________
>> This message contains information which is privileged and
confidential
> and is solely for the use of the
>> intended recipient. If you are not the intended recipient, be aware
> that any review, disclosure,
>> copying, distribution, or use of the contents of this message is
> strictly prohibited. If you have
>> received this in error, please destroy it immediately and notify us
at
> [email protected].
>>
----------------------------------------------------------------------
>> 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
>
> --
> Brad Hinson <[email protected]>
> Sr. Support Engineer Lead, System z
> Red Hat, Inc.
> (919) 754-4198
> www.redhat.com/z
>
> ----------------------------------------------------------------------
> 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
>
> _____________________________________________________
> This message contains information which is privileged and confidential
and is solely for the use of the
> intended recipient. If you are not the intended recipient, be aware
that any review, disclosure,
> copying, distribution, or use of the contents of this message is
strictly prohibited. If you have
> received this in error, please destroy it immediately and notify us at
[email protected].
>
> ----------------------------------------------------------------------
> 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

--
Brad Hinson <[email protected]>
Sr. Support Engineer Lead, System z
Red Hat, Inc.
(919) 754-4198
www.redhat.com/z

----------------------------------------------------------------------
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

_____________________________________________________
This message contains information which is privileged and confidential and is 
solely for the use of the
intended recipient. If you are not the intended recipient, be aware that any 
review, disclosure,
copying, distribution, or use of the contents of this message is strictly 
prohibited. If you have
received this in error, please destroy it immediately and notify us at 
[email protected].

----------------------------------------------------------------------
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

Reply via email to