Subject: Linux-Misc Digest #437
From: Digestifier <Linux-Misc-Request@senator-bedfellow.MIT.EDU>
To: Linux-Misc@senator-bedfellow.MIT.EDU
Reply-To: Linux-Misc@senator-bedfellow.MIT.EDU
Date:     Thu, 16 Dec 93 10:13:24 EST

Linux-Misc Digest #437, Volume #1                Thu, 16 Dec 93 10:13:24 EST

Contents:
  Re: DEPCA ethernet card (John C Sager)
  Re: OGI Speech Tools for Linux (Just a fellow traveller...)
  Re: Linux on 386SX 33MHz ONLY 2MB RAM! (H.J. Lu)
  *** PLEASE READ THIS BEFORE POSTING *** (misc-2.07) (Ian Jackson)
  Re: Windows emulation  was Re: Microsoft Invented Inferior Personal C (Charles Edwards)
  Re: Yet another benchmark results.. (Jerzy Michal Pawlak)
  DEC EtherWORKS 3 Turbo+ (Karsten Steffens)
  Re: Debate: Time to Remove SLS From archive sites? (Miguel Alvarez Blanco)
  Re: Linux on a Token Ring (Dominik Kubla)
  Re: Update on Linux International (RFD) (David Alan Black)
  Re: Windows emulation was Re: Microsoft Invented Inferior Personal C (Mark A. Davis)
  Re: filesystem & swap decisions for a new system (Michael A Iverson)
  Re: Jana CDs shipped in November? (Remco Treffkorn)

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

From: jcs@zoo.bt.co.uk (John C Sager)
Subject: Re: DEPCA ethernet card
Date: Thu, 16 Dec 93 09:11:46 GMT

In article <2ejvtn$8c9@hpux.rz.uni-jena.de>, mmb@rz.uni-jena.de (Martin Beck) writes:
> 
> Hello,
> I have a DEPCA ethernet card and linux slackware v.1.1.0 . By reconfiguration the kernel I
> obtain the failure
> >> No rule to make target 'net.a(depca.o)' <<.
> Does anyone knows how I could get the sources for the depca card?

The current version is depca-0.7. Search for it using archie to find a
local archive. It patches to linux pl13 ok but after the net drivers
were moved to drivers/net, then this no longer works. depca.c needs
to be in drivers/net, and you need to make the edits to Space.c in there,
rather than in net/inet.
You will also need to edit Makefile in drivers/net to add the following
lines inside the #ifdef CONFIG_DEPCA


depca.o: depca.c CONFIG
        $(CC) $(CPPFLAGS) $(CFLAGS) $(DEPCA_OPTS) -x c++ -c $< -o $@

This is necessary because depca.c is written in C++ - hope you asked
for g++ to be loaded when you installed Slackware!

Good luck! I've not tried it on pl14 yet, but it works on pl13q for me.

John C Sager                                    Mail:   B67 G18, BT Labs
Email:          jcs@zoo.bt.co.uk                        Martlesham Heath
Tel:            +44 473 642623                          IPSWICH  IP5 7RE
Fax:            +44 473 637614                          England
Disclaimer:     This is me, not BT.

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

From: jedubins@unix.amherst.edu (Just a fellow traveller...)
Subject: Re: OGI Speech Tools for Linux
Date: 16 Dec 1993 05:13:19 -0500

Klaus Weidner (klaus@snarc.greenie.muc.de) wrote:
: jedubins@unix.amherst.edu (Just a fellow traveller...) writes:
: >A note of warning: there still are a few bugs in the package, but they
: >are mostly in the X-graphical tool Lyre(and auto_lyre which is a scripted
: >version of Lyre).  You'll often get a floating point exception error
: >when trying to use Lyre.  I'm not sure what's going on here either.  If
: >you would like to help email Tilo at tilo@cs.TU-Berlin.DE.  I'm sure he'll be
: >able to send you his diffs or a list of his patches.  The general *nix source
: >release is on speech.cse.ogi.edu in /pub/tools/ogitools.v1.0.tar.Z

: I think I found the `floating exception' bug - just add the statement
: `#include <stdlib.h>' at the top of the files `bin/lyre/main.c' and
: `bin/auto_lyre/main.c'. It now displays a beautiful two-dimensional
: spectrum for the data files.

: It seems that the compiler expected `atof()' to return an int, took
: 4 bytes from the stack and converted that to a float, instead of
: taking the top value out of the co-processor stack. 

: (P.S.: somebody ought to explain the difference between a NULL pointer
: and ASCII NUL to the program author... that is the cause for most of the
: integer <-> pointer warnings produced.)

