Subject: Linux-Development Digest #840
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:     Fri, 17 Jun 94 15:13:09 EDT

Linux-Development Digest #840, Volume #1         Fri, 17 Jun 94 15:13:09 EDT

Contents:
  Re: IDE PERF. PATCH SECURITY HOLE (Colin Plumb)
  problems with kernel-modules (christopher_drexler)
  Re: ELF and COFF (Ken Pizzini)
  Re: PCI Motherboards & Cards (Rob Janssen)
  Re: Linux and symmetrical multiprocessing (Rob Janssen)
  Re: DOSEMU and Novell (Rob Janssen)
  Re: please help me... (Rob Janssen)
  Re: AD Driver (20MHz) finished, what are the next steps?? (Rob Janssen)
  Re: problems with kernel-modules (luca@genova.world)
  Re: IDE PERF. PATCH SECURITY HOLE (Alan Cox)
  Re: DOSEMU and Novell (Alan Cox)
  Re: problems with kernel-modules (Alan Cox)
  Re: Looking for Exodus Storage Manager. (Mark A Fleming)
  Re: assembly language & Linux (ATTN!) (Anthony Lovell)
  Re: loop-2 status? (Matthias Urlichs)
  1.1.19 + AHA-1542C = kernel panic... :-((( (Ralf G. R. Bergs)

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

From: colin@nyx10.cs.du.edu (Colin Plumb)
Subject: Re: IDE PERF. PATCH SECURITY HOLE
Date: 16 Jun 1994 23:28:13 -0600

In article <2tknm9$ise@apollo.west.oic.com>,
Matthew Dillon <dillon@apollo.west.oic.com> wrote:
>    This isn't really a security hole... *NO* disk device should be
>    world accessible for reading or writing.  chmod your disk devices 
>    600 or setup a special access group and chmod them 660.  
>    For example:

It is possible and conceivable to "give" someone a partition to play
with.  Obviously, it doesn't contain Linux data, but it could be used
to develop a file system, and some large database packages like to
be given a raw partition to play with rather than a file, because they
can schedule things better.

You're right it's a security hole if the partition contains a file system
with anyone else's files on it, or swap space, or the like, but there
are (admittedly unusual) possibilities.
-- 
        -Colin

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

From: chris@ludlow.franken.de (christopher_drexler)
Subject: problems with kernel-modules
Date: 16 Jun 1994 16:09:44 GMT


my system: 486/50, 16mb ram, 8mb swap, kernel 1.1.18, modutils-0.99.15


I'm trying to develp an interrupt-driven device-driver so i was very glad
about the possibility to insert and remove the driver at runtime.

it happend that insmod found some 'unresolved externels' when inserting
the driver, so i examined the kernel-symbol-table which is read by insmod.
i found out that some symbols, which are not in this list, may be used, while
others may not.

example: 'irqaction' not usable
         'interruptible_sleep_on' not usable

         'outb_p' usable

when using the upper two, insmod sais: '_irqaction undefined'

questions: (1) are there any rules for using symbels defined in the kernel ?
           (2) are there differences between compiling drivers into the kernel
               and inserting the driver with modutils ?


chris


+-----------------------------------------------------------------------------+
| Christopher Drexler     Snail: Gerh.-Hauptmann-Str. 1/II, 91058 Erlangen    |
|                         Phone: +49-9131-304355                              |
|                         Email: chris@derry.franken.de                       |
+-----------------------------------------------------------------------------+
 

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

From: ken@coho.halcyon.com (Ken Pizzini)
Subject: Re: ELF and COFF
Date: 17 Jun 1994 05:18:46 GMT

In article <2tqs4n$lpu@pollux.usc.edu>,
Limin Yan <liminyan@pollux.usc.edu> wrote:
>when I rebuild the kernel, it asks if I want program binaries in ELF
>and COFF, what are ELF and COFF, how  they related to LINUX

ELF and COFF are two different formats for executable files.
As I recall SCO uses COFF and System V.4 uses ELF.  These are
in addition to the a.out format that Linux currently uses as
its native format.  By enabling support for these other formats
in the kernel you get at least part way to binary compatibility
with these other Unixoid OSes.  Also there is some sentiment in
the compiler-support community that ELF is a better basis for
executable (details mainly relating to debugging support), and
there is some talk about making ELF the Linux native format in
the future.

                --Ken Pizzini

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

From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: PCI Motherboards & Cards
Reply-To: pe1chl@rabo.nl
Date: Thu, 16 Jun 1994 21:31:03 GMT

In <1994Jun15.192852.235@edgtech.demon.co.uk> kch@edgtech.demon.co.uk (kch) writes:

>Has Linux been run on PCI motherboards?

>I am looking at getting an Intel 60Mhz Pentium PCI board and need to know if
>Linux works on it before purchase.

>Additional cards are ATI Mach 32 PCI video card and a PCI single chip SCSI
>controller (NEC I think). Will these work?

Please read the charter of the newsgroup before posting..
(don't feel personally offended, but more and more people are asking
'will my hardware work with linux, and if not: when' on the DEVELOPMENT
group!)

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   rob@pe1chl.ampr.org           |
| e-mail: pe1chl@rabo.nl     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

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

From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: Linux and symmetrical multiprocessing
Reply-To: pe1chl@rabo.nl
Date: Thu, 16 Jun 1994 21:34:48 GMT

In <2tntkd$qsb@sun.cais.com> ericy@cais.cais.com (Eric Youngdale) writes:

>In article <2tkmju$a5d@bigblue.oit.unc.edu>,
>Jonathan Magid <jem@bittyblue.oit.unc.edu> wrote:
>>Ah ha! Just as I always suspected, "Alan Cox" is a codename for the entire
>>computer society!
>>
>>Now if we can just figure out the organization which lurks behind the 
>>nom-de-compute "Eric Youngdale".

>       I need to get a life.  Perhaps I should say that we need to get a 
>life :-).

You probably have to go on a world tour to show the folks that you really
exist...

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   rob@pe1chl.ampr.org           |
| e-mail: pe1chl@rabo.nl     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

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

Crossposted-To: comp.os.linux.help
From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: DOSEMU and Novell
Reply-To: pe1chl@rabo.nl
Date: Thu, 16 Jun 1994 21:47:26 GMT

In <2tob0g$gm7@blackbird.db.erau.edu> andersoa@news.db.erau.edu (Andrew Anderson) writes:

>I have gotten DOSEMU to allow me to telnet into my Linux box and
>login to my Novell file server.  However, DOSEMU appears to be hard-
>coded somewhere to use the eth0 network device.  I did a grep on all
>of the source code to DOSEMU, and changed all references to the eth0
>device, but it will not talk to eth1.

No, that isn't going to cut it...
I will look into supporting eth1 soon.

>I need to have DOSEMU run on 2 different cards, because the netx client
>will give me a security breach if 2 users try to login from the same
>ethernet hardware address.  I have asked the novell group if vlm's fix
>this (like the OS/2 requestor), but no one has replied.  I really need
>to have the ability to run multiple DOSEMU sessions into my Novell
>server, so any pointers are appreciated!

It would not be reasonable to use a 2nd card only for that purpose,
wouldn't it?
Indeed what I would like to know is how one can setup multiple sessions
from a single machine (with a single ethernet address).  Once that is
known, I could add the support required for it in the dosemu packet
driver, if support is required there.

>Also, while on the subject of DOSEMU, can anyone tell me where to start
>looking for the code that updates the screen during a telnet session?
>I have noticed that the top half of the screen works pretty well, but
>DOSEMU doesn't want to update the bottom half of the screen if it doesn't
>have to.  Or is this being worked on in the new release that others
>have said is due out "RSN"?

Yes, it now works okay (at least it did last time I checked.  the screen
update code is the subject of much debugging and tweaking...)

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   rob@pe1chl.ampr.org           |
| e-mail: pe1chl@rabo.nl     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

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

From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: please help me...
Reply-To: pe1chl@rabo.nl
Date: Thu, 16 Jun 1994 21:48:49 GMT

In <CrGvwr.EJD@acsu.buffalo.edu> qizeng@acsu.buffalo.edu (Qi Y. Zeng) writes:

>Dear Netters:

>I partitioned my 240 MB HD into
>2 parts with 120 MB each. One
>part is for DOS and Wins while 
>another is for linux.

>Because I have a project which
>needs more space, I want to purge
>Linux for the time being and use
>that space as, for example, drive D.

>Could you tell me howw to do it?

Delete the partition with Linux fdisk, reboot to DOS, type "fdisk /mbr"
to get rid of LILO, and then create a secondary partition using DOS
fdisk and format it.

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   rob@pe1chl.ampr.org           |
| e-mail: pe1chl@rabo.nl     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

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

From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: AD Driver (20MHz) finished, what are the next steps??
Reply-To: pe1chl@rabo.nl
Date: Thu, 16 Jun 1994 21:55:05 GMT

In <UFRPBXMH@math.fu-berlin.de> mielke@omega.physik.fu-berlin.de (Bernd Mielke) writes:

>Hallo,


>Today I finished the work on a driver for an ADC (12 bit 20MHz) with parallel
>photoncounting(300 MHz counting rate). I think it as good board, so I would 
>like to make the driver publically available.
>So I would like to know, what is the standard way for doing this.

- Upload it to sunsite.unc.edu and/or tsx-11.mit.edu, in their "Incoming"
  directories.

- send a mail message to the maintainers of these sites as detailed in
  the readme files found there.

- write an announcement that you uploaded it (on comp.os.linux.announce)

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   rob@pe1chl.ampr.org           |
| e-mail: pe1chl@rabo.nl     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

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

From: luca@genova.world
Subject: Re: problems with kernel-modules
Date: 17 Jun 1994 07:12:59 GMT

>it happend that insmod found some 'unresolved externels' when inserting
>the driver, so i examined the kernel-symbol-table which is read by insmod.
>i found out that some symbols, which are not in this list, may be used, while
>others may not.

This has happened also to me but then thanks to the author of this
very useful package i found the problem.
In the kernel directory of the kernel source files tree there is a
file called "ksyms.c" where the symbol table for the kernel is
defined. If the routine you use are not listed in the "symbol_table[]"
array of structures you moudules is not able to find them. 
So go there and add the routine you plan to use in your driver.

Remeber to never compile as executable but only as object file; the 
"ld -r" does not work to me to produce an object.


=======================================================================
Luca Stagnaro                             Work : luca@wd.estec.esa.nl
European Space Agency                     Voice: (31) 1719-8-4667
Keeplerlaan 1                             FAX  : (31) 1719-8-4295
Noordwijk
THE NETHERLAND
=======================================================================


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

From: iiitac@uk.ac.swan.pyr (Alan Cox)
Subject: Re: IDE PERF. PATCH SECURITY HOLE
Date: Fri, 17 Jun 1994 12:27:48 GMT

In article <c9108932.771832337@sage.newcastle.edu.au> c9108932@sage.newcastle.edu.au (Simon Ferrett) writes:
>rob@pe1chl.ampr.org (Rob Janssen) writes:
>
>>In <1994Jun14.174453.28689@unlv.edu> ftlofaro@unlv.edu (Frank Lofaro) writes:
>
>>>NO ONE BUY A SEAGATE 1239A. ITS CRAP! (it even got bad sectors, yeah,
>>>on an IDE drive (!), after only one year!)
>
>>I have enough experience with Seagate ST-225's and ST-238's to not even
>>consider buying any product from this company the rest of my life....
>
>I have a seagate ST3655A and it works absolutely fantastically...
>I dont think seagate is a bad compay at all - maybe you just made a couple
>of bad choices?
>
If so he isnt the only one.

Alan, also a non seagate buyer


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

Crossposted-To: comp.os.linux.help
From: iiitac@uk.ac.swan.pyr (Alan Cox)
Subject: Re: DOSEMU and Novell
Date: Fri, 17 Jun 1994 12:33:18 GMT

In article <CrJH7z.KH@aston.ac.uk> evansmp@mb52112.aston.ac.uk (Mark Evans) writes:
>This depends on what the SERVER is happy with. However I belive it is
>the case that NT can actually do this. Not sure how it does it though,
>possibly you need a NLM loaded on the server for it to allow a multi-
>user client.

Na.. its not that hard. What you have to do is make your Linux machine a 
network not a host. Then you have 2^47 different machines on your internal
network - that should be adequate I hope.

Alan



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

From: iiitac@uk.ac.swan.pyr (Alan Cox)
Subject: Re: problems with kernel-modules
Date: Fri, 17 Jun 1994 12:29:27 GMT

In article <CHRIS.94Jun16180944@ludlow.franken.de> chris@ludlow.franken.de (christopher_drexler) writes:
>it happend that insmod found some 'unresolved externels' when inserting
>the driver, so i examined the kernel-symbol-table which is read by insmod.
>i found out that some symbols, which are not in this list, may be used, while
>others may not.

I think its what has been needed and makes sense.... I use an insmod from
the KERNEL channel that looks any other symbols up in zSystem.map - much
more convenient if your zSystem.map is for the right kernel.

Alan

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

From: markf@cs.tamu.edu (Mark A Fleming)
Subject: Re: Looking for Exodus Storage Manager.
Date: 17 Jun 1994 04:29:56 GMT

In article <SUZUKI.94Jun11073008@yebis.tkl.iis.u-tokyo.ac.jp>,
Shinji Suzuki <suzuki@tkl.iis.u-tokyo.ac.jp> wrote:
>Did anyone port Exodus Storage Manager (either
>server or client code)?
>
>thanks,
>-shinji

     Yes.  I ported it to the kernel .99pl15 back in January.  You can find
the patch file in the contrib directory under ftp.cs.wisc.edu:exodus.
Recently, Masato Kataoka (kataoka@dbg.bs1.fc.nec.co.jp) verified that the
port worked with the kernel level 1.1.8 and above.  I've managed to get the
beta release of E 2.5.8 (persistent object-oriented language based on gcc
2.5.8) working.  We're still trying to verify correct operation before 
announcing the port on COLA, but you're welcome to give E a try.  It can be
found on ftp.cs.tamu.edu:pub/linux as e.tar.gz.  Anyone interested in a little
beta testing is welcome :)  Email me for details.

maf
-- 
Mark A. Fleming           Texas A&M University           markf@cs.tamu.edu
       Which is worse, ignorance or apathy?  Who knows?  Who cares?

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

From: alovell@kerberos.demon.co.uk (Anthony Lovell)
Subject: Re: assembly language & Linux (ATTN!)
Date: Thu, 16 Jun 1994 15:57:43 GMT

Linus Torvalds (torvalds@cc.Helsinki.FI) wrote:

: Any porters out there should feel happier knowing that DEC is shipping
: me an AlphaPC that I intend to try getting linux running on: this will
: definitely help flush out some of the most flagrant unportable stuff. 
: The Alpha is much more different from the i386 than the 68k stuff is, so
: it's likely to get most of the stuff fixed. 

It's posts like this that almost convince us non-believers that there
really is a god.
 
--

anthony

==============================================================================
alovell@kerberos.demon.co.uk          |   If at first you don't succeed
PGP Key available from a server       |
alovell@cix.compulink.co.uk           |   Get a Bigger Hammer
==============================================================================

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

From: urlichs@smurf.noris.de (Matthias Urlichs)
Subject: Re: loop-2 status?
Date: 17 Jun 1994 15:51:21 +0200

In comp.os.linux.development, article <CrE9Ew.Dnz@tasking.nl>,
  fvm@tasking.nl (Frank van Maarseveen) writes:
> I've tried loop-2 (e.g. for mounting floppy images, NOT the network loopback
> device) with Linux 1.1.19 and the loop patch required a small
> fix in loop.c:
> 
>       current->filp[arg]
> must be replaced by 
>       current->files[0].fd[arg]
> two times.

