Subject: Linux-Development Digest #726
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:     Tue, 17 May 94 07:13:05 EDT

Linux-Development Digest #726, Volume #1         Tue, 17 May 94 07:13:05 EDT

Contents:
  Re: [Request]: Dump program! (Robert B. White - Senior Reliability Engineer)
  Re: Stargate Cards:/HOSTESS cards?? (Bryan Halvorson)
  PC WEEK: NOVEL's new OS??? - Linux - (Akihiko Nakashima)
  Re: Kerberized utilities needed (Uri Blumenthal)
  [HELP] OBST help needed part II (jean safar)
  Re: 1.0.9 kernel bug (+ partial fix): when using non-loopback address to send to localhost, "from" address should also be non-loopback. (Robert Sanders)
  tcpdump: how to make a socket only look at one ethernet card (Paul Tomblin)
  Re: [Request]: Dump program! (Gary Merinstein)
  Re: dld for linux? (Peter Dalgaard SFE)
  rpc.lockd for Sun? (Michael C. Loewen)
  setlocale() bug or feature? (Michael Haardt)
  Zeos Pantera OK ? (Shahid Ikram Butt)
  Hardware FAQ (was Re: Stargate Plus 8 card supported!) (Rob Janssen)
  Re: More Weird buffer erros (Rob Janssen)
  use Linux to CREATE iBCS binaries??? (Michael Dillon)
  Re: More Weird buffer erros (Johannes Stille)
  LAT support? (chris ulrich)

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

From: rbw@mendon.Eng.Sun.COM (Robert B. White - Senior Reliability Engineer)
Crossposted-To: comp.os.linux.help,comp.os.linux.misc,comp.os.linux.admin
Subject: Re: [Request]: Dump program!
Date: 16 May 1994 20:59:49 GMT
Reply-To: rbw@mendon.Eng.Sun.COM


Try the following which has worked well on several different computers.  (I have
a better organized one somewhere, but this is what's on the machine at work and it
still compiles and runs.)

Bob
===================================================================================
/* dumpc                Revised by Robert B. White             12 Nov 86
 *
 * core style dump of a file
 *
 *              usage: A>DUMP B:BLIP.O
 *
 * 19 Nov 89  Port to SUN 3/60
 * 12 Nov 86  Cleanup and port to Tandem
 */

#ifndef TANDEM
#include        <stdio.h>
#include        <fcntl.h>
#endif

#define MYBUFSIZ        4096


char *buffer ;
extern char *malloc ( ) ;


main ( argc, argv )

        int  argc ;
        char *argv[] ;

        {
         char *progname =
                      "dumpt.c 19 Nov 89.  Adapted by Robert B. White" ;
         int  i, numin, file, cfrom ;
         unsigned char chr ;
         long int tot ;

         if ( argc < 2 )
            {printf ( "Please try again with a filename.\n" ) ;
             exit ( 1 ) ;
            }

         tot = 0L ;
         if  ( ( file = open ( argv[1], O_RDONLY ) ) == -1 )
             {printf ( "Cannot Open <%s>.\n", argv[1] ) ;
              exit ( 1 ) ;
             }

        buffer = malloc ( MYBUFSIZ ) ;

/*      read and dump 4k at a time      */

         do
           {numin = read ( file, buffer, MYBUFSIZ ) ;
            if ( numin == -1 )
               {printf ( "Cannot Read <%s>.\n", argv[1] ) ;
                exit ( 1 ) ;
               }
            cfrom = 0 ;
            while ( cfrom < numin )
                  {/* print the offset in hex                         */
                   printf ( "%08lx ", (long)( cfrom + tot ) ) ;
                   /* print 16 bytes in hex                           */
                   for ( i = 0; i < 16; i++ )
                       {printf ( " %02x", (unsigned char)buffer[cfrom++]
                               ) ;
                       }
                   cfrom -= 16 ;
                   printf ( "  *" ) ;
                   /* print the bytes in ascii                        */
                   for ( i = 0; i < 16; i++ )
                       {chr = (unsigned char)buffer[cfrom] ;
                        if ( ( chr < ' ' ) || ( chr > 0x7f ) )
                           {chr = '.' ;
                           }
                        putchar ( chr ) ;
                        cfrom++ ;
                       }
                   printf ( "*\n" ) ;
                  }
            tot += numin ;
           }
         while ( numin == MYBUFSIZ ) ;
        }


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

