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

Linux-Development Digest #251, Volume #2          Sat, 1 Oct 94 14:13:07 EDT

Contents:
  Re: Mixer for PAS Cards? (Christopher M. May)
  Re: PCnet32 ("LANCE") PCI ethernet card with Linux. (Donald Becker)
  Re: Multiprocessing Pentium Systems (Michael Werner)
  (uu)getty_ps broken in 1.1.50? (Bob)
  Need help (gated and parser.y problem) (Lin Jyun-Naih)
  Re: OpenGL and GLX (Wojciech Galazka)
  Re: Could TCP/IP be implemented over SCSI? (Doug  Dejulio)
  re; irc servers (Gordon Chan)
  1.1.51 seg fault on shutdown in _floppy_release (Peter Berger)
  Both fixes: No! Re: Err in _floppy_release only if mounted at boot (Peter Berger)
  Re: Korn Shell '93 Now Available from AT&T (Cameron Newham)
  Re: Special Sale On QNX! (jon m)
  Re: Which kernel suports two ethernet cards ? (Pete Kruckenberg)
  Re: Ip Adrress probs (Pete Kruckenberg)
  Re: Need help (gated and parser.y problem) (Pete Kruckenberg)
  ATI ULTRA + w/internal b-mouse (Chris Origer)
  Re: Could TCP/IP be implemented over SCSI? (Doug  Dejulio)

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

From: [email-masked] (Christopher M. May)
Subject: Re: Mixer for PAS Cards?
Date: 29 Sep 1994 03:19:06 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....

The file you want is the utility package  "sndkit" which is meant to
accompany the kernel sound driver.  It has a small program "mixer" 
as well as an X version, xvmixer.

sunsite.unc.edu: /pub/Linux/kernel/sound/snd-util-2.5.tar.gz

--

-Chris May, Computer Science, University of MA, Amherst
-       Technical Assistant, P.C. Maintenance Lab

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

From: [email-masked] (Donald Becker)
Subject: Re: PCnet32 ("LANCE") PCI ethernet card with Linux.
Date: 1 Oct 1994 10:13:16 -0400

In article <[email-masked]>,
Jochen Roth <[email-masked]> wrote:
>Donald Becker ([email-masked]) wrote:
>
>: 3. Configure your PCI slot for *edge triggered* interrupts.  On the ASUS
>: SP3G this means moving the jumpers rather than just changing the BIOS.
>: If you don't do this you machine *will* hang when autoIRQ is done.  With
>: level-triggered interrupts you must clear the interrupt line or disable the
>: interrupt.  The current autoIRQ code doesn't do this.
>
>Is someone working on implementing shared (level triggered) interrupt
>handing for linux ? Writing real PCI drivers is impossible, and most
>motherboards will require sharing interrupts.
>
>BTW, edge-triggered interrupts are not PCI-compliant and will prohibit
>the use of e.g. multiport adapters with bridge chips, some multi-
>function adapters, etc.

The probe problem mentioned occurs in the autoIRQ code, which
1) has been updated to work (I think) with level-triggered interrupts in my
development version of auto_irq.c, and
2) isn't be needed with the PCI-PnP-aware version of the driver (the 24 bit
version was put out for alpha test yesterday, the 32 bit version might
replace it in a few days).

I've also changed this driver's interrupt handling to loop on the interrupt
bit, as required for level-triggered interrupts.  (The other drivers do
this, I don't recall why I didn't structure this driver the same way.)

Still remaining to be done is the changes to interrupt dispatcher and
request_irq() to efficiently support multiple devices on the same interrupt
line.

-- 
Donald Becker                                     [email-masked]
USRA-CESDIS, Center of Excellence in Space Data and Information Sciences.
Code 930.5, Goddard Space Flight Center,  Greenbelt, MD.  20771
301-286-0882         http://cesdis.gsfc.nasa.gov/pub/people/becker/whoiam.html

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

