Subject: Linux-Development Digest #204
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Thu, 22 Sep 94 03:13:16 EDT

Linux-Development Digest #204, Volume #2         Thu, 22 Sep 94 03:13:16 EDT

Contents:
  Re: Linux v1.0 SMAIL problem (Drew Sullivan)
  Building shared libs.. (Pawel Potocki)
  Re: Looking for a Fax daemon (Robert J. LeBlanc)
  Re: 1.1.51 Adaptec 1542 SCSI problems (Nick Kralevich)
  NCR 53C406A SCSI (Pete Cascio)
  Re: kernel goals (G Dinesh Dutt)
  Re: SIGFPE with atof() (Bob Kupiec)
  UltraStor SCSI errors was Re: Future of Ultrastore support (Rod Troch)
  Re: SIGFPE with atof() (Mitchum DSouza)
  Re: memory leakage in 1.1.51 ? (Michael_Nelson)
  Re: memory leakage in 1.1.51 ? (Michael_Nelson)
  Re: Searching infos on ReadyLink ENET16/U Rev. C Card (Donald Becker)
  Re: Extending the IP Protocol? (Mike Castle)
  Installing from a QIC-80 tape? (John Byrns)
  Re: How to use a host as a router - READ THIS (Axel Philipp)

----------------------------------------------------------------------------

Crossposted-To: comp.os.linux.admin,comp.os.linux.misc,comp.os.linux.prog,dc.org.linux-users
From: [email-masked] (Drew Sullivan)
Subject: Re: Linux v1.0 SMAIL problem
Date: Tue, 20 Sep 1994 23:50:40 GMT

