Re: [gentoo-user] fsck won't work if ac cord not attached?!

2009-12-02 Thread Alan McKinnon
On Wednesday 02 December 2009 06:24:22 Maxim Wexler wrote:
 so tell me how come none of you quarter-brights have responded to the
 email where I say this problem has been fixed?

Maybe because you were making such a ruckus with your three-year old style 
tantrums that everyone who cares stopped reading the thread already?

The only people left are ancient codgers like me who take delight in penning 
witty responses, dripping with sarcasm, designed to highlight just how idiotic 
behaviour on the intartubes can be

 you want to help? answer me this: why did # /var/git/openrc/git pull
 --rebase update all init.d services except net.lo? That's today's
 scintillating question.

How do I know?
Why do I care?

Um, let's see. What could do this?

Wait, wait, I know! It's a bug! doh

BUT WHAT THE FUCK DOES THIS HAVE TO DO WITH YOUR IMAGINARY FSCK ISSUES?

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] spamassassin error

2009-12-02 Thread Christian Könitzer

Hi

don't know if this helps, but here you can see my use flags and it worls 
on my system:


[I] mail-filter/spamassassin
Available versions:  3.1.8 3.1.8-r1 ~3.2.0 ~3.2.0-r1 ~3.2.1 
3.2.1-r1 ~3.2.2 ~3.2.3 ~3.2.4 ~3.2.5 ~3.2.5-r1 {berkdb doc ipv6 ldap 
mysql postgres qmail sqlite ssl tools}
Installed versions:  3.2.1-r1(06:48:52 27.08.2009)(berkdb mysql 
sqlite ssl -doc -ipv6 -ldap -postgres -qmail -tools)

Homepage:http://spamassassin.apache.org/
Description: SpamAssassin is an extensible email filter 
which is used to identify spam.


problably the

perl-core/DB_File

needs the berkdb flag...

and maybe you should start it with -D so you get an better error message.

cheers

Arnau Bria schrieb:

Hi all,

I've a cron which trains my spamassassin and it has sttoped working:
/usr/bin/sa-learn --spam /home/arnau/Mail/SPAM/

ERROR: the Bayes learn function returned an error, please re-run with -D for 
more information

the problem comes because there's a missing package:
perl-core/DB_File

but seems that emerge doesn't want to install it, and I'm wondering
what use I'm missing:

[I] mail-filter/spamassassin
 Available versions:  3.1.8 3.1.8-r1 ~3.2.0 ~3.2.0-r1 ~3.2.1 3.2.1-r1 
~3.2.2 ~3.2.3 ~3.2.4 ~3.2.5 ~3.2.5-r1 {berkdb doc ipv6 ldap mysql postgres 
qmail sqlite ssl tools}
 Installed versions:  3.2.1-r1(06:15:05 PM 11/11/2009)(ssl -berkdb -doc 
-ipv6 -ldap -mysql -postgres -qmail -sqlite -tools)

or what I'm doing wrong :-)
do I have to add DB_File to world? cause if I install the package with
oneshot option, depclean wants to remove it.

Anyone faced same problem? 
Cheers,


  




Re: [gentoo-user] fsck won't work if ac cord not attached?!

2009-12-02 Thread Neil Bothwick
On Tue, 1 Dec 2009 21:24:22 -0700, Maxim Wexler wrote:

 so tell me how come none of you quarter-brights have responded to the
 email where I say this problem has been fixed?

Because your attitude sucks.

 you want to help?

Frankly, no.

Good luck in getting help in future when you respond to genuine advice,
offered freely, with abuse.

plonk


-- 
Neil Bothwick

Top Oxymorons Number 17: Clearly misunderstood


signature.asc
Description: PGP signature


Re: [gentoo-user] spamassassin error

2009-12-02 Thread Arnau Bria
On Tue, 01 Dec 2009 16:06:04 -0500
David David wrote:

