Re: [gentoo-user] Re: Bug in spidermonkey?

2013-02-08 Thread Elias Diem
Hi Walt

On 2013-02-07,  walt wrote:

> Any time perl is involved in a bug I suggest running 'perl-cleaner'.  May not
> help, but it couldn't hurt :)

Unfortunately it didn't help...

-- 
Greetings
Elias





Re: [gentoo-user] Bug in spidermonkey?

2013-02-08 Thread Elias Diem
On 2013-02-07,  Nilesh Govindrajan wrote:

> Seems like one. Try compiling an older version?

Actually I can compile version 1.7.0

But: When I want to update world, it needs (I think) version 
1.8.5-r1

-- 
Greetings
Elias





Re: [gentoo-user] Bug in spidermonkey?

2013-02-08 Thread Nilesh Govindrajan
On Friday 08 February 2013 07:46:16 PM IST, Elias Diem wrote:
> On 2013-02-07,  Nilesh Govindrajan wrote:
>
>> Seems like one. Try compiling an older version?
>
> Actually I can compile version 1.7.0
>
> But: When I want to update world, it needs (I think) version
> 1.8.5-r1
>

Try adding =dev-lang/spidermonkey-1.8.5-r1 in package.mask.
If it works, good, else skip the update of spidermonkey and any 
dependent packages (I believe there are not many applications which 
depend on this).

--
Nilesh Govindarajan
http://nileshgr.com



Re: [gentoo-user] udev-191 bit me. Insufficient ptys

2013-02-08 Thread Paul Hartman
On Thu, Feb 7, 2013 at 3:37 PM, Tanstaafl  wrote:
> On 2013-02-07 4:25 PM, Paul Hartman  wrote:
>>
>> On Thu, Feb 7, 2013 at 2:53 PM, Tanstaafl 
>> wrote:
>>>
>>> I think that a lot of people will misread that like I (we) did...
>
>
>> I believe he is correct and /dev/shm is irrelevant for this discussion.
>
>
> Ok, thanks, but... and no offense...
>
> I am not willing to gamble on breaking a remotely accessed server based on
> someone's 'I believe that this is correct' comment.


No offense at all, it's your system and you make the call. My story
was anecdotal, not authoritative. :)



[gentoo-user] KDE 4.10 and plasma crashing

2013-02-08 Thread Dale
Howdy,

Well, KDE 4.10 has hit the tree.  I added it and all its friends to the
keyword file and off it went updating.  When I logged out and back in
again, I get a error that plasma has crashed.  There is no wallpaper
like there used to be, no kicker/panel thingy at the bottom or
anything.  Basically, it looks a lot like icewm or something or maybe
even less. 

Has anyone else upgraded and ran into this?  I'm doing a emerge -e world
now, just for giggles, but will go back if that doesn't fix it.  The
only package that failed to compile was kphoto or something.  Shouldn't
matter on this I guess. 

Thanks.

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] KDE 4.10 and plasma crashing

2013-02-08 Thread Nilesh Govindrajan
On Fri, Feb 8, 2013 at 11:34 PM, Dale  wrote:
> Howdy,
>
> Well, KDE 4.10 has hit the tree.  I added it and all its friends to the
> keyword file and off it went updating.  When I logged out and back in
> again, I get a error that plasma has crashed.  There is no wallpaper
> like there used to be, no kicker/panel thingy at the bottom or
> anything.  Basically, it looks a lot like icewm or something or maybe
> even less.
>
> Has anyone else upgraded and ran into this?  I'm doing a emerge -e world
> now, just for giggles, but will go back if that doesn't fix it.  The
> only package that failed to compile was kphoto or something.  Shouldn't
> matter on this I guess.
>
> Thanks.
>
> Dale
>
> :-)  :-)
>
> --
> I am only responsible for what I said ... Not for what you understood or how 
> you interpreted my words!
>
>

Sounds like a segfault. Saw dmesg?

-- 
Nilesh Govindrajan
http://nileshgr.com



Re: [gentoo-user] KDE 4.10 and plasma crashing

2013-02-08 Thread Dale
Nilesh Govindrajan wrote:
> On Fri, Feb 8, 2013 at 11:34 PM, Dale  wrote:
>> Howdy,
>>
>> Well, KDE 4.10 has hit the tree.  I added it and all its friends to the
>> keyword file and off it went updating.  When I logged out and back in
>> again, I get a error that plasma has crashed.  There is no wallpaper
>> like there used to be, no kicker/panel thingy at the bottom or
>> anything.  Basically, it looks a lot like icewm or something or maybe
>> even less.
>>
>> Has anyone else upgraded and ran into this?  I'm doing a emerge -e world
>> now, just for giggles, but will go back if that doesn't fix it.  The
>> only package that failed to compile was kphoto or something.  Shouldn't
>> matter on this I guess.
>>
>> Thanks.
>>
>> Dale
>>
>> :-)  :-)
>>
>> --
>> I am only responsible for what I said ... Not for what you understood or how 
>> you interpreted my words!
>>
>>
> Sounds like a segfault. Saw dmesg?
>

Now that you mention it, I found this line at the tail end of dmesg:

