Subject: Linux-Development Digest #877
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, 1 Jul 94 06:13:03 EDT

Linux-Development Digest #877, Volume #1          Fri, 1 Jul 94 06:13:03 EDT

Contents:
  Re: Can DOSEMU execute a unix shell or program?? (Mihail S. Iotov)
  Re: computer science (Bernd U Meyer)
  Direct screen memory writes (Steve Sullivan)
  Floppy broken in 1.1.24 ??? ("John E. Davis")
  Re: Quirky idea: Remote Virtual Consoles (Luke Howard)
  Re: Dedicated SCSI swap drive? (Scott A. Laird)
  Re: NetBEUI (Michael K. Johnson)
  Re: IBM Token Ring skeleton driver available (martin von weddle)
  Re: I/O error on 2nd IDE harddisk (Hotline Support Team)
  Re: Floppy code broken w. 1.1.23 (Rob Janssen)
  Re: document of system call on Linux (Rob Janssen)
  Re: Wine-940620 (Rob Janssen)
  Re: [Help] Errors compiling 'httpd' 1.3 (Rob Janssen)
  Re: NetBEUI (Rob Janssen)
  Can DOSEMU execute a unix shell or program?? (Don Carroll)
  ioctl Berk'ly or SysV (Chris Wright)
  NCR-Driver Bug with Fdisk (Richard Schmid)
  Re: Slackware Linux: gcc bug (Michael Schack)
  IP_OPTIONS support (Frank Lofaro)

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

From: iotov@cco.caltech.edu (Mihail S. Iotov)
Subject: Re: Can DOSEMU execute a unix shell or program??
Date: 30 Jun 1994 23:06:41 GMT

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? 

>>if it can't it would be a neat idea. or can you start DOSEMU and pass a 
>>program to run?

>Can't you just be slightly more specific?  Remember that the world does
>not know what you are doing, and you need to explain that first.

 I think what he means is something like :

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

That would be a nifty feature.


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

From: berndm@cs.monash.edu.au (Bernd U Meyer)
Subject: Re: computer science
Date: Tue, 28 Jun 1994 23:16:41 GMT

wayne@backbone.uucp (Wayne Schlitt) writes:


>Some schools are now offering "Computer Engineering" degrees that are
>kind of a cross between CS and EE.  You get less of the highly
>specialized database, image processing, compiler theory type CS
>courses, and you get less of the power supply, analog, antenna theory
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>type EE classes.  
 ^^^^^^^^^^^^^^^^

If only that would be true........

Bernie

P.S.: :-)
--
"And the band played 'Waltzing Mathilda' /  as we stopped to bury our slain;
And we buried ours / and the Turks buried theirs  | ..... living in Oz ....
And it started all over again"                    | 
(The Pogues, "Waltzing Mathilda", orig by Eric Bogle, "And the band played WM")

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

From: esteve@iac.net (Steve Sullivan)
Subject: Direct screen memory writes
Date: 29 Jun 1994 22:13:13 -0400

We currently have several apps running on SCO boxes that use a user interface that uses SCO's direct screen memory 
writes.  These apps are char based only BTW.  Is there any way to do something similar under LINUX or do we have to use a 
terminfo and/or termcap version of our driver?

- Steve


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

From: davis@pacific.mps.ohio-state.edu ("John E. Davis")
Subject: Floppy broken in 1.1.24 ???
Reply-To: davis@amy.tch.harvard.edu (John E. Davis)
Date: Thu, 30 Jun 1994 16:47:22 GMT

System:

     486 DX266 MHZ UMC chipset, VLB
     8 Megs Ram --- 70 ns Simms
     20 ns 256K cache (15ns Tag)   ---- Turned OFF
     420 MByte WD Caviar Drive, 1 3 1/2 inch Floppy 
     ML-863 (noname?) VLB Hard Disk controller with:
        2 Serial ports (Com 1,2)
        1 Parallel, 1 Game
     14400 Baud Internal Zoom FAX/Modem (Uart 16550)
        Com 3, Irq 5, 0x3E8  (Configured using setserial)

OS:  Linux 1.1.24 with no net support, no scsi, no tape, no printer

Symptoms:  (/dev/fd0 mounted as msdos file system on mnt)

    Bash>  cp /mnt/bigfile /tmp
    Bash>  diff /mnt/bigfile /tmp/bigfile
           **** Binary files differ ****
           e2fsck shows file system corrupted (/bin/mkdir destroyed)

Here bigfile is about 1.4 Megs.   This only seems to happen when copying from
floppy to hard drive and not hard disk to hard disk.

