Re: [gentoo-user] dbus static libs problem

2010-09-20 Thread Neil Bothwick
On Sun, 19 Sep 2010 20:33:39 -0400, cov...@ccs.covici.com wrote:

> Hi all.  During a system update today, /usr/lib/libdbus-1.la was
> deleted.  However a number of packages require this file

emerge lafilefixer
lafilefixer --justfixit


-- 
Neil Bothwick

Znqr lbh ybbx!


signature.asc
Description: PGP signature


Re: [gentoo-user] Amarok

2010-09-20 Thread Jonas de Buhr
Hi!

>I'm thinking I will change Amarok to Audacious.

Maybe you should have a look at aTunes, rhythmbox, exaile,
gmusicbrowser and jajuk too... :)

>Anybody else experienced this or just I'm cursed? :)

I had a lot of stability problems with amarok on opensuse. IMHO it's
not worth the hassle, go with one of the alternatives.

jdb



Re: [gentoo-user] dbus static libs problem

2010-09-20 Thread covici
Neil Bothwick  wrote:

> On Sun, 19 Sep 2010 20:33:39 -0400, cov...@ccs.covici.com wrote:
> 
> > Hi all.  During a system update today, /usr/lib/libdbus-1.la was
> > deleted.  However a number of packages require this file
> 
> emerge lafilefixer
> lafilefixer --justfixit
Worked fine, I had lafilefixer, but had no clue what was going on.  

Thanks much.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] Re: Amarok

2010-09-20 Thread Nikos Chantziaras

On 09/20/2010 09:02 AM, András Csányi wrote:

Hi Guys,

I like amarok, I don't know why just I like it. Yesterday, when I
switched off amarok I saw the CPU using went down from ~40% to ~3% and
kwin from ~30% to ~1%.
the side effects of this, slower desktop and sometimes is
uncomfortable. My machine has 4GB RAM and nvidia (geforce 8400), but
the CPUs are celeron. The system is 64 bit.

I'm thinking I will change Amarok to Audacious.

Anybody else experienced this or just I'm cursed? :)


Strange.  First time I hear of this.  I've been using Amarok (currently 
2.3.1.90) for quite a while, never had this problem.





Re: [gentoo-user] Amarok

2010-09-20 Thread Yohan Pereira
On Monday 20 September 2010 11:32:57 am András Csányi wrote:
> I like amarok, I don't know why just I like it. Yesterday, when I
> switched off amarok I saw the CPU using went down from ~40% to ~3% and
> kwin from ~30% to ~1%.

I use amarok all the time, although its not lite, its cpu usage is normally 
arround 5-7 % while playing and kwin is arround ~1% (when amarok is minimised 
to the tray). When the window is shown the usage is slightly higher(kwin 
arround 15%)  this i think is because ive got the images applet enabled which 
shows a sort of slide show of images with various transitioning effects like 
(blending).

im on 2.3.1. what version are you using? try upgrading to the latest? try 
disabling a few applets that you dont need or might be heavy.

> My machine has 4GB RAM and nvidia (geforce 8400), but
> the CPUs are celeron. The system is 64 bit.

ive got a similar machine but with a core 2 duo cpu

> I had a lot of stability problems with amarok on opensuse. IMHO it's
> not worth the hassle, go with one of the alternatives.

well i guess its improved a lot lately, ive never had any stablity issues with 
amarok.

-- 
- Yohan Pereira.




Re: [gentoo-user] dbus static libs problem

2010-09-20 Thread Neil Bothwick
On Mon, 20 Sep 2010 06:12:56 -0400, cov...@ccs.covici.com wrote:

> > > Hi all.  During a system update today, /usr/lib/libdbus-1.la was
> > > deleted.  However a number of packages require this file  
> > 
> > emerge lafilefixer
> > lafilefixer --justfixit  
> Worked fine, I had lafilefixer, but had no clue what was going on.  

Whenever an ebuild bombs out with an error about one or more .la files,
the first recourse should be to run lafilefixer.


-- 
Neil Bothwick

RAM disk is *not* an installation procedure.


signature.asc
Description: PGP signature


[gentoo-user] xulrunner emerge problem

