Linux-Misc Digest #145, Volume #26 Thu, 26 Oct 00 09:13:02 EDT
Contents:
Re: Converting PostScript (Andreas =?iso-8859-1?Q?K=E4h=E4ri?=)
(Urgent) Linux-on-PowerPC Assemblers (Stack Offset)
Re: Netscape sucks: alternatives? (Jean-David Beyer)
Re: Help me choose the best fileserver OS for a Compaq proliant server. (jpd)
Re: rpm questions ("David ..")
CPU frequency into my program (Karsten Wutzke)
Re: Apache on RedHat6.2 (Sanvir Singh Jham)
problem with serial ports after kernel recompile (Martijn Brouwer)
Problem mounting vfat partitions after kernel recompilation (Martijn Brouwer)
Newbie: make install - suggest easy installation (Karsten Wutzke)
Re: CPU frequency into my program (Andreas =?iso-8859-1?Q?K=E4h=E4ri?=)
Password repair via bootdisk ?? ([EMAIL PROTECTED])
Re: Newbie: make install - suggest easy installation (Andreas
=?iso-8859-1?Q?K=E4h=E4ri?=)
Re: Colour? (David Efflandt)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Andreas =?iso-8859-1?Q?K=E4h=E4ri?=)
Subject: Re: Converting PostScript
Date: 26 Oct 2000 12:11:23 +0100
In article <[EMAIL PROTECTED]>, Anonymous Coward wrote:
>Hi, appreciate any help. Can someone advise of any program that can
>convert PostScript into text documents?
>
>Thanks in advance
>
>Regards
>Damon
>
In the ghostscript distribution 'gs' on Debian systems, there's a
program called 'ps2ascii'. You will have to reformat the resulting
text a bit...
/A
--
Andreas K�h�ri, Uppsala University, Sweden
========================================================================
"If you leave now, you're going to miss the real experience."
-- Richard M. Stallman, Stockholm 1986. Visit www.gnu.org
------------------------------
Date: Thu, 26 Oct 2000 06:12:19 -0400
From: [EMAIL PROTECTED] (Stack Offset)
Subject: (Urgent) Linux-on-PowerPC Assemblers
Crossposted-To:
comp.os.linux.powerpc,comp.os.linux.development.system,de.comp.os.unix.linux.misc,no.it.os.unix.linux.diverse,uk.comp.os.linux
Please respond to this by e-mail *only* : I do not ordinarily browse internet
newsgroups.
I'm seeking SPECIFIC product/manufacturer information on all known assemblers
which are available for Linux running on PowerPC systems affiliated to the
following
*IBM
*Motorola
*Apple
*Amiga
*Macintosh clones
*Tivo
*Synergy Microsystems
*Embedded Planet, Bright Star Engineering
*(OTHERS KNOWN TO THE PUBLIC)
Anyone having SPECIFIC information on the identity(-ies) of one/more of such
Linux-on-PowerPC assembler(s) or its/their manufacturer(s) may please e-mail
me with the information.
Thanks.
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: Netscape sucks: alternatives?
Date: Thu, 26 Oct 2000 06:59:37 -0400
Hal Burgiss wrote:
> On 25 Oct 2000 20:02:58 GMT, Andrew Purugganan <[EMAIL PROTECTED]> wrote:
> >Hal Burgiss ([EMAIL PROTECTED]) wrote: [ On Wed, 25 Oct 2000 18:35:31 +0200,
> >Tijmen Stam <[EMAIL PROTECTED]> wrote: [ >I say Netscape: [ >I said
> >cool, but now I say : Buggy
> >
> >[ I say Mozilla. Not quite there, but close, and damn nice. Even the
> >[ nightly builds are usable.
> >
> >I've had Netscape cause so much thrashing as to render my X unusable
> >and inaccessible, but I did set my cache & mem to be really high, and I
> >open so many Navigator windows. In Windowmaker (I don't know if that
> >matters).
>
> This is a sign of running out of swap. And yes NS is a serious memory
> hog. I would try installing and only using Navigator.
I use the whole thing (4.75) and do not notice it taking any more memory (31
Megabytes at the moment) if I open mail and news readers as when I do not. Since
I have 512Meg of memory, this is not a problem for me, though it could be with a
lot less memory. Obviously, if you are running in a 32 Megabyte machine, you
will have trouble, since X takes about 29Megabytes. 29 + 31 = 60 Megabytes. I
guess I would not dare even try less than 64 Megabytes.
> Much less memory,
> and a bit more stable. Of course, you need other news/mail clients which
> is OK because NS sux for this anyway. So win-win.
>
> I would set cache levels low also.
You can set your disk cache levels to whatever you need. You do not need much
memory cache because the Linux file system is so good that it can get it from
the IO buffers almost as fast, assuming you have enough memory for those
buffers.
> Notice that NS seems to ignore disk
> cache limits,
Only if your ~/.netscape/preferences.js is wrong. Mine obeys the limits. I
believe the line to examine is:
user_pref("browser.cache.directory", "/home/jdbeyer/.netscape/cache/");
>>>---------------------------^
This final slash is the key: it must be there.
> so I occasionally rm -rf the whole thing. This can get
> huge, and maybe contributes to linux caching problem if NS tries to read
> all this stuff in. Would be my guess anyway. If you are tight on memory,
> closing/re-opening NS sometimes does wonders. It seems X at some point
> grabs a lot of memory, and occasionally restarting X is even better.
>
> >Does mozilla do the same thing? Is there hope for Linux having an even
> >slightly-better-than-avarage browser?
>
> I haven't noticed it in Mozilla, but I have 128M RAM and 390 swap, so I
> don't see it much in NS either. Mozilla is a little heavy on memory too.
> But I think pages look much better in Mozilla. Java is not there all the
> way yet (AFAICT). And occassionally secure sites work, and sometimes
> they don't.
>
> >I've been using w3m a lot lately, so the porn sites haven't been making
> >money on me ;-)
>
> Ah, one of my favorites. I have always have it open!
>
> So right now I use NS, Mozilla and w3m. I used to use w3m primarily, and
> fall back to the others if I needed to see the pretty pictures. Now, I
> find I use Mozilla more and more.
>
> --
> Hal B
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> --
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 6:50am up 1 day, 18:10, 2 users, load average: 2.23, 2.21, 2.13
------------------------------
From: [EMAIL PROTECTED] (jpd)
Crossposted-To:
comp.unix.bsd.freebsd.misc,comp.unix.bsd.netbsd.misc,comp.unix.bsd.openbsd.misc
Subject: Re: Help me choose the best fileserver OS for a Compaq proliant server.
Date: Thu, 26 Oct 2000 11:01:12 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Tue, 24 Oct 2000 13:47:12 GMT, Dustin Puryear <[EMAIL PROTECTED]> wrote:
>On Mon, 23 Oct 2000 15:09:54 +0000 (UTC), jpd <[EMAIL PROTECTED]>
>wrote:
[SNIP!]
>>I said, open and net variants are for other markets. Wich leaves...
>>FreeBSD as a very serious option, IMNSHO (besides, this is also crossposted
>>on comp.unix.bsd.freebsd.misc, too. :)
>
>Well, I guess this is a matter of taste and information. Of FreeBSD and
>Linux, which is a real contender on (8-CPU) SMP systems, as requested by
>the original poster? Perhaps neither.
true, that's why I mentioned BSDi. Don't have any specs/figures/experience
with it (would love to, tho), but rumour has it, it's SMP ought to be OK.
[SNIP!]
>*sigh* Read up on the Parallel Virtual File System (PVFS), which utilizes
>a "Beowulf-style cluster", hence my "distributed file system ala Beowulf"
>remark.
ok, my bad.
triggered on "hey, beowulf doesn't sound to me like a FS", but then again,
it isn't strange for such a thing to NEED a FS.
[SNIP!]
>Sometimes you need to step back and fully analyze the problem first. He
>mentioned he needed a very fast fileserver (or something similar, I've lost
>the original point of the thread). With the hardware he mentioned it's obvious
>that he will be working in a high-performance environment. Thus, a distributed
>file system that performs very well under high loads is VERY relevant.
well, yes and no.
<quote source="original post">
Anyway, I want to build the highest throughput file server I can manage. I
don't care about web capabilities, I don't care about database performance.
I just want to be able to receive and spit out files fast. I don't even care
if it runs DOOM. :)
<quote>
wich leaves a few interrestring questions.
first: what protocol? <slap self> should've asked that first!
second: h/w setup. his view is/was "compaq proliant" with 4 or 8 cpu's.
is that one server? or 4..8 machines with one cpu and lots of RAID h/w?
there's also where your cluster comes in, I had assumed one SMP machine.
for a fileserve-only you'd just need, well, two-cpu and two gigabit
NICs, oh, and a Real Os and lotsa RAM, but besides that, that's enough.
third: well, here come all the other questions about surroundings and context
and the like. maybe the original poster can help us out in that?
>
>>my two cents: get yourself an experienced un*x admin, and run freebsd,
>>bsdi or a decent linux distribution (this list is in no particular order ;).
>
>Better to just run what works best for the target application, regardless of OS.
still, I maintain, The Right Stuff, and The Right Operator.
counter me on that, if you dare. :P
also, if $you got any sense, $you don't want to tie yourself up completely
with an <AOL>-micros~1 installation, of wich I've seen one-too-many.
>>I wouldn't reccomend solaris/x86, because if you're going to spend BIG money
>>anyway, you'd better get yourself The Real Stuff, a Real Administrator
>>and a Sun Support Contract. That'll cost ya, but It Will Work[TM].
>
>Solaris is a solid platform and has proven itself in most environments. Again,
>the original poster should do a little benchmarking and see what happens.
solaris is.
solaris/x86?
better get something that's adjusted to your hardware.
or the right hardware for your OS.
or, even better, both.
--
j p d (at) d s b (dot) t u d e l f t (dot) n l .
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: rpm questions
Date: Thu, 26 Oct 2000 06:14:25 -0400
Or you could just do this if you are starting with a src.rpm file.
rpm --rebuild packagename-*.src.rpm
Or to build a package for a specific architecture you could do this.
Where the ix86 would be i486, i586, i686.
rpm --rebuild -target ix86 packagename-src.rpm
Then to install the package.
rpm -ivh /usr/src/redhat/RPMS/i386/packagename-x.x.x.ix86.rpm
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
------------------------------
From: Karsten Wutzke <[EMAIL PROTECTED]>
Subject: CPU frequency into my program
Date: Thu, 26 Oct 2000 13:45:09 +0200
Hi all!
In the shell, when typing:
"cat /proc/cpuinfo | grep MHz | cut -c 12-21"
it will display the current processor frequency/ies. How do I get this
value into my C program, e.g. as a float or double? I could redirect the
output to a file, which is then opened, read and converted, but I'd like
to avoid file I/O if possible. I'm using system("blah").
Any ideas?
Karsten
------------------------------
From: Sanvir Singh Jham <[EMAIL PROTECTED]>
Subject: Re: Apache on RedHat6.2
Date: Thu, 26 Oct 2000 11:34:50 GMT
HI,
Actually I want my Apache to support 1000 simultaneous connections. and
it is implied that apache (on a normal install) will support max 256
connections, and if more performance is required you need to recompile
apache with the settings hard configured.
So to get the apache source I installed apache SRPM. Now, if any one can
hlp me build the RPM, with the Maxclient set to 1000. I have also taken
the help by man rpm, but it does not help in getting the settings take
affect.
Hope I am able to clearly define my problem.
Thanks in advance
Regards
Sanvir
In article <[EMAIL PROTECTED]>,
NAVARRO LOPEZ, =?iso-8859-1?Q?Jes=FAs?= Manuel
<[EMAIL PROTECTED]> wrote:
> Sanvir Singh Jham wrote:
> >
> > Hello All,
> >
> > Can any one out there help me to recompile Apache on Redhat6.2? I
want
> > to have the MaxClient parameter set to 1000, since i will more than
> > 1000 users logging into my web server. I am not conversant with the
> > RPMs, so if any of the gurus can shower some light, it would be just
> > great.
> >
>
> Then, why you should try the SPRM way? If you really mean more than
1K
> concurrent sessions/processes, then you're not just playing. From
your
> message can be deduced that you'd be just OK compiling Apache form
it's
> source code, so just do so: you don't need the RPM for anything, if
you
> don't want'em.
> --
> SALUD,
> Jes�s
> ***
> [EMAIL PROTECTED]
> ***
>
--
Velocient Technologies Ltd.
E-mail: [EMAIL PROTECTED]
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Martijn Brouwer)
Subject: problem with serial ports after kernel recompile
Date: 26 Oct 2000 11:55:57 GMT
I recently installed SuSE 7.0 and just compiled my own kernel with the
following options for the serial ports:
standard/generic (dumb) serial support: enabled (not as module)
extended dumb serial driver options: disabled
non standard serial port support: disabled
mouse support (not serial mice): disabled
The problem is that my mouse (serial mouse, ttyS0) does not work anymore.
The relevant boot messages are:
Serial driver sersion 4.27 with no serial options enabled
ttyS00 at 0x03f8 (IRQ=4) is a 16550A
ttyS01 at 0x02f8 (IRQ=3) is a 16550A
and later on:
Serial driver sersion 4.27 with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ
enabled
ttyS0 at 0x03f8 (IRQ=4) is a 16550A
ttyS1 at 0x02f8 (IRQ=3) is a 16550A
Why is the serial driver twice enabled?
Isn't it true that the second time contradict my kernel configuration?
What is the meaning of ttyS0x? In /dev/ there are only ttyx present.
How can I make my mouse work?
With the original SuSE kernel, the mouse did work.
Thanks in advance for helping me to solve this annoying problem.
______________________________________________________
Martijn Brouwer [EMAIL PROTECTED]
Remove capitals S P A M
------------------------------
From: [EMAIL PROTECTED] (Martijn Brouwer)
Subject: Problem mounting vfat partitions after kernel recompilation
Date: 26 Oct 2000 12:00:41 GMT
After recompilation of my 2.2.16 kernel (SuSE 7.0) I am not able anymore to
mount my windows partitions. I compiled fat / vfat support as module in my
kernel. When I try to mount my partitions the systems says
Invalid major of minor device number
(Or something like this)
Does anybody know why this is?
______________________________________________________
Martijn Brouwer [EMAIL PROTECTED]
Remove capitals S P A M
------------------------------
From: Karsten Wutzke <[EMAIL PROTECTED]>
Subject: Newbie: make install - suggest easy installation
Date: Thu, 26 Oct 2000 14:20:21 +0200
Hi all!
I've written a Java application, it is for my software practicum, but I
hardly use Linux (blown installation).
What's the "standard" way of installing software? I have to use "make
install", so what do I require the user to do before issuing "make
install"? Do I require the user to create the appropriate directory
structure (like appname/classes), do I require the user to pass in a
directory, or will I simply choose a default directory like
/usr/appname?
Please suggest any easy installation types, especially those involving
"make install".
Thanks!
Karsten
------------------------------
From: [EMAIL PROTECTED] (Andreas =?iso-8859-1?Q?K=E4h=E4ri?=)
Subject: Re: CPU frequency into my program
Date: 26 Oct 2000 14:20:14 +0100
In article <[EMAIL PROTECTED]>, Karsten Wutzke wrote:
>Hi all!
>
>In the shell, when typing:
>
>"cat /proc/cpuinfo | grep MHz | cut -c 12-21"
>
>it will display the current processor frequency/ies. How do I get this
>value into my C program, e.g. as a float or double? I could redirect the
>output to a file, which is then opened, read and converted, but I'd like
>to avoid file I/O if possible. I'm using system("blah").
>
>Any ideas?
>
>Karsten
The purpose of 'system' is not to deliver output from system commands.
The only two sections of the "/proc/cpuinfo" file that are guaranteed
to be present on all Linux systems (independent on distribution and
hardware) are the 'cpu' line and the 'BogoMIPS' line (read the manual
page for proc(5)). On my Debian 2.2 system (Sparc), there is no text
saying 'MHz' anywhere in "/proc/cpuinfo".
AFAIK, the only "portable" way to get some kind of indication of the
CPU speed is to read the BogoMIPS from "/proc/cpuinfo" using file I/O.
Read the BogoMIPS mini-HOWTO at
<URL:http://www.linuxdoc.org/HOWTO/mini/BogoMips.html>.
/A
--
Andreas K�h�ri, Uppsala University, Sweden
========================================================================
"If you leave now, you're going to miss the real experience."
-- Richard M. Stallman, Stockholm 1986. Visit www.gnu.org
------------------------------
From: [EMAIL PROTECTED]
Subject: Password repair via bootdisk ??
Date: Thu, 26 Oct 2000 12:15:34 GMT
HELLO, I am studying for the SAIR LCA and they say you can repair the
Password file if the password is lost or corrupt. HOW can this be done
when the Boot Floppy also ask for a Password?? I also tried the Rescue
mode on the Red Hat CD and can only navigate on the Cd Rom? Anyone have
any ideas? I zapped my password file on another pc to verify this.
Before booting with the floppy I also zapped the MBR by fdisk /mbr But
upon booting the floppy sees the install on the hard drive and continues
from the hard drive..
A Linux Newbie,,,, David
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Andreas =?iso-8859-1?Q?K=E4h=E4ri?=)
Subject: Re: Newbie: make install - suggest easy installation
Date: 26 Oct 2000 14:48:42 +0100
In article <[EMAIL PROTECTED]>, Karsten Wutzke wrote:
>Hi all!
>
>I've written a Java application, it is for my software practicum, but I
>hardly use Linux (blown installation).
>
>What's the "standard" way of installing software? I have to use "make
>install", so what do I require the user to do before issuing "make
>install"? Do I require the user to create the appropriate directory
>structure (like appname/classes), do I require the user to pass in a
>directory, or will I simply choose a default directory like
>/usr/appname?
>
>Please suggest any easy installation types, especially those involving
>"make install".
>
>Thanks!
>
>Karsten
Usually people go with the package manager that is used in the
distribution that they use. On Red Hat systems this meand "RPM" and on
Debian systems it means the Debian package manager ("DPKG" I think
it's called).
I can't speak for RPMs, but for building Debian packages you should
read the Debian Packaging Manual at
<URL:http://www.debian.org/doc/packaging-manuals/packaging.html/>.
To build GNU packages, read the GNU Coding Standards at
<URL:http://www.gnu.org/prep/standards_toc.html>.
/A
--
Andreas K�h�ri, Uppsala University, Sweden
========================================================================
"If you leave now, you're going to miss the real experience."
-- Richard M. Stallman, Stockholm 1986. Visit www.gnu.org
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Colour?
Date: Thu, 26 Oct 2000 13:07:46 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Tue, 24 Oct 2000 23:41:00 -0700, Victor Dods <[EMAIL PROTECTED]> wrote:
>How do you define what file formats apply to which colors? I did this a
>few years ago with Slackware, using DIR_COLORS in /etc, but I have Corel
>Linux (Debian 2.1), and I can't find any DIR_COLORS file.
man dircolors
info dircolors (more complete info)
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
** 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
******************************