From: [email-masked] (Michael Werner)
Subject: Re: Multiprocessing Pentium Systems
Date: 28 Sep 1994 23:39:51 GMT
Reply-To: [email-masked]

> Whatever, if Linux is going to run on MP hardware (whether it be 486s,
> Pentiums, DEC Alphas, Mips R4x00s, PowerPCs, 680x0s or anything else you
> care to dream up), we should probably better do our homework pretty
> thoroughly first. Any good texts out there on how to write an MP OS :-?

>       David Monro

I am currently reading a book just on that subject. Curt Schimmel
has written a book called "Unix systems for modern architectures"
which discusses cache and multiprocessor issues for kernel design.
So far it looks quite useful and informative.

Mike Werner

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

From: [email-masked] (Bob)
Subject: (uu)getty_ps broken in 1.1.50?
Date: 30 Sep 1994 03:21:10 GMT

i've been trying to get an answer for this question for over 2 weeks, and i
haven't even gotten a flame calling me an idiot or telling me im posting in the
wrong place.  i posted before in col.help, but since i've gotten no answer from
there and i suspect there might be a new kernel compile involved, ill post it
here.

i recently read a post in one of the news groups where someone said that they
had dial-in working with (uu)getty_ps and they did a kernel upgrade and it
stopped working.  i paid notice to this post, but didn't save it as it wasn't
important at the time [as i wasn't ready to do this yet], but i was still
hoping to read an answer.

since then, i've tried to set it up on two machines [1.1.50 and 1.1.51].  both
are using getty_ps v 2.07d.  i didn't have any problem getting it set up, and
everything seems to work up until the time uugetty is supposed to prompt for
login.  the debug output says "calling getlogname()" but a little garbage
prints on  the other screen and that's it.  i've tried every configuration and
made sure that both modems are the same setup.

i would have written this off as stupidity [and it still may be], but i found
nothing in any HOWTO but since someone else had mentioned the same [?] problem,
im not so sure.

does anyone know if this is related to the new kernel, and if this is the case,
if it has been fixed?  or am i just an idiot about to be violently flamed?
[hopefully with the anser to my problem also ;)]

thanx for any info,
bob
-- 
Bob Hollinger           <------------------------------------->
4B Chaucer Ln.          > \       [email-masked]       / <  Disclaimer:
Streamwood, IL  60107   >   \/\/     [email-masked]      \/\/   <
708-483-9391            <------------------------------------->I don't know her!

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

From: [email-masked] (Lin Jyun-Naih)
Subject: Need help (gated and parser.y problem)
Date: 29 Sep 1994 03:33:39 GMT

Hi,

   I got gated-R3_5Alpha_7 and tried to make it, but it failed in parser.y
   Do I need to modify this file? (I use Linux system.)

   I also set yacc to bison in Config file.

   Your assistance is appreciated.

J.N. Lin

============================================================================

