Subject: Linux-Development Digest #272
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Fri, 7 Oct 94 01:13:12 EDT

Linux-Development Digest #272, Volume #2          Fri, 7 Oct 94 01:13:12 EDT

Contents:
  Orchid CDS-3110 CD-ROM (Peter Nugent)
  pthreads lib? (Sunny Yum)
  Re: Single host firewalling (strick -- henry strickland)
  Re: weird linux hangs 1.0.9 -> 1.1.51 inclusive... (Rob Newberry)
  Re: 1280x1024, Term, and System Lockup! (Bill Delaney)
  Re: Improving SLIP latency under Linux (John Richardson)
  Enhanced IDE Support (The Almighty One)
  Re: What GUI to write for? (Brandon S. Allbery)
  Re: Telnet & ftp freeze! (Colin Beckmann)
  Compiling CAP lwsrv.beta (Matt White)
  Good News for ELF and XFree86 (H.J. Lu)
  Re: Status of Linux and Distributions security (Baba Buehler)
  Re: Shared Libs: working toward a permanent solution? (Richard Krehbiel)
  Re: DOS 6.0 Interlnk->Linux??? (Marek Michalkiewicz)

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

From: [email-masked] (Peter Nugent)
Subject: Orchid CDS-3110 CD-ROM
Date: 6 Oct 94 20:25:45 GMT

I've recently purchased a pentium computer from Comtrade that has a brand
new Orchid CDS-3100 CD-ROM on it. The cdrom manual says it supports both
Mitsumi and Sony interface standards. I have compiled kernels with both
these drivers and the results are as follows.

Sony: Nothing...No error messages at all...No action from the cdrom.

Mitsumi: Error message saying it can't find the cdrom at IRQ 11...
         The cdrom makes a spine chilling noise that won't stop 
         until you reboot.

As to the error message from the Mitsumi driver my NCR scsi driver is at 
IRQ 11. (By the way Drew Eckhardt's driver works well, no problems at all,
with my SCSI card.) I have set my cdrom up at IRQ 10, I/O address 320.

First off, is it just a pipe dream to think that this cdrom will work with 
either of these drivers? Second, If one of these drivers can work with it 
is there a way to set the IRQ and I/O address in the drivers so it will
grab the right one (or does it always auto-detect these properly)?
Third, and finally, is anyone developing a driver for this cd-rom?

I'd appreciate any comments regarding this cd-rom.

Thanks,

Peter Nugent
[email-masked]

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

From: [email-masked] (Sunny Yum)
Subject: pthreads lib?
Date: 5 Oct 1994 21:31:32 GMT

I know someone asked about this before, but I can't seem to locate the
POSIX threads libraries for Linux (pthreads).  If anyone knows where this
is, please let me know (via email).  Responses would be greatly appreciated!

[email-masked]

-- 
Sunny D. Yum ([email-masked])        | Babylon-5!  http://www.hyperion.com
Any opinions expressed are mine alone | LinuxLinuxLinuxLinuxLinuxLinuxLinux

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

From: [email-masked] (strick -- henry strickland)
Subject: Re: Single host firewalling
Date: 6 Oct 1994 16:26:51 -0500

THUS SPAKE Bill Wohler <[email-masked]>:
# 
#   Strick's posting of infilt gave me the idea that it would be
#   possible to firewall my (Linux) host at home which is directly
#   connected to the Internet via SLIP (or PPP).
# 
#   As more and more folks are getting the Internet into their homes on
#   inexpensive PC's, this might actually turn into an important aspect
#   of firewalls.

Anyone who has outgoing phone lines on their net-site-at-home
has a real potential liability if intruders get in.

I'm glad you're addressing this to comp.os.linux.development. 

I put the filtering hack inside the PPP driver, but really it would be
much better to have these features in the kernel.  Some things I do the
hard way, that could be done more easily, efficiently, and 
device independantly, inside the IP portion of the OS kernel.

