Linux-Misc Digest #614, Volume #26               Fri, 22 Dec 00 23:13:01 EST

Contents:
  Re: Kernel parameters (Juergen Heinzl)
  Re: Mount /tmp in swap (Dances With Crows)
  Re: Vim 5.7 on Linux.. (Yatima)
  Re: Mount /tmp in swap (Robert Kiesling)
  Why would starting httpd hang? [Apache] (Andrew Purugganan)
  send colored/formatted text in X-Chat (Rick)
  Re: A Question... ("D. Stimits")
  Re: Why would starting httpd hang? [Apache] (Dances With Crows)
  Re: Help with 'chat' (mpulliam)
  Re: Is Linux/Mandrake good? (mpulliam)
  Re: Dumb Helix Question... (David)
  Re: lynx and https problem (Esteban Flocco)
  Re: print prob's (mpulliam)
  Burnt CD Quality? (John Scudder)
  frustrated with rpm (* Tong *)
  Re: Question About Timing Functions Under Linux (frankc)
  Re: audio: No such device (HELP) (Glitch)
  Re: Question about performance (mpulliam)
  Re: init: Id"X" respawning too fast: disabled for 5 minutes; kdm: Can't lock pid 
file /var/run/xdm.pid, another xdm is running (pid 827)
  Re: frustrated with rpm (Prasanth A. Kumar)

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

From: [EMAIL PROTECTED] (Juergen Heinzl)
Crossposted-To: alt.os.linux,linux.redhat,linux.sources.kernel
Subject: Re: Kernel parameters
Date: 23 Dec 2000 00:11:16 GMT

In article <920c7d$p00$[EMAIL PROTECTED]>, Benjamin wrote:
>
>"Stefano Ghirlanda" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>> "Nils Magnus Eide Englund" <[EMAIL PROTECTED]> writes:
>>
>> > > You can set where the kern.* messages go in syslog.conf, see man
>> > > syslogd. No kernel parameters needed.
>> >
>> > Well... I've managed the syslogd part, but I still don't know
>> > how to hide the kernel messages at bootup, before the root fs
>> > is mounted. Any ideas?
>>
>> I don't know how to do that, but why do you need it? Just curious.
[-]
2.2.18 has a new option you can pass via lilo, "quiet". It sets the
console_loglevel to 4, which means less verbose. You might try (I've
not done so yet, no) and applying some highly advanced logic a
console_loglevel of 0 or 1 may shut up the kernel up completely ;)

See /usr/src/kernel/init/main.c and if it works you might give it
a try and send in a patch to allow an option like "silent".

Yes, that does require a re-compilation of the kernel and no, it's
too short before Christmas for me to give it a shot.

Hope it helps, but to be taken with a grain of salt
Juergen

-- 
\ Real name     : J�rgen Heinzl         \       no flames      /
 \ EMail Private : [EMAIL PROTECTED] \ send money instead /

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Mount /tmp in swap
Date: 23 Dec 2000 01:21:15 GMT
Reply-To: [EMAIL PROTECTED]

On 22 Dec 2000 12:53:28 -0400, * Tong * staggered into the Black Sun and said:
>"Eric en Jolanda" <[EMAIL PROTECTED]> writes:
>>> gained some more knowledge of the swap, I now realized that maybe
>>> the best way is the other way around -- mounting  /tmp in swap,
>>> 'cause I can make swap grow in some critical circumstances when the
>>> /tmp grows too big.
>>> So, how should I mount /tmp in swap? Detailed instruction is very
>>> much appreciated. Thanks.
>> swap space doesn't have a normal filesystem.
>> It's not even in the root tree of the FS.(unless you make a swapfile, then
>> ofcourse the *file* is, the swapspace still isn't)
>Hmm, yeah, that was my first impression. And it is also the reason
>that I went the other way. But... let me show you it is doable in 
>Solaris:
>
>$ mount
>/ on /dev/dsk/c0t0d0s0 read/write/setuid/largefiles 
>/usr on /dev/dsk/c0t0d0s6 read/write/setuid/largefiles 
>/proc on /proc read/write/setuid 
>/dev/fd on fd read/write/setuid 
>/export/home on /dev/dsk/c0t0d0s7 setuid/read/write/largefiles 
>/tmp on swap read/write 
>$ uname -svpr
>SunOS 5.6 Generic_105181-20 sparc
>See the last line "/tmp on swap"? Heeheehee, guys, got to think about
>it, 'cause Linux shouldn't be too much different from Unix. well,
>hopefully it is not, :-)