[...]
 Looking at the ebuild looks like berkdb pulls it in;
 
 spamassassin/spamassassin-3.2.1-r1.ebuild
 berkdb? (
 virtual/perl-DB_File
 
 
 virtual/perl-DB_File/perl-DB_File-1.813.ebuild
 DESCRIPTION=Virtual for DB_File
 RDEPEND=~perl-core/DB_File-${PV}
thanks, that's it. missing flag. 
but it's not in:
http://www.gentoo.org/dyn/use-index.xml :-(

thanks, I have to start looking into ebuilds.

Cheers!
-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity



Re: [gentoo-user] fsck won't work if ac cord not attached?!

2009-12-02 Thread Jesús Guerrero
Maxim really has a bad attitude, but I'll try once more, and only once. 

This post I quote from Willie Wong has an step-by-step guide that Maxim
obviously didn't read, because even the most utterly illiterate person
would understand it.

On Tue, 1 Dec 2009 04:56:53 -0500, Willie Wong ww...@math.princeton.edu
wrote:

 (a) When AC cord is plugged in, fsck runs on boot. 
 (b) When running on battery, fsck refuses to run on boot. 
 (c) When fsck does not run, your computer refuses to mount /var and
 /home?
 
[...]
 
 (i) You have a broken ext2 file system. Probably marked dirty from a 
   bad unmount prior to shutdown. 
 (ii) On boot, when the AC cord is plugged in, fsck runs, so any error
   is fixed, and if no error, the file system is marked clean again.
 (ii') When running on battery, because devs don't want fsck to run half
   way and have the computer run out of battery (which may corrupt the
   FS beyond whatever state it is already in), fsck does not run. 
 (iii) Since the file system is marked clean, when the AC cord is in,
   the system boots fine. Directories are mounted, you can use it as
   usual. 
 (iii') When the AC cord is out, the file system is still marked dirty,
   since fsck did not have a chance to look at it. Mount refuses to
   process those directories because Bad Things (tm) can happen. So
   your boot fails. 
 
 Again, if (a-c) are correct, then what Neil and Alan said does NOT in
 anyway contradict your observation I quoted just above; in fact, your
 quote seems to make their diagnosis even more reasonable. 
 
 According to what I vaguely remember of this thread (again correct me
 if I am wrong), you see the symptom that (iii) behaves differently
 from (iii'), and want to fix it by making its immediate causes (ii)
 and (ii') agree. What Neil and Alan are telling you is that (ii) vs
 (ii') should never be a problem (and I agree: on my Gigabyte netbook
 my ext2 and my ext3 partitions never showed any behaviour like yours),
 and in fact it is probably by design. That the reason why (iii) and
 (iii') differ is actually (i). 

What Maxim fails to see is that fsck *is not a fix* for his problem. The
real problem is that the fs is marked dirty, and that happens because it
has not been unmounted the right way on shutdown. When fsck runs at boot
time, the fs is marked clean and it can be mounted, when fsck doesn't run
it isn't marked clean, and, hence, it can't be mounted. 

Please, Maxim, once and for all, understand that running fsck when the
power is low is bad, it could completely break your fs, do you really think
that's an acceptable policy

Please, Maxim, once and for all, understand that if an fs is marked as
non-clean, it can't be mounted, because it could completely break your fs,
and you would lose all your data in a single sweep, is that an acceptable
policy???

Plese, Maxim, once and for all, understand that the real problem is *why
is your fs being marked dirty*??? That's the problem that you don't seem to
be aware of, you are now just feeling a rigid zealotry for your cause and
you are not even listening any longer. Please, read this post, quotes fron
Wong included, and try to understand what we are saying before even
responding. 

You are only repeating yourself but with the powercord it works, explain
me why?, and we have done so many times already: with your power cord,
fsck works, when fsck works, the fs is marked clean, when it's clean it can
be mounted. Right? Now ask yourself: why is not not clean? Why??? To
explain your crazy theories you have invented some rules that never
existed, during more than 15 years of ext2, it NEVER ever required fsck to
boot, that's an invention of you. Others have already told you that fsck
DOESN'T run at every boot. Only when the fs is not clean or when it's due.
They even told you that the tune2fs tool can be used to control this, and
that fstab can as well. You didn't even bother to check the man pages,
instead you just continue to invent theories that can support your crazy
idea that the Earth is flat so everything can fit together in your mind.

If you want help, we are handing it to you, if not, please, just stop and
good luck anywhere else.

Regards, and some tea.


-- 
Jesús Guerrero



Re: [gentoo-user] Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-02 Thread Alan McKinnon
On Tuesday 01 December 2009 18:02:48 Nikos Chantziaras wrote:
 Everyone should read the following and follow the advice given:
 
 http://blog.flameeyes.eu/2009/12/01/gentoo-service-announcement-keep-clear-
 of-gnu-patch-2-6
 

sigh

I emerged patch-2.60 when it hit ~amd64 then downgraded it 10 days later when 
a report on b.g.o. showed it was affecting OOo.

Right in the middle of those 10 days, I ran this:

emerge -e world

/sigh

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Looong delays

2009-12-02 Thread Dirk Uys
Hi

This has been bothering me for some time now. I have a Dell PC at work,
Intel Core2 Duo with 4gb ram etc. Whenever something does a lot of disk
access, the PC slows down to a halt? I remember some issue between Firefox
and the kernel causing long pauses, but I've had several different kernel
versions running.

I also use the ntfs-3g driver for write access to a doze partition, but
although the degradation in performance more severe with the ntfs-3g driver,
access to the native (ext3) partition also drags the system down for a
while.

I checked obvious things like whether or not I enable SMP in the kernel. I
tried changing the kernel pre-emption from low latency desktop to desktop,
but the problem persist. The application that is mostly involved when I get
these long delays is FireFox, VMWare and emerge (emerge --sync).  Everything
is compiled 64bit but I have the 32bit emulation libs.

Can anyone point me into some direction?

Regards
Dirk


Re: [gentoo-user] Looong delays

2009-12-02 Thread Jesús Guerrero
On Wed, 2 Dec 2009 13:22:38 +0200, Dirk Uys dirkc...@gmail.com wrote:
 Hi
 
 This has been bothering me for some time now. I have a Dell PC at work,
 Intel Core2 Duo with 4gb ram etc. Whenever something does a lot of disk
 access, the PC slows down to a halt? I remember some issue between
Firefox
 and the kernel causing long pauses, but I've had several different
kernel
 versions running.
 
 I also use the ntfs-3g driver for write access to a doze partition, but
 although the degradation in performance more severe with the ntfs-3g
 driver,
 access to the native (ext3) partition also drags the system down for a
 while.
 
 I checked obvious things like whether or not I enable SMP in the kernel.
I
 tried changing the kernel pre-emption from low latency desktop to
desktop,
 but the problem persist. The application that is mostly involved when I
get
 these long delays is FireFox, VMWare and emerge (emerge --sync). 
 Everything
 is compiled 64bit but I have the 32bit emulation libs.
 
 Can anyone point me into some direction?
 
 Regards
 Dirk

I know I am hitting at the obvious, but I can't be sure you already
checked that.

Since the applications you are using can be quite intensive in memory
usage, did you check whether you are hitting swap or not?

-- 
Jesús Guerrero



Re: [gentoo-user] gcc 4.2.4 fails to build [solved]

2009-12-02 Thread Roger Mason
Zeerak Waseem zeera...@gmail.com writes:

 if you're using an intel core2 processor, the proper -march setting is
 -march=nocona

 Steffen Loos fe...@gmx.net writes:

 You can try march=native.

 Maybe it is a good choice for make.conf too?! 

Thank you Zeerak  Steffen, it is now compiled  installed.

Roger



Re: [gentoo-user] Re: How to determine which mobo without opening case

2009-12-02 Thread David Relson
On Tue, 01 Dec 2009 22:21:18 -0600
Dale wrote:

 Peter Humphrey wrote:
  On Wednesday 02 December 2009 01:25:16 David Relson wrote:
 

  For grins, whenever I restart my computer I run hwinfo, lshw,
  lspci, and a variety of other utilities and save the results.
  
 
  Good God. I hope you don't do that more than once a decade. Just
  how long can a life be?
 

 
 Unless he changes hardware while it is shutdown.  I don't think the 
 drivers have ever changed on my system since I built it.  I have had
 to add a couple, ethernet card and a SATA card, but other than that,
 it should be the same.
 
 I have to say tho, booting a CD and doing lspci -k or -v is the best
 way to get the right drivers.  That is providing the hardware works
 when that is done.
 
 Dale

Changing kernels can have undesired side effects.  The log files help
to figure out what went wrong.



Re: [gentoo-user] ~amd64 : X11 (?) crashing

2009-12-02 Thread Stefan G. Weichinger
Stefan G. Weichinger schrieb:

 I decide to leave it as it is for the next days.
 Afaik I don't need Video ABI on this machine for now.

I gave it a try and went back to 1.7.1 ... the first click after login
crashed the session.

So it seems to be related to xorg-server here.

I will do some more tests to filter things out a bit closer.
This will maybe allow me to file a meaningful bug.

S




Re: [gentoo-user] nfs home directory vs kmail

2009-12-02 Thread Alex Schuster
Mike Diehl writes:

 BTW, the nfs mounts are done via /etc/init.d/nfs, which does a mount -a
 nfs.

Not here. Are you using baselayout-2 or something?

Some while ago, I had problems (not similar to yours) when mounting NFS 
shares before I had started /etc/init.d/nfs-client, which is called 
nfsmount now I think. Do you have that one running?

What system is your NFS server runnig? Is it also Gentoo, or something 
else? My NFS once went wonky when I had an old kernel running the server, 
after an update all problems were gone.
Any messages in syslog or dmesg when mounting the share?

Wonko



[gentoo-user] Re: Looong delays

2009-12-02 Thread Nikos Chantziaras

On 12/02/2009 01:22 PM, Dirk Uys wrote:

Hi

This has been bothering me for some time now. I have a Dell PC at work,
Intel Core2 Duo with 4gb ram etc. Whenever something does a lot of disk
access, the PC slows down to a halt? I remember some issue between
Firefox and the kernel causing long pauses, but I've had several
different kernel versions running.
[...]


It's a known problem.  I have the same issue.  But there is a solution: 
start disk I/O heavy tasks with ionice -c3.  For emerge, this can be 
done automatically by putting this in your make.conf:


  PORTAGE_IONICE_COMMAND=ionice -c 3 -p \${PID}

ionice is in sys-apps/util-linux so it should be installed already.




[gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-02 Thread Nikos Chantziaras

On 12/02/2009 12:51 PM, Alan McKinnon wrote:

On Tuesday 01 December 2009 18:02:48 Nikos Chantziaras wrote:

Everyone should read the following and follow the advice given:

http://blog.flameeyes.eu/2009/12/01/gentoo-service-announcement-keep-clear-
of-gnu-patch-2-6



sigh

I emerged patch-2.60 when it hit ~amd64 then downgraded it 10 days later when
a report on b.g.o. showed it was affecting OOo.

Right in the middle of those 10 days, I ran this:

emerge -e world

/sigh


Yep, this bug was a major annoyance for me too.  I emerged patch-2.6 on 
November 15 and since then, being on ~amd64, a *lot* of other packages. 
 After downgrading, I needed to rebuild about 300 packages, including 
all of KDE4, Qt, Firefox and OpenOffice.


Quite amazing how much damage a bug in a small package like this can 
have on a source-based distro...





Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-02 Thread Neil Bothwick
On Wed, 02 Dec 2009 15:45:21 +0200, Nikos Chantziaras wrote:

 Yep, this bug was a major annoyance for me too.  I emerged patch-2.6 on 
 November 15 and since then, being on ~amd64, a *lot* of other packages. 
   After downgrading, I needed to rebuild about 300 packages, including 
 all of KDE4, Qt, Firefox and OpenOffice.

KDE 4.3.4 went into ~amd64 today, so that had to be merged anyway (unless
you're using kde-testing). I did an emerge -e world on my netbook at the
weekend, so that needs a rebuild now :(


-- 
Neil Bothwick

Do you steal taglines too?


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-02 Thread Kevin O'Gorman
On Wed, Dec 2, 2009 at 5:45 AM, Nikos Chantziaras rea...@arcor.de wrote:

 On 12/02/2009 12:51 PM, Alan McKinnon wrote:

 On Tuesday 01 December 2009 18:02:48 Nikos Chantziaras wrote:

 Everyone should read the following and follow the advice given:


 http://blog.flameeyes.eu/2009/12/01/gentoo-service-announcement-keep-clear-
 of-gnu-patch-2-6


 sigh

 I emerged patch-2.60 when it hit ~amd64 then downgraded it 10 days later
 when
 a report on b.g.o. showed it was affecting OOo.

 Right in the middle of those 10 days, I ran this:

 emerge -e world

 /sigh


 Yep, this bug was a major annoyance for me too.  I emerged patch-2.6 on
 November 15 and since then, being on ~amd64, a *lot* of other packages.
  After downgrading, I needed to rebuild about 300 packages, including all of
 KDE4, Qt, Firefox and OpenOffice.

 Quite amazing how much damage a bug in a small package like this can have
 on a source-based distro...


For which reason I'm quite happy to be running stable except for specific
package releases that I put in package.unmask.  Patch-2.6 has been ~x86 all
along, so I've been running 2.5.9 continuously since March of 2008.

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-02 Thread Philip Webb
091202 Nikos Chantziaras wrote:
 On 12/02/2009 12:51 PM, Alan McKinnon wrote:
 On Tuesday 01 December 2009 18:02:48 Nikos Chantziaras wrote:
 Everyone should read the following and follow the advice given:
 http://blog.flameeyes.eu/2009/12/01/gentoo-service-announcement-keep-clear-of-gnu-patch-2-6
 I emerged patch-2.60 when it hit ~amd64 then downgraded it 10 days later
 when a report on b.g.o. showed it was affecting OOo.
 Right in the middle of those 10 days, I ran 'emerge -e world'
 /sigh
 Yep, this bug was a major annoyance for me too.
 I emerged patch-2.6 on November 15
 and since then, being on ~amd64, a *lot* of other packages. 
 After downgrading, I needed to rebuild about 300 packages,
 including all of KDE4, Qt, Firefox and OpenOffice.
 Quite amazing how much damage a bug in a small package like this can have
 on a source-based distro...

 2  pieces of advice to avoid such problems:
(1) never use the 'testing' versions of system pkgs;
(2) never run 'emerge world' without the '-p' flag.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Looong delays

2009-12-02 Thread Willie Wong
On Wed, Dec 02, 2009 at 12:32:20PM +0100, Penguin Lover Jes??s Guerrero 
squawked:
 On Wed, 2 Dec 2009 13:22:38 +0200, Dirk Uys dirkc...@gmail.com wrote:
  This has been bothering me for some time now. I have a Dell PC at work,
  Intel Core2 Duo with 4gb ram etc. Whenever something does a lot of disk
  access, the PC slows down to a halt? 

  The application that is mostly involved when I get
  these long delays is FireFox, VMWare and emerge (emerge --sync). 
 
 I know I am hitting at the obvious, but I can't be sure you already
 checked that.
 
 Since the applications you are using can be quite intensive in memory
 usage, did you check whether you are hitting swap or not?

I realize that Firefox is a memory hog, but how many tabs must be open
for Swap to hit severely on a machine with 4gb ram? :)

Question in general: emerge --sync and VMWare I can see, but why does
FireFox require heavy disk access? (Actually, this is an honest
question: my work machine had a problem yesterday where everytime I
click a link in FireFox the computer freezes for about 30 seconds.
Turns out the problem was that someone else's rogue process was
hitting the NFS server like crazy so whatever disk-related activity
FireFox does after every link click cannot get through. It is somehow
worrisome that background IO like writing to the History file can lock
up the UI...)

W
-- 
When two egotists meet, it's an I for an I.
Sortir en Pantoufles: up 1090 days, 13:55



Re: [gentoo-user] Re: How to determine which mobo without opening case

2009-12-02 Thread Dale

David Relson wrote:

On Tue, 01 Dec 2009 22:21:18 -0600
Dale wrote:

  

Peter Humphrey wrote:


On Wednesday 02 December 2009 01:25:16 David Relson wrote:

  
  

For grins, whenever I restart my computer I run hwinfo, lshw,
lspci, and a variety of other utilities and save the results.



Good God. I hope you don't do that more than once a decade. Just
how long can a life be?

  
  
Unless he changes hardware while it is shutdown.  I don't think the 
drivers have ever changed on my system since I built it.  I have had

to add a couple, ethernet card and a SATA card, but other than that,
it should be the same.

I have to say tho, booting a CD and doing lspci -k or -v is the best
way to get the right drivers.  That is providing the hardware works
when that is done.

Dale



Changing kernels can have undesired side effects.  The log files help
to figure out what went wrong.

  


That's odd.  I update my kernel fairly regular.  It's always the same 
drivers for the same old hardware.  I don't think the drivers has 
changed for my hardware since I built this system.  My ethernet card 
used dmfe way back when I bought them and after many many kernel 
upgrades, it still uses dmfe.  Same for the other hardware.


I guess your mileage varies a lot.

Dale

:-)  :-) 



Re: [gentoo-user] Looong delays

2009-12-02 Thread Willie Wong
On Wed, Dec 02, 2009 at 01:22:38PM +0200, Penguin Lover Dirk Uys squawked:
 This has been bothering me for some time now. I have a Dell PC at work,
 Intel Core2 Duo with 4gb ram etc. Whenever something does a lot of disk
 access, the PC slows down to a halt? I remember some issue between Firefox
 and the kernel causing long pauses, but I've had several different kernel
 versions running.
 
 I also use the ntfs-3g driver for write access to a doze partition, but
 although the degradation in performance more severe with the ntfs-3g driver,
 access to the native (ext3) partition also drags the system down for a
 while.

Since you already have decided that the problem is disk activity
related, perhaps check hdparm (if applicable)? 

Do you happen to know what kind of harddisk you are using?
From what you described it seems not to be a driver issue. 

Cheers, 

W
-- 
Research has led to the discovery of the heaviest element yet known to
science. The new element, Governmentium (Gv), has one neutron, 25
assistant neutrons, 88 deputy neutrons, and 198 assistant deputy
neutrons, giving it an atomic mass of 312.

These 312 particles are held together by forces called morons, which
are surrounded by vast quantities of lepton-like particles called
peons. Since Governmentium has no electrons, it is inert; however, it
can be detected, because it impedes every reaction with which it comes
into contact. A tiny amount of Governmentium can cause a reaction
normally taking less than a second, to take from four days to four
years to complete.

Governmentium has a normal half-life of 2-6 years. It does not decay,
but undergoes a reorganization in which a portion of the assistant
neutrons and deputy neutrons exchange places. In fact, Governmentium's
mass will actually increase over time, since each reorganization will
cause more morons to become neutrons, forming isodopes, not to mention
multiple oxymorons.

This characteristic of moron promotion leads some scientists to
believe that Governmentium is formed whenever morons reach a critical
concentration. That hypothetical quantity might normally be called
'critical mass' but, in this unique case it is known as 'critical
mess'.

When catalyzed with money, Governmentium becomes Administratium (Am),
another just-discovered element that radiates just as much energy as
Governmentium since it has half as many peons but twice as many
morons.
~sm62704 (957197) on /. cid 23224540
Sortir en Pantoufles: up 1090 days, 14:03



Re: [gentoo-user] Re: Looong delays

2009-12-02 Thread Willie Wong
On Wed, Dec 02, 2009 at 03:50:30PM +0200, Penguin Lover Nikos Chantziaras 
squawked:
 On 12/02/2009 01:22 PM, Dirk Uys wrote:
 This has been bothering me for some time now. I have a Dell PC at work,
 Intel Core2 Duo with 4gb ram etc. Whenever something does a lot of disk
 access, the PC slows down to a halt? I remember some issue between
 Firefox and the kernel causing long pauses, but I've had several
 different kernel versions running.
 [...]

 It's a known problem.  I have the same issue.  But there is a solution: 
 start disk I/O heavy tasks with ionice -c3.  For emerge, this can be done 
 automatically by putting this in your make.conf:

   PORTAGE_IONICE_COMMAND=ionice -c 3 -p \${PID}

 ionice is in sys-apps/util-linux so it should be installed already.

Hum, I had forgotten about this command. It would have come in handy a
few days ago. But in the case of FireFox, wouldn't that make it worse? 

Also, what do you mean by known problem? What sort of set-up causes
the problem? Is this related at all to the hardware used? Or is this
purely in software?

Cheers, 

W


-- 
Reality is a crutch for people who can't handle drugs.
-- Lily Tomlin
Sortir en Pantoufles: up 1090 days, 14:08



Re: [gentoo-user] Looong delays

2009-12-02 Thread Jesús Guerrero
On Wed, 2 Dec 2009 10:10:30 -0500, Willie Wong ww...@math.princeton.edu
wrote:
 On Wed, Dec 02, 2009 at 12:32:20PM +0100, Penguin Lover Jes??s Guerrero
 squawked:
 On Wed, 2 Dec 2009 13:22:38 +0200, Dirk Uys dirkc...@gmail.com wrote:
  This has been bothering me for some time now. I have a Dell PC at
work,
  Intel Core2 Duo with 4gb ram etc. Whenever something does a lot of
disk
  access, the PC slows down to a halt? 
 
  The application that is mostly involved when I get
  these long delays is FireFox, VMWare and emerge (emerge --sync). 
 
 I know I am hitting at the obvious, but I can't be sure you already
 checked that.
 
 Since the applications you are using can be quite intensive in memory
 usage, did you check whether you are hitting swap or not?
 
 I realize that Firefox is a memory hog, but how many tabs must be open
 for Swap to hit severely on a machine with 4gb ram? :)

A lot. But even though it's possible to hog that system with firefox
alone, I wasn't thinking in that extreme case. I was more thinking along
the lines of wmware running a huge vm inside of it and I only meant firefox
and emerge as little Satan's helpers :D

 Question in general: emerge --sync and VMWare I can see, but why does
 FireFox require heavy disk access?

Well, that's why I ask if he's hitting swap. ANY app will require disk
access, even if not directly, if the ram is full. I have no idea if that's
the case though, I was just pointing at a possibility :)
-- 
Jesús Guerrero



Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-02 Thread Alan McKinnon
On Wednesday 02 December 2009 16:48:16 Philip Webb wrote:
 091202 Nikos Chantziaras wrote:
  On 12/02/2009 12:51 PM, Alan McKinnon wrote:
  On Tuesday 01 December 2009 18:02:48 Nikos Chantziaras wrote:
  Everyone should read the following and follow the advice given:
  http://blog.flameeyes.eu/2009/12/01/gentoo-service-announcement-keep-cl
 ear-of-gnu-patch-2-6
 
  I emerged patch-2.60 when it hit ~amd64 then downgraded it 10 days later
  when a report on b.g.o. showed it was affecting OOo.
  Right in the middle of those 10 days, I ran 'emerge -e world'
  /sigh
 
  Yep, this bug was a major annoyance for me too.
  I emerged patch-2.6 on November 15
  and since then, being on ~amd64, a *lot* of other packages.
  After downgrading, I needed to rebuild about 300 packages,
  including all of KDE4, Qt, Firefox and OpenOffice.
  Quite amazing how much damage a bug in a small package like this can have
  on a source-based distro...
 
  2  pieces of advice to avoid such problems:
 (1) never use the 'testing' versions of system pkgs;
 (2) never run 'emerge world' without the '-p' flag.


Balls.

Neither of those will fix anything and they are not even feasible for this.

I run ~amd64 for a reason, I want it that way. There is no known way to run 
amd64 for @system and ~amd64 for @world and still retain one's sanity.

Of course I ran emerge -p. Well actually I run emerge -a but the effect is the 
same - see what's going to be installed before it's installed. Until a week 
ago no-one knew the effects patch-2.6.0 would have so when it appears in the 
list there's no reason to not proceed.

Running amd64 isn't an option for me - this isn't one of my critical servers, 
it's my bleeding edge notebook and I like it the way it is. If I wanted to 
avoid problems like this I'd be using Ubuntu LTS instead.

I'm not whinging about patch. I run ~amd64 precisely to help detect such 
things. I'm miffed at my own bad luck - the first emerge -e world I've had to 
do in two years and I just happen to have done it in the two week window about 
this package. Most folk now have to rebuild 70 - 300 packages, I'm stuck with 
potentially 1472 sigh


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-02 Thread Jesús Guerrero
On Wed, 2 Dec 2009 17:30:37 +0200, Alan McKinnon alan.mckin...@gmail.com
wrote:
 Of course I ran emerge -p. Well actually I run emerge -a but the effect
is
 the 
 same - see what's going to be installed before it's installed. Until a
 week 
 ago no-one knew the effects patch-2.6.0 would have so when it appears in
 the 
 list there's no reason to not proceed.

Yup. If it was known, the package would have been hard masked or not added
to portage at all, to start with.


-- 
Jesús Guerrero



[gentoo-user] Laptop resurrection...

2009-12-02 Thread BRM
I'm still working to get my laptop back up; I have one more thing to try.

Presently, I am having a problem with the compiling a 2.6.30-gentoo-r8 kernel 
that actually works. It might be a processor issue - linux reports it as a 
Pentium M which is what I have selected during 'make menuconfig', but the the 
grub keeps reporting that it is not a recognized format or something to that 
effect, so it won't load it.

Questions:

1) I am using the Gentoo 2007.0 LiveCD to boot with, then chroot'ing into my 
installation to build the kernel. I shouldn't need a newer LiveCD, correct?
2) Grub doesn't need to be re-run (e.g. running the grub prompt and going 
through the install procedure) after changes to the menu file, correct?

TIA,

Ben



Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-02 Thread Volker Armin Hemmann
On Mittwoch 02 Dezember 2009, Neil Bothwick wrote:
 On Wed, 02 Dec 2009 15:45:21 +0200, Nikos Chantziaras wrote:
  Yep, this bug was a major annoyance for me too.  I emerged patch-2.6 on
  November 15 and since then, being on ~amd64, a *lot* of other packages.
After downgrading, I needed to rebuild about 300 packages, including
  all of KDE4, Qt, Firefox and OpenOffice.
 
 KDE 4.3.4 went into ~amd64 today, so that had to be merged anyway (unless
 you're using kde-testing). I did an emerge -e world on my netbook at the
 weekend, so that needs a rebuild now :(
 

and somewhere in between updating kde it downgraded patch..

404 packages to go (hmm.. interessting number).

Thanks for the warning, Nikos.



[gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-02 Thread Nikos Chantziaras

On 12/02/2009 04:48 PM, Philip Webb wrote:

091202 Nikos Chantziaras wrote:

On 12/02/2009 12:51 PM, Alan McKinnon wrote:

On Tuesday 01 December 2009 18:02:48 Nikos Chantziaras wrote:

Everyone should read the following and follow the advice given:
http://blog.flameeyes.eu/2009/12/01/gentoo-service-announcement-keep-clear-of-gnu-patch-2-6

I emerged patch-2.60 when it hit ~amd64 then downgraded it 10 days later
when a report on b.g.o. showed it was affecting OOo.
Right in the middle of those 10 days, I ran 'emerge -e world'
/sigh

Yep, this bug was a major annoyance for me too.
I emerged patch-2.6 on November 15
and since then, being on ~amd64, a *lot* of other packages.
After downgrading, I needed to rebuild about 300 packages,
including all of KDE4, Qt, Firefox and OpenOffice.
Quite amazing how much damage a bug in a small package like this can have
on a source-based distro...


  2  pieces of advice to avoid such problems:
(1) never use the 'testing' versions of system pkgs;
(2) never run 'emerge world' without the '-p' flag.


(3) Never run a mix of arch and ~arch if you can avoid it :D




[gentoo-user] cmake - need help

2009-12-02 Thread Helmut Jarausch
Hi,

unfortunately I have no experience with cmake.
The current version of kde-base/step-4.3.4 fails because it cannot find
the eigen2 include directory. (I have created a bug report
http://bugs.gentoo.org/show_bug.cgi?id=295411
)

Looking at  kdeedu-4.3.4/step/CMakeLists.txt
there is
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${EIGEN2_INCLUDE_DIR})


How is this CMakeLists.txt processed (how to debug it).

Many thanks for a pointer,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



[gentoo-user] Re: Looong delays

2009-12-02 Thread Nikos Chantziaras

On 12/02/2009 05:10 PM, Willie Wong wrote:

On Wed, Dec 02, 2009 at 12:32:20PM +0100, Penguin Lover Jes??s Guerrero 
squawked:

On Wed, 2 Dec 2009 13:22:38 +0200, Dirk Uysdirkc...@gmail.com  wrote:

This has been bothering me for some time now. I have a Dell PC at work,
Intel Core2 Duo with 4gb ram etc. Whenever something does a lot of disk
access, the PC slows down to a halt?



The application that is mostly involved when I get
these long delays is FireFox, VMWare and emerge (emerge --sync).


I know I am hitting at the obvious, but I can't be sure you already
checked that.

Since the applications you are using can be quite intensive in memory
usage, did you check whether you are hitting swap or not?


I realize that Firefox is a memory hog, but how many tabs must be open
for Swap to hit severely on a machine with 4gb ram? :)

Question in general: emerge --sync and VMWare I can see, but why does
FireFox require heavy disk access?


It does not require heavy disk access.  It does however do frequent 
accesses.  Due to the kernel problems with simultaneous disk I/O on 
desktop systems, apps freeze regardless of whether their disk access is 
heavy or not.  The disk I/O code in the Linux kernel is probably 
written with servers in mind, not desktops, and you need to work around 
this with ionice, which I wrote about in another post.





Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-02 Thread Neil Bothwick
On Wed, 2 Dec 2009 09:48:16 -0500, Philip Webb wrote:

  2  pieces of advice to avoid such problems:
 (1) never use the 'testing' versions of system pkgs;

Then how do they get tested?

 (2) never run 'emerge world' without the '-p' flag.

What difference does this make? It shows an update for which there are no
known problems.


-- 
Neil Bothwick

Every morning is the dawn of a new error...


signature.asc
Description: PGP signature


[gentoo-user] Re: Looong delays

2009-12-02 Thread Nikos Chantziaras

On 12/02/2009 05:19 PM, Willie Wong wrote:

On Wed, Dec 02, 2009 at 03:50:30PM +0200, Penguin Lover Nikos Chantziaras 
squawked:

On 12/02/2009 01:22 PM, Dirk Uys wrote:

This has been bothering me for some time now. I have a Dell PC at work,
Intel Core2 Duo with 4gb ram etc. Whenever something does a lot of disk
access, the PC slows down to a halt? I remember some issue between
Firefox and the kernel causing long pauses, but I've had several
different kernel versions running.
[...]


It's a known problem.  I have the same issue.  But there is a solution:
start disk I/O heavy tasks with ionice -c3.  For emerge, this can be done
automatically by putting this in your make.conf:

   PORTAGE_IONICE_COMMAND=ionice -c 3 -p \${PID}

ionice is in sys-apps/util-linux so it should be installed already.


Hum, I had forgotten about this command. It would have come in handy a
few days ago. But in the case of FireFox, wouldn't that make it worse?


No.  If you run other tasks as ionice -c3 they will stop blocking Firefox.



Also, what do you mean by known problem? What sort of set-up causes
the problem? Is this related at all to the hardware used? Or is this
purely in software?


No, it's related to the Linux kernel blocking other applications for too 
long when one of them does heavy I/O.  This is done so that each task 
has a chance to get more work done for the amount of time it gets to do 
I/O.  As you can imagine, this hurts non-server systems quite badly.


Another solution is to buy more hard disks and set up a RAID.




Re: [gentoo-user] Laptop resurrection...

2009-12-02 Thread Mick
2009/12/2 BRM bm_witn...@yahoo.com:
 I'm still working to get my laptop back up; I have one more thing to try.

 Presently, I am having a problem with the compiling a 2.6.30-gentoo-r8 kernel 
 that actually works. It might be a processor issue - linux reports it as a 
 Pentium M which is what I have selected during 'make menuconfig', but the the 
 grub keeps reporting that it is not a recognized format or something to that 
 effect, so it won't load it.

 Questions:

 1) I am using the Gentoo 2007.0 LiveCD to boot with, then chroot'ing into my 
 installation to build the kernel. I shouldn't need a newer LiveCD, correct?

Correct as long as it recognise your hardware.

 2) Grub doesn't need to be re-run (e.g. running the grub prompt and going 
 through the install procedure) after changes to the menu file, correct?

