Subject: Linux-Development Digest #880
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:     Sat, 2 Jul 94 08:13:07 EDT

Linux-Development Digest #880, Volume #1          Sat, 2 Jul 94 08:13:07 EDT

Contents:
  Re: Re^2: 1.1.23 - new modules break ftape-1.12c (Robert Bauer)
  Re: NetBEUI (Riku Meskanen)
  writing to /dev/modem? (Alberto Alonso (Shisho or Albund))
  If "yes" press 3 ... (Bill Margolis)
  Re^2: 1.1.23 - new modules break ftape-1.12c (HIGGINS@DELBOX.ZER.DE)
  Re: atdisk2 patches and 1.1.23 - Help !!!!!!!!!!!!!! (David Monro)
  Re: I want a compressed drive *NOW* (R. McNeely)
  How to generate iBCS2-Binaries under Linux ???? (HIGGINS@DELBOX.ZER.DE)
  Re: No autoirq to depca under 1.1.23 (Thomas Roehl)
  Re: Quirky idea: Remote Virtual Consoles (Luke Howard)
  Re: Can DOSEMU execute a unix shell or program?? (Luke Howard)
  Where to go from here?  Was Re: Slackware Linux: gcc bug (David Lyle Robinson)
  Re: 1.1.24: floppy couldn't grab irq (Rene COUGNENC)
  Re: NetBEUI (Rob Janssen)
  Re: LISP on x86 machines (Harvey J. Stein)
  Re: NetBEUI (Rogon Fateless)

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

From: rbauer@ecst.csuchico.edu (Robert Bauer)
Subject: Re: Re^2: 1.1.23 - new modules break ftape-1.12c
Date: 1 Jul 1994 22:56:19 GMT

In article <5RpIp2BipsB@_higgins.delbox.zer.de>,
 <HIGGINS@DELBOX.ZER.DE> wrote:
>karsten@kshome.ruhr.de meinte am 29.06.94
>zum Thema "Re: 1.1.23 - new modules break ftape-1.12c":
>
>> Karsten Steffens (karsten@kshome.ruhr.de) wrote:
>>
>> Still the same with 1.1.24... Someone suggested that it might be the
>> on some machines broken floppy driver. That's not the case with me, my
>
>Take the new modules.tgz. The sheme of modules has changed. This module
>can be found on nic.funet.fi:/pub/OS/Linux/kernel/src/v1.1/modules.tgz.
>This will solve the problem.

Not necessarily.  Kernel 1.1.24, ftape-1.12c, and the NEW modules utils,
and 'mt rewind' hangs the machine hard.

I heard that commenting out a #define in one of the source files helps
for the floppy.  Has anyone gotten ftape to work again like this?

Regards,
Robert
-- 
      _____ _    __     | rbauer@ecst.csuchico.edu
 _ __|___  | |_ / _|___ | N7TFZ@KE6LW.#NOCAL.CA.USA.NA
| '_ \  / /| __| ||_  / |------------------------------------------------
| | | |/ / | |_|  _/ /  |
|_| |_/_/   \__|_|/___| |                         "Unix wants to be free"

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

From: root@whisper.slip.jyu.fi (Riku Meskanen)
Subject: Re: NetBEUI
Date: 1 Jul 1994 20:27:04 GMT
Reply-To: Riku Meskanen <mesrik@jyu.fi>

Barry Lynam (lynam@qut.edu.au) wrote:
: In article <Cs6H3z.IC@pe1chl.ampr.org>, rob@pe1chl.ampr.org (Rob
: Janssen) writes:
: |> In <1994Jun29.130804.10785@news.uit.no> rogon@doom.tromsomh.no (Rogon
: |> the Fateless) writes:
: |> 
: |> >I have always wondered how Windows for Workgroups v. 3.11
: |> >works, apparently it uses some sort of protocol called 
: |> >NetBEUI for communication.  
: |> 
: |> NetBEUI (or NetBIOS) is not a protocol, it is an interface to a
: |> protocol.
: |> It is specific to DOS, and not applicable to Linux
: No, NetBEUI is a complete protocol stack like IP, IPX, DECNet, AppleTalk
: etc.
: It is not specific to DOS. NT has it. VAX Machines can use it.