AIX is Unix, according to IBM, and you know the old joke about AIX,
Unix, and space aliens, right?

Anyway, as I'm understanding it, you want to make sure that /tmp won't
fill up.  There are several ways to do this under Linux, in order of
increasing complexity:

0.  Make the /tmp partition N times as large as you think it needs to be.
1.  Create /blarg, mke2fs /blarg, mkdir /tmp/extra, mount /blarg
  /tmp/extra -o loop , have things write their crud to /tmp/extra , 
  umount /tmp/extra && rm /blarg when you're done.
2.  Use Linear Append Mode to allow /tmp to grow if it needs to.
3.  Use Logical Volume Management to do the same thing a bit more
  flexibly.

IIRC Solaris has a filesystem called "tmpfs" that's meant specifically
for /tmp, and it implements some stuff that's not in ext2.  The ability
to mount /tmp on a swap device could be one of these things.

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com     /   Workin' in a code mine, whoops!
=============================/    I hit a seg fault....

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

From: [EMAIL PROTECTED] (Yatima)
Crossposted-To: comp.editors,comp.os.linux.apps
Subject: Re: Vim 5.7 on Linux..
Date: Sat, 23 Dec 2000 01:27:56 GMT

On Fri, 22 Dec 2000 22:09:16 GMT, Jeffrey Hood <[EMAIL PROTECTED]> wrote:
>Does anyone know where I can get Vim 5.7 for Linux in rpm format that 
>isn't the new version of rpm (I need one that will run with <=3 for the 
>rpm...)  I have downed the source, but can't get it to compile... get an 
>error message re some gui file, and can't seem to change the compile 
>options to get it to work...

I'm not currently running an RPM based distriubution but couldn't you
download a source rpm from rpmfind.net and then use rpm --rebuild
name_of_rpm.src.rpm to create a functional rpm?

Also, what distribution are you using and what compiler errors are you
getting?

-- 
yatima

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

Subject: Re: Mount /tmp in swap
From: Robert Kiesling <[EMAIL PROTECTED]>
Date: Sat, 23 Dec 2000 01:42:55 GMT


[EMAIL PROTECTED] (Dances With Crows) writes:

> IIRC Solaris has a filesystem called "tmpfs" that's meant specifically
> for /tmp, and it implements some stuff that's not in ext2.  The ability
> to mount /tmp on a swap device could be one of these things.

I don't think that's unique to tmpfs.  It appears that the swap
partition in Solaris 7 at least, has a swap signature, like Linux, and
the swap partition is mounted on /tmp, whether tmpfs or ufs/swap.  In
addition, one of the partitions of any volume is reserved as 'backup',
I think, though it could be swap space as well.

-- 
Robert Kiesling <[EMAIL PROTECTED]> 
Web Page :  http://www.mainmatter.com/kiesling
Linux FAQ: 
http://www.mainmatter.com/linux-faq/toc.html  http://www.mainmatter.com/
---
Tired of spam?  Please forward messages to [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Andrew Purugganan)
Subject: Why would starting httpd hang? [Apache]
Date: 23 Dec 2000 01:26:33 GMT

It's weird, it only fails sometimes, other times it seems that I should 
be online or ppp up before http becomes active. I have Mandrake 6.0 with 
2.2.13

Without the server, I can't even get tohttp://127.0.0.1! Does this make 
sense? Does it have anything to do with my ISP assigning dynamic IPs?

--
jazz 
Registered linux user no. 164098  +--+--+--+ Litestep user no. 386
Doesn't it bother you, that we have to search for intelligent life
--- OUT THERE??

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

From: Rick <[EMAIL PROTECTED]>
Subject: send colored/formatted text in X-Chat
Date: Fri, 22 Dec 2000 20:50:39 -0500

Can someone texll me how o send colored and formatted text to a channel
in X-Chat.?
-- 
 
Rick
 
* To email me remove theobvious from my address *

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

Date: Fri, 22 Dec 2000 18:56:34 -0700
From: "D. Stimits" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: A Question...

arif rangwala wrote:
> 
> I am not at all familiar with Linux, and the more I research on them the
> more I get confused. Can you please someone help me as to where and how
> I should start? Should I get Red hat or storm linux or mandrake or..what
> the hell I just want to learn Linux, one that is the easiestand the
> best.