[12006045.183173] plasma-desktop[12552]: segfault at 0 ip
7f2033f3279c sp 7fff1d43be10 error 4 in
libQtDeclarative.so.4.8.4[7f2033d75000+3a2000]

I think I see the problem.  I bet KDE 4.10 needs a newer qt set.  Going
to check on that now. 

Thanks.

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] KDE 4.10 and plasma crashing

2013-02-08 Thread Nilesh Govindrajan
On Sat, Feb 9, 2013 at 12:25 AM, Dale  wrote:
> Nilesh Govindrajan wrote:
>> On Fri, Feb 8, 2013 at 11:34 PM, Dale  wrote:
>>> Howdy,
>>>
>>> Well, KDE 4.10 has hit the tree.  I added it and all its friends to the
>>> keyword file and off it went updating.  When I logged out and back in
>>> again, I get a error that plasma has crashed.  There is no wallpaper
>>> like there used to be, no kicker/panel thingy at the bottom or
>>> anything.  Basically, it looks a lot like icewm or something or maybe
>>> even less.
>>>
>>> Has anyone else upgraded and ran into this?  I'm doing a emerge -e world
>>> now, just for giggles, but will go back if that doesn't fix it.  The
>>> only package that failed to compile was kphoto or something.  Shouldn't
>>> matter on this I guess.
>>>
>>> Thanks.
>>>
>>> Dale
>>>
>>> :-)  :-)
>>>
>>> --
>>> I am only responsible for what I said ... Not for what you understood or 
>>> how you interpreted my words!
>>>
>>>
>> Sounds like a segfault. Saw dmesg?
>>
>
> Now that you mention it, I found this line at the tail end of dmesg:
>
> [12006045.183173] plasma-desktop[12552]: segfault at 0 ip
> 7f2033f3279c sp 7fff1d43be10 error 4 in
> libQtDeclarative.so.4.8.4[7f2033d75000+3a2000]
>
> I think I see the problem.  I bet KDE 4.10 needs a newer qt set.  Going
> to check on that now.
>
> Thanks.
>
> Dale
>
> :-)  :-)
>
> --
> I am only responsible for what I said ... Not for what you understood or how 
> you interpreted my words!
>
>

Make sure that you're not using any variant of -O3. It messes up
things like crazy :D

-- 
Nilesh Govindrajan
http://nileshgr.com



Re: [gentoo-user] KDE 4.10 and plasma crashing

2013-02-08 Thread Yohan Pereira
On 08/02/13 at 12:04pm, Dale wrote:
> Howdy,
> 
> Well, KDE 4.10 has hit the tree.  I added it and all its friends to the
> keyword file and off it went updating.  When I logged out and back in
> again, I get a error that plasma has crashed.  There is no wallpaper
> like there used to be, no kicker/panel thingy at the bottom or
> anything.  Basically, it looks a lot like icewm or something or maybe
> even less. 
> 
> Has anyone else upgraded and ran into this?  I'm doing a emerge -e world
> now, just for giggles, but will go back if that doesn't fix it.  The
> only package that failed to compile was kphoto or something.  Shouldn't
> matter on this I guess. 

I updated earlier today everything seems fine. I didnt keyword anything
though so maybe trying syncing and updating again, something probably
got patched.
 

-- 

- Yohan Pereira

The difference between a Miracle and a Fact is exactly the difference
between a mermaid and a seal.
-- Mark Twain



Re: [gentoo-user] KDE 4.10 and plasma crashing

2013-02-08 Thread Dale
Nilesh Govindrajan wrote:
> On Sat, Feb 9, 2013 at 12:25 AM, Dale  wrote:
>> Nilesh Govindrajan wrote:
>>> On Fri, Feb 8, 2013 at 11:34 PM, Dale  wrote:
 Howdy,

 Well, KDE 4.10 has hit the tree.  I added it and all its friends to the
 keyword file and off it went updating.  When I logged out and back in
 again, I get a error that plasma has crashed.  There is no wallpaper
 like there used to be, no kicker/panel thingy at the bottom or
 anything.  Basically, it looks a lot like icewm or something or maybe
 even less.

 Has anyone else upgraded and ran into this?  I'm doing a emerge -e world
 now, just for giggles, but will go back if that doesn't fix it.  The
 only package that failed to compile was kphoto or something.  Shouldn't
 matter on this I guess.

 Thanks.

 Dale

 :-)  :-)

 --
 I am only responsible for what I said ... Not for what you understood or 
 how you interpreted my words!


>>> Sounds like a segfault. Saw dmesg?
>>>
>> Now that you mention it, I found this line at the tail end of dmesg:
>>
>> [12006045.183173] plasma-desktop[12552]: segfault at 0 ip
>> 7f2033f3279c sp 7fff1d43be10 error 4 in
>> libQtDeclarative.so.4.8.4[7f2033d75000+3a2000]
>>
>> I think I see the problem.  I bet KDE 4.10 needs a newer qt set.  Going
>> to check on that now.
>>
>> Thanks.
>>
>> Dale
>>
>> :-)  :-)
>>
>> --
>> I am only responsible for what I said ... Not for what you understood or how 
>> you interpreted my words!
>>
>>
> Make sure that you're not using any variant of -O3. It messes up
> things like crazy :D
>

