Subject: Linux-Development Digest #23
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:     Sat, 13 Aug 94 22:13:04 EDT

Linux-Development Digest #23, Volume #2          Sat, 13 Aug 94 22:13:04 EDT

Contents:
  Re: Novell NE2000 Network Card on Linux? (Ulrich Kunitz)
  Re: How much hardware for Modula-3 on Linux? (Michel Dagenais)
  Re: term and news/mail (Eric Mickelson)
  Re: 1.1.42 -> 1.1.43: WD80x3 driver broke (Aldy Hernandez)
  Qlogic (Tillman Bussey)
  Disassembler for Linux? (ADAM P JENKINS)
  Re: IFS (Inherited File System) (Werner Almesberger)
  Re: GP faults (Rob Janssen)
  Re: Qlogic (Michael Griffith)
  Re: Linux Token Ring alpha release (Jason Zarin)
  Problem with wxwin on sunsite (manuel Toledo-Quinones)
  Kernel command line changes (John Saunders)
  Re: SLIP, CSLIP, PPP and modems (John Saunders)
  Re: Realtime sound progr. (John Saunders)
  Re: Multiple systems on multiple drives and LILO? (John Saunders)
  Re: console driver does not reset char table with "stty sane" (John Saunders)
  Re: Need pattern matcher (John Saunders)
  Re: Format of /proc/stat ? (John Saunders)
  Re: Where should i386/string.h be?  And floppy code report. (John Saunders)
  Re: memory segmentation problem (John Saunders)

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

From: kunitz@informatik.hu-berlin.de (Ulrich Kunitz)
Subject: Re: Novell NE2000 Network Card on Linux?
Date: 13 Aug 1994 19:32:13 GMT

"B. Tucker" <btucker@medsup.com> writes:

>Newsgroups: comp.os.linux.development
>Path: btucker
>From: btucker@medsup.com (B. Tucker)
>Subject: Novell NE2000 Network Card on Linux?
>Organization: Medical Support Services
>Date: Fri, 12 Aug 1994 18:14:31 GMT
>Message-ID: <1994Aug12.181431.11578@medsup.com>

>Does the Slackware version of Linux have support for the Novell NE2000
>Ethernet card?  If not, are there plans for this card being used by Linux?

>Please reply via e-mail to:
>btucker@medsup.com

>Thanks for any info!

Linux supports NE2000 compatible Network Cards. But attention, there are
cheap ethernet cards sold, claiming to be NE2000 compatible or software
compatible but aren't it. Personally I made such experience with CNET
brand cards. More information about can be found in the Ethernet-HOWTO.

Ciao, Uli
-- 
I know tha >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> t in my
heart I f >>>> Ulrich Kunitz >>>> kunitz@informatik.hu-berlin.de >>>> eel like
going ho >>>>               >>>> Voice: (030) 513 11 52         >>>> me again 
But I k <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< now ...  

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

Crossposted-To: comp.lang.modula3,austin.forsale
From: dagenais@notung.vlsi.polymtl.ca (Michel Dagenais)
Subject: Re: How much hardware for Modula-3 on Linux?
Date: Sat, 13 Aug 1994 19:51:25 GMT

If you want EVERYTHING on disk, the DEC SRC Modula-3 source code
(with m3gdb, m3cc...) uncompressed is around 120MB while the full
LINUX binary distribution is between 20 and 50MB (with debugging info
shared and static libs...).

While 8MB of RAM runs fine for most programs, i expect a big boost from
the additional memory i just ordered (to get to 16MB). Indeed, when
compiling several modules, the two compiler passes (m3cc and m3cg)
should remain in the buffer cache; loading these two large programs
from disk seems to dominate the elapsed time. Furthermore, some very
large programs such as mentor are trashing with only 8MB.
--

Prof. Michel Dagenais                       dagenais@vlsi.polymtl.ca
Dept of Electrical and Computer Eng.
Ecole Polytechnique de Montreal             tel: (514) 340-4029

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