I'm afraid to give any opinions, it just might start a flame war here.
So I'll say up front that I think these are some general observations,
not intended to say one distro is better than another.

First, make sure your hardware is supported, or workable. Check the
hardware compatibility lists at various locations. One I like is at
www.suse.com. Redhat has one, and there are others as well. Pay extra
attention to video card, special hard drive controllers, network cards,
and modems (especially modems).

Second, learn about partitioning. If you have your partitions the way
you like, you can switch distributions and test them out. You only have
to partition once, but it is risky if you have another operating system
you want to keep around at the same time. Links to the linux
documentation project, and others, will get you this info. A good place
to see such links:
http://www.cs.helsinki.fi/linux/
(look up lilo, the linux boot loader)

You can get very inexpensive, but unsupported, CD's to try things from:
http://www.cheapbytes.com/

Some of the favorites, each with its own reason for favorites, are:
Redhat (www.redhat.com)
Debian (www.debian.org)
SuSE   (www.suse.com)

One that is a patched redhat, with all the most recent security and bug
updates, and also quite cheap (like cheapbytes) is "KRUD" (go for this
instead of redhat if you want cheap CD's to try the distribution out
on):
http://www.tummy.com/

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Why would starting httpd hang? [Apache]
Date: 23 Dec 2000 02:33:46 GMT
Reply-To: [EMAIL PROTECTED]

On 23 Dec 2000 01:26:33 GMT, Andrew Purugganan staggered into the Black
Sun and said:
>It's weird, it only fails sometimes, other times it seems that I should 
>be online or ppp up before http becomes active. I have Mandrake 6.0 with 
>2.2.13

If you're not connected to a network, you won't be able to access
anything via HTTP except your local machine, and see below for that.

>Without the server, I can't even get tohttp://127.0.0.1! Does this make 
>sense? Does it have anything to do with my ISP assigning dynamic IPs?

It shouldn't have anything to do with the IP addr you get assigned, but
check httpd.conf and make sure that ServerName is set to something
that's reasonable.  If you have a registered DNS name with dyndns.org or
a similar place that provides DNS for servers with dynamic IPs,
ServerName should be set to that name.  If not, you should probably set
it to "localhost" or whatever the local hostname of your machine is.
And unless httpd is running, you won't get anything from
http://127.0.0.1/ since that IP address points at your local machine!

Whether httpd is running or not should not affect your ability to get to
various other Web sites.  

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com     /   Workin' in a code mine, whoops!
=============================/    I hit a seg fault....

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

From: [EMAIL PROTECTED] (mpulliam)
Subject: Re: Help with 'chat'
Date: 23 Dec 2000 02:43:43 GMT

On Fri, 22 Dec 2000 16:41:47 -0500, Daniel 
Bair <[EMAIL PROTECTED]> wrote:
>I need to use chat to send some at commands 
to a modem, but I don't want 
>to make a ppp connection.
>What can I do? chat doesn't seem to work 
from the command line correctly.

I send commands to the modem using minicom.

MP

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

From: [EMAIL PROTECTED] (mpulliam)
Subject: Re: Is Linux/Mandrake good?
Date: 23 Dec 2000 02:53:28 GMT

On Thu, 21 Dec 2000 23:28:48 GMT, [EMAIL PROTECTED] 
<[EMAIL PROTECTED]> wrote:
>:> Is linux/mandrake any good?
>: For me, yes. I've tried 7.0, 7.02, 7.1, 
7.2beta, 7.2 and it's always
>: have been a nice experience.
>
>As a counter opinion, I wasn't all *that* 
fond of 7.0 and 7.2 came right
the hell off the machine I tried it on.

Now, as a counter counter opinion, I thought
Mandrake 7.2 was the best of the 9 distros I've
tried so far.

It installed perfectly with no weird tweaking
and the internet connection worked right away.
The CD player worked right off, and the printer.
All I had to do was rpm my favorite text-mode
browser, mail reader, news reader, and fetchmail
and I was all set. 7.2 is heavy on KDE, which
is in line with what the general public wants,
but you can customize it easily enough. 


Just another question of personal tastes.

MP 



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

From: David <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: Re: Dumb Helix Question...
Date: Sat, 23 Dec 2000 03:05:17 GMT