From: bryan@edgar.mn.org (Bryan Halvorson)
Subject: Re: Stargate Cards:/HOSTESS cards??
Reply-To: bryan@edgar.mn.org
Date: Fri, 13 May 1994 16:27:45 GMT

In article <1994May13.032728.16244@edgar.mn.org>,
Bryan Halvorson <bryan@edgar.mn.org> wrote:
> In article <1994May10.183419.7722@micom.com>,
> Charlie Wyble (PROG) <cwyble@micom.com> wrote:
> > 
> > Does anyone out there have any information on an old card aparently made
> > by Control Systems   Called the HOSTESS 8.
> > 
> > It is an 8 channel serial card with 8 8250 uart chips.  It has 2
> > sets of 8 dip switches and I have no documentation on it at all.
> > 
> 
> SW1 (Farthest from the bracket) sets the I/O address. The switches
> are the binary equivalents of the address. On is 0 and off is 1.
> 

Something else I forgot.

Each port is 8 bytes above the lower one. For example, if you set the
base I/O address to 0100 the serial ports will be at 100, 108, 110, 118,
120, 128, 130, and 138 hex.

-- 
Bryan Halvorson                bryan@edgar.mn.org
N0BUU                          bryan@n0buu.ampr.org

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

From: aki@esu.edu (Akihiko Nakashima)
Subject: PC WEEK: NOVEL's new OS??? - Linux -
Date: 14 May 1994 06:13:46 GMT

I just read a news on PC WEEE about Novel's a new 32 bit
OS which based on Linux 1.0's kernal. And,  
PCWK said that Novel wants to relase it in July.

Does anybody know more about this??????

-Aki



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

From: uri@watson.ibm.com (Uri Blumenthal)
Crossposted-To: comp.os.linux.misc
Subject: Re: Kerberized utilities needed
Date: 12 May 1994 21:15:39 GMT
Reply-To: uri@watson.ibm.com

In article <2qtcke$mj5@xserver.oti.disa.mil>, gmcmanus@oti.disa.mil (Gene McManus) writes:
> Has anyone ported the following Kerberos and kerberized utilities to Linux?:
> 
>     ksu
>     rsh
>     rlogin
>     kpop

Well, yes...

Are you in USA?

Regards,
Uri.
============
<Disclaimer>

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

From: jsafar@lehman.com (jean safar)
Subject: [HELP] OBST help needed part II
Reply-To: jsafar@lehman.com
Date: Mon, 16 May 1994 15:31:00 GMT

I compiled OBST on my Linux box, configured and installed 
everything fine, except that it doesn't generate anything. 

Has anyone tried it successfully?

I would appreciate any hint.

---
=======================================================

John Safar                           jsafar@lehman.com
                  I've seen things that you people ...

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

From: gt8134b@prism.gatech.edu (Robert Sanders)
Subject: Re: 1.0.9 kernel bug (+ partial fix): when using non-loopback address to send to localhost, "from" address should also be non-loopback.
Date: 16 May 1994 15:38:16 -0400

goldt@math.tu-berlin.de (Sven Goldt) writes:

>: I didn't say upgrade to 1.1.8 - I said fixed as of 1.1.8. I know the difference
>: I maintain the networking code!

>Well,thanx for the hint.But some prefer to use the 1.0.x series to
>be on the safe way and it doesn't help to know that this is fixed
>in a development kernel.
>****************************************************************************

It seems everyone's as obsessed about this v1.0 vs v1.1 thing as they
were about the arrival date.  Look, Linus doesn't try to make v1.1
unstable.  There's no guarantee that it will be.  In fact, it never
has been for me.  I haven't used v1.0.x since v1.1 came out and not
a problem yet.

Now, the logic of avoiding v1.1 because it's "unstable" sort of breaks
down when you see that v1.0 is very stably broken.  If the fix is in
v1.1 only, then it's probably not gonna kill you to upgrade.  If you
have problems, simply fallback to v1.0.