Could the problem lie with my hard disk controller?  /usr/adm/debug shows that
it times out once in a while.  How can this be tested?

Are there any diagnostics/system testers for Linux?  The problems described
above do not occur under DOS/Windows.

Also: Why does e2fsck always complain about the proc file system (zero length
      directory, etc....)?  Should these always be cleared?

           
            
        
        
          
--
     _____________
#___/John E. Davis\_________________________________________________________
#
# internet: davis@amy.tch.harvard.edu
#   bitnet: davis@ohstpy
#   office: 617-735-6746
#

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

From: lukeh@zola.apana.org.au (Luke Howard)
Subject: Re: Quirky idea: Remote Virtual Consoles
Date: 29 Jun 1994 16:54:44 +1000

Byron A Jeff (byron@gemini.cc.gatech.edu) wrote:
: Jeff, it's just not the same.

: I don't want to telnet into the machine. I want my alt and ctl keys to act
: exactly the same way on the RVC as on a real VC. I want selection.

: When I sit down at the RVC it should look and act exactly the same as the
: console attached to the Linux box.

I suppose it comes down to whether you want something Linux specific or 
something generic. Personally I'd be inclined to go for the Linux 
specific way, or at least model it on the present situation, but I doubt 
you'd gain much from doing so. 

I would love a program like this BTW... (especially as NCSA Telnet seems 
to be cursed against me). In terms of implementation, perhaps it may be 
possible to hack the sources for NCSA Telnet? You'll still get in.telnetd 
rather than whatever getty looks like, but this is cosmetic; and adding 
mouse support to look like selection shouldn't be too difficult. Decent 
support for the console termcap would also be nice so that dosemu 
works... (never tried this over NCSA mind you).

I suppose the other way is some kind of daemon, say in.vctelnetd, which 
multiplexes the entire VC setup (perhaps using ttys like ttyva[1-8] for 
the remote VC connection, ttyvb[1-8] or whatever) onto a single TCP port. 
I'm not sure whether they are any advantages with it - one could at least 
use it as an opportunity to better integrate it with Linux, at the 
expense of compatibility with other operating systems. But there is no 
reason why five telnets or whatever won't work, even if it is a bit clumsy.

(Hmm... don't suppose you can have three letter ttys...) And still you 
wouldn't be able to do everything that Linux lets you do, like run X...

But some kind of way of deploying this XT which is sitting near me would 
be rather useful... :-)


: NCSA telnet isn't close.


: Thanks for the suggestion.
-- 

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

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

From: lair@kimbark.uchicago.edu (Scott A. Laird)
Subject: Re: Dedicated SCSI swap drive?
Reply-To: lair@midway.uchicago.edu
Date: Fri, 1 Jul 1994 00:20:47 GMT

In article <WAYNE.94Jun30000433@backbone.uucp>,
Wayne Schlitt <wayne@cse.unl.edu> wrote:
>In article <2uqr31$hpm@library.erc.clarkson.edu> komarimf@craft.camp.clarkson.edu (Mark 'Enry' Komarinski) writes:
>> Would I get better performance getting an additional 40-50MB SCSI
>> drive and use that as swap space, or just make a 32MB partition out 
>> of the 1G drive?
>
>
>It is almost always better to have a bunch of small drives vs one
>large drive.  Adding a swap disk isn't a bad idea.  If you get a disk
>that is say 60-80MB, you might want to put /tmp and /usr/tmp on the
>drive too.
>
>Having your disk usage spread over several drives means that you can
>be seeking on one drive while you are read/writing to another drive.
>(If you are using SCSI, which you said you were.)  It also means that
>if you are reading a file on one drive, and writing to another drive,
>then neither disk has to do much seeking at all.  If you were using
>only one drive, the disk would be constantly seeking back and fourth
>between the two files.  This is true for both SCSI and IDE drives.
>
>
>If you are running news, you should put the /usr/lib/news on one
>drive, and the spool/news on another.  Keeping spool/news/in.coming
>on a third drive helps even more.
>

While I agree with most of this, I'm not sure that putting the swap
and tmp space on a seperate, slower drive will help performance.  I
doubt that any of the <100 Mb SCSI drives out there can top 1 Mb/sec,
and I suspect that most of them (can you say ST-296N?) are more like
200-300k/sec, tops.  With both tmp and swap space, I suspect that most
of the reads and writes will be fairly long and sequential, and will
benefit most from the fast transfer of a big drive.

