Subject: Linux-Development Digest #924
From: Digestifier <Linux-Development-Request@senator-bedfellow.MIT.EDU>
To: Linux-Development@senator-bedfellow.MIT.EDU
Reply-To: Linux-Development@senator-bedfellow.MIT.EDU
Date:     Sun, 17 Jul 94 12:13:05 EDT

Linux-Development Digest #924, Volume #1         Sun, 17 Jul 94 12:13:05 EDT

Contents:
  Re: Memory crunch in 1.1.24? (Rick)
  Re: Arcnet drivers anyone? I'll help! (sorta) (ROBERT NELSON-COX)
  Re: How to know the patch lev (David Dyer-Bennet)
  FreePort functional equivalent for Linux? (Richard Whittaker)
  Re: Linux 1.1.29: telnet shells dying??? (Thomas Boutell)
  Re: non SCSI CD-ROM (Panasonic) and Linux (Hamish Coleman)
  tcpdump (Ted Hoang)
  Re: Linux Performance Enhance ? (Rob Janssen)
  Re: Linux Performance Enhance ? (Rob Janssen)
  Re: Linux Performance Enhance ? (Sven Goldt)
  I'll help implementing mprotect(), would like some help (Frank Lofaro)
  Re: Sliplogin not responding to CD drop. Kernel problem? (Sven Goldt)
  Re: Linux 1.1.29: telnet shells dying??? (Thomas Boutell)
  Re: Arcnet drivers anyone? I'll help! (sorta) (Brian Weaver)
  Re: Linux 1.1.29: telnet shells dying??? (Mark Lord)
  Re: Massive GCC error detected (Mark Lord)
  Re: Linux ext2fs vs. ufs vs. presto was Re: Fast File System? (Toni Mueller)

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

Crossposted-To: comp.os.linux.admin
From: pclink@qus102.qld.npb.telecom.com.au (Rick)
Subject: Re: Memory crunch in 1.1.24?
Date: Sun, 17 Jul 1994 09:01:35 GMT

rwhittak@orion.docwhitehorse.doc.ca (Richard Whittaker) writes:

><6>Memory: 4772k/8192k available (776k kernel code, 384k reserved, 2260k data)

>2260k of data????

SCSI controller, right?  Either get the more recent patches (25 or 26
fixes it) or change SG_ALL in hosts.h to 0xff.

Rick.

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

From: rn@rowan.coventry.ac.uk (ROBERT NELSON-COX)
Subject: Re: Arcnet drivers anyone? I'll help! (sorta)
Date: 17 Jul 1994 11:11:12 +0100

I've got ARCNET cards, running under DOS, and wanted to use them under Linux.
I pulled the ARCNET.c file & it bummed out will xxxxx errors.

I am no C programmer, but from what i can tell of the code their are a few
includes missing from the slack' 1.2.0 Distribution to use this out of the 
crate.

I'll get technical doc's (well, try) if someone else can write the code.

My advice is to get the cards, for five bucks each, it's a snip.  I got 5
for 25 pounds sterling (bargain), and they all work.

Anyone with arcnet experience mail me, please.

Rob./

1-800-see-ya


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

From: ddb@terrabit.mn.org (David Dyer-Bennet)
Subject: Re: How to know the patch lev
Date: Sun, 17 Jul 1994 06:34:58 GMT

ddb@terrabit.mn.org (David Dyer-Bennet) writes:

>riku.saikkonen@compart.fi (Riku Saikkonen) writes:

>>>I want to know what patch level of 1.0 I am running. I tried "uname"
>>>it only tels me it is "1.0".

>>It's 1.0.0 then...

>When I type "uname" on my system, it just says "Linux".

But when I type "uname -a", it says various more interesting things.

I should have checked the man page; what was running through my head
was that a clear statement had been made that "uname" would give the
patch level, I tried running "uname" and it didn't even give the
version, so I had a data point worth reporting.  I wasn't thinking in
terms of further investigation.