Well, there was only one newer package with a -r1 on the end, qt-core. 
I upgraded it and no change.  As for my flags, I have the same flags I
have had since I built this rig. 

CFLAGS="-march=native -O2 -pipe"

I want stability more than speed so I keep it real.  No need trying
something silly and having problems. 

Well, when emerge -e world finishes and it still doesn't work, I'll go
back to KDE 4.9.* for a bit to see if it gets fixed. 

Open to ideas tho.  If anyone has one.  It's not like I have a really
nice simple error message to help things along.  :/ 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




[gentoo-user] multiple installs

2013-02-08 Thread James
Hello,

I have quit a few amd64 systems to install, hopefully
mostly unattended. I'm looking for a way to install quick and simple
workstations running kde. All will have (boot, root and swap partitions only).
They can be updated to current, individually. later.

http://en.gentoo-wiki.com/wiki/Install_LiveDVD_11.2_to_hard_disk_drive

So the best guide I have found is this one for the
livedvd 11.2.  Any modifications for the
livedvd-amd64-multilib-20121221.iso version?

Grub-2, udev, and some other changes may make following
this 11.2 guide, problematic?

I wanted to do these installs with ZFS and this is the
best guide?

http://wiki.gentoo.org/wiki/ZFS
 
I suspect there is way to dd an image right to a 
(pre-formatted) hard drive just like you would a flash drive?


suggestions and comments are welcome.






Re: [gentoo-user] KDE 4.10 and plasma crashing

2013-02-08 Thread Mike Gilbert
On Fri, Feb 8, 2013 at 2:39 PM, Dale  wrote:
> Nilesh Govindrajan wrote:
>> On Sat, Feb 9, 2013 at 12:25 AM, Dale  wrote:
>>> Nilesh Govindrajan wrote:
 On Fri, Feb 8, 2013 at 11:34 PM, Dale  wrote:
> Howdy,
>
> Well, KDE 4.10 has hit the tree.  I added it and all its friends to the
> keyword file and off it went updating.  When I logged out and back in
> again, I get a error that plasma has crashed.  There is no wallpaper
> like there used to be, no kicker/panel thingy at the bottom or
> anything.  Basically, it looks a lot like icewm or something or maybe
> even less.
>
> Has anyone else upgraded and ran into this?  I'm doing a emerge -e world
> now, just for giggles, but will go back if that doesn't fix it.  The
> only package that failed to compile was kphoto or something.  Shouldn't
> matter on this I guess.
>
> Thanks.
>
> Dale
>
> :-)  :-)
>
> --
> I am only responsible for what I said ... Not for what you understood or 
> how you interpreted my words!
>
>
 Sounds like a segfault. Saw dmesg?

>>> Now that you mention it, I found this line at the tail end of dmesg:
>>>
>>> [12006045.183173] plasma-desktop[12552]: segfault at 0 ip
>>> 7f2033f3279c sp 7fff1d43be10 error 4 in
>>> libQtDeclarative.so.4.8.4[7f2033d75000+3a2000]
>>>
>>> I think I see the problem.  I bet KDE 4.10 needs a newer qt set.  Going
>>> to check on that now.
>>>
>>> Thanks.
>>>
>>> Dale
>>>
>>> :-)  :-)
>>>
>>> --
>>> I am only responsible for what I said ... Not for what you understood or 
>>> how you interpreted my words!
>>>
>>>
>> Make sure that you're not using any variant of -O3. It messes up
>> things like crazy :D
>>
>
> Well, there was only one newer package with a -r1 on the end, qt-core.
> I upgraded it and no change.  As for my flags, I have the same flags I
> have had since I built this rig.
>
> CFLAGS="-march=native -O2 -pipe"
>
> I want stability more than speed so I keep it real.  No need trying
> something silly and having problems.
>
> Well, when emerge -e world finishes and it still doesn't work, I'll go
> back to KDE 4.9.* for a bit to see if it gets fixed.
>
> Open to ideas tho.  If anyone has one.  It's not like I have a really
> nice simple error message to help things along.  :/
>

I had the same issue after upgrading, and was directed to bug 450818
in #gentoo-kde.

I ended up downgrading to 4.9.5 again.



Re: [gentoo-user] udev-191 bit me. Insufficient ptys

2013-02-08 Thread Peter Humphrey
On Thursday 07 February 2013 21:37:27 Tanstaafl wrote:
> On 2013-02-07 4:25 PM, Paul Hartman  wrote:
> > On Thu, Feb 7, 2013 at 2:53 PM, Tanstaafl  
wrote:
> >> I think that a lot of people will misread that like I (we) did...
> > 
> > I believe he is correct and /dev/shm is irrelevant for this discussion.
> 
> Ok, thanks, but... and no offense...
> 
> I am not willing to gamble on breaking a remotely accessed server based
> on someone's 'I believe that this is correct' comment.

If you go ahead with your proposed change against the advice you've been 
offered, you WILL break it.

-- 
Peter



Re: [gentoo-user] KDE 4.10 and plasma crashing