( see ftp.yak.net /pub/infilt for the package we're referring to. 

  Also notice how I've tried to keep the model of security fairly
  simple -- there's not an infinite amount of stuff you can
  configure and get wrong.  In particular, there is no configuration
  based on IP addresses and masks, so it's not susceptable to
  a whole class of spoofs and common mistakes.

)

                                strick

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

From: [email-masked] (Rob Newberry)
Subject: Re: weird linux hangs 1.0.9 -> 1.1.51 inclusive...
Date: Wed, 5 Oct 1994 16:25:25

>        We are having a problem with linux "hanging" on out P5 EISA/VLB
>machine. (90 mhz) . General symtoms before the hang are non-exsistent as
>far as I can tell. One minute it's up , and then boom Dead. No console control
>no net access , no cntl-alt-del. It has to be cold booted/ reset. I've read
>other posts to this group complaining of similar occurences, and would like to 
>help sort it out. Is there any kernel logging/ profiling that can be enabled
>so I can log what is going on? Disk space and logging time are NOT a 
>problem and I would really like to get to the bottom of this. I saw the kernel
>profiling option for the configure but I have no idea how to take advantage of
>this option.

We have similar problems --

our setup:

486-DX2 66
IDE 720MB hard disk  ( NO SCSI ! )
8 MB RAM
NE2000 ethernet card

In our setup, the hangs started when I upgraded from 1.1.10 to 1.1.45, and 
became signicantly less frequent when I went to 1.1.50.  Man, if you figure 
this out, I'd much appreciate it!

Rob

*******************************************************************
Rob Newberry               Education and Technology Solutions, Inc.
Email: [email-masked]        4303 Parkland Court
Phone: 301 438 3915        Rockville, Maryland 20853
FAX: 301 438 3748

      The secret to happiness is knowing how many
          weekdays you can afford a hangover.

*******************************************************************

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

From: [email-masked] (Bill Delaney)
Crossposted-To: comp.os.linux.help
Subject: Re: 1280x1024, Term, and System Lockup!
Date: 5 Oct 1994 17:15:49 GMT

I have a Gateway P5-66 with the same ATI Mach 32 PCI card, and have had
nothing but trouble with XF86_Mach32.  After experiencing countless
crashes of exactly the type you describe, I decided to switch to the
8514 driver (XF86_8514).  This version of the X server uses the 8514
emulation support that's part of the Mach 32 card.  It's a big step down
to go with the 1024x768 resolution of the 8514 driver, but I'd rather have
bigger dots than a flaky system.  After making the switch, my system has
been rock solid...

Bill Delaney

In article <[email-masked]>, [email-masked] (Joseph Bennett - PCD ~) writes:
|> Hello.
|> 
|> I am running Linux on my 486 DX/2 66 PCI system.  I have been running
|> Term over a 14.4kb modem to dial into work, and was running at 1024x768
|> resolution.
|> 
|> Everything has been working just honky-dory.  No problems whatsoever.
|> 
|> Now, however, I am greedy, and have attempted to alter my Xconfig to run
|> X at 1280x1024 resolution.
|> 
|> At first, everything was fine.  I grabbed one of the examples from the
|> Sample-Xconfig directory, and my monitor (Nanao F550i) and video card
|> (ATI Mach32 PCI) were cool with it.  I dialed into work with Term, no
|> problems, and was able to run all but *1* of my X programs with absolutely
|> no hitches.
|> 
|> This one program, however, causes the whole system to LOCK UP!  It draws
|> the main window fine, and gets as far as bringing the second window up,
|> but when it attempts to finish drawing it, the system goes dead.  The
|> modem stops sending packets, the disk drive stops, mouse and keyboard
|> are dead.  I have to push the computer's RESET button because I am
|> completely dead in the water.
|> 
|> The program is "Vantage Spread Sheet", our VHDL simulator.
|> 
|> I tried a new kernel, same problem.  I went back to my older 1024x768
|> resolution, and it all worked fine.  Which leads me to believe that
|> I am not setting up the video correctly, and this is causing some
|> really unpredictable behavior.
|> 
|> Anyway, here is my video hardware setup:
|> 
|>     Nanao F550i 17" monitor
|>     ATI Mach 32 PCI video card (2 Meg RAM)
|> 
|> Xconfig line for 1280x1024 resolution:
|> 
|>     "1280x1024"  110     1280 1328 1512 1712   1024 1025 1028 1054
|> 
|> 
|> I had also tried this line, but my monitor apparently didn't like it (too
|> high a refresh rate, I'm assuming):
|> 
|>     "1280x1024"  135     1280 1312 1456 1712   1024 1027 1030 1064
|> 
|> 
|> Any help would be appreciated.  I thank everybody who already responded
|> to a post of mine for more Xconfig samples, even though they didn't work.
|> The only other piece of information I can give you is that this is
|> program comes up with the message "unknown X server XFree86" or something
|> like that when attempting to bring the program up.
|> 
|> As an aside, I'm kind of surprised my whole system locked up.  I really
|> wouldn't have expected that.  I just would have thought Term would die
|> or something.
|> 
|> Also, I'm still unclear on the concept of the three horizontal and vertical
|> timing numbers that appear after the pixel value.  Is there some mathematical
|> thing which correlates this to numbers you find in the monitor's Owners Manual?
|> I still can't figure it out.
|> 
|> 
|> Joe
|> -- 
|> Joseph Bennett - PCD ~

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

