Subject: Linux-Activists Digest #232
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Wed, 15 Sep 93 18:13:20 EDT

Linux-Activists Digest #232, Volume #6           Wed, 15 Sep 93 18:13:20 EDT

Contents:
  Re: Removing Linux (Chan Lap Wah Samson)
  [Q] Errors while compiling NFSD, HELP! (Sohail M. Parekh)
  Quick Question... (Thomas J Bilan)
  Re: weird fdisk on slackware bootdisk (A. V. Le Blanc)
  2 button mouse (how to get third button) (Julie D Cassaidy-1)
  Re: (was: Re: A Word Processor for Linux) (cairnss@ucsu)
  Mouse intermittent in X386 (Stephen J Daly - H600/91)
  Re: Mathmatica like package for linux? (Peter Mutsaers)
  Re: Using ms-dos compression and linux (David C. Niemi)
  Re: Port respawning too fast (Simon J Ferrett)
  Re: running windows pgms under Linux (Mark Galaszkiewicz)
  Support for TrantoSCSI Controller (Paul To)
  Re: FTAPE 0.9.5 problem Please help (MCREYNPA)
  Re: BBS package           (Serussi Asher)
  Re: BBS package           (Serussi Asher)
  Re: Mathmatica like package for linux? (David Simmons)
  Re: Linux and MS Windows 3.1 (yuck) swap space. (Kristian Ejvind)
  Re: FTAPE 0.9.5 problem Please help (Andy Beck)

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

From: [email-masked] (Chan Lap Wah Samson)
Subject: Re: Removing Linux
Date: Tue, 14 Sep 1993 17:39:10 GMT

[email-masked] (Gary Anderson) writes:
: : Dear Whoever,
: :      I'm am tring to remove linux off my system.  I formated my drive, and
: : used FDISK to remove the partition.  And even after all that, when I boot my
: : machine it still says, "Uncompressing Linux"  Does anyone know why?  Does
: : anyone know how to completely remove linux off my system?  If so PLEASE send
: : e-mail back to me,.. since my school is to cheep to get usenet.  Anyway
: : Thank You,
: 
: : Brian
: 
: Brian, if you're trying to go back to dos, try the following:
: 1.) Boot up from a DOS system diskette.
: 2.) Do a 'format c: /MBR' to put a new master boot record in the boot sector.
            ~~~~~~~~~~~~~~

        That's suppose to be FDISK /MBR, for MessyDOS 5.0 or up only.

Sams

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

From: sohail@trixie (Sohail M. Parekh)
Subject:  [Q] Errors while compiling NFSD, HELP!
Reply-To: [email-masked]
Date: Wed, 15 Sep 1993 14:55:03 GMT

I am trying to compile NFSD from nfsd-150.tar.z on .99p10 with gcc version
2.4.3. I already have the NET-2 binaries so I have NFS up and running but
I am trying to build NFSD from source code so I have a better understanding
of it and I am getting the following errors

a) nfs_prot_xdr.c:615: warning: enumeration value `NFSERR_WFLUSH' not handled in
switch (AND MANY MORE OF SIMILAR ERRORS!)

b) auth_clnt.c:173: `IPPORT_RESERVED' undeclared (first use this function)

For b) I looked every header file on the system for IPPORT_RESERVED, but I
can't find it anywhere!

Any help would be much appreciated.

Sincerely,

Sohail

--
     Sohail M. Parekh                Grumman  Data Systems
     [email-masked]      12000 Aerospace Ave. 
     (713) 483-5912                  Houston, TX 77034

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

From: [email-masked] (Thomas J Bilan)
Subject: Quick Question...
Date: 15 Sep 1993 16:25:25 GMT

If I want to replace my kernel and I have another zImage do I have to
replace the /zImage file or/and do I have to rerun lilo's install etc..?

Thanks,
Tom

-- 
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
$ Department of Death by Engineering   ^   Surgeon General's Warning:        $
$ Michigan State University            ^   Graduate School may cause brain   $
$ [email-masked]                    ^   damage and sporadic loss of hair  $

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

From: [email-masked] (A. V. Le Blanc)
Subject: Re: weird fdisk on slackware bootdisk
Reply-To: [email-masked]
Date: Wed, 15 Sep 1993 16:02:53 GMT