From: emm1@gate.net (Eric Mickelson)
Subject: Re: term and news/mail
Date: 13 Aug 1994 20:13:21 GMT

Larry Smolyansky (lsmolyan@netcom.com) wrote:
: I need to get some help from anyone who has been had any experience with 
: term and Linux.

: 1.  How can I use pine locally to read mail
: 2.  How can I use tin locally to read my news groups

: So far I have ftp, gopher, etc. working but I can't seem to nail those 
: two.  If you have any suggestions, please let me know.

Did you read the Term-HOWTO?  It describes how to do exactly what you want.
sunsite.unc.edu:/pub/Linux/docs/HOWTO/Term-HOWTO
--
 Eric Mickelson                 e-mail: emm1@gate.net
 Southern DataNet, Inc.         C.I.S : 75060,372
 Orlando, FL                    Voice : (407) 366-4420

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

From: aldy@sauron.cc.andrews.edu (Aldy Hernandez)
Subject: Re: 1.1.42 -> 1.1.43: WD80x3 driver broke
Date: 12 Aug 1994 23:31:28 GMT
Reply-To: aldy@andrews.edu

In article <CuFF6I.t3@bridgewater.edu>,
Charlie Cook <charlie@bridgewater.edu> wrote:
>and when ntpdate and xntpd fire off I have no problems.  When I went to 1.1.43
>I saw the following errors reported from the kernel:   
>
>       eth0: card not present
>       eth0: card not present

I don't know what the deal was, but the same thing happened with me.
Very many naughty words came to mind as I saw my linux box go off the net,
(since I didn't have a backup of 1.1.42) something it hadn't done in
about 2 months.

When I checked ftp.funet.fi, I noticed 1.1.44 was out, and the 10k patch
had a small one line patch for a file called "eth.c"??!? Whatever it was,
it sure fixed everything, and now I have 1.1.44 as a side effect.

Aldy

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

From: tab@crl.com (Tillman Bussey)
Subject: Qlogic
Date: 12 Aug 1994 16:41:04 -0700

I have a Qlogic VLbus SCSI controller.  Is there development being done for 
this card to work with Linux?

Thanks!

-- 
_/ Tillman Bussey             |The path I take may not yield the TRUTH| 
_/    Phone: (415) 491-5232   |I'd like to hear.                      | 
_/    Fax  : (415) 491-6192   |---------------------------------------| 
_/                            | LIKE, NET ME BABY! - tab@crl.com      |

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

From: apj@twain.ucs.umass.edu (ADAM P JENKINS)
Subject: Disassembler for Linux?
Date: 13 Aug 1994 20:50:26 GMT

  Hi, does anyone know of a disassembler for Linux?  I just want
something like 'dis' on unix, that will read an object file and give
me the assembler code.  Thank you.

--Adam
apj@twain.ucs.umass.edu


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

From: almesber@nessie.cs.id.ethz.ch (Werner Almesberger)
Subject: Re: IFS (Inherited File System)
Date: 13 Aug 1994 21:22:16 GMT

In article <32a8fa$2v9@smurf.noris.de> urlichs@smurf.noris.de (Matthias Urlichs) writes:
>
>In comp.os.linux.development, article <328pd8$af2@elna.ethz.ch>,
> And because it's not a stateless protocol. (When you're overlaying multiple
> file systems, statelessness can _really_ cause consistency problems, over
> and above the ones which normal NFS already has.

That depends ... I expect two types of problems: handle management and
accesses that bypass IFS.

The problem with handles is that there's not enough space in a file or
directory handle to represent the whole path of that object. (Kernel-
supported nfsds use inode numbers, but that's not an option for a
user-mode process.) The nfsd used under Linux solves this by using hash
keys into an LRU cache as handles. Additionally, it has a heuristic to
reconstruct path names of objects that have been flushed. Because IFS
has to keep a lot of state information anyway, this approach appears to
be adequate for it too.

Accesses bypassing IFS are a big problem. Generally, the rule is that
they may yield unpredictable behaviour. I would assume that a strategy
that resynchronizes on (detected) mismatch would avoid most confusions.
However, this does not depend on the communication mechanism.

> Note that people might really want truly atomic link()

Why should link(2) not be atomic ?

> or append_write() operations. NFS can't do that.)

True, but that's what file locking is for. (Okay, this isn't supported
yet.)