From: [email-masked] (John Richardson)
Subject: Re: Improving SLIP latency under Linux
Date: 6 Oct 1994 11:36:19 GMT

In article <[email-masked]>,
Carlo James Calica <[email-masked]> wrote:
>
>I use the SLIP in the standard kernel and have a generic 14.4kbps modem.
>I usually get ping times of around 300ms.

You didn't mention this, so I'll ask, this is when you are 
downloading right?

>
>I do have a problem of carrier dropping at fairly random times.  Usually
>during high traffic.  I'm connecting to an Annex box.  Any ideas?
>

I have had these problems, but the problem was that the Annex (for
some reason) couldn't handle the traffic and dropped the carrier
with a error message (CLR).  I guess this happens when you load
an annex up with more than it can handle.  It was very reproduceable.
When I increased the inter-packet delays everything worked fine.

Maybe this is your problem....

--
John richardson

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

From: [email-masked] (The Almighty One)
Crossposted-To: comp.os.linux.help
Subject: Enhanced IDE Support
Date: 6 Oct 1994 20:23:41 -0400

        Does Linux currently support Enhanced IDE Drives like a Western 
Digital 1.08 GIG IDE Drive?  To support this, is a Enhanced IDE 
controller required or will a standard IDE Controller do to get the full 
capacity of the drive under Linux, DOS?  Any help will be greatly 
appreciated.

                              Cheers,
                               Vince
E-mail:
[email-masked],\|/ Sys Adm - CircleStar Technologies,Inc. 
  [email-masked],(o o) San Francisco, California USA
  _________________________oOO__(_)__OOo_____________________________
 |  There are many forms of science but only physics is the quantum  |
 |                    leap of the 21st Century.                      |
  \_________________________________________________________________/
        [email-masked]        UCLA Physics
                                     Los Angeles, California USA

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

From: [email-masked] (Brandon S. Allbery)
Subject: Re: What GUI to write for?
Date: Mon, 3 Oct 1994 22:59:15 GMT

In article <[email-masked]>, [email-masked] (Tanner) says:
+---------------
| What about tk? No one has mentioned tk (sure there is tcl, but only tk).
| I am also looking for a widget set to work in. Motif is my first choice,
| but its prices is a factor. I am looking at tk right now. Any comments on
| just tk?
+------------->8

Tk's coding capabilities are a bit limited for some things.  I have used it
and XF (a freeware GUI builder for Tk; check harbor.ecn.purdue.edu) to build
GUI interfaces for some command-line-based programs, and today I used expectk
(a merge of expect and Tk) to build a GUI-based program which hops across a
network to one system, thence via cu to a third system, grabs some data from a
Unify 2000 database, and brings it all the way back to the first system.