Elf Sternberg wrote:
> 
>         Every screen shot on the Helix website shows a menu at the top of
> the screen in addition to the panel at the bottom.  Where does that menu
> come from?  What program generates it?  I've built most of Helix by hand
> (enough to compile Nautilus, which rocks!) but I have yet to find that
> menu.
> 
>                 Elf
> 
> Elf M. Sternberg, Immanentizing the Eschaton since 1988
> http://www.halcyon.com/elf/
> 
> "You know how some people treat their body like a temple?
>      I treat mine like issa amusement park!" - Kei


Right click on the panel at the bottom and choose:

create panel
menu panel

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538
Completed more W/U's than 98.912% of seti users. +/- 0.01%

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

From: [EMAIL PROTECTED] (Esteban Flocco)
Subject: Re: lynx and https problem
Reply-To: [EMAIL PROTECTED]
Date: Fri, 22 Dec 2000 20:33:12 -0500

On Wed, 06 Dec 2000 01:20:42 GMT, Tom Hoffmann wrote:
>I have RH7 w/ lynx 2.8.4. When i try to access a secure login page, I
>get the message "This client does not contain support for https URLs".
>I looked at the lynx man page and at the lynx user guide. The only
>thing I found was the -validate option, but I can not get it to make a
>difference.
>

I have read that lynx doesn't support https by default because of US
Export Laws. However, there are patches to allow lynx to use it. Take a
look at http://www.crl.com/~subdir/lynx.html I think there you can find
them.

-- 
Saludos, 
Esteban Flocco

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

From: [EMAIL PROTECTED] (mpulliam)
Subject: Re: print prob's
Date: 23 Dec 2000 03:24:47 GMT

On Fri, 22 Dec 2000 18:30:44 -0000, ailsalogue 
<[EMAIL PROTECTED]> wrote:
>I have a HP deskjet 320 on the parallel 
port using Debian.
>When I use it, it prints the first line 
and starts the next line at the end
>of the first line

Look at http://linuxdoc.org 

In the HOWTOs, find the printing-HOWTO

In that document, go to the section
"how to set things up" which contains
an example showing how to fix stairstepping,
which is what you are seeing. It shows you
how to edit your printer's setup files to insert a
newline character at the end of each of those lines
of text so that the printer knows to go all
the way back to the left when it begins the
next line.

Various print programs handle stairstepping
in different ways - I am not sure what Debian
uses, but older Red Hat versions just let
you check a box "fix stairstepping" 
when setting up the printer. The HOWTO above
has distro-specific directions if the basic
file-editing help isn't sufficient. 

IMO It's
one of the better HOWTO pages in Linux.

MP



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

From: John Scudder <[EMAIL PROTECTED]>
Subject: Burnt CD Quality?
Date: Fri, 22 Dec 2000 22:24:55 -0500

I'm wondering about whether this is a software or hardware problem.
When I burn an audio CD it plays fine on my computer and plays fine on
my good $200 CD Player Deck.  When I try to play these homebrew CDs on a
cheaper  boombox, the CD either plays the first few songs and quits or
refuses to play at all.  Is it possible that my SCSI CDR burner is not
burning properly so that these less expensive CD Players have trouble
reading the tracks?  Or is it the brand CDR that I am using?  Could it
be the CD Burner software (X-CD-Roast 9.8.7)?

Any ideas

John


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

From: * Tong * <[EMAIL PROTECTED]>
Subject: frustrated with rpm
Date: 22 Dec 2000 23:37:56 -0400

Hi,

1) I can't find the answer to a question seems to me very simple: 
how to show the info of a un-installed rpm package.

I tried at least more than 3 times looking into the man page trying
to find the answer and today I have to admit that I can't do
it. This is all that I've tried today:

 1018  rpm -q mkkickstart-2.1-1.noarch.rpm 
 1019  rpm -q --specfile mkkickstart-2.1-1.noarch.rpm 
 1020  rpm -q -i mkkickstart-2.1-1.noarch.rpm
 1021  rpm -i mkkickstart-2.1-1.noarch.rpm
 1022  rpm -q -l mkkickstart-2.1-1.noarch.rpm
 1023  rpm --querytags -i mkkickstart-2.1-1.noarch.rpm
 1024  rpm --querytags mkkickstart-2.1-1.noarch.rpm
 1025  rpm -q -i mkkickstart-2.1-1.noarch.rpm
 1026  rpm -q -dump mkkickstart-2.1-1.noarch.rpm
 1027  rpm -dump mkkickstart-2.1-1.noarch.rpm


