Perhaps the directory structure has changed. My (SuSE) 2.2.16 has the following:

/proc/sys/net/ipv4/conf/ctc0
/proc/sys/net/ipv4/neigh/ctc0

Bob Matthews,
Universtiy of Geneva.


----- Original Message ----- 
From: "Scully, William" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 15, 2002 4:37 PM
Subject: Re: Buffersize on Linux CTC Driver


> Thank you Carlos for this helpful information.  My thinking now is that the 2.2.16 
>Device Drivers doc is in error suggesting that there's an easy way to limit the 
>amount of data packed into one I/O request on the CTC. The 2.4 kernel seems to 
>support what's written in the manual.
> 
> -----Original Message-----
> From: Carlos Ordonez [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 15, 2002 8:36 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Buffersize on Linux CTC Driver
> 
> 
> My 2.2.16 SuSE system doesn't have that directory structure, but if you go
> to a SuSE 2.4.7 everything is there.
> 
> 
> 
> 
> Carlos A. Ordonez
> IBM Corporation
> Server Consolidation
> 
> 
> 
> |---------+--------------------------->
> |         |           "Scully,        |
> |         |           William"        |
> |         |           <WILLIAM.SCULLY@|
> |         |           ca.com>         |
> |         |           Sent by: Linux  |
> |         |           on 390 Port     |
> |         |           <[EMAIL PROTECTED]|
> |         |           RIST.EDU>       |
> |         |                           |
> |         |                           |
> |         |           02/14/2002 09:49|
> |         |           PM              |
> |         |           Please respond  |
> |         |           to Linux on 390 |
> |         |           Port            |
> |         |                           |
> |---------+--------------------------->
>   
>>-------------------------------------------------------------------------------------------------------------------------------|
>   |                                                                                  
>                                             |
>   |        To:      [EMAIL PROTECTED]                                          
>                                             |
>   |        cc:                                                                       
>                                             |
>   |                 From:                                                            
>                                             |
>   |               Subject:      Re: Buffersize on Linux CTC Driver                   
>                                             |
>   |                                                                                  
>                                             |
>   
>>-------------------------------------------------------------------------------------------------------------------------------|
> 
> 
> 
> 
> Jay,
> 
> A CTC is used to connect Linux to TCP/IP on VM.  Since that's the only way
> I
> can gain access (Telnet) to the Linux server via TCP/IP, I'm as sure as I
> can be that the CTC driver -is- loaded.  I'm also certain that the named
> file and directories do not exist.
> 
> linux016:~ # lsmod
> Module                  Size  Used by
> ctc                    21220   1  (autoclean)
> linux016:~ # cd /proc
> linux016:/proc # cd net
> linux016:/proc/net # ls
> .    dev        igmp         ip_mr_cache  netstat  rpc       sockstat  udp
> ..   dev_mcast  ip_fwchains  ip_mr_vif    raw      rt_cache  tcp       unix
> arp  dev_stat   ip_fwnames   netlink      route    snmp      tr_rif
> linux016:/proc/net #
> 
> I'll mention that I'm at the 2.2.16 level of SuSE 7.0 GA.  Are you seeing
> different results with your system?  If so, what distribution are you
> using?
> I personally haven't yet worked with the 2.4 kernel and if the CTC driver
> works differently at that level, I'd like to hear that.  I'll mention again
> that the quote from the manual was for the 2.2.16 level of code.  Again,
> perhaps, we've missed some service?
> 
> Thanks for your comments.  The more I check the more I learn about all this
> stuff!  ;-)
> 
> -----Original Message-----
> From: Robert J Brenneman [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 14, 2002 3:34 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Buffersize on Linux CTC Driver
> 
> 
> The file is not there because the driver is not yet loaded.  You have to
> load the driver first before you can change the buffersize. All the
> appropriate /proc stuff gets created after the driver loads.
> 
> Jay Brenneman
> 
> 
> 
> 
> 
>                       "Scully, William"
>                       <WILLIAM.SCULLY@c        To:
> [EMAIL PROTECTED]
>                       a.com>                   cc:
>                       Sent by: Linux on        Subject:  Buffersize on
>                       Linux
> CTC Driver
>                       390 Port
>                       <[EMAIL PROTECTED]
>                       IST.EDU>
> 
> 
>                       02/14/02 02:26 PM
>                       Please respond to
>                       Linux on 390 Port
> 
> 
> 
> 
> 
> The IBM "Linux for S/390 Device Drivers and Installation Commands"
> document, dated 18 July 2001, in Chapter Seven, "Linux for S/390 CTC/ESCON
> Device Driver", has Usage Note 2 under "Preparing the Connection" which
> reads:
> 
>    Definitions on the remote side
> 
>    Set up the TCP/IP on the remote side, as described in the reference
> manuals.
>    This will vary depending on which operating system is used on the remote
> side.
> 
>    Note: It is important that you have IOBUFFERSIZE 32678 defined because
> the
>    LINUX for S/390 CTC driver works with 32k internally. This is
> configurable
>    for each device by writing the value to the buffersize file for that
> device
>    (proc/net/ctc/<devicename>/buffersize ), for example
> 
>      echo 32768 >/proc/net/ctc/ctc0/buffersize
> 
> I'm not sure how this is accomplished.  Logging on as root and issuing the
> command doesn't work.  Here's what I get:
> 
>   LINUXWPS:/proc # echo 32768 >/proc/net/ctc/ctc0/buffersize
>   bash: /proc/net/ctc/ctc0/buffersize: No such file or directory
> 
> What is the correct technique for creating the appropriate directories and
> file?
> 
> William P. Scully
> Systems Programmer
> Computer Associates International, Inc
> [EMAIL PROTECTED]

Reply via email to