There's also Exmh (caveat, I'm a beta tester), an alternative user interface
for MH which is based on Tk and has MIME capabilities (unlike xmh).

The big advantage of Tk as an X toolkit is that it has an OLE-killer :-) built
in, in the form of the "send" command.

++Brandon
-- 
Brandon S. Allbery KF8NH         [44.70.4.88]           [email-masked]
Linux development:  iBCS2, JNOS, MH                                      ~\U
Daily dreading Nehemiah Scudder^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^HRush Limbaugh

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

From: [email-masked] (Colin Beckmann)
Crossposted-To: comp.os.linux.help,comp.os.linux.misc,comp.os.linux.admin
Subject: Re: Telnet & ftp freeze!
Date: 6 Oct 1994 15:15:57 GMT

Ralph Sims ([email-masked]) wrote:
: [email-masked] (System Administrator) writes:

: >Trevor Lampre ([email-masked]) wrote:

[stuff deleted]
: >for confirming what we've been seeing!  I suggest we keep this thread 
: >open and fill it with additional information until the problem gets the 
: >attention it needs.  I'm not a programmer, much less a kernel hacker, so 
: >I can only voice frustration with the situation.

: And what about those of us that DON'T see it?  Basic setup is a
: dedicated PPP link on a 14.4 dialup, NET-3 stuff, ppd 2.1.2a,
: etc., with an InfoMagic/TransAmeritech CD-ROM combined install.

: I move many megabytes of files around via FTP daily, and another
: many megs around with mosaic and lynx.  Sendmail+IDA's been
: rock-solid.

[stuff deleted]

If your not seeing be thankful and provide your system configuration
so the experts can see whats working and whats not working

I am NOT seeing th problem,  Have a  14.4 modem using NET-3 pppd 2.2.2a with 
slackware 1.2 , and kernel 1.1.30.  I have downloaded 20 and 30 megs in a
single session via ftp and never had a problem.  I regularly rlogin to
other sites, once again without problem

Colin

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

From: [email-masked] (Matt White)
Crossposted-To: comp.os.linux.help
Subject: Compiling CAP lwsrv.beta
Date: 3 Oct 1994 21:06:38 GMT

This question goes out to those people out there who are running CAP (the 
Columbia Appletalk Package) on a Linux machine.  

Is there anyone who is using the lwsrv.beta from munnari.oz.au (or 
anywhere else) on linux?  We need it so we can use LaserWriter 8 on our 
macs, and I'm having some problems compiling it on linux.  I'm using 
Linux 1.1.49, and I've tried CAP6.0 pl 142 (the patch level that 
lwsrv.beta was created at) and the newest, CAP6.0 pl 192.  Here is the 
relavent chunk of output from 'make':

