Subject: Linux-Development Digest #911
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:     Wed, 13 Jul 94 09:13:10 EDT

Linux-Development Digest #911, Volume #1         Wed, 13 Jul 94 09:13:10 EDT

Contents:
  Re: SB CD-ROM (Hans de Hartog)
  Summary of: Q: a better "last" utility? (Fred Meyer)
  How to catch SIGSEGV? (Kenneth Wong)
  Re: Last cry for help with Linux and sound!! (Steffen R. Mueller)
  Re: XFree86 mach32 server hangs: any help? (Dave Perks)
  Bugs in 1.1.27 Makefiles (Mark Lord)
  Re: Amiga OFS/FFS support (Hamish Macdonald)
  sigcontext? (Sam Oscar Lantinga)
  Why no AFS? (Christopher A Fuchs)
  Status of writable HPFS? (Ron Pritchett)
  Re: Bug in patch 27 NFS include (Mark Evans)
  Re: aha1542cf only good at 8MHz CPU ?? (Eelco H. Essenberg)
  Re: Linux Performance Enhance ? (Orc)
  Re: [Help] How change IRQ on com3,4?? (David Kastrup)
  non SCSI CD-ROM (Panasonic) and Linux (Laurent BOUAZIZ)
  Re: [ANSWER] Linux seems to perform terrib (Andreas Helke)
  Re: Is XFree86 3.X from X11R6 ? (Dirk Hohndel)
  binutils-2.4 (ld,nm) under Linux (Basile STARYNKEVITCH)
  Re: Driver out for Xircom parallel-port ether adapter? (Russell Nelson)

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

From: dehartog@kwetal.comcons.nl (Hans de Hartog)
Subject: Re: SB CD-ROM
Date: 12 Jul 1994 19:40:16 +0100

Boris Pitel (scibp6p@panix.com) wrote:
|  Hi, everybody!
| I am learning UNIX pogramming on FreeBSD :)). What I am trying to do currently
| it is to write a driver for Sound Blaster CD-ROM. But the first barrier I met
|  on this way 
| is to find any programming info on how to control CD-ROM part of the SB card.
| I contacted Creaqtive Labs, and tech. support lady told me that she doesn't
| know where to get this information, that they, of course can sell me their
| "Developer's kit", but doesn't have any information on CD-ROM part of the board!How can it be, I am unable to imagine. The only useful thing the Creative Labs.
| tech. support gave me is that LINUX already has this driver?
|    Now after long introduction, the question :
|    Can anybody point me to the sources of this driver ( I hope it doesn't sound
| like : "Give me your money, maan!"::)), or if it is not possible to the
| programming info about Sound Blaster CDROM.
|    Do you think that porting a CDROM driver from LINUX to FreeBSD will be
| easier then just to write a driver from the scatch?
|    All opinions, information and advices will be appreciated.
|         Boris Pitel  

The drivers come with Slackware (1.2 but also an early version). I run the
16-bit version of the Creative Labs SB. The device is /dev/sbpcd.
Other drivers can be found at sunsite.unc.edu:/pub/Linux/kernel/cdrom
-- 
 _____________________________________________________________________________
 Hans de Hartog, dehartog@comcons.nl, Voice: +31 348033100, Fax: +31 348033181
 Committed Consultancy BV, Korenmolenlaan 1b, 3447 GG Woerden, The Netherlands 
 Home: dehartog@kwetal.comcons.nl, Voice/Data: +31 838038560, CIS: 100121,3301

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

From: frett@downtown.oche.de (Fred Meyer)
Subject: Summary of: Q: a better "last" utility?
Date: 12 Jul 1994 18:59:55 +0100

In article <184200002@glas>, Paul Makeev  <mac@glas.apc.org> wrote:
>Yes, i'm also interested in it. 
>[...]
>SY, Paul.