Yeah, and SCO (yuk!) does it also with SCO LM/X (LanManager/Unix) so no
additional drivers are needed for DOS & OS/2 LanManager clients to be
able to use LM/X shared resources.

: My advice is to not use it because it is non-routable. On a small network it
: is not a bad thing but on a large network it is bad. If you have a large net
: use TCPIP instead of NetBEUI.
: |> 
: |> >Where can one find documentation on this? Is it free or
: |> >proprietary? Has anyone thought of making a driver of some
: |> >sort to incorporate this for Linux?
: |> 
I remember that once one of the Compu$erve microsoft forums had something
about NetBEUI, NDIS, etc. I haven't visited CIS for some time so, can't 
promise that those files still are there.

: |> >I would really like to be able to use our orginazation's
: |> >file-servers, since most of them use WfW3.11.
: |> 
: |> Get the SAMBA SMB-server, this allows you to access the Linux filesystem
: |> from PC's running Windows for Workgroups.
: |>
: SAMBA won't let you use LANManager/WfW3.11/WINNT etc as a client. It make's
: your Unix box be a server to these clients. There is a program in SAMBA that
: is ftp like. 
:
This is something I'm wondering too. It seems that everybody and my brother in
law is writing filesystems for Linux, but no-one seems to be planning to add SMB
client for the kernel. Anybody interested? I have no experience in such work so
maybe we can found someone who has and also I have plenty of projects to go
so let's not trust that I'll do it.

: |> >Is this a topic for the DosEMU and/or Wine team?
: |> 
: |> NetBIOS could be added as part of dosemu, but as dosemu cannot run Windows
: |> it would not solve your problem.  It could be interesting for other
: |> reasons.  Maybe sometime I'll do it.
: |> 
: |> Rob
: |> -- 
: |> -------------------------------------------------------------------------
: |> | Rob Janssen                | AMPRnet:   rob@pe1chl.ampr.org           |
: |> | e-mail: pe1chl@rabo.nl     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
: |> -------------------------------------------------------------------------

: -- 
: +------------------------------------------------------------------+
: | Barry Lynam                         EMail:  B.Lynam@qut.edu.au |
: | Communications - Network Services   Phone:  +61 7 864 2883     |
: | Computing Services                  Fax:    +61 7 864 1343     |
: | Queensland University of Technology Postal: GPO Box 2434       |
: | Brisbane AUSTRALIA                          Brisbane 4001      |
: |                                             AUSTRALIA          |
: |--"I may not agree with your argument, but I'll defend your ------|
: +---right to express it"-------------------------------------------+

Current samba version can be found from 
nimbus.anu.edu.au:/pub/tridge/samba/tarred/samba-1.16.11.tar.gz

TCPIP add on to Win 3.11 could be found
from ftp.microsoft.com:/Advsys/MSclient/WFW/WFWTCP.EXE.

There is also a 32bit Beta version of the client in 
ftp.microsoft.com:/peropsys/WFW/tcpip/vxdbeta/MTCPB3.EXE which you
may also like to try.

:-) riku
--
#include <std.bullshit> /* missing cool signature, got a spare? */

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

From: a_alonso@iastate.edu (Alberto Alonso (Shisho or Albund))
Subject: writing to /dev/modem?
Date: 30 Jun 94 05:07:49 GMT

Hi everybody,
I don't know if it is somewhere but I didn't see it.

My problem is that I'm trying to write a C program that would be executed by
the login process so that it will automatically dial into a remote unix and
stablish teh term conection. So far I'm testing the way of doing it and I get
this:

void main()
{
int i;
FILE *omodem, *imodem;
char *c, temp[80];

c = temp;

imodem = fopen("/dev/cua1","r+");
omodem = fopen("/dev/cua1","r");

fputs(DIAL_STRING_NUMBER, imodem);
fgets(c, 80, omodem);
printf("%s",c);
fclose(imodem);
fclose(omodem);
exit(1);
}

This is just to test and stuff. Now, my problem is that the fgets gets the
string of the fputs before the modem picks it up. Is there a special way I
should be talking to the kernel so I can use the device?

Thanks in advace,

Alberto
-- 
Alberto Alonso                   
e-maiL: a_alonso@iastate.edu    Phone: never heard of it
WWW: http://www.public.iastate.edu/~a_alonso/homepage.html
Electrical Engineering.         (At least trying to be one) 

===============================================================================
| I can only do one thing at a time, but I can avoid doing many things        |
| simultaneously.  (Ashleigh Brilliant)                                       |
===============================================================================

For PGP signature finger a_alonso@iastate.edu

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

From: bill@etecnw.com (Bill Margolis )
Subject: If "yes" press 3 ...
Date: 24 Jun 94 22:35:25 GMT
Reply-To: bill@etecnw.com


        I have a need to construct a voiced, dial-in response system that would hopefully be an
        improvement over the usual, annoying ...

                if "yes" press "3" etc, etc, etc.

        Are there modem supporting systems available under Linux that will allow me to start working
        on this problem?

        Have I missed some FAQ that would have directed me?


thanks for any pointers
--bill 
                (bill margolis
                bill@etecnw.com )       

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

From: HIGGINS@DELBOX.ZER.DE
Subject: Re^2: 1.1.23 - new modules break ftape-1.12c
Date: Thu, 30 Jun 1994 14:05:00 +0200

karsten@kshome.ruhr.de meinte am 29.06.94
zum Thema "Re: 1.1.23 - new modules break ftape-1.12c":

> Karsten Steffens (karsten@kshome.ruhr.de) wrote:
>
> Still the same with 1.1.24... Someone suggested that it might be the
> on some machines broken floppy driver. That's not the case with me, my
> /dev/fd0 is working as it should. No /dev/fd1 available. Maybe its related,
> though.
>
> Karsten, still back to 1.1.22...

Take the new modules.tgz. The sheme of modules has changed. This module
can be found on nic.funet.fi:/pub/OS/Linux/kernel/src/v1.1/modules.tgz.
This will solve the problem.

>
>
> ------------------>    Dipl.-Phys.Karsten Steffens   <---------------------
>    karsten@kshome.ruhr.de          |      steffens@ikp.uni-muenster.de
> Marl - close to Recklinghausen     |         Institut fuer Kernphysik
>   North of the Ruhrgebiet          |   Westf.Wilhelms-Universitaet Muenster

Ciao
  Higgins

--
You can escape the gates of hell, say DOG and WINDOG,

         USE LINUX   :-)     !
## CrossPoint v3.0 ##

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

From: davem@extro.ucc.su.OZ.AU (David Monro)
Subject: Re: atdisk2 patches and 1.1.23 - Help !!!!!!!!!!!!!!
Date: Fri, 1 Jul 1994 06:28:56 GMT

dwb@ITD.Sterling.COM (David Boyd) writes:

>I went through the effort to hand apply the atdisk2 patches to
>my copy of 1.1.23 with the IDE Speedups applied.  Has anyone ever
>gotten this to work??  The patches seemed very straight forward,
>but I get continous Controller reset messages from the driver
>for the second controller.  

>Could the multimode IDE patches be the problem (i.e. does anyone have
>two controllers wokring with 1.1.23)?

I have run atdisk2 and ide2 patches on all kernels up to 1.1.22. I will try
1.1.23 tonight. Since there are no patches to hd.c in patch 23 I will be
surprised if it doesn't work. The patch to add ide speedups to the
second hd controller patch (hd1.c) isn't completely trivial, and if you
aren't extremely careful you may hose your first controllers drives, by
accidentally poking stuff into its registers.