> And because implementation is likely to be a lot easier. And because userfs
> can queue more than one outstanding request to a mounted file system, which
> helps performance.

But that's a restriction of the implementation, not of NFS itself.

Anyway, when I'm done with IFS on NFS, it should be fairly straightforward to
experiment with it on top of userfs too. So one could experiment with that
one later ...

> When given a choice between compatibility and the features likely to be
> offered by a userfs-based implementation, I'm leaning heavily to the latter
> side.

I still doubt that IFS necessarily becomes significantly more complex by
using NFS instead of userfs. The biggest problem is efficient caching of
lots of things and I don't expect a few bits of protocol handling to
really complicate matters.

> Let those other guys implement something like userfs.

Hmm, I'd always prefer as many of the goodies I have on Linux also to be
available if I'm forced to waste my time on some proprietary systems ...

- Werner
-- 
   _________________________________________________________________________
  / Werner Almesberger, ETH Zuerich, CH      almesber@nessie.cs.id.ethz.ch /
 /_______________________________________________almesber@bernina.ethz.ch_/

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

From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: GP faults
Reply-To: pe1chl@rabo.nl
Date: Sat, 13 Aug 1994 19:53:29 GMT

In <32ghft$85@magix.uucp> nicolas@magix.uucp (Nicolas BOUGUES) writes:

>By the way, I am a little bit surprised to see that Linux uses 3.4 Mb of
>system data, on my 20 Mb machine.

>My kernel is standard, except I do not avec mathco emu, neither minix fs nor
>xiafs. I use SLIP, PPP, NE2000, SBPCD, verbose SCSI errors, and an SB16
>with all sound driver options enabled.

How did you get that memory usage information?

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

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

From: grif@corsa.ucr.edu (Michael Griffith)
Subject: Re: Qlogic
Date: 13 Aug 1994 00:14:28 GMT

In article <32h1ag$gb@crl3.crl.com>, Tillman Bussey <tab@crl.com> wrote:
>I have a Qlogic VLbus SCSI controller.  Is there development being done for 
>this card to work with Linux?
>
>Thanks!

The driver is under development and you have been added to the 
qlogic mailing list.
-- 
Michael A. Griffith (grif@cs.ucr.edu)
Department of Computer Science
University of California, Riverside


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

From: jzarin@nyx10.cs.du.edu (Jason Zarin)
Subject: Re: Linux Token Ring alpha release
Date: 12 Aug 1994 18:44:21 -0600


I couldn't get this to compile.  Someone else posted a message on
sunsite that this kernel (1.1.44-TR) was "broken."  Is this true, or
has someone else gotten it to work?

FYI, I'm using the slackware 2.0 dist with kernel 1.0.9 and the
version of gcc that this dist comes with (sorry, I don't know the
version off-hand).

Thanks!

-- 
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::      Jason Zarin     :: zarin@econ.sscnet.ucla.edu                      ::
:: Grad Student at UCLA :: "To an economist, real life is a special case." ::
::::::::::::::::finger jzarin@nyx.cs.du.edu for PGP public key:::::::::::::::

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

From: manuel@engc.bu.edu (manuel Toledo-Quinones)
Subject: Problem with wxwin on sunsite
Date: 12 Aug 1994 00:05:44 GMT

[ Article crossposted from comp.os.linux.help ]
[ Author was manuel Toledo-Quinones ]
[ Posted on 9 Aug 1994 02:14:59 GMT ]

Hi All!
I am trying to use some binaries for wxwin that I downloaded from sunsite some
time ago. Apparently the library was compiled with xview 3.2. I have version
3.3, and none of the examples work. They complain about not finding 
libxv3.so.2. Recompiling the examples didn't work either.