People, you've been using "unstable, development kernels" since day
one.  The great loss of "stability" in the sense of only minor things
changing is that you only get minor bugs fixed.  There's no easy
solution, but obsession over the split development tree isn't
going to help.

By the way, what version do you think Linus runs on his machine?  If
it's v1.1, then I'd rather trust that one.  In fact, I'll bet that
most kernel developers run v1.1.  Now that v1.0 has been declared
"stable," it's also under much lighter scrutiny than v1.1.


-- 
 _g,  '96 --->>>>>>>>>>   gt8134b@prism.gatech.edu  <<<<<<<<<---  CompSci  ,g_
W@@@W__        |-\      ^        | disclaimer:  <---> "Bow before ZOD!" __W@@@W
W@@@@**~~~'  ro|-<ert s/_\ nders |   who am I???  ^  from Superman  '~~~**@@@@W
`*MV' hi,ocie! |-/ad! /   \ss!!  | ooga ooga!!    |    II (cool)!         `VW*'

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

From: pt@gandalf.ca (Paul Tomblin)
Crossposted-To: comp.os.linux.misc
Subject: tcpdump: how to make a socket only look at one ethernet card
Date: 16 May 1994 16:30:06 -0400

In the pcap-linux.c module in tcpdump, it opens a
socket(AF_INET,SOCK_PACKET,PROTO), then it does an ioctl (SIOCSIFFLAGS) to
set the appropriate device to promiscuous (although it does the test
backwards).  But that doesn't do anything about shutting up the other
device(s).  So consequently, tcpdump sees all the packets on the specified
device, but it also sees all packets aimed at the host running tcpdump on any
other ethernet devices present.  This is pretty confusing!

Does anybody have any suggestions on how to make socket() only hear packets
on one ethernet device?

-- 
Paul Tomblin, Head - Automation Design Group.
Gandalf Canada Limited
This is not an official statement of Gandalf, or of Vicki Robinson.
"Hello, this is Linus Torvalds, and I pronounce Linux as Linux"

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

From: gmerin@panix.com (Gary Merinstein)
Crossposted-To: comp.os.linux.help,comp.os.linux.misc,comp.os.linux.admin
Subject: Re: [Request]: Dump program!
Date: 16 May 1994 20:06:20 -0400

In <1994May16.094342.13185@imec.be> buytaert@imec.be (Steven Buytaert) writes:

>Gioacchino La_vecchia (gio@cli.di.unipi.it) wrote:
>:      Is there any program for dump in Linux environment?

>  Gio,

>  Check out 'man od' and its options. Maybe that can
>  help you out... 
>  An 'apropos dump' could also get you started...

fyi, i believe dump/rdump/ufsdump is used for image device backups, 
whereas od is related to hexdump (or octal dump) routines used for debugging.

i have also been looking for a dump/rdump/ufsdump pgm for linux for a few 
months now - i originally looked at porting the bsd code, but their code 
assumes a ufs-type file system (which linux didn't {doesn't?} have) so it 
wasn't of much use. it seems to be more involved than the code for the pc 
tape drive units, and more tightly tied into the actual/virtual hardware 
architecture. 

-gmm

-- 
*** gmerin@panix.com  "..here pigs will fly, lightning will strike twice,  ***
***   mci:  489-6979       hell will freeze over, and eventually,          ***
***   ci$ 74035,1232         things will get really interesting..."        ***

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

From: pd@kubism.ku.dk (Peter Dalgaard SFE)
Subject: Re: dld for linux?
Date: 16 May 1994 07:46:33 GMT

It's in

tsx-11.mit.edu:/pub/linux/sources/libs/dld-src-3.2.4.tar.gz
tsx-11.mit.edu:/pub/linux/binaries/libs/dld-bin-3.2.4.tar.gz

--
   O_   ---- Peter Dalgaard
  c/ /'  --- Dept. of Biostatistics 
 ( ) \( ) -- University of Copenhagen
~~~~~~~~~~ - (pd@kubism.ku.dk)

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