2013-02-08 Thread Dale
Yohan Pereira wrote:
> On 08/02/13 at 12:04pm, Dale wrote:
>> Howdy,
>>
>> Well, KDE 4.10 has hit the tree.  I added it and all its friends to the
>> keyword file and off it went updating.  When I logged out and back in
>> again, I get a error that plasma has crashed.  There is no wallpaper
>> like there used to be, no kicker/panel thingy at the bottom or
>> anything.  Basically, it looks a lot like icewm or something or maybe
>> even less. 
>>
>> Has anyone else upgraded and ran into this?  I'm doing a emerge -e world
>> now, just for giggles, but will go back if that doesn't fix it.  The
>> only package that failed to compile was kphoto or something.  Shouldn't
>> matter on this I guess. 
> I updated earlier today everything seems fine. I didnt keyword anything
> though so maybe trying syncing and updating again, something probably
> got patched.
>  
>

Mike posted a bug number.  I guess it doesn't hit everyone but it did
me.  Is anyone that knows me surprised that this bug hit me?  :-) 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] {OT} LWP::UserAgent slows website

2013-02-08 Thread Grant
> A little more infromation would help. like what webserver, what kind of
> requests, etc
>
> -Kevin

It's apache and the requests/responses are XML.  I know this is
pathetically little information with which to diagnose the problem.
I'm just wondering if there is a tool or method that's good to
diagnose things of this nature.

- Grant


>> I have a script that makes 6 successive HTTP requests via
>> LWP::UserAgent.  It runs fine and takes only about 3 seconds, but
>> whenever it is run I start receiving alerts that my website is
>> responding slowly to requests.  This lasts for up to around 10
>> minutes.  I've tried turning the timeout down to 3 seconds and I've
>> tried LWPx::ParanoidAgent but the behavior is the same.
>>
>> Can anyone tell me how to go about tracking this down?
>>
>> - Grant
>>
>
>



Re: [gentoo-user] KDE 4.10 and plasma crashing

2013-02-08 Thread Neil Bothwick
On Fri, 08 Feb 2013 14:39:51 -0600, Dale wrote:

> Mike posted a bug number.  I guess it doesn't hit everyone but it did
> me.  Is anyone that knows me surprised that this bug hit me?  :-) 

If affected my laptop but not my desktop. Re-emerging qt-core with
-Os in CFLAGS instead of -O2 "fixes" it.


-- 
Neil Bothwick

WinErr 001: Windows loaded - System in danger


signature.asc
Description: PGP signature


Re: [gentoo-user] KDE 4.10 and plasma crashing

2013-02-08 Thread Dale
Neil Bothwick wrote:
> On Fri, 08 Feb 2013 14:39:51 -0600, Dale wrote:
>
>> Mike posted a bug number. I guess it doesn't hit everyone but it did
>> me. Is anyone that knows me surprised that this bug hit me? :-)
>
> If affected my laptop but not my desktop. Re-emerging qt-core with
> -Os in CFLAGS instead of -O2 "fixes" it.
>
>

I think I am going to go back to KDE 4.9 for now.  They are working on
it.  It appears that gcc is the real problem tho.  So, I may just
upgrade it and see what it breaks.  lol  Come to think of it, I may
already have a newer one installed.  Its been a while since I switched
gcc versions.  Hmmm, going to test this.  ;-)

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!



Re: [gentoo-user] KDE 4.10 and plasma crashing

2013-02-08 Thread Dale
Dale wrote:
> Neil Bothwick wrote:
> > On Fri, 08 Feb 2013 14:39:51 -0600, Dale wrote:
> >
> >> Mike posted a bug number. I guess it doesn't hit everyone but it did
> >> me. Is anyone that knows me surprised that this bug hit me? :-)
> >
> > If affected my laptop but not my desktop. Re-emerging qt-core with
> > -Os in CFLAGS instead of -O2 "fixes" it.
> >
> >
>
> I think I am going to go back to KDE 4.9 for now.  They are working on
> it.  It appears that gcc is the real problem tho.  So, I may just
> upgrade it and see what it breaks.  lol  Come to think of it, I may
> already have a newer one installed.  Its been a while since I switched
> gcc versions.  Hmmm, going to test this.  ;-)
>
> Dale
>
> :-)  :-)
>
> -- 
> I am only responsible for what I said ... Not for what you understood
> or how you interpreted my words!
>

Well, switched to a newer gcc, same thing.  Going back to KDE 4.9 for a
bit.  They will have it fixed in a couple days.  After all, Linux has
some of the smartest programmers there is.  I'm not sure of some users
tho, myself included.  ;-) 

There was a update to the bug.  They seem to have moved away from it
being gcc.  Anyway, they working on it. 

Thanks ALL. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!



Re: [gentoo-user] KDE 4.10 and plasma crashing

2013-02-08 Thread Neil Bothwick
On Fri, 08 Feb 2013 16:45:13 -0600, Dale wrote:

> Well, switched to a newer gcc, same thing.  Going back to KDE 4.9 for a
> bit.  They will have it fixed in a couple days.  After all, Linux has
> some of the smartest programmers there is.  I'm not sure of some users
> tho, myself included.  ;-) 

Changing CFLAGS and rebuilding one package is a lot less work that a
complete downgrade.