In article <[email-masked]>,
Caesar M Samsi <[email-masked]> wrote:
>What is the latest version os smail and where can I ftp it from ? 
>
>I have 3.1.28.1 #5, Nov 93 and it is broken. It inserts extraneous 
>linefeeds and tabs making the spool file looking like follows:
>
>>From root Thu Sep 15 18:08:36 1994
>>Return-Path: <root>
>>Received:  
>>      by csamsi_ppp.clark.net  
>>              (Linux Smail3.1.28.1 #5)
>        
>>      id m0qlOyp-0004vrC; Thu, 15 Sep 94 18:08 EDT
>>Message-Id: <[email-masked]>
>
>While Linux's pine (3.89) can read it just fine, other email readers are 
>confused like hell.

But in the /usr/lib/smail/config file,  There are blanks (spaces) after
all of the backslash characters on the Recieved control lines.
Remove the blanks and it works correctly.
-- 
  -- Drew Sullivan, <[email-masked]>  -- Toronto, Ontario, Canada

MS-DOS --> MicroSoft-Denial Of Service
"Intel Inside" isn't advertising.  It's a warning!

------------------------------

From: [email-masked] (Pawel Potocki)
Subject: Building shared libs..
Date: 21 Sep 1994 22:54:37 -0400

Hello,

My goal is to build several shared, dll libraries for Linux such
as 3D graphics libraries (vogl, vogle, Ygl, sipp, plplot) and huge
NAG fortan library. I read the documantation included with tools-2.16,
looked over the examples, looked over other libraries, and actually
already compiled some of the above, but still have some questions,
that hopefully someone can answer.

First of all, how do I register the load address of the libraries, so there
will be no conflict with other people libraries. And how do I get the stop address?
Say if the start address is 0x72000000 how do I calculate the stop address?
Can I do "size libxx.so.x.x.x" and then add the hex size to the start address 
and make the stop addres just bit higher then the above sum?

Second, I did libinfo on several stubs in the /usr/lib and observed that the
Global Offset Table size and Jump Table size are same for most of them 
(0x1000 and 0x4000). Why is that? Doesn't the size of the library play
any role here?

Third, well I think that's enough for now.
I really be thankfull if someone can answer above questions..
Thank you,

-PP

------------------------------

From: [email-masked] (Robert J. LeBlanc)
Subject: Re: Looking for a Fax daemon
Date: Wed, 21 Sep 1994 02:22:38 GMT

[email-masked] (Gert Doering) writes:

>BUT: mgetty+sendfax is not meant to be used as a network fax sender, that
>is, there is no remote spooling mechanism (yet). But then, Efax doesn't
>have one either...

This was the reason the Qfax utilities for efax were developed.  They
give an otherwise "single-user" fax program a full-fledged set of fax
server features, including remote spooling, e-mail-to-fax gateway,
automated PostScript cover page generation, user phonebooks, and so
on.

You are correct about mgetty+sendfax however--that was an omission
that several others pointed out in other posts.  However, my
interpretation of "fax daemon" as the initial poster described it,
seemed only to fit FlexFAX and the efax+Qfax combination due to the
lack of spooling with mgetty+sendfax.  It should also be noted that
mgetty+sendfax requires a Class 2 fax-modem, whereas FlexFAX and
efax+Qfax work with both Class 1 and 2 fax-modems.

Regards,

        Rob
-- 
======================================================================
Robert J. LeBlanc    |  [email-masked]   |  1925 Fell Avenue
Manager              |  tel: (604) 985-2013  |  North Vancouver, B.C.
Information Systems  |  fax: (604) 980-1077  |  V7P 3G6
Renaissoft           |    * PGP-capable *    |  Canada

------------------------------

From: [email-masked] (Nick Kralevich)
Subject: Re: 1.1.51 Adaptec 1542 SCSI problems
Date: 19 Sep 1994 19:36:35 GMT

In article <[email-masked]>,
Erik Olson <[email-masked]> wrote:
>I had similar problems, but I gave the computer a hard reset and it's all gone.
>Perhaps you need to start 1.1.51 from scratch for the new scsi driver to
>work?

I tried doing that.  I even tried completely powering down the computer,
then starting it up again.  It still has the problems.  Oh well!

Take care,
-- Nick Kralevich
   [email-masked]

-- 
Nick Kralevich                        [email-masked]
"A man sits with a pretty girl for an hour and it seems shorter than 
a minute.  But tell that same man to sit on a hot stove for a minute, 
it is longer than any hour.  That's relativity."  -- Einstein

------------------------------

From: [email-masked] (Pete Cascio)
Subject: NCR 53C406A SCSI
Date: 21 Sep 1994 20:55:52 GMT
Reply-To: [email-masked]

I've got a Media Vision Pro 3D sound card with SCSI-2.  The SCSI-2 chip is an
NCR 53C406A.  It looks like it's probably something new, since it's not
mentioned in the SCSI-HOWTO.

Does anyone know about this chip?  Is it compatible (no changes required) with
another supported NCR SCSI chip driver?  If not, know where I can get a NCR
data sheet on the chip -- so I can patch the nearest NCR driver code?

Thanks.
--
Pete Cascio           Black Forest, Colorado -- "May the forest be with you!"
E-mail:  [email-masked]

------------------------------

From: G Dinesh Dutt <[email-masked]>
Subject: Re: kernel goals
Date: 22 Sep 1994 00:10:23 -0400
Reply-To: [email-masked]

|>>>>> [email-masked] (David Jeske) ecrit :
    >What I want to know is: Is there some plan, or even hope, for the kernel
    >to get cut up at least enough to allow drivers to be separated from being
    >"kernel version dependent" at least as much as possible? Does someone
    >working on the Linux kernel "progress" want to eventually put togeather a
    >system of loadable drivers? I heard some rumors, that
    >there were plans to redo the work that the SLS author did and integrate
    >it into the Linux kernel in a "better" way. Is this happening? ver?
    >
    >Or, is the best way for me to see this happen to follow the Linux
    >VIPER project? 

Speaking  of VIPER, this is not  under the purview of   that project either. At
least,  not yet.   We  are basically interested  in  providing  multi-threading
support in  the kernel, not making  Linux a micro-kernel.  Those steps may come
later on. I don't know how Mach works, but if  it supports dynamically loadable
device drivers, then  the project of  making Linux a  Mach server  process, may
address this issue.

Dinesh
(for VIPER)
###############################################################################
For every complex problem, there is a solution that is simple, neat, and wrong.
                                -- H. L. Mencken
G. Dinesh Dutt,                                 email : [email-masked]
Hinditron Tektronix Instruments Ltd.,           voice : 8349393/8212262
SDF-2, Unit 63-A, SEEPZ, Andheri (east), Bombay - 400096.
###############################################################################

------------------------------

Crossposted-To: comp.os.linux.help,comp.os.linux.misc
From: [email-masked] (Bob Kupiec)
Subject: Re: SIGFPE with atof()
Date: Wed, 21 Sep 1994 03:13:27 GMT

In <[email-masked]>, [email-masked] writes:
>I'm running Slackware 2.0, and i'm trying to compile a program
>called xweather.  (You can get the program from ftp.pop.psu.edu,
>files /pub/src/xweather.tar.Z and /pub/src/xweather.patch1)
>
>The code runs fine on a SPARC, under both 4.1.3 and under Solaris.
>Friends of mine have it working on other platforms as well.
>If I compile it under Linux (running either 1.0.9 or 1.1.51), I
>get a SIGFPE at an atof().  The string atof() is reading is a
>valid number.  I'm using gcc 2.5.8, on a 386 with a 387.
>
>The funny thing is that it doesn't seem to depend on which number
>it's trying to convert to a float, it will bomb after a certain
>number of atof()'s are called.

I'm having the same problem with atof()!  I've been going nuts tring
to find the cause!  Is it a library bug, or what?

Linux 1.0.8, libc.so.4.5.24, gcc 2.5.8, 486DX40.

Here's the snippet of code that's causing it.  (This works on SunOS 4.1.3)

double getElement(gstr,gstart,gstop)
int  gstart, gstop;
char gstr[80];
{
    int  k, glength;
    char gestr[80];

    glength = gstop - gstart + 1;

    for (k = 0; k <= glength; k++)
        gestr[k] = gstr[gstart+k-1];

    gestr[glength] = '\0';

    return(atof(gestr));
}
-- 
Bob Kupiec   (N3MML)        Phone: 1-609-897-7319      JvNCnet (GES, Inc.)
Network Operations          -or- : 1-800-35-TIGER      3 Independence Way
Email: [email-masked]       Fax : 1-609-897-7310      Princeton, NJ 08540

------------------------------

From: [email-masked] (Rod Troch)
Subject: UltraStor SCSI errors was Re: Future of Ultrastore support
Date: 21 Sep 1994 03:14:31 GMT

>>>>> "Robert" == Robert Ashcroft <[email-masked]> writes:

        Robert> Having just bought a (cheap) Ultrastore 34F I was a
        Robert> little dismayed to hear that it may not be able to
        Robert> take advantage of some of the advances in the SCSI
        Robert> speedups in recent kernels.  Something called SCSI
        Robert> clustering speed up or something.

        Robert> Can anyone explain what this is?  Do the device
        Robert> drivers need to be rewritten for the Ultrastores?  How
        Robert> likely is this to happen?

I have been having the worst of luck with an UltraStor 24F EISA SCSI
controller that I have at my office.  Under MSDOS all seems well.  I
was able to access different SCSI drives, do low level formats, etc.
Under Linux, using the UltraStor 1.11 alpha driver, things are much
different.  Usually I load a boot floppy, the driver loads, it sniffs
out my SCSI disk, recognizes the partitions then a few seconds later
the kernel seems to dead-lock with a "SCSI host 0 timed out" error.

Any clues as to what this might be?  Does a newer driver exist for the
24F?

Thanks a million,
Rod

--
===========
If you yell try : Rod Troch                  | Zeta Beta Tau
internet        : [email-masked]   |    Roll Tide Roll!!
                :                            | happyHappy joyJoy
         Don't mess with TEXAS. (Lonestar - A Linux box)

------------------------------

From: [email-masked] (Mitchum DSouza)
Subject: Re: SIGFPE with atof()
Date: 20 Sep 1994 09:30:06 GMT

In article <[email-masked]>, [email-masked] (David Barr) writes:
|> I'm running Slackware 2.0, and i'm trying to compile a program
|> called xweather.  (You can get the program from ftp.pop.psu.edu,
|> files /pub/src/xweather.tar.Z and /pub/src/xweather.patch1)
|> 
|> The code runs fine on a SPARC, under both 4.1.3 and under Solaris.
|> Friends of mine have it working on other platforms as well.
|> If I compile it under Linux (running either 1.0.9 or 1.1.51), I
|> get a SIGFPE at an atof().  The string atof() is reading is a
|> valid number.  I'm using gcc 2.5.8, on a 386 with a 387.
|> 
|> The funny thing is that it doesn't seem to depend on which number
|> it's trying to convert to a float, it will bomb after a certain
|> number of atof()'s are called.

Try linking with -lieee. BTW: Next time can you mention what version of the
C libraries you are using. A "ldconfig -p" will suffice.

|> While I'm at it, when I compile it, I end up with a static binary.
|> I have the shared X libs loaded as well as the static ones.  Why
|> isn't a shared binary being built?

Probably because the link line had a "-g" in it somewhere. Take out the "-g"'s
from the Makefile and relink. The "-g" tells GCC to produce ginormous binaries
for fun.

Mitch

------------------------------

From: [email-masked] (Michael_Nelson)
Subject: Re: memory leakage in 1.1.51 ?
Date: 21 Sep 1994 20:21:40 GMT
Reply-To: [email-masked]

Guenther Thomsen ([email-masked]) wrote:

-> it seems, there is an memory leakage (at least) in linux-1.1.51 : if I
-> run two processes wich use (permanent) together more memory than my
-> machine gots as RAM, the machine is continiously swapping - ok. But
-> over the time the swap-space which is needed grows, without
-> increasing memory requirements of the two processes or any other !
-> This grow is (very) slowly (about 1Mb / hour ) but unstoppable -
-> anytime all the swap-space will be needed and the response time of the
-> machine becomes unreasonable slow !

-> If the processes terminates, they give back their and the mysterious
-> used swap space. So there is no problem with sufficient swap space and
-> short duration processes.

-> My machine: 
->      Linux 1.1.51
->      80386dx20MHz,ISA,8Mb RAM
->      10 or 23 Mb swap space

-> Processes to test:
->      2*gnuchessx started from xboard, each uses about 7.6 Mb
->      virtuell memory ('size').

-> other processes running:
->      X (2.0)
->      fvwm
->      xterm
->      top / free

        Under the conditions you outlined, after running for about 2 minutes, 
my system was using over 18 megabytes of swap.  When I first opened the two
incidences of xboard, it wasn't using ANY swap.

        Looks like a problem, allright...

--
Michael Nelson                          [email-masked]
San Francisco, CA                           FAX: 1-415-621-2608

------------------------------

From: [email-masked] (Michael_Nelson)
Subject: Re: memory leakage in 1.1.51 ?
Date: 21 Sep 1994 20:35:04 GMT
Reply-To: [email-masked]

Michael_Nelson ([email-masked]) wrote:

->      Under the conditions you outlined, after running for about 2 minutes, 
-> my system was using over 18 megabytes of swap.  When I first opened the two
-> incidences of xboard, it wasn't using ANY swap.

->      Looks like a problem, allright...

        ...but it doesn't seem to be specific to 1.51.  It does the same
here with 1.50.

--
Michael Nelson                          [email-masked]
San Francisco, CA                           FAX: 1-415-621-2608

------------------------------

From: [email-masked] (Donald Becker)
Crossposted-To: comp.os.386bsd.development,comp.os.linux.admin,comp.os.linux.misc,comp.protocols.nfs,comp.sys.ibm.pc.hardware,convoy.hardware,local.pinboard,paderborn.pinboard,zer.z-netz.fundgrube.suche.elektronik
Subject: Re: Searching infos on ReadyLink ENET16/U Rev. C Card
Date: 21 Sep 1994 16:16:41 -0400

In article <[email-masked]>,  <[email-masked]> wrote:
>Frank Westheider         Linux Support Group Paderborn
>I'm looking for infos on the ReadLINK ENET16/U Rev. C Ethernet-Card.
>This card can be jumpered for WD80x3 and NEx000 mode and has a lot of
>jumpers on board :
...
>Whatever setting i choose (WD oder NE), whatever IRQ/IO i choose, the card  
>is recognized but
>
>  - in NE-Mode the card hangs together with HD-Access  CRASH

This is likely a I/O address conflict.  What kind of disk controller are you
using?  What address are the cards jumpered to?  Remember that the NE2000
takes 32 I/O locations.

>  - in WD-Mode, all works fine, but the cards (2 of this kind) don't
>    recognize one another on the NET

Are there any Tx or Rx errors reported in /proc/net/dev?  What about error
messages logged in /usr/adm/messages?

-- 
Donald Becker                                     [email-masked]
USRA-CESDIS, Center of Excellence in Space Data and Information Sciences.
Code 930.5, Goddard Space Flight Center,  Greenbelt, MD.  20771
301-286-0882         http://cesdis.gsfc.nasa.gov/pub/people/becker/whoiam.html

------------------------------

Crossposted-To: comp.protocols.tcp-ip
From: [email-masked] (Mike Castle)
Subject: Re: Extending the IP Protocol?
Date: Wed, 21 Sep 1994 18:09:09 GMT

In article <[email-masked]>,
Sam Oscar Lantinga <[email-masked]> wrote:
>       ... I've gotten proxy arp working, but routing is still a
>problem, hence the need for the IPOPT_RELAY extension... ?
>Is there any way to force non-specific IP packets along a certain
>route?  Or to broadcast routing information telling the routers that
>one particular machine on the subnet can be reached through an
>entirely different network?

Routing Information Protocol (RIP), External Gateway Protocol
(EGP) or Border Gateway Protocol (BGP) might be what you need.
Check out the Network Admin Guide in section 2.4.4 for more info,
and prolly the gated documentation as well.
-- 
Mike Castle .-=NEXUS=-.  Life is like a clock:  You can work constantly
  [email-masked]     and be right all the time, or not work at all
   [email-masked]       and be right at least twice a day.  -- mrc
    We are all of us living in the shadow of Manhattan.  -- Watchmen

------------------------------

From: [email-masked] (John Byrns)
Subject: Installing from a QIC-80 tape?
Date: 21 Sep 1994 19:58:14 GMT

I am trying to upgrade my Linux from an old SLS to Slackware,  I now have
a Colorado 250mb tape drive and would like to install from it.

I was going to copy all install files to a DOS partition, then 
use a DOS program to back it up to tape.  Can I then use this tape
to install from?

Thanks
John Byrns
[email-masked]

------------------------------

From: [email-masked] (Axel Philipp)
Crossposted-To: comp.os.linux.misc,comp.os.linux.admin,alt.uu.comp.os.linux.questions
Subject: Re: How to use a host as a router - READ THIS
Date: 22 Sep 1994 06:46:20 GMT

David - Morris ([email-masked]) wrote:
: Re. why not 127.0.0.0 instead of 127.0.0.1 -- the destination address must
: be a 'host' address and the host address can't be zero (0).

No, the destination address must not always be a 'host'. If you make a 'nestat -rn'
for example, you will not find as many 'host' routes as 'network' routes.
'host' routes have the 'H' flag set wheras 'network' routes have the 'G' flag set.
Therefore there could conceptually be a network with number 127.0.0.0. But this
number is per definitionem reserved for local connections on your computer.
I.e the kernel can use the same addressing scheme for local connections (remember
the 'localhost' entry in /etc/hosts), as it would use for external connections.

        Axel Philipp

--

===================================================================
 Axel Philipp                          Universitaet-GH Paderborn
 Email : [email-masked]  Rechnerbetreuung KTP P15.13
 Phone : +49 5251 60 3814              Pohlweg
                                 33098 Paderborn, Germany
===================================================================

------------------------------

** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [email-masked]

You can send mail to the entire list (and comp.os.linux.development) via:

    Internet: [email-masked]

Linux may be obtained via one of these FTP sites:
    nic.funet.fi				pub/OS/Linux
    tsx-11.mit.edu				pub/linux
    sunsite.unc.edu				pub/Linux

End of Linux-Development Digest
******************************