Subject: Linux-Development Digest #252
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Sat, 1 Oct 94 17:13:15 EDT

Linux-Development Digest #252, Volume #2          Sat, 1 Oct 94 17:13:15 EDT

Contents:
  What is "makedepend," and where do I get it? (Joel M. Hoffman)
  Re: Alpha Linux (Larry McVoy)
  Re: Compiling progs using port I/O (Gary Paul Gortmaker)
  New kernel (Troy Piper)
  Re: Korn Shell '93 Now Available from AT&T (Andrew J. Piziali)
  Dell Dimension XPS P60 Problems (Neil Corlett)
  SVGA 800X640 X11 Server for MONO Monitor (CK Wong)
  Re: ISDN Support for Linux (Kwun Han)
  Re: Memory in 1.1.50: What is data? (H. Peter Anvin)
  Re: How to use a host as a router - READ THIS (Lover Man)
  Re: Korn Shell '93 Now Available from AT&T (James E. McNalley)
  Re: elf benchmarks (getting closer) (Peter Mutsaers)
  Re: Linux on multiple processors? (Kevin K. Lewis)
  Re: Adaptec 1542/SCSI under Linux (Mark A. Horton KA4YBR)
  Re: Memory in 1.1.50: What is data? (Mark A. Horton KA4YBR)
  Re: Mixer for PAS Cards? (Ian Justman)

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

From: [email-masked] (Joel M. Hoffman)
Subject: What is "makedepend," and where do I get it?
Date: Sat, 1 Oct 1994 14:53:10 GMT

I thought I'd give Wine a try this weekend, but I can't even get past
./Configure, because that script needs "makedepend," which I don't
have.  Where might I find it.

Thanks.

-Joel
([email-masked])
-- 
=============================================================================
|_|~~ Germany, Europe. 1943.    "The diameter of the bomb was 30 centimeters,
__|~| 16 Million DEAD.           and the diameter of its destruction, about 7
                                meters, and in it four killed and 11 wounded. 
 cnc  Bosnia, Europe. 1993.     And around these, in a larger circle of  pain
 cnc  HOW MANY MORE?          and time,  are scattered two  hospitals and one
                          cemetery.   But the young woman who was  buried  in
                    the place from where she came, at a distance of more than
             than 100 kilometers, enlarges the circle considerably.   And the 
      lonely man who is mourning her death in a distant  country incorporates
into the circle the whole world.  And I won't speak of the cry of the orphans
that reaches God's chair and from there makes the circle endless and godless."
=============================================================================
     Tell Clinton to stop the genocide:  [email-masked]

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

From: lm@fubar (Larry McVoy)
Subject: Re: Alpha Linux
Date: 28 Sep 1994 03:51:17 GMT
Reply-To: [email-masked]

: > None of these is the best solution. The best solution is to say exactly
: > what you mean. E.g. If you want to store numbers between -500 and +1000
: > you should declare this and let the compiler work out how many bits to
: > use. e.g. int{-500,1000} foo; int{0,65535} bar;

#define int8    char
#define int16   short
#define int32   int
#define int64   long

These should have been in sys/types.h a long time ago along with the
unsigned versions.  I've ported the TCP stack several times to weird
hardware where this sort of thing was desperately needed.

Before everyone says that "My weird ass machine doesn't have 16 bit 
integers" note that you use these types when THESE ARE EXACTLY WHAT 
YOU NEED.  Like in protocol structures, where the size is determined
by the bits on the wire, not "My weird ass machine".   Then if your 
machine doesn't work, at least you get the errors right up front and
can go diddle your way around it.

--
---
Larry McVoy                     (415) 390-1804                   [email-masked]

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

From: [email-masked] (Gary Paul Gortmaker)
Subject: Re: Compiling progs using port I/O
Date: 2 Oct 1994 01:32:35 +1000

[email-masked] (Uwe Bonnes) writes:

>Rob Janssen ([email-masked]) wrote:
>> In <[email-masked]> [email-masked] (Joe Nardone) writes:

>> >all my inb/outb calls are represented as unresolved references
>> >to ___outb (or ___outcb) and ___inb...

>> You have to compile with optimization (-O2)

>Is there some explanation for that behaviour?

From an old GCC digest:
============================================================
  Any program using <asm/io.h> won't link successfully if it was compiled
  without the -O option, because the
                  "extern inline xxx (params) { yyy ; } ;"
  statement will have been interpreted just as
                  "extern xxx (params) ;
============================================================

Paul.

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

From: [email-masked] (Troy Piper)
Subject: New kernel
Date: 29 Sep 1994 18:01:16 GMT

        I know this is probably a faq question but oh well. Is there
        any linux kernels precompiled available anywhere ? My kernel
        file is corrupted and I readlly don't feel like installing 
        the entire slackware library just for the kernel. I also have 
        not installed any compilers yet. This is the reason I need a 
        precompiled version for the intel chipset. I would appreciate 
        direct responces. PLEASE respond.

--
-                                               E.W.
-
-       Death and taxes, Political scams, Bill collectores who'll snag
-       you if they can, A leak in the ceiling, Rush  hour  jams, I'll
-       say  it  again  no  matter   where  I  go  or  when, EVERYBODY
-       understands the blues...    Glenn Kaiser.

-           WWW Mosaic page.....http://www.cs.uidaho.edu/~piper936/            

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

From: [email-masked] (Andrew J. Piziali)
Subject: Re: Korn Shell '93 Now Available from AT&T
Date: 30 Sep 1994 17:39:37 GMT

In article <[email-masked]>, James E. McNalley
<[email-masked]> asked:
   
    What does ksh do that BASH can't do?

How about coprocess communication (print/read -p ...), the "select" statement,
builtin arithmetic, a command line editor which will drop you into vi/emacs,
and parameter attributes (typeset -LZ ...), to name a few?

-- 
Andy Piziali                                                    |
                                                  ________------+------________
   work: [email-masked]                                  / \
   home: [email-masked]                            *---*

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

From: [email-masked] (Neil Corlett)
Subject: Dell Dimension XPS P60 Problems
Date: 1 Oct 1994 10:49:15 -0500

I installed Slackware v2.01 on the above machine with the 1.0.9 kernel.
This worked fine. I then compiled a v1.1.51 kernel that I had run on
my previous Dell EISA machine.

This kernel locks up the system as soon as it accesses the NE2000
Ethernet board. No, sorry, it locks up when applications write to
the network device. Thw kernel probes the bus and finds the board
correctly though.

The Dell box has a PCI bus and an AMI BIOS, rev A6. There problems
somewhere in this as reboots from ctrl-alt-del or software lock
the system. I also get a bios32_init error from the v1.1.51 kernel
as it comes up.

I would be interested to know if anyone has had similar mileage from
this equipment. It's frustrating. I even came in over the weekend
to fix it... Lifes like that, I guess.

Neil

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

From: [email-masked] (CK Wong)
Subject: SVGA 800X640 X11 Server for MONO Monitor
Date: 29 Sep 1994 19:11:25 GMT

I have bought a gray scale mono SVGA monitor that can support
256 color at 800x640 with Trident 9000 0.5 M card
to drive it.

It works fine in DOS/WINDOWS.

When I select the XF86_SVGA at the 800x640 resolution,
the character or the object is very large.

The config file is the one from the XF86_Configure.

The name of the Monitor is DATAS. Does any one
has a clue ?

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

From: [email-masked] (Kwun Han)
Subject: Re: ISDN Support for Linux
Date: Thu, 29 Sep 1994 17:31:09 GMT

In article <[email-masked]> [email-masked] (Pete Dalinis) writes:

   I have heard that people are working on ISDN drivers for Linux.  I am 
   just wondering when (how much longer), what interface brand, etc...

   And of course - are they free, and are they FTP'able or do they come with 
   a particular interface?

I am more interested in if there are anyone working on B-ISDN (ATM)
drivers..

