[gentoo-user] sys-apps/texinfo-6.5: Aborted /usr/bin/perl /usr/bin/perl ../tp/texi2any

2017-10-06 Thread Andrey Moshbear
Hi;

texi2any fails with SIGABRT when compiling texinfo:

emerge -1v =sys-apps/texinfo-6.5: http://dpaste.com/0XJMVRV
emerge --info: http://dpaste.com/1DDRESJ

What's the failure cause and appropriate solution or workaround?

-- AV



Re: [gentoo-user] Programm for Floor Plans

2013-03-04 Thread Andrey Moshbear
On Mon, Mar 4, 2013 at 6:56 PM, Silvio Siefke  wrote:
> Hello,
>
>
> know someone a program for draw floor plans? I has use normal Visio for
> it, but unter Linux?

Have you tried app-office/dia ?



[gentoo-user] Re: kde-base/kig-4.10.0: linker errors in Script*::

2013-03-02 Thread Andrey Moshbear
On Sat, Mar 2, 2013 at 3:59 PM, Andrey Moshbear  wrote:
> So kig has been failing to compile for a solid half-month now and
> there aren't any entries in bugs.gentoo.org.
>
> Log: http://paste.ee/p/uOaQv
> emerge --info: http://paste.ee/p/QRbfJ
>
> What's broken this time?

Never mind: it's Gentoo bug #458402.



[gentoo-user] kde-base/kig-4.10.0: linker errors in Script*::

2013-03-02 Thread Andrey Moshbear
So kig has been failing to compile for a solid half-month now and
there aren't any entries in bugs.gentoo.org.

Log: http://paste.ee/p/uOaQv
emerge --info: http://paste.ee/p/QRbfJ

What's broken this time?

--
001100 m0shbear
010010
00
11
101101
110011



Re: [gentoo-user] Re: OT: first water cooled system

2012-12-10 Thread Andrey Moshbear
On Mon, Dec 10, 2012 at 1:10 PM, Volker Armin Hemmann
 wrote:
>
>
> run burnK7 several times:

Since Bulldozer v1 and up lack 3dnow, burnK7 isn't as useful as
sseburn or anymore.

However, sseburn does require the use of app-emulation/wine for UI
purposes, so the code will need some hacking to run headlessly (i.e.
on command line).



Re: [gentoo-user] Re: Reinstall + switch to KDE

2012-09-10 Thread Andrey Moshbear
On Mon, Sep 10, 2012 at 12:43 PM, Nikos Chantziaras  wrote:
> On 10/09/12 19:12, Samuraiii wrote:
>>
>> Hello,
>> because I broke me PC and I need to reinstall it I'm going ask what
>> should I preserve to make install faster:
>
> So what *is* broken?  The hardware?  If you have a new PC, you simply need
> to transfer your Gentoo install to a new hard disk using rsync.

He borked his /usr/include due to an improperly-written uninstall rule
in a Makefile.



Re: [gentoo-user] emergefied message bubble... ;)

2012-09-10 Thread Andrey Moshbear
On Mon, Sep 10, 2012 at 12:36 PM,   wrote:
>
>   The following REQUIRED_USE flag constraints are unsatisfied:
> dvdnav? ( dvd )

It means the following: If USE flag "dvdnav" is enabled, then "dvd"
must be, too.

Essentially, it enforces a dependency of certain USE flags for sanity reasons.



Re: [gentoo-user] Broken GCC

2012-09-07 Thread Andrey Moshbear
On Fri, Sep 7, 2012 at 5:03 PM, Samuraiii  wrote:
>
>
>
> On 2012-09-07 19:38, Andrey Moshbear wrote:
>> On Fri, Sep 7, 2012 at 1:24 PM, Samuraiii  wrote:
>>
>>> Are there any tips for gentoo amd64 with core2duo?
>>> Google doesn't seem to give any usable answers (I don't need configure
>>> binhost yet)
>> While I can make a binpkg for gcc:{4,5,4.6,4.7} or glibc-2.15-r2 on my
>> c2d-penryn laptop, my adsl upload rate is pretty slow, so it'll take a
>> while to upload it to my VPS.
>>
>> In terms of guides, a 5-second googling showed up:
>> https://wiki.gentoo.org/wiki/Binary_package_guide
>> http://en.gentoo-wiki.com/wiki/Using_Portage_BINHOST
>>
> I have an idea waht about make chrooted mini install just to compile gcc
> glibc and binutils... wouldn't take so long time than upload or emerge
> -NuDe @world...

Download stage1, chroot into it, and run
/usr/portage/scripts/bootstrap.sh, then exit the chroot and copy
usr/include recursively.
However, you will still need to do emerge -e @world because the rest
of /usr/include may still be dysfunctional.

Also, -D -N -u is redundant when combined with -e. -e implies -D and
-N -u is pointless when -e is used, since everything is already
included.



Re: [gentoo-user] Broken GCC

2012-09-07 Thread Andrey Moshbear
On Fri, Sep 7, 2012 at 1:24 PM, Samuraiii  wrote:

> Are there any tips for gentoo amd64 with core2duo?
> Google doesn't seem to give any usable answers (I don't need configure
> binhost yet)

While I can make a binpkg for gcc:{4,5,4.6,4.7} or glibc-2.15-r2 on my
c2d-penryn laptop, my adsl upload rate is pretty slow, so it'll take a
while to upload it to my VPS.

In terms of guides, a 5-second googling showed up:
https://wiki.gentoo.org/wiki/Binary_package_guide
http://en.gentoo-wiki.com/wiki/Using_Portage_BINHOST



Re: [gentoo-user] Broken GCC

