On Fri, 13 Jul 2018 14:38:44 -0500
Phillip Gramly <phil...@cdg.ws> wrote:

I'm seconding the suggestion of using chzdev, but some additional notes
from me:

> # vmcp q v 204-206
> OSA  0204 ON NIC  0204  UNIT 000 SUBCHANNEL = 0001
>      0204 DEVTYPE HIPER       VIRTUAL CHPID 01 IQD
>      0204 MAC 02-00-00-00-00-46 CURRENT
>      0204 QDIO-ELIGIBLE       QIOASSIST-ELIGIBLE
> OSA  0205 ON NIC  0204  UNIT 001 SUBCHANNEL = 0002
>      0205 DEVTYPE HIPER       VIRTUAL CHPID 01 IQD
>      0205 MAC 02-00-00-00-00-46 CURRENT
>      0205 QDIO-ELIGIBLE       QIOASSIST-ELIGIBLE
> OSA  0206 ON NIC  0204  UNIT 002 SUBCHANNEL = 0003
>      0206 DEVTYPE HIPER       VIRTUAL CHPID 01 IQD
>      0206 MAC 02-00-00-00-00-46 CURRENT
>      0206 QDIO-ELIGIBLE       QIOASSIST-ELIGIBLE
> 
> # lscss --all
> IO Subchannels and Devices:
> Device   Subchan.  DevType CU Type Use  PIM PAM POM  CHPIDs
> ----------------------------------------------------------------------
> 0.0.0100 0.0.0000  9336/10 6310/80 yes  80  80  ff   2d000000 00000000
> 0.0.0009 0.0.0004  0000/00 3215/00 yes  80  80  ff   01000000 00000000
> 0.0.0600 0.0.000c  1732/01 1731/01 yes  80  80  ff   02000000 00000000
> 0.0.0601 0.0.000d  1732/01 1731/01 yes  80  80  ff   02000000 00000000
> 0.0.0602 0.0.000e  1732/01 1731/01 yes  80  80  ff   02000000 00000000
> 0.0.0300 0.0.000f  9336/10 6310/80 yes  80  80  ff   01000000 00000000
> 0.0.0301 0.0.0010  9336/10 6310/80 yes  80  80  ff   01000000 00000000

If you don't see the devices in lscss, the reason is often that they
are on the ignore list (many distributions default to using cio_ignore
to ignore every device but the ones explicitly configured). Use
'cio_ignore -l' to display the ranges of ignored devices. You need to
un-ignore your devices to make them visible (try 'cio_ignore -r
0.0.0204-0.0.0206').

> 
> # echo 0.0.204,0.0.205,0.0.206 > /sys/bus/ccwgroup/drivers/qeth/group
> -bash: echo: write error: Invalid argument

You cannot group devices that don't show up in lscss. But even more
importantly, the IDs always are of the format 0.m.nnnn (so you'd need
to use 0.0.0204 instead of 0.0.204). Background: the IDs are not
integers, but strings, so they need to match exactly.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu 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/

Reply via email to