2) how to list what it depends on and what files it includes?

3) Isn't the following info given by rpm contradicting? 

[root@host RPMS]# rpm -i mkkickstart-2.1-1.noarch.rpm
package mkkickstart-2.1-1 is already installed
                             ^^^^^^^^^^^^^^^^^
[root@host RPMS]# rpm -q mkkickstart-2.1-1.noarch.rpm 
package mkkickstart-2.1-1.noarch.rpm is not installed
                                       ^^^^^^^^^^^^^^
How should we interpret this contradicting info? 

Thanks!

-- 
Tong (remove underscore(s) to reply)
  http://members.xoom.com/suntong001/
  - All free contribution & collection & music from the heavens

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

From: frankc <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.embedded,comp.os.linux.development.apps,comp.os.linux
Subject: Re: Question About Timing Functions Under Linux
Date: Fri, 22 Dec 2000 20:46:36 -0700

[EMAIL PROTECTED] wrote:

> "H. P. Friedrichs" wrote:
> > Hello:
> [edit]
> > Is there a system timer function that could somehow trigger the process
> > described above with reasonable precision at the prescribed 3mS frame
> > rate? If so, how would this be accomplished? Any URL's or code examples
> > you could point me to?
>
> I have read the replies to your article, and I am in a similar situation
> to yours.  I need to input a datum at up to 68kHz and output the result
> of a calculation each time, and NEVER miss a datum.  This means I must
> either use a dedicated processor, a PC running a single tasking OS like
> DOS, or real time linux.  I am currently investigating RT Linux.  Check
> it out.
>
> From what I've read, there doesn't seem to be a clear way to set up an
> arbitrary length of time in which to periodically call some program
> function in Linux.  If it can be done, any explanation I have run across
> was not very easy to understand, probably because it involved a
> knowledge of kernel internals that is beyond me.
>
> What occurred to me as a guaranteed way to get a precise controlled
> periodic function call for your application is this:  Use the hardware
> interrupt generation capability of a data IO board to generate a
> periodic hardware interrupt, triggered by a hardware oscillator.  (Now
> you can get a very accurate period)  Using RT Linux, have this interrupt
> execute your control algorithm.  The worst case interrupt latency
> advertized for RT Linux is 15 us.  That means about 0.5% worst case
> jitter, which should be very OK for a control loop.
>
> Perhaps you don't like having to rely on a hardware oscillator, or maybe
> your present boards don't have interrupt generation ability, in which
> case this may not help much.
>
> Just my $0.02
>
> _______________________
> Christopher R. Carlen
> Sr. Laser/Optical Tech.
> Sandia National Labs

I would definitely look into RTLinux.  I read the manifesto for it and it
does not use "real time" extentions on top of Linux.  It is actually a
process scheduler of sorts that treats the Linux OS as a completely
preemtable process.  Nothing can override this scheduler.  It virtualizes
interrupts and can keep the OS from seeing them if you desire.  It can be
used to ensure that things happen when you want them to.  It can communicate
to the OS through pipes I believe (FIFOs?).  Microsoft has taken this
approach with their "real time" NT as well.  However, their worst case
latency is 2 to 3 times larger than RTLinux. : )




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

Date: Fri, 22 Dec 2000 22:58:56 -0500
From: Glitch <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: audio: No such device (HELP)

did u run snddevices script so that alsa would create its sound devices
and link them to existing ones?

also u  might need to change the permissions on the mixer,audio, and dsp
devices by doing the following:

chmod 666 mixer*
 "      " audio*
 "     "   dsp*

HTH

