Discussion:
Problem with new OSA in HiperSocket mode on Debian
(too old to reply)
f***@br.ibm.com
2008-10-15 15:30:14 UTC
Permalink
Hello Guys,

I have something to go up automatically an interface OSA from Guest Lan
Hipersocket, in Debian on System z.

I changed /etc/network/interfaces and put the IP configuration of the new
interface (hsi0). It also created the file
/etc/sysconfig/hardware/config-ccw-0.0.0800 with the addresses of the
device and interface name.
Ex:
CCWGROUP_CHANS=(0.0.0800 0.0.0801 0.0.0802)
INTERFACE_NAME=(hsi0)

When I give lsqeth command, the device appears, but no device name:

Device name :
---------------------------------------------
card_type : HiperSockets
cdev0 : 0.0.0800
cdev1 : 0.0.0801
cdev2 : 0.0.0802
chpid : 00
online : 0
portname : no portname required
portno : 0
route4 : no
route6 : no
checksumming : sw checksumming
state : DOWN
priority_queueing : always queue 2
fake_ll : 0
fake_broadcast : 0
buffer_count : 16
add_hhlen : 0
layer2 : 0
large_send : no

I tried to search for something on the interface that already "up"
automatically, but did not find anything significant. I wonder if anyone
has solved this problem.

I know I can put a clause in the pre-up /etc/network/interfaces and a
script with "echo 1> /sys/devices/qeth/0.0.0800/online", but I would like
to know if there is one less way to do this craft.

Thanks,

Best Regards,


Fernando Gieseler
___________________________________
Technical Sales Specialist for System z
- Linux and z/VM -
IBM Brasil
fone: +55-51-2131-5848
cel: +55-51-9988-8177
fax: +55-51-2131-5875
ITN: 5 759-5848
T/L: 859-5848
***@br.ibm.com
Bastian Blank
2008-10-15 22:50:07 UTC
Permalink
Post by f***@br.ibm.com
I have something to go up automatically an interface OSA from Guest Lan
Hipersocket, in Debian on System z.
Please show the output of "hwup ccw 0.0.0800". Maybe there is a bug as
this should already correctly set it online.

Bastian
--
Without freedom of choice there is no creativity.
-- Kirk, "The return of the Archons", stardate 3157.4
--
To UNSUBSCRIBE, email to debian-s390-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
f***@br.ibm.com
2008-10-16 04:40:04 UTC
Permalink
Bastian,

The output:

debian:~# hwup ccw 0.0.0800
Configuring device 0.0.0800: already configured.
/etc/sysconfig/scripts/hardware/hwup-ccw-group: line 69: echo: write
error: Operation not permitted
debian:~# lsqeth
Device name : eth0
---------------------------------------------
card_type : GuestLAN QDIO
cdev0 : 0.0.0700
cdev1 : 0.0.0701
cdev2 : 0.0.0702
chpid : 03
online : 1
portno : 0
route4 : no
route6 : no
checksumming : sw checksumming
state : UP (LAN ONLINE)
priority_queueing : always queue 2
fake_ll : 0
fake_broadcast : 0
buffer_count : 16
add_hhlen : 0
layer2 : 0
large_send : no

Device name :
---------------------------------------------
card_type : HiperSockets
cdev0 : 0.0.0800
cdev1 : 0.0.0801
cdev2 : 0.0.0802
chpid : 00
online : 0
portname : no portname required
portno : 0
route4 : no
route6 : no
checksumming : sw checksumming
state : DOWN
priority_queueing : always queue 2
fake_ll : 0
fake_broadcast : 0
buffer_count : 16
add_hhlen : 0
layer2 : 0
large_send : no

debian:~#

Regards,


Fernando Gieseler
___________________________________
Technical Sales Specialist for System z
- Linux and z/VM -
IBM Brasil
fone: +55-51-2131-5848
cel: +55-51-9988-8177
fax: +55-51-2131-5875
ITN: 5 759-5848
T/L: 859-5848
***@br.ibm.com




Bastian Blank <***@debian.org>
15/10/2008 19:46