2012-09-07 Thread Andrey Moshbear
On Fri, Sep 7, 2012 at 12:03 PM, Michael Mol  wrote:
> On Fri, Sep 7, 2012 at 11:56 AM, Samuraiii  wrote:
>>
>>
>>
>> On 2012-09-07 17:37, Andrey Moshbear wrote:
>>
>> On Fri, Sep 7, 2012 at 7:04 AM, William Kenworthy 
>> wrote:
>>
>> On Fri, 2012-09-07 at 12:46 +0200, Samuraiii wrote:
>>
>> On 2012-09-07 11:49, Andrey Moshbear wrote:
>>
>> On Fri, Sep 7, 2012 at 5:47 AM, Andrey Moshbear 
>> wrote:
>>
>> On Fri, Sep 7, 2012 at 4:46 AM, Samuraiii  wrote:
>>
>> Hello
>> yesterday I probably broke my GCC
>>
>> Problem is following:
>> When i try to emerge ANY package it fails with this :
>>
>> checking whether the C compiler works... yes
>> checking for C compiler default output file name... a.out
>> checking for suffix of executables...
>> checking whether we are cross compiling... configure: error: in
>> `/tmp/portage/www-client/links-2.6/work/links-2.6':
>> configure: error: cannot run C compiled programs.
>> If you meant to cross compile, use `--host'.
>> See `config.log' for more details
>>
>> Can you post the contents of config.log to a pastebin and link to it in a
>> reply?
>>
>> Specifically,  .../portage/www-client/links-2.6/work/links-2.6/config.log
>>
>> Here it is http://pastebin.com/s59mU9fm
>>
>> --
>> Samuraiii
>> e-mail: samurai.no.d...@gmail.com
>> GnuPG key ID: 0x80C752EA (obtainable on http://pgp.mit.edu)
>> Full copy of public timestamp block signatures id-15719 (from
>> 2012-09-07 06:00:07) is included in header of html.
>>
>> conftest.c:11:19: fatal error: /usr/local/include/stdio.h: Permission
>> denied
>>
>> Indeed. The question here is what's more concerning: the use of
>> /usr/local in the default gcc arguments or not having root:root 644
>> for the files in a global include dir.
>>
>> I was thinkig if its possible to "half-reinstall" system by preserving (read
>> making backup) my hand modified config and then download stage3 untar it to
>> / (from live cd) , restore config, sync, emerge -NuDe @world and reboot?
>
> I've done that, and it can work, but you're probably better off
> reinstalling gcc via binpkgs. Someone probably has a repository that
> matches your configuration enough for the purpose.
>

gcc *and* glibc - most  files are in glibc's hands, so
binpkg of glibc will also be helpful.



Re: [gentoo-user] Broken GCC

2012-09-07 Thread Andrey Moshbear
On Fri, Sep 7, 2012 at 7:04 AM, William Kenworthy  wrote:
> On Fri, 2012-09-07 at 12:46 +0200, Samuraiii wrote:
>>
>>
>>
>> On 2012-09-07 11:49, Andrey Moshbear wrote:
>>
>> > On Fri, Sep 7, 2012 at 5:47 AM, Andrey Moshbear  
>> > wrote:
>> > > On Fri, Sep 7, 2012 at 4:46 AM, Samuraiii  
>> > > wrote:
>> > > > Hello
>> > > > yesterday I probably broke my GCC
>> > > >
>> > > > Problem is following:
>> > > > When i try to emerge ANY package it fails with this :
>> > > >
>> > > > checking whether the C compiler works... yes
>> > > > checking for C compiler default output file name... a.out
>> > > > checking for suffix of executables...
>> > > > checking whether we are cross compiling... configure: error: in
>> > > > `/tmp/portage/www-client/links-2.6/work/links-2.6':
>> > > > configure: error: cannot run C compiled programs.
>> > > > If you meant to cross compile, use `--host'.
>> > > > See `config.log' for more details
>> > > Can you post the contents of config.log to a pastebin and link to it in 
>> > > a reply?
>> > Specifically,  .../portage/www-client/links-2.6/work/links-2.6/config.log
>> >
>> Here it is http://pastebin.com/s59mU9fm
>>
>> --
>> Samuraiii
>> e-mail: samurai.no.d...@gmail.com
>> GnuPG key ID: 0x80C752EA (obtainable on http://pgp.mit.edu)
>> Full copy of public timestamp block signatures id-15719 (from
>> 2012-09-07 06:00:07) is included in header of html.
>
>
>
> conftest.c:11:19: fatal error: /usr/local/include/stdio.h: Permission
> denied
>
Indeed. The question here is what's more concerning: the use of
/usr/local in the default gcc arguments or not having root:root 644
for the files in a global include dir.



Re: [gentoo-user] Broken GCC

2012-09-07 Thread Andrey Moshbear
On Fri, Sep 7, 2012 at 5:47 AM, Andrey Moshbear  wrote:
> On Fri, Sep 7, 2012 at 4:46 AM, Samuraiii  wrote:
>>
>> Hello
>> yesterday I probably broke my GCC
>>
>> Problem is following:
>> When i try to emerge ANY package it fails with this :
>>
>> checking whether the C compiler works... yes
>> checking for C compiler default output file name... a.out
>> checking for suffix of executables...
>> checking whether we are cross compiling... configure: error: in
>> `/tmp/portage/www-client/links-2.6/work/links-2.6':
>> configure: error: cannot run C compiled programs.
>> If you meant to cross compile, use `--host'.
>> See `config.log' for more details
>
> Can you post the contents of config.log to a pastebin and link to it in a 
> reply?

Specifically,  .../portage/www-client/links-2.6/work/links-2.6/config.log



Re: [gentoo-user] Broken GCC

2012-09-07 Thread Andrey Moshbear
On Fri, Sep 7, 2012 at 4:46 AM, Samuraiii  wrote:
>
> Hello
> yesterday I probably broke my GCC
>
> Problem is following:
> When i try to emerge ANY package it fails with this :
>
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... configure: error: in
> `/tmp/portage/www-client/links-2.6/work/links-2.6':
> configure: error: cannot run C compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details

Can you post the contents of config.log to a pastebin and link to it in a reply?



Re: [gentoo-user] Issues with >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware issue?

2012-08-29 Thread Andrey Moshbear
On Tue, Jun 12, 2012 at 10:33 AM, Michael Scherer
 wrote:
> On Thu, 7 Jun 2012 16:18:02 +0200
> Michael Scherer  wrote:
>
>> On Thu, 7 Jun 2012 04:52:35 -0400
>> Andrey Moshbear  wrote:
>>
>> > On Tue, Jun 5, 2012 at 11:41 AM, Michael Scherer
>> >  wrote:
>> > > On Fri, 1 Jun 2012 04:11:35 -0400
>> > > Andrey Moshbear  wrote:
>> > >
>> > >> On Wed, May 23, 2012 at 11:12 AM, Michael Scherer
>> > >>  wrote:
>> > >> > - Original Message - From: "Andrey Moshbear"
>> > >> >  To: "gentoo-user"
>> > >> >  Sent: Tuesday, 22 May, 2012
>> > >> > 08:02 Subject: [gentoo-user] Issues with
>> > >> > >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware
>> > >> > >issue?
>> > >> >
>> > >> >
>> > >> >
>> > >> >> Lately, I've been having some issues with segfaults when
>> > >> >> running startx and it's been pretty persistent.
>> > >> >>
>> > >> >> Xorg.0.log and emerge --info are available at
>> > >> >> https://gist.github.com/2766926 .
>> > >> >> Kernel config is available at https://gist.github.com/276943 .
>> > >> >>
>> > >> >> I've tried downgrading, but
>> > >> >> <=x11-drivers/xf86-video-ati-6.14.2 fails to compile due to
>> > >> >> incomplete structs.
>> > >> >>
>> > >> >> Is this more a driver or a hardware issue?
>> > >> >>
>> > >> >
>> > >> > first thing thing is your usage of ACCEPT_KEYWORDS="amd64
>> > >> > ~amd64". with ~amd64 you globally
>> > >> > allow all packages masked for amd64. unless you are a
>> > >> > developer/tester for gentoo you should remove
>> > >> > this keyword, because gentoo usually has good reasons to mask
>> > >> > some packages. if for some reason you
>> > >> > really need a masked package, you can do this easily only for
>> > >> > that package. global unmasking alone might be the reason for
>> > >> > half of your troubles.
>> > >> >
>> > >> > second, it is advisable to use kernel modesetting, which is
>> > >> > obviously not enabled. gentoo has a detailed
>> > >> > howto for this under
>> > >> > http://www.gentoo.org/doc/en/xorg-config.xml. this gives you
>> > >> > all necessary details.
>> > >> >
>> > >> > just a quick shot for the moment. your kernel config doesn't
>> > >> > under the link you give, I'd like to see that
>> > >> > too, and maybe /etc/X11/xorg.conf or the contents
>> > >> > of /etc/X11/xorg.conf.d, if you have any of these,
>> > >> >
>> > >> > regards, nichael
>> > >> >
>> > >> >
>> > >>
>> > >> Well, I added radeon drm & modesetting and the kernel is crashing
>> > >> right after the microcode is loaded, but without any signs of
>> > >> panic, be it flashing keyboard lights or kernel backtrace with
>> > >> register values.
>> > >>
>> > >> Also, the segfault was caused by the DRI code interpreting a DRI
>> > >> opcode as a pointer, hence 0xa4 or similar in the back trace.
>> > >>
>> > >> --
>> > >> m0shbear
>> > >>
>> > >
>> > > in any case, I'd need some more information:
>> > > the link to your .config is broken, I only get an empty page.
>> > > if the kernel is involved, output of dmesg and rc.log would
>> > > be needed to.
>> > >
>> > > by the way, did you anything with your ACCEPT_KEYWORDS?
>> > > if not, the best thing would be set it simply ="" (and
>> > > afterwards --update world, --depclean and revdep-rebuild),
>> > > but that's up to you.
>> > >
>> > > please send me the requested information, otherwise it's
>> > > difficult to find out what's wrong.
>> > >
>> >
>> > Also, I've noticed that that radeon.ko autodetection configures it
>> > as a RS780, whereas, according to motherboard documentati

Re: [gentoo-user] Issues with >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware issue?

2012-06-07 Thread Andrey Moshbear
On Tue, Jun 5, 2012 at 11:41 AM, Michael Scherer
 wrote:
> On Fri, 1 Jun 2012 04:11:35 -0400
> Andrey Moshbear  wrote:
>
>> On Wed, May 23, 2012 at 11:12 AM, Michael Scherer
>>  wrote:
>> > - Original Message - From: "Andrey Moshbear"
>> >  To: "gentoo-user"
>> >  Sent: Tuesday, 22 May, 2012 08:02
>> > Subject: [gentoo-user] Issues with
>> > >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware issue?
>> >
>> >
>> >
>> >> Lately, I've been having some issues with segfaults when running
>> >> startx and it's been pretty persistent.
>> >>
>> >> Xorg.0.log and emerge --info are available at
>> >> https://gist.github.com/2766926 .
>> >> Kernel config is available at https://gist.github.com/276943 .
>> >>
>> >> I've tried downgrading, but <=x11-drivers/xf86-video-ati-6.14.2
>> >> fails to compile due to incomplete structs.
>> >>
>> >> Is this more a driver or a hardware issue?
>> >>
>> >
>> > first thing thing is your usage of ACCEPT_KEYWORDS="amd64 ~amd64".
>> > with ~amd64 you globally
>> > allow all packages masked for amd64. unless you are a
>> > developer/tester for gentoo you should remove
>> > this keyword, because gentoo usually has good reasons to mask some
>> > packages. if for some reason you
>> > really need a masked package, you can do this easily only for that
>> > package. global unmasking alone might be the reason for half of
>> > your troubles.
>> >
>> > second, it is advisable to use kernel modesetting, which is
>> > obviously not enabled. gentoo has a detailed
>> > howto for this under http://www.gentoo.org/doc/en/xorg-config.xml.
>> > this gives you all necessary details.
>> >
>> > just a quick shot for the moment. your kernel config doesn't under
>> > the link you give, I'd like to see that
>> > too, and maybe /etc/X11/xorg.conf or the contents
>> > of /etc/X11/xorg.conf.d, if you have any of these,
>> >
>> > regards, nichael
>> >
>> >
>>
>> Well, I added radeon drm & modesetting and the kernel is crashing
>> right after the microcode is loaded, but without any signs of panic,
>> be it flashing keyboard lights or kernel backtrace with register
>> values.
>>
>> Also, the segfault was caused by the DRI code interpreting a DRI
>> opcode as a pointer, hence 0xa4 or similar in the back trace.
>>
>> --
>> m0shbear
>>
>
> in any case, I'd need some more information:
> the link to your .config is broken, I only get an empty page.
> if the kernel is involved, output of dmesg and rc.log would
> be needed to.
>
> by the way, did you anything with your ACCEPT_KEYWORDS?
> if not, the best thing would be set it simply ="" (and
> afterwards --update world, --depclean and revdep-rebuild),
> but that's up to you.
>
> please send me the requested information, otherwise it's
> difficult to find out what's wrong.
>

Also, I've noticed that that radeon.ko autodetection configures it as
a RS780, whereas, according to motherboard documentation, it should be
RS880 (780G vs 785G).
This may be a reason for crashing, since the video card dies due to
being supplied bad microcode.



Re: [gentoo-user] Issues with >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware issue?

2012-06-07 Thread Andrey Moshbear
On Tue, Jun 5, 2012 at 11:41 AM, Michael Scherer
 wrote:
> On Fri, 1 Jun 2012 04:11:35 -0400
> Andrey Moshbear  wrote:
>
>> On Wed, May 23, 2012 at 11:12 AM, Michael Scherer
>>  wrote:
>> > - Original Message - From: "Andrey Moshbear"
>> >  To: "gentoo-user"
>> >  Sent: Tuesday, 22 May, 2012 08:02
>> > Subject: [gentoo-user] Issues with
>> > >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware issue?
>> >
>> >
>> >
>> >> Lately, I've been having some issues with segfaults when running
>> >> startx and it's been pretty persistent.
>> >>
>> >> Xorg.0.log and emerge --info are available at
>> >> https://gist.github.com/2766926 .
>> >> Kernel config is available at https://gist.github.com/276943 .
>> >>
>> >> I've tried downgrading, but <=x11-drivers/xf86-video-ati-6.14.2
>> >> fails to compile due to incomplete structs.
>> >>
>> >> Is this more a driver or a hardware issue?
>> >>
>> >
>> > first thing thing is your usage of ACCEPT_KEYWORDS="amd64 ~amd64".
>> > with ~amd64 you globally
>> > allow all packages masked for amd64. unless you are a
>> > developer/tester for gentoo you should remove
>> > this keyword, because gentoo usually has good reasons to mask some
>> > packages. if for some reason you
>> > really need a masked package, you can do this easily only for that
>> > package. global unmasking alone might be the reason for half of
>> > your troubles.
>> >
>> > second, it is advisable to use kernel modesetting, which is
>> > obviously not enabled. gentoo has a detailed
>> > howto for this under http://www.gentoo.org/doc/en/xorg-config.xml.
>> > this gives you all necessary details.
>> >
>> > just a quick shot for the moment. your kernel config doesn't under
>> > the link you give, I'd like to see that
>> > too, and maybe /etc/X11/xorg.conf or the contents
>> > of /etc/X11/xorg.conf.d, if you have any of these,
>> >
>> >
>> >
>>
>> Well, I added radeon drm & modesetting and the kernel is crashing
>> right after the microcode is loaded, but without any signs of panic,
>> be it flashing keyboard lights or kernel backtrace with register
>> values.
>>
>> Also, the segfault was caused by the DRI code interpreting a DRI
>> opcode as a pointer, hence 0xa4 or similar in the back trace.

>
> in any case, I'd need some more information:
> the link to your .config is broken, I only get an empty page.
> if the kernel is involved, output of dmesg and rc.log would
> be needed to.

Here's the .config of the kernel which crashed when loading the radeon
microcode: http://servbox.moshbear.net/r9k-3.3.6-pf-.config.txt

On 3.3.6, dmesg did tend to fill up with "uvesafb: mode switch failed
(eax=0x34f, err=0). Trying again with default settings."

Also, I'm unsure how use of userspace modeseting contributes to X's
drm code confusing an opcode for a pointer.

xorg.conf is blank since X's hardware detection is sufficiently
functional to not require a xorg.conf.

>
> by the way, did you anything with your ACCEPT_KEYWORDS?
> if not, the best thing would be set it simply ="" (and
> afterwards --update world, --depclean and revdep-rebuild),
> but that's up to you.

I use ~amd64 because I like having everything be recent. Otherwise, it
tends to feel a bit like a fast version of debian. That, and 99.9%
functionality is enough. I've been able to fix almost all issues that
arise by means of google - this one is simply proving to be tricky.



Re: [gentoo-user] Issues with >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware issue?

2012-06-01 Thread Andrey Moshbear
On Wed, May 23, 2012 at 11:12 AM, Michael Scherer
 wrote:
> - Original Message - From: "Andrey Moshbear" 
> To: "gentoo-user" 
> Sent: Tuesday, 22 May, 2012 08:02
> Subject: [gentoo-user] Issues with >=x11-drivers/xf86-video-ati-6.14.4:
> driver issue or hardware issue?
>
>
>
>> Lately, I've been having some issues with segfaults when running
>> startx and it's been pretty persistent.
>>
>> Xorg.0.log and emerge --info are available at
>> https://gist.github.com/2766926 .
>> Kernel config is available at https://gist.github.com/276943 .
>>
>> I've tried downgrading, but <=x11-drivers/xf86-video-ati-6.14.2 fails
>> to compile due to incomplete structs.
>>
>> Is this more a driver or a hardware issue?
>>
>
> first thing thing is your usage of ACCEPT_KEYWORDS="amd64 ~amd64". with
> ~amd64 you globally
> allow all packages masked for amd64. unless you are a developer/tester for
> gentoo you should remove
> this keyword, because gentoo usually has good reasons to mask some packages.
> if for some reason you
> really need a masked package, you can do this easily only for that package.
> global unmasking alone might be the reason for half of your troubles.
>
> second, it is advisable to use kernel modesetting, which is obviously not
> enabled. gentoo has a detailed
> howto for this under http://www.gentoo.org/doc/en/xorg-config.xml. this
> gives you all necessary details.
>
> just a quick shot for the moment. your kernel config doesn't under the link
> you give, I'd like to see that
> too, and maybe /etc/X11/xorg.conf or the contents of /etc/X11/xorg.conf.d,
> if you have any of these,
>
> regards, nichael
>
>

Well, I added radeon drm & modesetting and the kernel is crashing
right after the microcode is loaded, but without any signs of panic,
be it flashing keyboard lights or kernel backtrace with register
values.

Also, the segfault was caused by the DRI code interpreting a DRI
opcode as a pointer, hence 0xa4 or similar in the back trace.

--
m0shbear



Re: [gentoo-user] ~gcc-4.7.0

2012-05-29 Thread Andrey Moshbear
On Mon, May 28, 2012 at 4:04 PM, Stefan G. Weichinger  wrote:
>
> As GCC-4.7.0 appeared for ~amd64 now ...
>
> anyone recompiled system or world with it already?
>
> More advantages or disadvantages?
>
> Thanks, Stefan
>

If you're a C++ developer, gcc 4.7 has more c++11 support, the most
important of which is a standards-conforming value of __cplusplus,
allowing you to portably check whether the compiler is standard
C++98(03) or C++11.

--
m0shbear



[gentoo-user] postfix: mails stuck in queue; relay issues?

2012-05-28 Thread Andrey Moshbear
My mail.log is filling up with messages of the format:

May 28 15:35:19 localhost postfix/smtpd[32669]: <11 hexadecimal
numbers>: client=localhost[127.0.0.1]
May 28 15:35:19 localhost postfix/smtpd[32664]: connect from
localhost[127.0.0.1]
May 28 15:35:19 localhost postfix/smtpd[32669]: lost connection after
RCPT from localhost[127.0.0.1]
May 28 15:35:19 localhost postfix/smtpd[32669]: disconnect from
localhost[127.0.0.1]

Which parts of main.cf warrant closer inspection?

--
001100 m0shbear
010010
00 andrey at moshbear dot net
11 andrey dot vul at gmail
101101
110011



[gentoo-user] Issues with >=x11-drivers/xf86-video-ati-6.14.4: driver issue or hardware issue?

2012-05-21 Thread Andrey Moshbear
Lately, I've been having some issues with segfaults when running
startx and it's been pretty persistent.

Xorg.0.log and emerge --info are available at https://gist.github.com/2766926 .
Kernel config is available at https://gist.github.com/276943 .

I've tried downgrading, but <=x11-drivers/xf86-video-ati-6.14.2 fails
to compile due to incomplete structs.

Is this more a driver or a hardware issue?

--
001100 m0shbear
010010
00 andrey at moshbear dot net
11 andrey dot vul at gmail
101101
110011



[gentoo-user] cpu sched for bulldozer

2012-04-17 Thread Andrey Moshbear
Which cpu scheduler would work best for AMD Bulldozer? The two-level
(4 macro-cores * 2 semi-cores) system looks like BFS wouldn't work
efficiently on it.


--
001100 Andrey "m05hbear"
010010
00 andrey at moshbear dot net
11 andrey dot vul at gmail
101101
110011



[gentoo-user] Compile failure: kde-base/kdepim-runtime-4.8.0

2012-02-22 Thread Andrey Moshbear
I get the following error when building kde-base/kdepim-runtime-4.8.0.
At first glance, it looks like a type traits assertion is failing.
Is this new or does there already exist patch? (note: no results on bugs.gentoo)
It compiled fine on my c2d laptop, though.

Scanning dependencies of target testsubscriptiondialog
[ 22%] Building CXX object
resources/imap/tests/CMakeFiles/testsubscriptiondialog.dir/testsubscriptiondialog_automoc.o
[ 22%] Building CXX object
resources/imap/tests/CMakeFiles/testsubscriptiondialog.dir/testsubscriptiondialog.o
[ 22%] Building CXX object
resources/imap/tests/CMakeFiles/testsubscriptiondialog.dir/__/imapaccount.o
[ 22%] Building CXX object
resources/imap/tests/CMakeFiles/testsubscriptiondialog.dir/__/subscriptiondialog.o
Linking CXX executable testsubscriptiondialog
In file included from /usr/include/KDE/../klocale.h:25:0,
 from /usr/include/KDE/KLocale:1,
 from
/var/tmp/portage/kde-base/kdepim-runtime-4.8.0/work/kdepim-runtime-4.8.0/resources/imap/sessionpool.cpp:28:
/usr/include/klocalizedstring.h: In function ‘QString i18n(const
char*, const A1&, const A2&) [with A1 = char [1], A2 = QString]’:
/var/tmp/portage/kde-base/kdepim-runtime-4.8.0/work/kdepim-runtime-4.8.0/resources/imap/sessionpool.cpp:366:61:
  instantiated from here
/usr/include/klocalizedstring.h:658:3: error:
‘String_literal_as_second_argument_to_i18n___Perhaps_you_need_i18nc_or_i18np’
is not a member of ‘I18nTypeCheck’
make[2]: *** [resources/imap/CMakeFiles/imapresource.dir/sessionpool.o] Error 1
make[1]: *** [resources/imap/CMakeFiles/imapresource.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs
Linking CXX shared module ../../../lib/akonadi_notes_resource.so
Linking CXX executable akonadi_davgroupware_resource
[ 22%] Built target akonadi_notes_resource
[ 22%] Built target testsubscriptiondialog
[ 22%] Built target akonadi_davgroupware_resource
make: *** [all] Error 2



Re: [gentoo-user] mkisofs: layout

2012-01-30 Thread Andrey Moshbear
On Mon, Jan 30, 2012 at 18:13, Joerg Schilling
 wrote:
>
> Then you need to get the layerbreak value from your authoring software and you
> need to tell your authoring software to introduce padding. As mentioned 
> before,
> mkisofs hnors the paddung that is announced in the IFO file and it cannot
> introduce padding that is not mentioned in the IFO file.

I thought mkisofs _was_ an authoring software for data isos.

Experimental results have shown that mkisofs uses alpha-sort instead
of inode, directory-order, ctime, or mtime sort.
Is this required as per ISO 9660?

Also, is there a way to enable a debug mode so that mkisofs states
Dir X: File Y: LBA Z
for each file?



Re: [gentoo-user] mkisofs: layout

2012-01-30 Thread Andrey Moshbear
On Mon, Jan 30, 2012 at 15:06, Joerg Schilling
 wrote:
> Andrey Moshbear  wrote:
>
>> On Mon, Jan 30, 2012 at 05:02, Joerg Schilling
>>  wrote:
>> > Andrey Moshbear  wrote:
>> >
>> >> If there a way to force mkisofs to add padding after sector N so that
>> >> the resultin image can be burned as a double layer with no files that
>> >> reside partially on one and partially on the other layer?
>> >
>> > Did you read the mkisofs man page?
>>
>> I did. The closest thing that was available was -dvd-video, but it
>> pads all files, not just ones around a layerbreak.
>> -pad only pads the end of the image.
>
> This is not correct.
>
> Mkisofs honors the disk layout defined by the IFO file.

Does there exist an IFO system that doesn't rely on VIDEO_TS and
DVD-Video, i.e. a DVD-ROM analog thereof?

>
>> > Why do you believe there is a problem?
>> >
>>
>> Cdrecord burns DVD+-R DL in PTP mode, so it's going to be inefficient
>> in terms of I/O if there's a file that's halfway on
>> one layer and halfway on the other. Were there padding or a dummy
>> file, this would not be an issue.
>>
>> Hence, the asking about introducing padding around a layerbreak area.
>
> You are missunderstanding things:
>
> The track recording direction is defined by the pressed pree-groove and cannot
> be changed.
>
> If you are copying DVDs, you need to call cdrecord -v -atip or similar in 
> order
> to retrieve the layerbreak value of the original disk. This value needs to be
> given with the driveropts=layerbreak=xxx option when writing DVD+R/DL.
>
> If someone can tell me how to read the layerbreak value from the IFO file, 
> this
> coule be done automatically
>

I'm not copying. I'm making a DVD DL iso from a collection of files in
a folder. There's no ripping from
silver disc in any stage of the process.



Re: [gentoo-user] mkisofs: layout

2012-01-30 Thread Andrey Moshbear
On Mon, Jan 30, 2012 at 05:02, Joerg Schilling
 wrote:
> Andrey Moshbear  wrote:
>
>> If there a way to force mkisofs to add padding after sector N so that
>> the resultin image can be burned as a double layer with no files that
>> reside partially on one and partially on the other layer?
>
> Did you read the mkisofs man page?

I did. The closest thing that was available was -dvd-video, but it
pads all files, not just ones around a layerbreak.
-pad only pads the end of the image.

>
> Why do you believe there is a problem?
>

Cdrecord burns DVD+-R DL in PTP mode, so it's going to be inefficient
in terms of I/O if there's a file that's halfway on
one layer and halfway on the other. Were there padding or a dummy
file, this would not be an issue.

Hence, the asking about introducing padding around a layerbreak area.



[gentoo-user] mkisofs: layout

2012-01-29 Thread Andrey Moshbear
If there a way to force mkisofs to add padding after sector N so that
the resultin image can be burned as a double layer with no files that
reside partially on one and partially on the other layer?

~M



Re: [gentoo-user] [OT] Transferring old video tapes to disk

2012-01-22 Thread Andrey Moshbear
Get a tuner card with composite-in support.
Recompile your kernel to add V4L support and  the required drivers.

Then use vlc, mplayer, etc to capture to file.



[gentoo-user] nvidia irq issues; likely problem with kconfig

2012-01-22 Thread Andrey Moshbear
There's something wrong with my kconfig, which is causing the irq
snafu, but I can't tell what.

Kernel is 3.1.6-pf.

/usr/src/linux/.config: http://pastebin.com/9KXQpMdt

lspci -vv: http://pastebin.com/gfUF1N18



Re: [gentoo-user] pidgin, ssl, and xmpp

2012-01-06 Thread Andrey Moshbear
On Fri, Jan 6, 2012 at 23:04, Pandu Poluan  wrote:
>
> On Jan 7, 2012 9:59 AM, "Andrey Moshbear"  wrote:
>>
[snip]
>>
>> where exactly is the SSL problem?
>>
>
> It's not SSL problem, but SASL authentication failure.
>
> Check the following, might help :
>
> http://askubuntu.com/questions/88989/unable-to-connect-to-google-talk-using-pidgin-sasl-error
>

Interesting how having

127.0.0.1 localhost
::1 localhost

instead of

127.0.0.1 localhost hostname
::1 localhost hostname

causes subtle issues.

And yes, that fixed it. Thanks for the link.



[gentoo-user] pidgin, ssl, and xmpp

2012-01-06 Thread Andrey Moshbear
With the following pidgin debug log:
21:46:56) account: Connecting to account x...@gmail.com/.
(21:46:56) connection: Connecting. gc = 0x1d44780
(21:46:56) dnssrv: querying SRV record for gmail.com:
_xmpp-client._tcp.gmail.com
(21:46:56) dnssrv: found 5 SRV entries
(21:46:56) dnsquery: Performing DNS lookup for xmpp.l.google.com
(21:46:56) dns: Successfully sent DNS request to child 805
(21:46:56) dns: Got response for 'xmpp.l.google.com'
(21:46:56) dnsquery: IP resolved for xmpp.l.google.com
(21:46:56) proxy: Attempting connection to 209.85.225.125
(21:46:56) proxy: Connecting to xmpp.l.google.com:5222 with no proxy
(21:46:56) proxy: Connection in progress
(21:46:56) proxy: Connecting to xmpp.l.google.com:5222.
(21:46:56) proxy: Connected to xmpp.l.google.com:5222.
(21:46:56) jabber: Sending (x...@gmail.com): 
(21:46:56) jabber: Sending (x...@gmail.com): 
(21:46:56) jabber: Recv (138): http://etherx.jabber.org/streams"; xmlns="jabber:client">
(21:46:56) jabber: Recv (241): X-GOOGLE-TOKENX-OAUTH2
(21:46:56) jabber: Sending (x...@gmail.com): 
(21:46:56) jabber: Recv (50): 
(21:46:56) gnutls: Starting handshake with gmail.com
(21:46:56) util: Writing file prefs.xml to directory /home/XXX/.purple
(21:46:56) util: Writing file /home/XXX/.purple/prefs.xml
(21:46:56) gnutls: Handshake complete
(21:46:56) gnutls/x509: Key print:
0c:99:2a:04:72:48:59:1a:3c:cf:ab:60:d0:2a:9e:73:73:42:f0:08
(21:46:56) gnutls/x509: Key print:
dd:7a:7f:13:1d:db:a3:3d:3e:86:70:17:94:83:e6:fe:a6:98:7d:6a
(21:46:56) gnutls: Peer provided 2 certs
(21:46:56) gnutls: Lvl 0 SHA1 fingerprint:
0c:99:2a:04:72:48:59:1a:3c:cf:ab:60:d0:2a:9e:73:73:42:f0:08
(21:46:56) gnutls: Serial: 6d:ca:e4:9f:00:03:00:00:34:be
(21:46:56) gnutls: Cert DN: C=US,ST=California,L=Mountain
View,O=Google Inc.,CN=gmail.com
(21:46:56) gnutls: Cert Issuer DN: C=US,O=Google Inc,CN=Google
Internet Authority
(21:46:56) gnutls: Lvl 1 SHA1 fingerprint:
dd:7a:7f:13:1d:db:a3:3d:3e:86:70:17:94:83:e6:fe:a6:98:7d:6a
(21:46:56) gnutls: Serial: 0b:67:71
(21:46:56) gnutls: Cert DN: C=US,O=Google Inc,CN=Google Internet Authority
(21:46:56) gnutls: Cert Issuer DN: C=US,O=Equifax,OU=Equifax Secure
Certificate Authority
(21:46:56) certificate/x509/tls_cached: Starting verify for gmail.com
(21:46:56) certificate/x509/tls_cached: Checking for cached cert...
(21:46:56) certificate/x509/tls_cached: ...Found cached cert
(21:46:56) gnutls: Attempting to load X.509 certificate from
/home/XXX/.purple/certificates/x509/tls_peers/gmail.com
(21:46:56) certificate/x509/tls_cached: Peer cert matched cached
(21:46:56) util: Writing file
/home/XXX/.purple/certificates/x509/tls_peers/gmail.com
(21:46:56) certificate: Successfully verified certificate for gmail.com
(21:46:56) jabber: Sending (ssl) (x...@gmail.com): 
(21:46:56) jabber: Recv (ssl)(138): http://etherx.jabber.org/streams"; xmlns="jabber:client">
(21:46:56) jabber: Recv (ssl)(197): PLAINX-GOOGLE-TOKENX-OAUTH2
(21:46:56) sasl: sasl_state is -1, failing the mech and trying again
(21:46:56) connection: Connection error on 0x1d44780 (reason: 3
description: Server does not use any supported authentication method)
(21:46:57) account: Disconnecting account x...@gmail.com/ (0x1a3dbb0)
(21:46:57) connection: Disconnecting connection 0x1d44780
(21:46:57) jabber: Sending (ssl) (x...@gmail.com): 
(21:46:57) connection: Destroying connection 0x1d44780

and USE flags:
dev-libs/cyrus-sasl-2.1.25 berkdb gdbm java kerberos mysql pam
postgres sqlite ssl -authdaemond -elibc_FreeBSD -ldapdb -openldap
-sample -srp -static-libs -urandom
net-im/pidgin-2.10.1 dbus debug doc gnutls gstreamer gtk idn ncurses
nls perl python sasl spell tcl tk xscreensaver -eds -gadu -groupwise
-meanwhile -networkmanager -prediction -silc -zephyr -zeroconf
net-libs/gnutls-2.10.5 cxx doc lzo nls zlib -bindist -examples -guile -test

where exactly is the SSL problem?



Re: [gentoo-user] Re: Upgrading gcc: both 4.4 and 4.5 needed?

2011-11-15 Thread Andrey Moshbear
On Wed, Nov 16, 2011 at 02:11, Stéphane Guedon  wrote:
> On Wednesday 16 November 2011 02:07:12 Pandu Poluan wrote:
>> On Nov 16, 2011 8:00 AM, "Nikos Chantziaras"  wrote:
>> > On 11/15/2011 08:58 PM, Jarry wrote:
>> >> Hi,
>> >> today I upgraded gcc from 4.4.5 to the last stable version
>> >> 4.5.3-r1.
>> >> [...]
>> >>
>> >> But at the and I noticed gcc 4.4 has not been unmerged
>> >> and my "world" file is somehow larger. To my surprise,
>> >> it contains these lines:
>> >>
>> >> sys-devel/gcc
>> >> sys-devel/gcc:4.4
>> >>
>> >> I did full backup before, so I compared world-file before
>> >> and after gcc-upgrade just to find out, these two lines
>> >> have been really inserted now, during gcc-upgrade. And my
>> >> question is: what does it mean? Does my system need now
>> >> both gcc 4.4 and 4.5? Why is actually gcc in world-file,
>> >> when it is part of system?
>> >
>> > The old GCC version does not get removed.  This is a good thing just in
>>
>> case the new one doesn't work for some reason.
>>
>> > If it works OK, you can manually unmerge the old version:
>> >  emerge -aC gcc:4.4
>> >
>> > Before doing that, however, make sure the new one has been activated with
>>
>> gcc-config and verify that it works by building some random package.
>>
>>
>> And if you're adventurous, add USE "graphite", reemerge gcc, and reemerge
>> world :)
>>
>> Rgds,
>
> what does "graphite" add ?
>

