Linux-Misc Digest #11, Volume #24                Fri, 31 Mar 00 18:13:05 EST

Contents:
  Re: Erase contents of windows swap file? (Bastian)
  Re: Recommended backup routines ("David ..")
  Re: Error reading for memory ("David ..")
  Re: QUESTION! (Johan Kullstam)
  How to auto-mount 2nd CD-ROM/CD-RW? ([EMAIL PROTECTED])
  Re: SCSI and IDE disk problems (Stuart R. Fuller)
  Printer stuck on manual feeding (Gloria McClure-Fraser)
  Re: QUESTION! (Lion)
  Re: NFS cannot mount "/" (Bill Unruh)
  What should I buy? (th499)
  Can't believe someone hasn't seen this! (Chris Davis)
  pipes and xterms (Steven Szabo)
  Re: Can't believe someone hasn't seen this! (Patricia)
  Re: Can't believe someone hasn't seen this! (Scott Bishop)
  Re: Precision of Linux's libm??? (Johan Kullstam)
  Re: What should I buy? (p e a r c e)
  Re: Can't believe someone hasn't seen this! (Dances With Crows)
  Re: Error reading for memory (Dances With Crows)

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

From: [EMAIL PROTECTED] (Bastian)
Subject: Re: Erase contents of windows swap file?
Date: 31 Mar 2000 21:12:31 GMT

On Fri, 31 Mar 2000 17:30:10 GMT, James wrote:
>
>
>I was looking around my dos partition in linux and came across the windows 
>swap file.
>    I was curious to see what sort of stuff might be in it and so I opened 
>it with kedit, it was filled with loads of random symbols and letters.
>     Considering the function of a swap file I was wondering what would 
>happen if I erased the files contents.
>     Does anyone know what, if anything would happen if I did this, I was 
>thinking that it may give a brief boost of performance to windows as swap 
>file contents could be written directly without the need to erase previous 
>data.
>
>     P.S I realise this is probably the most stupid question you've ever   
>       heard, but it has been bothering me for some time now.
>
>     Thanks.
>            JL

I deleted it once (win95) and absolutely nothing happened. If you just erase
the data, you most likely won't get a performance boost, because windoze
accesses the swapfile directly (without the filesystem), and it doesn't
delete its contents before it writes new stuff to it. Even for M$ programs
that would be too great a performance loss without any sense ;-)

Bastian




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

From: "David .." <[EMAIL PROTECTED]>
Subject: Re: Recommended backup routines
Date: Fri, 31 Mar 2000 15:28:06 -0600


If it an SCSI Tape drive you might take a look at www.arkeia.com

-- 
Due to extreme SPAM abuse! Remove z's and x's from above to reply.
Thank the spammer's A..holes that they are. Still can't reach me?
Then your address range is already blocked due to previous spam.
Sorry!  I hate spam!!

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

From: "David .." <[EMAIL PROTECTED]>
Subject: Re: Error reading for memory
Date: Fri, 31 Mar 2000 15:34:43 -0600


Add this line to the end of /etc/lilo.conf

append="mem=128M"   # be sure to include the quotes

Then as root give the command

   "/sbin/lilo -v"  # no quotes here

Then the next time you reboot it should recognize all the memory.
-- 
Due to extreme SPAM abuse! Remove z's and x's from above to reply.
Thank the spammer's A..holes that they are. Still can't reach me?
Then your address range is already blocked due to previous spam.
Sorry!  I hate spam!!

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

From: Johan Kullstam <[EMAIL PROTECTED]>
Subject: Re: QUESTION!
Date: 31 Mar 2000 16:23:19 -0500

"Jeffrey S. Kline" <[EMAIL PROTECTED]> writes:

> Another one who probably wants to pirate and play all those Windoz games
> under something he doesn't want to pay for...

how can you avoid paying for windows?  it's pre-installed everywhere.
(yes, i know you can build your own.  however you have to go out of
your way to avoid it.)

-- 
johan kullstam l72t00052

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup,comp.os.linux.hardware,linux.redhat.install
Subject: How to auto-mount 2nd CD-ROM/CD-RW?
Date: Fri, 31 Mar 2000 21:42:33 GMT

Hi, there,
I just installed Redhat 6.1. My system has a SCSI
CD-ROM and a SCSI CD-RW. Linux detects both during bootup.
I can see there is /dev/cdrom and /dev/cdrom1.
I am using GNOME and it can auto mount the CD I placed in
the CD-ROM.
Is there a way that I can setup GNOME to do the same when
I place a CD in the CD-RW?
Thanks!
--
Regards,
Roger Shum


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: [EMAIL PROTECTED] (Stuart R. Fuller)
Subject: Re: SCSI and IDE disk problems
Crossposted-To: comp.os.linux.hardware,comp.os.linux.help
Reply-To: [EMAIL PROTECTED]
Date: Fri, 31 Mar 2000 22:10:05 GMT

