Linux-Misc Digest #838, Volume #24 Sat, 17 Jun 00 08:13:02 EDT
Contents:
Re: Mandrake 7.1: is it fixed yet? (kamborg)
workgroup management/diary system (lee stone)
Mandrake 7 - installation error (=?iso-8859-1?Q?Lars=2DG=F6ran?= Andersson)
samba: files disappearing (Stefano Ghirlanda)
Partition Magic 5.0: Multi-boot with Win2k, Linux, Win98 (Tan Min-Han)
Re: Linux erased Windows!!!!!!!!!!!! (David Steuber)
Re: Mandrake 7.1: is it fixed yet? (David Steuber)
Re: [Help:] Problems with NFS Daemon under 2.2.16 kernel (Jose Manuel Benitez
Sanchez)
Re: workgroup management/diary system (Robie Basak)
Re: exec cgi, very simple question. (Robie Basak)
Re: help! archive with extension .gz.sh (Robie Basak)
Lilo Problem ("FROZEN_Steam")
Re: Lilo Problem (Martin Herrman)
Re: Lilo Problem ("FROZEN_Steam")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (kamborg)
Crossposted-To: alt.os.linux.mandrake
Subject: Re: Mandrake 7.1: is it fixed yet?
Reply-To: [EMAIL PROTECTED]
Date: Sat, 17 Jun 2000 07:52:24 GMT
On Fri, 16 Jun 2000 22:00:00 GMT, David Steuber wrote:
>Newsgroups: alt.os.linux.mandrake,comp.os.linux.misc (1 too many)
>X-Warning: Don't stare directly at the headers!
>X-Silly: This header is provided by the ministry of silly headers
>X-Newsreader: Gnus v5.5/XEmacs 20.4 - "Emerald"
>
> (kamborg) writes (about the reason for shutting down crond):
>
>' Because there doesn't appear to be any other way to stop crond from reading
>' the disk every 60 seconds, which it does to see whether its `crontab' has
>' changed, and because there's no reason for a single-user desktop PC, w/o a
>' permanent network connection, to be putting mechanical wear on the disk
>' 24h/day. at is probably better for scheduling such a system anyway; does
>' it suffer from the same compulsive behavior ? --`kamborg'
>
>I think cron keeps each user's crontab in memory. Why else must you
>use crontab -e to change it?
I did read the man/info page, which only takes a couple of minutes as a
previous writer indicated, and it says both: crontabs are stored in
memory, but also the HD is read every 60s to check whether any have been
changed. About kflush I only know the line that always appears in
`top' showing it to be memory resident, and these remarks--
>
>There are other services that hit the disk also. Updated/kflush is
>one of them ( It synchronizes the cache with the physical files ). It
>runs every few minutes according to a setting that was made during
>boot up. You can find it in your boot scripts and lengthen that time
>if you are comfortable with your UPS.
--but it must be programmed to avoid overkill, i.e., not to continue
disk r/w when no unsync'ed changes have occurred since the last sync.
Must be, because within 1-2m the timer to spindown begins to run.
The Quantum Fireball 3840AT remains still indefinitely as long as no
user program is going that requires disk activity. If X is running,
for example, (XF86_SVGA) even with the machine left manually idle, it
does something with disk files every 600s exactly. Wish I knew what.
I could read slrn all afternoon (not slrn-pull) without the disk
coming on, unless I decide to post, or reload headers. Any other
text mode program likewise, when not needing disk files and the
machine is left alone. [If the room's quiet, I can hear it come on.]
Under Win95, Netscape and Word97 behave much like X in this regard.
But I could leave many windows on the Opera browser overnight without
the HDD every starting up. Another good argument against bloatware !
>
>A little fine tuning, and you can minimize disk access for a machine
>that is not being used.
>
To zero, for an Intel P166 MMX & piix4 chipset, on a Tekram P5T30-B4
board with typical Award (v1.7 ? I think) PnP BIOS. No-name SMILE
69 kHz Energy Star compliant monitor. All over 3y old.
I set power savings in the BIOS when I set up the dual-boot.
Mandrake 7.0, with default settings & software, pretty much. I'd
guess you're running apmd on a laptop; never got around to that.
I'll have to try it soon and check out the difference. And I know
my boot scripts do make lovely reading, once I begin to decipher them.
Sorry to go on so, it's a pet topic. Glad to hear any comments.
`kamborg'
------------------------------
From: lee stone <[EMAIL PROTECTED]>
Subject: workgroup management/diary system
Date: Sat, 17 Jun 2000 09:30:48 +0100
hi
I am about to set up an office with 25 people using win98 machines and a
linux/samba server.
does anyone know of a good workgroup scheduling/diary system to run on
linux using a web interface for the users?
thanks
lee
------------------------------
From: =?iso-8859-1?Q?Lars=2DG=F6ran?= Andersson <[EMAIL PROTECTED]>
Subject: Mandrake 7 - installation error
Date: Sat, 17 Jun 2000 05:49:08 GMT
Hi,
I have tried to upgrade my Md 6.2 to Md 7.02 and it looks hard to
achieve.
I selected all packages, I got lot of space, but after half an hour or
so the installation ends with a messsage:
"An error occurred
installation of rpms failed:
installing package needs 30Mb on the /mnt/filesystem"
What does this mean? I think I got at least 1.5Gb free on that
partition!
Lars-G�ran
------------------------------
From: [EMAIL PROTECTED] (Stefano Ghirlanda)
Crossposted-To: comp.protocols.smb
Subject: samba: files disappearing
Date: 17 Jun 2000 09:58:32 GMT
Hi,
I have a problem with samba, when I connect with a linux
client to a linux samba server. I mount the shares with smbmount. Server
and client have samba versions 2.0.3 and 2.0.5a repsectively.
If I rename a file to a new name with only the
case of letters changed, the file is deleted. Example:
$ touch A
$ mv A a
$ ls a
ls: a: No such file or directory
is this an intrinsic limitation of the SMB protocol, a misconfiguration
on my side, a bug?
Thanks for your help,
Stefano
------------------------------
From: [EMAIL PROTECTED] (Tan Min-Han)
Crossposted-To: comp.os.linux.setup
Subject: Partition Magic 5.0: Multi-boot with Win2k, Linux, Win98
Date: Sat, 17 Jun 2000 10:08:10 GMT
Thanks all who responded to my earlier query with regards to setting
up a multiboot of Win2k, Linux, Win98 on 2 hard disks. I've bought
Partition Magic 5.0.
I recall reading a post that BootMagic (bundled with PM 5.0) would
allow booting from beyond the 1024 cylinder limit.
I have a Maxtor 20.4 GB master and a 10.2 GB slave.
Would my proposed
MASTER
Primary partition FAT32 (1 GB) C: Windows 98
Primary partition NTFS (1 GB) C: Win 2000 boot
Logical partition FAT32 (10 GB) E: Windows applications
Logical partition FAT32 (8 GB) F: Internet stuff
SLAVE
Primary partition(5 GB) D: FAT 32 (for Win98/2k applications)
Primary partition (5 GB) Linux
be more elegant as
MASTER
Primary partition FAT32 (1GB): (C:) Windows 98 boot
Logical partition FAT32 (7 GB):(E:) Windows applications
Logical partition FAT32 (7 GB) (G:) Internet stuff
Linux 5 GB
SLAVE
Primary partition D: NTFS (1 GB) (D:) Win 2k
Primary partition F: FAT32 (9 GB) Assorted.
And where would I put /boot for Linux as a logical partition?
Help! I'm beginning to confuse myself... =)
Thanks a million!
------------------------------
Subject: Re: Linux erased Windows!!!!!!!!!!!!
From: David Steuber <[EMAIL PROTECTED]>
Date: Sat, 17 Jun 2000 11:00:00 GMT
"Andrew N. McGuire " <[EMAIL PROTECTED]> writes:
' RTFM first!! ;^)
I thought RTFM was a last resort. Why else have USENET? ;^p
<the wonders of fork>
--
David Steuber | Hi! My name is David Steuber, and I am
NRA Member | a hoploholic.
All bits are significant. Some bits are more significant than others.
-- Charles Babbage Orwell
------------------------------
Crossposted-To: alt.os.linux.mandrake
Subject: Re: Mandrake 7.1: is it fixed yet?
From: David Steuber <[EMAIL PROTECTED]>
Date: Sat, 17 Jun 2000 11:00:01 GMT
[EMAIL PROTECTED] (kamborg) writes:
' >I think cron keeps each user's crontab in memory. Why else must you
' >use crontab -e to change it?
'
' I did read the man/info page, which only takes a couple of minutes as a
' previous writer indicated, and it says both: crontabs are stored in
' memory, but also the HD is read every 60s to check whether any have been
' changed. About kflush I only know the line that always appears in
' `top' showing it to be memory resident, and these remarks--
Cron _does_ check every 60 seconds. _But_ those files should be in
cache. Unless something bumped them from the disk cache, then the
disk won't really be accessed and the disk won't have to spool up.
Running without cron means that certain house keeping chores are not
being done. You can look in /etc/cron.daily, for example, to see some
chores that will be missed.
' >boot up. You can find it in your boot scripts and lengthen that time
' >if you are comfortable with your UPS.
'
' --but it must be programmed to avoid overkill, i.e., not to continue
' disk r/w when no unsync'ed changes have occurred since the last sync.
>From what I gather, the update ( /sbin/update ) program which actually
starts kflushd and kupdate takes options to control how these daemons
work. There is the -s parameter which controls how many seconds elapse
between calls to sync and there is the -f parameter which controls how
many seconds elapse between calls to flush.
If none of the buffers are dirty, nothing should happen. This seems
to be rarely the case though.
' Must be, because within 1-2m the timer to spindown begins to run.
' The Quantum Fireball 3840AT remains still indefinitely as long as no
' user program is going that requires disk activity. If X is running,
' for example, (XF86_SVGA) even with the machine left manually idle, it
' does something with disk files every 600s exactly. Wish I knew what.
On my system, there is a script called /sbin/init.d/boot which is
called by init. In that script I have the following:
#
# you will need "update".
#
ECHO_RETURN=$rc_done
echo -n "Running update (bdflush) daemon"
/sbin/update -s 900 -f 900 || ECHO_RETURN=$rc_failed
echo -e "$ECHO_RETURN"
There are other things to tweak, but I don't know enough yet what is
best:
root@solo% update -h
usage: update [-012345678] [-d] [-s sync-delay] [-f flush-delay]
-0 Max fraction of LRU list to examine for dirty blocks
-1 Max number of dirty blocks to write each time bdflush activated
-2 Num of clean buffers to be loaded onto free list by refill_freelist
-3 Dirty block threshold for activating bdflush in refill_freelist
-4 Percentage of cache to scan for free clusters
-5 Time for data buffers to age before flushing
-6 Time for non-data (dir, bitmap, etc) buffers to age before flushing
-7 Time buffer cache load average constant
-8 LAV ratio (used to determine threshold for buffer fratricide)
-d Display kernel parameters
-f Call flush this often (in seconds)
-h Give this help
-s If acting as update then call sync this often (in seconds)
' I could read slrn all afternoon (not slrn-pull) without the disk
' coming on, unless I decide to post, or reload headers. Any other
' text mode program likewise, when not needing disk files and the
' machine is left alone. [If the room's quiet, I can hear it come on.]
' Under Win95, Netscape and Word97 behave much like X in this regard.
' But I could leave many windows on the Opera browser overnight without
' the HDD every starting up. Another good argument against bloatware !
I manage to keep the disk quite for a time with XEmacs and GNUS.
' >A little fine tuning, and you can minimize disk access for a machine
' >that is not being used.
'
' To zero, for an Intel P166 MMX & piix4 chipset, on a Tekram P5T30-B4
' board with typical Award (v1.7 ? I think) PnP BIOS. No-name SMILE
' 69 kHz Energy Star compliant monitor. All over 3y old.
' I set power savings in the BIOS when I set up the dual-boot.
' Mandrake 7.0, with default settings & software, pretty much. I'd
' guess you're running apmd on a laptop; never got around to that.
' I'll have to try it soon and check out the difference. And I know
' my boot scripts do make lovely reading, once I begin to decipher them.
Just look for a call to /sbin/update. Then you can edit that call to
increase the standard times for sync and flush.
Keep in mind that some software and scripts will call sync directly to
make sure the file system is in a sane state before doing things to
it. I'm also not sure just how clever the disk caching is. I would
expect disk cache to hold a much lower priority than program memory
and shared memory. I hear Windows ( I don't know if it is all flavors
) will swap out program code or memory rather than shrinking its disk
cache. That doesn't sound optimal to me.
I do run apmd on my laptop. I even have a script called by cron to
shut down the machine if it is running on battery and the power drops
uncomfortably low. fscks suck. Anyway, all the noise comes from the
disk drive. It also gets on the warm side when it runs too. There is
a fan in my laptop, but I don't normally hear it.
--
David Steuber | Hi! My name is David Steuber, and I am
NRA Member | a hoploholic.
All bits are significant. Some bits are more significant than others.
-- Charles Babbage Orwell
------------------------------
From: Jose Manuel Benitez Sanchez <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.setup,comp.os.linux.networking,comp.os.linux.development.system,comp.os.linux.help
Subject: Re: [Help:] Problems with NFS Daemon under 2.2.16 kernel
Date: Sat, 17 Jun 2000 12:16:21 +0200
Kaz Kylheku wrote:
>
> On Fri, 16 Jun 2000 20:58:54 +0200, Jose Manuel Benitez Sanchez
> <[EMAIL PROTECTED]> wrote:
> >Jun 14 12:21:46 bahia rpc.nfsd: nfssvc: Function not implemented
>
> Jose, you did not compile the NFS server kernel code! Reconfigure your
> kernel, and say yes to be prompted for new, experimental and incomplete
> code. Then the NFS server configuration option will be available to you.
That's true, but I don't intend to use the kernel NFS server, but an
external NFS server as installed by the nfs-utils package. It did work
with the kernel bundled together with the distribution (2.2.14-5).
That's the way I'd like it working with the new kernel.
--
Jose Manuel Benitez Sanchez e-mail: [EMAIL PROTECTED]
Dpto. de Ciencias de la Computacion e Inteligencia Artificial
E.T.S. Ingenieria Informatica
Universidad de Granada Tel. +34 - 958 - 24 61 43
18071 - GRANADA (Spain) Fax: +34 - 958 - 24 33 17
------------------------------
From: [EMAIL PROTECTED] (Robie Basak)
Subject: Re: workgroup management/diary system
Reply-To: [EMAIL PROTECTED]
Date: 17 Jun 2000 11:20:01 GMT
On Sat, 17 Jun 2000 09:30:48 +0100, lee stone said:
>hi
>
>I am about to set up an office with 25 people using win98 machines and a
>linux/samba server.
>
>does anyone know of a good workgroup scheduling/diary system to run on
>linux using a web interface for the users?
Look around on http://freshmeat.net - I've seen announcements of some.
Robie.
--
------------------------------
From: [EMAIL PROTECTED] (Robie Basak)
Crossposted-To: comp.os.linux.development.apps
Subject: Re: exec cgi, very simple question.
Reply-To: [EMAIL PROTECTED]
Date: 17 Jun 2000 11:22:17 GMT
On Sat, 17 Jun 2000 02:19:07 -0400, lindoze 2000 said:
>this simple cgi script:
>
>------------------
>#!/bin/sh
>
>cat <<-!
> Content-type: text/plain
>
>
>!
>
>ReadThis=$(/bin/cat /httpd/cgi-bin/file1.txt)
>echo $ReadThis
>
>----------------
> can be called by an .html
>now, file1.txt contains line breaks.
>when you view source on a browser, you do not see the line breaks
>produced by file1.txt
>why?
I discovered that doing $(whatever) or `whatever` loses them; try
/bin/cat /httpd/cgi-bin/file1.txt
Robie.
--
------------------------------
From: [EMAIL PROTECTED] (Robie Basak)
Subject: Re: help! archive with extension .gz.sh
Reply-To: [EMAIL PROTECTED]
Date: 17 Jun 2000 11:24:56 GMT
On Fri, 16 Jun 2000 19:54:25 -0700, Curtis Vize said:
>I know the .gz means the file is a gzip archive, but I have the quake 3
>demo and it has the .sh extension at the end and I'm not sure which
>program to use or even what type of archive it is, I don't recognize the
>extension and neither does X, can anyone help?
X doesn't care about extensions.
Sounds like a shell script. As a general hint, you can type:
file <filename>
to see what type of file something is.
Execute by going to the directory and typing:
./filename
if non-executable type:
chmod 755 filename
to make executable.
Robie.
--
------------------------------
From: "FROZEN_Steam" <[EMAIL PROTECTED]>
Crossposted-To:
alt.uu.comp.os.linux.questions,comp.os.linux.hardware,comp.os.linux.x,nl.comp.os.linux.overig,nl.comp.os.linux.x
Subject: Lilo Problem
Date: Sat, 17 Jun 2000 13:29:40 +0200
Hello,
I'm having some trouble using lilo.
I've configured lilo on mbr, but when it starts, There's only an 'L' on my
screen and I can do nothing but hit reset...
I hava a Gigabyte GA71XE mainboard wth an AMD Athlon 700
Could someone pls help?
Thanx,
Floris
------------------------------
From: [EMAIL PROTECTED] (Martin Herrman)
Crossposted-To:
alt.uu.comp.os.linux.questions,comp.os.linux.hardware,comp.os.linux.x,nl.comp.os.linux.overig,nl.comp.os.linux.x
Subject: Re: Lilo Problem
Reply-To: [EMAIL PROTECTED]
Date: 17 Jun 2000 11:45:50 GMT
On Sat, 17 Jun 2000 13:29:40 +0200, FROZEN_Steam <[EMAIL PROTECTED]>
wrote:
> Hello,
>
> I'm having some trouble using lilo.
>
> I've configured lilo on mbr, but when it starts, There's only an 'L' on my
> screen and I can do nothing but hit reset...
- reboot with linux boot floppy (made during install, didn't you? ;-)
- login as root
- type: lilo
- press enter
- watch the appearing text
- reboot the system and enjoy ;-)
Martin
>
> I hava a Gigabyte GA71XE mainboard wth an AMD Athlon 700
>
> Could someone pls help?
>
> Thanx,
> Floris
>
>
--
Linux Gebruikers Handleiding v1.2 : http://2mypage.cjb.net
Linux RedHat 6.1 Kernel 2.2.14 Toshiba P233 MHz, 32 Mb RAM
1:40pm up 9 days, 13:45, 3 users, load average: 0.00, 0.00, 0.03
Western Civilization, that would be a good idea!
------------------------------
From: "FROZEN_Steam" <[EMAIL PROTECTED]>
Crossposted-To:
alt.uu.comp.os.linux.questions,comp.os.linux.hardware,comp.os.linux.x,nl.comp.os.linux.overig,nl.comp.os.linux.x
Subject: Re: Lilo Problem
Date: Sat, 17 Jun 2000 13:50:53 +0200
I already tried it on a floppy disk as well
lilo output is just:
added Linux*
added windows
That's the normal ouput isn't it?
Any other ideas?
"Martin Herrman" <[EMAIL PROTECTED]> schreef in
bericht news:394b64ee$0$12281@reader5...
> On Sat, 17 Jun 2000 13:29:40 +0200, FROZEN_Steam
<[EMAIL PROTECTED]>
> wrote:
> > Hello,
> >
> > I'm having some trouble using lilo.
> >
> > I've configured lilo on mbr, but when it starts, There's only an 'L' on
my
> > screen and I can do nothing but hit reset...
>
> - reboot with linux boot floppy (made during install, didn't you? ;-)
> - login as root
> - type: lilo
> - press enter
> - watch the appearing text
> - reboot the system and enjoy ;-)
>
> Martin
>
> >
> > I hava a Gigabyte GA71XE mainboard wth an AMD Athlon 700
> >
> > Could someone pls help?
> >
> > Thanx,
> > Floris
> >
> >
>
>
> --
> Linux Gebruikers Handleiding v1.2 : http://2mypage.cjb.net
> Linux RedHat 6.1 Kernel 2.2.14 Toshiba P233 MHz, 32 Mb RAM
> 1:40pm up 9 days, 13:45, 3 users, load average: 0.00, 0.00, 0.03
> Western Civilization, that would be a good idea!
------------------------------
** 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 PROTECTED]
You can send mail to the entire list (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************