andrey@robot9000 /tmp $ grep graphite /usr/portage/profiles/use*.desc
/usr/portage/profiles/use.local.desc:app-office/libreoffice:graphite -
Enable support for non-Roman fonts via media-gfx/graphite2
/usr/portage/profiles/use.local.desc:app-portage/eix:strong-optimization
- Adds several more agressive CXXFLAGS/LDFLAGS for optimization like
graphite (if available). May cause trouble with some buggy compiler
versions. Absense of this USE flag does not strip user's *FLAGS
/usr/portage/profiles/use.local.desc:media-libs/harfbuzz:graphite -
Enable support for non-Roman fonts via media-gfx/graphite2
/usr/portage/profiles/use.local.desc:media-libs/silgraphite:pango -
Enables the pango-graphite pango module.
/usr/portage/profiles/use.local.desc:sys-devel/gcc:graphite - Add
support for the framework for loop optimizations based on a polyhedral
intermediate representation



Re: [gentoo-user] Upgrading gcc: both 4.4 and 4.5 needed?

2011-11-15 Thread Andrey Moshbear
On Tue, Nov 15, 2011 at 13:58, Jarry  wrote:
> Hi,
> today I upgraded gcc from 4.4.5 to the last stable version
> 4.5.3-r1. I followed "Gentoo GCC Upgrade Guide":
>
> # emerge -uav gcc
> # gcc-config 2
> # env-update && source /etc/profile
> # emerge --oneshot libtool
>
> # emerge --depclean
> # revdep-rebuild
>
> But at the and I noticed gcc 4.4 has not been unmerged
> and my "world" file is somehow larger. To my surprise,
> it contains these lines:
>
> sys-devel/gcc
> sys-devel/gcc:4.4
>
> I did full backup before, so I compared world-file before
> and after gcc-upgrade just to find out, these two lines
> have been really inserted now, during gcc-upgrade. And my
> question is: what does it mean? Does my system need now
> both gcc 4.4 and 4.5? Why is actually gcc in world-file,
> when it is part of system?
>