Knut A. Nilsen ([EMAIL PROTECTED]) wrote:
: ...all three? At the same time? Anything special that could cause such
: failures? I mean, the second ide drive, /dev/hdc, is brand new. The scsi
: drive is about 6 months old, while the first ide drive is more than 2 years
: old. Why would they die the same day?
: 
: Knut

The error on the SCSI drive says "Drive is in the process of becoming ready".
First, I'd ask "Why was it not ready beforehand?".  The only thing I can think
of that would be common to all 3 drives is the power supply.  Maybe it can't
handle the load of 3 drives?  Maybe sometimes, the power drops such that the
SCSI drive spins down?  Do you hear the SCSI drive spinning up when the
problem occurs?

        Stu

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

From: Gloria McClure-Fraser <[EMAIL PROTECTED]>
Subject: Printer stuck on manual feeding
Date: Fri, 31 Mar 2000 21:56:36 GMT

Hi folks,  newbie but learning.  I only have one problem with my box at
the moment.  I have an Okidata 600e printer - setup as an HPIIp (which
it emulates).

Problems is:  Linux (or the driver) does not recognize the paper tray. 
When I print - the light flashes and the drum goes (part of the warmup)
but it will not print until manually feed pages into it.

Running Corel Linux 1.0 - Kernel 2.2.12
Any ideas?
G

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

From: Lion <[EMAIL PROTECTED]>
Subject: Re: QUESTION!
Date: Fri, 31 Mar 2000 23:16:09 +0100

In article <[EMAIL PROTECTED]>, Johan Kullstam
<[EMAIL PROTECTED]> writes
>"Jeffrey S. Kline" <[EMAIL PROTECTED]> writes:
>
>> Another one who probably wants to pirate and play all those Windoz games
>> under something he doesn't want to pay for...
>
>how can you avoid paying for windows?  it's pre-installed everywhere.
>(yes, i know you can build your own.  however you have to go out of
>your way to avoid it.)

You can buy systems without windoze. They are advertised, but mainly
cheapo ones. Or you can ask the manufacturer to unbundle windoze. They
don't always let you do it unless you're going to spend the money on
something else from there, but you can always go elsewhere. Failing
that, it is apparently possible to "claim back" money spent on windoze
if you can prove that you never had any intention of using it.

-- 
Lion
BreadHead - Back By Popular Demand
Sex, Metal & Revolution

http://www.bigfoot.com/~breadhead

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

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: NFS cannot mount "/"
Date: 31 Mar 2000 22:28:43 GMT

In <[EMAIL PROTECTED]> Jeremy <[EMAIL PROTECTED]> writes:

>I got a new laptop that I want configured close to the same as my desktop.
>How else am I to transfer all my custom config and other files? It is a lot
>easer to mount / than each subdirectory at a time. My network only consists
>of three computers for my own use,  Sharing the config files it the main use
>for nfs.


Sorry, but it is a very very bad idea. There are differences in the
config files for a reason-- different IP addresses, names, video cards,
ethernet cards, keyboard, mice,..... Just copy the ones you need over.
The key ones are /etc/hosts and perhaps /etc/password. The rest better
be different or your whole system will collapse.
Just make a new mount point
mkdir /huey
mkdir /dewey
and mount the / directories of huey and dewey on those mount points.
then you can copy over the files you need. 

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

From: th499 <[EMAIL PROTECTED]>
Subject: What should I buy?
Date: Fri, 31 Mar 2000 22:30:14 GMT

Should I buy Mandrade 7, Redhat 6.2, or Debian?  

--
Posted via CNET Help.com
http://www.help.com/

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

From: Chris Davis <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.help
Subject: Can't believe someone hasn't seen this!
Date: Fri, 31 Mar 2000 17:31:19 -0500

This is a multi-part message in MIME format.
==============7D4D795866A0A35BC6596083
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Anyone seen this problem before?  I have PPP running fine on one of my
machines, but I'm having difficulty solving this problem on my laptop.
Any suggestions are appreciated.

This is reported by kppp upon start up:

"This kernel has no PPP support, neither compiled in nor via the kernel
module loader.
  To solve this problem:
     * contact your system administrator
  or
     * install a kernel with PPP support"

I've recompiled my kernel (many times over) with PPP support enabled,
both as a module and built-in and still get the same message.


This is what is found in /var/log/messages:
PPP: version 2.3.7 (deman dialing)
PPP line discipline registered.

No other messages are reported when kppp is started.


I noticed that lsmod does not show ppp or slhc loaded.  Not sure why.

If it is not obvious, I'm running RH6.1.  Kernel version 2.2.12-20.