cclin:/gated/gated-R3_5Alpha_7/src> make config
util/config obj.Linux-1.0.9-i386/Config
Parsing obj.Linux-1.0.9-i386/Config
Directory:      obj.Linux-1.0.9-i386
Building Makefile from Makefile.template
make links depend
make[1]: Entering directory `/gated/gated-R3_5Alpha_7/src/obj.Linux-1.0.9-i386'
rm -f core core.gated gated checksum.o grand.o if.o inet.o krt.o krt_rtread_pro
c.o krt_ifread_ioctl.o krt_rt_ioctl.o krt_lladdr_linux.o krt_symbols_proc.o krt
_ipmulticast.o policy.o rt_aggregate.o rt_radix.o rt_redirect.o rt_static.o rt_
table.o sockaddr.o str.o targets.o task.o trace.o parse.o aspath.o asmatch.o bg
p.o bgp_init.o bgp_rt.o bgp_sync.o egp.o egp_init.o egp_rt.o hello.o icmp.o osp
f_build_dbsum.o ospf_build_ls.o ospf_choose_dr.o ospf_conf.o ospf_flood.o ospf_
init.o ospf_log.o ospf_lsdb.o ospf_newq.o ospf_rt.o ospf_rtab.o ospf_rxlinkup.o
 ospf_rxmon.o ospf_rxpkt.o ospf_spf.o ospf_spf_leaves.o ospf_states.o ospf_tqha
ndle.o ospf_trace.o ospf_txpkt.o rip.o parser.o lexer.o version.o linterrs.gated
rm -f gated.8 ospf_monitor.8 ripquery.8 gdc.8 inst-man
rm -f signames.c
rm -f y.tab.* y.output
rm -f version.c version.ids version.ids.new
rm -f core.ripquery ripquery ripquery.o checksum.o str.o standalone.o linterrs.
ripquery
rm -f core.ospf_monitor ospf_monitor ospf_monitor.o checksum.o str.o standalone
..o linterrs.ospf_monitor
rm -f core.gdc gdc gdc.o str.o standalone.o linterrs.gdc
rm -f libgated.a signames.o inet_aton.o IEFBR14.o
rm -f lexer.c parser.c parser.h
rm -f TAGS
Configuring:    parser
make[1]: *** [parser.y] Error 139   <----- error here, can't parse
make[1]: Leaving directory `/gated/gated-R3_5Alpha_7/src/obj.Linux-1.0.9-i386'
cclin:/gated/gated-R3_5Alpha_7/src>

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

From: [email-masked] (Wojciech Galazka)
Crossposted-To: comp.windows.x,comp.graphics.opengl,comp.graphics
Subject: Re: OpenGL and GLX
Date: Sat, 1 Oct 1994 14:08:33 GMT

In article <[email-masked]> [email-masked] (Mark Lin) writes:
>From: [email-masked] (Mark Lin)
>Subject: Re: OpenGL and GLX
>Date: 26 Sep 1994 02:52:04 GMT
>bryan heidorn ([email-masked]) wrote:
>: Hello,
>
>: There have been several posts over the last several weeks/months in 
>: the OpenGL related news groups about running OpenGL on a PC. 
>
>Doesn't the package, "vogle," allow one to perform somewhat smiliar to this?
>
The VOGL package doesn't emulate lrectwrite() function from GL. Does anyone 
know how to do this using VOGL ? If so please reply. I urgently need this!!!
Mant thanks in advance.

 
                Wojciech Galazka
///////////////////////////////////////////////////******************
// Wojciech Galazka <[email-masked]>    //                 *
//    Computer Center                            // Chemistry - yes,*
//  Chemistry Department,  University of Warsaw  // Distortions- no *
//  Pasteura 1, 02-093 Warsaw, Poland            //                 *
///////////////////////////////////////////////////******************

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

From: [email-masked] (Doug  Dejulio)
Subject: Re: Could TCP/IP be implemented over SCSI?
Date: 30 Sep 1994 19:28:36 GMT

In article <[email-masked]>,
myers_lincoln <[email-masked]> wrote:
>       I read in the SCSI FAQ that two SCSI hosts can share SCSI peripherals
>on the same bus.  Is it possible for these two hosts to send commands to each
>other?

Yeah, but it's not as simple as taking two SCSI computers and hooking
them up to each other.  You've got to make sure that no two devices on
the SCSI bus have the same address.  Often, the host adapters of two
computers will have the same address.  Sometimes this can't be
changed (eg. with cheap SCSI cards).  You've also got to make sure no
two disks in both systems have the same address, etc...

So, yeah, TCP/IP could be implemented over SCSI, but it's of dubious
value with network cards as cheap as they are.

-- 
Doug DeJulio
[email-masked]
http://www.pitt.edu/~ddj/

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

From: [email-masked] (Gordon Chan)
Subject: re; irc servers
Date: Tue, 27 Sep 1994 01:03:07 GMT

          last time I checked,  ftp to ftp-cs.bu.edu   and go to