Because your forgot the -1 / --oneshot flag when manually upgrading gcc.
However, in system, multiple gcc slots do  not exist, so if you need gcc:4.4 for
backwards compatibility or gcc:4.6 for forwards compatibility, it'll show up in
your world file.



[gentoo-user] Gcc bug 1773

2011-11-04 Thread Andrey Moshbear
While gentoo is not solaris 8, are there any packages for which
setting __cplusplus to 199711L would break compiles?

If there isn't, I'm going to hack the patches for 1773 together and
include it on the bugzilla as a backport from gcc 4.7.0 so that it
could become part of the gcc-gentoo patchset for 4.
Also, the C++11 __cplusplus revision for gcc-4.5, gcc-4.6. (4.4's
c++0x is rather incomplete; 4.5 and 4.6 are better, because it's
closer to somewhat-ish instead of partial.


-- m0shbear



Re: [gentoo-user] DVD->mp4 - handbrake vs something else

2011-10-30 Thread Andrey Moshbear
On Sun, Oct 30, 2011 at 11:28, Mark Knecht  wrote:
> On Sun, Oct 30, 2011 at 4:39 AM, Andrey Moshbear  wrote:
>> On Thu, Oct 27, 2011 at 16:09, Mark Knecht  wrote:
>>> I'm getting a Kindle Fire in a few days. While I didn't get it
>>> specifically to watch movies looking at the specs it does apparently
>>> handle mp4 as a video format and they state online that you can watch
>>> streaming movies & TV shows from Amazon's servers. I do a lot of blood
>>> donations - roughly 20-25 times/year - that take 2-3 hours each so
>>> either being able to read or watch a movie would be a pleasant way to
>>> pass the time. Being able to hold it comfortably in one hand is
>>> important to me.
>>>
>>> I started looking around in Google for something to encode a few DVDs
>>> so that I could see how well it works. A program called handbrake was
>>> showing up in a lot of links, but it requires an overlay. While I have
>>> no problem adding yet another overlay (which on is best?) I wondered
>>> what might be in the normal portage database that others here use for
>>> this purpose?
>>>
>>
>> I use vobcopy to rip each title to a vob (instead of VTS_${TITLE}_$n)
>> then 2-pass ffmpeg the vob to transcode to mkv.
>>
>> Makes batch transcoding rather fast and painless.
>>
>>
>
> Thanks. Here's my progress so far using a Casablanca DVD as a test case.
>
> Again, my goal by the middle of next month is to run videos on the
> Kindle Fire. The spec sheets for the Fire says it's supports mp4. I
> don't see any other obvious video formats.
>
> 1) I tried vobcopy. I got 6GB of files. I assumed ffmpeg was the next
> step but didn't easily Google how to run it in this specific case so I
> set it aside for the moment.

