Subject: Linux-Admin Digest #107
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Mon, 26 Sep 94 00:13:59 EDT

Linux-Admin Digest #107, Volume #2               Mon, 26 Sep 94 00:13:59 EDT

Contents:
  Re: Has anyone gotten ftape to work? (Dan Saunders)
  problems compliing kernel 1.1.49, 1.1.50 (Srini Seetharam)
  Error when recompiling kernel (Geno Valicenti)
  Re: No Hostname (David - Morris)
  Re: Jumbo250MB speed improvement (James Gray Walker)
  Re: Want to read boot messagezx (Yonik Seeley)
  (extraneous?) double clicks freezing X server (Stephen Benson)
  Re: Linux won't keep correct time (Mark Weaver)
  Re: Driver for an UPS (LU-1250A) ??? (Thomas Quinot)
  Re: 4mm DAT on Linux? (Thomas Quinot)
  Re: File system check (Thomas Quinot)
  Re: ext2 and fsck questions (Thomas Quinot)
  Linux Device Registration (Mike Jagdis)
  [HELP] how to *not* use inetd (Matthew S. Crocker)
  Re: routing between ethernet and ppp? (Al Longyear)
  Re: Clean shutdown from X (Sujat Jamil)
  Re: HPFS Filesystem (Chris Smith)
  SLIP and TIA problem (Delman Lee)

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

From: [email-masked] (Dan Saunders)
Subject: Re: Has anyone gotten ftape to work?
Date: 25 Sep 1994 21:19:05 GMT

Jay Cox ([email-masked]) wrote:
: Pete Kruckenberg ([email-masked]) wrote:
: : I'm going to be setting up some kind of backup system on my Linux box,
: : and I'm wondering if anyone has gotten ftape to work. I haven't really
: : tried, but I heard some comments that it didn't work or was difficult
: : to set up. Are they true?

: It works flawlessly for me (kernel 1.1.45  ftape 1.13b-patched) and
: I am happy.  Colorado 250.  

: : Also, any recommendations on what to get to back-up a 1GB drive (all
: : Linux ext2)? I was thinking about using a Colorado Jumbo 250, but
: : that'll take several tapes to backup. Are there any Linux-compatible
: : tape drives (SCSI or proprietary bus, since I don't have IDE in this
: : machine) that are pretty affordable (under $500) that are close to
: : 1GB?
: If you want backup device of that size, you will need to raise your
: $$$$ a bit.  Right now the QIC-80 devices are about the only thing
: around for less than $750 US or so. Also, I dont think you can split
: a backup across multiple tapes with the current ftape, you need to make
: seperate tar files on different tapes.  Kind of a pain but better than
: no backup at all.

This is not true.  Check out afio, it allows compressed backups over 
mutiple tapes.  I use it all the time and it works GREAT!  Set the tape 
length to 115 megs, or it will not work for some reason....

: Jay Cox
: [email-masked]

: "Who is General Failure and why is he reading my hard drive?"

--
===========================================================================
*  Dan Saunders        |  What the heck I'll just leave this blank        *
*  University of       |                                                  *
*  Idaho, Moscow       |                                                  *
*  [email-masked] |                                                  *
===========================================================================

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

From: [email-masked] (Srini Seetharam)
Subject: problems compliing kernel 1.1.49, 1.1.50
Date: 25 Sep 1994 21:28:23 GMT

I just got a new motherboard with onboard ncr53c810 scsi
controller.
SO I download sources for kernel 1.1.45 and the patches 46, 47, 48,
49 and 50.

I patch my way up to 50 first and do a make config,
then do a make dep ; make clean.

On a make zImage , it basically barfs all over me with some cpp 
problem.

So I clear the directory and patch my way up to 1.1.49 this
time. make config works fine, make dep ; make clean workes fine.

make zImage worked until it barfed and gave this error message:

==================== cut here =========================
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m486   -c sd_ioctl.c -o sd_ioctl.o
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m486   -c g_NCR5380.c -o g_NCR5380.o
NCR5380.c: In function `NCR5380_information_transfer':
In file included from g_NCR5380.c:171:
NCR5380.c:1915: warning: unused variable `transfersize'
ln 53c7,8xx.scr fake.c
gcc -D__KERNEL__ -I/usr/src/linux/include -E -DCHIP=810 fake.c | grep -v ^# | perl script_asm.pl 
fake.c:55: unterminated character constant
fake.c:70: unterminated character constant
fake.c:192: unterminated character constant
fake.c:238: unterminated character constant
fake.c:368: unterminated character constant
fake.c:545: unterminated character constant
fake.c:570: unterminated character constant
fake.c:587: unterminated character constant
fake.c:794: unterminated character constant
fake.c:837: unterminated character constant
fake.c:906: unterminated character constant
fake.c:995: unterminated character constant
fake.c:996: unterminated character constant
sh: perl: command not found
cpp: output pipe has been closed
make[2]: *** [53c8xx_d.h] Error 127
make[2]: Leaving directory `/usr/src/linux/drivers/scsi'
make[1]: *** [driversubdirs] Error 1
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [linuxsubdirs] Error 1
runabout:/usr/src/linux# 
===================================== cut here ===================

I have compiled 2 or 3 kernels before on the same machine. 
These were 1.1.13 and 1.1.35.
None of these had scsi support.
I am running slackware 1.2 and currently kernel 1.1.13
I have the linux-binutils-1.0 from tsx-11.mit.edu.

Am I missing something special fro the kernel 1.1.45 + ?
Please help..

I would love to use my new scsi drive.

--
[email-masked]

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

From: [email-masked] (Geno Valicenti)
Subject: Error when recompiling kernel
Date: 23 Sep 1994 18:45:27 GMT

Can anyone help.  When I run `make `zImage` I get the following error.  I am
currently running Slackware 2.0

Linux darkstar 1.1.18 #5 Thu Jun 9 11:49:40 CDT 1994 i386

