The chzdev command also simplifies things. It's part of s390utils-base.
On 7/14/18, 06:38, "Linux on 390 Port on behalf of R P Herrold"
<[email protected] on behalf of [email protected]> wrote:
On Fri, 13 Jul 2018, Phillip Gramly wrote:
> # echo 0.0.204,0.0.205,0.0.206 > /sys/bus/ccwgroup/drivers/qeth/group
> -bash: echo: write error: Invalid argument
>
> I'm missing something somewhere. can anybody help me?
Hi, Phillip,
Thanks for using ClefOS
1. This is just my OCD talking, but I would 'protect' that
echo, as a matter of defensive coding
echo "0.0.204,0.0.205,0.0.206" > \
/sys/bus/ccwgroup/drivers/qeth/group
I know, I know -- OCD
2. What is shown with:
# ls -l /sys/bus/ccwgroup/drivers/qeth/
I get this locally:
[root@lclef01 ~]# ls -l /sys/bus/ccwgroup/drivers/qeth/
total 0
lrwxrwxrwx. 1 root root 0 Jul 9 16:23 0.0.0340 -> \
../../../../devices/qeth/0.0.0340
--w-------. 1 root root 4096 Jul 13 16:28 bind
--w-------. 1 root root 4096 Jul 9 16:23 group
lrwxrwxrwx. 1 root root 0 Jul 13 16:28 module -> \
../../../../module/qeth
--w-------. 1 root root 4096 Jul 9 16:23 uevent
--w-------. 1 root root 4096 Jul 13 16:28 unbind
This is pointing up into:
/sys/
and particularly I see there:
[root@lclef01 ~]# ls /sys/devices/qeth/
0.0.0340 module power uevent
[ I have indicated the line wrap with backslashes, although of
course not really there ]
The parallels on my settings for completeness:
[root@lclef01 ~]# vmcp q v 0340-0342
OSA 0340 ON NIC 0340 UNIT 000 SUBCHANNEL = 0000
0340 DEVTYPE OSA VIRTUAL CHPID 13 OSD
0340 MAC 02-00-10-00-00-6D CURRENT
0340 QDIO-ELIGIBLE QIOASSIST-ELIGIBLE
OSA 0341 ON NIC 0340 UNIT 001 SUBCHANNEL = 0001
0341 DEVTYPE OSA VIRTUAL CHPID 13 OSD
0341 MAC 02-00-10-00-00-6D CURRENT
0341 QDIO-ELIGIBLE QIOASSIST-ELIGIBLE
OSA 0342 ON NIC 0340 UNIT 002 SUBCHANNEL = 0002
0342 DEVTYPE OSA VIRTUAL CHPID 13 OSD
0342 MAC 02-00-10-00-00-6D CURRENT
0342 QDIO ACTIVE QIOASSIST-ELIGIBLE
0342
0342 INP + 01 IOCNT = 00598184 ADP = 055 PROG = 000 UNAVAIL = 073
0342 BYTES = 0000000005B90B44
0342 OUT + 01 IOCNT = 00000000 ADP = 000 PROG = 000 UNAVAIL = 128
0342 BYTES = 0000000000000000
0342 OUT + 02 IOCNT = 00000000 ADP = 000 PROG = 000 UNAVAIL = 128
0342 BYTES = 0000000000000000
0342 OUT + 03 IOCNT = 00037157 ADP = 000 PROG = 128 UNAVAIL = 000
0342 BYTES = 00000000006BFE58
0342 OUT + 04 IOCNT = 00000000 ADP = 000 PROG = 000 UNAVAIL = 128
0342 BYTES = 0000000000000000
[root@lclef01 ~]#
[root@lclef01 ~]# lscss --all
IO Subchannels and Devices:
Device Subchan. DevType CU Type Use PIM PAM POM CHPIDs
----------------------------------------------------------------------
0.0.0340 0.0.0000 1732/01 1731/01 yes 80 80 ff 13000000 00000000
0.0.0341 0.0.0001 1732/01 1731/01 yes 80 80 ff 13000000 00000000
0.0.0342 0.0.0002 1732/01 1731/01 yes 80 80 ff 13000000 00000000
0.0.01b0 0.0.0004 3390/0c 3990/e9 yes f8 f8 ff 0e101921 23000000
0.0.0009 0.0.0006 0000/00 3215/00 yes 80 80 ff 13000000 00000000
CHSC Subchannels:
Device Subchan.
------------------
EADM Subchannels:
Device Subchan.
------------------
-- Russ herrold
----------------------------------------------------------------------
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/
----------------------------------------------------------------------
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/