Correct, assuming you have installed GRUB correctly in the first
instance - which makes me ask:

What is your exact error message?

-- 
Regards,
Mick



Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-02 Thread felix
On Wed, Dec 02, 2009 at 09:48:16AM -0500, Philip Webb wrote:

  2  pieces of advice to avoid such problems:
 (1) never use the 'testing' versions of system pkgs;
 (2) never run 'emerge world' without the '-p' flag.

(0) Never speak on that which you know not.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-02 Thread Stefan G. Weichinger
Alan McKinnon schrieb:

 Most folk now have to rebuild 70 - 300 packages, I'm stuck with 
 potentially 1472 sigh

I feel with you ... fortunately the cpus should do it on their own,
accompanied by some fans ;-)

-

Any idea how to elegantly split that job into some digestible chunks?

The various qlop/genlop/awk/grep/sed-scripts posted so far simply give
me the whole list of packages emerged since patch-2.6 and today while
they don't care about what I rebuilt already.

Seems as if I have to simply manage that to-rebuild-list myself ..

Greets, Stefan

ps: *maybe* my X11-crashing-issue is somehow related to this as well.
I first posted that issue on nov,15th ... on the same day patch-2.6 hit
~amd64 AFAIK ...



Re: [gentoo-user] Laptop resurrection...