make[1]: Leaving directory `/usr/src/linux-1.1.18+UMSDOS-0.3a+IFS-5.1/lib'
ld  -Ttext 100000 boot/head.o init/main.o tools/version.o \
        kernel/kernel.o mm/mm.o fs/fs.o net/net.o ipc/ipc.o \
        fs/filesystems.a \
        drivers/block/block.a drivers/char/char.a drivers/net/net.a ibcs/ibcs.o
drivers/scsi/scsi.a drivers/FPU-emu/math.a \
        lib/lib.a \
        -o tools/zSystem
net/net.o: Undefined symbol _dev_init referenced from text segment
net/net.o: Undefined symbol _net_bh referenced from text segment
make: *** [tools/zSystem] Error 1

--
Geno Valicenti
Phone   +1.407.728.7910
E-mail  [email-masked]

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

From: [email-masked] (David - Morris)
Subject: Re: No Hostname
Date: 23 Sep 1994 23:41:31 GMT

[email-masked] (Robert Graulich) writes:

>[email-masked] (Ben Pressnall) writes:

>>At my login prompt the hostname reports (none).  I can make a temporary fix by 
>>using hostname_notcp (hostname), but defaults back to (none) after a reboot.
>>Can someone help.

>Create the file /etc/HOSTNAME and write your favorite name in it.
>Perhaps with "echo name >/etc/HOSTNAME", where name is what you want.

I have both /etc/HOSTNAME and /etc/hostname on my system and it
still can't remember the hostname between boots.  I issue:
   hostname gate
from root (gate is the hostname) when I start and that fixes things.

Dave Morris

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

From: [email-masked] (James Gray Walker)
Subject: Re: Jumbo250MB speed improvement
Date: 25 Sep 1994 22:30:56 +0100

You might try piping the tar or cpio output through a dd filter with
a huge obs, 1 MB or so.  Then dd will wait for a full output buffer
before writing it to tape in one long stream.  Your disk accesses will
alternate with your tape writes, but it beats lots of small stop and go
writes.

Jim
-- 
/* James Gray WALKER; [email-masked] || [email-masked] */
/* St-Cajetan-Str 12, D-81669 Munich, Germany; Tel Num on Request */
/* PO Box 5676, Arlington, VA 22205-0176, USA; Fax by Arrangement */

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

From: [email-masked] (Yonik Seeley)
Subject: Re: Want to read boot messagezx
Date: 21 Sep 1994 23:02:21 GMT

In article <[email-masked]>,
Marten Liebster <[email-masked]> wrote:
>Greg J. Pryzby ([email-masked]) wrote:
>: Where (or are) the messages displayed at boot stored?  Is there a way
>: to read the messages that are written to the console at boot?
>
>: Everything scrolls by so fast that I can't read them, but I would like
>: too.
>
>Check the /var/adm directory.  There should be a file called messages.  
>That file contains the messages, older files will be labeled messages.01,
>messages.02, etc.

Or even easier, hold down shift and press the Page-Up key.  You can only
do this after you have scrolled on a VT and not switched to another.
Note that because the kernel just moves the start of the text buffer,
you can actually scroll all the way back to the bios message (on AMI at least).

>
>Marten

- Yonik Seeley
  [email-masked]

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

Reply-To: [email-masked] (Stephen Benson)
From: [email-masked] (Stephen Benson)
Date: Sun, 25 Sep 1994 22:16:49 GMT
Subject: (extraneous?) double clicks freezing X server

I've got a recurrent and very annoying problem with X freezing up (it's
happened two or three times today). Every time I have to hit reset, I fear for
my filesystem. 

It seems to be related to mouse double clicks that aren't needed/caught by any
applications; although initially I blamed it on a couple of apps (xfilemanager
and xfm), it happens too often. (Actually xfm's application workspace/shell
won't respond to my current mouse at all, from memory) 

I saw a post lately about "defining double clicks" or something to that effect,
but I can't find the reference. 

I have a sneaking suspicion its related to another, less urgent, problem which
I've posted twice, to no avail. I've tried 1.1.18 and 1.1.45 kernels, and both
have not run X properly. They start slowly or not at all (flicking from X to
another VT and back gets it going) but don't respond to the mouse (or keyboard
either in the case of 1.1.18, if I remember rightly). It's a dual mode ms/mouse
systems branded CPC BTW. But the problem occurred with an ordinary MS mouse as
well. 

Sorry for occasional imprecision; I'm in a windows mailer.

--                                     
+  stephen benson  +   +   +   +   +   linux 1.0.9   +   +   xfree86 2.1.1  +
+  [email-masked]   +   +   +   +   +   +   +   +   +   +   +                                
                                    . *                             '        
+             .                         `                                   + 

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

From: [email-masked] (Mark Weaver)
Subject: Re: Linux won't keep correct time
Date: 25 Sep 1994 22:07:28 GMT

In article <[email-masked]>,
Lee J. Silverman <[email-masked]> wrote:
>In article <[email-masked]> [email-masked] (Marc Fraioli) writes:
>   I have noticed the same thing-- I need to set the time with my BIOS
>   config program.  Setting it through Linux always gets it reset after
>   a reboot.
>
>       I've seen the same problem, and I've also seen my clock wander
>frequently.  Not suprisingly, the clocks in PC-COmpatibles aren't very
>stable.  If you run "netdate" froma cron job every day or so, your
>clock should remain accurate to within a second.  If it isn't that
>accurate, you may have power supply problems or something else weird.

Did you use "clock -w" to explicitly write the time to NVRAM?  Using
"date" alone will not set the CMOS clock.

        Mark
====================================================================
Email: [email-masked]           | Brown University
PGP Key: finger [email-masked]       | Dept of Computer Science

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

From: [email-masked] (Thomas Quinot)
Subject: Re: Driver for an UPS (LU-1250A) ???
Date: 24 Sep 1994 14:35:45 +0200

Le Prostetnic Vogon Oliver Schade écrit :
 