Was your vobcopy line $vobcopy -i /path/to/mountpoint -n ${TITLE_NO}
-l -O ${MOVIE}_${TITLENO}.vob ?

My ffmpeg lines for dvd to mkv:

2.0 audio:
for a in 1 2; do schedtool -B -e nice ffmpeg -threads 4 -i $file.vob
-pass $a -vcodec libx264 -b 800k -deinterlace -acodec libfaac -ac 2
-ab 192k -y $file.mkv ;done

5.1:
for a in 1 2; do schedtool -B -e nice ffmpeg -threads 4 -i $1.vob
-pass $a -vcodec libx264 -x264opts preset=slower -b 800k -deinterlace
-acodec libfaac -ac 6 -ab 440k -y $1.mkv ;done

I use schedtool and nice to keep ffmpeg from hogging the cpu.

>
> My issue now (I think) is to learn to use ffmpeg to convert from m4v
> to mp4. I'd like to see about reducing the file size a bit if
> possible. At the same time the native resolution of the Fire is
> 1024x600 so I'm wondering about whether I can make the movies look
> better by making the mp4 file somehow know about that size.

Downscale hd to 480p and de-interlace DVDs and other 480i content.
720x480 will look pretty good on a 1024x600 (WSVGA) screen.



Re: [gentoo-user] DVD->mp4 - handbrake vs something else

2011-10-30 Thread Andrey Moshbear
On Thu, Oct 27, 2011 at 16:09, Mark Knecht  wrote:
> I'm getting a Kindle Fire in a few days. While I didn't get it
> specifically to watch movies looking at the specs it does apparently
> handle mp4 as a video format and they state online that you can watch
> streaming movies & TV shows from Amazon's servers. I do a lot of blood
> donations - roughly 20-25 times/year - that take 2-3 hours each so
> either being able to read or watch a movie would be a pleasant way to
> pass the time. Being able to hold it comfortably in one hand is
> important to me.
>
> I started looking around in Google for something to encode a few DVDs
> so that I could see how well it works. A program called handbrake was
> showing up in a lot of links, but it requires an overlay. While I have
> no problem adding yet another overlay (which on is best?) I wondered
> what might be in the normal portage database that others here use for
> this purpose?
>

I use vobcopy to rip each title to a vob (instead of VTS_${TITLE}_$n)
then 2-pass ffmpeg the vob to transcode to mkv.

Makes batch transcoding rather fast and painless.



Re: [gentoo-user] Amarok segfault

2011-10-23 Thread Andrey Moshbear
On Sun, Oct 23, 2011 at 15:09, András Csányi  wrote:
> Dear All,
>
> I'm an average Amarok user and experiencing a random segfault I
> decided that I would like to report it. I know I have to recompile
> Amarok with debug flag but I'm not sure it is enough. Can you tell me
> what is needed more? By the way, these reports should be send for the
> Amarok developers not gentoo guys, shouldn't they?
>

Backtrace! Backtrace, backtrace, backtrace, backtrace, backtrace!

Also, core file, if possible.



Re: [gentoo-user] Issue 3 - CD Playing

2011-10-22 Thread Andrey Moshbear
On Sat, Oct 22, 2011 at 15:28, Dale  wrote:
> Colleen Beamer wrote:
>>
>> On 10/22/11 04:14, Dale wrote:
>>>
>>> Mick wrote:

 On Saturday 22 Oct 2011 01:19:15 Colleen Beamer wrote:
>
> This is solved.
>
> The solution came from posting to KDE forums.
>
> It was a configuration issue:
>
> In System Settings, I had to select "Device Actions", "Play Audio CD
> with KsCD, select Edit, select "the devices property Available Content
> must equal Audio, choose "Property Match"for the parameter type,
> "Optical Disk" for the Device type, "Available Content" for the Value
> name and Equals Audio.
>
> That did the trick!

 Thanks for letting us know!  I recall having problems in the past
 with kscd on
 a KDE desktop and I couldn't remember if I ever fixed it.  Now I know
 how.  ;-)

>>> I finally got mine to open too.  I did a emerge -e world since I could
>>> tell it was just some dep that got missed.  Anyway, is it just me or
>>> is KSCD just got plain ugly?
>>
>> Yeah, used to be much easier to use.  Like I said in a previous post,
>> I'm a bit anal and this bugged me 'cause I've always had it working
>> before.  For me, kaffeine works fine and I've discovered that I like it
>> better than kscd anyway.
>>
>> Colleen
>
> I use smplayer for mine.  It's nothing fancy but it plays music.  I clicked
> on the pop up and tried to play a CD with amarock, (sp?), and I never could
> get it to even play the CD.  It wanted to build some database or something.
> I'm in the mood to get rid of that thing.
>
> I'll check into this Kaffeine thing tho.
>

amarok

And why not just use mplayer? We're gentoo users, so it's expected
that at least one xterm is active. So just ^+T (for +=shift) and run
mplayer.

Also, amarok segfaults on my box on startup. Couldn't be arsed to look
at the backtrace.



Re: [gentoo-user] Which desktop antivirus?

2011-10-22 Thread Andrey Moshbear
On Sat, Oct 22, 2011 at 13:27, Dale  wrote:
> Mick wrote:
>>
>> Hi All,
>>
>> I'm asked for a desktop antivirus (the box is running KDE) but I have
>> never
>> used an antivirus on Linux.  This page that I googled up shows a number of
>> them:
>>
>>   http://www.makeuseof.com/tag/free-linux-antivirus-programs/
>>
>> Meanwhile, portage only lists clamav under app-antivirus/.
>>
>> The machine in question is running kmail to receive/send messages from ISP
>> mail servers and ssmtp to send log messages for relaying via said ISP.
>>
>> What have you tried and what would you recommend for such a desktop setup?
>
> I have to agree with most everyone else on this one.  You don't really need
> a anit-virus software to protect yourself.  I do think it is good that you
> want to protect others by catching them while on your machine and then you
> know not to spread them around to others who can be infected.  I used to do
> this a long time ago but I have policies here about sending messages to
> others.  Mostly, I don't do it unless I know it is virus free.  If I get a
> video that is funny or something, I find it on youtube and just forward a
> link to that.  I'm sure youtube checks its stuff to be sure it is clean.
>
> If you set up a process like this, you shouldn't spread anything but you do
> have to think before hitting forward too.  I think people have figured out I
> don't forward just anything so I don't get a lot of "junk" anymore.
>
> I do agree on using AVG as someone else posted.  I have that on my brothers
> XP box.  He likes it better than Norton that he used to pay for.  If you can
> get that running on Linux, then that would be great.  Another pretty good
> one that I used to use was f-prot but I think AVG would be better still.
>

Nod32 is nice, but you need to patch dazuko into your kernel for it to
work in real-time.



[gentoo-user] Re: [gentoo-user] Re: [gentoo-user] 回复: [gentoo-user] Why iwconfig wlan0 enc can't work?

2011-10-21 Thread Andrey Moshbear
On Fri, Oct 21, 2011 at 12:39, Sebastian Beßler
 wrote:
> Am 21.10.2011 18:07, schrieb Michael Mol:
>
>> A WPA supplicant is a process which negotiates keychanges for WPA.
>> wpa_supplicant is not the only WPA supplicant package available;
>> there's also NetworkManager and wicd.
>
> NetworkManager and wicd uses wpa_supplicant, they don't replace it.
>

NetworkManager and wicd are pretty much wpa_gui with a
post-connection restart of dhcpcd (dhcpcd -k $iface; dhcpcd $iface) or
whatever your dhcp client is.
And, to some degree, netplug.



Re: [gentoo-user] Can't enable effects in kde

2011-10-20 Thread Andrey Moshbear
On Thu, Oct 20, 2011 at 05:20, Vishnupradeep
 wrote:
> I am new to gentoo.
> Installed kde in gentoo. But i am unable to enable effects like. blur,
> woobly etc.. why ?

What is the output of glxinfo?



Re: [gentoo-user] Vmware Player 4 from vmware-overlay

2011-10-20 Thread Andrey Moshbear
On Thu, Oct 20, 2011 at 05:53, Stefan G. Weichinger  wrote:
> Am 19.10.2011 23:14, schrieb Mark Knecht:
>
>> I've decided to stick with vmware-player-3.1.4 for use as a Netflix VM
>> only. All of my real work is done in Virtualbox VMs using both 32-bit
>> NT and 64-bit Win 7. The only problem I've had recently is that my
>> dual monitor Win 7 VM tends to 'abort' about 40% of the time when
>> starting. Once it's up and running it's fine, but getting it started
>> on any day is pretty much hit-or-miss.
>
> hmm, nothing I long for ---
>
> I stay w/ vmware-player-3.1.5 for now (out of vmware-overlay).
>
> Thanks, S
>

I've had rather pleasant experiences with virtualbox. Less
libhell/libnazism, too.
Plus, less drivers to modprobe (just vboxdrv, vboxnet as needed)
instead of the 4 or so needed for vmware.



[gentoo-user] Re: [gentoo-user] 回复: [gentoo-user] Why can't I set the resolution of console ?