To
Fernando Gieseler/Brazil/***@IBMBR
cc
debian-***@lists.debian.org
Subject
Re: Problem with new OSA in HiperSocket mode on Debian
Post by f***@br.ibm.com
I have something to go up automatically an interface OSA from Guest Lan
Hipersocket, in Debian on System z.
Please show the output of "hwup ccw 0.0.0800". Maybe there is a bug as
this should already correctly set it online.

Bastian
--
Without freedom of choice there is no creativity.
-- Kirk, "The return of the Archons",
stardate 3157.4
Bastian Blank
2008-10-16 09:00:17 UTC
Permalink
Post by f***@br.ibm.com
debian:~# hwup ccw 0.0.0800
Configuring device 0.0.0800: already configured.
/etc/sysconfig/scripts/hardware/hwup-ccw-group: line 69: echo: write
error: Operation not permitted
Which version of sysconfig-hardware is this? If it is older then 0.0.8
and you are using a kernel >= 2.6.26 then this is expected.

Bastian
--
Deflector shields just came on, Captain.
--
To UNSUBSCRIBE, email to debian-s390-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
f***@br.ibm.com
2008-10-16 11:40:24 UTC
Permalink
Bastian,

The version of sysconfig-hardware is 0.0.5 and my Kernel version is 2.6.18
- 64bits

debian:~# uname -a
Linux debian 2.6.18-6-s390x #1 SMP Fri Oct 10 09:21:05 UTC 2008 s390x
GNU/Linux
debian:~# dpkg -l |grep sysconfig
ii sysconfig-hardware 0.0.5 Hardware configuration
debian:~#

The s390-tools version is 1.5.3-1:

debian:~# dpkg -l |grep s390-tools
ii s390-tools 1.5.3-1 A set of fundamental
utilities for Linux on
debian:~#

And the Debian version is 4.0. ETCH


Regards,


Fernando Gieseler
___________________________________
Technical Sales Specialist for System z
- Linux and z/VM -
IBM Brasil
fone: +55-51-2131-5848
cel: +55-51-9988-8177
fax: +55-51-2131-5875
ITN: 5 759-5848
T/L: 859-5848
***@br.ibm.com




Bastian Blank <***@debian.org>
16/10/2008 05:57

To
Fernando Gieseler/Brazil/***@IBMBR
cc
debian-***@lists.debian.org
Subject
Re: Problem with new OSA in HiperSocket mode on Debian
Post by f***@br.ibm.com
debian:~# hwup ccw 0.0.0800
Configuring device 0.0.0800: already configured.
/etc/sysconfig/scripts/hardware/hwup-ccw-group: line 69: echo: write
error: Operation not permitted
Which version of sysconfig-hardware is this? If it is older then 0.0.8
and you are using a kernel >= 2.6.26 then this is expected.

Bastian
--
Deflector shields just came on, Captain.
Bastian Blank
2008-10-16 12:20:13 UTC
Permalink
Post by f***@br.ibm.com
The version of sysconfig-hardware is 0.0.5 and my Kernel version is 2.6.18
- 64bits
Maybe the same problem, please grab sysconfig-hardware from Lenny.

Bastian
--
You can't evaluate a man by logic alone.
-- McCoy, "I, Mudd", stardate 4513.3
--
To UNSUBSCRIBE, email to debian-s390-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
f***@br.ibm.com
2008-10-16 13:00:16 UTC
Permalink
Bastian,

But the simple upgrade of the package did not resolve the problem.

I finished doing the dist-upgrade from ETCH to LENNY. As soon as I finish
the upgrade, I return.

Thank you for a while.

Regards,


Fernando Gieseler
___________________________________
Technical Sales Specialist for System z
- Linux and z/VM -
IBM Brasil
fone: +55-51-2131-5848
cel: +55-51-9988-8177
fax: +55-51-2131-5875
ITN: 5 759-5848
T/L: 859-5848
***@br.ibm.com




Bastian Blank <***@debian.org>
16/10/2008 09:14

To
Fernando Gieseler/Brazil/***@IBMBR
cc

Subject
Re: Problem with new OSA in HiperSocket mode on Debian
Post by f***@br.ibm.com
The version of sysconfig-hardware is 0.0.5 and my Kernel version is 2.6.18
- 64bits
Maybe the same problem, please grab sysconfig-hardware from Lenny.

Bastian
--
You can't evaluate a man by logic alone.
-- McCoy, "I, Mudd", stardate 4513.3
f***@br.ibm.com
2008-10-16 13:50:13 UTC
Permalink
Bastian,

After upgrade to LENNY, the first order, did not change anything. But I
noticed that Kernel was not upgraded. I did the update for the kernel
2.6.26-1-s390x and great!!

It worked fine. It all started correctly. Some settings (smtp problems
during migration) have to do, but anything that affects the functioning.

Thank you for everything.

Best regards! Abraços!


Fernando Gieseler
___________________________________
Technical Sales Specialist for System z
- Linux and z/VM -
IBM Brasil
fone: +55-51-2131-5848
cel: +55-51-9988-8177
fax: +55-51-2131-5875
ITN: 5 759-5848
T/L: 859-5848
***@br.ibm.com




Fernando Gieseler/Brazil/***@IBMBR
16/10/2008 09:54

To
Bastian Blank <***@debian.org>
cc
debian-***@lists.debian.org
Subject
Re: Problem with new OSA in HiperSocket mode on Debian







Bastian,

But the simple upgrade of the package did not resolve the problem.

I finished doing the dist-upgrade from ETCH to LENNY. As soon as I finish
the upgrade, I return.

Thank you for a while.

Regards,


Fernando Gieseler
___________________________________
Technical Sales Specialist for System z
- Linux and z/VM -
IBM Brasil
fone: +55-51-2131-5848
cel: +55-51-9988-8177
fax: +55-51-2131-5875
ITN: 5 759-5848
T/L: 859-5848
***@br.ibm.com



Bastian Blank <***@debian.org>
16/10/2008 09:14


To
Fernando Gieseler/Brazil/***@IBMBR
cc

Subject
Re: Problem with new OSA in HiperSocket mode on Debian
Post by f***@br.ibm.com
The version of sysconfig-hardware is 0.0.5 and my Kernel version is 2.6.18
- 64bits
Maybe the same problem, please grab sysconfig-hardware from Lenny.

Bastian
--
You can't evaluate a man by logic alone.
-- McCoy, "I, Mudd", stardate 4513.3
Loading...