2010-09-20 Thread covici
I am finding that when I try to emerge xulrunner on the recent update I
get the following:
XRemoteClient_standalone.o: In function
`XRemoteClient::FindBestWindow(char const*, char const*, char const*,
int)':
/var/tmp/portage/net-libs/xulrunner-1.9.2.9-r1/work/mozilla-1.9.2/widget/src/xremoteclient/XRemoteClient.cpp:535:
undefined reference to `PR_strtod'
/var/tmp/portage/net-libs/xulrunner-1.9.2.9-r1/work/mozilla-1.9.2/widget/src/xremoteclient/XRemoteClient.cpp:582:
undefined reference to `PR_GetEnv'
XRemoteClient_standalone.o: In function `XRemoteClient::GetLock(unsigned
long, int*)':
/var/tmp/portage/net-libs/xulrunner-1.9.2.9-r1/work/mozilla-1.9.2/widget/src/xremoteclient/XRemoteClient.cpp:367:
undefined reference to `PR_GetSystemInfo'
collect2: ld returned 1 exit status
I can't find anything ingoogle for this one -- anyone know what is
happening?

Thanks.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] Native 32 and 64-bit linux Flash 10 Preview Release available

2010-09-20 Thread Paul Hartman
On Sun, Sep 19, 2010 at 1:05 AM, Walter Dnes  wrote:
>  This is of interest to those of us running old versions of Flash,
> especially on 64-bit installs without 32-bit support (looks in
> mirror).

Hi, this Flash 10.2-pre is in portage since 2 days ago. You'll just
have to unmask it. :)

www-plugins/adobe-flash-10.2.161.22_pre20100915



Re: [gentoo-user] Fire the fox.

2010-09-20 Thread Paul Hartman
On Sat, Sep 18, 2010 at 5:14 PM, Kevin O'Gorman  wrote:
> Is it just me?  Or does Firefox get slower every release?  And less stable.

I haven't had any crashing or failing to start, but Firefox in Linux
has always been pretty bad in general for me. Slow UI, unusable in NX
(constant screen redraws; Thunderbird does the same thing), network
stalling for MINUTES at a time, slow to load, etc. Other browsers on
the same machine don't suffer any of these problems. I don't use
Firefox as my primary browser because it is so flaky.

At work I use Firefox in Windows XP all day long on a much slower
computer, and it is faster (UI responsiveness feeling, not benchmarks)
and has none of the problems I have always experienced on my home
Gentoo box. It's been a long-standing mystery.



[gentoo-user] VMware Workstation 7.1.1 installation failed on gentoo

2010-09-20 Thread Thomas Yao
Hi all , I just downloaded the VMware Workstation 7 and tried to
install it on my gentoo but failed
I installed 32-bit gentoo system on my PC and its kernel version is
the lastest one in gentoo -> 2.6.35-r7
I successfully installed Workstation on the gentoo but when I run it ,
it ask me to compile the modules it needs.

Then I just click install and failed at the last step , here is the fail log:
http://paste.pocoo.org/show/264928/

Any help ? Big thank you

-- 
@ghosTM55
Mechanism, not policy



Re: [gentoo-user] Amarok

2010-09-20 Thread Volker Armin Hemmann
On Monday 20 September 2010, András Csányi wrote:
> 
> I'm thinking I will change Amarok to Audacious.
> 
> Anybody else experienced this or just I'm cursed? :)

cursed.

Also, if you want something 'light':
qmmp
alsaplayer



[gentoo-user] Re: VMware Workstation 7.1.1 installation failed on gentoo

2010-09-20 Thread Nikos Chantziaras

On 09/20/2010 06:54 PM, Thomas Yao wrote:

Hi all , I just downloaded the VMware Workstation 7 and tried to
install it on my gentoo but failed
I installed 32-bit gentoo system on my PC and its kernel version is
the lastest one in gentoo ->  2.6.35-r7
I successfully installed Workstation on the gentoo but when I run it ,
it ask me to compile the modules it needs.

Then I just click install and failed at the last step , here is the fail log:
http://paste.pocoo.org/show/264928/

Any help ? Big thank you


You cannot install the package provided by vmware.com.  You have to use 
the Gentoo ebuild.  With layman, add the "vmware" overlay and install 
vmware-workstation from there.  Before you do that, make sure you 
cleaned your system from everything installed by the official vmware 
package.





[gentoo-user] Re: Native 32 and 64-bit linux Flash 10 Preview Release available

2010-09-20 Thread Nikos Chantziaras

On 09/20/2010 06:20 PM, Paul Hartman wrote:

On Sun, Sep 19, 2010 at 1:05 AM, Walter Dnes  wrote:

  This is of interest to those of us running old versions of Flash,
especially on 64-bit installs without 32-bit support (looks in
mirror).


Hi, this Flash 10.2-pre is in portage since 2 days ago. You'll just
have to unmask it. :)

www-plugins/adobe-flash-10.2.161.22_pre20100915


Actually, that's wrong.  It's not masked at all :)  It's in ~arch, so 
you only need to keyword it.





[gentoo-user] su in konsole takes much longer to complete in KDE 4.5.1

2010-09-20 Thread Thomas Drueke
Hi,

I installed KDE 4.5.1 over the weekend following the
"remove-all-old-kde-packages-first" approach on the gentoo webpage. So
far everything seems to be fine except one thing.

When I type "su -" in konsole it takes 20-30 seconds to complete.
Doing the same on a text console the command completes immediately.

I don't have NIS or LDAP enabled. "strace su -" came back with an
authentication failure immediately so no much info from there.
Also "top" didn't show any suspicious process consuming the time.

I found a thread from may which might be related to my observation
("KDE takes ages to show password screen after suspend").
The solution there was to upgrade to KDE 4.4.4 which does not fit here.
Google didn't show much on this topic as well.

Any ideas what might cause the delay or how to get more close to the
root cause ?

Regards,
Thomas



[gentoo-user] Re: No contacts in kaddressbook since KDE-4.4.4

2010-09-20 Thread Mick
On Sunday 19 September 2010 14:11:55 you wrote:
> I have tried changing resources in systemsettings to akonadi directory,
> instead of .kde4/share/apps/kabc/std.vcf, but still cannot see any
> contacts.
> 
> When entering an address in a new message To: field, the address book seems
> to be used because autocompletion works.
> 
> This is happening on both an amd64 (sqlite) and a x86 box (mysql).
> 
> When I set it to use akonadi as a default resource then kmail freezes up
> within 5 minutes.  I assume that this is related to akonadi trying to
> autosave any changes (as per the 'Tune' tab of the akonadi resource
> settings).
> 
> Can you see your contacts in kaddressbook?
> 
> Any ideas how I could fix it?

This has been a major pain in the back side - but I have at long last fixed 
it.  I don't understand why a simple migration script could not be provided by 
the KDE devs ... or the Gentoo devs ... or anyone who knows more than I?

Anyway, these are the steps that I had to follow as plain user:

akonadictl stop

kill all nepomuk that is running.  Check that both akonadi and nepomuk have 
stopped.

Then mv or rm ~/.config/akonadi and ~/.local/share/akonadi.

Start akonadi:

akonadictl start

If like me you are using sqlite instead of mysql, it'll fail because the KDE 
devs do not (want to) support sqlite and therefore did not add a trivial fix 
or at least post install user advice pertinent to sqlite.  Either way, stop 
akonadi, go to the directory where the akonadi.db was created and do this:

cd ~/.local/share/akonadi/
sqlite3 akonadi.db "INSERT INTO ResourceTable (name,isVirtual) VALUES 
('akonadi_search_resource','true')"

Then I started akonadi, then system settings and from Advanced/KDE Resources I 
selected Contacts and added a new "Akonadi Address Books" resource.  I set it 
to be used as standard and deselected the old std.vcf resource that I had in 
there and removed it.

Clicked apply, closed everything and restarted akonadi and system settings.  
Now, I selected the new akonadi resource and clicked edit. Then Manage Address 
Book Sources and added:

'Personal Contacts' pointing it to (~/.local/share/contacts/)

On its own it did not work.  So I restarted everything and also added:

'VCard File' from (~/.kde4/share/apps/kabc/std.vcf)

OK'd it all, and restarted for the last time.

Phew!  At long last my contacts now are showing up in the kaddressbook! :-)

The only thing I noticed different from the old kresource set up is that it 
does not seem to be using/respecting the crypto preferences for particular 
recipients.  It always asks me to use OpenPGP instead of S/MIME even when the 
recipient only has S/MIME keys in their address crypto details.  Not sure if 
it needs a particular setting that I have not yet found.

Anyway, I hope this is of use to anyone who has been troubled on setting 
KDE4.4 with akonadi and sqlite.

Now I'm off to try the same with the box that is running mysql.  ;-)
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] su in konsole takes much longer to complete in KDE 4.5.1

2010-09-20 Thread Yohan Pereira
On Monday 20 September 2010 11:38:15 pm Thomas Drueke wrote:
> Hi,
> 
> I installed KDE 4.5.1 over the weekend following the
> "remove-all-old-kde-packages-first" approach on the gentoo webpage. So
> far everything seems to be fine except one thing.
> 
> When I type "su -" in konsole it takes 20-30 seconds to complete.
> Doing the same on a text console the command completes immediately.

odd im running 4.5.1 and dont experince this.
 
> Any ideas what might cause the delay or how to get more close to the
> root cause ?

you could try it on xterm or any other terminal emulator for that matter. 

-- 
- Yohan Pereira.



Re: [gentoo-user] Amarok

2010-09-20 Thread Nils Larsson
> Also, if you want something 'light':
> qmmp
> alsaplayer

There's also media-sound/clementine



Re: [gentoo-user] su in konsole takes much longer to complete in KDE 4.5.1

2010-09-20 Thread Alan McKinnon
Apparently, though unproven, at 20:08 on Monday 20 September 2010, Thomas 
Drueke did opine thusly:

> Hi,
> 
> I installed KDE 4.5.1 over the weekend following the
> "remove-all-old-kde-packages-first" approach on the gentoo webpage. So
> far everything seems to be fine except one thing.
> 
> When I type "su -" in konsole it takes 20-30 seconds to complete.
> Doing the same on a text console the command completes immediately.
> 
> I don't have NIS or LDAP enabled. "strace su -" came back with an
> authentication failure immediately so no much info from there.
> Also "top" didn't show any suspicious process consuming the time.
> 
> I found a thread from may which might be related to my observation
> ("KDE takes ages to show password screen after suspend").
> The solution there was to upgrade to KDE 4.4.4 which does not fit here.
> Google didn't show much on this topic as well.
> 
> Any ideas what might cause the delay or how to get more close to the
> root cause ?


20-30 second delays due to DNS timeouts have hit me so many times it's always 
the first thing I check, even when it seems irrelevant.

Does your machine have a local hostname, and do you have an entry for it in 
either DNS or /etc/hosts?


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] su in konsole takes much longer to complete in KDE 4.5.1

2010-09-20 Thread Thomas Drueke
Thanks for hints, but no luck so far.

Yohan, using xterm instead of konsole results in the same delay.

Alan, hosts contains the hostname (FQDN) for eth0 and also alocalhost
entry. Plus wireshark didn't show any network traffic during the delay
(for both eth0 and lo).

Is there any of the new services from KDE 4 which requires some
configuration concerning DNS or similar network services ?

Regards,
Thomas

Am 20.09.2010 23:11, schrieb Alan McKinnon:
> Apparently, though unproven, at 20:08 on Monday 20 September 2010, Thomas 
> Drueke did opine thusly:
> 
>> Hi,
>>
>> I installed KDE 4.5.1 over the weekend following the
>> "remove-all-old-kde-packages-first" approach on the gentoo webpage. So
>> far everything seems to be fine except one thing.
>>
>> When I type "su -" in konsole it takes 20-30 seconds to complete.
>> Doing the same on a text console the command completes immediately.
>>
>> I don't have NIS or LDAP enabled. "strace su -" came back with an
>> authentication failure immediately so no much info from there.
>> Also "top" didn't show any suspicious process consuming the time.
>>
>> I found a thread from may which might be related to my observation
>> ("KDE takes ages to show password screen after suspend").
>> The solution there was to upgrade to KDE 4.4.4 which does not fit here.
>> Google didn't show much on this topic as well.
>>
>> Any ideas what might cause the delay or how to get more close to the
>> root cause ?
> 
> 
> 20-30 second delays due to DNS timeouts have hit me so many times it's always 
> the first thing I check, even when it seems irrelevant.
> 
> Does your machine have a local hostname, and do you have an entry for it in 
> either DNS or /etc/hosts?
> 
> 



Re: [gentoo-user] Fire the fox.

2010-09-20 Thread Beau Henderson

On 09/19/10 20:02, András Csányi wrote:

On 19 September 2010 10:09, Alan McKinnon  wrote:

Apparently, though unproven, at 00:28 on Sunday 19 September 2010, András
Csányi did opine thusly:


On 19 September 2010 00:14, Kevin O'Gorman  wrote:

Is it just me?  Or does Firefox get slower every release?  And less
stable.

I got myself up to the latest, and I cannot install my 4 add-ons (xmarks,
AdBlockPlus, Noscript, Stumble-upon) without it crashing.  Seg fault
sometimes.  I've got ECC memory, and no reported problems, and it does
not help to clear the profiles (rename ~/.mozilla)  and re-emerge.
Grr.


Use Chrome/Chromium. At my gentoo the fox won't even start. I don't
know why, I won't to know why... I'm tired about Firefox. :S



If you run Firefox from a terminal, do you get an error about xpcom?

If so, you need revdep-rebuild and possibly re-merge nss.
It's all in the build elogs.


Hi Alan,

I have tried to start from terminal, but no message. I have tried to
run after revdep-rebuild but nothing. I have installed binary version
but the result was the same.
After these I have tried strace and if I remenber correctly it stopped
with segmentation fault. Unfortunately I can't reproduce this problem
because few days ago I changed my system from 32 bit to 64 bit. Here
everything is working fine according firefox.

I know I should have report it but, that time, I was really tired
emotionally. :(



I had this same problem and decided I had bad RAM. Before I could order any, I rebuild my system and 
it happens that I did so with an image that had GCC 4.3* rather than 4.4. Funny enough, firefox 
worked just fine. I did some searching and apparently nspr has issues with a certain function 
enabled in -O2 @ gcc 4.4.


From the following: https://bugzilla.redhat.com/show_bug.cgi?id=487844

Apparently if you rebuild nspr @ gcc 4.4 with -O2 -fno-strict-aliasing

I haven't confirmed this, as I haven't had time to jump back to 4.4 but if someone can confirm this 
fixes the issue, I'd certainly be greatful!






[gentoo-user] Google Inc. Could Be Compliant to the Chinese Government in Beijing, People's Republic of China (PRC)

2010-09-20 Thread Mr. Teo En Ming (Zhang Enming) 张恩鸣 o f Singapore

Article: Google Warns of China Exit Over Hacking
Link: http://online.wsj.com/article/SB126333757451026659.html

I don't think it is that easy to hack if you are using SSL connections 
and very strong passwords. How long would it take supercomputers to 
perform a brute force attack if you are using a strong password with at 
least 20 characters, and a combination of upper case and lower case 
letters, numbers, and symbols?


I am wondering if Chinese government officials could have secretly 
approached specific Google China employees for direct access to the 
Google GMail email accounts of human rights activists in China? It would 
have been far simpler to do it that way. What is the size of China's 
sovereign wealth fund?


--
Yours sincerely,

Mr. Teo En Ming (Zhang Enming) 张恩鸣 Dip(Mechatronics) 
BEng(Hons)(Mechanical Engineering)

Citizenship: Singapore Citizen/Singaporean
Alma Maters:
[1] Singapore Polytechnic (Graduated 1998)
[2] National University of Singapore (Graduated 2006)
Facebook account: Teo En Ming (Zhang Enming)
Facebook link: http://www.facebook.com/profile.php?id=10750083982
Facebook photos: 
http://www.facebook.com/profile.php?id=10750083982#!/profile.php?id=10750083982&v=photos
Facebook videos: 
http://www.facebook.com/profile.php?id=10750083982&v=app_2392950137

Mobile Phone (Starhub pre-paid): +65-8369-2618
Windows Live Messenger: teoenming-at-hotmail.com
Location: Bedok Reservoir Road, Singapore
ZIP: 470103
My Open Letter (Plea for Medical Help/Assistance) to World Leaders 
(Updated 28 August 2010):-

http://lists.mcs.anl.gov/pipermail/mpich-discuss/2010-August/007811.html
http://mythtv.org/pipermail/mythtv-users/2010-August/295952.html
http://archives.gentoo.org/gentoo-user/msg_f6a341d9623fda17880159b137c07335.xml
Photo of Mr. Teo En Ming (Zhang Enming) 张恩鸣 of Singapore: 
http://i53.tinypic.com/207tamp.jpg






Re: [gentoo-user] Re: VMware Workstation 7.1.1 installation failed on gentoo

2010-09-20 Thread Thomas Yao
On Mon, Sep 20, 2010 at 11:58 PM, Nikos Chantziaras  wrote:
> You cannot install the package provided by vmware.com.  You have to use the
> Gentoo ebuild.  With layman, add the "vmware" overlay and install
> vmware-workstation from there.  Before you do that, make sure you cleaned
> your system from everything installed by the official vmware package.

Okay , thank you very much , I'll try it soon

-- 
@ghosTM55
Mechanism, not policy



Re: [gentoo-user] Fire the fox.

2010-09-20 Thread Kevin O'Gorman
On Mon, Sep 20, 2010 at 3:23 PM, Beau Henderson wrote:

>  I had this same problem and decided I had bad RAM. Before I could order
> any, I rebuild my system and it happens that I did so with an image that had
> GCC 4.3* rather than 4.4. Funny enough, firefox worked just fine. I did some
> searching and apparently nspr has issues with a certain function enabled in
> -O2 @ gcc 4.4.
>
> From the following: https://bugzilla.redhat.com/show_bug.cgi?id=487844
>
> Apparently if you rebuild nspr @ gcc 4.4 with -O2 -fno-strict-aliasing
>
> I haven't confirmed this, as I haven't had time to jump back to 4.4 but if
> someone can confirm this fixes the issue, I'd certainly be greatful!
>

I'm still at 4.3.4, and having these problems.  I wouldn't be holding my
breath for a silver bullet.  I'm writing this on chormium, having just given
up on Opera for being slow as FF.  Sigh.


-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] Fire the fox.

2010-09-20 Thread Beau Henderson

On 09/21/10 12:41, Kevin O'Gorman wrote:

On Mon, Sep 20, 2010 at 3:23 PM, Beau Henderson mailto:b...@thehenderson.com>> wrote:

I had this same problem and decided I had bad RAM. Before I could order 
any, I rebuild my system
and it happens that I did so with an image that had GCC 4.3* rather than 
4.4. Funny enough,
firefox worked just fine. I did some searching and apparently nspr has 
issues with a certain
function enabled in -O2 @ gcc 4.4.

 From the following: https://bugzilla.redhat.com/show_bug.cgi?id=487844

Apparently if you rebuild nspr @ gcc 4.4 with -O2 -fno-strict-aliasing

I haven't confirmed this, as I haven't had time to jump back to 4.4 but if 
someone can confirm
this fixes the issue, I'd certainly be greatful!


I'm still at 4.3.4, and having these problems.  I wouldn't be holding my breath 
for a silver bullet.
  I'm writing this on chormium, having just given up on Opera for being slow as 
FF.  Sigh.


--
Kevin O'Gorman, PhD



Are you compiling nspr with -O3 by any chance ? The flag that is responsible was apparently moved 
from -O3 in gcc 4.3* to -O2 in 4.4*.


Are you getting the seg fault when you strace firefox ?

--
Beau Henderson



Re: [gentoo-user] Fire the fox.

2010-09-20 Thread András Csányi
On 21 September 2010 00:23, Beau Henderson  wrote:
> On 09/19/10 20:02, András Csányi wrote:
>>
>> On 19 September 2010 10:09, Alan McKinnon  wrote:
>>>
>>> Apparently, though unproven, at 00:28 on Sunday 19 September 2010, András
>>> Csányi did opine thusly:
>>>
 On 19 September 2010 00:14, Kevin O'Gorman  wrote:
>
> Is it just me?  Or does Firefox get slower every release?  And less
> stable.
>
> I got myself up to the latest, and I cannot install my 4 add-ons
> (xmarks,
> AdBlockPlus, Noscript, Stumble-upon) without it crashing.  Seg fault
> sometimes.  I've got ECC memory, and no reported problems, and it does
> not help to clear the profiles (rename ~/.mozilla)  and re-emerge.
> Grr.

 Use Chrome/Chromium. At my gentoo the fox won't even start. I don't
 know why, I won't to know why... I'm tired about Firefox. :S
>>>
>>>
>>> If you run Firefox from a terminal, do you get an error about xpcom?
>>>
>>> If so, you need revdep-rebuild and possibly re-merge nss.
>>> It's all in the build elogs.
>>
>> Hi Alan,
>>
>> I have tried to start from terminal, but no message. I have tried to
>> run after revdep-rebuild but nothing. I have installed binary version
>> but the result was the same.
>> After these I have tried strace and if I remenber correctly it stopped
>> with segmentation fault. Unfortunately I can't reproduce this problem
>> because few days ago I changed my system from 32 bit to 64 bit. Here
>> everything is working fine according firefox.
>>
>> I know I should have report it but, that time, I was really tired
>> emotionally. :(
>>
>
> I had this same problem and decided I had bad RAM. Before I could order any,
> I rebuild my system and it happens that I did so with an image that had GCC
> 4.3* rather than 4.4. Funny enough, firefox worked just fine. I did some
> searching and apparently nspr has issues with a certain function enabled in
> -O2 @ gcc 4.4.
>
> From the following: https://bugzilla.redhat.com/show_bug.cgi?id=487844
>
> Apparently if you rebuild nspr @ gcc 4.4 with -O2 -fno-strict-aliasing
>
> I haven't confirmed this, as I haven't had time to jump back to 4.4 but if
> someone can confirm this fixes the issue, I'd certainly be greatful!

Hmmm... My former system was compiled with -O3 and gcc version was the
highest because I always use unstable system.

-- 
- -
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  ""Trust in God and keep your gunpowder dry!" - Cromwell



Re: [gentoo-user] Booting Gentoo from USB stick

2010-09-20 Thread Jake Moe
 On 16/09/10 21:30, J. Roeleveld wrote:
> On Thursday 16 September 2010 12:01:43 Jake Moe wrote:
>>  On 09/16/10 16:22, J. Roeleveld wrote:
>>> On Thursday 16 September 2010 00:34:39 Jake Moe wrote:
  On 16/09/10 08:26, Dale wrote:
> Jake Moe wrote:
>> Thanks for that, I'll rebuild the genkernel with blkid support.
>>
>> As to the second suggestion, there is *no* /dev/sda1 (the partition in
>> question).  It just doesn't exist for some reason.  However, fstab
>> shows that it's mounted, and /sys/block has entries for the disk, so
>> I'm not sure why it's dropped out.  I'm guessing it has something to
>> do with udevd, or uevents?  Because shortly before that, I tell it to
>> find the root partition at /dev/sda1, and it starts to boot, but then
>> it loses it.
>>
>> Jake Moe
> The file fstab doesn't show what is mounted.  Either use the command
> "mount" with no options or cat /etc/mtab to see what is actually
> mounted.
>
> Dale
>
> :-)  :-)
 Gah, it's too early.  That's what I meant to say (and previously said in
 my original post): when I run "mount", it shows /dev/sda1 is mounted on
 /.

 Jake Moe
>>> I wonder if it looses the "/dev" tree when it mounts the root-partition
>>> read only prior to running the fsck.
>>> That could explain why it's not there.
>>>
>>> Try building a dummy /dev-tree on your root partition with the correct
>>> device- nodes hardcoded for /dev/sdxx and see how far you get then?
>>>
>>> --
>>> Joost
>> Erm, you've gone a bit beyond my knowledge there.  Are you saying I
>> should go into the maintenance console, create a dummy /devdir, and try
>> to mknod the hard drive?  I assume I'd use something like 'mknod
>> /dev/sda c 8 0'?  If not, what do you mean, cause you've lost me.
>>
>> Jake Moe
> Ok, what I mean is that I think the following might happen:
>
> 1) root-dir from ramdisk is mounted under /
> 2) dev-tree is mounted under /dev
> 3) /dev/sda1 is mounted under /
> 4) at this point, /dev might no longer be accessible.
>
> Now, if you make sure that on the USB-root (/dev/sda1) the folder /dev is 
> actually populated, then it might continue through the boot-process.
>
> Or, as you mentioned, issue "mknod ..."  commands while in that 
> maintenance console, then it might be able to find the /dev/sda, 
> /dev/sda1,... 
> devices and continue.
>
> Please bear in mind, I have not actually used nor needed a ramdisk to boot 
> from ever since I started using Gentoo.
> Not even when I played with booting from USB-sticks myself.
> I simply build the kernel with all the necessary drivers compiled-in and used 
> that to boot from.
>
> This might also be an idea for you?
>
> --
> Joost
>
> Eg. if you do the mknod-commands to build the /dev/sda, /dev/sda1, device 
> nodes, then it should be able to continue.
>
Well, I've finally gotten this to work with a manually config'ed
kernel.  Before, I was only getting kernel panics.  Now, after your
comment "all compiled-in", I took the old config I tried, did a sed to
change all "=m" to "=y", and recompiled, and it worked.  So obviously,
there was some option that I wasn't building into the kernel (only as a
module) that was needed to start from USB.

I had previously started from a working config I had previously used for
the same model PC that I was doing my testing on, and just changed the
USB drivers from modules to built-in, but apparently that's not enough. 
Any ideas what else is needed for a USB-stick boot that's not needed in
a SATA boot?  I'd like to a) find out what I missed, and b) be able to
cull the kernel back down again, so I can build up lots of SATA,
graphics and audio modules to make this able to boot (and work properly)
on other systems.

Jake Moe



Re: [gentoo-user] Re: VMware Workstation 7.1.1 installation failed on gentoo

2010-09-20 Thread Adam Carter
Im using the vmware installer on gentoo sucessfully. Seems that 7.1.1
on 2.6.34 is a bit smoother on the install than .35 but it still
works.

Iirc you just need to set init script stuff


>
> You cannot install the package provided by vmware.com.  You have to use the 
> Gentoo ebuild.  With layman, add the "vmware" overlay and install 
> vmware-workstation from there.  Before you do that, make sure you cleaned 
> your system from everything installed by the official vmware package.
>
>



[gentoo-user] Re: Fire the fox.

2010-09-20 Thread Lie Ryan
On 09/19/10 18:08, Alan McKinnon wrote:
>> Firefox 4 indeed is smoother (probably due to the new animations,
>> probably because none of the plugins I used are compatible yet, but
>> maybe it is just faster); but it is definitely more memory hungrier than
>> before. In Fx3, it usually took around ~20-25% of my 1GB RAM and that's
>> with opening a bunch lot of pages; Fx4 generally takes around ~25-30%.
>>
>> While taking 30% of my RAM is fine when I'm not multitasking, the main
>> problem is I am always multitasking. With Thunderbird taking another
>> 15-20%, emerge ranging from 5-30%, and X about 5-10%, my computer is
>> becoming unbearably slow when memory starved.
>>
>> I've been thinking about adding -Os (optimize-size) to my CFLAGS, does
>> anyone knows if doing that will possibly bring down memory usage and
>> speed up the computer?
> 
> No it will not.
> 
> It's the size of the binary code image that is reduced, you may find that the 
> firefox *code* in memory is smaller too. But it will do nothing for the data 
> structures firefox creates to do it's job.

Makes sense, I just realized how stupid a thought it was...






[gentoo-user] Re: Fire the fox.

2010-09-20 Thread Lie Ryan
On 09/19/10 19:04, Dale wrote:
> Alan McKinnon wrote:
>> Apparently, though unproven, at 07:45 on Sunday 19 September 2010, Lie
>> Ryan
>> did opine thusly:
>>
>>   
>>> On 09/19/10 09:22, Hilco Wijbenga wrote:
>>> 
 On 18 September 2010 15:14, Kevin O'Gorman  wrote:
   
> Is it just me?  Or does Firefox get slower every release?  And less
> stable.
>  
 Indeed. But FF4 is *much* faster. And much more stable. At least, that
 was my experience when I tried it out. I had to go back to 3.6 because
 some of the plugins that I need were not yet supported for FF4. At
 least the later 3.6 releases aren't as unstable as the previous ones.

>>> Firefox 4 indeed is smoother (probably due to the new animations,
>>> probably because none of the plugins I used are compatible yet, but
>>> maybe it is just faster); but it is definitely more memory hungrier than
>>> before. In Fx3, it usually took around ~20-25% of my 1GB RAM and that's
>>> with opening a bunch lot of pages; Fx4 generally takes around ~25-30%.
>>>
>>> While taking 30% of my RAM is fine when I'm not multitasking, the main
>>> problem is I am always multitasking. With Thunderbird taking another
>>> 15-20%, emerge ranging from 5-30%, and X about 5-10%, my computer is
>>> becoming unbearably slow when memory starved.
>>>
>>> I've been thinking about adding -Os (optimize-size) to my CFLAGS, does
>>> anyone knows if doing that will possibly bring down memory usage and
>>> speed up the computer?
>>>  
>> No it will not.
>>
>> It's the size of the binary code image that is reduced, you may find
>> that the
>> firefox *code* in memory is smaller too. But it will do nothing for
>> the data
>> structures firefox creates to do it's job.
>>
>> Think of it this way:
>>
>> You have a MySQL instance taking up say 20MB in memory. You use it to
>> access a
>> 500G database so it uses a whopping amount of memory for the indexes. You
>> somehow optimize MySQL so that the code is now 19MB. What effect does
>> that
>> have on the 500G database? Answer: none whatsoever.
>>
>> And you conclusions about memory usage are wrong too. When free says
>> you have
>> 1G or RAM (this is true) and top says Thunderbird uses 150M and
>> Firefox 180M,
>> together they do not use 330M. Much of that memory is shared.
>>
>> top tells you "amount of memory that this process can access"
>> top does not tell you "amount of memory that this process owns and that
>> nothing else can access"
>>
>>
> 
> Yep.  I use Seamonkey which is browser and email all in one.  It doesn't
> use much when I first start it up.  The amount it accumulates as time
> goes on depends on the websites I go to.  If I go to sites that have a
> lot of flash, pictures and gifs, then it starts to using a lot more
> memory.  If I go to say the gentoo forums which is mostly text, it
> doesn't change much.

When I'm doing emerge or other things, I usually switches to Epiphany,
dillo, or links; depending on how unbearable things becomes.

> Just like the example Alan gave, it's not the program itself that is
> using the memory, it's what you are doing with it that uses memory.  I
> have found that the weather radar site and youtube are the biggest
> memory hogs.  

I'm opening mostly standard HTML pages (gmail, static pages, etc) and
the memory usage is still quite bad.

> This is my Seamonkey with email also open and I have only visited a
> couple forums sites:
> 
>  7493 dale  20   0  253m 133m  28m S  0.7  6.6   1:59.65 seamonkey-bin

Incidentally, I've found that browsing using Thunderbrowse extension in
Thunderbird is much more memory friendly than using Firefox itself
(Thunderbird still uses around 15-20% memory, compared to 20-30% that
Firefox uses). If only Thunderbrowse's interface is not so buggy...