2011-10-19 Thread Andrey Moshbear
2011/10/20 Lavender <448463...@qq.com>:
> -- 原始邮件 --
> 发件人: "Andrey Moshbear";
> 发送时间: 2011年10月20日(星期四) 下午2:06
> 收件人: "gentoo-user";
> 主题: Re: [gentoo-user] Why can't I set the resolution of console ?
>
> On Thu, Oct 20, 2011 at 02:05, Lavender <448463...@qq.com> wrote:
>> I edit the command line of grub at boot time .
>> I passed some parametres to kernel like below:
>>
>> root=/dev/sda6 video=atyfb:1024x768@60m
>>
>> and I also tried another one:
>>
>> root=/dev/sda6 video=aty128fb:1024x768@60m
>>
>> Both of them didn't show any error messages and the system
>> can start up, but the resolution still no changed.
>>
>> There is an issue happened in my buiding kernel : I hadn't found
>> the driver for my video card. I'm not sure whether it has anything
>> to do with this issue?
>>
>> BTW, my video card information is below:
>>
>> ATI Technologies Inc M92 LP  (ATI Radeon 4330 series)
> I just checked my system and found that there is no V86d utility.
> It is wired because I remember the vesa option was chosen
> by default  :-(  . What should I do now? Should I rebuild my kernel or
> compiled vesa into module ?
>
>

Why are you using atyfb instead of (u)vesafb?

Anyhow, uvesafb's plusses over vesafb are:
"
   1. Proper blanking and hardware suspension after delay
   2. Support for custom resolutions as in the system BIOS.
" ( ArchLinux wiki)

Its minus is the requirement of adding /sbin/v86d to the initrd/initramfs.

Also, please avoid top-posting (
http://en.wikipedia.org/wiki/Posting_style#Top-posting ).
Bottom-posting increases readability.



Re: [gentoo-user] Why can't I set the resolution of console ?

2011-10-19 Thread Andrey Moshbear
On Thu, Oct 20, 2011 at 02:05, Lavender <448463...@qq.com> wrote:
> I edit the command line of grub at boot time .
> I passed some parametres to kernel like below:
>
> root=/dev/sda6 video=atyfb:1024x768@60m
>
> and I also tried another one:
>
> root=/dev/sda6 video=aty128fb:1024x768@60m
>
> Both of them didn't show any error messages and the system
> can start up, but the resolution still no changed.
>
> There is an issue happened in my buiding kernel : I hadn't found
> the driver for my video card. I'm not sure whether it has anything
> to do with this issue?
>
> BTW, my video card information is below:
>
> ATI Technologies Inc M92 LP  (ATI Radeon 4330 series)

Is vesafb/uvesafb* compiled in?

*needs v86d and initrd with /sbin/v86d in it



Re: [gentoo-user] Issue 3 - CD Playing

2011-10-19 Thread Andrey Moshbear
On Wed, Oct 19, 2011 at 03:51, Mick  wrote:

> To listen to audio CDs you should *not* mount the CD.  Therefore the above
> entry is not required.
>
> Since you are trying to use KDE apps to play CDs you ought to check that you
> have installed:
>
>  kde-base/kdemultimedia-meta
>  kde-base/kdemultimedia-kioslaves
>

If you're using a good chunk of kde, emerge kde-base/kde-meta. Makes
kde upgrades simpler, and less pollution in the world file.



Re: [gentoo-user] Re: Which sound codecs do I need?

2011-10-17 Thread Andrey Moshbear
On Mon, Oct 17, 2011 at 16:58, Walter Dnes  wrote:
> On Thu, Oct 13, 2011 at 04:58:24AM +0300, Nikos Chantziaras wrote
>> On 10/13/2011 02:35 AM, Walter Dnes wrote:
>> > I'm installing Gentoo on an older Intel Core2 Duo machine from Dell
>> > for some testing.  Checking with "lspci -v" from the install CD shows...
>> >
>> > 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio 
>> > Controller (rev 02)
>> >       Subsystem: Dell Inspiron 530
>>
>> Well, since you're too busy to use Google, let me do that for you ;-)
>>
>> http://support.dell.com/support/edocs/systems/inspd530/en/OM/HTML/appendix.htm
>>
>> The sound chip is a Realtek ALC888.  I'm sure this is all the info
>> needed to select the correct driver.
>
>  Your Google-fu is stronger than mine.  I did try Google, but it didn't
> occur to me to use that specific search.  Anyhow, thanks for the info.

snd_hda_codec_realtek on kernel >=2.6.31



Re: [gentoo-user] Gentoo Install Issue

2011-10-16 Thread Andrey Moshbear
On Sun, Oct 16, 2011 at 22:06, Adam Carter  wrote:
>>> The * is actually included in the output and I was too chicken to try
>>> this.  I don't understand why ati or radeon isn't listed 'cause I
>>> followed the Gentoo ATI Guide and X Configuration Guide.
>
> Do you have the opengl USE flag set?
>
> , fglrx is too much effort.
>
> fglrx is no trouble at all, but you need to be running a recent card
> as it doesn't support the older chipsets.

It was too buggy for my tastes.



Re: [gentoo-user] Gentoo Install Issue

2011-10-16 Thread Andrey Moshbear
On Sun, Oct 16, 2011 at 21:46, CJoeB  wrote:
> On 10/16/11 20:38, Adam Carter wrote:
>>> BTW, I had forgotten to run 'eselect opengl set ati' which I've always
>>> done when configuring X.  However, when I do this, it returns
>>> 'Unrecognized option:  ati'
>>>
>>> You all are probably thinking I'm nuts now, but I thought this my solve
>>> the issue as stated about.  I've checked an rechecked the Gentoo ATI
>>> Guide and I've done everything it says.
>> Try eselect opengl list to show what's available. IIRC ati will use
>> fglrx. There may be an option called radeon, which you can used
>> instead.
>>
>>
> I had already done this and the only option that is listed is 'xorg-x11 *'
>
> The * is actually included in the output and I was too chicken to try
> this.  I don't understand why ati or radeon isn't listed 'cause I
> followed the Gentoo ATI Guide and X Configuration Guide.
>

Is your ati card covered under radeon (classic) or radeonhd? Unless
you need hardware 3d, fglrx is too much effort.
More bitchy than nvidia, too. (Unselect 'Use OpenGL' v2 in Destkop
Effects->Advanced to keep kwin from crashing).
Also, LXDE looks prettier than KDE4 without OpenGL, and XRender
disables half the plugins because they require OpenGL.
A prime example of this is the desktop cube.

-- m0shbear



[gentoo-user] Subdirs with mutt

2011-10-16 Thread Andrey Moshbear
For mutt, I'm using a maildir.
How do I get subdirs created by maildirmake -f  ~/.mail to
show up in mutt's sidebar and how do I switch between the top-level
folder and subfolders without qmutt.. ?

--
001100 Andrey "m05hbear" Vul
010010
00 andrey at moshbear dot net
11 andrey dot vul at gmail
101101 4163039923
110011



Re: [gentoo-user] {OT} Computers and mental/emotional health

2011-10-08 Thread Andrey Moshbear
On Sat, Oct 8, 2011 at 18:19, Dale  wrote:
> Mark Knecht wrote:
>>
>> On Sat, Oct 8, 2011 at 12:00 PM, Dale  wrote:
>>>
>>> I have my garden.  That gets me outside in the sun and some exercise.  I
>>> really need a gut buster tho.  I just eat to much.  lol
>>>
>>> Dale
>>
>> I lost 45 pounds (approximately 25% of my pre-diet weight)  this year
>> on Atkins. I know a lot of folks have trouble with Atkins but it
>> worked great for me.
>>
>> - Mark
>>
>>
>
> My problems are I like to cook and I like my cooking.  Since I have
> arthritis and all, I can't jog or run it off.
>
> Oh well, I'm not that bad but I do have a gut I'd like to loan someone.  I
> wish I could transfer it to my girlfriend.  She could use it.  lol  She's
> really little, like 85 to 90 lbs little.  o_o
>

If your back isn't in bad form, try stronglifts. There's nothing
better than powerlifts to keep your back safe.



Re: [gentoo-user] {OT} Computers and mental/emotional health

2011-10-07 Thread Andrey Moshbear
Xkcd 456 much?

On 2011-10-07, Michael Mol  wrote:
> On Fri, Oct 7, 2011 at 10:14 PM, Pandu Poluan  wrote:
>>> On 2011-10-07, Diego Augusto Molina  wrote:
>>> > Have sex! That's the first thing you can do to keep your mind out of
>>> > madness.
>>> > Really, look at the benefits of having sex and you'll see it's a
>>> > complete excercise for body, obviously you have to excercise your
>>> > social skills and has some really cool consecuences on your body,
>>> > methabolism, etc. (just google it).
>>> > You can have as much as you want (or can, hehe) and it'll never be bad
>>> > (just use condoms, and try avoiding weird stuff...).
>>> >
>>> > --
>>> > Diego Augusto Molina
>>> > diegoaugustomol...@gmail.com
>>> >
>>> > ES: Por favor, evite adjuntar documentos de Microsoft Office. Serán
>>> > desestimados.
>>> > EN: Please, avoid attaching Microsoft Office documents. They shall be
>>> > discarded.
>>> > LINK: http://www.gnu.org/philosophy/no-word-attachments.html
>>> >
>>> >
>>
>> On Oct 8, 2011 1:43 AM, "Andrey Moshbear"  wrote:
>>>
>>> Sex? Ysex? Are you aware that this is gentoo-users that you're posting
>>> in?
>>> :P
>>>
>>
>> Well, he was replying to the thread where we're discussing ways to
>> overcome
>> 'computing fatigue'.
>>
>> That said... I am not aware that to be a Gentoo user, one has to be
>> celibate... :-P
>
> Indeed not. ;)
>
> Actually, working on getting my SO into Gentoo, herself. :)
>
> --
> :wq
>
>

-- 
Sent from my mobile device

001100 Andrey "m05hbear" Vul
010010
00 andrey at moshbear dot net
11 andrey dot vul at gmail
101101 4163039923
110011

Today's quote:
[ ] Obsolete code offends me.
[ ] Be aware of [ ] Murphy's, [ ] Muphry's Law.
[ ] Use [ ] Occam's, [ ] Hanlon's razor.
[ ] Greenspun's Tenth Rule.
[ ] Sturgeon's Law, [ ] Pareto principle.
[ ] RTFM, [ ] RTF[__]
[ ] [___]



Re: [gentoo-user] {OT} Computers and mental/emotional health

2011-10-07 Thread Andrey Moshbear
Sex? Ysex? Are you aware that this is gentoo-users that you're posting in? :P

On 2011-10-07, Diego Augusto Molina  wrote:
> Have sex! That's the first thing you can do to keep your mind out of
> madness.
> Really, look at the benefits of having sex and you'll see it's a
> complete excercise for body, obviously you have to excercise your
> social skills and has some really cool consecuences on your body,
> methabolism, etc. (just google it).
> You can have as much as you want (or can, hehe) and it'll never be bad
> (just use condoms, and try avoiding weird stuff...).
>
> --
> Diego Augusto Molina
> diegoaugustomol...@gmail.com
>
> ES: Por favor, evite adjuntar documentos de Microsoft Office. Serán
> desestimados.
> EN: Please, avoid attaching Microsoft Office documents. They shall be
> discarded.
> LINK: http://www.gnu.org/philosophy/no-word-attachments.html
>
>

-- 
Sent from my mobile device

001100 Andrey "m05hbear" Vul
010010
00 andrey at moshbear dot net
11 andrey dot vul at gmail
101101 4163039923
110011

Today's quote:
[ ] Obsolete code offends me.
[ ] Be aware of [ ] Murphy's, [ ] Muphry's Law.
[ ] Use [ ] Occam's, [ ] Hanlon's razor.
[ ] Greenspun's Tenth Rule.
[ ] Sturgeon's Law, [ ] Pareto principle.
[ ] RTFM, [ ] RTF[__]
[ ] [___]



Re: [gentoo-user] Re: SERVFAIL with bind; problems in named.conf?

2011-10-05 Thread Andrey Moshbear
The zone file was 640 root:root. It should've been 640 root:named.



Re: [gentoo-user] Re: SERVFAIL with bind; problems in named.conf?

2011-10-05 Thread Andrey Moshbear
Bit by yet another EPERM :/



[gentoo-user] Re: SERVFAIL with bind; problems in named.conf?

2011-10-05 Thread Andrey Moshbear
No clue, as logging isn't yet enabled. However, chechzone says that all is fine.

