RHEL4/Documentation/computone.txt
<<
>>
Prefs
   1
   2Computone Intelliport II/Plus Multiport Serial Driver
   3-----------------------------------------------------
   4
   5Release Notes For Linux Kernel 2.2 and higher.
   6These notes are for the drivers which have already been integrated into the
   7kernel and have been tested on Linux kernels 2.0, 2.2, 2.3, and 2.4.
   8
   9Version: 1.2.14
  10Date: 11/01/2001
  11Historical Author: Andrew Manison <amanison@america.net>
  12Primary Author: Doug McNash
  13Support: support@computone.com
  14Fixes and Updates: Mike Warfield <mhw@wittsend.com>
  15
  16This file assumes that you are using the Computone drivers which are
  17integrated into the kernel sources.  For updating the drivers or installing
  18drivers into kernels which do not already have Computone drivers, please
  19refer to the instructions in the README.computone file in the driver patch.
  20
  21
  221. INTRODUCTION
  23
  24This driver supports the entire family of Intelliport II/Plus controllers
  25with the exception of the MicroChannel controllers.  It does not support
  26products previous to the Intelliport II.
  27
  28This driver was developed on the v2.0.x Linux tree and has been tested up
  29to v2.4.14; it will probably not work with earlier v1.X kernels,.
  30
  31
  322. QUICK INSTALLATION
  33
  34Hardware - If you have an ISA card, find a free interrupt and io port. 
  35                   List those in use with `cat /proc/interrupts` and 
  36                   `cat /proc/ioports`.  Set the card dip switches to a free 
  37                   address.  You may need to configure your BIOS to reserve an
  38                   irq for an ISA card.  PCI and EISA parameters are set
  39                   automagically.  Insert card into computer with the power off 
  40                   before or after drivers installation.
  41
  42        Note the hardware address from the Computone ISA cards installed into
  43                the system.  These are required for editing ip2.c or editing
  44                /etc/modprobe.conf, or for specification on the modprobe
  45                command line.
  46
  47        Note that the /etc/modules.conf should be used for older (pre-2.6)
  48                kernels.
  49
  50Software -
  51
  52Module installation:
  53
  54a) Determine free irq/address to use if any (configure BIOS if need be)
  55b) Run "make config" or "make menuconfig" or "make xconfig"
  56   Select (m) module for CONFIG_COMPUTONE under character
  57   devices.  CONFIG_PCI and CONFIG_MODULES also may need to be set.
  58c) Set address on ISA cards then:
  59   edit /usr/src/linux/drivers/char/ip2.c if needed 
  60        or
  61   edit /etc/modprobe.conf if needed (module).
  62        or both to match this setting.
  63d) Run "make modules"
  64e) Run "make modules_install"
  65f) Run "/sbin/depmod -a"
  66g) install driver using `modprobe ip2 <options>` (options listed below)
  67h) run ip2mkdev (either the script below or the binary version)
  68
  69
  70Kernel installation:
  71
  72a) Determine free irq/address to use if any (configure BIOS if need be)
  73b) Run "make config" or "make menuconfig" or "make xconfig"
  74   Select (y) kernel for CONFIG_COMPUTONE under character
  75   devices.  CONFIG_PCI may need to be set if you have PCI bus.
  76c) Set address on ISA cards then:
  77           edit /usr/src/linux/drivers/char/ip2.c  
  78           (Optional - may be specified on kernel command line now)
  79d) Run "make zImage" or whatever target you prefer.
  80e) mv /usr/src/linux/arch/i386/boot/zImage to /boot.
  81f) Add new config for this kernel into /etc/lilo.conf, run "lilo"
  82        or copy to a floppy disk and boot from that floppy disk.
  83g) Reboot using this kernel
  84h) run ip2mkdev (either the script below or the binary version)
  85
  86Kernel command line options:
  87
  88When compiling the driver into the kernel, io and irq may be
  89compiled into the driver by editing ip2.c and setting the values for
  90io and irq in the appropriate array.  An alternative is to specify
  91a command line parameter to the kernel at boot up.
  92
  93        ip2=io0,irq0,io1,irq1,io2,irq2,io3,irq3
  94
  95Note that this order is very different from the specifications for the
  96modload parameters which have separate IRQ and IO specifiers.
  97
  98The io port also selects PCI (1) and EISA (2) boards.
  99
 100        io=0    No board
 101        io=1    PCI board
 102        io=2    EISA board
 103        else    ISA board io address
 104
 105You only need to specify the boards which are present.
 106
 107        Examples:
 108
 109                2 PCI boards:
 110
 111                        ip2=1,0,1,0
 112
 113                1 ISA board at 0x310 irq 5:
 114
 115                        ip2=0x310,5
 116
 117This can be added to and "append" option in lilo.conf similar to this:
 118
 119        append="ip2=1,0,1,0"
 120
 121
 1223. INSTALLATION
 123
 124Previously, the driver sources were packaged with a set of patch files
 125to update the character drivers' makefile and configuration file, and other 
 126kernel source files. A build script (ip2build) was included which applies 
 127the patches if needed, and build any utilities needed.
 128What you receive may be a single patch file in conventional kernel
 129patch format build script. That form can also be applied by
 130running patch -p1 < ThePatchFile.  Otherwise run ip2build.
 131 
 132The driver can be installed as a module (recommended) or built into the 
 133kernel. This is selected as for other drivers through the `make config`
 134command from the root of the Linux source tree. If the driver is built 
 135into the kernel you will need to edit the file ip2.c to match the boards 
 136you are installing. See that file for instructions. If the driver is 
 137installed as a module the configuration can also be specified on the
 138modprobe command line as follows:
 139
 140        modprobe ip2 irq=irq1,irq2,irq3,irq4 io=addr1,addr2,addr3,addr4
 141
 142where irqnum is one of the valid Intelliport II interrupts (3,4,5,7,10,11,
 14312,15) and addr1-4 are the base addresses for up to four controllers. If 
 144the irqs are not specified the driver uses the default in ip2.c (which 
 145selects polled mode). If no base addresses are specified the defaults in 
 146ip2.c are used. If you are autoloading the driver module with kerneld or
 147kmod the base addresses and interrupt number must also be set in ip2.c
 148and recompile or just insert and options line in /etc/modprobe.conf or both.
 149The options line is equivalent to the command line and takes precidence over 
 150what is in ip2.c. 
 151
 152/etc/modprobe.conf sample:
 153        options ip2 io=1,0x328 irq=1,10
 154        alias char-major-71 ip2
 155        alias char-major-72 ip2
 156        alias char-major-73 ip2
 157
 158The equivalent in ip2.c:
 159
 160static int io[IP2_MAX_BOARDS]= { 1, 0x328, 0, 0 };
 161static int irq[IP2_MAX_BOARDS] = { 1, 10, -1, -1 }; 
 162
 163The equivalent for the kernel command line (in lilo.conf):
 164
 165        append="ip2=1,1,0x328,10"
 166
 167
 168Note:   Both io and irq should be updated to reflect YOUR system.  An "io"
 169        address of 1 or 2 indicates a PCI or EISA card in the board table.              The PCI or EISA irq will be assigned automatically.
 170
 171Specifying an invalid or in-use irq will default the driver into
 172running in polled mode for that card.  If all irq entries are 0 then
 173all cards will operate in polled mode.
 174
 175If you select the driver as part of the kernel run :
 176
 177        make zlilo (or whatever you do to create a bootable kernel)
 178
 179If you selected a module run :
 180
 181        make modules && make modules_install
 182
 183The utility ip2mkdev (see 5 and 7 below) creates all the device nodes
 184required by the driver.  For a device to be created it must be configured
 185in the driver and the board must be installed. Only devices corresponding
 186to real IntelliPort II ports are created. With multiple boards and expansion
 187boxes this will leave gaps in the sequence of device names. ip2mkdev uses
 188Linux tty naming conventions: ttyF0 - ttyF255 for normal devices, and
 189cuf0 - cuf255 for callout devices.
 190
 191If you are using devfs, existing devices are automatically created within
 192the devfs name space.  Normal devices will be tts/F0 - tts/F255 and callout
 193devices will be cua/F0 - cua/F255.  With devfs installed, ip2mkdev will
 194create symbolic links in /dev from the old conventional names to the newer
 195devfs names as follows:
 196
 197        /dev/ip2ipl[n]  -> /dev/ip2/ipl[n]      n = 0 - 3
 198        /dev/ip2stat[n] -> /dev/ip2/stat[n]     n = 0 - 3
 199        /dev/ttyF[n]    -> /dev/tts/F[n]        n = 0 - 255
 200        /dev/cuf[n]     -> /dev/cua/F[n]        n = 0 - 255
 201
 202Only devices for existing ports and boards will be created.
 203
 204IMPORTANT NOTE:  The naming convention used for devfs by this driver
 205was changed from 1.2.12 to 1.2.13.  The old naming convention was to
 206use ttf/%d for the tty device and cuf/%d for the cua device.  That
 207has been changed to conform to an agreed-upon standard of placing
 208all the tty devices under tts.  The device names are now tts/F%d for
 209the tty device and cua/F%d for the cua devices.  If you were using
 210the older devfs names, you must update for the newer convention.
 211
 212You do not need to run ip2mkdev if you are using devfs and only want to
 213use the devfs native device names.
 214
 215
 2164. USING THE DRIVERS
 217
 218As noted above, the driver implements the ports in accordance with Linux
 219conventions, and the devices should be interchangeable with the standard
 220serial devices. (This is a key point for problem reporting: please make
 221sure that what you are trying do works on the ttySx/cuax ports first; then 
 222tell us what went wrong with the ip2 ports!)
 223
 224Higher speeds can be obtained using the setserial utility which remaps 
 22538,400 bps (extb) to 57,600 bps, 115,200 bps, or a custom speed. 
 226Intelliport II installations using the PowerPort expansion module can
 227use the custom speed setting to select the highest speeds: 153,600 bps,
 228230,400 bps, 307,200 bps, 460,800bps and 921,600 bps. The base for
 229custom baud rate configuration is fixed at 921,600 for cards/expansion
 230modules with ST654's and 115200 for those with Cirrus CD1400's.  This
 231corresponds to the maximum bit rates those chips are capable.  
 232For example if the baud base is 921600 and the baud divisor is 18 then
 233the custom rate is 921600/18 = 51200 bps.  See the setserial man page for
 234complete details. Of course if stty accepts the higher rates now you can
 235use that as well as the standard ioctls().
 236
 237
 2385. ip2mkdev and assorted utilities...
 239
 240Several utilities, including the source for a binary ip2mkdev utility are
 241available under .../drivers/char/ip2.  These can be build by changing to
 242that directory and typing "make" after the kernel has be built.  If you do
 243not wish to compile the binary utilities, the shell script below can be
 244cut out and run as "ip2mkdev" to create the necessary device files.  To
 245use the ip2mkdev script, you must have procfs enabled and the proc file
 246system mounted on /proc.
 247
 248You do not need to run ip2mkdev if you are using devfs and only want to
 249use the devfs native device names.
 250
 251
 2526. DEVFS
 253
 254DEVFS is the DEVice File System available as an add on package for the
 2552.2.x kernels and available as a configuration option in 2.3.46 and higher.
 256Devfs allows for the automatic creation and management of device names
 257under control of the device drivers themselves.  The Devfs namespace is
 258hierarchical and reduces the clutter present in the normal flat /dev
 259namespace.  Devfs names and conventional device names may be intermixed.
 260A userspace daemon, devfsd, exists to allow for automatic creation and
 261management of symbolic links from the devfs name space to the conventional
 262names.  More details on devfs can be found on the DEVFS home site at
 263<http://www.atnf.csiro.au/~rgooch/linux/> or in the file kernel
 264documentation files, .../linux/Documentation/filesystems/devfs/README.
 265
 266If you are using devfs, existing devices are automatically created within
 267the devfs name space.  Normal devices will be tts/F0 - tts/F255 and callout
 268devices will be cua/F0 - cua/F255.  With devfs installed, ip2mkdev will
 269create symbolic links in /dev from the old conventional names to the newer
 270devfs names as follows:
 271
 272        /dev/ip2ipl[n]  -> /dev/ip2/ipl[n]      n = 0 - 3
 273        /dev/ip2stat[n] -> /dev/ip2/stat[n]     n = 0 - 3
 274        /dev/ttyF[n]    -> /dev/tts/F[n]        n = 0 - 255
 275        /dev/cuf[n]     -> /dev/cua/F[n]        n = 0 - 255
 276
 277Only devices for existing ports and boards will be created.
 278
 279IMPORTANT NOTE:  The naming convention used for devfs by this driver
 280was changed from 1.2.12 to 1.2.13.  The old naming convention was to
 281use ttf/%d for the tty device and cuf/%d for the cua device.  That
 282has been changed to conform to an agreed-upon standard of placing
 283all the tty devices under tts.  The device names are now tts/F%d for
 284the tty device and cua/F%d for the cua devices.  If you were using
 285the older devfs names, you must update for the newer convention.
 286
 287You do not need to run ip2mkdev if you are using devfs and only want to
 288use the devfs native device names.
 289 
 290
 2917. NOTES
 292
 293This is a release version of the driver, but it is impossible to test it
 294in all configurations of Linux. If there is any anomalous behaviour that 
 295does not match the standard serial port's behaviour please let us know.
 296
 297
 2988. ip2mkdev shell script
 299
 300Previously, this script was simply attached here.  It is now attached as a
 301shar archive to make it easier to extract the script from the documentation.
 302To create the ip2mkdev shell script change to a convenient directory (/tmp
 303works just fine) and run the following command:
 304
 305        unshar Documentation/computone.txt
 306                (This file)
 307
 308You should now have a file ip2mkdev in your current working directory with
 309permissions set to execute.  Running that script with then create the
 310necessary devices for the Computone boards, interfaces, and ports which
 311are present on you system at the time it is run.
 312
 313
 314#!/bin/sh
 315# This is a shell archive (produced by GNU sharutils 4.2.1).
 316# To extract the files from this archive, save it to some FILE, remove
 317# everything before the `!/bin/sh' line above, then type `sh FILE'.
 318#
 319# Made on 2001-10-29 10:32 EST by <mhw@alcove.wittsend.com>.
 320# Source directory was `/home2/src/tmp'.
 321#
 322# Existing files will *not* be overwritten unless `-c' is specified.
 323#
 324# This shar contains:
 325# length mode       name
 326# ------ ---------- ------------------------------------------
 327#   4251 -rwxr-xr-x ip2mkdev
 328#
 329save_IFS="${IFS}"
 330IFS="${IFS}:"
 331gettext_dir=FAILED
 332locale_dir=FAILED
 333first_param="$1"
 334for dir in $PATH
 335do
 336  if test "$gettext_dir" = FAILED && test -f $dir/gettext \
 337     && ($dir/gettext --version >/dev/null 2>&1)
 338  then
 339    set `$dir/gettext --version 2>&1`
 340    if test "$3" = GNU
 341    then
 342      gettext_dir=$dir
 343    fi
 344  fi
 345  if test "$locale_dir" = FAILED && test -f $dir/shar \
 346     && ($dir/shar --print-text-domain-dir >/dev/null 2>&1)
 347  then
 348    locale_dir=`$dir/shar --print-text-domain-dir`
 349  fi
 350done
 351IFS="$save_IFS"
 352if test "$locale_dir" = FAILED || test "$gettext_dir" = FAILED
 353then
 354  echo=echo
 355else
 356  TEXTDOMAINDIR=$locale_dir
 357  export TEXTDOMAINDIR
 358  TEXTDOMAIN=sharutils
 359  export TEXTDOMAIN
 360  echo="$gettext_dir/gettext -s"
 361fi
 362if touch -am -t 200112312359.59 $$.touch >/dev/null 2>&1 && test ! -f 200112312359.59 -a -f $$.touch; then
 363  shar_touch='touch -am -t $1$2$3$4$5$6.$7 "$8"'
 364elif touch -am 123123592001.59 $$.touch >/dev/null 2>&1 && test ! -f 123123592001.59 -a ! -f 123123592001.5 -a -f $$.touch; then
 365  shar_touch='touch -am $3$4$5$6$1$2.$7 "$8"'
 366elif touch -am 1231235901 $$.touch >/dev/null 2>&1 && test ! -f 1231235901 -a -f $$.touch; then
 367  shar_touch='touch -am $3$4$5$6$2 "$8"'
 368else
 369  shar_touch=:
 370  echo
 371  $echo 'WARNING: not restoring timestamps.  Consider getting and'
 372  $echo "installing GNU \`touch', distributed in GNU File Utilities..."
 373  echo
 374fi
 375rm -f 200112312359.59 123123592001.59 123123592001.5 1231235901 $$.touch
 376#
 377if mkdir _sh17581; then
 378  $echo 'x -' 'creating lock directory'
 379else
 380  $echo 'failed to create lock directory'
 381  exit 1
 382fi
 383# ============= ip2mkdev ==============
 384if test -f 'ip2mkdev' && test "$first_param" != -c; then
 385  $echo 'x -' SKIPPING 'ip2mkdev' '(file already exists)'
 386else
 387  $echo 'x -' extracting 'ip2mkdev' '(text)'
 388  sed 's/^X//' << 'SHAR_EOF' > 'ip2mkdev' &&
 389#!/bin/sh -
 390#
 391#       ip2mkdev
 392#
 393#       Make or remove devices as needed for Computone Intelliport drivers
 394#
 395#       First rule!  If the dev file exists and you need it, don't mess
 396#       with it.  That prevents us from screwing up open ttys, ownership
 397#       and permissions on a running system!
 398#
 399#       This script will NOT remove devices that no longer exist if their
 400#       board or interface box has been removed.  If you want to get rid
 401#       of them, you can manually do an "rm -f /dev/ttyF* /dev/cuaf*"
 402#       before running this script.  Running this script will then recreate
 403#       all the valid devices.
 404#
 405#       Michael H. Warfield
 406#       /\/\|=mhw=|\/\/
 407#       mhw@wittsend.com
 408#
 409#       Updated 10/29/2000 for version 1.2.13 naming convention
 410#               under devfs.    /\/\|=mhw=|\/\/
 411#
 412#       Updated 03/09/2000 for devfs support in ip2 drivers. /\/\|=mhw=|\/\/
 413#
 414X
 415if test -d /dev/ip2 ; then
 416#       This is devfs mode...  We don't do anything except create symlinks
 417#       from the real devices to the old names!
 418X       cd /dev
 419X       echo "Creating symbolic links to devfs devices"
 420X       for i in `ls ip2` ; do
 421X               if test ! -L ip2$i ; then
 422X                       # Remove it incase it wasn't a symlink (old device)
 423X                       rm -f ip2$i
 424X                       ln -s ip2/$i ip2$i
 425X               fi
 426X       done
 427X       for i in `( cd tts ; ls F* )` ; do
 428X               if test ! -L tty$i ; then
 429X                       # Remove it incase it wasn't a symlink (old device)
 430X                       rm -f tty$i
 431X                       ln -s tts/$i tty$i
 432X               fi
 433X       done
 434X       for i in `( cd cua ; ls F* )` ; do
 435X               DEVNUMBER=`expr $i : 'F\(.*\)'`
 436X               if test ! -L cuf$DEVNUMBER ; then
 437X                       # Remove it incase it wasn't a symlink (old device)
 438X                       rm -f cuf$DEVNUMBER
 439X                       ln -s cua/$i cuf$DEVNUMBER
 440X               fi
 441X       done
 442X       exit 0
 443fi
 444X
 445if test ! -f /proc/tty/drivers
 446then
 447X       echo "\
 448Unable to check driver status.
 449Make sure proc file system is mounted."
 450X
 451X       exit 255
 452fi
 453X
 454if test ! -f /proc/tty/driver/ip2
 455then
 456X       echo "\
 457Unable to locate ip2 proc file.
 458Attempting to load driver"
 459X
 460X       if /sbin/insmod ip2
 461X       then
 462X               if test ! -f /proc/tty/driver/ip2
 463X               then
 464X                       echo "\
 465Unable to locate ip2 proc file after loading driver.
 466Driver initialization failure or driver version error.
 467"
 468X               exit 255
 469X               fi
 470X       else
 471X               echo "Unable to load ip2 driver."
 472X               exit 255
 473X       fi
 474fi
 475X
 476# Ok...  So we got the driver loaded and we can locate the procfs files.
 477# Next we need our major numbers.
 478X
 479TTYMAJOR=`sed -e '/^ip2/!d' -e '/\/dev\/tt/!d' -e 's/.*tt[^     ]*[     ]*\([0-9]*\)[   ]*.*/\1/' < /proc/tty/drivers`
 480CUAMAJOR=`sed -e '/^ip2/!d' -e '/\/dev\/cu/!d' -e 's/.*cu[^     ]*[     ]*\([0-9]*\)[   ]*.*/\1/' < /proc/tty/drivers`
 481BRDMAJOR=`sed -e '/^Driver: /!d' -e 's/.*IMajor=\([0-9]*\)[     ]*.*/\1/' < /proc/tty/driver/ip2`
 482X
 483echo "\
 484TTYMAJOR = $TTYMAJOR
 485CUAMAJOR = $CUAMAJOR
 486BRDMAJOR = $BRDMAJOR
 487"
 488X
 489# Ok...  Now we should know our major numbers, if appropriate...
 490# Now we need our boards and start the device loops.
 491X
 492grep '^Board [0-9]:' /proc/tty/driver/ip2 | while read token number type alltherest
 493do
 494X       # The test for blank "type" will catch the stats lead-in lines
 495X       # if they exist in the file
 496X       if test "$type" = "vacant" -o "$type" = "Vacant" -o "$type" = ""
 497X       then
 498X               continue
 499X       fi
 500X
 501X       BOARDNO=`expr "$number" : '\([0-9]\):'`
 502X       PORTS=`expr "$alltherest" : '.*ports=\([0-9]*\)' | tr ',' ' '`
 503X       MINORS=`expr "$alltherest" : '.*minors=\([0-9,]*\)' | tr ',' ' '`
 504X
 505X       if test "$BOARDNO" = "" -o "$PORTS" = ""
 506X       then
 507#       This may be a bug.  We should at least get this much information
 508X               echo "Unable to process board line"
 509X               continue
 510X       fi
 511X
 512X       if test "$MINORS" = ""
 513X       then
 514#       Silently skip this one.  This board seems to have no boxes
 515X               continue
 516X       fi
 517X
 518X       echo "board $BOARDNO: $type ports = $PORTS; port numbers = $MINORS"
 519X
 520X       if test "$BRDMAJOR" != ""
 521X       then
 522X               BRDMINOR=`expr $BOARDNO \* 4`
 523X               STSMINOR=`expr $BRDMINOR + 1`
 524X               if test ! -c /dev/ip2ipl$BOARDNO ; then
 525X                       mknod /dev/ip2ipl$BOARDNO c $BRDMAJOR $BRDMINOR
 526X               fi
 527X               if test ! -c /dev/ip2stat$BOARDNO ; then
 528X                       mknod /dev/ip2stat$BOARDNO c $BRDMAJOR $STSMINOR
 529X               fi
 530X       fi
 531X
 532X       if test "$TTYMAJOR" != ""
 533X       then
 534X               PORTNO=$BOARDBASE
 535X
 536X               for PORTNO in $MINORS
 537X               do
 538X                       if test ! -c /dev/ttyF$PORTNO ; then
 539X                               # We got the hardware but no device - make it
 540X                               mknod /dev/ttyF$PORTNO c $TTYMAJOR $PORTNO
 541X                       fi      
 542X               done
 543X       fi
 544X
 545X       if test "$CUAMAJOR" != ""
 546X       then
 547X               PORTNO=$BOARDBASE
 548X
 549X               for PORTNO in $MINORS
 550X               do
 551X                       if test ! -c /dev/cuf$PORTNO ; then
 552X                               # We got the hardware but no device - make it
 553X                               mknod /dev/cuf$PORTNO c $CUAMAJOR $PORTNO
 554X                       fi      
 555X               done
 556X       fi
 557done
 558X
 559Xexit 0
 560SHAR_EOF
 561  (set 20 01 10 29 10 32 01 'ip2mkdev'; eval "$shar_touch") &&
 562  chmod 0755 'ip2mkdev' ||
 563  $echo 'restore of' 'ip2mkdev' 'failed'
 564  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
 565  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
 566    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
 567    || $echo 'ip2mkdev:' 'MD5 check failed'
 568cb5717134509f38bad9fde6b1f79b4a4  ip2mkdev
 569SHAR_EOF
 570  else
 571    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'ip2mkdev'`"
 572    test 4251 -eq "$shar_count" ||
 573    $echo 'ip2mkdev:' 'original size' '4251,' 'current size' "$shar_count!"
 574  fi
 575fi
 576rm -fr _sh17581
 577exit 0
 578