[EMAIL PROTECTED] wrote:
> 
> Hi,
> 
> I'm trying to install and configure alsa drivers, libraries and
> utilities.
> 
> First off, a few questions:
> 
> "lspci" gives, amoung other things:
> 
> -----------------------
> 04:04.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24
> [CrystalClear SoundFusion Audio Accelerator] (rev 01)
> 
> 04:08.0 Multimedia audio controller: Creative Labs SB Live! EMU10000
> (rev 07)
> 
> 04:08.1 Input device controller: Creative Labs SB Live! (rev 07)
> ------------------------
> 
> Which of these cards should I consider soundcard #0 and which one #1 ?
> (DELL never mentioned the second card. They said the machine comes with
> SB Live! )
> 
> Using my best unscientific judgement I edited /etc/modules.conf to be:
> 
> ------------------------
> alias scsi_hostadapter aic7xxx
> alias eth0 3c90x
> alias parport_lowlevel parport_pc
> alias usb-controller usb-uhci
> 
> # ALSA portion
> alias char-major-116 snd
> alias snd-card-0 snd-card-cs461x
> alias snd-card-1 snd-card-emu10k1
> 
> # OSS/Free portion
> alias char-major-14 soundcore
> alias sound-slot-0 snd-card-0
> alias sound-slot-1 snd-card-1
> 
> alias sound-service-0-0 snd-mixer-oss
> alias sound-service-0-3 snd-pcm-oss
> alias sound-service-0-12 snd-pcm-oss
> 
> alias sound-service-1-0 snd-mixer-oss
> alias sound-service-1-3 snd-pcm-oss
> alias sound-service-1-12 snd-pcm-oss
> -------------------------------------------
> 
> When I do "mpg123 *.mp3" , it tells me:
> 
> audio: No such device
> 
> This is strange, considering that I can load the modules successfully:
> 
> lsmod:
> ----------------------------------------------
> Module                  Size  Used by
> snd-card-emu10k1        2192   0  (unused)
> snd-emu10k1            21744   0  [snd-card-emu10k1]
> snd-emux-mem            1808   0  [snd-emu10k1]
> snd-pcm                32000   0  [snd-emu10k1]
> snd-timer               9280   0  [snd-pcm]
> snd-rawmidi            10144   0  [snd-emu10k1]
> snd-ac97-codec         25216   0  [snd-emu10k1]
> snd-mixer              24736   0  [snd-emu10k1 snd-ac97-codec]
> snd-seq-device          3792   0  [snd-card-emu10k1 snd-rawmidi]
> snd                    36928   1  [snd-card-emu10k1 snd-emu10k1
> snd-emux-mem snd-pcm snd-timer snd-rawmidi snd-ac97-codec snd-mixer
> snd-seq-device]
> -------------------------------------------------------
> 
> Thanks in advance for all insight.
> 
> Wroot
> 
> Sent via Deja.com
> http://www.deja.com/

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

From: [EMAIL PROTECTED] (mpulliam)
Crossposted-To: alt.os.linux.mandrake,comp.os.linux.help
Subject: Re: Question about performance
Date: 23 Dec 2000 03:56:07 GMT

On Fri, 22 Dec 2000 12:16:51 -0800, 
al <[EMAIL PROTECTED]> wrote:
>...  I installed the mandrake
>distribution (7.2

I am running the same version at the moment.

>My problem is with the performance of i
the Linux installation, and I am
>wondering if performance can differ 
between different distributions.<<

I have tried nine different Linuxes 
and I find Mandrake 7.2 about as fast as the
newest versions of the other major distros --
that is to say, on my computer (which has even
less memory than yours) they are slow as mud.

>One of my suspicions is that the main 
problem may be X11 
>...  Perhaps the window managers need a 
lot more memory than they used to<<

I think they do. I switched Mandrake 7.2
from the default KDE (which is excellent, if
you can run it) over to icewm and got considerable
improvement.


>...  The two window managers I tried are KDE and
>Gnome, and they are both quite slow. 

I used Gnome on Storm Linux a while ago and it was
too slow to be worthwhile too. Try a smaller wm 
(blackbox, icewm, even fvwm) and see what you think.

In addition, if you have a smaller monitor with your
smaller computer, the icons and text on the Gnome
and KDE screens are so little and pixilated you can
hardly tell what they say. A simpler window manager
is a visual improvement as well as a speed improvement.

I also use text mode mail programs etc in a xterm
instead of the big KMail and KNode (for news).
This is ugly but much more efficient. 
KMail took 22 seconds to load! It isn't their
fault, it's my hardware.
 
Mandrake 7.2 has a whole lot
of nice features (including a variety of security
settings for different situations, and very convenient
support for all your peripheral devices) so I am
sticking with it. Maybe the above adaptations will
make it acceptable to you too until we both
get bigger computers.

MP

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

From: <[EMAIL PROTECTED]>
Subject: Re: init: Id"X" respawning too fast: disabled for 5 minutes; kdm: Can't lock 
pid file /var/run/xdm.pid, another xdm is running (pid 827)
Date: Sat, 23 Dec 2000 11:59:52 +0800

Dear Dan & Dave,

Thanks a lot for your helpful hints.

Merry Christmas & Happy New year,
Sze Shun Fai.

"Dan White" <[EMAIL PROTECTED]> wrote in message
news:iew06.79451$[EMAIL PROTECTED]...
> In article <3a421410$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>
> > Hello,
> >
> > Is there anyone has idea why the above error message repeated occurs in
> > my
> > /var/log/messages ?
> >
> > Happy christmas, Sze Shun Fai
> >
> >
>
> This is a failsafe built in to inittab. If /etc/inittab is configured to
> restart xdm if it is killed, and if it is dying immediately for some
> reason, init will trying to restart *many* times, potentially bringing
> the system down with it. Instead it disables trying to start xdm for 5
> minutes in the hopes that the problem will be resolved.
>
> Try looking in your log files for the reason it's dying,
> /var/log/xdm.errors if you have it. Try disabling xdm temporarily by
> commenting it out of /etc/inittab and running 'init q', or stopping it if
> it happens to be a service, e.g. /etc/rc.d/init.d/xdm stop.
>
> Then run xdm manually, or X manually (startx). Some common problems are
> that X is failing becuase the X font server isn't running (check your
> available drive space), or the X configuration isn't configured right
> (check your font path in /etc/X11/XF86Config).
>
> - Dan White



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