/pub/irc ...
          it's quite general that it can run on many unix platforms ..
 there's a configure script that does it all for ya .... I got it
running .. both server and client ... on my linux box  at home ...

hope this helps

                                                  Gord J.C.

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

Date: Wed, 28 Sep 1994 21:13:02 +0100
From: [email-masked] (Peter Berger)
Subject: 1.1.51 seg fault on shutdown in _floppy_release

[email-masked] (David Miller) wrote:

 > : I got the same error yesterday evening. The routine
 > floppy_release
 > : is called by the umount code with NULL as second argument (filp)
 > : and dereferences that. I posted a fix yesterday evening on the
 > Kernel
 > : channel (something like: if(!filp || (filp->f_mode & 2)) ...).

 > If you look in your /var/adm/kernlog, you'll see a nice "OOPS" there
 > also, the code is referenceing a kernel NULL pointer :-) Thank god for
 > qmagic!

Following this thread a little late... (well, becomes really too much in these
groups.. ), I've been already waiting for some post pointing this out..

Thx, and
bye,
    Peter

e-mail: [email-masked]

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

Date: Thu, 29 Sep 1994 12:26:00 +0100
From: [email-masked] (Peter Berger)
Subject: Both fixes: No! Re: Err in _floppy_release only if mounted at boot

[email-masked] wrote:

 >  As Andries Brouwer ([email-masked]) already pointed out in an earlyer
 > message to this same thread, the fix for all these mount/unmount
 > problems is to replace the following line in floppy release
 >        if(filp->f_mode & 2)
 > with
 >        if( !filp || (filp->f_mode & 2))

 > [...]

Both fixes (I've seen another one, too) lead to the following here (at boot
time; it is reproducable; and!!! my "normal" v1.1.51 makes no problems - in
this relation..):

[...]
fsck.ext2: No such device while trying to open /dev/sdb1
  couldn't find valid filesystem superblock
fsck.ext2: No such device while trying to open /dev/sda1
  couldn't find valid filesystem superblock
/dev/hdb1 is clean, no check
[...]

I tried it several times. No other changes. Also did switch the whole box off.
It is definitely the change to floppy.c that leads to this..

(relevant, I think) Hardware:

- AT-Bus Controller w/ two IDE hard disks attached & floppy enabled!
- AHA1542B w/ 4 hard disc's, 2 SQ5110 and a streamer attached & floppy
  disabled!

I'd really like to have one more look at some of the postings here but
unfortunately a filter did "hit" me (it deleted all msgs. with "flop", "scsi",
"adapt" and "aha[12]" in the subject line... :-}, I did switch it off a little
late.. )

Seeing that the scsi hard discs (well, to two which should be automounted at
startup) are not recognized (right) when applying either of the patches
mentioned here, and having in mind that there's been some posting related to
probs with the AHA1542B, I guess there may be some relation..

Maybe this helps lighten up this 
"Adaptec?/shutdown/mount/floppy/etc.." mess.  :-}

bye,
    Peter

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

From: [email-masked] (Cameron Newham)
Subject: Re: Korn Shell '93 Now Available from AT&T
Date: Fri, 30 Sep 1994 06:07:51 GMT

[email-masked] (James E. McNalley) writes:

>: 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?

BASH doesn't have the DEBUG "fake" signal.  It would be nice to
have that.  I do believe it will be included in a future release tho'.

- cameron.

-- 
- "I'd find it more amusing to have my tongue beaten          [email-masked]
- waffer thin by a meat tenderiser and stappled to the        [email-masked]
- floor with a croquette hoop."                               [email-masked]
-                             - E. Blackadder.                Surfing the Net!

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

Subject: Re: Special Sale On QNX!
From: [email-masked] (jon m)
Date: 28 Sep 94 18:12:27 -0500