On 2011-10-05, Alan McKinnon  wrote:
> On Wed, 5 Oct 2011 05:06:27 -0400
> Andrey Moshbear  wrote:
>
>> For bind, I have the following as named.conf:
>>
>> acl "xfer" { none; };
>>
>> acl "trusted" { 127.0.0.0/8; ::1/128; };
>>
>> options {
>> directory "/var/bind";
>> pid-file "/var/run/named/named.pid";
>>
>> listen-on-v6 { none; };
>> listen-on port 53 { 127.0.0.1; 192.168.1.0/10; EXTERNAL_IP; };
>> };
>>
>> include "/etc/bind/rndc.key";
>> controls { inet 127.0.0.1 port 953 allow { 127.0.0.1/32; ::1/128; }
>> keys { "rndc-key"; }; };
>>
>> zone "." in { type hint; file "/var/bind/root.cache"; };
>>
>> zone "localhost" IN { type master; file "pri/localhost.zone"; notify
>> no; };
>>
>> zone "127.in-addr.arpa" IN { type master; file "pri/127.zone"; notify
>> no; };
>>
>> zone "moshbear.net" IN  { type master; file
>> "/var/bind/pri/moshbear.net.zone"; allow-query { any; };
>> allow-transfer { xfer; }; };
>> // end of dump
>>
>> The zone file does not have any errors.
>>
>> Any reasons as to why "dig @127.0.0.1 moshbear.net" returns SERVFAIL?
>
> What result does bind write to log files when it loads that zone?
>
> SERVFAIL usually indicates something wrong with the zone and bind
> refuses to load it.
>
>
>
>
>>
>> --
>> 001100 Andrey "m05hbear" Vul
>> 010010
>> 11 andrey dot vul at gmail
>> 110011
>>
>
>
>
> --
> Alan McKinnnon
> alan.mckin...@gmail.com
>
>

-- 
Sent from my mobile device

001100 Andrey "m05hbear" Vul
010010
00 andrey at moshbear dot net
11 andrey dot vul at gmail
101101 4163039923
110011

Today's quote:
[ ] Obsolete code offends me.
[ ] Be aware of [ ] Murphy's, [ ] Muphry's Law.
[ ] Use [ ] Occam's, [ ] Hanlon's razor.
[ ] Greenspun's Tenth Rule.
[ ] Sturgeon's Law, [ ] Pareto principle.
[ ] RTFM, [ ] RTF[__]
[ ] [___]



[gentoo-user] SERVFAIL with bind; problems in named.conf?

2011-10-05 Thread Andrey Moshbear
For bind, I have the following as named.conf:

acl "xfer" { none; };

acl "trusted" { 127.0.0.0/8; ::1/128; };

options {
directory "/var/bind";
pid-file "/var/run/named/named.pid";

listen-on-v6 { none; };
listen-on port 53 { 127.0.0.1; 192.168.1.0/10; EXTERNAL_IP; };
};

include "/etc/bind/rndc.key";
controls { inet 127.0.0.1 port 953 allow { 127.0.0.1/32; ::1/128; }
keys { "rndc-key"; }; };

zone "." in { type hint; file "/var/bind/root.cache"; };

zone "localhost" IN { type master; file "pri/localhost.zone"; notify no; };

zone "127.in-addr.arpa" IN { type master; file "pri/127.zone"; notify no; };

zone "moshbear.net" IN  { type master; file
"/var/bind/pri/moshbear.net.zone"; allow-query { any; };
allow-transfer { xfer; }; };
// end of dump

The zone file does not have any errors.

Any reasons as to why "dig @127.0.0.1 moshbear.net" returns SERVFAIL?

--
001100 Andrey "m05hbear" Vul
010010
11 andrey dot vul at gmail
110011



Re: [gentoo-user] How to easily find out what USE flags are redundant in make.conf and package.use?

2011-10-01 Thread Andrey Moshbear
On Sun, Oct 2, 2011 at 00:17, Spidey  wrote:
> The question is in the subject: how to easily find out what USE flags are
> redundant in make.conf and package.use?
> Someone somewhere in this list suggested using some tool, I've tried that
> but it was extremely verbose, and I'd had to toggle manually flags to see if
> it affected or not.
> If some tool to pinpoint redundant flags is not already done, one to echo my
> flags separated by it's source (profile, make.conf, package.use, ebuild)
> would help me a lot.

Look into app-portage/ufed.



Re: [gentoo-user] Re: kde4: no hardware info without sys-apps/hal

2011-10-01 Thread Andrey Moshbear
On Sat, Oct 1, 2011 at 09:25, Indi  wrote:
> On Sat, Oct 01, 2011 at 07:06:20AM -0400, Andrey Moshbear wrote:
>>
>> Found the problem: setuid bit was missing; chmod 4711 did the trick
>> (verified via solid-hardware list).
>> Time to logout and login and see if that was all.
>>
>
> You're very courageous, posting that you found the solution before
> actually testing it. :D

I prefer the term "insane" :D



Re: [gentoo-user] Re: kde4: no hardware info without sys-apps/hal

2011-10-01 Thread Andrey Moshbear
On Sat, Oct 1, 2011 at 07:06, Andrey Moshbear  wrote:
> On Sat, Oct 1, 2011 at 04:50, Neil Bothwick  wrote:
>> On Sat, 1 Oct 2011 04:18:45 -0400, Andrey Moshbear wrote:
>>
>>> > This one caused my hotplugging to stop working in KDE. The fix was
>>> >
>>> > chmod o+x /usr/libexec/dbus-daemon-launch-helper
>>> >
>>>
>>> (udisks:[pid]): udisks-WARNING **: Couldn't enumerate devices: The
>>> permission of the setuid helper is not correct
>>>
>>> /usr/libexec/dbus-daemon-launch-helper 's perms are 711.
>>
>> It worked for me, no such errors.
>>
>> ls -l /usr/libexec/dbus-daemon-launch-helper
>> -rws--x--x 1 root messagebus 312K Sep 27 08:30 
>> /usr/libexec/dbus-daemon-launch-helper
>>
>> MAybe your problem is slightly different. My laptop has no problems with
>> the default permissions, both are running ~amd64.
>>
>
> Found the problem: setuid bit was missing; chmod 4711 did the trick
> (verified via solid-hardware list).
> Time to logout and login and see if that was all.
>

Yes, everything is now in order. Thanks to all who helped.



Re: [gentoo-user] Re: kde4: no hardware info without sys-apps/hal

2011-10-01 Thread Andrey Moshbear
On Sat, Oct 1, 2011 at 04:50, Neil Bothwick  wrote:
> On Sat, 1 Oct 2011 04:18:45 -0400, Andrey Moshbear wrote:
>
>> > This one caused my hotplugging to stop working in KDE. The fix was
>> >
>> > chmod o+x /usr/libexec/dbus-daemon-launch-helper
>> >
>>
>> (udisks:[pid]): udisks-WARNING **: Couldn't enumerate devices: The
>> permission of the setuid helper is not correct
>>
>> /usr/libexec/dbus-daemon-launch-helper 's perms are 711.
>
> It worked for me, no such errors.
>
> ls -l /usr/libexec/dbus-daemon-launch-helper
> -rws--x--x 1 root messagebus 312K Sep 27 08:30 
> /usr/libexec/dbus-daemon-launch-helper
>
> MAybe your problem is slightly different. My laptop has no problems with
> the default permissions, both are running ~amd64.
>

Found the problem: setuid bit was missing; chmod 4711 did the trick
(verified via solid-hardware list).
Time to logout and login and see if that was all.



Re: [gentoo-user] Re: kde4: no hardware info without sys-apps/hal

2011-10-01 Thread Andrey Moshbear
On Fri, Sep 30, 2011 at 18:10, Neil Bothwick  wrote:
> On Fri, 30 Sep 2011 16:34:36 -0400, Andrey Moshbear wrote:
>
>> Also, recurring errors in the form of "Failed to execute program
>> /usr/libexec/dbus-daemon-launch-helper: Success", which is determined
>> to be EPERM, which is probably due to Bad Things in policykit.
>
> This one caused m,y hotplugging to stop working in KDE. The fix was
>
> chmod o+x /usr/libexec/dbus-daemon-launch-helper
>

(udisks:[pid]): udisks-WARNING **: Couldn't enumerate devices: The
permission of the setuid helper is not correct

/usr/libexec/dbus-daemon-launch-helper 's perms are 711.



Re: [gentoo-user] Re: kde4: no hardware info without sys-apps/hal

2011-09-30 Thread Andrey Moshbear
2011/9/27 Jesús J. Guerrero Botella :
> Check that the consolekit service is also on at bootup.
>
> Besides that, the udisks, upower, consolekit, policykit and udev flags
> apply here. Check they are on, particularly for kde-base/kdelibs
> (emerge -pv kdelibs).

All are enabled.

> What kdelibs (and kde, in general) version(s) are you using?

4.7.1

> Hal hasn't been needed for disk mounting nor anything else for a long time.
>

Consolekit has indeed been in init, but hotplug and acpi are still
non-functional.
I don't know if this is related, but the kde policykit thingy dies
shortly after login due to a buffer overflow in memcpy.

Here's the output of solid-hardware list:
Object::connect: No such signal
QDBusAbstractInterface::DeviceAdded(QString) in
/var/tmp/portage/kde-base/kdelibs-4.7.1/work/kdelibs-4.7.1/solid/solid/backends/upower/upowermanager.cpp:67
Object::connect: No such signal
QDBusAbstractInterface::DeviceRemoved(QString) in
/var/tmp/portage/kde-base/kdelibs-4.7.1/work/kdelibs-4.7.1/solid/solid/backends/upower/upowermanager.cpp:69
Object::connect: No such signal
QDBusAbstractInterface::DeviceAdded(QDBusObjectPath) in
/var/tmp/portage/kde-base/kdelibs-4.7.1/work/kdelibs-4.7.1/solid/solid/backends/udisks/udisksmanager.cpp:70
Object::connect: No such signal
QDBusAbstractInterface::DeviceRemoved(QDBusObjectPath) in
/var/tmp/portage/kde-base/kdelibs-4.7.1/work/kdelibs-4.7.1/solid/solid/backends/udisks/udisksmanager.cpp:72
Object::connect: No such signal
QDBusAbstractInterface::DeviceChanged(QDBusObjectPath) in
/var/tmp/portage/kde-base/kdelibs-4.7.1/work/kdelibs-4.7.1/solid/solid/backends/udisks/udisksmanager.cpp:74
QStringList Solid::Backends::UDisks::UDisksManager::allDevicesInternal()
 error:  "org.freedesktop.DBus.Error.Spawn.ExecFailed"