Of course, the best way to speed up both of these is to add more RAM.
That'll cut swapping and cache most accesses to /tmp, and that should
speed things up drastically.  Once you start swapping, you don't
really have a lot of speed left no matter what you do.

Scott.
-- 
Scott A. Laird            |  "But this goes to 18,446,744,073,709,551,615"
lair@midway.uchicago.edu  |                - Nigel on his 64-bit computer


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

From: johnsonm@ladybird.oit.unc.edu (Michael K. Johnson)
Subject: Re: NetBEUI
Date: 29 Jun 1994 23:16:35 GMT


In article <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.  

   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?

Samba already exists and does that.  I don't have details on where to
find it, but I assume that it is in the LSM and/or at a major ftp
site.  It doesn't appear to be at sunsite, but have a look around.  It
does exactly what you want.

michaelkjohnson

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

From: mweddle@silver.ucs.indiana.edu (martin von weddle)
Subject: Re: IBM Token Ring skeleton driver available
Date: Thu, 30 Jun 1994 16:21:24 GMT

Kevin Spousta (d00n@crash.cts.com) wrote:
: In <2ukulo$g3@bigbug.franken.de> tsbogend@bigbug.franken.de (Thomas Bogendoerfer) writes:

: >mswanson@borg.ott.ca (Mark Swanson) writes:
: >>If you want my code, post or mail and I'll clean it up to 1.1.18 - if things haven't 
: >>changed too much (cringe).

: >I try to mail you, but mail bounced: 

: Me too..  BOING!

: I would REALLY appreciate a copy of the code, preferrably in the "cleaned up"
: version, "cleaned" to 1.1.24 would be great too!  <grin>


How bout just uploading it to sunsite/tsx linux archives?



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

From: Qualcomm.com (Hotline Support Team)
Subject: Re: I/O error on 2nd IDE harddisk
Date: Wed, 29 Jun 1994 16:09:06 -0800



In article <C9524.94Jun29083957@rrzc2.uni-regensburg.de>,
c9524@rrzc2.uni-regensburg.de (Ulrich Windl) wrote:

> I'm using Linux 1.0.8 (Slackware) and I have the following problem:
> Linux won't accept my second IDE harddisk ("I/O error", "invalid
> partition table"). The message doesn't tell me too much about the
> reason.  My machine is rather slow: 386SX@16MHz, 8MB RAM. My first
> harddisk is a new Conner 420MB, as second harddisks I've tried Quantum
> 100MB, and Maxtor 120MB, but the result was exactly the
> same. Meanwhile I've also recompiled the kernel, have tried setting
> HD_DELAY to 100 (BTW: What are jiffies?)...
> 
> I should say that the second harddisk works with MS-DOS and OS/2 2.1;
> therefore I'd say IT SHOULD WORK WITH Linux TOO!
> I'd also vote for more descriptive harddisk error messages.
> 
> Please reply per mail.
> 
> Thank you
 
I have recently installed a second IDE harddisk on my 486DX@33MHz machine
and
it works great.  It is a Western Digital 42MB hardrive.  I'm using
Slackware 1.2.0 without recompiling the kernel just to install hardisk.  I
also used linux fdisk to repartition the hardisk and mkfs to format.  The
file system format is ext2.

Jason


Jason Hou
e-mail: yjhou@qualcomm.com

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

From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: Floppy code broken w. 1.1.23
Reply-To: pe1chl@rabo.nl
Date: Wed, 29 Jun 1994 21:17:35 GMT

In <1994Jun28.195537.16667@odin.diku.dk> duke@diku.dk (Dennis Henriksen) writes:


>Hi 

>Just upgrade to version 1.1.23. Has anyone tried to wriote to a 5.25"
>1.2Mb disk with success ?

Try 1.1.24, there were again patches to the floppy code...

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: document of system call on Linux
Reply-To: pe1chl@rabo.nl
Date: Wed, 29 Jun 1994 21:18:44 GMT

In <1994Jun29.012015.2111@iitmax.iit.edu> thsschl@iitmax.iit.edu (Confused Ucas) writes:

>Is it possible that I can get any documents on the system call of Linux?

You should be able to use any POSIX.1 book most of the time

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: Wine-940620
Reply-To: pe1chl@rabo.nl
Date: Wed, 29 Jun 1994 21:19:32 GMT

In <1994Jun29.024658.1453@excaliber.uucp> joel@wam.umd.edu (Joel M. Hoffman) writes:

>>: I've just built wine940620 but nothing now works (including sol.exe)
>>: Have I made a mistake or has this release broken something ?