-- 
Neil Bothwick

He who laughs last thinks slowest!


signature.asc
Description: PGP signature


Re: [gentoo-user] KDE 4.10 and plasma crashing

2013-02-08 Thread Frank Steinmetzger
Am 08.02.2013 23:54, schrieb Neil Bothwick:
> On Fri, 08 Feb 2013 16:45:13 -0600, Dale wrote:
> 
>> Well, switched to a newer gcc, same thing.  Going back to KDE 4.9 for a
>> bit.  They will have it fixed in a couple days.  After all, Linux has
>> some of the smartest programmers there is.  I'm not sure of some users
>> tho, myself included.  ;-) 
> 
> Changing CFLAGS and rebuilding one package is a lot less work that a
> complete downgrade.

Only if you don't have a backup (which I did before upgrading, but I can't be
bothered with redoing the upgrade in only a few days, so I'll sit it out with
Awesome in the meantime). Thankfully, my netbook, which needs very many an hour
to build KDE, runs x86 and isn't affected.
-- 
Gruß | Greetings | Qapla'
A neutron walks into a bar: "How much is a drink?" - "For you, no charge."



Re: [gentoo-user] KDE 4.10 and plasma crashing

2013-02-08 Thread Dale
Frank Steinmetzger wrote:
> Am 08.02.2013 23:54, schrieb Neil Bothwick:
>> On Fri, 08 Feb 2013 16:45:13 -0600, Dale wrote:
>>
>>> Well, switched to a newer gcc, same thing.  Going back to KDE 4.9 for a
>>> bit.  They will have it fixed in a couple days.  After all, Linux has
>>> some of the smartest programmers there is.  I'm not sure of some users
>>> tho, myself included.  ;-) 
>> Changing CFLAGS and rebuilding one package is a lot less work that a
>> complete downgrade.
> Only if you don't have a backup (which I did before upgrading, but I can't be
> bothered with redoing the upgrade in only a few days, so I'll sit it out with
> Awesome in the meantime). Thankfully, my netbook, which needs very many an 
> hour
> to build KDE, runs x86 and isn't affected.

Yep.  I rm'd the kde.keyword file and did a emerge -kuv world and down
went KDE.  Took about 5 or 10 minutes.  I cooked and ate supper while
the drive light blinked.  

Back to normal now. 

Thanks again.

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




[gentoo-user] neon/davfs2/cadaver failing with openssl-1.0.1c

2013-02-08 Thread William Kenworthy
I have been using dev-libs/openssl-0.9.8x with neon/davfs2 to mount a
share from blackboard, but after upgrading to 1.01c it no longer works.
 Ive been rebuilding and cleaning up the libs but no luck so far.  The
problem is limited (as far as I can see) to neon and the autofallback to
tlsv1.0 failing (server will only do that version).

openssl-1.0.1c also installs libraries numbered like
/usr/lib/libssl.so.1.0.0 - its probably not related though one of two
failing systems did have a 1.0.0 version installed at one stage.

Has this been seen before?

BillK



Re: [gentoo-user] {OT} LWP::UserAgent slows website

2013-02-08 Thread Michael Mol
On Fri, Feb 8, 2013 at 5:10 PM, Grant  wrote:
>> A little more infromation would help. like what webserver, what kind of
>> requests, etc
>>
>> -Kevin
>
> It's apache and the requests/responses are XML.  I know this is
> pathetically little information with which to diagnose the problem.
> I'm just wondering if there is a tool or method that's good to
> diagnose things of this nature.

The problems are server-side, not necessarily client-side. Your
optimizations are going to need to be performed there.

-- 
:wq



[gentoo-user] Re: Bug in spidermonkey?

2013-02-08 Thread walt
On 02/08/2013 05:53 AM, Elias Diem wrote:
> Hi Walt
> 
> On 2013-02-07,  walt wrote:
> 
>> Any time perl is involved in a bug I suggest running 'perl-cleaner'.  May not
>> help, but it couldn't hurt :)
> 
> Unfortunately it didn't help...

I just built 1.8.5-r1 on my ~amd64 machine without errors, and I have 1.8.5-r4
already installed.  Can you unmask and compile r4 just as a test?

BTW, in your build log I see "waiting for unfinished jobs", so it would be worth
trying -j1 instead of -j4.  Your stable build tools are no doubt very different
from the versions I'm running on ~amd64.  Just another random thing to try in
a puzzling situation...




Re: [gentoo-user] multiple installs

2013-02-08 Thread Walter Dnes
On Fri, Feb 08, 2013 at 07:46:34PM +, James wrote

> I suspect there is way to dd an image right to a 
> (pre-formatted) hard drive just like you would a flash drive?

  Are the machines identical (cpu/gpu/peripherals)?  I.e. can you use
the same USE flags and kernel configs on them?  If so, running dd off a
master image could work.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



[gentoo-user] Which CPU type to select?

2013-02-08 Thread Walter Dnes
  I'm installing Gentoo on a brand new toy I just got myself.  Here are