: It looks like a great package, now I'll start experimenting...

: ciao, Klaus
: -- 
: \ klaus@snarc.greenie.muc.de--kweidner@physik.tu-muenchen.de--2:246/55.4
: \ .signature error -- quote dumped


After I made Klaus's patches, I think I found some more errors-- would cause 
you to get a segmentation fault when the user selected the "Apply" button from 
within the tdat display.  There was a type cast missing in this call in both 
copies Gspectool.c in bin/lyre and bin/auto_lyre dirs.  It needs to be changed 
from this:

        XtAddCallback( ab, XtNcallback, DoGspecOptions, c_data );

To this:

        XtAddCallback( ab, XtNcallback, DoGspecOptions, (caddr_t) c_data );

This error was almost immediately apparent, but once I fixed it it wasn't
giving me a segmentation fault anymore, but what is now familiar to us, a
floating point exception error.  Sure, enough, once you insert:

#include <stdlib.h>

at the top of both lyre and auto_lyre's Gspectool.c the problem goes away and 
the apply button works without any problems.

I've got the binaries recompiled and optimized to use the 486 if it's present,
which might be especially useful in the situation where heavy signal analysis
work is being done, i.e. tdat display.  A new linux-binary distribution of the
OGI Speech Tools should be up on tsx-11.mit.edu and sunsite.unc.edu soon.

                                        Jim


                                







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

From: hjl@nynexst.com (H.J. Lu)
Subject: Re: Linux on 386SX 33MHz ONLY 2MB RAM!
Date: Thu, 16 Dec 93 10:08:13 GMT

Zbigniew Zych (zych@galaxyuci.agh.edu.pl) wrote:
: Hello!
:   I'm beginner at Linux & News - sorry for errors...

:   I have only 2MB RAM in my computer, but in fact this is SX,
: I can't get full 2MB - so I have only 1664kB !
: (384kB is lost!)

You should turn off any shadow. Use xfs only also helps since it is
smaller compared with ext2 fs which has more features.

H.J.

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

From: ijackson@nyx.cs.du.edu (Ian Jackson)
Subject: *** PLEASE READ THIS BEFORE POSTING *** (misc-2.07)
Date: Thu, 16 Dec 1993 11:03:01 GMT

Please do not post questions to comp.os.linux.misc - read on for details of
which groups you should read and post to.

Please do not crosspost anything between different groups of the comp.os.linux
hierarchy.  See Matt Welsh's introduction to the hierarchy, posted weekly.

If you have a question about Linux you should get and read the Linux Frequently
Asked Questions with Answers list from sunsite.unc.edu, in /pub/Linux/docs, or
from another Linux FTP site.  It is also posted periodically to c.o.l.announce.