virtual QStringList
Solid::Backends::UPower::UPowerManager::allDevices()  error:
"org.freedesktop.DBus.Error.Spawn.ExecFailed"
udi = '/org/kde/solid/udev/sys/devices/LNXSYSTM:00/LNXCPU:00'
udi = '/org/kde/solid/udev/sys/devices/LNXSYSTM:00/LNXCPU:01'
udi = '/org/kde/solid/udev/sys/devices/pci:00/:00:1b.0/sound/card0/adsp'
udi = 
'/org/kde/solid/udev/sys/devices/pci:00/:00:1b.0/sound/card0/audio'
udi = '/org/kde/solid/udev/sys/devices/pci:00/:00:1b.0/sound/card0/dsp'
udi = 
'/org/kde/solid/udev/sys/devices/pci:00/:00:1b.0/sound/card0/hwC0D0'
udi = 
'/org/kde/solid/udev/sys/devices/pci:00/:00:1b.0/sound/card0/hwC0D1'
udi = 
'/org/kde/solid/udev/sys/devices/pci:00/:00:1b.0/sound/card0/hwC0D2'
udi = 
'/org/kde/solid/udev/sys/devices/pci:00/:00:1b.0/sound/card0/mixer'
udi = 
'/org/kde/solid/udev/sys/devices/pci:00/:00:1b.0/sound/card0/pcmC0D0c'
udi = 
'/org/kde/solid/udev/sys/devices/pci:00/:00:1b.0/sound/card0/pcmC0D0p'
udi = 
'/org/kde/solid/udev/sys/devices/pci:00/:00:1b.0/sound/card0/pcmC0D1p'
udi = 
'/org/kde/solid/udev/sys/devices/pci:00/:00:1b.0/sound/card0/pcmC0D3p'
udi = 
'/org/kde/solid/udev/sys/devices/pci:00/:00:1b.0/sound/card0/controlC0'
udi = 
'/org/kde/solid/udev/sys/devices/pci:00/:00:1c.1/:03:00.0/net/wlan0'
udi = 
'/org/kde/solid/udev/sys/devices/pci:00/:00:1c.5/:08:00.0/net/eth0'
udi = 
'/org/kde/solid/udev/sys/devices/pci:00/:00:1d.7/usb2/2-5/2-5:1.0/video4linux/video0'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS0'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS1'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS2'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS3'
udi = '/org/kde/solid/udev/sys/devices/virtual/net/lo'
udi = '/org/kde/solid/udev/sys/devices/virtual/net/sit0'
udi = '/org/kde/solid/udev/sys/devices/virtual/sound/seq'
udi = '/org/kde/solid/udev/sys/devices/virtual/sound/sequencer'
udi = '/org/kde/solid/udev/sys/devices/virtual/sound/sequencer2'
udi = '/org/kde/solid/udev/sys/devices/virtual/sound/timer'
udi = '/org/freedesktop/UDisks'
udi = '/org/kde/fstab'
udi = '/org/kde/upnp'

Also, recurring errors in the form of "Failed to execute program
/usr/libexec/dbus-daemon-launch-helper: Success", which is determined
to be EPERM, which is probably due to Bad Things in policykit.



Re: [gentoo-user] Re: kde4: no hardware info without sys-apps/hal

2011-09-24 Thread Andrey Moshbear
001100 Andrey "m05hbear" Vul
010010
00 andrey at moshbear dot net
11 andrey dot vul at gmail
101101 4163039923
110011

Today's quote:
[ ] Obsolete code offends me.
[ ] Be aware of [ ] Murphy's, [ ] Muphry's Law.
[ ] Use [ ] Occam's, [ ] Hanlon's razor.
[ ] Greenspun's Tenth Rule.
[ ] Sturgeon's Law, [ ] Pareto principle.
[ ] RTFM, [ ] RTF[__]
[ ] [___]




On Sat, Sep 24, 2011 at 15:38, Nikos Chantziaras  wrote:
> On 09/24/2011 09:43 PM, Andrey Moshbear wrote:
>>
>> Now that hal is out of he portage tree and uninstalled, I've noticed
>> that the following occur:
>> 1) no battery info (and other ACPI doesn't fare well too)
>> 2) Suspend key is broken; must use $sudo pm-suspend instead
>> 3) USB hotplug is broken; device notifier is oblivious to
>> inserted/removed USB devices
>>
>> Solutions?
>
> Do you have "udev" if your USE flags in make.conf?
>
>
>

While I did forget to include the output of emerge --info, udev is
indeed in USE. Here is the full output:

Portage 2.2.0_alpha54 (default/linux/amd64/10.0/desktop, gcc-4.4.5,
glibc-2.13-r4, 2.6.33-pf4 x86_64)
=
System uname: 
Linux-2.6.33-pf4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9400_@_2.53GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 20 Sep 2011 00:00:01 +
ccache version 3.1.3 [enabled]
app-shells/bash:  4.2_p10
dev-java/java-config: 2.1.11-r3
dev-lang/python:  2.6.6-r1, 2.7.2-r2, 3.1.3-r1, 3.2-r2
dev-util/ccache:  3.1.3
dev-util/cmake:   2.8.5-r2
dev-util/pkgconfig:   0.26
sys-apps/baselayout:  2.0.3
sys-apps/openrc:  0.9.2
sys-apps/sandbox: 2.5
sys-devel/autoconf:   2.13, 2.68
sys-devel/automake:   1.5-r1, 1.6.3-r1, 1.8.5-r4, 1.9.6-r3,
1.10.3, 1.11.1-r1
sys-devel/binutils:   2.21.1-r1
sys-devel/gcc:4.4.5, 4.5.3-r1
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:2.4-r1
sys-devel/make:   3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:   2.13-r4
Repositories: gentoo sunrise x11 proaudio desktop-effects multimedia
kde-sunset games roslin dev-zero lxde stuge wolf31o2 pd-overlay
moshbear-patched(wine and rtorrent patches; not in o.g.o)
Installed sets:
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config /usr/share/gnupg/qualified.txt
/var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d
/etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
/etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/
/etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d
/etc/splash /etc/terminfo /etc/texmf/language.dat.d
/etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=core2 -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks
fixlafiles fixpackages news nostrip parallel-fetch preserve-libs
protect-owned sandbox sfperms strict unknown-features-warn
unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.cs.wmich.edu/gentoo
http://gentoo.netnitco.net  
ftp://gentoo.mirrors.tds.net/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
ftp://gentoo.chem.wisc.edu/gentoo/

ftp://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/
http://mirror.the-best-hosting.net
http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/
http://gentoo.chem.wisc.edu/gentoo/
ftp://gentoo.cites.uiuc.edu/pub/gentoo/
ftp://mirrors.rit.edu/gentoo/   
ftp://mirror.mcs.anl.gov/pub/gentoo/
ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/
ftp://lug.mtu.edu/gentoo/
http://gentoo.cites.uiuc.edu/pub/gentoo/";
LANG="en_CA.UTF-8"
LC_ALL="en_CA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/x11
/var/lib/layman/pro-audio /var/lib/layman/desktop-effects
/var/lib/layman/multimedia /var/lib/layman

[gentoo-user] kde4: no hardware info without sys-apps/hal

2011-09-24 Thread Andrey Moshbear
Now that hal is out of he portage tree and uninstalled, I've noticed
that the following occur:
1) no battery info (and other ACPI doesn't fare well too)
2) Suspend key is broken; must use $sudo pm-suspend instead
3) USB hotplug is broken; device notifier is oblivious to
inserted/removed USB devices

Solutions?

--
001100 Andrey "m05hbear" Vul
010010
00 andrey at moshbear dot net
11 andrey dot vul at gmail
101101
110011



Re: [gentoo-user] mplayer id3v2

2011-05-13 Thread Andrey Moshbear
On Fri, May 13, 2011 at 22:43, Indi  wrote:
> On Sat, May 14, 2011 at 04:40:01AM +0200, Andrey Moshbear wrote:
>> On Fri, May 13, 2011 at 11:21, Paul Hartman
>>  wrote:
>> > On Fri, May 13, 2011 at 2:49 AM, Andrey Moshbear  
>> > wrote:
>> >> Is there a patch for mplayer (1.0-rc4) that adds id3v2 support?
>> >> Googling the mailinglist archives, it was said that the previous
>> >> implementation had vulns and was hence scrapped, but it sucks not
>> >> having it.
>> >
>> > libavformat, which mplayer contains, can already support it. If you
>> > add "-demuxer lavf" to your mplayer commandline (or set it in your
>> > config), you should see the ID3v2 tag.
>> >
>> >
>>
>> Now to rtfm and see how to set it in the config.
>
> The line:
>
> demuxer=lavf
>
> works here.

Thanks!



Re: [gentoo-user] Pre OpenRC update question...

2011-05-13 Thread Andrey Moshbear
On Fri, May 13, 2011 at 18:35, Mick  wrote:
> On Friday 13 May 2011 20:11:01 James Wall wrote:
>>
>> Another tool which will work well is dd.
>> as an example to back up my laptop before experimenting with new
>> distros, I do dd if=/dev/sda of=/mnt/backup/jalopy.img bs=2M to back
>> up the drive for a bare metal restore of the 40 GB hard drive.
>>
>
> Is the bs=2M important?  Should one use the block size of the drive?
Speed improvement.
If you're doing a backup of a rather large disk, I duggest piping to
bzip2 or gzip. Unless the free space is random padding, even the
slightest
compression will be more efficient, space-wise, than the raw file. The
big problem is bzip2 -9, because you only get ~2.5 MB/s compression
speed.



Re: [gentoo-user] mplayer id3v2

2011-05-13 Thread Andrey Moshbear
On Fri, May 13, 2011 at 11:21, Paul Hartman
 wrote:
> On Fri, May 13, 2011 at 2:49 AM, Andrey Moshbear  wrote:
>> Is there a patch for mplayer (1.0-rc4) that adds id3v2 support?
>> Googling the mailinglist archives, it was said that the previous
>> implementation had vulns and was hence scrapped, but it sucks not
>> having it.
>
> libavformat, which mplayer contains, can already support it. If you
> add "-demuxer lavf" to your mplayer commandline (or set it in your
> config), you should see the ID3v2 tag.
>
>

Now to rtfm and see how to set it in the config.



[gentoo-user] mplayer id3v2

2011-05-13 Thread Andrey Moshbear
Is there a patch for mplayer (1.0-rc4) that adds id3v2 support?
Googling the mailinglist archives, it was said that the previous
implementation had vulns and was hence scrapped, but it sucks not
having it.

There are unofficial forks of mplayer which have id3v2, but there's no
ebuild, in layman or otherwise, wherein mplayer has id3v2, via patch
or in tarball.

--
001100 Andrey "m05hbear" Vul
010010
00 andrey at moshbear dot net
11 andrey dot vul at gmail
101101
110011



Re: [gentoo-user] I can't understand an emerge error. Help, please!

2011-04-25 Thread Andrey Moshbear
On Mon, Apr 18, 2011 at 12:21, Alan Mackenzie  wrote:
> Hi, gentoo.
>
> When I try to run an emerge world, I get this error:
>
> # emerge --update --deep -p world
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
>
> emerge: there are no ebuilds built with USE flags to satisfy 
> "dev-libs/libgcrypt[static-libs]".
> !!! One of the following packages is required to complete your request:
> - dev-libs/libgcrypt-1.4.6 (Change USE: +static-libs)
> (dependency required by "sys-fs/cryptsetup-1.1.3-r3[-dynamic]" [ebuild])
> (dependency required by "sys-apps/hal-0.5.14-r4[crypt]" [ebuild])
> (dependency required by "@selected" [set])
> (dependency required by "@world" [argument])
>
> What is this saying?  That I need to locate a use flag "static-libs" and
> change it for package libgcrypt?  Presumably it is libgcrypt which is
> dissatisfied.  I'm having difficulty parsing the mssage.
>
> Next question: what should I do about it?

sudo emerge -av flaggie
sudo flaggie dev-libs/libgcrypt +static-libs

A package-specific useflag editor is _very_ useful for these kinds of problems.
Relevant files are /etc/portage/package.use, where cat/pkg use1 ...
useN does USE: +...
and /etc/portage/package.use.mask, where cat/pkg use1 ... useN does USE: -...

>
> Thanks for the help!
>
> --
> Alan Mackenzie (Nuremberg, Germany).
>
>