Kwun
-- 
=================================================================
[email-masked] (preferred)    | Box #2392, Brown University,
[email-masked]              | Providence, RI 02912
[email-masked]              ------------------------------
=================================================================

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

From: [email-masked] (H. Peter Anvin)
Subject: Re: Memory in 1.1.50: What is data?
Reply-To: [email-masked] (H. Peter Anvin)
Date: Thu, 29 Sep 1994 20:07:43 GMT

Followup to:  <[email-masked]>
By author:    Kevin Martinez <[email-masked]>
In newsgroup: comp.os.linux.development

This is mine:

Linux version 1.1.51 (root@hook) (gcc version 2.5.8) #7 Wed Sep 21
01:45:17 CDT 1994
Memory: 15244k/16384k available (540k kernel code, 384k reserved, 216k data)

        /hpa
-- 
INTERNET: [email-masked]             --- Allah'u'abha ---
IBM MAIL: I0050052 at IBMMAIL     HAM RADIO:   N9ITP or SM4TKN
FIDONET:  1:115/511 or 1:115/512  STORMNET:    181:294/1 or 181:294/101
Microsoft is not the answer.  Microsoft is the question.  NO is the answer.

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

From: [email-masked] (Lover Man)
Crossposted-To: comp.os.linux.misc,comp.os.linux.admin,alt.uu.comp.os.linux.questions
Subject: Re: How to use a host as a router - READ THIS
Date: 30 Sep 94 20:21:00 GMT

[email-masked] (Jay Ashworth) writes:

>[email-masked] (David - Morris) writes:
>>Re. why not 127.0.0.0 instead of 127.0.0.1 -- the destination address must
>>be a 'host' address and the host address can't be zero (0).

>True... but I think he was talking about the destination address, not the
>interface address... you can route either the loopback _net_, or the
>loopback _host_, with equal facility.

>Cheers,
>-- jra
>-- 
>Jay R. Ashworth        High Technology Systems Comsulting             Ashworth
>Designer              Linux: The Choice of a GNU Generation       & Associates
>ka1fjx/4                                                  
>[email-masked]   "Hey! Do any of you guys know how to Madison?"  813 790 7592

Ok I have a question for you guys.  Since I didn't here the beginning of
this thread I have this particular problem:

I have a problem.  There is a machine which I dial up and get
a slip link to.  On this machines network I can access all of the 
machines.  However I have to telnet to a machine I have an account on
on that network to be able to telnet or ftp to the rest of the internet.
Is there a way I can somehow have the machine that I do have an account
on to act as some sort of a gateway.  I've tried specifiing that machine
as my gateway to no avail.

     #######          #####################
     # Me  #--------- # Dialup term server#----------+
     #######          #####################          |
                                                     |
                                                  #########
                                                  # "bert"#
                                                  #########
                                                     |
                                                 $$$$|$$$$$
                                                 $Internet$ 
                                                 $$$$$$$$$$

I want to make it look to my machine as if I am connected directly to
the internet.  And if possible to the internet that I am connected directly
to it.  I am assuming the termserver will not route packets out side of
the network the machine "bert" lies on.  I have an account on the machine
bert, which is how I access the internet.  I would like to be able to
do what I do from bert directly from my machine, which happens to be
a linux box.

Here is what I see when I type the route command on my box.  By the way 
which is a Linux machine.

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
uicgate         *               255.255.255.255 UH    0      0        0 sl0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         uicgate         *               UG    0      0     4996 sl0

uiucgate is the name of the termserver, or at least the name I gave it in
my hosts file.

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

From: [email-masked] (James E. McNalley)
Subject: Re: Korn Shell '93 Now Available from AT&T
Date: 29 Sep 1994 20:01:15 GMT

Ahmed Naas ([email-masked]) wrote:
: Ralph Sims ([email-masked]) wrote:
: : [email-masked] (Chris Bitmead) writes:

: : >In article <[email-masked]> [email-masked] (James J. Yorton) writes:

: : >>     "The Labs raised some software packaging and porting issues
: : >>     Prices for the binary version of K-shell '93 are $99 per copy
: : >>     (per cpu) until December 31, 1994. Orders placed after that date
: : >>     will be licensed at $149 per copy. We will also write a site
: : >>     license, for a variety of platforms, without restriction as to
: : >>     the number of users or cpus, for $10,000."

: : >$149 just for a shell? Forget it!

: : You run a Linux box with more than one user and want to make it
: : available to everyone, it's $10K, NOT $149.  There's a lesson
: : to be learned somewhere in there.

: I think you misunderstood the license terms. It says $99/$149 per cpu (i.e.
: per machine), not per user. (Hmmm. What about multiprocessor machines, you
: say?) The $10k (source?) license makes sense for sites with hundred(s) of
: hetrogeneous workstations.

        No it doesn't.  What does ksh do that BASH can't do?
--
James McNalley          | "I have never let my schooling interfere with my
Linux/Unix  Hacker      | education" -Mark Twain 
Portland, OR            |  "Live free or die" -New Hampshire motto 
[email-masked] -or- [email-masked]

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

From: [email-masked] (Peter Mutsaers)
Subject: Re: elf benchmarks (getting closer)
Date: Thu, 29 Sep 1994 19:22:17 GMT

>> On 26 Sep 1994 20:45:25 GMT, [email-masked] (Neal Becker)
>> said:

  John> Wow!  I guess I'll compile bash with ELF libraries! 

  NB> Me too, but first figure out how you're going to boot, since you need
  NB> to do insmod , what will your shell be before insmod is run?

Indeed. I hope the ELF loader will be a normal part of the kernel
asap.
--
Peter Mutsaers                  |  AT Computing bv,  P.O. Box 1428,
[email-masked]                    |  6501 BK  Nijmegen, The Netherlands
tel. work: +31 (0)80 527248     |
tel. home: +31 (0)3405 71093    |  "... En..., doet ie het al?"

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

From: [email-masked] (Kevin K. Lewis)
Subject: Re: Linux on multiple processors?
Date: 30 Sep 1994 20:13:28 GMT

In article <[email-masked]> [email-masked] (Corey Sweeney) writes:

   While this is in the concept stage I might as well propose a time-saving step. 
   How about adding multi-processor support to hurd.  By the time the
   multi-processor support is ready, one could reasonably assume that hurd would
   have the linux server ready.

   Actually i see a assumption with my own plan, that might not be true.  If we
   run linux as a server under mach in hurd, and we add multi-processor support to
   hurd, does that mean that linux would be multi-processor?  i'm assuming so.

From what I know, the Hurd is supposed to support multi-processor
platforms, "out of the box".  I think that's one of the primary
purposes of the project, ie scalability.

   Corey Sweeney
   [email-masked]
--
Kevin K. Lewis               | My opinions may be unreasonable
[email-masked]       | but such is the voice of inspiration

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

From: [email-masked] (Mark A. Horton KA4YBR)
Subject: Re: Adaptec 1542/SCSI under Linux
Date: Fri, 30 Sep 1994 16:22:10 GMT

Jason Malaure ([email-masked]) wrote:

: I would like to know how reliable SCSI generally is under Linux. I have
: had some problems witj my Fujitsu floptical but I am quite prepared
: to accept that lies with the way the drive behaves, however I would
: be very interested to find out how people have been getting with 
: large SCSI drives (>1 gig or so) as I am thinking of buying one!

In my experience, the 1540/42 "B" models are rock-solid.  Have not used
a "C" or "CF" so I can't report on them other than some rumours of problems.
I used one for two years under Linux and have recommended them to others
who have had no problems either.  I am currently using the BusLogic 445S
and Ultrastore 34F VESA LB cards to gain some performance, however.  But
for an all-around card, the 1540/42 B is a good card... plus you can 
find them sometimes used for around 70 bucks - not a bad deal.  An outfit
in CA is selling the Ultrastore 34F cards for 89 bucks which is a real 
good deal except that Ultrastore has gone down the tubes... if no vendor
support bothers you, don't get one; otherwise you can get a great SCSI 
card for about 1/4 of what it cost.