2009-12-02 Thread Marcus Wanner

On 12/2/2009 11:26 AM, Mick wrote:

2009/12/2 BRM bm_witn...@yahoo.com:
  

I'm still working to get my laptop back up; I have one more thing to try.

Presently, I am having a problem with the compiling a 2.6.30-gentoo-r8 kernel 
that actually works. It might be a processor issue - linux reports it as a 
Pentium M which is what I have selected during 'make menuconfig', but the the 
grub keeps reporting that it is not a recognized format or something to that 
effect, so it won't load it.

Questions:

1) I am using the Gentoo 2007.0 LiveCD to boot with, then chroot'ing into my 
installation to build the kernel. I shouldn't need a newer LiveCD, correct?



Correct as long as it recognise your hardware.

  

2) Grub doesn't need to be re-run (e.g. running the grub prompt and going 
through the install procedure) after changes to the menu file, correct?



Correct, assuming you have installed GRUB correctly in the first
instance - which makes me ask:

What is your exact error message?
  
I got that error when I copied the wrong kernel image to /boot, make 
sure you are copying the one detailed in the gentoo handbook (chapter 7, 
I think).


Marcus



Re: [gentoo-user] Laptop resurrection...

2009-12-02 Thread Albert Hopkins
On Wed, 2009-12-02 at 06:13 -0800, BRM wrote:
 the the grub keeps reporting that it is not a recognized format or
 something to that effect, so it won't load it.