Do I have to recompile the whole library, or is there any way of using
it with the newer version of xview?

Thanks in advance,
Manuel


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

From: john@odin.apana.org.au (John Saunders)
Subject: Kernel command line changes
Date: Fri, 12 Aug 1994 12:13:14 GMT

Hi all,

I have been playing around with the Linux command line, passing commands
via LILO to the kernel. I have come up with a few funnies and a patch to
fix, but I would like some feedback before I bother Linus with a patch.

The changes/fixes include (referenced to 1.1.27):

1)      The command 'ramdisk=NNN' was missing which seemed very strange
        to me as LILO has been using this for ages. I've added it back.

        Does anybody know if it was ever in the kernel, and if it was
        then why was it removed?

2)      The kernel has a habit of passing commands to the init process.
        I have changed this so that only unrecognised commands get passed
        to init. This stops init generating error messages from commands
        that are sent to the kernel and not meant for init. I now use the
        read-only option in LILO so I never need to rdev -R the kernel
        and I don't get annoying error messages from init.

        Can anybody see a problem with this?

Thanks to all!
-- 
                              _____..---======~~~~~=======---.._____
 ______________________ __,-='=====____  ================ _____=====`=
(._____________________I__) - _-=_/    `--------=+=-------'
    /      /__...---===='---+---_' Captain John Saunders
   '------'---.___ -  _ =   _.-'   johns@rd.scitec.com.au  <- work
                  `--------'       john@odin.apana.org.au  <- play

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

From: john@odin.apana.org.au (John Saunders)
Subject: Re: SLIP, CSLIP, PPP and modems
Date: Fri, 12 Aug 1994 14:32:01 GMT

Starcon SysAdmin (yuriev@astro.ocis.temple.edu) wrote:
> Bart Kindt (bart@dunedin.es.co.nz) wrote:
> : Starcon SysAdmin (yuriev@astro.ocis.temple.edu) wrote:
> : >        Okay. Here is my point. I have tested kernels 1.1.33, 1.0.9 with
> : >Zoom 14400, DataSystems 1440, Bocas, etc in SLIP mode. It appears that
> : >when two hosts connected via SLIP, CSLIP, PPP, and ftp from each other
> : >total output of connection  is still about 1.7K/second. But all these
> : >modems can use bi-directional mode! All of these modems give approximately
> : >3.4K/sec under BiModem, HSLink, Hydra, Jaguar/SpeedLink protocol. 

> : Huh?  I thought the lower throughput was caused by the IP header / tail 
> : overhead. Modems are normally always "bi-directional", e.g full duplex. 
> : SLIP does not change any settings on the modem at all.

> In this case can you please explain results of the following file transfers:

> Linux <--> Linux using Hydra on 1.7Mb & 1.4Mb ZIP files: total time 17 min
> 34 sec 

> Linux <--> Linux via SLIP (ftp transfer). Total time: 28 min 48 sec. 

Lets see....you got 17m34s....now if SLIP is uni-directional as you say
then it should take twice as long...<calculate>...35m8s. Lets check that
against 28m48s....no match! So maybe SLIP is uni-directional plus a bit.
Besides xfering a file from 1 machine to another is a very uni-directional
use for the serial link.

Sorry for the above sarcasm but I couldn't help mayself....yes I am seeking
professional help ;-) but are the professionals seeking my help :-(

Seriously though, a protocol like ZMODEM achieves ~95% efficiency which
SLIP will never approach. The IP header for starters is a significant
overhead. Add to that packets for other stuff not directly related to
the transfer can slow down the transfer. You pay the price of serial
performance for the usability and features of IP over SLIP. You can't
download 2 files + receive email at the same time with ZMODEM.
-- 
                              _____..---======~~~~~=======---.._____
 ______________________ __,-='=====____  ================ _____=====`=
(._____________________I__) - _-=_/    `--------=+=-------'
    /      /__...---===='---+---_' Captain John Saunders
   '------'---.___ -  _ =   _.-'   johns@rd.scitec.com.au  <- work
                  `--------'       john@odin.apana.org.au  <- play

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

From: john@odin.apana.org.au (John Saunders)
Subject: Re: Realtime sound progr.
Date: Fri, 12 Aug 1994 14:41:13 GMT

Brad Pitzel (pitzel@cs.sfu.ca) wrote:
>                  Also, linux Doom is much much closer to being released
                         ^^^^^^^^^^
> thanks to the new sound drivers. thanks Hannu :-) !