In article <[email-masked]> [email-masked] (Mark Lord) writes:
>My drive pretends to have 2034 cylinders, and fdisk 1.4 gives repeated
>warnings about logical.ne.physical parameters for partitions above the
>invisible 1024cyl "barrier".  If I didn't know better (and I do), I'd panic
>and wonder what to do to use a disk over 1024cyl.  Perhaps we should get
>the maintainer of fdisk1.4 to add a check to remove those warnings for linux
>native partitions, possibly replacing them by a more sensible "note" about
>bootable kernel images having to reside within the first 1024cyls.

The problem is that there is no 'standard' way of handling partitions above
the 1024 cylinder limit in the partition table.  Thus any partition
extending above this limit may possibly be a source of difficulty
on a machine which adopts a solution different from that adopted in
the Linux fdisk.  Still, I may be able to change the message to
be more helpful in the next revision.

     -- Owen
     [email-masked]

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

From: [email-masked] (Julie D Cassaidy-1)
Subject: 2 button mouse (how to get third button)
Date: Wed, 15 Sep 1993 17:42:47 GMT

My apologies if this is a faq, but I haven't been able to find it anywhere.
I have a MS mouse (read two button) and want to know how to emulate the
middle button.  I have heard of using the two buttons together can do
this if set up properly.  I don't know how to do this.  Any help will be
appreciated.

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

From: [email-masked] (cairnss@ucsu)
Subject: Re: (was: Re: A Word Processor for Linux)
Date: Sun, 12 Sep 1993 22:46:07 GMT

[email-masked] (Joshua R. Poulson) writes:

>In article <[email-masked]>, [email-masked] (Bill Heiser) writes:
>|> In article <[email-masked]> [email-masked] (Kari T. Salmela) writes:
>|> >   By the way, I have noticed that old UNIX farts are absolutely
>|> >most conservative persons I've ever met. Not even IBM<tm> :) mainframe 
>|> [...]
>|> >It's kinda sad to see 25 year old people who are totally fixed to
>|> >their old customs, unable and unwilling to learn & use anything which
>|> >has been coded in the 80's or 90's..
>|> 
>|> 25-year old people are "old unix farts"????  

>Yeah, really. Looks like I'm getting grief for liking "TeX" here too. :)

This is a LINUX news group, take your discussion to comp.os.unix-observations.
:):):):):)

-- 
Proud owner of one of the first Hell Credit Cards.
"Spend all you want.  You'll pay later."

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

From: [email-masked] (Stephen J Daly - H600/91)
Subject: Mouse intermittent in X386
Date: Wed, 15 Sep 93 15:33:29 GMT

Hi,

I am having a teensy bit of trouble running X386 under Linux.  I
installed the latest SLS release yesterday and everthing works fine,
I even managed to configure X-windows to give me 1024x730
non-interlaced from my rather cheap monitor which has never done
anything like that before, well anyway back to the plot, I am having
some trouble with my mouse.  About 3 out of 4 times that I run X the
mouse refuses to work properly, the pointer jumps all over the
screen randomly as I move the mouse and it thinks I am pressing
buttons when I am not, it basically looks as if it is getting the
data from the mouse but making a mess of interpreting it.  However i
can generally cure the problem by switching to another virtual
console ( by pressing <ALT><CTRL><F1> e.g.) and then switching back
to the console with X on.  If i do this a few times, the mouse
starts working, and stays working as long as I dont switch consoles
again.  

        I am using a Microsoft Two button serial mouse in COM1 and
it has worked perfectly with everything in the past.  The mouse test
programs hidden in the X386 directory somewhere work fine, (
although they do tend to play up a bit if I already have X386
running in a different console when I run them)...

Unplugging my mouse and plugging it back in doesn't do any
good.....I have been fiddling with all the parameters in the Xconfig
file that I can think of but nothing does any good., I get the
feeling that something else is trying to talk to my serial port and
screwing up the settings for the mouse driver, but I can't find
anything remotely suspicious....

Has anyone seen anything like this before? All suggestions will be
greatly recieved as this is beginning to get annoying. 
I wanted to try someone elses mouse but I won't be able to borrow
one for a while and am completely stuck in the meantime.  I would
like to try COM2 instead of COM1 but that is 25 way instead of 9 way
and I will have to try and scrounge an adaptor from someone which
may take a while.....Anyway if anyone has any ideas mail me at 
                [email-masked]

Oh...Just another thing...ghostscript complains about IO permissions
from VGAlib and I can't figure out what it is having trouble writing
to , this doesn't cause me too many problems as I just 
 run Ghostscript as root which cures it , but it would be nice find
out what the problem was...

        Anyway, apart from that everthing works fine, ( and a lot
faster that DOS..)

                Byeeee
                        Steve