I have been running my hand patched comination for a several months now,
so i think it works - if anybody is interested I will post the combined
patches (ie a single patch to install both atdisk2 and ide performance 2).
Mail me if you want this!

>If it matters I am running a DTC2290 EISA IDE card.
It shouldn't make any difference. Is this the primary or secondary
controller?
>-- 
>David W. Boyd               UUCP:     uunet!sparky!dwb
>Sterling Software ITD        INTERNET: Dave_Boyd@Sterling.COM
>1404 Ft. Crook Rd. South     Phone:    (402) 291-8300 
>Bellevue, NE. 68005-2969     FAX:      (402) 291-4362
>I survived - Seoul Sea of Fire Tour 94

        David Monro

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

From: mcneely@emr1.emr.ca (R. McNeely)
Subject: Re: I want a compressed drive *NOW*
Date: 30 Jun 94 20:16:12 GMT
Reply-To: mdrejhon@csclub.uwaterloo.ca

If anyone replies to this message, reply to mdrejhon@csclub.uwaterloo.ca
instead of this address... Thanks!

Alex Ramos (ramos@engr.latech.edu) wrote:
: I've been studying the kernel sources for the last few days, and
: I think I'm almost at a point where I can write a compressed-drive
: device driver.

There is already a compression driver called "double-0.2a.tar.gz"
It's on sunsite...  You should consider improving that driver, rather
than creating a new one from scratch...

Mark Rejhon

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

From: HIGGINS@DELBOX.ZER.DE
Subject: How to generate iBCS2-Binaries under Linux ????
Date: Thu, 30 Jun 1994 13:53:00 +0200

Frank Westheider         Linux Support Group Paderborn
higgins@uni-paderborn.de     higgins@delbox.zer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Hi Hackers.

I'm looking for a way to generate iBCS2-Binaries under Linux.
Do i have to get the GCC and then generate a GCC for iBCS2 (SCO etc.) ??

Thanx for the help.


Ciao
  Higgins

--
You can escape the gates of hell, say DOG and WINDOG,

         USE LINUX   :-)     !
## CrossPoint v3.0 ##

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

From: thomas@troehl.hanse.de (Thomas Roehl)
Subject: Re: No autoirq to depca under 1.1.23
Date: Thu, 30 Jun 1994 16:07:58 GMT

Thomas Roehl (thomas@troehl.hanse.de) wrote:
: Hi,

: I just compiled the 1.1.23 patch and observed the following prop.:
: my depca ethernetcard is no longer recognized. At bootup the kernel
: logs that it found a depca using Interrupt 6 ! That def. false.
: The card uses Int. 5 !.
: I think this has to do with the new floppy driver, as this uses int 6.
: Even if I tell the kernel to use int 5 and not to autoprobe, the 
: problem remains.

: Switched back to 1.1.22 and will investigate more if this happens to
: other ethernet cards too.

I hate to follow up my own posting, but just want to mention, that the
problem remains with patch24.
I didn't had time to find out what it is. With lilo option 
ether=5,0,0,0,eth0 everything is ok.
Ah , the card is a DE200 and worked fine with kernels <23.


-- 
Thomas Roehl      * thomas@troehl.hanse.de            * DATA / FAX :
Hamburg, Germany  * bbs: login "gast" no passwd       * +49 40 792 99 61
                  * nuucp: login "nuucp" pass "nuucp" * v32.bis  

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

From: lukeh@zola.apana.org.au (Luke Howard)
Subject: Re: Quirky idea: Remote Virtual Consoles
Date: 1 Jul 1994 15:50:08 +1000

Peter Holzer (hp@vmars.tuwien.ac.at) wrote:
: byron@gemini.cc.gatech.edu (Byron A Jeff) writes:

: >I've noticed that there are bunches of PC's that cannot run Linux.
: >Mostly 286's and early 386's with insufficient memory.