Please post the exact error message (write it down if need be). Simply
saying or something to that effect tends to lead to errors in
responses (or something to that effect ;).

-a





Re: [gentoo-user] Re: decrapify your kernel config

2009-12-02 Thread Stefan G. Weichinger
Volker Armin Hemmann schrieb:
 On Mittwoch 18 November 2009, Alan McKinnon wrote:
 On Wednesday 18 November 2009 01:16:04 Stefan G. Weichinger wrote:
 Volker Armin Hemmann schrieb:
 Namespaces - you don't need it? Kick 'em out.
 hmm, interesting ... ;-)

 for sure I also want to decrapify my kernel-config ...

 To disable namespaces I would have to set CONFIG_EMBEDDED=y ... correct?

 This is rather counterintuitive to me, as my main workstation is far
 from an embedded or small system (ok, not compared to the
 4096-cpu-clusters in http://xkcd.com/619/ , but compared to, for
 example, my embedded ALIX-PC I use as fw/router/something ...).

 So you suggest I set CONFIG_EMBEDDED=y and in turn get several new
 options/defaults to choose and get right or wrong ... ?

 ;-)

 I am quite sure to have at least *some* crap in my config as I tend to
 always do something like

 zcat /proc/config.gz  /usr/src/linux-new-shiny-version/.config
 make oldconfig

 

 This gives me expected results and a it boots OK experience, getting
 rid of unused crap is another issue, yes.

 I wonder which EMBEDDED options would help me ...
 Likely none of them.

 The embedded menu is the most counter-intuitive thing in the whole kernel
 config. It does not supply a list of things you may enable, instead it
 activates a menu that allows you to switch stuff OFF that is normally ON.

 The rationale is that embedded devices need to get by on a very slim kernel
 and with some magic trickery they can successfully disable some features
  that are usually considered perfectly normal for regular desktop use.

 For example: CONFIG_HOTPLUG. It's unthinkable to remove this for a desktop,
 but does your TomTom need it? Does a GPS even have hotplug facilities? How
 about ADSL router/modems?

 To disable namespace, enable embedded, leave everything on, and you will
  find you can now disable namespaces.

 
 you can disable:
 - Enable 16-bit UID system calls 
 
 - Sysctl syscall support
 without negative impact on a desktop. Most of it is broken for years anyway.
 
 - Core dumps
  are another feature that most people never use
 
 - Load all symbols for debugging/ksymoops  
 and
 - Do an extra kallsyms pass
 stuff you can deactivate if you don't plan to send crash reports.
 
 - Enable PC-Speaker support
 oh hell - away with that one! Who needs beeps anyway?

whoops. I hadn't looked back at that thread for weeks, only found it now.

Thanks for your replies 



Re: [gentoo-user] how to know which driver a device is using?

2009-12-02 Thread Marcus Wanner

On 12/1/2009 7:59 PM, Xi Shen wrote:

Hi,

when i start my system from gentoo live dvd, all my hardware works
fine. but if i want to have a small system, so i removed many drivers
when i am compiling my own system. the result is some times, i do not
know which driver should i choose for my hardware, and my hardware
cannot use when i boot from my new system.

i wonder if there is a way to see which driver is loaded for my
hardware. this should help me choose the drivers when compiling my
system.
  
I believe lspci -k is the best choice in your case, it is the cleanest 
and most direct option, and will tell you what hardware is using what 
driver.


Marcus



Re: [gentoo-user] Re: Looong delays

2009-12-02 Thread Willie Wong
On Wed, Dec 02, 2009 at 06:24:49PM +0200, Penguin Lover Nikos Chantziaras 
squawked:
 Hum, I had forgotten about this command. It would have come in handy a
 few days ago. But in the case of FireFox, wouldn't that make it worse?

 No.  If you run other tasks as ionice -c3 they will stop blocking 
 Firefox.

