Hi,
The chandev.conf device statements start with the driver name || index
(not the interface name || index). Use "qeth0" instead of "hsi0" in
chandev.
I missed it when I scanned your configuration files, but the chandev_setup
message was the clue that sent me back there:
chandev_setup unknown verb hsi0,0xf00,0xf01,0xf02,0,0 on line no 3
interpreted as hsi0,0xf00,0xf01,0xf02,0,0.
Type man chandev for more info.
Everything else looked OK to me.
Regards,
Dennis
----------------------------------------------------------------
Dennis Musselwhite ([EMAIL PROTECTED]) +1(607)429-3831
z/VM Development -- CP Network Simulation -- IBM Endicott NY
"Kern, Thomas"
<[EMAIL PROTECTED] To: [EMAIL PROTECTED]
oe.gov> cc:
Sent by: Linux on Subject: [LINUX-390] Attempting to use
a VM Guest LAN
390 Port
<[EMAIL PROTECTED]
IST.EDU>
08/25/2003 08:31
AM
Please respond to
Linux on 390 Port
I am attempting to use a guest LAN within our zVM 4.3 system. The Linux I
am
using is the RedHat Enterprise Linux AS 3 Beta. I am cross-posting this to
the Linux-390 and the tarron-beta lists.
I have tried to follow theexamples given in the redbooks and in emails
posted on the Linux-390 list but I cannot get the guset lan interface to
startup. Attached is a snipped copy of my system console log.
If anyone can spot whatever mistake I have overlooked, I would be grateful.
Thanks for your help.
BTW, I am just heading out for our Disaster Recovery test and the bosses
insist on my using the Outlook Out-of-Office robot so you might get an
out-of-office reply even though I check my emails regularly, even from the
DR hotsite.
/Thomas Kern
/301-903-2211
CP Q NIC DETAILS
Adapter 0F00 Type: HIPERS Name: UNASSIGNED Devices: 3
Port 0 MAC: 00-04-AC-00-00-00 LAN: SYSTEM VMLAN01 MFS: 16384
RX Packets: 0 Discarded: 0 Errors: 0
TX Packets: 0 Discarded: 0 Errors: 0
RX Bytes: 0 TX Bytes: 0
Unassigned Devices:
Device: 0F00 Unit: 000 Role: Unassigned
Device: 0F01 Unit: 001 Role: Unassigned
Device: 0F02 Unit: 002 Role: Unassigned
CP Q LAN VMLAN01 DETAILS
LAN SYSTEM VMLAN01 Type: HIPERS Active: 2 MAXCONN: INFINITE
PERSISTENT UNRESTRICTED MFS: 16384 ACCOUNTING: OFF
Adapter Owner: LNXRH00 NIC: 0F00 Name: UNASSIGNED
Adapter Owner: TCPTEST NIC: 0F00 Name: VMLAN01
10.0.10.2 224.0.0.1
CP IPL 591 CLEAR
Linux version 2.4.21-1.1931.2.349.2.2.ent
([EMAIL PROTECTED])
(gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-12)) #
1 SMP Fri Jul 18 00:07:38 EDT 2003
We are running under VM (31 bit mode)
Setting network parameters: OK ]
Bringing up loopback interface: OK ]
Bringing up interface ci0: OK ]
Bringing up interface hsi0:
qeth device hsi0 does not seem to be present, delaying initialization.
FAILED]
cat /etc/chandev.conf
noauto
add_parms,0x10,0xf00,0xf02,portname=VMLAN01
hsi0,0xf00,0xf01,0xf02,0,0
[EMAIL PROTECTED] root]#
cat /etc/modules.conf
cat /etc/modules.conf
alias ci0 c7000
options c7000 base0=0x240c lhost0="VM" uhost0="CLAW2F" lappl0="TCPIP"
uappl0="TCPIP"
alias iucv0 netiucv
options netiucv iucv=linux1
alias hsi0 qeth
alias char-major-4 off
alias net-pf-10 off
cat /etc/sysconfig/network-scripts/ifcfg-hsi0
DEVICE=hsi0
USERCTL=no
ONBOOT=yes
BOOTPROTO=none
BROADCAST=10.0.10.255
NETMASK=255.255.255.0
NETWORK=10.0.10.0
IPADDR=10.0.10.1
ifconfig hsi0 up
qdio: loading QDIO base support version 2 ($Revision: 1.145 $/$Revision:
1.66 $)
qeth: loading qeth S/390 OSA-Express driver ($Revision: 1.337 $/$Revision:
1.113 $/$Revision: 1.42 $:VLAN)
qdio: QDIO base support version 2 ($Revision: 1.145 $/$Revision: 1.66 $):
module removed
hsi0: unknown interface: No such device
dmesg
Linux version 2.4.21-1.1931.2.349.2.2.ent
([EMAIL PROTECTED])
(gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-12)) #
1 SMP Fri Jul 18 00:07:38 EDT 2003
We are running under VM (31 bit mode)
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (1024 buckets, 8192 max) - 304 bytes per conntrack
c7000_probe: unit probe found 0x240c
divert: not allocating divert_blk for non-ethernet device ci0
c7000: init_module: module loaded
c7000: c7000_open: base unit 0x240c is opened
qdio: loading QDIO base support version 2 ($Revision: 1.145 $/$Revision:
1.66 $)
qeth: loading qeth S/390 OSA-Express driver ($Revision: 1.337 $/$Revision:
1.113 $/$Revision: 1.42 $:VLAN)
qeth: allocated 0 spare buffers
chandev_setup unknown verb hsi0,0xf00,0xf01,0xf02,0,0 on line no 3
interpreted as hsi0,0xf00,0xf01,0xf02,0,0.
Type man chandev for more info.
qdio: QDIO base support version 2 ($Revision: 1.145 $/$Revision: 1.66 $):
module removed
qdio: loading QDIO base support version 2 ($Revision: 1.145 $/$Revision:
1.66 $)
qeth: loading qeth S/390 OSA-Express driver ($Revision: 1.337 $/$Revision:
1.113 $/$Revision: 1.42 $:VLAN)
qeth: allocated 0 spare buffers
qdio: QDIO base support version 2 ($Revision: 1.145 $/$Revision: 1.66 $):
module removed
qdio: loading QDIO base support version 2 ($Revision: 1.145 $/$Revision:
1.66 $)
qeth: loading qeth S/390 OSA-Express driver ($Revision: 1.337 $/$Revision:
1.113 $/$Revision: 1.42 $:VLAN)
qeth: allocated 0 spare buffers
qdio: QDIO base support version 2 ($Revision: 1.145 $/$Revision: 1.66 $):
module removed