I'll be happy to provide any more information that i may have
inadvertently omitted.

TIA,
chris




==============7D4D795866A0A35BC6596083
Content-Type: text/x-vcard; charset=us-ascii;
 name="cdavis.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Chris Davis
Content-Disposition: attachment;
 filename="cdavis.vcf"

begin:vcard 
n:Davis;Christopher
x-mozilla-html:FALSE
org:Embedded Systems Design, Inc.
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Embedded Specialist
x-mozilla-cpt:;0
fn:Christopher Davis
end:vcard

==============7D4D795866A0A35BC6596083==


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

From: Steven Szabo <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.perl.misc,comp.lang.perl.modules,comp.os.linux.networking
Subject: pipes and xterms
Date: Fri, 31 Mar 2000 16:23:32 -0800

Hi,
 I was wondering if there is a chance to talk to an xterm like any other
process in UNIX, is it possible to do something like this:

0: #!/usr/misc/bin/perl
1: use Shell qw(Xterm);
2: $pid = open(XTERM, "| Xterm \&")||die("Can't fork XTERM\n");
3: local $SIG{PIPE} = sub { die "XTERM pipe broke\n" };
4: select(XTERM); $| = 1;                      # make it unbuffered
5: sleep 5;
6: print(XTERM "telnet somehost\n");
7: close(XTERM)||die "Can't close XTERM\n";

?
This doesn't work because the pipe breaks every time I try to write to
it.
Thanks, any help is very much appreciated!
Steve


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

From: Patricia <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.help
Subject: Re: Can't believe someone hasn't seen this!
Date: Sat, 1 Apr 2000 00:50:16 +0200

On Sat, 01 Apr 2000, Chris Davis wrote:
>>Anyone seen this problem before?  I have PPP running fine on one of my
>machines, but I'm having difficulty solving this problem on my laptop.
>Any suggestions are appreciated.
>
>This is reported by kppp upon start up:
>
>"This kernel has no PPP support, neither compiled in nor via the kernel
>module loader.
>  To solve this problem:
>     * contact your system administrator
>  or
>     * install a kernel with PPP support"
>
>I've recompiled my kernel (many times over) with PPP support enabled,
>both as a module and built-in and still get the same message.
>
>
>This is what is found in /var/log/messages:
>PPP: version 2.3.7 (deman dialing)
>PPP line discipline registered.
>
>No other messages are reported when kppp is started.
>
>
>I noticed that lsmod does not show ppp or slhc loaded.  Not sure why.
>
>If it is not obvious, I'm running RH6.1.  Kernel version 2.2.12-20.
>
>I'll be happy to provide any more information that i may have
>inadvertently omitted.
>
>TIA,
>chris

Chris,
This is a bug in RedHat. 
You must upgrade Kppp and pppd 
or you can use this Hack 
as user 
    type su -c "pppd <> /dev/modem" 
    type root's password 
and after a second or two, press Ctrl-C to interrupt pppd. 
the result is visible in /var/log/messages: 
ppp0 registered 
After this, you can start kppp just as usual, and it will *not* complain 


--
HTH :)
Patricia

http://www.crosswinds.net/~beginnerslinux
Red Hat Linux release 6.0 (Hedwig)
Kernel 2.2.5-15 
 12:50am  up 18:33,  3 users,  load average: 0.20, 0.34, 0.35
Sat Apr  1 00:50:48 CEST 2000

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

From: Scott Bishop <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.help
Subject: Re: Can't believe someone hasn't seen this!
Date: Fri, 31 Mar 2000 16:48:21 -0600

Chris Davis wrote:
> 
> Anyone seen this problem before?  I have PPP running fine on one of my
> machines, but I'm having difficulty solving this problem on my laptop.
> Any suggestions are appreciated.
> 
> This is reported by kppp upon start up:
> 
> "This kernel has no PPP support, neither compiled in nor via the kernel
> module loader.
>   To solve this problem:
>      * contact your system administrator
>   or
>      * install a kernel with PPP support"

Actually, this is a well-known problem. ;)  It's a bug in kppp, not the
kernel itself.  If you go ahead and connect to your ISP, it'll establish
a PPP connection normally.  This message only comes up once, after
having rebooted.  Afterwards, kppp doesn't show this error message until
the system is rebooted.  In any event, it's a harmless quirk.

Hope this helps... :)

-- 
--Scott Bishop
WALKER BOLT Manufacturing Co.

(Notice: The opinions stated in this message are not necessarily those
of my employer, nor of any other sane individual for that matter.)

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

Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Precision of Linux's libm???
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: Fri, 31 Mar 2000 22:52:45 GMT

[EMAIL PROTECTED] writes:

> [EMAIL PROTECTED] (bill davidsen) writes:
> 
> >  I will just note here, gcc supports "long double" to allow use of 80
> >bit results stored in variables. This is not (a) portable nor (b) a
> >substitute for good numerical analysis, but it does allow things which
> >just would not produce any significant digits otherwise.
> 
> And in case you *don't* use this, you really want to switch the FPU
> itself to do 64/53 bit rounding. Eventually, your data will be read
> from the FPU, and stored in a "double" --- and if that involves a
> 80 -> 64 conversion, that data has been rounded twice, which is a big
> nono.

good observation

it would be nice if linux simply defaulted to the 64-bit float
format on ia32 and avoided the 80-bit bastard altogether.

correct me if i'm wrong but
1) internally, the ia32 is a bit faster with smaller float setting.
2) 10 byte quantities do not align on power of two boundaries very
   well.  using 80 bits, choose your poison:
     - double rounding
     - aligned with lots of wasted space
     - packed with poor performance
3) no one else uses 80-bit floats.  double-precision is nearly
   synomous with 64 bits these days.
4) most code uses plain double and expects double to be 64 bits.

-- 
J o h a n  K u l l s t a m
[[EMAIL PROTECTED]]
Don't Fear the Penguin!

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

From: p e a r c e <[EMAIL PROTECTED]>
Subject: Re: What should I buy?
Reply-To: [EMAIL PROTECTED]
Date: Fri, 31 Mar 2000 22:58:44 GMT

On Fri, 31 Mar 2000 22:30:14 GMT, th499 <[EMAIL PROTECTED]> wrote:

>Should I buy Mandrade 7, Redhat 6.2, or Debian?  

Simple, try them all by ordering CDs from CheapBytes (you'll be out
$5.00) and then buy the one you like best.

HTH

p e a r c e
___
NOTICE: Remove TNT to reply

Every so often, I like to stick my head out the window,
look up, and smile for a satellite picture.

                              -Steven Wright

Get More Steven Wright Here: http://members.home.net/jwps3/home.html

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

From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To: comp.os.linux.setup,comp.os.linux.help
Subject: Re: Can't believe someone hasn't seen this!
Date: 31 Mar 2000 17:59:45 EST
Reply-To: [EMAIL PROTECTED]

On Fri, 31 Mar 2000 17:31:19 -0500, Chris Davis 
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>This is a multi-part message in MIME format.

Don't do that.  Ever.  Configure your newsreader properly, and can the
excessive crossposting.

>Anyone seen this problem before?  I have PPP running fine on one of my
>This is reported by kppp upon start up:
>"This kernel has no PPP support, neither compiled in nor via the kernel
>module loader.
>  To solve this problem:
>     * contact your system administrator
[snip]

If you had bothered to do a search for "kppp problem" on Deja, you
would've found out a few things.  First, kernels a while back fixed a
small flaw that could've been a security hole.  Second, kppp used this
small flaw to determine whether or not PPP access was available.  Third,
if you enter "OK" there, kppp will start up normally and allow you to make
a PPP connection as if nothing was wrong.

You can fix the problem by clicking "OK" once per X login (it only seems
to happen once in a single X session) or downloading the latest kppp and
installing it.  Whoever made your distro should have updated RPMs or
tarballs or .debs available; get the one called "knetwork.x.y.z.rpm" and
rpm -Uvh it.  (similar idea for tarballs; "apt-get update" for Debian...)

-- 
Matt G / Dances With Crows              \###| Programmers are playwrights
There is no Darkness in Eternity         \##| Computers are lousy actors
But only Light too dim for us to see      \#| Lusers are vicious drama critics
(Unless, of course, you're working with NT)\| BOFHen burn down theatres.

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Error reading for memory
Date: 31 Mar 2000 18:06:44 EST
Reply-To: [EMAIL PROTECTED]

On Fri, 31 Mar 2000 15:34:43 -0600, David .. 
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>
>Add this line to the end of /etc/lilo.conf
                  ^^^^^^^^
>append="mem=128M"   # be sure to include the quotes
[snipp]

ITYM "beginning" there.  The lilo.conf global section goes up to the first
"image=" or "other=" line.  Other append= lines are treated as specific to
the image= section that they appear in.

To the original poster:  download.com?  What?  Get familiar with the
premiere places for open source/Linux software and documentation on the
Net:
 http://freshmeat.net
 http://linuxberg.com
 http://sourceforge.net
 http://www.linuxdoc.org  <-- go here.  It will save you some pain.
 http://www.linuxnewbie.org    <-- ditto.

-- 
Matt G / Dances With Crows              \###| Programmers are playwrights
There is no Darkness in Eternity         \##| Computers are lousy actors
But only Light too dim for us to see      \#| Lusers are vicious drama critics
(Unless, of course, you're working with NT)\| BOFHen burn down theatres.

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


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

Reply via email to