: > See I run DOSEMU remotely much of the time. The
: >problem is that with terminals and X windows, key bindings prove to be
: >difficult. However I've found that things go rather well when the remote
: >terminal I use is the console of another Linux box. 

: Would it be possible to build a minimal Linux kernel for those
: memory-starved 386s? Throw all the device-drivers except console, one
: ethernet and one hard disk out, throw all the file systems out, except
: one. Start rlogin directly instead of init. I still don't know whether
: it gets small enough, but it could be worth a try.

I've seen a 386sx with 2 meg of RAM and an Apollo 19" monitor make a very 
nice X terminal running Linux (with only the X server running locally, 
the window manager etc running remotely).


-- 

                      Luke Howard, Luke.Howard@apana.org.au
                   URL http://zola.apana.org.au/0/zola/people
                                Utlisez Linux!!!

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

From: lukeh@zola.apana.org.au (Luke Howard)
Subject: Re: Can DOSEMU execute a unix shell or program??
Date: 1 Jul 1994 15:52:47 +1000

Mihail S. Iotov (iotov@cco.caltech.edu) wrote:
: rob@pe1chl.ampr.org (Rob Janssen) writes:

: >In <don.16.0015D880@ds9.us.dell.com> don@ds9.us.dell.com (Don Carroll         ) writes:

: >>will DOSEMU do the above? 
:  I think what he means is something like :

: linux$ dos -execute c:\quicken\q.exe

Even niftier, if DOSEMU eventually gets the ability to run Windows 3.1 
(obviously not in real mode, but in standard mode), would be some hooks 
to let dosemu talk to Linux like WIN-OS2 talks to OS/2 2.0. For example:

o       a popup menu (ie. an ordinary Windows program you can leave in 
        your startup group) which sent a signal to DOSEMU to let you change 
        VCs.

o       a terminal emulator that would give you a Linux session under
        Windows.

Surely one could build these hooks into DOSEMU and then write the 
appropriate Windows applications? Then, assuming performance is ok, it 
might provide a reasonable front end for users with - I suppose 8meg 
would be the minimum amount of ram - lowish end systems who don't want to 
run X.

 : That would be a nifty feature.

-- 

                      Luke Howard, Luke.Howard@apana.org.au
                   URL http://zola.apana.org.au/0/zola/people
                                Utlisez Linux!!!

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

From: robinson@ichips.intel.com (David Lyle Robinson)
Crossposted-To: comp.os.linux.help
Subject: Where to go from here?  Was Re: Slackware Linux: gcc bug
Date: 30 Jun 94 19:16:50 GMT

Many people using slackware 1.2.0 reported that the following
program works on their machine.  (My original post stated that
the variable gets assigned as zero.)  I'm running gcc version
2.5.8.  My box is a 386DX.  RAM:4M.  No X.  I have an 80287
installed (my motherboard accepts either a 287 or a 387).

I looked into this a little more.  It appears that any real
does not work (ie float and double types).  Since this works
for others (and infact works for me on my machine at work),
where could the problem lie?

Could the fact that I have a 287 on a 386 board confuse things?
Ie. does linux tell gcc that I have a coprocessor, and then
gcc try to use it with 387 code?  386 motherboards having
sockets for both a 287 and 387 were pretty common when I purchased
my computer.

Does anybody out there have a similar configuration?  Does this
code segment work for you?

====== Begin Included File ======
#include <stdio.h>
main ()
{
double LongFloat;
float  NormalFloat;

scanf("%lf", &LongFloat);
printf("You entered: %lf\n", LongFloat);

scanf("%f", &NormalFloat);
printf("You entered: %f\n", NormalFloat);

}
====== End Included File ======

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

From: rene@renux.frmug.fr.net (Rene COUGNENC)
Subject: Re: 1.1.24: floppy couldn't grab irq
Date: 30 Jun 94 12:24:45 GMT
Reply-To: cougnenc@hsc.fr.net (Rene COUGNENC)

Ce brave Frank van Maarseveen ecrit:

> Last night I upgraded from 1.1.21 to 1.1.24 and since then I frequently
> get the error device or resource busy when typing:

>       tar cf /dev/fd0 .

> When I get this error then I get it on the first /dev/fd0 access. In
> that case any subsequent floppy operation fails in a bad way: the kernel
> keeps complaining about CRC errors for every sector and the operation
> proceeds very slowly. At this point I don't wait for a tar message but
> press the reset button because that's a lot quicker.
> When the device or resource busy error occurs, the floppy driver complains
> about not being able to grab the floppy IRQ (6) at the same time.


The only way to get the floppy driver working on my machine whith 1.1.24 is
to comment out the line "#define FDC_FIFO_UNTESTED" in drivers/block/floppy.c;
this has been explained in previous articles on this newsgroup.
Try it, it works fine for me...
--
 linux linux linux linux -[ cougnenc@renux.frmug.fr.net ]- linux linux linux 

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

From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: NetBEUI
Reply-To: pe1chl@rabo.nl
Date: Sat, 2 Jul 1994 09:26:39 GMT

In <1994Jul1.051105.10619@news.qut.edu.au> lynam@qut.edu.au (Barry Lynam) writes:

>In article <Cs6H3z.IC@pe1chl.ampr.org>, rob@pe1chl.ampr.org (Rob
>Janssen) writes:
>|> NetBEUI (or NetBIOS) is not a protocol, it is an interface to a
>|> protocol.
>|> It is specific to DOS, and not applicable to Linux
>No, NetBEUI is a complete protocol stack like IP, IPX, DECNet, AppleTalk
>etc.
>It is not specific to DOS. NT has it. VAX Machines can use it.

>My advice is to not use it because it is non-routable. On a small network it
>is not a bad thing but on a large network it is bad. If you have a large net
>use TCPIP instead of NetBEUI.

I disagree with you...
There exists a protocol which is often referred to as NetBIOS (or NetBEUI)
which has these limitations, but it is not specified in the NetBIOS standard.
You can buy many different products which provide a NetBIOS interface, and
the underlying protocols are widely different (e.g. TCP/IP, SPX/IPX, TP4).
Most of them can be configured to be routable.  Note that by nature the
nameservice provided in NetBIOS is inefficient in large networks (lots of
multicast traffic)

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

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

Subject: Re: LISP on x86 machines
From: hjstein@sunset.huji.ac.il (Harvey J. Stein)
Date: 30 Jun 94 11:41:53

In article <Cs44M7.Mtt@nntpa.cb.att.com> ian@comet.milkyway (Ian D.
Bruce) writes:

   I'm looking for advice on putting up a full Common Lisp (CLOS and
   all) on an X86 machine running Linux (or other PC Unix). Pointers
   or real examples welcome!

There's clisp & there's akcl.  Both are available on sunsite.unc.edu.
I've used clisp but not akcl.  Akcl is supposed to be faster because
it converts the lisp to C code & then uses a C compiler to compile the
code.  Tests that people have done indicate that it's faster for some
tasks and slower for others.  I've found clisp to be speedy.



--
Harvey J. Stein
Berger Financial Research

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

From: rogon@engstad.tromsomh.no (Rogon Fateless)
Subject: Re: NetBEUI
Date: Sat, 2 Jul 1994 11:51:58 GMT

Thanks for the interesting replies!

I have investigated this a bit, and I have come to the conclusion
that making NetBios/BEUI in the kernel as a file-system is the way
to go. So, now all I have to do is to dig into kernel programming...

I haven't done anything similar before, so, if you think you are
competent, do not hesitate to mail me!

Roggie the Root.

====================================================================
Rogon Fateless aka Paal-Kristian Engstad.

Email: rogon@engstad.tromsomh.no      (Linux)
       engstad@tromsomh.no            (MS-Window)
       engstad@cs.uit.no              (HP)
       engstad@lise.unit.no           (Historic)
====================================================================

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


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