the choices from "make menuconfig".  Is "Core 2/newer Xeon" correct?

 ( ) Opteron/Athlon64/Hammer/K8
 ( ) Intel P4 / older Netburst based Xeon
 (X) Core 2/newer Xeon
 ( ) Intel Atom
 ( ) Generic-x86-64

  Here's the listing for one of the cores from /proc/cpuinfo

processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 37
model name  : Intel(R) Core(TM) i7 CPU   M 620  @ 2.67GHz
stepping: 5
microcode   : 0x2
cpu MHz : 2667.000
cache size  : 4096 KB
physical id : 0
siblings: 4
core id : 0
cpu cores   : 2
apicid  : 0
initial apicid  : 0
fpu : yes
fpu_exception   : yes
cpuid level : 11
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl
xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx
smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt aes lahf_lm
ida arat dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips: 5320.06
clflush size: 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



[gentoo-user] Re: multiple installs

2013-02-08 Thread James
Walter Dnes  waltdnes.org> writes:


> > I suspect there is way to dd an image right to a 
> > (pre-formatted) hard drive just like you would a flash drive?

>   Are the machines identical (cpu/gpu/peripherals)?  I.e. can you use
> the same USE flags and kernel configs on them?  If so, running dd off a
> master image could work.


All are AMD64. 
3 are : AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
3 are : 8 core FX8350 (new machines)

All will have the same use flags/kernels/

The peripherals will only slightly be different
bands of DVD. All video cards are ATI, so it should work?

Or at least set up one from each of the 2 classes and dd to the
other 2 drives? I'm game for  this approach.


curiously,
James









Re: [gentoo-user] Re: multiple installs

2013-02-08 Thread Alecks Gates
On Sat, 2013-02-09 at 01:58 +, James wrote:
> Walter Dnes  waltdnes.org> writes:
> 
> 
> > > I suspect there is way to dd an image right to a 
> > > (pre-formatted) hard drive just like you would a flash drive?
> 
> >   Are the machines identical (cpu/gpu/peripherals)?  I.e. can you use
> > the same USE flags and kernel configs on them?  If so, running dd off a
> > master image could work.
> 
> 
> All are AMD64. 
> 3 are : AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
> 3 are : 8 core FX8350 (new machines)
> 
> All will have the same use flags/kernels/
> 
> The peripherals will only slightly be different
> bands of DVD. All video cards are ATI, so it should work?
> 
> Or at least set up one from each of the 2 classes and dd to the
> other 2 drives? I'm game for  this approach.
> 
> 
> curiously,
> James
You could install to one of the Athlons, then copy it to the other two
Athlons and one of the FX machines.  Then, reconfigure the FX install
for more CPUs and native -march, recompile world and copy it to the
other two FX machines.

At least, I think that would work :).

I don't believe the video cards will be an issue, especially if you
stick with the radeon driver.

-- 
Alecks Gates 




Re: [gentoo-user] KDE 4.10 and plasma crashing

2013-02-08 Thread Frank Steinmetzger
On Fri, Feb 08, 2013 at 04:23:55PM -0600, Dale wrote:
> Neil Bothwick wrote:
> > On Fri, 08 Feb 2013 14:39:51 -0600, Dale wrote:
> >
> >> Mike posted a bug number. I guess it doesn't hit everyone but it did
> >> me. Is anyone that knows me surprised that this bug hit me? :-)
> >
> > If affected my laptop but not my desktop. Re-emerging qt-core with
> > -Os in CFLAGS instead of -O2 "fixes" it.
> 
> I think I am going to go back to KDE 4.9 for now.  They are working on
> it.  It appears that gcc is the real problem tho.  So, I may just
> upgrade it and see what it breaks.  lol  Come to think of it, I may
> already have a newer one installed.  Its been a while since I switched
> gcc versions.  Hmmm, going to test this.  ;-)

I just went the least way of resistance and built qt-core with -Os. It solved
the problem for me, too¹. 

Even if my machine had the power to emerge -eD world, that doesn’t mean I
should do this all the time, just because it might solve a problem (with a big
MIGHT). Electricity isn’t as clean as in Captain Picard’s days just yet.  ;-)

¹ had -O2 as well, latest stable gcc 4.6.3
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

Bank -- an institution where you can borrow money
for the proof that you don’t need it.


signature.asc
Description: Digital signature


Re: [gentoo-user] {OT} LWP::UserAgent slows website

2013-02-08 Thread Grant
>>> A little more infromation would help. like what webserver, what kind of
>>> requests, etc
>>>
>>> -Kevin
>>
>> It's apache and the requests/responses are XML.  I know this is
>> pathetically little information with which to diagnose the problem.
>> I'm just wondering if there is a tool or method that's good to
>> diagnose things of this nature.
>
> The problems are server-side, not necessarily client-side. Your
> optimizations are going to need to be performed there.

Are you saying the problem may lie with the server to which I was
making the request?  The responses all come back successfully within a
few seconds.  Can you give me a really general description of the sort
of problem that could behave like this?

- Grant



Re: [gentoo-user] KDE 4.10 and plasma crashing

