Re: IP snap packages problem anyone ?

2011-12-08 Thread Alan Altmark
On Wednesday, 12/07/2011 at 07:08 EST, Agblad Tore 
wrote:
> Hi, we have problems when SNAP packages are sent by IP.
> Different servers/versions of Linux.

If you can believe the OSA book, only OSE (LCS) chpids directly support
802.3 with 802.2 SNAP.  I would expect layer 3 OSA connections on OSD
chpids to discard the frames, as it supports only Ethernet II (DIX) and
802.3.  In layer 2 mode, however, the frame is passed as-is (with SNAP
headers) to the host.

I don't know what the state of Linux's ethernet SNAP support is.   The
code in net/ethernet/eth.c that deals with (some of) this stuff looks a
bit hazy to me.  Dunno.   Alan Cox is the final arbiter, since his name is
all over the code!  :-)

Alan Altmark

Senior Managing z/VM and Linux Consultant
IBM System Lab Services and Training
ibm.com/systems/services/labservices
office: 607.429.3323
mobile; 607.321.7556
alan_altm...@us.ibm.com
IBM Endicott

--
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: How to change /udev/rules.d/ for hsi

2011-12-08 Thread Mark D Vandale
Thank you, that worked.   I haven't  read anything that mentioned adding
the lines prior to the online statement.


Thanks,

Mark Vandale
System Administrator Leader, MCS-MF z/VM, z/VSE & z/Linux
Office : 860-823-2756
Cell : 860-705-1657
Textmsg   : 8607051...@txt.att.net

CSC


This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.



From:   Ursula Braun 
To: LINUX-390@vm.marist.edu
Date:   12/08/2011 12:00 PM
Subject:Re: How to change /udev/rules.d/ for hsi
Sent by:Linux on 390 Port 



Mark,

try to move the "buffer_count" and "checksumming" line before the
"online" line. The qeth driver does not allow to change the buffer_count
value in online state.

Regards, Ursula Braun, IBM Germany

On Thu, 2011-12-08 at 10:13 -0500, Mark D Vandale wrote:
> Here's some more detail if that helps... The hipersocket address e000.
> I've added the last 2 lines, 1 to increase the buffer cnt and the other
to
> turn off checksumming.  Neither parameter changes during a reboot.
>
> lsqeth -p still shows a cnt of 16 for the device
>
> -rw-r--r-- 1 root root 1296 2011-12-07
> 10:06 /etc/udev/rules.d/51-hsi-0.0.e000.rules
>
> # Configure hsi device at 0.0.e000/0.0.e001/0.0.e002
> ACTION=="add", SUBSYSTEM=="drivers", KERNEL=="qeth", IMPORT
> {program}="collect 0.0.e000 %k 0.0.e000 0.0.e001 0.0.e002 qeth"
> ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="0.0.e000", IMPORT
> {program}="collect 0.0.e000 %k 0.0.e000 0.0.e001 0.0.e002 qeth"
> ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="0.0.e001", IMPORT
> {program}="collect 0.0.e000 %k 0.0.e000 0.0.e001 0.0.e002 qeth"
> ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="0.0.e002", IMPORT
> {program}="collect 0.0.e000 %k 0.0.e000 0.0.e001 0.0.e002 qeth"
> TEST=="[ccwgroup/0.0.e000]", GOTO="hsi-0.0.e000-end"
> ACTION=="add", SUBSYSTEM=="ccw", ENV{COLLECT_0.0.e000}=="0", ATTR
> {[drivers/ccwgroup:qeth]group}="0.0.e000,0.0.e001,0.0.e002"
> ACTION=="add", SUBSYSTEM=="drivers", KERNEL=="qeth", ENV
> {COLLECT_0.0.e000}=="0", ATTR
> {[drivers/ccwgroup:qeth]group}="0.0.e000,0.0.e001,0.0.e002"
> LABEL="hsi-0.0.e000-end"
> ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.e000", ATTR
{portno}="0"
> ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.e000", ATTR
{layer2}="0"
> ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.e000", ATTR
{online}="1"
> ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.e000", ATTR
> {buffer_count}="128"
> ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.e000", ATTR
> {checksumming}="no_checksumming"
>
>
> Is there something else that needs to be changed ?  SLES 11
>
>
> Thanks,
>
> Mark
>
> --
> 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: How to change /udev/rules.d/ for hsi

2011-12-08 Thread Ursula Braun
Mark,

try to move the "buffer_count" and "checksumming" line before the
"online" line. The qeth driver does not allow to change the buffer_count
value in online state.