And just when I was getting cynical, there IS a God!
-- 
                              _____..---======~~~~~=======---.._____
 ______________________ __,-='=====____  ================ _____=====`=
(._____________________I__) - _-=_/    `--------=+=-------'
    /      /__...---===='---+---_' Captain John Saunders
   '------'---.___ -  _ =   _.-'   johns@rd.scitec.com.au  <- work
                  `--------'       john@odin.apana.org.au  <- play

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

Crossposted-To: comp.os.linux.help
From: john@odin.apana.org.au (John Saunders)
Subject: Re: Multiple systems on multiple drives and LILO?
Date: Fri, 12 Aug 1994 14:50:03 GMT

Yves Arrouye (arrouye@petole.imag.fr) wrote:
>       I tied to put an entry in lilo.conf for NEXTSTEP with /dev/hdb1 and
> table=/dev/hdb, but when running /etc/lilo/install the program says it is not
> able to get the magic for the second drive.

Have you tried the 'unsafe' option for LILO? Failing that you might try
waving a magic wand, that's sure to give LILO all the magic it needs.
-- 
                              _____..---======~~~~~=======---.._____
 ______________________ __,-='=====____  ================ _____=====`=
(._____________________I__) - _-=_/    `--------=+=-------'
    /      /__...---===='---+---_' Captain John Saunders
   '------'---.___ -  _ =   _.-'   johns@rd.scitec.com.au  <- work
                  `--------'       john@odin.apana.org.au  <- play

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

From: john@odin.apana.org.au (John Saunders)
Subject: Re: console driver does not reset char table with "stty sane"
Date: Fri, 12 Aug 1994 15:16:28 GMT

David Monro (davidm@syd.dms.CSIRO.AU) wrote:
> There used to be a program called setterm which I think would do this with
> setterm -reset, but this was way back in 0.97 kernel versions (mid 1992?),
> so I don't know if it still exists. Oh, it still seems to be in utils-1.9,
> so I guess it still works then. Try it and see!

Also 'tput' can be used to send strings from termcap/terminfo to a terminal.
Try 'tput in' or 'tput rs1' or 'tput rs2' or 'tput rs3' or 'tput rs4' or
finally 'tput clear'. The effect of these is dependent on the entry in the
termcap/terminfo having the control code to fix the terminal. If it doesn't
have the right control code you can always "fix" it.
-- 
                              _____..---======~~~~~=======---.._____
 ______________________ __,-='=====____  ================ _____=====`=
(._____________________I__) - _-=_/    `--------=+=-------'
    /      /__...---===='---+---_' Captain John Saunders
   '------'---.___ -  _ =   _.-'   johns@rd.scitec.com.au  <- work
                  `--------'       john@odin.apana.org.au  <- play

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

From: john@odin.apana.org.au (John Saunders)
Subject: Re: Need pattern matcher
Date: Fri, 12 Aug 1994 15:32:25 GMT

olav woelfelschneider (wosch@rbg.informatik.th-darmstadt.de) wrote:

> What I'm searching for is a c-function which matches a filename against
> a pattern and returns true or false, like:
>  int match_file(char *file_name, char *pattern);
> which could be used in a form like:
>  if (match_file(file_name, "*.voc")) { ...some code... }

Take a look at /usr/include/regex.h and/or /usr/include/regexp.h.
-- 
                              _____..---======~~~~~=======---.._____
 ______________________ __,-='=====____  ================ _____=====`=