Subject: Re: frustrated with rpm
From: [EMAIL PROTECTED] (Prasanth A. Kumar)
Date: Sat, 23 Dec 2000 04:09:32 GMT

* Tong * <[EMAIL PROTECTED]> writes:

> Hi,
> 
> 1) I can't find the answer to a question seems to me very simple: 
> how to show the info of a un-installed rpm package.
> 
> I tried at least more than 3 times looking into the man page trying
> to find the answer and today I have to admit that I can't do
> it. This is all that I've tried today:
> 
>  1018  rpm -q mkkickstart-2.1-1.noarch.rpm 
>  1019  rpm -q --specfile mkkickstart-2.1-1.noarch.rpm 
>  1020  rpm -q -i mkkickstart-2.1-1.noarch.rpm
>  1021  rpm -i mkkickstart-2.1-1.noarch.rpm
>  1022  rpm -q -l mkkickstart-2.1-1.noarch.rpm
>  1023  rpm --querytags -i mkkickstart-2.1-1.noarch.rpm
>  1024  rpm --querytags mkkickstart-2.1-1.noarch.rpm
>  1025  rpm -q -i mkkickstart-2.1-1.noarch.rpm
>  1026  rpm -q -dump mkkickstart-2.1-1.noarch.rpm
>  1027  rpm -dump mkkickstart-2.1-1.noarch.rpm

Add a -p option to any of the normal query options.

> 
> 2) how to list what it depends on and what files it includes?

rpm -qlp <rpm file>
rpm -qp --requires <rpm file>

> 
> 3) Isn't the following info given by rpm contradicting? 
> 
> [root@host RPMS]# rpm -i mkkickstart-2.1-1.noarch.rpm
> package mkkickstart-2.1-1 is already installed
>                              ^^^^^^^^^^^^^^^^^
> [root@host RPMS]# rpm -q mkkickstart-2.1-1.noarch.rpm 
> package mkkickstart-2.1-1.noarch.rpm is not installed
>                                        ^^^^^^^^^^^^^^
> How should we interpret this contradicting info? 

A package name in not necessarily related to the filename it was
installed from. For example, you could have names the file
mkkickstart-2.1-1.noarch.rpm to be gill_bates_sux and it would still
be considered as the package mkkickstart-2.1-1. This behaviour gets
around the MICROS~1 naming problem we are all familiar with. So
basically, during install (or if you use the -p option), you use the
filename but all other instances, you use the package name. So if you
typed 'rpm -q mkkickstart-2.1-1', it should work. A better thing to
type is 'rpm -qa | grep <a pattern>' to allow wildcard searches so you
don't miss something.

> 
> Thanks!
> 
> -- 
> Tong (remove underscore(s) to reply)
>   http://members.xoom.com/suntong001/
>   - All free contribution & collection & music from the heavens

-- 
Prasanth Kumar
[EMAIL PROTECTED]

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


** 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 by posting to comp.os.linux.misc.

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