>Did I miss something?  Is there a public release of WINE?

He is talking about the usual (pre-)ALPHA stuff

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: [Help] Errors compiling 'httpd' 1.3
Reply-To: pe1chl@rabo.nl
Date: Wed, 29 Jun 1994 21:22:45 GMT

In <1994Jun29.184602.1@otago.ac.nz> fox@otago.ac.nz writes:

>Hay all,

>I am trying to compile 'httpd' version 1.3, and I am running Kernel 1.1.21.

>I get 4 or 5 Warnings during compile, like this one:

>Warning: passing arg 2 of 'accept' from incompatible pointer type

>and another one:

>passing arg 2 of 'ind' discards 'const' from pointer target type

>Anybody knows what is causing this? I have heard from several people this
>has compiled 'right out of the box' but they where probably running earlyer
>versions of the Kernel. 

>I don't know anything about C, I just want to run a WWW server on my Linux box.

"Warnings" (as you get from the compiler) are not the same thing as "Errors"
(as you have put in the subject of your message).  It can be that the
code compiles and works okay even when there are a few warning messages.

(I have no experience with compiling this software, but as long as you
don't get any real errors, just continue)

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: NetBEUI
Reply-To: pe1chl@rabo.nl
Date: Wed, 29 Jun 1994 21:31:10 GMT

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

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

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

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

From: don@ds9.us.dell.com (Don Carroll         )
Subject: Can DOSEMU execute a unix shell or program??
Date: Wed, 29 Jun 1994 21:50:35

will DOSEMU do the above? 

if it can't it would be a neat idea. or can you start DOSEMU and pass a 
program to run?

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

From: caw@cs.mu.OZ.AU (Chris Wright)
Subject: ioctl Berk'ly or SysV
Date: Thu, 30 Jun 1994 02:48:59 GMT

The summary says it...Am I right that the ioctl in Linux is not SysV,
but Berk'ly? What is the best way to set the EOL character with Berkely 
ioctl? (This second quesiton should be in comp.unix.questions, sorry).

Cheers


chris


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

From: richard@wagner.muc.de (Richard Schmid)
Subject: NCR-Driver Bug with Fdisk
Date: Thu, 30 Jun 1994 17:18:38 GMT


Hi!

The new NCR 53c810-driver is working nice and pretty fast 
except fdisk which doesn't work properly.
It works on my IDE-disk and it works with my adaptec but it doesn't 
with the NCR cotroller.

This is the output:
~# fdisk /dev/sda
 and cylinders.
You can do this from the extra functions menu.
You must set heads sectors
Command (m for help): p

Disk /dev/sda: 0 heads, 0 sectors, 0 cylinders
Units = cylinders of 1 * 512 bytes

   Device Boot  Begin   Start     End  Blocks   Id  System
/dev/sda1   *       1    2049  450560  224256   83  Linux native
Floating point exception
~#

I have Linux 1.1.19 running on a ASUS 486 dx2/66.

Richard



--
If it isn't mentioned --- it's Linux
Richard Schmid                                           
richard@wagner.muc.de                  

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

Crossposted-To: comp.os.linux.help
From: landstry@miki.toppoint.de (Michael Schack)
Subject: Re: Slackware Linux: gcc bug
Date: Thu, 30 Jun 1994 10:51:17 GMT

ewalton@magnus.acs.ohio-state.edu (Elaine Walton) writes:

>In article <robinson.772918705@ichips.intel.com>,
>David Lyle Robinson <robinson@ichips.intel.com> wrote:
>>
>>I just installed slackware 1.2.0.  I don't know how to get
>>the version number of gcc, but I found a bug in it.  

Try 'gcc -v' to get the Version-Number.

bye,
micha...
-- 
>>>   "Madman on the wire - he talks a lot of rubbish": _Gor_Tronz_   <<<
---
Michael Schack                                   landstry@miki.toppoint.de
24118 Kiel (Germany)                                        +49~431~567319

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

From: ftlofaro@unlv.edu (Frank Lofaro)
Subject: IP_OPTIONS support
Date: Fri, 1 Jul 94 04:24:45 GMT

Any IP_OPTIONS support yet?
If so what kernel?
If not are there any plans to put it in?
If not, any ideas how I and others should go about adding support for it?
If we do end up implementing it ourselves, would it be rejected from the 
kernel? (If so, we won't bother :-C )

P.S. Isn't IP_OPTIONS required by RFC 1122? Then Linux is non-compliant. 


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


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