--
"Linux!     Guerrilla UNIX Development     Venimus, Vidimus, Dolavimus."
============================================================
Mark A. Horton       ka4ybr             [email-masked]
P.O. Box 747 Decatur GA US 30031-0747         [email-masked]
+1.404.371.0291                     33 45 31 N / 084 16 59 W

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

From: [email-masked] (Mark A. Horton KA4YBR)
Subject: Re: Memory in 1.1.50: What is data?
Date: Fri, 30 Sep 1994 16:31:57 GMT

Peter Suetterlin ([email-masked]) wrote:
: Dick Streefland ([email-masked]) wrote:
: : Peter Suetterlin ([email-masked]) wrote:
: : --> Memory: 12956k/16384k available (624k kernel code, 384k reserved, 2420k data)
: : I bet you use the BusLogic SCSI driver, because I got the same
:  Correct
:  ......
: : patch is so small, I will include it here:
: : --- linux/drivers/scsi/scsi.c-org   Fri Aug 12 22:02:23 1994
: : +++ linux/drivers/scsi/scsi.c       Sat Sep 10 01:36:45 1994
: : @@ -1803,7 +1803,7 @@
: :                            host->hostt->cmd_per_lun;
: :       
: :       if(host->unchecked_isa_dma &&
: : -        memory_end > ISA_DMA_THRESHOLD &&
: : +        memory_end - 1 > ISA_DMA_THRESHOLD &&
: :          SDpnt->type != TYPE_TAPE) {
: :         dma_sectors += (PAGE_SIZE >> 9) * host->sg_tablesize *
: :           host->hostt->cmd_per_lun;
: : When you have more than 16 Mb of memory, the additional buffers will
: : still be allocated: 1 Mb for each non-tape device in the case of the
: : BusLogic driver! It seems to me that this amount of buffers is too much,
: : even with more than 16 Mb of memory. However, I am not too familiar with
: : the SCSI driver, so I don't know whether this number of buffers is
: : really necessary.

        Grumble... Grumble.... Grumble.... I have 3 1.2GB SCSI disks and 
2 SCSI CD-ROMS and 2 SCSI tapes... You're right.... 5772MB <*gone*>  This
seems a bit excessive to me also!   I wonder if the Ultrastore 34F will end
up taking as much or more?   I don't see where this reserved pool needs this
much storage, although I must say, I haven't seen any SCSI timeouts
like I used to with the Adaptec 1542B. 

        -- Mark
--
"Linux!     Guerrilla UNIX Development     Venimus, Vidimus, Dolavimus."
============================================================
Mark A. Horton       ka4ybr             [email-masked]
P.O. Box 747 Decatur GA US 30031-0747         [email-masked]
+1.404.371.0291                     33 45 31 N / 084 16 59 W

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

From: [email-masked] (Ian Justman)
Subject: Re: Mixer for PAS Cards?
Date: Sat, 1 Oct 1994 08:40:59 GMT

Zureal ([email-masked]) wrote:
: Has anyone made/created a mixer for the PAS?  I've got the PAS 16 and no 
: way to set volume, bass, treble, etc... for my card.  I've gone through 
: the linux/drivers/sound directory with no luck.  I'd like such a thing if 
: possible.  Pointers, ftp sites, etc....

Try using xvmixer.  It uses the XView libraries, so you'll need them in order
to compile them.  I have a PAS16 and it works just fine with it.

I don't remember offhand where it can be found, but I'd try looking at
ftp://sunsite.unc.edu/pub/Linux/X as the root hierarchy of your search.

-- 
"Born to void warranties!"      Ian Justman  ([email-masked])
"Never trust anyone with the    SnailMail:  6612 Whitsett Drive
surname of Gates, specific-     North Highlands, CA  95660
ally, Bill and Darryl."  -Me.   Phone (after 7:30PT):  (916) 331-5838

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

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