In particular, read the question `You still haven't answered my question!'
The FAQ will refer you to the Linux HOWTOs (more detailed descriptions of
particular topics) found in the HOWTO directory in the same place.

Then you should consider posting to comp.os.linux.help - not
comp.os.linux.misc.

Note that X Windows related questions should go to comp.windows.x.i386unix, and
that non-Linux-specific Unix questions should go to comp.unix.questions.
Please read the FAQs for these groups before posting - look on rtfm.mit.edu in
/pub/usenet/news.answers/Intel-Unix-X-faq and .../unix-faq.

Only if you have a posting that is not more appropriate for one of the other
Linux groups - ie it is not a question, not about the future development of
Linux, not an announcement or bug report and not about system administration -
should you post to comp.os.linux.misc.


Comments on this posting are welcomed - please email me !
--
Ian Jackson  <ijackson@nyx.cs.du.edu>  (urgent email: iwj10@phx.cam.ac.uk)
2 Lexington Close, Cambridge, CB4 3LS, England;  phone: +44 223 64238

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

Crossposted-To: alt.folklore.computers,alt.religion.kibology,comp.os.ms-windows.advocacy,alt.fan.mike-dahmus
From: cedwards1@worldbank.org (Charles Edwards)
Subject: Re: Windows emulation  was Re: Microsoft Invented Inferior Personal C
Date: Thu, 16 Dec 1993 12:26:43 GMT

In article <STEVEV.93Dec16001715@miser.uoregon.edu>, stevev@miser.uoregon.edu (Steve VanDevender) says:
>
>In this case, length does matter.  Lots of operating systems will
>crash once per session, if the session ends with a crash; the
>real value is in how long the session is.  (Windows: 1 hour;
>Linux: 1 year (or more).)
>--

I really have to wonder what kind of environments some of you people are
running. I run Windows in a moderately complex environment which includes
Banyan Vines and TCP/IP. My major activities are software development, 
e-mail and word processing and can't remember the last time I had a crash.
I turn on my machine on Monday morning and turn it off on Friday evening
without a single reboot in between.

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

Crossposted-To: comp.sys.ibm.pc.hardware,comp.os.vms,comp.benchmarks,relcom.talk,relcom.fido.su.general
From: pawlak@zeubac.desy.de (Jerzy Michal Pawlak)
Subject: Re: Yet another benchmark results..
Reply-To: pawlak@zeubac.desy.de
Date: Thu, 16 Dec 1993 10:51:01 GMT


In article <2em10a$l13@vixen.cso.uiuc.edu>, furio@uiuc.edu (furio ercolessi) writes:
>In article <1993Dec15.014035.2203@pacific.mps.ohio-state.edu>, viznyuk@mps.ohio-state.edu (Dragon
>Fly) writes:
>|> - - - - - - - - Original code - - - - - - - - - - - - - - - - - - - - - -
>|> #include <stdio.h>
>|> #include <math.h>
>|> #include <time.h>
>|> main()
>|> {
>|> double  x,y[1000000];
>|> int     i;
>|> time_t  t;
>|>  
>|> time(&t);
>|> for (i=0;i<1000000;i++)
>|>       {
>|>       x=11.0+(33.5*i)*(33.5*i);
>|>       y[i]=(sin(3.1*i)+cos(5.1*i))*sqrt(x+exp(3.14*log(x+i)));
>|>       }
>|> printf("time=%d\n",time(0)-t);
>|> }
>
>I am a Fortran programmer and I am not very familiar with C, but
>it seems to me that there is nothing to prevent an optimizer
>from wiping away all the computations, after having recognized
>that no use is made of the results.  If I were designing this
>benchmark, I would have _at least_ printed the value of a
>certain y[i] at the end, with i defined (and computed!) as a
>random number between 0 and 999999.  
>
>My experience with Fortran compilers is that many
>of them happily omit to perform "unuseful" computations, and I
>design all my benchmarks accordingly.  Returning the results
>as subroutine arguments to a caller (which may ignore them) is
>usually a good enough trick to ensure that computations are
>really carried out, with the current generation of compilers.
>
Well spotted Furio! I have a new entry in this stupid contest:

MicroVAX II, 16 MB, VAX/VMS 5.5-1
VAX FORTRAN v. 5.8 (I know, I should upgrade...)
6 users, (av. CPU load 10%)
time =0.04 s (average of 10 runs)

Hahahahahaha.. I have the fastest machine in the world! All you have to do
is to recode a bit:

        DOUBLE PRECISION x,y(1000000)
        t = SECNDS(0.0)
        DO 1 i=1,1000000
          x=11.0+(33.5*i)*(33.5*i)
          y(i)=(sin(3.1*i)+cos(5.1*i))*sqrt(x+exp(3.14*log(x+i)))
1       CONTINUE
        t = SECNDS(t)
        PRINT *,'Time=",t
        END
-- 
Michal (pawlak@zeubac.desy.de)

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

From: steffen@asterix.uni-muenster.de (Karsten Steffens)
Crossposted-To: comp.os.linux.help
Subject: DEC EtherWORKS 3 Turbo+
Date: 16 Dec 1993 12:59:31 GMT

Hi fellow netlanders, did anyone get a DEC EtherWORKS 3 Turbo plus
ethernet board running with linux 0.99.14 ? I compiled a kernel
including all ethernet boards available from config but the
card is not being recognized during bootup. Any help appreciated,
thanks a lot in advance,
        Karsten

--
> ----------------------- Karsten Steffens --------------------- <
  karsten@kshome.ruhr.de         |  steffens@ikp.uni-muenster.de
    on my private site           |  Institut fuer Kernphysik
  Marl - north of the Ruhrgebiet |  Westf.-Wilhelms-Uni. Muenster
> -------------------------------------------------------------- <

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

Subject: Re: Debate: Time to Remove SLS From archive sites?
From: miguel@pinon.ccu.uniovi.es (Miguel Alvarez Blanco)
Date: 16 Dec 93 12:52:27 +0100

Andy (pi92ae@pappa.pt.hk-r.se) wrote:
:    There is only one thing which makes SLS usefull: the TeX package.
:    If/when this gets included in Slackware, Debian, Tamu etc., SLS can be removed
:    entirely, with advices in the FAQs/Howto's about it.

: If I have gotten things right.. the TeX package will be in Slackware
: 1.1.1 wich are on beta testing now.

    It IS on Slackware 1.1.1

: Hmm any1 who knows when it is to be released??

    Well, in fact when was it released: last weekend. It's now on ftp.cdrom.com,
but the mirrors I've searched have older versions messed with the new one. I've
dropped a note to ftpkeeper on sunsite, but I haven't seen if it's changed now
(I've just got the full 1.1.1 distribution from ftp.cdrom.com).

:       /andy

    Just my $0.02 thought: why don't tsx-11 mirror slackware, too?
And yes, me too began with SLS, but I'm with Slackware since the
begining: I just needed Xfree 1.3 when Slackware 1.0 came out, and found
that what I really need was Xfree 2.0 when Slackware 1.1.0 came out, and
now ... TeX! (well, in fact another machine to thrash SLS from).

--
     Miguel Alvarez Blanco           "All that is gold does not glitter,
miguel@hobbit.quimica.uniovi.es      not all those who wander are lost."
  miguel@pinon.ccu.uniovi.es                   Bilbo Baggins.

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

From: kubla@gundel.zdv.Uni-Mainz.DE (Dominik Kubla)
Subject: Re: Linux on a Token Ring
Date: 15 Dec 1993 17:19:41 GMT

Christopher J Bienert (cjbiener@iastate.edu) wrote:
: I would like to set up a Gateway2000 computer running Linux on a Token Ring.
: I'll be using a Madge Token Ring card.  Is this possible and if it is, are
: there any special problems that I should be aware of before starting the
: project.  Also, I've seen help files for using Linux on an Ethernet network,
: are there similar files available for Token Ring?  (I've checked out the 
: ftp sites, but I haven't found anything.)  Thanks in advance.

: -Chris

: -- 
: Christopher J Bienert
: cjbiener@iastate.edu

Token ring networks are not (yet?) supported. If you have documentation of the
card, then it might be a good idea to talk to Donald Becker how you could 
write a driver for it. (Maybe he has the time to write yet another driver, but
i doubt it, so you're on your own.)

--
Cheers,
  Dominik

+---------------------------------------------------------------------------+
| eMail: kubla@goofy.zdv.Uni-Mainz.DE                                       |
| sMail: Dominik Kubla, Steinsberg 34, 56355 Nast"atten, F. R. Germany      |
+---------------------------------------------------------------------------+
|                                                                           |
|        "Linux: The choice of a GNU generation"      --S. Frampton         |
|                                                                           |
+---------------------------------------------------------------------------+
DISCLAIMER:  Everything written above are the expressed thoughts of the
author and in no way connected to 'Johannes Gutenberg Universit"at', Mainz
(Germany). This way, they do not have to care about what I say ...

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

From: dblack@pilot.njin.net (David Alan Black)
Subject: Re: Update on Linux International (RFD)
Date: 16 Dec 93 13:42:36 GMT


I am not, here, taking any position on the merits of the proposal for
Linux International.  I only want to suggest one thing, which will probably
strike most people as trivial and/or off-the-wall.

Namely:

I think that consideration should be given to choosing a name (assuming
the organization does come into being) which does not have the word
"Linux" in it.

It seems that every organization proposed recently (yes, I know they're all
different... I'm not trying to stir all that stuff up) uses "Linux" in its
name.  Could this be part of why the stakes seem so high in each case?  Would
it, so to speak, lift some of the burden from the shoulders of such proposals
if they did not, through the use of the name, imply universality and finality?

It would be nice (optimistic, yes, but nice) to think that the absence of
the word "Linux" did not have to denote the absence of Linux.  For a vivid
though (you heard it here first) extremely inexact analogy, consider the fact
that not every computer consulting firm which maintains Windows-based 
installations uses the word "Windows" in its name.  (PLEASE do not bring up
the 25 obvious flaws in this analogy.)


David Black
dblack@pilot.njin.net


                "The ghost! It took her! It took... Mrs. Peel!"

                        - Mandy McKai-Martin

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

From: mark@taylor.wyvern.com (Mark A. Davis)
Subject: Re: Windows emulation was Re: Microsoft Invented Inferior Personal C
Date: Thu, 16 Dec 1993 13:45:58 GMT

craig@sage.cc.purdue.edu (Craig Lewis) writes:

>In article <2eme98$g6h@trane.uninett.no> hta@uninett.no (Harald T. Alvestrand) writes:
>>

>[snip]

>>And: Lots of Windows applications call *none* of them.
>>Windows is a tidier environment than DOS, any day, according to the book.
>>

>Then why does Windows crash at least once a session?  I've been using DOS 
>since 3.31 was new, and I've had DOS 4.0 crash on me once.

You both mean MS-"Windows" and MS-"DOS".

It is likely that MS-"DOS" programs running native crash infrequently
because they have total control over the machine.  Since most programs
throw most of MS-"DOS" away immediately on startup, there is not much to
crash anyway (there isn't much else out there in memory to mess with).
This is not true under
MS-"Windows".  Software writers for MS-"Windows" will have to learn the
hard way how to structure programs and use drivers and OS calls.

[note the elimination of the stupid crossposting to 100 groups from the
 original posting].
-- 
  /--------------------------------------------------------------------------\
  | Mark A. Davis    | Lake Taylor Hospital | Norfolk, VA (804)-461-5001x431 |
  | Sys.Administrator|  Computer Services   | mark@taylor.wyvern.com   .uucp |
  \--------------------------------------------------------------------------/

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

From: miverson@magnus.acs.ohio-state.edu (Michael A Iverson)
Subject: Re: filesystem & swap decisions for a new system
Date: 16 Dec 1993 14:55:59 GMT

In article <CI49Is.2vH.3@cs.cmu.edu> ddj+@cs.cmu.edu (Doug DeJulio) writes:
>
>I've been playing around with Linux, and I've decided to make it my
>primary OS.  I'm about to nuke my two 430 meg partitions and my 64 meg
>swap partition, and lay the disk out in a semi-permenant
>configuration.  What filesystem should I use for an over-800 meg
>partition?  I know there's ext2fs, and I've also vaguely heard of the
>xiafs.
       ext2fs & xiafs are the two you'd consider using
       the others include: minix, extfs, msdos, etc.

     both file systems are nearly equivalent, but I'd use
     ext2fs because 1) it has a larger installed base, so
     upgrades & improvements will appear faster, and 2)
     I think ext2fs will give a little better performance
     (However, I think it would be hard to tell the difference)

     I may be wrong, but i think xiafs is nice for small volumes,
     since it has a smaller overhead.

>What other choices are there?  What's the relative
>stability/performance?  My hardware is an Adaptec AHA1542C SCSI
>controller and an HP gigabyte disk drive and Texel CD-ROM, if any of
>that has any bearing (I hope to get an EISA SCSI controller within a
>year).
>
>Also, for swapspace, can anyone sumarize a cost-benefit analysis of
>swapfile vs. partition?  

      type          pros            cons
     partition     fast         wastes disk space; hard to resize
     swapfile      slow         easy to resize


>I would expect swapping to a partition to
>give better performance -- is this effect significant?  If I use a
>swapfile, will Linux grow it if it needs more VM, as some OSes out
>there will?

With ~1 Gig of HD space, I'd set up a partition. If you think
you'll run out, make some conservative estimate, multiply by 2,
and you'll never have a problem. I've got two 16 meg swap partitions,
and I've never used more than about 10 Meg of one. But with 0.5 Gig,
thats 3% of my disk space, a pretty insignificant number.

>
>Thanks for your help.
>--
>Doug DeJulio
>ddj+@cmu.edu

Mike.
-- 
****__Michael Iverson___________________________****
 ****__iverson@ee.eng.ohio-state.edu_____________****
  ****__The Department of Electrical Engineering__****
   ****__The Ohio State University_________________****

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

From: root@hip-hop.sbay.org (Remco Treffkorn)
Subject: Re: Jana CDs shipped in November?
Date: Wed, 15 Dec 1993 01:19:08 GMT
Reply-To: remco@hip-hop.sbay.org

Van Zandt (jrv@truth.mitre.org) wrote:
: gordon@tradenet.com writes:
: >Remco Treffkorn (root@hip-hop.sbay.org) wrote:
: >
: >Well I haven't received mine after a direct email responce from Jay that
: >the CD's were shipped on or about Nov. 7th. I'm tired of this. I'm going
: >to Consumer and Corporate Affairs and the BBB.

: I got mine on about 11/16.  The case wasn't broken, either.
: I thought at first he might actually have sent a two-sided disc, but
: only one side was readable after all.
:                                                                            
:                                              - Jim Van Zandt <jrv@mitre.org>

This could be misread as if I had said "Well I haven't..." !
Stuff like this might explain the mail I got from Jay...
I wish you would be more careful when quoting :-(

-- 

Remco Treffkorn, DC2XT
remco@hip-hop.sbay.org   <<-- REAL reply address !!
(408) 685-1201

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


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

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

    Internet: Linux-Misc@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-Misc Digest
******************************