Ok, here's what i got from the net:

  The sources of the last-utility can be found at sunsite.unc.edu. 
  Look out for the following archives:

    sysvinit.tar.gz (for a System-V compliant last)
    util-linux-1.6.tar.gz (for a BSD-style last)

...i looked into the source (both, BSD and SysV) and found the implementation 
of the feature very easy (everything is already in there, but not printed out 
at the terminal).

Regards,
     Fred
-- 
Fred Meyer                | Phone: + 49-241-4097551
Kapuzinergraben 8         | eMail: frett@downtown.oche.de
52062 Aachen, Germany     |        fred@milenka.ltt.rwth-aachen.de 

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

From: ypwong@ie.cuhk.hk (Kenneth Wong)
Subject: How to catch SIGSEGV?
Date: Tue, 12 Jul 1994 13:07:01 GMT

It may be a bit off-topic (but I don't know where to post), but I think
that due to reentrancy, my program which displays images frame by frame
and may do seg faults (with faulty input) can't be caught with signal.

I come by using atexit to point to the put image function and use exit
in the signal handler. But I found that this only works if
singal(SIGSEV,handler) appears in both the handler and the put image
function. How come? Thanks in advance.
--
Kenneth Wong
ypwong@ie.cuhk.hk

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

From: steffen@laguna.schiele-ct.de (Steffen R. Mueller)
Crossposted-To: alt.os.linux,comp.os.linux,comp.os.linux.help,comp.os.linux.mis
Subject: Re: Last cry for help with Linux and sound!!
Date: 12 Jul 1994 22:52:53 GMT

: I have tried recompiling the kernal NUMEROUS times to support sound.

Did you check that there was no IRQ conflict between the sound hardware and
the SCSI adapter ?
I myself had similar problem when it came to make my SB pro card running in
conjunction with a Mitsumi LU-005 CD Rom drive. 
Very important : Don''t use hex 220 as base address for a Gravis ultrasound
card when there was given the option to install a SB.

In case you have installed ethernet equipment there is also a chnage for
conflicts.

: This is being done on a 386 machine with an ethernet card hooked into a small
: local network with one of the computers on the internet - if that helps any.
: Linux works fine before I try to get the sound support.

check for the ethernet card... that was what caused the problems here !

I set it to IRQ 15 and base address 240 !

Works fine now !

Bye

Steffen

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

From: dperks@gandalf.ca (Dave Perks)
Crossposted-To: comp.os.linux.help
Subject: Re: XFree86 mach32 server hangs: any help?
Date: 12 Jul 1994 17:51:36 -0400

arrouye@petole.imag.fr (Yves Arrouye) writes:

>I tried the XFree86 mach32 server with an ATI Ultra Pro card. Everything is  
>fine except when one has windows with different color palettes in them: if one  
>switches windows something like 10 times, the server suddenly hangs and the  
>machine has to be rebooted.

    I have the same problem.  The machine appears completely dead.  It doesn't
    even respond to pings.  Syncs don't appear to be happening either, no hard
    disk light flickers. The only way out is the red button, then wait and
    pray that the 500Mb EXT2FS survives without a reload.  (So far it has,
    good job there Remy!)  BTW the only program I've had the problem with is
    XV.
-- 
Dave Perks              | dperks@gandalf.ca        | 73230.2156@compuserve.com
Gandalf Data Limited    | TEL 1-613-723-6500 x8765 |---------------------------
Nepean, Ontario, Canada | FAX 1-613-226-1717       | Soren Kierkegaard says
   "Life can only be understood backwards; but it must be lived forwards."

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

From: mlord@bnr.ca (Mark Lord)
Subject: Bugs in 1.1.27 Makefiles
Date: 13 Jul 1994 00:39:15 GMT

The 1.1.27 kernel has a few peculiarities in the Makefiles.
These will need fixing before it is ready for prime time..

1. net/Makefile tries to make unix.o before cd'ing to ./unix to make unix.o.
This seems to work for 'make' but fails for 'make -j 3'.. bad rule in Makefile.

2. The drivers for de600 and de620 get recompiled every time make is run,
even though they have not changed since the last make.

3. A couple of other files compile with warnings.. drat.. I didn't save the msgs
-- 
mlord@bnr.ca    Mark Lord       BNR Ottawa,Canada       613-763-7482

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

From: Hamish.Macdonald@bnr.ca (Hamish Macdonald)
Subject: Re: Amiga OFS/FFS support
Date: 12 Jul 1994 22:11:05 GMT

>>>>> On 09 Jul 1994 16:07:13 EST,
>>>>> In message <jdrumm.773788033@BIX.com>,
>>>>> jdrumm@BIX.com (jdrumm on BIX) wrote:

jdrumm> Although having a OFS/FFS filesystem would be great for
jdrumm> accessing Amiga SCSI disks...

I do this all the time with Linux/68k.

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

From: slouken@cs.ucdavis.edu (Sam Oscar Lantinga)
Subject: sigcontext?
Date: Wed, 13 Jul 1994 00:40:41 GMT


        A while back I was trying to port XINU to Linux, 
and got stuck with the context switching code that XINU used,
which relied upon the BSD features of sigcontext and signal().

Will this ever be worked into the Linux kernel?
Does anybody know the specifics of how sigcontext works, so
that maybe I could work it into the kernel?  (virgin kernel
hacker here.  :-)

Thanks!

        -Sam            (slouken@cs.ucdavis.edu)


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

From: cfuchs@athena.mit.edu (Christopher A Fuchs)
Subject: Why no AFS?
Date: 13 Jul 1994 05:09:28 GMT

Hi, I don't know too much about the Linux development effort, but I
was wondering why Linux does not have AFS support?  I've read
a million times that it doesn't, but nowhere does it mention _why_.
Also, is there any development effort going on to change this?

Thanks in advance,

       Chris

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

From: pritchet@usceast.cs.scarolina.edu (Ron Pritchett)
Subject: Status of writable HPFS?
Date: 12 Jul 1994 16:02:29 -0400

I was wondering if HPFS partitions will be writable at some
point in the (near) future? Can someone give me an update
on the status of this?



-- 

---
+============================================================================+
| "They say I'm lazy, but it takes all my time...                            |
|  Life's been good to me so far!"     -Joe Walsh                            |
|----------------------------------------------------------------------------|
|  Ron Pritchett                 Internet: pritchet@usceast.cs.scarolina.edu |
|  * Team OS/2 *                  FidoNet: Ron Pritchett (1:376/74.0)        |
|  * Linux Nut *                                                             |
|                       <<Finger for PGP Public Key>>                        |
+============================================================================+

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

From: evansmp@mb52112.aston.ac.uk (Mark Evans)
Subject: Re: Bug in patch 27 NFS include
Date: Tue, 12 Jul 1994 17:41:33 GMT

Alan Cox (iialan@iifeak) wrote:
: In article <1994Jul10.054247.10778@unlv.edu> ftlofaro@unlv.edu (Frank Lofaro) writes:
: >Notice the 16834 above. Shouldn't that be 16384? :)

: Noted, and harmless. You can set it to about 62K if you really want but I
: doubt anything on your network would be too impressed.

: Alan


Unless someone has some "super network" which will accept unfragmented
*maximum* size IP datagrams :-)

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