I see. I guess it would not have helped in my case as it was, since the 
problem was due to another user's process blocking the IO, and I am not 
root on my work machine. 

 Also, what do you mean by known problem? What sort of set-up causes
 the problem? Is this related at all to the hardware used? Or is this
 purely in software?

 No, it's related to the Linux kernel blocking other applications for too 
 long when one of them does heavy I/O.  This is done so that each task has a 
 chance to get more work done for the amount of time it gets to do I/O.  As 
 you can imagine, this hurts non-server systems quite badly.

Ah, so ionice -c 3 is to be used for the other (dare I say
non-interactive?) processes. Thanks for the explanation. 

Cheers, 

W

-- 
A young woman was jogging when she saw a wizened old man, smiling at her
from his porch. 
You look so happy! she said to him. What's your secret for a long
satisfying life?
Well, I smoke three packs of cigarettes every day and I drink a case of
wisky every week. on top of that I never excersice, and I eat lots of 
fatty foods.
That's amazing, the woman said. And how old are you?
He answered, thirty two.
Sortir en Pantoufles: up 1090 days, 18:04



Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-02 Thread Alan McKinnon
On Wednesday 02 December 2009 19:59:35 Stefan G. Weichinger wrote:
 Alan McKinnon schrieb:
  Most folk now have to rebuild 70 - 300 packages, I'm stuck with
  potentially 1472 sigh
 
 I feel with you ... fortunately the cpus should do it on their own,
 accompanied by some fans ;-)
 
 -
 
 Any idea how to elegantly split that job into some digestible chunks?
 
 The various qlop/genlop/awk/grep/sed-scripts posted so far simply give
 me the whole list of packages emerged since patch-2.6 and today while
 they don't care about what I rebuilt already.

flameeyes is the fellow making all the fuss about this. On his blog

http://blog.flameeyes.eu/2009/12/01/gentoo-service-announcement-keep-clear-of-
gnu-patch-2-6

he gives a way to build a decent list that removes packages re-emerged since 
patch was downgraded again. The trouble with a bug like this is that it gets 
used everywhere and affects very basic packages which are then used by other 
packages (that may or may not have been patched meanwhile) potentially 
affecting their behaviour too.

The effects are complex and never fully determined. Consider this: rebuilding 
world on a modern desktop will take around 24 to 36 hours. You could spend 
more time than that figuring out how to build a full list :-)

 Seems as if I have to simply manage that to-rebuild-list myself ..
 
 Greets, Stefan
 
 ps: *maybe* my X11-crashing-issue is somehow related to this as well.
 I first posted that issue on nov,15th ... on the same day patch-2.6 hit
 ~amd64 AFAIK ...

It's certainly possible, the times certainly coincide. And you do have 
symptoms that no-one else is having (sorta the kind of thing you'd expect from 
a patch that should have been applied and wasn't).

It's worth downgrading patch and rebuilding X even if only to see what happens


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Looong delays

2009-12-02 Thread James Ausmus
On Wed, Dec 2, 2009 at 3:22 AM, Dirk Uys dirkc...@gmail.com wrote:

 Hi

 This has been bothering me for some time now. I have a Dell PC at work,
 Intel Core2 Duo with 4gb ram etc. Whenever something does a lot of disk
 access, the PC slows down to a halt? I remember some issue between Firefox
 and the kernel causing long pauses, but I've had several different kernel
 versions running.

 I also use the ntfs-3g driver for write access to a doze partition, but
 although the degradation in performance more severe with the ntfs-3g driver,
 access to the native (ext3) partition also drags the system down for a
 while.

 I checked obvious things like whether or not I enable SMP in the kernel. I
 tried changing the kernel pre-emption from low latency desktop to desktop,
 but the problem persist. The application that is mostly involved when I get
 these long delays is FireFox, VMWare and emerge (emerge --sync).  Everything
 is compiled 64bit but I have the 32bit emulation libs.

 Can anyone point me into some direction?



A tool I've always found useful for determining IO hog processes is
sys-process/iotop

HTH-

James


Re: [gentoo-user] Laptop resurrection...

2009-12-02 Thread BRM
- Original Message 

From: Mick michaelkintz...@gmail.com
 2009/12/2 BRM bm_witn...@yahoo.com:
  I'm still working to get my laptop back up; I have one more thing to try.
  Presently, I am having a problem with the compiling a 2.6.30-gentoo-r8 
  kernel that actually works. It might be a processor issue - linux reports 
  it as a
  Pentium M which is what I have selected during 'make menuconfig', but the 
  the grub keeps reporting that it is not a recognized format or something to 
  that effect, so it won't load it.
  Questions:
  1) I am using the Gentoo 2007.0 LiveCD to boot with, then chroot'ing into 
  my installation to build the kernel. I shouldn't need a newer LiveCD, 
  correct?
 Correct as long as it recognise your hardware.

Thanks.

  2) Grub doesn't need to be re-run (e.g. running the grub prompt and going 
  through the install procedure) after changes to the menu file, correct?
 Correct, assuming you have installed GRUB correctly in the first instance

Thanks

  - which makes me ask:
 What is your exact error message?

I'll post that tonight.

- Original Message 
From: Marcus Wanner marc...@cox.net
 I got that error when I copied the wrong kernel image to /boot, make 
 sure you are copying the one detailed in the gentoo handbook (chapter 7, I 
 think).

The last kernel I copied in I copied the file specified by the kernel's README: 
arch/arch/boot/bzImage - arch being x86.

Though according to http://www.gentoo.org/doc/en/kernel-config.xml it should be 
arch/i386/boot/bzImage...not sure which is right off hand.
Will check into it tonight.

Ben




Re: [gentoo-user] Re: Heads up: Your system might be broken and/or insecure due to serious patch-2.6 bug

2009-12-02 Thread Stefan G. Weichinger
Stefan G. Weichinger schrieb:

 Seems as if I have to simply manage that to-rebuild-list myself ..

my rebuild-list crashed at kde-misc/kdnssd-avahi, interesting on a
gnome-system ...

k3b depends on kdelibs and I have useflag avahi for that, hmmm ...

I removed it from my list and emerge the rest, I will look at that
kde-misc/kdnssd-avahi-topic later ...




[gentoo-user] Re: OT: threads in thunderbird (WAS:decrapify your kernel config)

2009-12-02 Thread Stefan G. Weichinger
Stefan G. Weichinger schrieb:

 whoops. I hadn't looked back at that thread for weeks, only found it now.

Does anyone know of a helpful addon for thunderbird which allows to
simply follow threads on mailinglists?

I always think of the possibility to somehow bookmark a thread and to be
able to quickcheck all these threads for replies, without the need of
scrolling through miles of other postings (yep, I already sort mails
into folders and use the threaded view).

Maybe someone knows more than me (many do ...)

Stefan





Re: [gentoo-user] Re: decrapify your kernel config

2009-12-02 Thread Stefan G. Weichinger
Alan McKinnon schrieb:

 To disable namespace, enable embedded, leave everything on, and you will find 
 you can now disable namespaces.

did that, as well as the other suggestions by Volker, recompiled kernel
sits there and waits until I re-emerged stuff related to that
patch-2.6-issue ;-)

Thanks.

Stefan



Re: [gentoo-user] Laptop resurrection...

2009-12-02 Thread Dale

BRM wrote:

- Original Message 

From: Mick michaelkintz...@gmail.com
  

2009/12/2 BRM bm_witn...@yahoo.com:


I'm still working to get my laptop back up; I have one more thing to try.
Presently, I am having a problem with the compiling a 2.6.30-gentoo-r8 kernel 
that actually works. It might be a processor issue - linux reports it as a
Pentium M which is what I have selected during 'make menuconfig', but the the 
grub keeps reporting that it is not a recognized format or something to that 
effect, so it won't load it.
Questions:
1) I am using the Gentoo 2007.0 LiveCD to boot with, then chroot'ing into my 
installation to build the kernel. I shouldn't need a newer LiveCD, correct?
  

Correct as long as it recognise your hardware.



Thanks.

  

2) Grub doesn't need to be re-run (e.g. running the grub prompt and going 
through the install procedure) after changes to the menu file, correct?
  

Correct, assuming you have installed GRUB correctly in the first instance



Thanks

  

 - which makes me ask:
What is your exact error message?



I'll post that tonight.

- Original Message 
From: Marcus Wanner marc...@cox.net
  
I got that error when I copied the wrong kernel image to /boot, make 
sure you are copying the one detailed in the gentoo handbook (chapter 7, I think).



The last kernel I copied in I copied the file specified by the kernel's README: 
arch/arch/boot/bzImage - arch being x86.

Though according to http://www.gentoo.org/doc/en/kernel-config.xml it should be 
arch/i386/boot/bzImage...not sure which is right off hand.
Will check into it tonight.