yacc parsey.y
lex parsel.l
cc -DBYTESWAPPED -O  -DLINUX  -c y.tab.c
parsel.l: In function `yylex':
In file included from parsey.y:418:
parsel.l:5: too few arguments to function `yyunput'
parsel.l:16: too few arguments to function `yyunput'
parsel.l: At top level:
parsel.l:138: redefinition of `input'
parsel.l:422: `input' previously defined here
parsel.l:165: warning: `searchkeywords' was declared implicitly `extern' 
and later `static'
make: *** [y.tab.o] Error 1

Now, on Linux, 'lex' is a link to 'flex'.  I even tried changing the lex 
command to 'flex -l' (-l is supposed to provide maximum lex 
compatibility).  Of course, I had to change the Lex library in the 
Makefile to -lfl (for flex, changed from -ll).

Has anyone got this to compile and work under Linux, or should I just 
start tearing my hair out now?  

Thanks for any help!

====================My real computer is an Amiga=====================
- Matt White                             [email-masked]        -
- Assistant Network Manager              [email-masked]       -
- College of Arts & Science              University of Saskatchewan -
=====================================================================
It sure is Monday... Ain't it a sin
I've gotta work my way thru the week again.
        - Mark Chesnutt..."Sure Is Monday"

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

From: [email-masked] (H.J. Lu)
Subject: Good News for ELF and XFree86
Date: 5 Oct 1994 23:29:47 GMT

It has been confirmed that XFree86 2.x compiled with ELF works just fine.
People are working on 3.1 now. It looks like we may have a stable ELF
in a few months (weeks?).

H.J.

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

From: [email-masked] (Baba Buehler)
Subject: Re: Status of Linux and Distributions security
Date: 3 Oct 94 06:49:18 GMT
Reply-To: Baba Z Buehler <[email-masked]>

[email-masked] (Daniel L. Marks) writes:

>Linux's reptuation would seem to me to be partially based on its perceived
>efficacy in preventing system break-ins and crashes.  Does Linux have
>the kind of safety record that should earn it the kind of reputation
>that the commerical UNIXes have?

I've done a lot of work with security issues and SunOS, as well as operating
Linux systems since 0.99.  Linux, IMHO, is much more secure than SunOS, mostly
because the Linux community works together to improve the system, while Sun
seems at times to be working against its user community.

Now, it may be true that Sun systems suffer from more attacks because they are
much more popular than Linux, HPUX, etc.  However, the nice thing about Linux
is that if you find a problem, YOU HAVE THE SOURCE, you can fix it yourself if
you have to, although its likely that someone out there already has.

Security in UNIX systems is largely a matter of the skill of the people
administering the system.  A Linux system run by an inexpierenced UNIX
administrator is going to have as many problems as a Sun system run by an
inexpierenced administrator.

Bottom line is, Linux is a good, stable system, and coupled with a talented
administrator, is going to be as secure as anything else on the net.

>Dan Marks
>[email-masked]

-- 
%>- Baba Z Buehler
%>- Beckman Institute Systems Services, Urbana Illinois
%>- WWW: http://www.beckman.uiuc.edu/groups/biss/people/baba/
%>- PGP Public Key available via WWW & public key servers

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

From: [email-masked] (Richard Krehbiel)
Subject: Re: Shared Libs: working toward a permanent solution?
Date: Tue, 4 Oct 1994 21:55:23 GMT

In article <[email-masked]> [email-masked] (Michael James Porter) writes:

> In article <[email-masked]>,
> David Holland <[email-masked]> wrote:
> =>How about dynamically relocating the library when it's loaded - once.
> =>Then the address it appears at can be determined at run time; that way
> =>it cannot possibly conflict with any other libraries; the library
> =>loading mechanism would pick addresses so that doesn't happen. Then
> =>when other processes add it, it would appear at the same address in
> =>every process.
> 
> 
> This is a good idea

I also like this idea; it does not require that library code be
position independent.  There was a long thread about the actual
performance penalty of PIC; from that I gather that it's at least 3%
and possibly more.

> , but it limits the loading of a shareable library
> to program load time.  I would like to see dlls be loadable at any
> time in the life of a process.

I don't see why this is a problem; if it can be done at program load
time, it can certainly be done at run time.  It only requires that the
load-and-relocate function (and perhaps the locate-symbolic-entry-
point functions) be available to executing processes.
-- 
Richard Krehbiel                                [email-masked]
Picture a clever one-liner here...

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

From: [email-masked] (Marek Michalkiewicz)
Subject: Re: DOS 6.0 Interlnk->Linux???
Date: 6 Oct 1994 17:22:59 GMT

Jeremy Gordon ([email-masked]) wrote:
: if i just wanted to ftp, etc i'd use the crywnr patches to plip to be compat
: with dos plip.com, but then i need some pc-nfs client, or samba and windows
: for workgroups, all of which are $$$ and take up loads of low dos memory...

: any ideas???

Try a shareware NFS client for DOS, which works over a packet driver.
There are at least two, look at

ftp://oak.oakland.edu/SimTel/msdos/nfs/*

I tried xfs176.zip (with Linux 1.1.23 at the other end, without any
extra patches). Not as fast as ethernet (~20 KB/s), but it works...
It works when loaded high, too.

Hope this helps.

-- Marek Michalkiewicz
[email-masked]

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

** 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: [email-masked]

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

    Internet: [email-masked]

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