Crossposted-To: comp.os.linux.help,comp.periphs.scsi
From: essenber@dutiws.twi.tudelft.nl (Eelco H. Essenberg)
Subject: Re: aha1542cf only good at 8MHz CPU ??
Date: Wed, 13 Jul 1994 08:55:19 GMT

In article <2vtfs0$1iku@obelix.uni-muenster.de>,
Karsten Steffens <steffens@qgp.uni-muenster.de> wrote:
>Hello,
>       with my newly acquired adaptec aha1542cf I encounter a very strange
>problem, which occurs both in my 486/33 VLB and my 386SX/25 ISA in the same
>way. It also happens with kernel 1.0.9 and 1.1.27:

I won't claim to be an expert on the subject, but I run an aha1542cf in a
386DX25 ISA. It has been running without a single flaw since I installed it.
I used kernel versions 0.99.14, 1.0 and 1.1.19 with it.
>
>- when the CPU is set to HIGH speed in any of the machines (33MHz/25MHz)
>  the adaptec fails to initialize saying something like:

I can barely remember how to set my CPU to slow :-)
>
>       "interrupt received, but no mail", then it tries to reset scsi target 
>        0, i.e., the controller.

This seems strange: in my case the controller has scsi-id 7, whereas my first
harddisk has id 0. I understood that (at least for MSDOG) if you want to boot
off your scsi hd your boot disk needs to have id 0. I would suggest you try
this id combination instead of the one you're using now... maybe it will solve
you problem.
>
>        some seconds pause
>
>        then I get a kernel panic saying: "Unable to find free mailbox for
>       AHA1542.", and the machine is stuck. No devices are detected.
>
>- when the CPU is running at LOW speed, i.e, 8MHz on both machines,
>  the adaptec initializes fine, detects the scsi-tape-drive and is fully
>  operational and functional.