(._____________________I__) - _-=_/    `--------=+=-------'
    /      /__...---===='---+---_' Captain John Saunders
   '------'---.___ -  _ =   _.-'   johns@rd.scitec.com.au  <- work
                  `--------'       john@odin.apana.org.au  <- play

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

From: john@odin.apana.org.au (John Saunders)
Subject: Re: Format of /proc/stat ?
Date: Fri, 12 Aug 1994 15:51:08 GMT

Garry Adkins (adkinsg@pcn.proline.com) wrote:

> Otherwise it will nice you (default is +7 but I'm I'd like to hear suggestions)
> and send you email telling you the process number and the niceness.

> If it notices the process again, (say a user process has used 60 secs of
> cpu..  It gets niced and notified.  After a while, hunter notices it's
> used an additional 180 secs of cpu...) then it gets suspended.  

Remind me never to get a login account on your system ;^) Also wouldn't
sending an email message cause a strain on an already bogged down system.
Lucky my Uni never had this, the PI program I had running for 3 days
would have surely got the boot. Anybody wan't to know PI to 1000000
decimal places?
-- 
                              _____..---======~~~~~=======---.._____
 ______________________ __,-='=====____  ================ _____=====`=
(._____________________I__) - _-=_/    `--------=+=-------'
    /      /__...---===='---+---_' Captain John Saunders
   '------'---.___ -  _ =   _.-'   johns@rd.scitec.com.au  <- work
                  `--------'       john@odin.apana.org.au  <- play

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

From: john@odin.apana.org.au (John Saunders)
Subject: Re: Where should i386/string.h be?  And floppy code report.
Date: Fri, 12 Aug 1994 16:13:12 GMT

FEARNLCJ@DUVM.OCS.DREXEL.EDU wrote:

> I decided to test the new floppy code.  It feels much faster.  I can            
> move files from a mounted DOS partition to the / partition (which I             
> think failed previously - had to cp then rm before).  But reading a             
> tar gzipped archive from floppy failed:                                         
> (1)~# mount -t msdos /dev/fd0 ~/a:                                              
> (1)~# tar ztvf ~/a:/xmitbin.tgz                                                 
> /root/a: unknown host                                                           
  ^^^^^^^^^^^^^^^^^^^^^
> tar (child): can't open archive /root/a:/xmitbin.tgz : I/O error                
> gzip: stdin: unexpected end of file                                             
> tar: child returned status 1                                                    

I think your using the tar feature of writing over the network
to a tape drive without realising it. Kill the ':' from the
directory name, your confusing tar.
-- 
                              _____..---======~~~~~=======---.._____
 ______________________ __,-='=====____  ================ _____=====`=
(._____________________I__) - _-=_/    `--------=+=-------'
    /      /__...---===='---+---_' Captain John Saunders
   '------'---.___ -  _ =   _.-'   johns@rd.scitec.com.au  <- work
                  `--------'       john@odin.apana.org.au  <- play

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

From: john@odin.apana.org.au (John Saunders)
Subject: Re: memory segmentation problem
Date: Fri, 12 Aug 1994 16:16:54 GMT

Rob Janssen (rob@pe1chl.ampr.org) wrote:
> In <325g9p$dqs@search01.news.aol.com> ehippo@aol.com (EHippo) writes:
> >    matrix[i] = (double *)getmem(n*sizeof(double *));
>                                            ^^^^^^^^
>                                            you don't want to store pointers
>                                            to doubles, you want to store
>                                            doubles!!  use sizeof(double)

> It just shows that Linux is much better for finding bugs in your program
> than that other system is :-)

Yeah, that and that other system doesn't support proper sized doubles.
No girl's blouse 32 bit doubles for Linux. ;-)
-- 
                              _____..---======~~~~~=======---.._____
 ______________________ __,-='=====____  ================ _____=====`=
(._____________________I__) - _-=_/    `--------=+=-------'
    /      /__...---===='---+---_' Captain John Saunders
   '------'---.___ -  _ =   _.-'   johns@rd.scitec.com.au  <- work
                  `--------'       john@odin.apana.org.au  <- play

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


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