Obviously, I should have been.
-- 
David Dyer-Bennet, proprietor, The Terraboard    4242 Minnehaha Ave. S.
ddb@network.com, ddb@terrabit.mn.org              Minneapolis, MN 55406
Don't waste your time arguing about allocating          +1-612-721-8800
blame; there'll be enough to go around.             Fax +1-612-724-3314

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

From: rwhittak@orion.docwhitehorse.doc.ca (Richard Whittaker)
Crossposted-To: comp.os.linux.admin
Subject: FreePort functional equivalent for Linux?
Date: 17 Jul 94 06:36:20 GMT

Has anyone out there got something functionally equivalent to FreePort? I'd
like to setup a freenet, and have all of the necesarry resources the I need
(except cold hard cash).. I'd like to try setting such a free-net beast up
on a Linux box, and would like to know if someone has a less expensive option
out there, but one that retains the functionality (NetNews, E-Mail, Account
Generation, etc...) of the Freeport package...

Any E-Mail to this effect owuld be greatly appreciated...

Thanks in advance..

                                        Cheers,
                                        Rich W.
--
Richard Whittaker: Snailmail: 1102 Pine St, Whitehorse YT Y1A 4E8
  Internet E-Mail: rwhittak@orion.docwhitehorse.doc.ca 
Geographic Coords: 60 Deg., 45', 53" N., 135 Deg., 7', 17" W. 
    Amateur Radio: VY1RW, VY1RW@VY1DX, VY1RW@VY1BBS, 145.010 MHz         

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

From: boutell@netcom.com (Thomas Boutell)
Subject: Re: Linux 1.1.29: telnet shells dying???
Date: Sun, 17 Jul 1994 05:39:32 GMT

In article <Ct1nBx.B0o@seneca.ix.de>, Harald Milz <hm@seneca.ix.de> wrote:
>Thomas Boutell (boutell@netcom.com) wrote:
>: > I'm only positive this is happening on netcom's machines. It could
>: > be them, but that seems odd since they're still up and I can connect
>: > again. Is anyone else experiencing this?
>
>No, your problem isn't probably 1.1.29-related. 

Oh, yes, it was -- or rather, it's definitely kernel-upgrade related;
I didn't have the problem, ever, with 1.1.23.