Hmm, weird. Ignore the above, I was assuming you were running a harddisk off
your scsi controller...
>
>So my idea is that the problem is concerned to bus speed. BUT: I run both
>machines at conservative values, i.e., 8MHz bus clock, and the DMA also
>is at 3.96MHz and 4.12MHz respectively (those are the values from amisetup).

Bus clock should be about right, but have you checked the what DMA rates your
*controller* can handle? I could be wrong, but I seem to recall those start
around 5MB/s. You can find this in the SCSIselect menus (ctrl-A at boot time).
>
>Conclusion (?): the adaptec is somehow being overrun during initialization
>phase. In special, in self-test mode it is working okay in both machines
>even at high clock: it can correctly talk to the connected device then. But
>not with linux. 
>
>As I'm not very experienced in kernel and scsi-driver-hacking, I desperately
>need a hint (or even better a patch ;-), what gives the adaptec more time
>to initialize when the machine is running fast. It looks as if it does not
>react fast enough after an interrupt occurs (...interrupt received, no mail...)
>I tried to read and modify aha1542.c, but no luck yet.
>
>BTW, the SCSI-HOWTO mentions the "no mail" problem; but it looks as if my
>"no mail" problem is somehow different - I tried several different cables,
>the presence and settings of the adaptec's bios has no influence. Only running
>at low CPU speed helps. For the moment (tape only) I can stand the problem,
>I have to reboot the machine at low speed for backups. But as I plan to
>connect a HD some day in near future, I would be lost with the current problem.
>