Regards, Ursula Braun, IBM Germany

On Thu, 2011-12-08 at 10:13 -0500, Mark D Vandale wrote:
> Here's some more detail if that helps... The hipersocket address e000.
> I've added the last 2 lines, 1 to increase the buffer cnt and the other to
> turn off checksumming.  Neither parameter changes during a reboot.
>
> lsqeth -p still shows a cnt of 16 for the device
>
> -rw-r--r-- 1 root root 1296 2011-12-07
> 10:06 /etc/udev/rules.d/51-hsi-0.0.e000.rules
>
> # Configure hsi device at 0.0.e000/0.0.e001/0.0.e002
> ACTION=="add", SUBSYSTEM=="drivers", KERNEL=="qeth", IMPORT
> {program}="collect 0.0.e000 %k 0.0.e000 0.0.e001 0.0.e002 qeth"
> ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="0.0.e000", IMPORT
> {program}="collect 0.0.e000 %k 0.0.e000 0.0.e001 0.0.e002 qeth"
> ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="0.0.e001", IMPORT
> {program}="collect 0.0.e000 %k 0.0.e000 0.0.e001 0.0.e002 qeth"
> ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="0.0.e002", IMPORT
> {program}="collect 0.0.e000 %k 0.0.e000 0.0.e001 0.0.e002 qeth"
> TEST=="[ccwgroup/0.0.e000]", GOTO="hsi-0.0.e000-end"
> ACTION=="add", SUBSYSTEM=="ccw", ENV{COLLECT_0.0.e000}=="0", ATTR
> {[drivers/ccwgroup:qeth]group}="0.0.e000,0.0.e001,0.0.e002"
> ACTION=="add", SUBSYSTEM=="drivers", KERNEL=="qeth", ENV
> {COLLECT_0.0.e000}=="0", ATTR
> {[drivers/ccwgroup:qeth]group}="0.0.e000,0.0.e001,0.0.e002"
> LABEL="hsi-0.0.e000-end"
> ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.e000", ATTR{portno}="0"
> ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.e000", ATTR{layer2}="0"
> ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.e000", ATTR{online}="1"
> ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.e000", ATTR
> {buffer_count}="128"
> ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.e000", ATTR
> {checksumming}="no_checksumming"
>
>
> Is there something else that needs to be changed ?  SLES 11
>
>
> Thanks,
>
> Mark
>
> --
> 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/


How to change /udev/rules.d/ for hsi

2011-12-08 Thread Mark D Vandale
Here's some more detail if that helps... The hipersocket address e000.
I've added the last 2 lines, 1 to increase the buffer cnt and the other to
turn off checksumming.  Neither parameter changes during a reboot.

lsqeth -p still shows a cnt of 16 for the device

-rw-r--r-- 1 root root 1296 2011-12-07
10:06 /etc/udev/rules.d/51-hsi-0.0.e000.rules

# Configure hsi device at 0.0.e000/0.0.e001/0.0.e002
ACTION=="add", SUBSYSTEM=="drivers", KERNEL=="qeth", IMPORT
{program}="collect 0.0.e000 %k 0.0.e000 0.0.e001 0.0.e002 qeth"
ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="0.0.e000", IMPORT
{program}="collect 0.0.e000 %k 0.0.e000 0.0.e001 0.0.e002 qeth"
ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="0.0.e001", IMPORT
{program}="collect 0.0.e000 %k 0.0.e000 0.0.e001 0.0.e002 qeth"
ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="0.0.e002", IMPORT
{program}="collect 0.0.e000 %k 0.0.e000 0.0.e001 0.0.e002 qeth"
TEST=="[ccwgroup/0.0.e000]", GOTO="hsi-0.0.e000-end"
ACTION=="add", SUBSYSTEM=="ccw", ENV{COLLECT_0.0.e000}=="0", ATTR
{[drivers/ccwgroup:qeth]group}="0.0.e000,0.0.e001,0.0.e002"
ACTION=="add", SUBSYSTEM=="drivers", KERNEL=="qeth", ENV
{COLLECT_0.0.e000}=="0", ATTR
{[drivers/ccwgroup:qeth]group}="0.0.e000,0.0.e001,0.0.e002"
LABEL="hsi-0.0.e000-end"
ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.e000", ATTR{portno}="0"
ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.e000", ATTR{layer2}="0"
ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.e000", ATTR{online}="1"
ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.e000", ATTR
{buffer_count}="128"
ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="0.0.e000", ATTR
{checksumming}="no_checksumming"


Is there something else that needs to be changed ?  SLES 11


Thanks,

Mark

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