The more correct change is

        current->files->fd[arg]

This is because sooner or later, Linux will move to shared file structures.
They're needed for threads and possibly other situations where a child and
its parent share file descriptors.

> However, this seems not enough. I get messages about "short inode
> reads" when running e2fsck (0.5a) on /dev/loop0.

Can't help you here; I'm too busy to install+test the loop stuff. :-(

-- 
Carney's Law: There is at least a 50-50 chance that someone will print the
name Craney incorrectly.
        -- Jim Canrey
-- 
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: rabe@rama.informatik.rwth-aachen.de (Ralf G. R. Bergs)
Subject: 1.1.19 + AHA-1542C = kernel panic... :-(((
Date: 17 Jun 1994 14:13:14 GMT

=====BEGIN PGP SIGNED MESSAGE=====


Howdy!

Now that I'm using 1.1.19, I'm experiencing kernel panics on one of
about ten boots, which I previously NEVER had... :-(((

This is what happens (during the kernel initialization process, BEFORE
the root filesystem is being mounted):

        Sending DID_RESET for target 0 [which is my Quantum ProDrive 1225S,
                                        a 1.2 gig SCSI-2 hard drive]
        SCSI host 0 abort() timed out - reseting
        Sent BUSDEVICE RESET for target 0
        Sending DID_RESET for target 0
        Kernel panic: Unable to find empty mailbox for aha1542

If it matters, apart from the hard drive I've connected a Tandberg
TDC-3820 SCSI-2 drive to the AHA-1542C (internal), and sometimes
I've also switched on my CD-ROM, an Apple CD-150 (aka Sony CDU-8002)
hooked to the external SCSI connector.

Can anyone help? This gets REALLY annoying... :-(((

Thanks,

  Ralf

=====BEGIN PGP SIGNATURE=====
Version: 2.6ui

iQCVAgUBLgGvCmCy3Wi6qSJ1AQFdjAP/YR7iGf74ZthCS51YFwtsv+3Baip710CG
+0gRMX7yJt1/ElHLX7DIsdwI2J5KiyopMoRdz/6cwJP35F6psP4xeFRizCUyHJJN
PNc31j75uIfi4NU/UNrwhSkjBmsO8aVyy1EZlKdUgnhvtCl3mQ5txVrmpjRdTGX8
476wRFyFd/Y=
=fbog
=====END PGP SIGNATURE=====
-- 
Ralf G. R. Bergs, Aachen University of Technology EE (comp. eng.) student 
snail: H"uckeswagener Str. 42, D-51647 Gummersbach, Fed. Rep. of Germany
phone/fax: +49 2261 21968  E-Mail: rabe@pool.informatik.rwth-aachen.de
Click <A HREF="http://www-users.informatik.rwth-aachen.de/~rabe">here</A>.

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


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