It might not do you any good, but check the host id's anyway. Unless you changed
anything the controller's default id is 7. I know that several OS's expect to
find a harddisk on id 0 (don't know about Linux though).

>Thanks a lot in advance,
>       and best regards
>               Karsten
>
Good luck!

Eelco.


-- 
==========================< Eelco Essenberg >===============================
E.Essenberg@TWI.TUDelft.NL                            ftp@ftp.twi.tudelft.nl
                      FTP Manager: ftp.twi.tudelft.nl
   <a href=http://www.twi.tudelft.nl/People/E.Essenberg.html>Click me!</a>

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

From: orc@pell.com (Orc)
Subject: Re: Linux Performance Enhance ?
Date: Wed, 13 Jul 1994 08:15:14 GMT

In article <CsuMMo.49F@pe1chl.ampr.org>, Rob Janssen <pe1chl@rabo.nl> wrote:
>
>Ok ok...  I admit that my piece of code was not the same as the original.
>So here is a re-try.  It uses no goto at all, generates the same or better
>code as Matthias's version, and it also uses a feature of the C language
>that is not well-known...
>
>static int try_to_free_page(int priority)
>{
>   int i = 5;
>   static int what = 0;
>
>   switch (what)
>   {
>       while (i--)
>       {
>       case 0:

   [...]


   You want to put a Duffs Device into the kernel?


   Urk.


   BTW, I tried putting the original patch into my 1.1.18 kernel
yesterday, and found some interesting behavior: when I loaded the
machine to the point where it would swap, I'd see (16mb core) about
3 meg on swap while 7 meg remained used by buffers.  I didn't see
many performance differences from the old try_to_free_pages, either.

                 ____
   david parsons \bi/ orc@pell.com
                  \/

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

From: dak@messua.informatik.rwth-aachen.de (David Kastrup)
Subject: Re: [Help] How change IRQ on com3,4??
Date: 13 Jul 1994 10:14:17 GMT

bart@dunedin.es.co.nz (Bart Kindt) writes:

>Hay,
>How do I change the IRQ's for com3 and com4? I have set the cards for irq5 and 
>irq2, but the Kernel, during boorup tells me (or is looking for) irq3 and 
>irq4, which are already in use by com1 and com2.
>Accoring to some documentation here, the kernel was supposed to be set up for 
>irq5 and 2... but that is not the case.
>Where in the source code can I force the kernel to use above irq's?
>Also, is it okay to use IRQ2, as it is 'cascade'?
Last question first: should be ok to use IRQ2 as long as no other uses it.
Beware, though, that IRQ2 on the bus is really   IRQ9 to the processor
(this is the cascade thing) as long as you have an AT or upward (rather
probable if you're running Linux :^) ).

The other question is best answered with RTFM, and just in case you do not
know which (and I have to admit it is getting an art to find the right
information, which almost always is *someplace*), try
man setserial

Putting appropriate setserial s into /etc/rc.d/rc.local is the way to go,
rather than fouling up kernel sources (which will not survive to the
next kernel version, anyway).
-- 
 David Kastrup        dak@pool.informatik.rwth-aachen.de          
 Tel: +49-241-72419 Fax: +49-241-79502
 Goethestr. 20, D-52064 Aachen

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

From: bouaziz@asterix.enpc.fr (Laurent BOUAZIZ)
Subject: non SCSI CD-ROM (Panasonic) and Linux
Date: Wed, 13 Jul 94 10:19:03 GMT

Is there soft that would allow me to listen my CD's on a Panasonic (CR-562B)
CD-ROM. Workman seems to require SCSI support.
Please email any answer.
Thanks.



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

From: andreas@orion.mgen.uni-heidelberg.de (Andreas Helke)
Subject: Re: [ANSWER] Linux seems to perform terrib
Date: 13 Jul 1994 11:00:37 GMT

Tor Arntsen (tor@spacetec.no) wrote:
: In article 95j@sun0.urz.uni-heidelberg.de, andreas@orion.mgen.uni-heidelberg.de (Andreas Helke) writes:
: >Tor Arntsen (tor@spacetec.no) wrote:
: [...]
: >: Sounds like something that should go into the 1.0x kernel as well..
: >
: >You did not understand what a stable kernel is. Nothing will change in

: Please don't tell me what I understand or not.
: As far as Linux kernels are concerned I have been running them on several machines 
: (in my job) since the spring of '92, and I *think* I have an idea of what a stable
: kernel is and is not.. 
: Not that it matters much in this case, the point is that an appropriate response to
: suggestions like the one I came up with should really be 
: "I don't agree with you, because of..", which, of course, is fair enough.

There are two different meanings for stable. The first is the code will not change
at all. The 1.0 kernel has reached this state with 1.0.9. I do not expect any more
changes in the 1.0 source tree. The other meaning of stable is working properly with
no crashes or other nasty surprises. In this respect the 1.1 kernel is much more
stable for me than the 1.0 kernel.

Andreas
--

Andreas Helke

Institut fuer molekulare Genetik, Universitaet Heidelberg
Im Neuenheimer Feld 230 
69122 Heidelberg, Germany

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

From: hohndel@aib.com (Dirk Hohndel)
Subject: Re: Is XFree86 3.X from X11R6 ?
Date: Tue, 12 Jul 1994 17:30:39 GMT

javet@didec30.epfl.ch wrote:
:  Hello,


:  Could someone tell me what's in XFree86 3.X ? Is the X11R6 version or what ?
:  If not, what's new ?


It's X11R6 based. At this point of time I don't know what new features
will be supported, but I expect S3-864/964 support for some boards and a
few other new servers like P9000 and a few SVGA ones.

        Dirk

-- 
Dirk H. Hohndel <hohndel@aib.com>                 Phone: (703) 430-9247  
AIB Software Corporation                          Fax:   (703) 450-4560 
46030 Manekin Plaza, Suite 160, Dulles, VA 20166

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

From: basile@rosser.soleil.serma.cea.fr (Basile STARYNKEVITCH)
Subject: binutils-2.4 (ld,nm) under Linux
Date: 12 Jul 1994 17:39:21 GMT


Did someone manage to make GNU binutils-2.4 work under Linux?  I did
compile (with default configure -v --prefix=/usr) it but the resulting
ld didn't work (something like m486 (or perhaps 386) emulation not
found - I don't remember the exact message - it is curious since I have a
486DX2/66). Also, the resulting nm dumps core.

Machine : 486DX2/66 with Orchid Motherboard, 20Mb RAM, 420+240+240 Mb disks
Kernel: Linux 1.1.27 (ie the latest) or 1.1.25
compiler: Gcc-2.5.8

Basile STARYNKEVITCH   ----  Commissariat a l Energie Atomique
DRN/DMT/SERMA * C.E. Saclay bat.470 * 91191 GIF/YVETTE CEDEX * France
fax: (33) 1- 69.08.23.81;    phone: (33) 1- 69.08.40.66
email: basile@soleil.serma.cea.fr;  homephone: (33) 1- 46.65.45.53

Linuxing at home only


N.B. Any opinions expressed here are solely mine, and not of my organization.
N.B. Les opinions exprimees ici me sont personnelles et n engagent pas le CEA.
--

Basile STARYNKEVITCH   ----  Commissariat a l Energie Atomique
DRN/DMT/SERMA * C.E. Saclay bat.470 * 91191 GIF/YVETTE CEDEX * France
fax: (33) 1- 69.08.23.81;    phone: (33) 1- 69.08.40.66
email: basile@soleil.serma.cea.fr;  homephone: (33) 1- 46.65.45.53


N.B. Any opinions expressed here are solely mine, and not of my organization.
N.B. Les opinions exprimees ici me sont personnelles et n engagent pas le CEA.

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

From: nelson@crynwr.crynwr.com (Russell Nelson)
Subject: Re: Driver out for Xircom parallel-port ether adapter?
Date: 13 Jul 1994 01:06:08 GMT

In article <Csspv5.n3F@news.cv.nrao.edu> juphoff@tarsier.cv.nrao.edu (Jeff Uphoff) writes:

   So, since the D-Link drivers won't work, has anyone been working
   on/created a driver for the Xircoms?

How?  Xircom doesn't document their hardware.  You could
reverse-engineer it, but why bother?  Other manufacturers are happy to
disclose how their hardware works.

--
-russ <nelson@crynwr.com>    http://www.crynwr.com/crynwr/nelson.html
Crynwr Software   | Crynwr Software sells packet driver support | ask4 PGP key
11 Grant St.      | +1 315 268 1925 (9201 FAX)  | What is thee doing about it?
Potsdam, NY 13676 | LPF member - ask me about the harm software patents do.

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


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