-- 
******************************************************************************
*     Stephen J Daly    *       Department of Electronic Engineering         *
* [email-masked]  *    University of York.  York YO1 5DD.  England     *
******************************************************************************

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

Crossposted-To: comp.os.linux.misc
From: [email-masked] (Peter Mutsaers)
Subject: Re: Mathmatica like package for linux?
Date: Tue, 14 Sep 1993 23:42:47 GMT

>> On Tue, 14 Sep 1993 14:55:43 GMT, [email-masked] (James A Robinson) said:

  JAR> has anyone got calc-2.02 to work under emacs v19.19-A?  I am
  JAR> having all sorts of problems with Info files and calc.  I tried
  JAR> compiling the calc.el files after I had installed emacs19-19,

Get calc-2.02a or b from prep.ai.mit.edu. It's patched to run with
emacs 19.
-- 
_______________________________________________________________
Peter Mutsaers, Bunnik (Ut), the Netherlands.

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

From: [email-masked] (David C. Niemi)
Subject: Re: Using ms-dos compression and linux
Date: 15 Sep 1993 18:37:15 GMT
Reply-To: [email-masked]

In article [email-masked], [email-masked] (travis jensen) writes:
>I have a question regarding compressing my dos partition
>and using linux.  Can it be done?  Of course, I realize
>that I would lose access to the dos files from linux, but
>other than that, would it work?

Sure, why not?  I have been using a couple of compressed DR-DOS 6 partitions
with Linux for months, and it is quite true that Linux can't read them
(directly).  I still recommend booting your Messy-Dos off of a small
uncompressed partition, particularly if Double-Trouble is involved.

You should be able to access your compressed partition from Linux via
dosemu, but that won't come any where near the speed of Linux access
to a normal DOS partition (which I have timed as being 2-3 times as
fast as native DOS accesses!).
---
David C. Niemi                  The U.S. Constitution may be flawed, but it's
[email-masked]      a whole lot better than what we have now.

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

From: [email-masked] (Simon J Ferrett)
Subject: Re: Port respawning too fast
Date: Wed, 15 Sep 1993 18:33:24 GMT

[email-masked] writes:

>I have created an entry in my inittab for my com1 port on which I have another
>terminal with a null modem cable.

>I can log on, work, then log off, however on my consople I get the message:
>Respawning too fast.  Port disabled for 5 minutes

>And then 5 minutes later it says the same thine.
>Anyone know how I can fix this?  I am using .99pl12.

yes I had this exact problem, which is caused when the serial port 
is hung up by getty, it drops the DTR (which, since its a null modem), 
drops carrier) and gived getty a HUP causing it to quit.

I got around this my slightly modifying serial.c so that it didnt ever
hang up a serial port.  (no hardware of mine needs it)

the modifcation in serial.c is as follows:
(about line 583)

                        }
                        if (clear_bit(RS_EVENT_HANGUP, &info->event)) {
/* simonf Sun Aug 29 17:43:13 EST 1993 tty_hangup(info->tty);*/
                                wake_up_interruptible(&info->open_wait);
                                info->flags &= ~(ASYNC_NORMAL_ACTIVE|
                                                 ASYNC_CALLOUT_ACTIVE);
                        }

ie: comment out the tty_hangup call.

hope this works as well for you as it did for me...

-- 
[email-masked] - Simon Ferrett
Due to technical difficuties, we are unable to bring you your
regularly scheduled .signature - normal transmission will resume
as soon as possible...

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

From: [email-masked] (Mark Galaszkiewicz)
Subject: Re: running windows pgms under Linux
Date: Wed, 15 Sep 1993 19:02:28 GMT

At Softeach 93, The Sun booth was showing SunSoft's version of
Wabi, a program running under Unix which supposedly will run Windows pgms as
fast if not faster, then a similarily equipped 486 with MSDOS and Windows 3.1

It was a supposed project of a few Unix vendor's but Sun is the first one
out to market it with it's version of Unix for PCs.

Unfortunatly, I got no information whether Wabi will ever be sold as a
separate package, although other Unix vendors will introduce it shortly.

The only doc they gave me sez it is not software emulation, but replaces the
calls to the Windows API to Unix's API and any system calls are passed through.

================================

Mark Galaszkiewicz
[email-masked]

Signiture file? I don't need any STINKING signiture file.  Byte me. 

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

Subject: Support for TrantoSCSI Controller
From: [email-masked] (Paul To)
Date: Wed, 15 Sep 93 15:27:00 -0400