From: mloewen@cpumagic.scol.pa.us (Michael C. Loewen)
Subject: rpc.lockd for Sun?
Date: Mon, 16 May 1994 20:06:35 GMT

   Is anyone working on a lock manager for Linux, ala Sun's rpc.lockd?
We are using Sun's PC-NFS to mount filesystems from our Linux server to our
PCs, and the lack of a lock manager is the only thing preventing us from 
moving a lot of our MSDOS software to the Linux server.  Applications such as
Excel, for instance, require locking.

-- 
Mike Loewen                         The Centre Programmers Unit BBS
mloewen@cpumagic.scol.pa.us         (814) 353-0566     V.32bis/HST

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

From: Michael Haardt <(michael)u31b3hs@pool.informatik.rwth-aachen.de>
Subject: setlocale() bug or feature?
Date: Sun, 15 May 94 20:23:28 MET

Trying to use X/OPEN message catalogues, I found out that setlocale()
does not accept anything for LC_MESSAGES.  As far as I understood the
manuals, the string for LC_MESSAGES specifies what will be substituted
for %L in NLSPATH.  When setlocale(LC_ALL,"") is called, further calls
of setlocale(LC_MESSAGES,(char*)0) should return the value of the
environment variable LC_MESSAGES (or "C"/"POSIX" if it is not set).
I use library 4.5.21.

When I write a small setlocale() substitute which behaves as documented
above, messages catalogues work fine.  I sent email to hlu, but got no
response, and I don't quite understand the library code of setlocale
other than the ctype[] initialisation for latin1.

It also does not make any sense to me that the libc message catalogues
are installed under .../locale/C/libc.cat, with libc.cat being either an
English or German version: That would make LC_MESSAGES obsolete.

I would also appreciate if getcat(1) would be included in the library
image release.

Did I totally misunderstand the semantics of setlocale() or did nobody
ever test that code?

Michael
--
Twiggs and root are a wonderful tree (tm) Twiggs & root 1992 :-)

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

From: sib1@Ra.MsState.Edu (Shahid Ikram Butt)
Crossposted-To: comp.os.linux.admin,comp.os.linux.misc
Subject: Zeos Pantera OK ?
Date: 15 May 1994 01:57:55 -0500


I am considering buying a Zeos Pantera machine with 486DX2-66, 16MB RAM,
3PCI 5 ISA slots, on board Adaptec 6360 SCSI controller chip and a Diamond
Speedstar 64 PCI (1meg) video card.

I am wondering if someone out there has the same or a similiar machine 
running Linux ?  I would hate to buy the machine and find out I made a 
mistake. Any help will be greatly appreciated. 

Thanks a million.


Shahid
   ______________________sib1@Ra.Msstate.Edu____________________________
                  Cruising Information Super Highway
                  WWW : http://www.msstate.edu/~sib1

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

From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Hardware FAQ (was Re: Stargate Plus 8 card supported!)
Reply-To: pe1chl@rabo.nl
Date: Mon, 16 May 1994 16:22:10 GMT

In <Cpv0D9.JA@tlspu.demon.co.uk> adrian@tlspu (adrian) writes:

>Sean Puckett (nate@loreli.ftl.fl.us) wrote:
>> A while ago I asked if there was support for the Stargate Technologies Plus 8
>> multiport serial card.  I recieved several answers in mail, ranging from
>> "what is it" to "I'm working on one for another Stargate card... maybe it'll
>> help you out."

>I have discovered that several multiport serial cards seem to think that they
>are AST FourPort cards. My favorite so far is a 16 bit card from a company
>called Intelligent Systems (Or something, they card is in my machine right now,
>and the writing is just above the bus connectors).

