Subject: Linux-Development Digest #406
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:     Mon, 24 Jan 94 22:13:35 EST

Linux-Development Digest #406, Volume #1         Mon, 24 Jan 94 22:13:35 EST

Contents:
  Re: pl14s runs my hard drive a lot (Kevin Lentin)
  Re: Broadcast Bug? (Terry Dawson)
  Problem with hasmntopt()  (Ken Yat-Wan Chan)
  Re: Broadcast Bug? (Stefan Grzybek)
  Matsushita 2x CD-ROM driver available? (Leif Sawyer)
  DPT SCSI Cards (Question) (Ian Daniel)
  Re: Help on interpreting GNU license and restriction (Kai Petzke)
  Dip 3.3.7 and routing (PostMaster@barclays.co.uk)
  Re: nfs performance (John R. Ackermann)
  Any Bugs/Problems with Slackware 1.1.1 CD? (Jean-Paul Chia)
  X - Minimium Hardware (Jean-Paul Chia)
  Re: Help on interpreting GNU license and restriction (Sven Heinicke)
  WINAPI for Slackware? (Gregory Larkin)

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

From: kevinl@bruce.cs.monash.edu.au (Kevin Lentin)
Subject: Re: pl14s runs my hard drive a lot
Date: 24 Jan 1994 06:26:03 GMT

On Sun, 23 Jan 1994 23:12:32 GMT, Rob Janssen wrote:
> In <jcgreen.759357050@boris.tele.iastate.edu> jcgreen@iastate.edu (Jon Green) writes:

> >I've recently installed pl14s, and noticed that my hard drive seems to
> >come on every two minutes or so and run for about 10 seconds or more. I 
> >assume it is syncing, but it never ran the drive that long before.  Is 
> >this something new?

> Don't notice that here...  Of course it is accessed sometimes, but not
> for 10 seconds...