I am looking for an economical SCSI CD-ROM setup so that I can get
started with Linux.  Does Linux support the Trantor T-130 SCSI
controller?  If yes, does it support the controller right of the bat or
do I have to recompile the kernel?  Also, will the proprietary SCSI
controller from NEC, SONY, etc. work?

Thank you in advance for any help.

Paul To

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

From: [email-masked] (MCREYNPA)
Subject: Re: FTAPE 0.9.5 problem Please help
Date: Wed, 15 Sep 1993 19:49:00 GMT

In article <[email-masked]>, [email-masked] (Nils Rennebarth) writes...
>[email-masked] wrote:
>: I have ftp'd the .99pl12 kernel source in its entirety and have gotten the
>: ftape0.9.5.  I patched the .99pl12 source and re-built the kernel.  On bootup,
>Get ftape-0.9.6 please.
> 
>: What is the problem?  Am I supposed to have an ftape device in my /dev
>: directory?  I have a Conner Archive 250MQT QIC80 tape drive hooked to my
>: floppy.
>Yes. (The documentation is a bit sparse. It's still pre-alpha software,
>so you should maybe wait a little)
> 

Does ftape work for QIC-40 drives?  I've got a Mountain TD-4000 which, at
present, is just gathering dust (and DOS files under DOS -- same thing).

---
Phillip McReynolds
[email-masked]

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

From: [email-masked] (Serussi Asher)
Subject: Re: BBS package          
Date: Wed, 15 Sep 1993 11:06:06 GMT

Testing atp/1st

Asher Serussi
---
 þ 1st 1.11 þ "640k should be enough for anybody" - Bill Gates, 1981.
                       
-- 
Asher Serussi                           Tel : +47 370 51487
Ericsson Telecom AS                     E-mail : [email-masked]
Tangen Alle 39 P.O.Box 44               Memo : eto.etoasse
N-4817 His

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

From: [email-masked] (Serussi Asher)
Subject: Re: BBS package          
Date: Wed, 15 Sep 1993 11:18:44 GMT

Testing atp/1st

Asher Serussi
---
 þ 1st 1.11 þ "640k should be enough for anybody" - Bill Gates, 1981.
                       
-- 
Asher Serussi                           Tel : +47 370 51487
Ericsson Telecom AS                     E-mail : [email-masked]
Tangen Alle 39 P.O.Box 44               Memo : eto.etoasse
N-4817 His

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

From: [email-masked] (David Simmons)
Subject: Re: Mathmatica like package for linux?
Date: 15 Sep 1993 21:16:53 GMT
Reply-To: [email-masked]

Does anybody know of a "simple", small program that can handle
simplifying algebraic expressions and calculating derivatives
and integrals, like MET or DERIVE?

I really don't have much of a need for an extensive, programmable
math system; i just need something to help me with calculus and
engineering classes.

Thanks,

David Simmons

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

From: [email-masked] (Kristian Ejvind)
Subject: Re: Linux and MS Windows 3.1 (yuck) swap space.
Date: Wed, 15 Sep 1993 22:20:16 GMT

In article <[email-masked]> cbeauch@xenon (Chris Beauchamp) writes:
> I am about to install SLS (latest version) on a Dell 486sx25, but I'm
> only using half the hard disk,the other half being used for DOS and Windows. 
> 
> I have a 12Mb Linux swap partition - is this possible to be used as both a
> Linux and a Windows swapfile? What does Linux do to this partition? Does it 
> put anything corruptable on it?
 
  OK, here we go again: 'windows-linux swap in common?'. Perhaps time for 
moving this into the FAQ (I assume it's not there already, havn't checked...)?

  A swap *file* cannot be shared inbetween, as dos can't access the linux file
system and linux can't swap on the dos file system. However a linux swap
partion can be made into a swap file for windows at the cost of a few
seconds longer time to reboot. If you want to do things the same way as I
have done then follow these steps: (remember to subtitute the sizes and
partions to match your computer, else.... bad luck!)

1) Decide how much swap space you need and create a partion to swap on with
fdisk (or any other disk partioning program). I chose to make it about 6M or
to be exact 5967 blocks large and on /dev/hda4. Make the partion a DOS
partion. Mine is a primary 12-bit-fat (id 1) partion.

2) Erase the partion completely so that it will compress to the smallest
possible size. This can be done with :
    dd if=/dev/zero of=/dev/hda4 
while running linux. If you want you can use norton's wipeinfo to
'Wipe the entire drive' but this must be done after step 3). Neither
'format f:' or 'del f:*.*' will erase the data on the disk, they just
delete the information in the directory block(s) and wont work.