In article <[email-masked]>, Rob Janssen <[email-masked]> wrote:
>In <[email-masked]> [email-masked] () writes:
>
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&^^^^^^^^^^^^^^^^^
i feel silly, 'cause it's SOOO obvious from even looking at the
simple header that he didn't write this!!! (i sent him a letter
warning of impending flames & got the following response:

==================
From [email-masked] Wed Sep 28 14:54:14 1994
From: "Michael S. Scheidell" <[email-masked]>
Subject: Re: Special Sale On QNX!
To: [email-masked]
Date: Wed, 28 Sep 1994 15:52:32 -0400 (EDT)
Return-Receipt-To: [email-masked] (Michael S. Scheidell)
Organization: Florida Datamation, Inc
Country: USA
Phone: (407) 241-2966
Fax:   (407) 241-3108
Content-Length: 1222      
Status: RO

PLEASE READ THIS.  I DID NOT MAKE THAT POST!

This posting did not come from our office, but we are tracing it.
If you look carefully at headers you will find sites that don't exist, 
and see that it does not trace back to [email-masked].

We have a good idea of who it is and some admins are helping us trace it 
by comparing the posting on their machine to other postings.

If you have the time and ability to help us trace this, we can give you 
info on who is doing it and maybe try to pressure HIS site to drop him.

Again, I did not do this post, and we have taken great pains to avoid 
offending anyone, and to date this is my first flame, even if undeserved.

I thank those who looked at headers and saw it was a forgery, and look 
forward to a solution to this.

NOW TIME TO PAUSE AND PONDER:
Seems like every time I get too full of myself, someone helps to humble 
me and remind me, that I too am just a sinner saved by the grace of God.

NOW BACK TO BUSINESS:
ps, reply with subject line "hacker" to avoid auto reply.

--
Michael S. Scheidell                    Florida Datamation, Inc. 
[email-masked]                       (407) 241-2966
Distributers of QNX Real Time OS Products (finger for more info)
-- 
jon madison
oit consultant in training
"A year spent in artificial intelligence is enough to make one believe
in God."  -anonymous, from a fortune program on one of my accounts. :)

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

From: [email-masked] (Pete Kruckenberg)
Subject: Re: Which kernel suports two ethernet cards ?
Date: 1 Oct 1994 14:17:59 GMT

-- Mascaraque -- (imascara@bosco) wrote:
:  We have a Linux box as a file server (pcnfs server).
:  At the time we are writing this message we want to connect it to
:  other network so we need to install a second ethernet card.

:  We have the following cards:
:     WD 8013
:     WD 8003 / NE1000 / NE2000

:  Can anybody tell us the kernel we need ? ( we have read that some kernels do
:  not suport more than one card )

I've used two ethernet cards on 1.0.9 and later. I think that the
support has been there since 1.0. Read the Ethernet-HOWTO (available
on sunsite.unc.edu) for informationon how to set up the second
card. It basically involves a command on the LILO startup prompt.

  ------------------------------------------------------------------------
  Pete Kruckenberg                       School: [email-masked]
  University of Utah                       Work: [email-masked]
  Computer Engineering    For even more addresses, "finger [email-masked]"

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

From: [email-masked] (Pete Kruckenberg)
Subject: Re: Ip Adrress probs
Date: 1 Oct 1994 14:26:38 GMT

Jim Williams ([email-masked]) wrote:

:  Well I seem to have a problem here. I just got a full block of Ip 
: address from my provider. What the problem is that I cant seem to get the 
: other Linux box on the etho to see me when I use the ip address they gave 
: me. Here is the set up Linux 1.1.50 compiled with Ip forwarding enabled.

