Subject: Linux-Development Digest #958
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:     Thu, 28 Jul 94 22:13:16 EDT

Linux-Development Digest #958, Volume #1         Thu, 28 Jul 94 22:13:16 EDT

Contents:
  Re: URGENT: Multiple SCSI problems with PAS 16. Anybody can help? (Rajat Datta)
  Re: help with garbled sockets: linux<->sun,hp-- (Ed Clarke)
  Re: bootpd hassles ("Stephen Davies")
  Booting from CD directory ? (Oliver Pabst)
  Re: Interest in a new (up to date) LaTeX dist.? (S.G. de Bruijn)
  Re: 1.1.36 make problem: 'NULL' undeclared (Johan Myreen)
  Re: Interest in a new (up to date) LaTeX dist.? (Don Garrett)
  129 key keyboards? (Andrew McGregor)
  SIGSYS:  supported anywhere? (Michael Castle)
  Re: Panasonic CD-ROM broke under >1.1.31 (Matthias Urlichs)
  Re: Q: Net Diagram &/or SNMP App for X11 (Dane Jasper)
  Hayes ESP suport (Kai Kretschmann)
  Q: Is the Adaptec VLB AHA SCSI controller supported now? (Eyal Lebedinsky)
  BSD filesystem support? (Garrett D'Amore)
  Long delays on starting lucid emacs (Andrew McGregor)
  Re: Networking very slow (Grant Edwards)
  1.1.36 breaks compilation of iBCS2 (Mike Jagdis)
  Re: threads in kernel (Elan Feingold)
  Re: Debugger breakpoints don't work under 1.1.32 (Darren Hiebert)

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

Crossposted-To: comp.os.linux.help
From: rajat@austin.ibm.com (Rajat Datta)
Subject: Re: URGENT: Multiple SCSI problems with PAS 16. Anybody can help?
Date: Thu, 28 Jul 1994 16:07:07 GMT

In article <1994Jul28.101208.3124@imag.fr>,
Yves Arrouye <arrouye@petole.imag.fr> wrote:
>llo,
>
>I have a lot of problems with SCSI with the PAS 16 driver (kernel 1.0.9 and
>1.1.36).
>
>My system is setup as follow: the SCSI cable goes from the card to
>a Sony CDU800 CD-ROM player (SCSI ID 5), then from the player to a Sun3  
>shoebox with a 150 Mb hard-disk (ID 0) and a 60 Mb streamer (ID 4). The  
>shoebox has an SCSI terminator.
>
>If I boot with the shoebox off, the system hangs, saying something about a
>SCSI command which had probably been completed before timeout (as far as I
>recall).
>  If I boot with the shoebox on and the cd-rom on too, the system prints the
>identification of the devices (CD-ROM last) and then hangs.
>  Only when I boot with the shoebox on and the CD-ROM off does the system
>work.
>
>Did anyone experience similar problems? Are there workarounds or patches? (I  
>am assuming that the SCSI patches available on archives are already applied in
>the 1.1.36 kernel. I am wrong?)
>
>Thanks in advance,
>Yves.
>
>(P.S.: if you could help before sunday, that would help me a lot, 'cause our
>mail system will be shut down for 10 weeks except next wednesday.)
>
>--

I've had a similar problem with my new PAS16 card.  Basically the problem with
my setup was that the multiple lun query's are returning an error, and for
some reason, the generic scsi code attempts to restart the i/o that caused the
error and the card or the CD-ROM never responds again.  I haven't had time to
sort this out exactly yet (I will do it soon) since the generic scsi code has
two simple workarounds.

The first is to compile scsi.c with the NO_MULTI_LUN flag turned on.

On newer kernels, the initializer code in pas16.c can make a call to set the
maximum number of luns (logical units) to 1.  The routine name is scsi_luns_setup()
in scsi.c.
-- 
rajat
rajat@austin.ibm.com
Opinions expressed above are mine and not IBM's.

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

From: clarke@watson.ibm.com (Ed Clarke)
Subject: Re: help with garbled sockets: linux<->sun,hp--
Date: Thu, 28 Jul 1994 16:59:17 GMT

In article <315rv3$php@progress.progress.com>, mendola@progress.com (Sergio Mendola) writes:
|> In article kht@constellation.ecn.uoknor.edu, parprods@hellcat.ecn.uoknor.edu (Dorwin Shields) writes:
|> I'm just taking a guess here, but it sounds like the problem is with byte 
|> ordering.  I'm not too familiar with HP and Sun architectures but I would 

It's worse than that; floats might not be binary compatible either.  If
there's an RPC library for linux, use that. The subroutine that you want
is xdr_double but there is also an xdr_float.  

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

From: "Stephen Davies" <scldad@sdc.com.au>
Subject: Re: bootpd hassles
Date: Tue, 26 Jul 94 21:42:06 PDT

As is all too frequently the case with Linux networking codes, there
are several versions of bootpd floating around. Some seem to work with
"old" kernels and some do not work anywhere.

There is a tar file on sunacm.swan.ac.uk called bootpd-210ab.tar.gz.
This is a version of bootpd ported and patched by Fred van Kempen
and then fixed by me to work with kernel levels of 1.1.27 +. Before
I patched it, it relied on assumptions regarding values set (or not
set) in header files. These header file values may have changed to
cause the problems that some people have had recently but I have no 
way of tracing that.

The problem as it stood a week or so ago was around lines 860-875
of bootpd.c where assumptions were made aboutthe default values of
sin_family values. By explicitly setting these values rather than
relying ondefaults, all my problems went away.

I have just rechecked the above version of bootpd with 1.1.35 and it 
works perfectly.

Cheers, Steve.

========================================================================
Stephen Davies Consulting                              scldad@sdc.com.au
Adelaide, South Australia.                           Voice: 61-8-2728863
Computing & Network solutions.                       Fax  : 61-8-2741015

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

From: olpa@stud.uni-sb.de (Oliver Pabst)
Subject: Booting from CD directory ?
Date: 28 Jul 1994 19:32:57 +0200

C
I have a booting linux disk and a CD where a complete Linux filesystem,
including kernel is written in the /live directory.
How can I tell LILO on the floppy disk that I want that fs to be mounted
as /.
OR how can I unmount fd0 from / and mount /dev/sbpcd iso9660 on / ?
Is there a swapmount command ? Or is it impossible ?

Please reply by mail since I cannot read these news all the time.
Thanx

 - Oliver.


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

From: debruijn@cs.utwente.nl (S.G. de Bruijn)
Subject: Re: Interest in a new (up to date) LaTeX dist.?
Date: Thu, 28 Jul 1994 21:03:59 GMT

Byron Faber (btf57346@uxa.cso.uiuc.edu) wrote:
: I am curious whether there is enough interest in a new up to date LaTeX 
: distribution?

: If enough people want one, I can put together a LaTeX distribution based
: on the June release standard of LaTeX 2e.

You can have mine as a place to start. It works pretty well, but
some things maybe are somewhat old... (web6.1, xdvik 1.5, dvipsk
5.526a, latex2e patch 2, latex 2.09, LOTS of contrib stuff,
eplain 2.4, lollipop 0.93 makeindex 2.12 and some more...)

It takes up some 41MB, some things even not unpacked...
and it is placed under the somewhat unstandard /Text/TeX (own
partition at my place...)

I do NOT have time to provide ANY support!!!

Greetings,
Steef
==============
S.G. de Bruijn              E-Mail: debruijn@cs.utwente.nl
Twente University of Technology, Dept. of Computer Science 
Enschede                                   The Netherlands
Phone: Work: +53 894191                   Home: +53 334812
=========================== @@ ===========================
signature: file not found

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

From: jem@snakemail.hut.fi (Johan Myreen)
Subject: Re: 1.1.36 make problem: 'NULL' undeclared
Date: 28 Jul 1994 20:36:31 GMT

In article <318h7p$6uc@VTC.TACOM.Army.Mil> wx8l@vtc.tacom.army.mil (Sean McCarthy) writes:

>I usually dont get involved in this, but per Linus:

>move the line  "#include <linux/timer.h>"

>down a few lines, so its the last "#include"

Or move the line to the bit bucket: simply delete it.  It is not
needed.

-- 
Johan Myrien
jem@vipunen.hut.fi
600 11' 55" N, 240 53' 30" E


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

From: dgarrett@orbit.cs.engr.latech.edu (Don Garrett)
Subject: Re: Interest in a new (up to date) LaTeX dist.?
Date: 28 Jul 1994 22:06:19 GMT

Michael Griffith (grif@tempest.ucr.edu) wrote:
: In article <318m8o$nf6@vixen.cso.uiuc.edu>,
: Byron Faber <btf57346@uxa.cso.uiuc.edu> wrote:
: >I am curious whether there is enough interest in a new up to date LaTeX 
: >distribution?
: >
: >If enough people want one, I can put together a LaTeX distribution based
: >on the June release standard of LaTeX 2e.

: You might want to also include web2c 6.1 (w/TeX 3.1415), xdvik-1.8,
: and dvipsk 5.55a.  It is nice to have the newest of everything.

  Hum.... latest AucTex for emacs would be nice to.... though it is
emacs specific.

  Hum... starting to sound to me like there is interest. Especially if
all the extra goodies are part of it. I would personally be very
appreciative. I've always had more trouble installing/configuring
TeX/LaTeX software (correctly) than anything! Even MS-Windows! ;>

--
Don Garrett                                                   Louisiana Tech
dgarrett@engr.latech.edu                                      University
                  http://info.latech.edu/~dgarrett/

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

From: physadm@phys.canterbury.ac.nz (Andrew McGregor)
Subject: 129 key keyboards?
Date: 26 Jul 1994 01:54:00 GMT

I have a machine with a 129 key keyboard, which works fine for most of
the keys, but pressing any of the extra keys produces strange effects;
it has 12 function keys. Press one, and 'Unknown scancode' goes into the
syslog.
Press some of the extra keys on the RH keypad and 'Keyboard error'
appears.
But, the diagonal arrow keys work.

Question: is there a patched kb.c that will drive this properly, or
should I write one?
-- 
Andrew McGregor,
Physics, University of Canterbury, Christchurch, New Zealand.
adm@phys.canterbury.ac.nz

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

From: mcastle@saucer.cc.umr.edu (Michael Castle)
Subject: SIGSYS:  supported anywhere?
Date: Mon, 25 Jul 1994 22:36:03 GMT


I am trying to port the okbridge client to Linux.  (This is an
online bridge game played over the internet, see rec.games.bridge
for more details).

The is a call to signal() that looks like:

signal (SIGSYS,  (signal_handler) system_call_error_routine);


SISGYS is undefined /usr/include/linux/signal.h.

In /usr/include/bsd/signal.h, it is defined:

#define SIGSYS     SIGUNUSED


SIGSYS is used to report "bad argument to system call"  

I'm using kernel 1.0.9 (from the slackware distribution).

Is SIGSYS supported in any later version of ther kernel, or is it
even necessary?

Would anyone expect that I would lose any function by #ifdefing
the call to signal() out?

Any suggestions would be useful.

For now I'm just going to #ifdef it out and see what happens.

thanks
mrc
-- 
Mike Castle .-=NEXUS=-.  Life is like a clock:  You can work constantly
  mcastle@cs.umr.edu     and be right all the time, or not work at all
   mcastle@umr.edu       and be right at least twice a day.  -- mrc
    We are all of us living in the shadow of Manhattan.  -- Watchmen

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

From: urlichs@smurf.noris.de (Matthias Urlichs)
Subject: Re: Panasonic CD-ROM broke under >1.1.31
Date: 28 Jul 1994 22:09:36 +0200

In comp.os.linux.development, article <1994Jul27.000944.4768@titan.westfalen.de>,
  johannes@titan.westfalen.de (Johannes Stille) writes:
> In article <312b26$1ao@smurf.noris.de> urlichs@smurf.noris.de (Matthias Urlichs) writes:
> >
> >Of course, the error is misleading -- mount(2) should return -EROFS and not
> >-EACCESS.
> 
> EROFS means that you're trying to write to a filesystem that is mounted
> read-only. While you're trying to mount the CD-ROM rw, there is no
> filesystem involved that is mounted read-only.
> 
Yes there is a filesystem involved -- the filesystem you're trying to
mount; presumably, the mount code of that file system will want to write
something like a dirty flag.

> It is much better compareable to opening a device read-write where you
> cannot write. I don't know any better approximation than EACCESS,
> although this usually means that the action is not allowed (as opposed
> to impossible).

Exactly. So, since EACCES is somewhat misleading, we shouldn't use a
legitimate error code for this, we should either invent our own or usurp
one that's a reasonable approximation.

Since other systems do reply with EROFS if you try this (just open /dev/fd0
O_RDWR, with write protect on, on either a Sun or a SVR? machine -- I don't
remember where I saw it) IMHO it's entirely reasonable.

-- 
W. C. Fields is alive and drunk in Philadelphia.
-- 
Matthias Urlichs        \ XLink-POP N|rnberg  | EMail: urlichs@smurf.noris.de
Schleiermacherstra_e 12  \  Unix+Linux+Mac    | Phone: ...please use email.
90491 N|rnberg (Germany)  \   Consulting+Networking+Programming+etc'ing     42

Click <A HREF="http://smurf.noris.de/~urlichs/finger">here</A>.

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

From: dane@nermal.santarosa.edu (Dane Jasper)
Crossposted-To: comp.os.linux.admin,comp.os.linux.help,comp.protocols.snmp,comp.unix.admin,comp.unix.aix,comp.unix.pc-clone.32bit,comp.unix.questions
Subject: Re: Q: Net Diagram &/or SNMP App for X11
Date: 28 Jul 1994 15:32:56 GMT

Thomas Gebert (tsgebert@cip.informatik.uni-erlangen.de) wrote:
: dane@nermal.santarosa.edu (Dane Jasper) writes:

: >I am looking for a free application to aid in diagramming and/or managing
: >networks.

: I think somthing nice for you would be tkined wich is a simple tk-based
: network-administration-tool. You can layout your network with icons and
: name/adresses of the node. You are also able to get ip- and
: snmp-informations if you are running an snmpd on that node.

Thanks - five people have mailed me saying to get tkined!  Archie is looking
for it right now.  Other things that were recommended were:

scotty
fremont
netman
etherman
packetman
nnstat

If anyone else has recommendations, please followup or email!

Thanks!

Dane Jasper

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

From: kai@kmk.rhein-main.de (Kai Kretschmann)
Subject: Hayes ESP suport
Date: Thu, 28 Jul 1994 19:13:34 GMT

Hello,

did  anyone already try  an  Hayes ESP  serial card  under  Linux?  It
should  be hardware compatible to   normal UART's with some functional
restrictions.  Full   features might   only   be available  by special
drivers, any experiences?
-- 
Kai Kretschmann,
  >>>   FidoNet:  2:2461/312, 21:491/1161, 16:100/6006   <<<
  >>>   Internet: kai@fix.kmk.rhein-main.de              <<<
  >>>   FAX/BBS:  +49-6172-305379                        <<<

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

From: eyal@fir.canberra.edu.au (Eyal Lebedinsky)
Subject: Q: Is the Adaptec VLB AHA SCSI controller supported now?
Date: 28 Jul 94 22:44:55 GMT

Hello Everyone,

I am about to get a VLB SCSI controller and would like to know the
status of the supported cards. This one (2842VL AHA) had some talk in
the past but I did not see a clear answer.


--
Regards
        Eyal Lebedinsky         eyal@ise.canberra.edu.au

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

From: garrett@athena.sdsu.edu (Garrett D'Amore)
Subject: BSD filesystem support?
Date: 26 Jul 1994 02:01:11 GMT

Just a quick question:

Is anyone out there working on BSD file system?  If so why not?
I have never done any true kernel hacking, but I am beginning to
think I it is time I did some -- and I think alot of people out
there would like to see a BSD fs supported.  I know I would!

Can the filesystem folks let me know, is there some really hard
technical reason why this hasn't been done yet, or can't be done
without extraordinary work?  (Obviously I haven't looked at the
sources for either the kernel fs stuff or ufs yet... ;^)

=================================================================
Garrett D'Amore                 |     garrett@sciences.sdsu.edu
Student Programmer/Analyst      |     SDSU College of Sciences
SDSU Computer Science Major     |     Physics Bldg., Room 238
=================================================================

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

From: physadm@phys.canterbury.ac.nz (Andrew McGregor)
Subject: Long delays on starting lucid emacs
Date: 26 Jul 1994 02:00:16 GMT

Hi, I'm seeing a 30 second delay during loading of lucid emacs 19.10,
when absolutely nothing seems to be happening. No disk activity, no CPU,
no changes in memory allocation. Other linux machines around don't do
this. What is going on?

Fault:  yes     no      no
CPU     AMD     INTEL   AMD
        486DX40 DX2-66  DX40
RAM     8Mb     16Mb    4Mb
kernel  1.0.8   1.1.18  1.0.8
                or 1.0.8
bios    Phoenix AMI     AMI

Also the machine with the problem is the only one with a 'green'
motherboard. I don't mind upgrading or writing code to fix this, but I
would like some hints as to where to look. 
-- 
Andrew McGregor,
Physics, University of Canterbury, Christchurch, New Zealand.
adm@phys.canterbury.ac.nz

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

Crossposted-To: comp.os.linux.help,comp.os.linux.misc,comp.os.linux.help
From: grante@reddwarf.rosemount.com (Grant Edwards)
Subject: Re: Networking very slow
Date: Thu, 28 Jul 1994 22:32:23 GMT

john@gab.unt.edu wrote:

: Hi, I've got a bit of a problem--my networking is extremely
: slow--telnet to machine can take up to 2 min to actually connect.
: It doesn't look as if the local net is overflowing with packets
: everywhere.  The 3c509 network card I am using is supposed to be a
: very quick card.

Once it's connected is it OK?  Does it take that long if you specify
an IP address rather than a name?  For example, does telnet 1.2.3.4
connect quickly?

If your answeres were yes-no-yes, then it's the name resolution that
takes so long.  What's probably going in that case is your nameserver
is kaput, and your system waits two minutes before giving up and
reading the /etc/hosts file.  You can tell it to read /etc/hosts first
by changing /etc/host.conf from:

  order bind,hosts
  multi on

to:

  order hosts,bind
  multi on

That way it will only query the nameserver if the host isn't found in
the /etc/hosts file.

--
Grant Edwards                                 |Yow!  What's the MATTER
Rosemount Inc.                                |Sid?..  Is your BEVERAGE
                                              |unsatisfactory?
grante@rosemount.com                          |

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

From: jaggy@purplet.demon.co.uk (Mike Jagdis)
Subject: 1.1.36 breaks compilation of iBCS2
Date: Wed, 27 Jul 1994 23:38:00 +0000

* In message <CtL57w.FoA@seneca.ix.de>, Harald Milz said:

HM> Due to changes in the process table, ibcs-950623 doesn't
HM> compile any longer.

Relax! There's no need to post to the entire net immediately. Just wiat a 
couple of days while I read the patch and make the changes. I've just put a 
new version (940727) on tsx-11.

                                Mike  
 

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

From: feingold@avette.zko.dec.com (Elan Feingold)
Subject: Re: threads in kernel
Date: 26 Jul 1994 22:21:38 GMT
Reply-To: feingold@avette.zko.dec.com (Elan Feingold)


>I have been seeing a lot of messages with people interested in seeing threads
>in Linux kernel. Well, development for one has already started. We'll let you
>know as and when results come in.

Wait -- what are they based on?  pthreads?  cthreads?  Who's doing it?

elan

--
===============================================================================
|| Elan Feingold                  || "Two of the most famous products of     ||
|| Software Engineer II           ||  Berkeley are LSD and Unix. I don't     ||
|| Digital Equipment Corporation  ||  think that is a coincidence."          ||
|| Work: 603.881.1115             ||                       - Anonymous       ||
===============================================================================

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

From: darren@hunan.rastek.com (Darren Hiebert)
Subject: Re: Debugger breakpoints don't work under 1.1.32
Date: Thu, 28 Jul 1994 22:39:46 GMT

fox@graphics.cs.nyu.edu (David Fox) writes:

>] I just noticed that gdb won't stop at breakpoints under version
>] 1.1.32.  I rebooted into 1.0.9 and they worked fine.
>
>I'd be interested to hear if anyone besides me has experienced
>this.  By the way, 1.1.23 works for me too, and 1.1.34 does
>not, but I can't speak about the ones between 23 and 32.

You can add me to the list of those for whom breakpoints no longer work.
I am running 1.1.33

-- 
============================================================================
Darren Hiebert                  "If I have not seen further, it is because
darren@rastek.com                   giants were standing on my shoulders."
============================================================================

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


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