>This card contains 8 16550afn's which under Linux act as 2 AST FourPorts,
>the odd thing is that under Mess-Dos, the FourPort driver won't talk to it
>(Correct IRQ's etc....).

The card being recognized as a fourport under Linux is more a function of
the minor device number that you use for it, than actual fourport
compatability.  Linux only initializes some extra register on the fourport,
but does not use any special feature.

>This is not a problem, more, as Sean said:-

>> I suggest the keepers of the FAQ's add this bit of information to the FAQ's,
>> because when I checked the hardware compatibility list and didn't see a Plus 8,
>> I kinda paniced.

>I will happily mail anyone any information about this card to any FAQ
>maintainer that care to mail me (At home, that is where the card is). I am
>sorry to say that the other cards were for clients, and I no longer have access
>to them :(

It seems that nobody is maintaining the hardware FAQ these days.  I mailed
updates to the address mentioned in the FAQ but got no reaction.
Some time ago somebody posted a reply form to gather new hardware compatability
info, and I replied to it.  Nothing was heard after that :-(

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: More Weird buffer erros
Reply-To: pe1chl@rabo.nl
Date: Mon, 16 May 1994 16:24:28 GMT

In <Cpv2wI.12C@tlspu.demon.co.uk> adrian@tlspu (adrian) writes:

>> The second is that surely if linux mounts a floppy that is write
>> protected, it should mount it as read only. That is what the write-protect
>> switch is for. If I tried to mount an nfs partition exported read only as
>> writable would it do so?

>My understanding is that if you attempt to mount an R/O filesystem as R/W
>the MOUNT should fail, hence this should not happen.  The question is how
>should the kernel react to the following:-

>mount floppy /a                         <<< -R/W floppy
>[eject & write-prot disk, the re-insert]
>rm /a/*                                 <<< This thinks it succedes, should
>                                            Return either [EACCESS] or an
>                                           error to indicate illegal disk
>                                           change.
>umount /a                               <<< On a R/O disk this should always
>                                            throw away any changes that have
>                                           somehow succeded.

>I have also (somehow ??) written to a mount -r floppy, and umount complains
>as above...

This subject has already been beaten to death.  Each time it comes up,
everyone agrees in the end that something needs to be done, but nobody
thinks it is important enough to actually spend time on it...

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

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

From: mpdillon@chinook.halcyon.com (Michael Dillon)
Subject: use Linux to CREATE iBCS binaries???
Date: 15 May 1994 06:07:52 GMT


I know that there is a beta available that allows Linux to *RUN* iBCS
binaries like SCO, etc...

But what about a Linux that can *CREATE* iBCS binaries. I have to work
with SCO UNIX at work and there is lots of stuff on the net that I would
like to use, but I have no compiler/development system for SCO and at the
prices they charge, the powers that be ain't gonna buy it for me any time
soon.

Since GNU C and C++ *REQUIRE* the libraries in SCO's dev sys, I was
wondering if it might be possible to run an iBCS compliant Linux at
home and use it to develop iBCS binaries that could then be run on
the SCO system.

What do you think?

--
Michael Dillon                 Internet: mpdillon@halcyon.halcyon.com
C-4 Powerhouse                  Fidonet: 1:353/350
RR #2 Armstrong, BC  V0E 1B0      Voice: +1-604-546-8022
Canada                              BBS: +1-604-546-2705

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

From: johannes@titan.westfalen.de (Johannes Stille)
Subject: Re: More Weird buffer erros
Date: Mon, 16 May 1994 21:19:33 GMT

In article <2qo04l$b6h@harbinger.cc.monash.edu.au> kevinl@bruce.cs.monash.edu.au (Kevin Lentin) writes:
[...]
>There are 2 problems here.
>The first is the obvious buffer problem which still needs fixing.
>The second is that surely if linux mounts a floppy that is write
>protected, it should mount it as read only. That is what the write-protect
>switch is for. If I tried to mount an nfs partition exported read only as
>writable would it do so?
[...]

I have a patch that makes the kernel actually check the write protect
status when trying to mount or open a floppy read-write. If you want to
try this patch, please mail me.

        Johannes

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

From: insom@galaxy.ucr.edu (chris ulrich)
Subject: LAT support?
Date: 16 May 1994 21:41:25 -0700

I have some old LAT based dec(obviously) terminal servers that
I would like to connect to a linux box.  Is there any LAT support
in linux?  Is there enough to run terminal servers?
chris
insom@ac.ucr.edu                                Ecstatic peace
insom@ucrvms                                    Savage conquest

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


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