2013-02-08 Thread Dale
Frank Steinmetzger wrote:
> On Fri, Feb 08, 2013 at 04:23:55PM -0600, Dale wrote:
>> Neil Bothwick wrote:
>>> On Fri, 08 Feb 2013 14:39:51 -0600, Dale wrote:
>>>
 Mike posted a bug number. I guess it doesn't hit everyone but it did
 me. Is anyone that knows me surprised that this bug hit me? :-)
>>>
>>> If affected my laptop but not my desktop. Re-emerging qt-core with
>>> -Os in CFLAGS instead of -O2 "fixes" it.
>>
>> I think I am going to go back to KDE 4.9 for now. They are working on
>> it. It appears that gcc is the real problem tho. So, I may just
>> upgrade it and see what it breaks. lol Come to think of it, I may
>> already have a newer one installed. Its been a while since I switched
>> gcc versions. Hmmm, going to test this. ;-)
>
> I just went the least way of resistance and built qt-core with -Os. It
solved
> the problem for me, too¹.
>
> Even if my machine had the power to emerge -eD world, that doesn’t mean I
> should do this all the time, just because it might solve a problem
(with a big
> MIGHT). Electricity isn’t as clean as in Captain Picard’s days just
yet. ;-)
>
> ¹ had -O2 as well, latest stable gcc 4.6.3

Actually, according to the bug report, that may not fix it for
everyone.  So, there is a chance that may not work.  The thinking was it
was something to do with gcc.  Then someone posted that it wasn't gcc
but something else.  I just don't want to use something that I know has
issues and *could* cause problems I am not aware of.

My easy way to to remove the package.keyword file for KDE 4.10 and just
emerge -uvk world.  I keep binaries just for when this sort of things
happens.  It's been a good long while since this has happenend with a
KDE upgrade but I'm glad I had them.  5 to 10 minutes and I am back to a
working system.  The devs will have this fixed in the next couple days
if it is not fixed upstream already.

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!



Re: [gentoo-user] {OT} LWP::UserAgent slows website

2013-02-08 Thread Michael Mol
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/08/2013 09:39 PM, Grant wrote:
 A little more infromation would help. like what webserver,
 what kind of requests, etc
 
 -Kevin
>>> 
>>> It's apache and the requests/responses are XML.  I know this is
>>>  pathetically little information with which to diagnose the 
>>> problem. I'm just wondering if there is a tool or method
>>> that's good to diagnose things of this nature.
>> 
>> The problems are server-side, not necessarily client-side. Your 
>> optimizations are going to need to be performed there.
> 
> Are you saying the problem may lie with the server to which I was 
> making the request?

Yes.

> The responses all come back successfully within a few seconds.
> Can you give me a really general description of the sort of problem
> that could behave like this?

Your server is just a single computer, running multiple processes.
Each request from a user (be it you or someone else) requires a
certain amount of resources while it's executing. If there aren't
enough resources, some of the requests will have to wait until enough
others have finished in order for the resources to be freed up.

To really simplify things, let's say your server has a single CPU
core, the queries made against it only require CPU consumption, not
disk consumption, and the queries you're making require 3s of CPU time.

If you make a query, the server will spend 3s thinking before it spits
a result back to you. During this time, it can't think about anything
else...if it does, the server will take as much longer to respond to
you as it takes thinking about other things.

Let's say you make two queries at the same time. Each requires 3s of
CPU time, so you'll need a grand total of 6s to get all your results
back. That's fine, you're expecting this.

Now let's say you make a query, and someone else makes a query. Each
query takes 3s of CPU time. Since the server has 6s worth of work to
do, all the users will get their responses by the end of that 6s.
Depending on how a variety of factors come into play, user A might see
his query come back at the end of 3s, and user B might see his query
come back at the end of 6s. Or it might be reversed. Or both users
might not see their results until the end of that 6s. It's really not
very predictable.

The more queries you make, the more work you give the server. If the
server has to spend a few seconds' worth of resources, that's a few
seconds' worth of resources unavailable to other users. A few seconds
for a query against a web server is actually a huge amount of time...a
well-tuned application on a well-tuned webserver backed by a
well-tuned database should probably respond to the query in under
50ms! This is because there are often many, many users making queries,
and each user tends to make many queries at the same time.

There are several things you can do to improve the state of things.
The first and foremost is to add caching in front of the server, using
an accelerator proxy. (i.e. squid running in accelerator mode.) In
this way, you have a program which receives the user's request, checks
to see if it's a request that it already has a response for, checks
whether that response is still valid, and then checks to see whether
or not it's permitted to respond on the server's behalf...almost
entirely without bothering the main web server. This process is far,
far, far faster than having the request hit the serving application's
main code.

The second thing is to check the web server configuration itself. Does
it have enough spare request handlers available? Does it have too
many? If there's enough CPU and RAM left over to launch a few more
request handlers when the server is under heavy load, it might be a
good idea to allow it to do just that.

The third thing to do is to tune the database itself. MySQL in
particular ships with horrible default settings that typically limit
its performance to far below the hardware you'd normally find it on.
Tuning the database requires knowledge of how the database engine
works. There's an entire profession dedicated to doing that right...

The fourth thing to do is add caching to the application, using things
like memcachedb. This may require modifying the application...though
if the application has support already, then, well, great.