> Now, is there an driver available, which detects the signals from the UPS
> and forces the computer to a controlled shutdown? And (maybe) interrups this

Have a look at powerd in the SysVInit distrib. (If you need info about it,
the author's address is [email-masked]).

-- 
Thomas QUINOT                       |  "Un roi sans divertissement est un
<[email-masked]>      |             homme plein de misère."
Linux - choice of a GNU generation  |                          Jean GIONO

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

From: [email-masked] (Thomas Quinot)
Crossposted-To: utah.linux
Subject: Re: 4mm DAT on Linux?
Date: 24 Sep 1994 14:40:55 +0200

Le Prostetnic Vogon Pete Kruckenberg écrit :
 
> one that works with Linux, let me know. I'm assuming that a 4mm SCSI
> DAT would be supported with the regular SCSI tape driver, so please
> let me know if I'm right or wrong.

Any SCSI DDS drive can be used with the SCSI tape driver (it works here,
with a Sony SDT-2010).
-- 
Thomas QUINOT                       |  "Un roi sans divertissement est un
<[email-masked]>      |             homme plein de misère."
Linux - choice of a GNU generation  |                          Jean GIONO

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

From: [email-masked] (Thomas Quinot)
Subject: Re: File system check
Date: 24 Sep 1994 14:46:50 +0200

Le Prostetnic Vogon Michael Zill écrit :
 
> What can he do ????

He should properly shutdown his system (that includes remounting root
read-only). This remounting can be achieved with 
   mount -o remount,ro -n /dev/his_root_device /

(this command normally takes place in a shutdown script (rc.0 for SysVInit
v2.5).
-- 
Thomas QUINOT                       |  "Un roi sans divertissement est un
<[email-masked]>      |             homme plein de misère."
Linux - choice of a GNU generation  |                          Jean GIONO

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

From: [email-masked] (Thomas Quinot)
Subject: Re: ext2 and fsck questions
Date: 24 Sep 1994 14:51:18 +0200

Le Prostetnic Vogon Darin Johnson écrit :
 
> I want to get rid of the "mounting unchecked filesystems" error.

You just have to mount only clean file-systems ;->

The essential problem is that, at shutdown-time, it is nontrivial to unmount
the root partition. In fact, you never unmount it, but you have to
remount it read-only (mount -o remount,ro -n /dev/root_device /), thus marking
it clean.

Hope this helps...
-- 
Thomas QUINOT                       |  "Un roi sans divertissement est un
<[email-masked]>      |             homme plein de misère."
Linux - choice of a GNU generation  |                          Jean GIONO

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

From: [email-masked] (Mike Jagdis)
Subject: Linux Device Registration
Date: Fri, 23 Sep 1994 21:26:00 +0000

* In message <[email-masked]>, Martin Kraemer said:

MK> Please, Michael, and please,  iBCS folks, can we find a
MK> couple of numbers which are mutually exclusive?

MK> I _know_ this means a _lot_ of trouble anyway, since many
MK> header files ha-
MK> ve to be changed and the sources recompiled and the devices
MK> have to be removed and recreated.

Nah, iBCS has supported auto allocation of the major for a long time (longer 
than the kernel has in fact). So does the latest MAKEDEV script via 
/proc/devices. Just set the major number to 0 in the Makefile and run 
'MAKEDEV update' after insmod'ing.

  The reason iBCS still has a hard coded major in there is because it still 
supports earlier kernels. On kernels that do not have the auto allocation 
code for major numbers it is a bad mistake to register and unregister major 
0.

  At some stage I intend to change the default in the Makefile to 0.

                                Mike  

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

From: [email-masked] (Matthew S. Crocker)
Subject: [HELP] how to *not* use inetd
Date: 23 Sep 1994 19:38:58 GMT

Hello all,

  I'm setting up a machine to act as an internet host.  I expect this
machine to see a pretty high load and I want to make things as easy on
the machine as possible.  I would like to setup certain daemons to be
running automatically instead of being started as needed by inetd.

how would I go about doing this?  

I un-commented out the telnet line in /etc/inetd.conf and SIGHUP'd
inetd, then I manually tried to start /usr/sbin/in.telnetd but it gave
me some strange error and bombed.  what am I supposed to be doing?

E-Mail reply's please

[email-masked]

--
-Matthew S Crocker               "The mask, given time, comes
[email-masked]              to be the face itself."  -anonymous
*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*
 *linux*linux*linux*linux*linux*linux*linux*linux*linux*linux*linux*linux*

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

Crossposted-To: comp.os.linux.help
From: [email-masked] (Al Longyear)
Subject: Re: routing between ethernet and ppp?
Date: Sun, 25 Sep 1994 23:01:26 GMT

[email-masked] (Daniel Garcia) writes:

>Ok, I've kind of seen it discussed here, but still don't understand it.
>My service provider has given me three ip numbers, and I have three
>machines on a local, private ethernet (two linux boxes and an alpha).  
>One of the linux boxes is connected via ppp to my service provider, and
>by extension the rest of the internet.  The other two machines can connect
>to my linux box, but thye can't get out to the internet.  What is the
>easiest way to get my machine to act as a router?  

>Kernel routing table
>Destination     Gateway         Genmask         Flags Metric Ref Use    Iface
>192.215.98.2    0.0.0.0         255.255.255.255 UH    0      0       74 ppp0
>192.215.98.0    0.0.0.0         255.255.255.0   U     0      0     5689 eth0
>127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
>0.0.0.0         192.215.98.2    0.0.0.0         UG    0      0     8352 ppp0

The 'other' computers on your network, the 'two linux boxes and an
alpha', need to have the default route point to the one IP address
assigned to the eithernet adapter on the system with the PPP link.

You should have built the kernel with IP forwarding on the kernel with
PPP. The other kernels should not be built with IP forwarding.

I do not know about the situation that you have here. You seem to have
all of the IP addresses in the same IP domain, 192.315.98. If you have
the default route set correctly on the other computers on the network,
then you may have to forgo a network route on your ethernet for the
specific host routes to the indivual IP addresses going to the
ethernet. It will take someone who has more knowledge in ethernet
routing than I to answer that question.

>192.215.98.2 is the service provider.

What's going on with your service provider? This is very strange that
you would be given an IP address on the same IP domain as theirs. They
must do host specific routes for all of your IP addresses to you. What
a waste.

>Email responses preferred, but I do read this newsgroup quite regularly.

Oh well, then you probably won't see this.

-- 
Al Longyear           [email-masked]

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

From: [email-masked] (Sujat Jamil)
Subject: Re: Clean shutdown from X
Date: Sun, 25 Sep 1994 23:42:23 GMT

In article <[email-masked]>,
Nora E. Etukudo <[email-masked]> wrote:
>   in article <[email-masked]>,
>   from Mon, 19 Sep 1994 16:18:02 UNDEFINED,
>   [email-masked] also known as "Tim Brailsford",
>   wrote [shortend]:
>[...]
>> I am having a problem shutting down a Linux system from X (Linux 1.0.9,
>> XFree86 2.1.1).
>
>I'm running  xdm also (Slackware-2.0, Linux-1.1.50,  XFree86-2.1.1) and I
>shut down with
>
>     1. switching to console (Ctrl-Alt-F1)
>     2. Pressing Ctrl-Alt-Del.

There's an even simpler way.  (Linux 1.0.8, XF 2.1.0)

1. Hit Alt-Ctrl-Backspace (kills X)
2. As soon as you see the text screen, hit Ctrl-Alt-Del.

I've also had no problems shutting down, or rather rebooting with

shutdown -r now

>
>The system goes correctly down, with no errors on next boot.
>
>But, I hope there is a better way, isn't it?

Yup, so do I.  A neater way would be nice.

>
>> Any ideas would be gratefully recieved.
>> Tim
>
>Greetings, Nora.
>--
>-------------------------------------------------------------------------
>   Nora E. Etukudo                          <[email-masked]>
>   Joachim-Friedrich-Str. 39c  +4930 8932911, 14400-V42bis, 0000-2359h
>   D-10711 Berlin              +4930 8922407, 14400-V42bis, 2245-0745h
>                                 Login with nuucp (nuucp) or source ()
>   Germany                                        Get ~/archiv/INDEX.z
>-------------------------------------------------------------------------
>

--
*******************************************************************************
Sujat Jamil                                              Electrical Engineering
Graduate Assistant                                      University of Minnesota
[email-masked]**************************

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

From: [email-masked] (Chris Smith)
Subject: Re: HPFS Filesystem
Date: 25 Sep 1994 18:49:41 -0500

   From: [email-masked] (Tim Cutts)
   Date: 23 Sep 1994 07:51:05 GMT

                                                                 There is
   going to be a problem, too, with OS/2 3.0.  As anyone who's already
   tried the beta will already know, the current read-only hpfs
   filesystem does not work with Warp's HPFS.

The patch for that will show up when Linus gets back from Australia,
at some point.  I'll append it below if you're in a hurry.

   >    Also I seem to get strange error messages about missing
   >    files of pattern 'eadata.*' even with ls...

I think this may be a bug in the 'ls' you're using.  I don't see
this problem -- I can ls and cat these files just fine.  I can't
connect to the directory 'maintenance desktop', though -- this is
a bash bug.  Luckily, I do not want to cd to this directory.

   Those are the extended attributes (in other words, your settings
   noterbook for the file).  I think they're stored in an odd way on DOS
   FAT filesystems, which is where you see this error.  However, I seem
   to remember seeing somewhere an announcement of a msdos fs update that
   fixed this.  Am I making this up, someone?

Aha.  I hallucinated this too.  If it's on a FAT partition, that's a
more likely story.

(Sorry about the delay on this, by the way -- I had a hard time getting
them to ship Warp II to my correct address.)

Here is the patch:

*** linux/fs/hpfs/hpfs.h.~1~    Wed Aug 10 11:26:26 1994
--- linux/fs/hpfs/hpfs.h        Thu Sep 22 21:02:37 1994
***************
*** 93,97 ****
    unsigned magic;                     /* f991 1849 */
    unsigned magic1;                    /* fa52 29c5, more magic? */
!   unsigned dirty;                     /* 0 clean, 1 "improperly stopped" */
  
    secno hotfix_map;                   /* info about remapped bad sectors */
--- 93,101 ----
    unsigned magic;                     /* f991 1849 */
    unsigned magic1;                    /* fa52 29c5, more magic? */
! 
!   unsigned dirty: 1;                  /* 0 clean, 1 "improperly stopped" */
!   unsigned flag1234: 4;                       /* unknown flags */
!   unsigned fast: 1;                   /* partition was fast formatted */
!   unsigned flag6to31: 26;             /* unknown flags */
  
    secno hotfix_map;                   /* info about remapped bad sectors */

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

From: [email-masked] (Delman Lee)
Subject: SLIP and TIA problem
Date: 25 Sep 1994 23:48:41 GMT

Has anybody got TIA working with Linux's SLIP? I can't seem to get it
to work properly. I can telnet to the TIA server/host immediately
after starting SLIP, but shortly afterwards the telnet session hangs,
and further telnet to the server/host hangs. 

[TIA is like term except it's slightly more transparent than term and with
some limitations. For further info ftp to marketplace.com]

THanks, Delman.
--
______________________________________________________________________

  Delman Lee                                 Tel.: +1-215-662-6780
  Medical Image Processing Group,            Fax.: +1-215-898-9145
  University of Pennsylvania,
  4/F Blockley Hall, 423 Guardian Drive,                         
  Philadelphia, PA 19104-6021,
  U.S.A..                            Internet: [email-masked]
______________________________________________________________________

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

** 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.admin) 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
    sunsite.unc.edu				pub/Linux

End of Linux-Admin Digest
******************************