3) (Re)Boot dos. The swap partion will show up as a new 'disk letter' in
dos, which dos wont be able to read (dos says something like 'Invalid
media error on drive F'). My swap partion shows up as F:.  Format
the new drive:

c:\>format f:

4) Start windows (if you are running windows 3.0 you must start it in
real mode: c:\>win /r) and create a permanent swap file as large as the new
partion. Ignore the warning that windows won't use more than the recommended
size, it will. In windows 3.0 this is done by closing ALL active applications
excluding the program manager, selecting File/Run and run 'system/swapfile'. 
In windows 3.1 it's in the control panel under '386 Enh' and 'virtual memory'.

5) Reboot your computer into linux immediately after creating the
swapfile. DO NOT start windows.

6) Save and compress the swap partion to a file:

dd if=/dev/hda4 | gzip -9 > /.winswap

Since you erased the whole partion the compressed file will become
very small; from my computer:

23:27-oden:/>ls -l .winswap
-r--------   1 root     root         9431 Apr 10 20:23 .winswap

7) Place the following commands in your /etc/rc:

/bin/mkswap /dev/hda4 5967
/bin/swapon -a 

and a line in /etc/fstab describing your swap partion:

/dev/hda4       none    swap    defaults

8) These commands will destroy the dos partion and the windows swap
file and must be restored before windows can be used. I do this when I
reboot linux automatically with this script which I have named
/etc/reboot and with a link to it from /etc/halt:

----/etc/reboot-----snip-----8<--------
#!/bin/sh -
if [ "root" != "`whoami`" ]
then
  echo "Sorry "`whoami`. You must be root to reboot!. Exiting.
  exit 1
fi
echo `basename $0` in progress. Please standby
swapoff /dev/hda4
/usr/local/bin/gunzip < /.winswap > /dev/hda4
exec /etc/.hidden/`basename $0` $*
----end /etc/reboot-----snip-----8<----

and I have moved the original /etc/reboot and /etc/halt to 
/etc/.hidden/reboot and /etc/.hidden/halt

9) Enjoy.

10) Realize that 6M swap isn't enough. Sigh :-(

I have seen some peolpe suggesting that it is possible to just save
the beginning of the partion (just enough to hold the boot block, the
fat and the root directory), and others saying that you must save the
whole partion but I havn't bothered to investigate this matter, the
solution above works just perfect.

/Kristian

p.s. I hope I havn't mistyped anything but anyway: Be careful when
dealing with the disk partions as you will blame yourself to death
when you have erased your whole dos partion with your five years worth
of work on just because you typed /dev/hda4 instead of /dev/hda3 ;-)
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Kristian Ejvind - [email-masked]         I   The best way of accelerating
The Royal Institute of Technology, KTH   I   a macintosh is by 9.82 m/(s*s)
Stockholm, Sweden                        I
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

Date: Sun, 12 Sep 93 02:19:00 +0200
From: [email-masked] (Andy Beck)
Subject: Re: FTAPE 0.9.5 problem Please help

Hi there ! 

 NR> [email-masked] wrote:
 NR> : I have ftp'd the .99pl12 kernel source in its entirety and have
 NR> gotten the : ftape0.9.5.  I patched the .99pl12 source and re-built the
 NR> kernel.  On bootup, 
 Get ftape-0.9.6 please.
Not really necessary - you'll just need to do the patching by hand,if you
have the kernel version with built-in KLMs.Otherwise this seems to be done
twice in a that strange manner,that it will cause a Kernel Panic.
Some minor patching of kernel-interface.c is also needed - but that's no
big deal.

 NR> : What is the problem?  Am I supposed to have an ftape device in my
 NR> /dev : directory?  I have a Conner Archive 250MQT QIC80 tape drive
 NR> hooked to my : floppy.
Yes,you are supposed to have the char-device /dev/ftape.
It should have major 27 and minor ?? (bit 2 means rewind on close - 0 and
1 don't seem to be used now) .

CU,Andy

Available on Internet as [email-masked] :-)

... Documentation - The worst part of programming.

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

** 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: [email-masked]

You can send mail to the entire list (and comp.os.linux) via:

    Internet: [email-masked]

Linux may be obtained via one of these FTP sites:
    nic.funet.fi				pub/OS/Linux
    tsx-11.mit.edu				pub/linux
    tupac-amaru.informatik.rwth-aachen.de	pub/msdos/replace

The current version of Linux is 0.99pl9 released on April 23, 1993

End of Linux-Activists Digest
******************************