Ben
  


This may not be the problem but I ran into this a while back.  Some 
times when I build a kernel, the bzImage in */i386/boot is actually a 
link, not the bzImage itself.  Naturally copying a link will not boot, 
especially if it breaks the link or /usr is on a separate partition and 
not mounted yet.


I ran into this twice with two different kernels.  I can't recall the 
version tho.  You may want to check that before you copy the bzImage 
over, just to make sure it is a file and not a link.


Oh, don't forget to mount /boot too.  Very common thing to forget.

Dale

:-)  :-) 



[gentoo-user] Once again the emerge @preserved-rebuild loop

2009-12-02 Thread Mark Knecht
Hi all,
   This came up maybe a month ago on some of my machines. Now I'm
updating the MythTV network of 3 dedicated machines and I'm seeing the
same thing. The machines are clean with emerge -DuN @world but stuck
in what appears to be an endless loop of @preserved-rebuild's. I've
been through the loop 3 times with no changes any time.

   Before I do what I did last time (which was just erase the
preserved_libs_registry file by hand) I figured I'd see what a better
way to handle this is. Last time I think Neil suggested that multiple
passes through emerge @preserved-rebuild would eliminate this but I've
done 3 passes so far and it appears stuck.

   Possibly I should emerge -C e2fsprogs-libs and then do another
emerge -DuN @world?

   Other ideas?

   Same exact results on 3 machines...

Thanks,
Mark


!!! existing preserved libs:
 package: sys-libs/e2fsprogs-libs-1.41.9
 *  - /lib/libblkid.so
 *  used by /bin/mount (sys-apps/util-linux-2.16.1)
 *  used by /bin/umount (sys-apps/util-linux-2.16.1)
 *  used by /sbin/blkid (sys-apps/util-linux-2.16.1)
 *  used by 10 other files
 *  - /lib/libuuid.so
 *  used by /bin/mount (sys-apps/util-linux-2.16.1)
 *  used by /bin/umount (sys-apps/util-linux-2.16.1)
 *  used by /sbin/blkid (sys-apps/util-linux-2.16.1)
 *  used by 20 other files
Use emerge @preserved-rebuild to rebuild packages using these libraries
myth12 ~ # emerge -p @preserved-rebuild

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-apps/util-linux-2.16.1
[ebuild   R   ] sys-fs/cryptsetup-1.0.6-r2
[ebuild   R   ] sys-fs/e2fsprogs-1.41.9
[ebuild   R   ] x11-libs/libSM-1.1.1
[ebuild   R   ] sys-apps/hal-0.5.13-r2
[ebuild   R   ] x11-libs/libXt-1.0.6
[ebuild   R   ] x11-libs/libXpm-3.5.7
[ebuild   R   ] sys-apps/dbus-1.2.3-r1
[ebuild   R   ] x11-libs/libXaw-1.0.6
[ebuild   R   ] x11-apps/xdm-1.1.8
myth12 ~ #


and then


 * Regenerating GNU info directory index...
 * Processed 90 info files.

!!! existing preserved libs:
 package: sys-libs/e2fsprogs-libs-1.41.9
 *  - /lib/libblkid.so
 *  used by /bin/mount (sys-apps/util-linux-2.16.1)
 *  used by /bin/umount (sys-apps/util-linux-2.16.1)
 *  used by /sbin/blkid (sys-apps/util-linux-2.16.1)
 *  used by 10 other files
 *  - /lib/libuuid.so
 *  used by /bin/mount (sys-apps/util-linux-2.16.1)
 *  used by /bin/umount (sys-apps/util-linux-2.16.1)
 *  used by /sbin/blkid (sys-apps/util-linux-2.16.1)
 *  used by 20 other files
Use emerge @preserved-rebuild to rebuild packages using these libraries
myth12 ~ # emerge -p @preserved-rebuild

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-apps/util-linux-2.16.1
[ebuild   R   ] sys-fs/cryptsetup-1.0.6-r2
[ebuild   R   ] sys-fs/e2fsprogs-1.41.9
[ebuild   R   ] x11-libs/libSM-1.1.1
[ebuild   R   ] sys-apps/hal-0.5.13-r2
[ebuild   R   ] x11-libs/libXt-1.0.6
[ebuild   R   ] x11-libs/libXpm-3.5.7
[ebuild   R   ] sys-apps/dbus-1.2.3-r1
[ebuild   R   ] x11-libs/libXaw-1.0.6
[ebuild   R   ] x11-apps/xdm-1.1.8
myth12 ~ #



Re: [gentoo-user] Re: OT: threads in thunderbird (WAS:decrapify your kernel config)

2009-12-02 Thread Zeerak Waseem
Nope, but if there isn't a particular reason for using thunderbird (ie.  
some function unlikely to be found in other clients). But opera webbrowser  
comes with an email client built into it, and if you use a panel view,  
well you'll get a nice little tree called mailing lists :-)

So if switching browser is an option, then there's a cause :-)

Zeerak

On Wed, 02 Dec 2009 22:01:09 +0100, Stefan G. Weichinger li...@xunil.at  
wrote:



Stefan G. Weichinger schrieb:

whoops. I hadn't looked back at that thread for weeks, only found it  
now.


Does anyone know of a helpful addon for thunderbird which allows to
simply follow threads on mailinglists?

I always think of the possibility to somehow bookmark a thread and to be
able to quickcheck all these threads for replies, without the need of
scrolling through miles of other postings (yep, I already sort mails
into folders and use the threaded view).

Maybe someone knows more than me (many do ...)

Stefan






Re: [gentoo-user] Re: OT: threads in thunderbird (WAS:decrapify your kernel config)

2009-12-02 Thread Neil Bothwick
On Wed, 02 Dec 2009 22:01:09 +0100, Stefan G. Weichinger wrote:

 Does anyone know of a helpful addon for thunderbird which allows to
 simply follow threads on mailinglists?
 
 I always think of the possibility to somehow bookmark a thread and to be
 able to quickcheck all these threads for replies, without the need of
 scrolling through miles of other postings (yep, I already sort mails
 into folders and use the threaded view).

Can't you set Thunderbird to hide read messages?


-- 
Neil Bothwick

When you said you wanted to live in sin, I didn't know you meant sloth


signature.asc
Description: PGP signature


Re: [gentoo-user] cmake - need help

2009-12-02 Thread sean
Helmut Jarausch wrote:
 Hi,
 
 unfortunately I have no experience with cmake.
 The current version of kde-base/step-4.3.4 fails because it cannot find
 the eigen2 include directory. (I have created a bug report
 http://bugs.gentoo.org/show_bug.cgi?id=295411
 )
 
 Looking at  kdeedu-4.3.4/step/CMakeLists.txt
 there is
 include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${EIGEN2_INCLUDE_DIR})
 
 
 How is this CMakeLists.txt processed (how to debug it).
 
 Many thanks for a pointer,
 Helmut.
 

There is an eigen use flag.
Perhaps you need that?



[gentoo-user] Valve Steam on gentoo

2009-12-02 Thread Kirill Lipatov
For some reason Steam fails to start any games on my gentoo box. I am using
wine 1.1.32 with the engine itself and the games all downloaded to gentoo's
partition (not the ntfs3g problem). Steam itself loads fine, but when I
click launch the game nothing happens.