:   -------
:   -     - Internet Provider
:   ------- 199.86.32.100
:      |
:      | PPP Connect Modem
:      |
:      |                                The Block I was assigned was
:   -------                     199.199.16.*
:  |     |              
:  |     | 199.86.32.182
:  |       |  Iceworld.org
:   _______       
:      |        
:      | etho
:      |        
:    ______     
:   -    - other linux box
:    ------  199.199.16.50
:  
:   Now Is there any way that he can go out to the outside world without
: telneting to my machine? At this point he cant get to me. I was told that 
: there had to be a router in between the etho and my machine so that the 2 
: different address could see each other. Because they should be on the 
: same block showing that they are on a local net. All I want to do is be 
: able to go to the out side world with out telneting from the other box to 
: the one that has the modem on it. Then I will work on the dial up service 
: for the slip and ppp connects. Any help would be appriceated..

You need to do a few things. First, you need to enable IP forwarding
in your kernel if you're using any kernel after about 1.1.13. This is
one of the "make config" options.

Second, you need to set up some routing. On the gateway, you need to
set up a default route to the .100 address. You also need to set up a
route for your internal network.

On each machine (on your internal network), the default gw will be the
gateway machine's address (whatever that is).

Finally, you need to be able to tell your provider about your internal
network. This is most easily done with a static route at the provider,
which will identify the gateway machine as the next hop on the way to
your internal network. This is the easiest way, but not necessarily
the best. The best way is probably to run "routed" or "gated" and send
RIP updates to your provider from the gateway machine. However, this
takes some more work to get set up.

I would recommend an investment in O'Reilly's "TCP/IP Network
Administration", available at most (good) computer stores or technical
bookstores. It explains how to do all of this. You can also reach
O'Reilly via WWW or ftp to ora.com.

Good luck!

  ------------------------------------------------------------------------
  Pete Kruckenberg                       School: [email-masked]
  University of Utah                       Work: [email-masked]
  Computer Engineering    For even more addresses, "finger [email-masked]"

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

From: [email-masked] (Pete Kruckenberg)
Subject: Re: Need help (gated and parser.y problem)
Date: 1 Oct 1994 14:35:45 GMT

Lin Jyun-Naih ([email-masked]) wrote:

: Hi,

:    I got gated-R3_5Alpha_7 and tried to make it, but it failed in parser.y
:    Do I need to modify this file? (I use Linux system.)

:    I also set yacc to bison in Config file.

I had the same problem, and sometimes was able to get it working,
sometimes not. I didn't ever get the whole thing to successfully
compile. You can pick the binaries up from sunsite, though, which is
much easier than trying to get it to compile. The suggestions I got
from the guy who *does* get it to compiler were to upgrade my bash to
the latest (1.14, I think), upgrade to the latest net stuff (net3),
and try both yacc and bison.

If you do get this to compile, please let us know what you did.

Pete.

  ------------------------------------------------------------------------
  Pete Kruckenberg                       School: [email-masked]
  University of Utah                       Work: [email-masked]
  Computer Engineering    For even more addresses, "finger [email-masked]"

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

From: [email-masked] (Chris Origer)
Subject: ATI ULTRA + w/internal b-mouse
Date: 30 Sep 1994 19:55:54 GMT

Hi, has anyone gotten the mouse that comes with the ati ultra + working.
Its supposed to be ms inport compatible but nope, don't work. I tried
the atixl and regular ms drivers and none work. With all of them I keep 
getting invalid argument. The also don't show up in the boot messages (the
driver initializing the mouse). Its set to use irq 5 and the primary
addr range (23Ch to 23Fh). Could not find anyrhing in the how to either.
Any help appreciated.

Chris

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

From: [email-masked] (Doug  Dejulio)
Subject: Re: Could TCP/IP be implemented over SCSI?
Date: 30 Sep 1994 19:59:52 GMT

In article <[email-masked]>,
 <[email-masked]> wrote:
>Drive access conflicts are no problem... the drive will return a busy status
>until the first access completes and the Linux driver has auto retry on busy
>(Nice SCSI Driver Code) so the request will complete after the other machine
>finishes it's access to the device.... small performace hit.. but no huhu

Yes, huhu.  Think about how this will interact with disk caches.

-- 
Doug DeJulio
[email-masked]
http://www.pitt.edu/~ddj/

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

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