If that's still not enough, there are more things you can do, but you
should probably start considering throwing more hardware at the problem...
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRFbtnAAoJED5TcEBdxYwQNiAH/18rSripzwl6DjK/lePRl9GI
LjOqarZ5XmW7lhfWwLajQfbfYXCcA6iEmrlxRZwIm039zIuvcuAIC1dLW64IYeyR
OMWppXTDo4dqpOYusPIcOVFvBECJGdU59ONOf2iHR5qUTwi2+Dip1DY5nFZLQjvD
zuDE418npqzm2ENaFpGM5SWAs7r/CvE4TiRWaZ2wZrHZrf36cXeT2miK/SFm33ZI
9rCqo8MKj8tw36i3M0lu9JvTTWPgbAJ43AKDxyYsEa3DZzbiBS9GK5pHl0XClVQK
by6uhmlxcdldcddu8vqPoLv45gfS2EYO3Oc0rZ9pAVOq5kJUlsmzSEq3NWcym

Re: [gentoo-user] KDE 4.10 and plasma crashing

2013-02-08 Thread Nilesh Govindrajan
On Saturday 09 February 2013 08:17:44 AM IST, Dale wrote:
> Frank Steinmetzger wrote:
> > On Fri, Feb 08, 2013 at 04:23:55PM -0600, Dale wrote:
> >> Neil Bothwick wrote:
> >>> On Fri, 08 Feb 2013 14:39:51 -0600, Dale wrote:
> >>>
>  Mike posted a bug number. I guess it doesn't hit everyone but it did
>  me. Is anyone that knows me surprised that this bug hit me? :-)
> >>>
> >>> If affected my laptop but not my desktop. Re-emerging qt-core with
> >>> -Os in CFLAGS instead of -O2 "fixes" it.
> >>
> >> I think I am going to go back to KDE 4.9 for now. They are working on
> >> it. It appears that gcc is the real problem tho. So, I may just
> >> upgrade it and see what it breaks. lol Come to think of it, I may
> >> already have a newer one installed. Its been a while since I switched
> >> gcc versions. Hmmm, going to test this. ;-)
> >
> > I just went the least way of resistance and built qt-core with -Os.
> It solved
> > the problem for me, too¹.
> >
> > Even if my machine had the power to emerge -eD world, that doesn’t
> mean I
> > should do this all the time, just because it might solve a problem
> (with a big
> > MIGHT). Electricity isn’t as clean as in Captain Picard’s days just
> yet. ;-)
> >
> > ¹ had -O2 as well, latest stable gcc 4.6.3
>
> Actually, according to the bug report, that may not fix it for
> everyone.  So, there is a chance that may not work.  The thinking was
> it was something to do with gcc.  Then someone posted that it wasn't
> gcc but something else.  I just don't want to use something that I
> know has issues and *could* cause problems I am not aware of.
>
> My easy way to to remove the package.keyword file for KDE 4.10 and
> just emerge -uvk world.  I keep binaries just for when this sort of
> things happens.  It's been a good long while since this has happenend
> with a KDE upgrade but I'm glad I had them.  5 to 10 minutes and I am
> back to a working system.  The devs will have this fixed in the next
> couple days if it is not fixed upstream already.
>
> Dale
>
> :-)  :-)
>
> --
> I am only responsible for what I said ... Not for what you understood
> or how you interpreted my words!
>

Dale, which version of GCC are you using? I'm on 4.7.2, updating KDE 
now, will report back after a few hours when it's done.

--
Nilesh Govindarajan
http://nileshgr.com



Re: [gentoo-user] Which CPU type to select?

2013-02-08 Thread Nilesh Govindrajan
On Sat, Feb 9, 2013 at 7:18 AM, Walter Dnes  wrote:
>   I'm installing Gentoo on a brand new toy I just got myself.  Here are
> the choices from "make menuconfig".  Is "Core 2/newer Xeon" correct?
>
>  ( ) Opteron/Athlon64/Hammer/K8
>  ( ) Intel P4 / older Netburst based Xeon
>  (X) Core 2/newer Xeon
>  ( ) Intel Atom
>  ( ) Generic-x86-64
>
>   Here's the listing for one of the cores from /proc/cpuinfo
>
> processor   : 0
> vendor_id   : GenuineIntel
> cpu family  : 6
> model   : 37
> model name  : Intel(R) Core(TM) i7 CPU   M 620  @ 2.67GHz
> stepping: 5
> microcode   : 0x2
> cpu MHz : 2667.000
> cache size  : 4096 KB
> physical id : 0
> siblings: 4
> core id : 0
> cpu cores   : 2
> apicid  : 0
> initial apicid  : 0
> fpu : yes
> fpu_exception   : yes
> cpuid level : 11
> wp  : yes
> flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
> syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl
> xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx
> smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt aes lahf_lm
> ida arat dtherm tpr_shadow vnmi flexpriority ept vpid
> bogomips: 5320.06
> clflush size: 64
> cache_alignment : 64
> address sizes   : 36 bits physical, 48 bits virtual
> power management:
>

Y U NO read help of that option? It's clearly specified there that
newer Xeons have family 6 and older ones have 15.
So, your choice is right.

-- 
Nilesh Govindrajan
http://nileshgr.com