But the patch posted today (turning off the fast path stuff, whatever
that's intended to do) has cleared it up completely.

Now I've switched to PPP, but I get the impression the file patched
was relevant to both SLIP and PPP.

So far PPP seems considerably peppier, and it was tremendously
easier to set up.

-T
-- 
  boutell@netcom.com, purveyor of fine HTML pages to the biology trade.
     FAQ-keeper for comp.infosystems.www.misc,.providers and .users. 
                    Drop by and learn about the Web.
<a href="http://siva.cshl.org/boutell.html"><em>Thomas Boutell</em></A>

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

From: hamish@zot.apana.org.au (Hamish Coleman)
Subject: Re: non SCSI CD-ROM (Panasonic) and Linux
Date: 17 Jul 1994 14:36:09 +1000

In <1994Jul13.101903.27057@enpc.fr> bouaziz@asterix.enpc.fr (Laurent BOUAZIZ) writes:

>Is there soft that would allow me to listen my CD's on a Panasonic (CR-562B)
>CD-ROM. Workman seems to require SCSI support.
>Please email any answer.
>Thanks.

Workman just needs a /dev/sr0 device -- most (all?) of the CDROM device drivers
support the standard IOCTL's for playing music CD's

The quick fix is to link /dev/sr0 to your CDROM device file.  The real fix is to
tell workman to use different devices.

(Oh, and I am sure other people have had the same problem, so I am posting this
reply)

Hamish.


-- 
Use Linux!                                         hamish@zot.apana.org.au
|-----------------| Bill posters will be shot on sight |-----------------|
``Life is like a grapefruit ... it's sort of orangey-yellow and dimpled on
the outside, wet and squidgy in the middle.  It's got pips inside too. Oh,
and some people have half a one for breakfast.'' -- Ford Prefect

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

Crossposted-To: comp.os.linux.misc
From: hoang1@litwin.com (Ted Hoang)
Subject: tcpdump
Date: Sun, 17 Jul 1994 06:43:10 GMT

Hi,
Does anyone successfully compile libpcap and tcpdump programs for linux? If you
do, please give me some hints to make it works. I don't know how to compile for
/dev/net.

Thanks in advance
===========================================================================
Ted Hoang               Email:hoang1@litwin.com         Tel: (713) 267-7122
                                                        Fax: (713) 267-7908
Litwin Process Automation
1250 W. Sam Houston Pkwy S.
Houston, TX 77042
===========================================================================


-- 
===========================================================================
Ted Hoang               Email:hoang1@litwin.com         Tel: (713) 267-7122
                                                        Fax: (713) 267-7908
Litwin Process Automation

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

From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: Linux Performance Enhance ?
Reply-To: pe1chl@rabo.nl
Date: Thu, 14 Jul 1994 22:14:00 GMT

In <302t3f$t6v@smurf.noris.de> urlichs@smurf.noris.de (Matthias Urlichs) writes:

>In comp.os.linux.development, article <CsvDLF.tv@pell.com>,
>  orc@pell.com (Orc) writes:
>> In article <CsuMMo.49F@pe1chl.ampr.org>, Rob Janssen <pe1chl@rabo.nl> wrote:
>> >
>> >Ok ok...  I admit that my piece of code was not the same as the original.
>> >So here is a re-try.  It uses no goto at all, generates the same or better
>> >code as Matthias's version, and it also uses a feature of the C language
>> >that is not well-known...
>> >
>> >static int try_to_free_page(int priority)
>> >{
>> >   int i = 5;
>> >   static int what = 0;
>> >
>> >   switch (what)
>> >   {
>> >       while (i--)
>> >       {
>> >       case 0:
>> 
>At least use a "do { } while(i--)" loop...  ;-)

But that is not the same...  at least it would have to be
"do { } while(--i)" to get equivalent behaviour.

Note that the C definition does not prohibit jumping into loops.  The
only restriction to jumping around, is that initialized automatic
variables are only initialized when the corresponding block is entered
at the top.
Syntax and semantics of other programming languages may make entering
loops in the middle "dangerous" or "undefined", but C is not among them.

>>    You want to put a Duffs Device into the kernel?
>>    Urk.
>> 
>There's no reasonable way to express what we want to do here in C without
>either horrible goto usage (I _do_ admit that mich ;-), suboptimal machine
>code, Duffs Device-like code, or (even less nice) replication of the loop.

Well, my opinion is that the 2nd version of the code I posted is cleaner
than the original.  I know some people like to start the argument about
"it would not work in Algol" or "the results would be undefined in Pascal",
but we are talking about the C language here...

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   rob@pe1chl.ampr.org           |
| e-mail: pe1chl@rabo.nl     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

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

From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: Linux Performance Enhance ?
Reply-To: pe1chl@rabo.nl
Date: Thu, 14 Jul 1994 22:15:19 GMT

In <303pcp$7l@eve.adam.com.au> steve@adam.com.au (Stephen White) writes:

>Rob Janssen (rob@pe1chl.ampr.org) wrote:
>: Ok ok...  I admit that my piece of code was not the same as the original.
>: So here is a re-try.  It uses no goto at all, generates the same or better
>: code as Matthias's version, and it also uses a feature of the C language
>: that is not well-known...

>Matthias posted a worthwhile improvement (it may be Duff's Device, but it
>was worse before).  I cringed when I read your line "let me teach you 
>about progamming". It hasn't gotten any better since.

Please re-read the thread and find that you are mixing up the attributions
here...

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   rob@pe1chl.ampr.org           |
| e-mail: pe1chl@rabo.nl     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

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

From: goldt@math.tu-berlin.de (Sven Goldt)
Crossposted-To: comp.lang.c
Subject: Re: Linux Performance Enhance ?
Date: 17 Jul 1994 12:42:24 GMT

Could you please discuss these C features (Duffy's Device) in
comp.lang.c instead ? This is going off-topic.

--
*****************************************************************************
*    # THE MOST IMPORTANT FINANCIAL QUESTION IS:  Where is the money ? #    *
*****************************************************************************

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

From: ftlofaro@unlv.edu (Frank Lofaro)
Subject: I'll help implementing mprotect(), would like some help
Date: Sat, 16 Jul 94 07:34:01 GMT

I am willing to take a stab at implementing mprotect().
This would be good, for example, to allow debugging tools such as 
"Electric Fence" (traps bad memory accesses outside of malloced data 
areas right as they occur).

I am looking through the mmap(), insert_vm_area(), merge_segments() amd 
zeromap_page_range() procedures, and am sort of geeting that hang of what 
is going on, but any ideas/information/explainations you can offer would 
help.

No guarantees I can figure this out totally, but I'll try...


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

From: goldt@math.tu-berlin.de (Sven Goldt)
Crossposted-To: comp.os.linux.help
Subject: Re: Sliplogin not responding to CD drop. Kernel problem?
Date: 17 Jul 1994 13:01:59 GMT

John Lellis (lellis@dmccorp.com) wrote:
: Bart Kindt (bart@dunedin.es.co.nz) wrote:
: : I have setup a SLIP dial-IN server, and I am using the program 'sliplogin' to 
: : do it, after given up trying to get DIP to work. The program works fine except 
: : that very often (but not always) sliplogin fails to detect that the connection 
: : has been closed, by the remote user hanging up the modem (the only way you can 
: kernels are "bleeding-edge", and 1.0.9 is the "official", stable version.

I am not using the 1.1.x series, but maybe i will install 1.1.18 on
another machine next month and can try to modify sliplogin again
(By the way - is there a more stable 1.1.x version than 1.1.18 ?).
Until then you could try to use mgetty, which should hopefully
detect a dropped carrier since it is especially for modem connections.

Sven
--
*****************************************************************************
*    # THE MOST IMPORTANT FINANCIAL QUESTION IS:  Where is the money ? #    *
*****************************************************************************

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

From: boutell@netcom.com (Thomas Boutell)
Subject: Re: Linux 1.1.29: telnet shells dying???
Date: Sat, 16 Jul 1994 01:05:55 GMT

In article <306hbj$le2@bmerha64.bnr.ca>, Mark Lord <mlord@bnr.ca> wrote:
>In article <boutellCszn3B.82r@netcom.com> boutell@netcom.com writes:
>..
>>The bad news is, net connections seem to be fine for a couple of minutes
>>and then hang without warning (under SLIP). I can then make another
>>connection to the same remote host.
>..
>>Is anyone else experiencing this?
>
>I had it happen after 15 minutes use (PPP) today with 1.1.29.
>-- 
>mlord@bnr.ca   Mark Lord       BNR Ottawa,Canada       613-763-7482

Additional information:

-- It only happens with connections to netcom, so far, BUT
-- If I telnet to another host and telnet to netcom from there,
   I have no problems and never lose the connection between
   the intermediate host and netcom.

I deduce from this that (a) it's probably not netcom's fault,
and (b) it's something that's only apparent when communicating
with hosts that run a particular OS. netcom is running SunOS 4.something,
but probably not a very vanilla setup.
halcyon, the intermediate host I have no problem with, is
running Ultrix. The machines at my workplace back east
also are running SunOS 4.1.3, but have, undoubtedly, much simpler
networking configurations than netcom's.

-T
-- 
  boutell@netcom.com, purveyor of fine HTML pages to the biology trade.
     FAQ-keeper for comp.infosystems.www.misc,.providers and .users. 
                    Drop by and learn about the Web.
<a href="http://siva.cshl.org/boutell.html"><em>Thomas Boutell</em></A>

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

From: weaver@vagus.vth.colostate.edu (Brian Weaver)
Subject: Re: Arcnet drivers anyone? I'll help! (sorta)
Date: Sun, 17 Jul 1994 13:05:57 GMT

ROBERT NELSON-COX (rn@rowan.coventry.ac.uk) wrote:
: I've got ARCNET cards, running under DOS, and wanted to use them under Linux.
: I pulled the ARCNET.c file & it bummed out will xxxxx errors.

: I am no C programmer, but from what i can tell of the code their are a few
: includes missing from the slack' 1.2.0 Distribution to use this out of the 
: crate.

: I'll get technical doc's (well, try) if someone else can write the code.

: My advice is to get the cards, for five bucks each, it's a snip.  I got 5
: for 25 pounds sterling (bargain), and they all work.

: Anyone with arcnet experience mail me, please.

: Rob./

: 1-800-see-ya

Dont know why anyone would bother. get your self some cheap
ne2000 twisted pair cards, worth the extra $55.00 a card
over arcnet anyday. We are in the process of ripping out
a bunch of old arcnet and 10base2 cards, and going to
10baseT. $5.00 bucks each hu? I think you are paying too much.

--  Brian



--
===========================================================
Brian Weaver                               wk. 303-491-0352
Systems Administrator                     fax. 303-491-1245
Veterinary Teaching Hospital
Colorado State University    weaver@vagus.vth.colostate.edu
===========================================================

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

From: mlord@bnr.ca (Mark Lord)
Subject: Re: Linux 1.1.29: telnet shells dying???
Date: 15 Jul 1994 17:34:43 GMT

In article <boutellCszn3B.82r@netcom.com> boutell@netcom.com writes:
..
>The bad news is, net connections seem to be fine for a couple of minutes
>and then hang without warning (under SLIP). I can then make another
>connection to the same remote host.
..
>Is anyone else experiencing this?

I had it happen after 15 minutes use (PPP) today with 1.1.29.
-- 
mlord@bnr.ca    Mark Lord       BNR Ottawa,Canada       613-763-7482

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

From: mlord@bnr.ca (Mark Lord)
Subject: Re: Massive GCC error detected
Date: 15 Jul 1994 17:36:42 GMT

In article <1994Jul13.162537.8893@rosevax.rosemount.com> grante@reddwarf.rosemount.com writes:
>: gcc: internal compiler error: program cc1 got fatal signal 11
>
>This is almost always a hardware error.  Probably bad cache hardware
>or a bad SIMM.  Possibly bus contention or bus speed problems.
>
>Try disabling your cache, if that doesn't fix it, try swapping SIMMS

My system had the same symptoms.  Turning off the external cache
provided a neat workaround, and I've finally gotten the dealer to
replace the external cache chips.. problem is now gone.
-- 
mlord@bnr.ca    Mark Lord       BNR Ottawa,Canada       613-763-7482

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

From: mueller@thorium (Toni Mueller)
Crossposted-To: comp.sys.sun.admin
Subject: Re: Linux ext2fs vs. ufs vs. presto was Re: Fast File System?
Date: 15 Jul 1994 16:25:05 GMT

Vince Fleming (vince@vtci.com) wrote:
: Callum Gibson (callum@frost.bain.oz.au) wrote:
: : Nigel Gamble (nigel@gate.net) wrote:
: : > If you are concerned about power failure, the way to survive with
: : > no corruption and no performance hit is to use a UPS.  Why would you
: : > want to put any performance hit in the filesystem when there is a
: : > better way to address the power fail problem?

: : Then you could do as our sys admin did and trip over the power cord between
: : the ups and the computer. (sorry Glenn). :-)

: Then you could kick youself and buy a system with an *internal* UPS. ;-}

: [on a serious note, the larger AT&T/NCR have this as an option for that 
: very reason]

How many seconds do you run on such an internal power supply ?

I guess the sensible minimum running time would be 1.5 times as long as it
normally takes to shut the machine down.

--
================================
Toni M"uller                    Internet: mueller@uran.informatik.uni-bonn.de
                                phone:    +49-2261-79351


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


** 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: Linux-Development-Request@NEWS-DIGESTS.MIT.EDU

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

    Internet: Linux-Development@NEWS-DIGESTS.MIT.EDU

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