This is very said because Steam is the only reason why I still have to deal
with Windows :(

Any ideas?


Re: [gentoo-user] Laptop resurrection... (solved)

2009-12-02 Thread BRM




- Original Message 
From: Mick michaelkintz...@gmail.com
 On Wednesday 02 December 2009 20:52:35 BRM wrote:
  - Original Message 
  From: Mick michaelkintz...@gmail.com
   2009/12/2 BRM bm_witn...@yahoo.com:
- which makes me ask:
   What is your exact error message?
  I'll post that tonight.

Exact error message was:

ERROR 13: Invalid or unsupported executable format

Well, I mounted the drive again - and didn't go into the chroot shell.
I had been doing all the copying from within the chroot before.
I found the arch/i386/boot/bzImage, which does just point to 
arch/x86/boot/bzImage.

I had copied arch/x86/boot/bzImage but for whatever reason the md5 hashes of 
the image
and what I had copied didn't match. So I copied it, rebooted, and viola it 
worked.
Odd...not sure what was up with it; but it's working. Now to update the 
environment.

- Original Message 
From: Dale rdalek1...@gmail.com
 Oh, don't forget to mount /boot too.  Very common thing to for

True; however I don't setup /boot that way unless I absolutely have to - namely 
for older systems that couldn't access the whole hard drive until after the 
kernel was loaded, or some other explicit reason. I haven't had a system like 
that in a long time. And it wasn't needed on this system.

Thanks!

Ben




[gentoo-user] Wireless...

2009-12-02 Thread BRM
I have wireless working (b43legacy driver for the Dell Wireless Broadcom) 
through a static configuration in /etc/conf.d/net - basically:

essid_wlan0=myWLAN
key_MYWLAN=somekey
config_MYWLAN=( dhcp )
preferred_APS= ( myWLAN )

I would like to use a tool like WPA Supplicant instead so I can have a more 
dynamic configuration.
I've tried to setup WPA supplicant but haven't been able to get it to work.

My last attempt was with:

modules=( wpa_supplicant )
wpa_supplicant_wlan0=-Dwext
wpa_timeout_wlan0=15

I also tried the iwconfig setup:

modules=( iwconfig )
iwconfig_wlan0=mode managed
wpa_timeout_wlan0=15

Both these were based on configurations I found while researching gentoo 
wireless configurations:

http://en.gentoo-wiki.com/wiki/Wireless_Networking

the wpa_supplicant man page possibly suggests uses -Dbroadcom, but the 
following supports -Dwext since I have the b43legacy driver working (firmware 
extracted using b43-fwcutter a while back; dmesg reports version 0x127).

http://linuxwireless.org/en/users/Drivers/b43

I have both the iwconfig utilities and wpa supplicant installed. When I used 
wpa supplicant with either configuration it would just keep searching.

Now, my wireless configuration is currently WEP; and I'd like to upgrade to 
WPA/WPA2 once I can get a wireless tool on the system as well.

Is there anything I'm doing wrong with the configuration above?

Also - what is the correct GUI for configuring connections under KDE4? I know 
of the WPA Supplicant GUI; and the GNOME GUI; but would like something under 
more directly KDE4.

KNemo just puts up monitors that are pretty useless (though look pretty).

TIA,

Ben

P.S. It seems my Linksys WRT54G v3 needs a firmware update for WPA2. So right 
now, I'd just like to be able to configure dynamically for my WEP network; then 
I'll focus on going to WPA/WPA2.




[gentoo-user] Re: Once again the emerge @preserved-rebuild loop

2009-12-02 Thread Mark Knecht
On Wed, Dec 2, 2009 at 3:10 PM, Mark Knecht markkne...@gmail.com wrote:
 Hi all,
   This came up maybe a month ago on some of my machines. Now I'm
 updating the MythTV network of 3 dedicated machines and I'm seeing the
 same thing. The machines are clean with emerge -DuN @world but stuck
 in what appears to be an endless loop of @preserved-rebuild's. I've
 been through the loop 3 times with no changes any time.

   Before I do what I did last time (which was just erase the
 preserved_libs_registry file by hand) I figured I'd see what a better
 way to handle this is. Last time I think Neil suggested that multiple
 passes through emerge @preserved-rebuild would eliminate this but I've
 done 3 passes so far and it appears stuck.

   Possibly I should emerge -C e2fsprogs-libs and then do another
 emerge -DuN @world?

   Other ideas?

   Same exact results on 3 machines...

 Thanks,
 Mark

No quick answers from the list so I tried:

emerge -C e2fsprogs-libs
emerge -DuN @world?
revdep-rebuild -i

and now the preserved-rebuild info is gone.

myth12 ~ # emerge -p @preserved-rebuild
emerge: 'preserved-rebuild' is an empty set
emerge: no targets left after set expansion
myth12 ~ #

So I guess it's fixed. Right? Right...

Over and out,
Mark



Re: [gentoo-user] Wireless...

2009-12-02 Thread Zeerak Waseem

This is my etc/conf.d/net file:

modules=( wpa_supplicant )
wpa_supplicant_wlan0=-Dwext
preferred_aps=(ESSID1 ESSID2)
essid_wlan0=any

All specific stuff is in /wpa_supplicant/supplicant.conf

Zeerak

On Thu, 03 Dec 2009 03:17:15 +0100, BRM bm_witn...@yahoo.com wrote:

I have wireless working (b43legacy driver for the Dell Wireless  
Broadcom) through a static configuration in /etc/conf.d/net - basically:


essid_wlan0=myWLAN
key_MYWLAN=somekey
config_MYWLAN=( dhcp )
preferred_APS= ( myWLAN )

I would like to use a tool like WPA Supplicant instead so I can have a  
more dynamic configuration.
I've tried to setup WPA supplicant but haven't been able to get it to  
work.


My last attempt was with:

modules=( wpa_supplicant )
wpa_supplicant_wlan0=-Dwext
wpa_timeout_wlan0=15

I also tried the iwconfig setup:

modules=( iwconfig )
iwconfig_wlan0=mode managed
wpa_timeout_wlan0=15

Both these were based on configurations I found while researching gentoo  
wireless configurations:


http://en.gentoo-wiki.com/wiki/Wireless_Networking

the wpa_supplicant man page possibly suggests uses -Dbroadcom, but the  
following supports -Dwext since I have the b43legacy driver working  
(firmware extracted using b43-fwcutter a while back; dmesg reports  
version 0x127).


http://linuxwireless.org/en/users/Drivers/b43

I have both the iwconfig utilities and wpa supplicant installed. When I  
used wpa supplicant with either configuration it would just keep  
searching.


Now, my wireless configuration is currently WEP; and I'd like to upgrade  
to WPA/WPA2 once I can get a wireless tool on the system as well.


Is there anything I'm doing wrong with the configuration above?

Also - what is the correct GUI for configuring connections under KDE4? I  
know of the WPA Supplicant GUI; and the GNOME GUI; but would like  
something under more directly KDE4.


KNemo just puts up monitors that are pretty useless (though look pretty).

TIA,

Ben

P.S. It seems my Linksys WRT54G v3 needs a firmware update for WPA2. So  
right now, I'd just like to be able to configure dynamically for my WEP  
network; then I'll focus on going to WPA/WPA2.






--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



Re: [gentoo-user] Wireless...

2009-12-02 Thread Crístian Viana
KDE 4 doesn't have an official network manager yet. you can use
net-misc/wicd, it works nice.

On Thu, Dec 3, 2009 at 2:17 AM, BRM bm_witn...@yahoo.com wrote:

 I have wireless working (b43legacy driver for the Dell Wireless Broadcom)
 through a static configuration in /etc/conf.d/net - basically:

 essid_wlan0=myWLAN
 key_MYWLAN=somekey
 config_MYWLAN=( dhcp )
 preferred_APS= ( myWLAN )

 I would like to use a tool like WPA Supplicant instead so I can have a more
 dynamic configuration.
 I've tried to setup WPA supplicant but haven't been able to get it to work.

 My last attempt was with:

 modules=( wpa_supplicant )
 wpa_supplicant_wlan0=-Dwext
 wpa_timeout_wlan0=15

 I also tried the iwconfig setup:

 modules=( iwconfig )
 iwconfig_wlan0=mode managed
 wpa_timeout_wlan0=15

 Both these were based on configurations I found while researching gentoo
 wireless configurations:

 http://en.gentoo-wiki.com/wiki/Wireless_Networking

 the wpa_supplicant man page possibly suggests uses -Dbroadcom, but the
 following supports -Dwext since I have the b43legacy driver working
 (firmware extracted using b43-fwcutter a while back; dmesg reports version
 0x127).

 http://linuxwireless.org/en/users/Drivers/b43

 I have both the iwconfig utilities and wpa supplicant installed. When I
 used wpa supplicant with either configuration it would just keep searching.

 Now, my wireless configuration is currently WEP; and I'd like to upgrade to
 WPA/WPA2 once I can get a wireless tool on the system as well.

 Is there anything I'm doing wrong with the configuration above?

 Also - what is the correct GUI for configuring connections under KDE4? I
 know of the WPA Supplicant GUI; and the GNOME GUI; but would like something
 under more directly KDE4.

 KNemo just puts up monitors that are pretty useless (though look pretty).

 TIA,

 Ben

 P.S. It seems my Linksys WRT54G v3 needs a firmware update for WPA2. So
 right now, I'd just like to be able to configure dynamically for my WEP
 network; then I'll focus on going to WPA/WPA2.





-- 
Crístian Deives dos Santos Viana [aka CD1]
Sent from Campinas, SP, Brazil


Re: [gentoo-user] Valve Steam on gentoo

2009-12-02 Thread Keith Dart
=== On Thu, 12/03, Kirill Lipatov wrote: ===
 Any ideas?
===

There are many, many Windows applications that don't run under Wine.
Especially games. That's probably one of them.

Even if they do, they usually run only with certain video cards.
Usually Nvidia.



-- Keith Dart

-- 

-- ~
   Keith Dart ke...@dartworks.biz
   public key: ID: 19017044
   http://www.dartworks.biz/
   =