Check /var/adm/* 

We had a machine here with major ntalkd problems and it was running syslog
constantly. You might have something like that happening. Check the cron
jobs as well, but the files in /var/adm might tell you what is happening.

-- 
[==================================================================]
[ Kevin Lentin                   |___/~\__/~\___/~~~~\__/~\__/~\_| ]
[ kevinl@bruce.cs.monash.edu.au  |___/~\/~\_____/~\______/~\/~\__| ]
[ Macintrash: 'Just say NO!'     |___/~\__/~\___/~~~~\____/~~\___| ]
[==================================================================]

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

Crossposted-To: comp.os.linux.help
From: terryd@extro.ucc.su.OZ.AU (Terry Dawson)
Subject: Re: Broadcast Bug?
Date: Sat, 22 Jan 1994 06:52:35 GMT

hackbard@egr.msu.edu (Derek Hackbardt) writes:

>I am not sure if this is a kernel bug or not..
Nope.

>It seems that when my default route is set to our gateway, broadcast 
>packets carry the wrong netmask.  This problem occurs when using yp
>under Slackware 1.1.1 and 0.99.14s kernel.  Although when I set the
>default route to the nisserver everything appears to work properly..

>The netmask should be: 255.255.255.0
>Broadcast: 150.220.40.255

>The outgoing broadcast packets go to 150.220.255.255.

So add 'broadcast 150.220.255.255' to the ifconfig line in your
/etc/rc.net or your /etc/rc.inet1, or your /etc/rc.d/rc.inet1
file as your case may be.

Terry

-- 
--- Terry Dawson, terryd@extro.ucc.su.oz.au

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

From: kchan@ee.ualberta.ca (Ken Yat-Wan Chan)
Subject: Problem with hasmntopt() 
Date: Mon, 24 Jan 1994 06:53:28 GMT

HI guys, I have just installed the quota package a few days ago.
I am running SLS p14. When I put this in my /etc/fstab:

/dev/hdb5 / ext2 defaults,usrquota=/var/adm/quota.user,grpquota=/var/adm/quota.grp

The problem is that when I run quotachek -avug, it says that it fails
to open a file called /var/adm/quota.user,grpquota=/var/adm/quota.grp

So I changed the makefile and recompiled quotacheck with  "-g" option.
Then I trace quotacheck with gdb and guess what, I saw the funtion
hasmntopt() returned usrquota=/var/adm/quota.user,grpquota=/var/adm/quota.grp
as the option field for USRQUOTA.

I think this is wrong and it might explain the fact that I could not
turn on user and group quota simultaneously.

I think the hasmntopt fails to parse the option field correctly.

If you have any suggestion, please give me a shout as I am
desperately trying to get quota to work perfectly.

Ken Chan
kchan@nyquist.ee.ualberta.ca
University of Alberta
Undergrad of Department of Computer Engineering

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

From: grzybek@sun1.ruf.uni-freiburg.de (Stefan Grzybek)
Crossposted-To: comp.os.linux.help
Subject: Re: Broadcast Bug?
Date: 24 Jan 1994 07:32:07 GMT

kubla@goofy.zdv.Uni-Mainz.DE (Dominik Kubla) writes:

>In article <2hphpm$uk2@msuinfo.cl.msu.edu>, hackbard@egr.msu.edu (Derek Hackbardt) writes:
>"> "I am not sure if this is a kernel bug or not..
>"> "
>"> "It seems that when my default route is set to our gateway, broadcast 
>"> "packets carry the wrong netmask.  This problem occurs when using yp
>"> "under Slackware 1.1.1 and 0.99.14s kernel.  Although when I set the
>"> "default route to the nisserver everything appears to work properly..
>"> "
>"> "The netmask should be: 255.255.255.0
>"> "Broadcast: 150.220.40.255
>"> "
>"> "The outgoing broadcast packets go to 150.220.255.255.
>"> "
>"> "Any ideas?  I can provide more details to who ever would like..
>"> "
>"> "Thanks..
>"> "
>"> "-derek A. hackbardt
>"> "hackbard@mced.kodak.com
>"> "
>"> "

>Yes, its a bug, but in libc/yp. As i examined the code i got the impression,
>that there is an implication of 8bit subnet masks :(
>There was a new version of the yp-linux package announce with fixes in the
>libc part but you will need to recompile libc. I haven't checked this out.
>Anyway the fixes should be in the next libc release.
> 
>-- 
>Cheers,
>  Dominik

The broadcast bug is neiher a proplem of the kernel, nor a problem of
libc/yp. It's an incorrect implementation in the libc,
libc-linux/rpc/pmap_rmt.c !
You get always a broadcast address which reflects your internet address
being a class A,B or C net judged from the first byte of your internet
address.
A fix should be to use the broadcast address of the ethernet card as
set via ifconfig - H.J. - are you reading this ?

Stefan
--
| Stefan Grzybek        email: grzybek@sun1.ruf.uni-freiburg.de |
| Universitaet Freiburg, Institut f"ur Biophysik, Albertstr. 23 |
| D-79104 Freiburg, Germany                                     |

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

From: axlas@acad2.alaska.edu (Leif Sawyer)
Subject: Matsushita 2x CD-ROM driver available?
Date: Mon, 24 Jan 1994 05:03:23 GMT

Hello,

  I just recently came into ownership of a new CD-ROM drive.
It attaches to my Sound Blaster PRO, and runs under dos just fine.
The driver reports it to be a Matsushita CR-562-B, which is a 
doublespeed CD-ROM drive.

Is there a driver that will work with this? I tried the mitsumi, but
it (of course) wouldn't work.  I have the driver file, and could
probably figure out some more information, if I knew what to look for.
I haven't done much device driver programming, but I have a book on it
(for dos), that should help a bit on disassembling the driver.

Anybody?

=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
| Leif Sawyer -= AXLAS@acad2.alaska.edu    | UAA CaTS Student NetWorker     |
| Try these also -= ASLAS@acad3.alaska.edu | BITNET -= AXLAS@alaska.BITNET  |
| USnail -= 325 Irwin #11, 99508-1273      |   #define FLAME /dev/null      |
| "Views expressed by moi are not necessarily those Defined by my employer" |
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=


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

From: daniel@cassidy.EuroPARC.Xerox.COM (Ian Daniel)
Subject: DPT SCSI Cards (Question)
Date: 24 Jan 1994 12:31:49 GMT

Hi all,

I'd kind of like to know exactly where a driver for this card currently is (like
does it work). I need to buy a SCSI controller and the DPT Card is a little bit
less than an Adaptec and is apparently faster.... (someone told me this).

If there is a driver available that kind of works, that may be a good enough
reason to buy this card... If not, I guess I'll buy an Adaptec 1542x. Anyone got
anything to say about either card?

Thanks,

--Ian

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

From: wpp@marie (Kai Petzke)
Crossposted-To: gnu.g++,gnu.g++.help,gnu.gcc,gnu.misc.discuss,comp.os.linux,comp.os.linux.help,comp.os.linux.misc
Subject: Re: Help on interpreting GNU license and restriction
Date: 24 Jan 1994 12:59:55 GMT

mng@eos.ncsu.edu (MUI-KIM NG) writes:

>   Here is my problem: I need money for school. So, I am planning to sell 
>my applications to a potential customer.  These applications would use gnu
>database and would be compiled gnu g++ and gnu gcc.  Is it still legal to
>sell my applications?

a) It is legal to sell your applications.  You may take as much
   money as you want.

b) Simply using a GNU tool to develop your application does not
   affect your copyright to your applications.  This includes
   using g++ and gcc.

c) However, your copyright is affected, if you include code from
   other GNU applications into yours.  In this case, you have
   to put the resulting ("derived") work under the GNU copyleft.
   That means, that you have to release source code upon request,
   and that your customer(s) may distribute (and/or sell!) copies
   of your source code and/or binary.

d) 99% of all C programs written are linked against the C
   library.  Linking means, that you include GNU code into
   your program.  However, the C library is released under
   special terms (GNU Library Public License, GLPL), which
   allows linking as an exception to what I said in c).

   You can link with the C library at will, but you have to
   provide your program in a form, that the user can update
   the library.  In case of shared linking, this is not a
   problem, but if you want (or must) link with static
   libraries, you must provide your program in a form, which
   has not yet been linked with the static library (say, link
   all your .o-files into one big .o using "ld".  Take a look
   at the kernel sources to see how it works).

e) I don't know about the GNU database.  If it is distributed
   under GNU Public License, GPL, you may link with it, but
   your resulting application is then freeware, too.  If it
   is distributed under GLPL (see d), you can link without
   affecting your copyright.

f) What I said at point a) is always true: you may sell your
   application, whether or not it has to be distributed under
   the GNU copyleft, for as much money as you want.

g) You may try other databases, like Ingres or Postgres.  The
   first is public domain anyway, and the restrictions upon
   the second are much lower.

>   If it is not legal, then why can people sell Motif toolkit, 
>which is compiled with GNU gcc?

It is legal to sell applications compiled with gcc.
-- 
Kai Petzke <wpp@marie.physik.tu-berlin.de>
Advertisement by Microsoft in a well-known German magazine:
        If you don't like our programmes, then make your own ones.
However, they expect you to use Microsoft products for this -:)

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

From: PostMaster@barclays.co.uk
Subject: Dip 3.3.7 and routing
Date: Mon, 24 Jan 1994 12:53:11 GMT

A question for the routing experts here. 

Having recently upgraded from an old (3.2?) version of dip to 3.3.7 I find I
have to perform a `route add <gateway addr>` before the `route add default gw 
<gateway addr>` which seems to make sense - you can't add a reference to your
gateway system before you have a route to it.

I have checked the dip code (attach.c) and added the above initial step and 
all appears to work when using the dip default command. Can anyone tell me if
what I have done is correct - should dip be performing a route add 
<gateway addr> before attempting to set up the default gateway ??

Thanks in advance.

Mike

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

From: jra@lawdept.daytonoh.ncr.com (John R. Ackermann)
Subject: Re: nfs performance
Date: Fri, 21 Jan 1994 20:07:26 GMT

In article <1994Jan21.172349.12742@swan.pyr> iiitac@swan.pyr (Alan Cox) writes:
>From: iiitac@swan.pyr (Alan Cox)
>Subject: Re: nfs performance
>Date: Fri, 21 Jan 1994 17:23:49 GMT


>Sounds like we need an NFS FAQ

>Lets try a first draft - maybe this can be hacked onto a net howto or something

Here's another one (maybe not an FAQ, but <I'm> sure asking it:

Q10.  What's with PCNFSD in Linux?  Is there a version 2 server available, 
'cuz that's what my software seems to want?

I'm trying to get a ChameleonNFS client to work with Linux, and although the 
file sharing works fairly well, I can't get it to talk to the printer.  In 
theory, everything's set up properly, but when I try to mount lpt1 to the 
printer, I either a) get an appearance of printing, but no spool file created 
at the Linux end, or b) an error that "PCNFSD Version 1 is not supported".

Any ideas?

John
jra@lawdept.daytonOH.ncr.com



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

From: jean-paul@garion.it.com.au (Jean-Paul Chia)
Subject: Any Bugs/Problems with Slackware 1.1.1 CD?
Date: 24 Jan 1994 21:25:27 +0800

Hi.. I
I'm thinking of buying the Slackware 1.1.1 CD.. but first I'd like to find
out if anyone has expirenced any problams bugs or errors with the CD.. be it
Hardware conflict, Software configering or configuration, etc.. I might
compile a list of bugs/errors.. If you have had any ANY problems with it..
then send them to: jean-paul@garion.it.com.au
Thanks...
JP

--
     _  Jean-Paul Chia  ___           _
 _  | |___ __ _ _ _ ___| _ \__ _ _  _| |
| |_| / -_) _` | ' \___|  _/ _` | || | |
 \___/\___\__,_|_||_|  |_| \__,_|\_,_|_| ___ _    _
12 Guinevere Way,        +61-9-447-6261 / __| |_ (_)__ _
Carine, WA 6020     jpchia@DIALix.oz.au| (__| ' \| / _` |
Australia    jean-paul@garion.it.com.au \___|_||_|_\__,_|

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

From: jean-paul@garion.it.com.au (Jean-Paul Chia)
Subject: X - Minimium Hardware
Date: 24 Jan 1994 21:35:39 +0800

Hi.. What are the Minimuim Hardwre Requirements for X? And the Best.. and
the good.. and the reccomended Hardwre Requirements for X windows?
Please Reply Via Email: jean-paul@garion.it.com.au
Thanks..
JP

--
     _  Jean-Paul Chia  ___           _
 _  | |___ __ _ _ _ ___| _ \__ _ _  _| |
| |_| / -_) _` | ' \___|  _/ _` | || | |
 \___/\___\__,_|_||_|  |_| \__,_|\_,_|_| ___ _    _
12 Guinevere Way,        +61-9-447-6261 / __| |_ (_)__ _
Carine, WA 6020     jpchia@DIALix.oz.au| (__| ' \| / _` |
Australia    jean-paul@garion.it.com.au \___|_||_|_\__,_|

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

Crossposted-To: gnu.g++,gnu.g++.help,gnu.gcc,gnu.misc.discuss,comp.os.linux,comp.os.linux.help,comp.os.linux.misc
From: sven@bradbury.nrl.navy.mil (Sven Heinicke)
Subject: Re: Help on interpreting GNU license and restriction
Date: Mon, 24 Jan 1994 14:42:35 GMT

In article <2i0gob$qtv@brachio.zrz.TU-Berlin.DE> wpp@marie (Kai Petzke) writes:

   mng@eos.ncsu.edu (MUI-KIM NG) writes:
   >   Here is my problem: I need money for school. So, I am planning to sell 
   >my applications to a potential customer.  These applications would use gnu
   >database and would be compiled gnu g++ and gnu gcc.  Is it still legal to
   >sell my applications?

descriptions of GPL and GLPL removed . . .

perhaps we need a file called COPYING.english and COPYING.leaglieze to
be put someplace.  :-)


                        Sven



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

From: greg@equipe.viewlogic.com (Gregory Larkin)
Subject: WINAPI for Slackware?
Date: Mon, 24 Jan 1994 16:58:59 GMT


Hi,

I was told about a package for Linux called WINAPI.
It allows MS Windows source code to be compiled under
Linux and the corresponding Windows function calls are
translated into Tk library calls.

This package was included in the SLS distribution, but
not in Slackware.  I run the Slackware distribution and
tried to compile the WINAPI package.  It appears that
the SLS distribution includes an older version of Tk/Tcl
than Slackware, because WINAPI failed to link with some
unknown symbols.

I wanted to know if anyone has ported WINAPI to Slackware
1.1.1 before I attempt to do it.  Also, I'm not too 
familiar with Tk/Tcl.  Does anyone know of a nice startup
document to get familiar with the libraries, something
more than the comp.lang.tcl FAQ?

Thanks,
-- 
Greg Larkin
Viewlogic Systems, Inc.  
Marlboro, Massachusetts, USA
greg@Viewlogic.COM

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


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