Re: Adding a qeth Device on SLES 12 - How To ?

2015-03-26 Thread Sebastian Ott
On Thu, 26 Mar 2015, Offer Baruch wrote:
 Did you remove the devices from the cio ignore list? Try this before the
 group command:
 cio_ignore -r 2e60-26e2
 chccwdev -e 2e60-26e2

In such cases I would do the following:
* check if these devices are known to Linux (lscss -d 2e60-26e2)
* if not they are most likely ignored - use: cio_ignore -r 2e60-26e2
* ccw devices used for network can't be enabled directly (the above
  mentioned chccwdev -e 2e60-26e2 will not work), they need to
  be grouped and the group device can be enabled

But that's just a general procedure - most of the time it will be
best to just use the tools provided by your distributor.

Regards,
Sebastian


 Offer Baruch
 On Mar 25, 2015 11:45 PM, Peter Jansen peter.jan...@ebmnet.ch wrote:

  When I try adding a virtual qeth network device to SLES 12 the result is
  the
  following error :
 
 
 
  pjjs12z:~ # vmcp query nic
 
  Adapter 1E60  Type: QDIO  Name: UNASSIGNED  Devices: 3
 
MAC: 02-00-00-9D-03-70 LAN: SYSTEM SLESQDIO
 
  Adapter 2E60  Type: QDIO  Name: UNASSIGNED  Devices: 3
 
MAC: 02-00-00-00-00-02 LAN: SYSTEM SLESQDIO
 
  pjjs12z:~ # modprobe qeth
 
  pjjs12z:~ # echo 0.0.1e60,0.0.1e61,0.0.1e62 
  /sys/bus/ccwgroup/drivers/qeth/group
 
  -bash: echo: write error: Invalid argument
 
  pjjs12z:~ # echo 0.0.2e60,0.0.2e61,0.0.2e62 
  /sys/bus/ccwgroup/drivers/qeth/group
 
  -bash: echo: write error: Invalid argument
 
 
 
  The above procedure can be found in SG24-7995-00 page 27, item 2.3.3 How to
  add a qeth device manually.
 
 
 
  Any help or hints will be appreciated.
 
 
 
  Peter Jansen,
 
  Switzerland
 
 
 
 
 
 
  --
  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/
 

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



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


Re: Adding a qeth Device on SLES 12 - How To ?

2015-03-25 Thread Davis, Larry (National VM Capability)
Look at the device drivers book for SLES on IBM's Development Works site.

There are /s390 tools that should be installed and I believe you can use
Lsqeth
Znetconf 

These utilities should help 


Larry Davis,
VM Capability

-Original Message-
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Peter 
Jansen
Sent: Wednesday, March 25, 2015 5:45 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Adding a qeth Device on SLES 12 - How To ?

When I try adding a virtual qeth network device to SLES 12 the result is the 
following error :



pjjs12z:~ # vmcp query nic

Adapter 1E60  Type: QDIO  Name: UNASSIGNED  Devices: 3

  MAC: 02-00-00-9D-03-70 LAN: SYSTEM SLESQDIO

Adapter 2E60  Type: QDIO  Name: UNASSIGNED  Devices: 3

  MAC: 02-00-00-00-00-02 LAN: SYSTEM SLESQDIO

pjjs12z:~ # modprobe qeth

pjjs12z:~ # echo 0.0.1e60,0.0.1e61,0.0.1e62  
/sys/bus/ccwgroup/drivers/qeth/group

-bash: echo: write error: Invalid argument

pjjs12z:~ # echo 0.0.2e60,0.0.2e61,0.0.2e62  
/sys/bus/ccwgroup/drivers/qeth/group

-bash: echo: write error: Invalid argument



The above procedure can be found in SG24-7995-00 page 27, item 2.3.3 How to add 
a qeth device manually.



Any help or hints will be appreciated.



Peter Jansen,

Switzerland






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

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


Re: Adding a qeth Device on SLES 12 - How To ?

2015-03-25 Thread Offer Baruch
Did you remove the devices from the cio ignore list? Try this before the
group command:
cio_ignore -r 2e60-26e2
chccwdev -e 2e60-26e2

Offer Baruch
On Mar 25, 2015 11:45 PM, Peter Jansen peter.jan...@ebmnet.ch wrote:

 When I try adding a virtual qeth network device to SLES 12 the result is
 the
 following error :



 pjjs12z:~ # vmcp query nic

 Adapter 1E60  Type: QDIO  Name: UNASSIGNED  Devices: 3

   MAC: 02-00-00-9D-03-70 LAN: SYSTEM SLESQDIO

 Adapter 2E60  Type: QDIO  Name: UNASSIGNED  Devices: 3

   MAC: 02-00-00-00-00-02 LAN: SYSTEM SLESQDIO

 pjjs12z:~ # modprobe qeth

 pjjs12z:~ # echo 0.0.1e60,0.0.1e61,0.0.1e62 
 /sys/bus/ccwgroup/drivers/qeth/group

 -bash: echo: write error: Invalid argument

 pjjs12z:~ # echo 0.0.2e60,0.0.2e61,0.0.2e62 
 /sys/bus/ccwgroup/drivers/qeth/group

 -bash: echo: write error: Invalid argument



 The above procedure can be found in SG24-7995-00 page 27, item 2.3.3 How to
 add a qeth device manually.



 Any help or hints will be appreciated.



 Peter Jansen,

 Switzerland






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


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