Re: [gentoo-user] Mouse pain

2023-05-14 Thread Andrey F.
On Sun, May 14, 2023, 13:46 Jack  wrote:

> On 5/14/23 16:33, Wols Lists wrote:
> > I've been having grief with my mouse for a while, and all the help I
> > can find is "how to adjust mouse speed", which is not my problem...
> > and seems to be about the only thing that is adjustable ...
> >
> > Basically even something as simple as left click doesn't work
> > properly. I'm guessing it's timing related, but I can't find anywhere
> > to adjust it. The symptoms are single clicks get interpreted as double
> > or treble clicks, and when I try (especially in games) to do a "drag
> > to select", the area the mouse drags over bears precious little
> > resemblance to the are the mouse actually is. Combined with the
> > "double click effect" it makes the mouse - randomly :-( ! - almost
> > unusable.
>

I've had the same issue pop up on several occassions and the solution both
times was to use an air duster under the click buttons to push dust out. It
drove me crazy for a long time thinking it was software-related. Hopefully
it is as simple as that for you :)

>
> > It might well be tied into system lock-ups, as every now and then the
> > system simply stops responding, as in either the mouse and keyboard
> > just no longer work, or the mouse moves freely but the system just
> > ignores it.
> >
> > Basically I just don't know how - or where - to start debugging it
> >
> > (systemd, kde system)
> >
> > Cheers,
> > Wol
>
> only some more straws to grab at
>
> - any hints in dmesg?
>
> - if it is a USB mouse, have you tried plugging it into a different
> port?  Have you tried a different mouse (to be sure it's not a hardware
> issue)
>
> - have you tried xev?
>
> - I have no idea if any of the settings in System
> Settings/Accessibility/Mouse Navigation might help, or at least help
> with debugging.
>


[gentoo-user] Re: GSoC Proposal Ranking

2023-04-25 Thread Andrey F.
Vedant, notifications won't happen until after that date. We have been
doing the ranking all week and will submit it before the deadline.

On Tue, Apr 25, 2023, 11:33 Vedant Tewari 
wrote:

> Hello,
> I hope this email finds you well, I am a current applicant for GSoC 2023,
> and I submitted a proposal for the project "Automated Gentoo Updater", I
> was wondering the proposals submitted for this project have been ranked so
> far, since the deadline for ranking the proposals is April 27th (2 days for
> now), and I haven't received any email or communication regarding the
> proposal rankings for this project, hence I was wondering if you could take
> a look at this issue and notify me as soon as possible! I would appreciate
> that and thank you for the consideration!
> Best Regards,
> Vedant
>


Re: [gentoo-user] log4j

2021-12-15 Thread Andrey F.
On Wed, Dec 15, 2021, 15:40 William Kenworthy  wrote:

> I was reading up on log4j and its recent problems and discovered it can
> "hide" layers deep inside java jar files depending on how its used.
>
> I can see that dev-embedded/arduino includes log4j directly (and does it
> embed log4j in code produced for IoT?):
>
> rattus ~ # locate *.jar|grep 4j
> /usr/share/arduino/lib/log4j-api-2.12.0.jar
> /usr/share/arduino/lib/log4j-core-2.12.0.jar
> /usr/share/arduino/lib/slf4j-api-1.7.22.jar
> /usr/share/arduino/lib/slf4j-simple-1.7.22.jar
> rattus ~ #
>
> BUT there are a lot of other jar files on my systems which have log4j
> embedded in it.
>
These are likely coming in as transitive dependencies from other
dependencies that might be shaded. Any dependencies pulling log4j need to
updated. Easier said than done obviously.

> Sylf (not in portage that I can see) seems like it can build an SBOM for a
> target (Software Bill of Materials) that could identify deeply embedded
> log4j instances - has anyone used this on a gentoo system (it looks like it
> needs to specifically target a distro) or is there something
> easier/better?  "strings|grep log4j" works on the arduino jar files but
> that wont work on propriety encrytpted jar files (such as propriety apps
> where it may likely be used).  And is doing just jar files enough?
>
> BillK
>
> ** try something like 'find /opt /lib64 /usr/share -name *.jar -print
> -exec strings {} \; |grep log4j'
>


Re: [gentoo-user] emerge-fetch.log not always updating

2020-08-03 Thread Andrey F.
Can you reproduce by manually curling it?

On Sun, Aug 2, 2020, 18:41 Dale  wrote:

> Howdy,
>
> I was in the middle of a update and noticed the server I was connected to
> was really slow.  I edited make.conf and removed that server.  I then
> restarted emerge so it would try the next server and hopefully be a better
> speed.  When I used tail to monitor emerge-fetch.log, it wasn't updating
> the fetch progress.  It stopped right where I stopped the previous
> attempt.  It looks like this:
>
>
> root@fireball / # tail -f /var/log/emerge-fetch.log
> 166050K .. .. .. .. .. 29% 66.1K
> 59m17s
> 166100K .. .. .. .. .. 29% 81.6K
> 59m17s
> 166150K .. .. .. .. .. 29% 76.2K
> 59m17s
> 166200K .. .. .. .. .. 29% 63.7K
> 59m17s
> 166250K .. .. .. .. .. 29% 29.3K
> 59m19s
> 166300K .. .. .. .. .. 29% 31.7K
> 59m22s
> 166350K .. .. .. .. .. 29% 44.7K
> 59m23s
> 166400K .. .. .. .. .. 29% 73.7K
> 59m23s
> 166450K .. .. .. .. .. 29% 22.6K
> 59m27s
> 166500K .. .. .. .^C
>
>
>
> It should show it connecting to the next server and resuming the download
> but it doesn't.  I see the network activity on gkrellm but nothing in the
> log.  It is downloading tho.  Gkrellm shows it is better but why is the log
> not showing that?
>
> Is this a bug or am I missing something?  It use some other file on
> retries or something?
>
> Thanks.
>
> Dale
>
> :-)  :-)
>


Re: [gentoo-user] HCL web-page

2020-04-21 Thread Andrey Ponomarenko
20.04.2020, 00:56, "the...@sys-concept.com" :There used to be webpage http://kmuto.jp/debian/hcl/where use could paste output of: lspci -nBut is no longer active, did it change? Use LKDDb instead: https://cateee.net/lkddb/ This is a list of device ids supported by kernel 5.6: https://cateee.net/sources/lkddb/lkddb-5.6.list hw-probe from https://linux-hardware.org searches your device ids in this list automatically: https://wiki.gentoo.org/wiki/Hardware_probe Andrey 



Re: [gentoo-user] Kernel doesn't accept any initramfs

2020-03-25 Thread andrey . vul
On Wed, Mar 25, 2020 at 8:23 AM J. Roeleveld  wrote:
>
> On Tuesday, March 24, 2020 10:57:59 PM CET andrey@gmail.com wrote:
> > On Tue, Mar 24, 2020 at 2:45 AM J. Roeleveld  wrote:
> > > On Tuesday, March 24, 2020 4:55:49 AM CET andrey@gmail.com wrote:
> > > > I've somehow built a kernel that won't accept any initramfs. To
> > > > elaborate, it hangs in shell in dracut and panicks with a minimal
> > > > initramfs as if it rejects the initramfs entirely and tries to boot an
> > > > lvm volume, which of course, fails.
> > > >
> > > > Kernel config:
> > > > http://sprunge.us/tqz3BM
> > > >
> > > > The minimal initramfs is described by the file listing
> > > > http://sprunge.us/GQVbqc
> > > > and init script http://sprunge.us/YHWY9Z , though this script is of
> > > > limited use since even with `exec sh` in the first non-comment line,
> > > > the kernel doesn't follow through.
> > > >
> > > > Thoughts?
> > >
> > > Please provide the info as attachments instead of temporary links.
>
> Few thoughts:
>
> 1) Are you certain your initramfs includes everything? My "config" file is a
> lot longer.
Yes, and it is the absolute bare minimum necessary.
>
> 2) How are you generating the initramfs?
/usr/src/linux/usr/gen_init_cpio /usr/src/initramfs/files.list | xz -z
> /boot/intramfs-img
>
> 3) how are you adding it to the bootloader?
Grub's default form. To elaborate, the usual method grub does when
generating a linux entry in grub-mkconfig.
>
> 4) Have you tried embedding the initramfs into the kernel?
Yes, and that made it work. Weird how it didn't work not embedded into
the kernel.
On further thought, it worked after a couple of debugging iterations.
Could it have been the bugs in the script at fault?
>
> Also, can you provide the kernel messages leading to and including the panic?
> (Either full text or a clear photo taken with a camera/phone/tablet)
Well, the two panics were either trying to kill init or the familiar
"VFS: Unable to mount root fs on unknown-block(0,0)". Kernel
framebuffer load reset grub's high res console and the panic took over
the screen so messages right before would've been impossible to
extract without something like a serial console.



[gentoo-user] Kernel doesn't accept any initramfs

2020-03-23 Thread andrey . vul
I've somehow built a kernel that won't accept any initramfs. To
elaborate, it hangs in shell in dracut and panicks with a minimal
initramfs as if it rejects the initramfs entirely and tries to boot an
lvm volume, which of course, fails.

Kernel config:
http://sprunge.us/tqz3BM

The minimal initramfs is described by the file listing
http://sprunge.us/GQVbqc
and init script http://sprunge.us/YHWY9Z , though this script is of
limited use since even with `exec sh` in the first non-comment line,
the kernel doesn't follow through.

Thoughts?

-- AV



Re: [gentoo-user] Kernel option missing - very frustrating...

2019-12-15 Thread Andrey F.
On Sun, Dec 15, 2019, 09:26 Daniel Frey  wrote:

> Well, I bought a new TV tuner card for MythTV, a Hauppauge QuadHD.
>
> It uses the cx23885 driver, but I can't find it anywhere.
>
> According to menuconfig:
>
> Symbol: VIDEO_CX23885 [=n]
>
>
>
> Type  : tristate
>
>
>
> Prompt: Conexant cx23885 (2388x successor) support
>
>
>Location:
>  -> Device Drivers
>
>
>  -> Multimedia support (MEDIA_SUPPORT [=y])
>
>
> (1) -> Media PCI Adapters (MEDIA_PCI_SUPPORT [=y])
>
> But it isn't there.
>
> I checked its dependencies:
>
> Depends on: MEDIA_SUPPORT [=y] &&
>MEDIA_PCI_SUPPORT [=y] &&
>(MEDIA_ANALOG_TV_SUPPORT [=n] || MEDIA_DIGITAL_TV_SUPPORT [=y]) &&
>DVB_CORE [=y] &&
>VIDEO_DEV [=n] &&
>

This is what you need to flip to 'y'

   PCI [=y] &&
>I2C [=y] &&
>INPUT [=y] &&
>SND [=y] &&
>RC_CORE [=y]
>
> ..and... :
>
> # grep
> 'CONFIG_MEDIA_SUPPORT=\|CONFIG_MEDIA_PCI_SUPPORT=\|CONFIG_MEDIA_ANALOG_TV_SUPPORT=\|CONFIG_MEDIA_DIGITAL_TV_SUPPORT=\|CONFIG_DVB_CORE=\|CONFIG_VIDEO_DEV=\|CONFIG_PCI=\|CONFIG_I2C=\|CONFIG_INPUT=\|CONFIG_SND=\|CONFIG_RC_CORE='
>
> .config
> CONFIG_PCI=y
> CONFIG_INPUT=y
> CONFIG_I2C=y
> CONFIG_RC_CORE=y
> CONFIG_MEDIA_SUPPORT=y
> CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y
> CONFIG_DVB_CORE=y
> CONFIG_MEDIA_PCI_SUPPORT=y
> CONFIG_SND=y
>
> So why on earth isn't it showing? The dependencies should be satisfied.
> I hope someone has some insight... I've had this problem before with
> tuner cards not showing and I can't remember how I fixed it.
>
> Kernel version is 5.4.2, but I also tried 4.14.143 with no difference...
>
>
> Dan
>
>


Re: [gentoo-user] >=sys-apps/texinfo-6.5: free(): invalid pointer

2019-04-23 Thread andrey . vul
On Sun, Apr 21, 2019 at 8:03 PM  wrote:
>
>
> On Sun, Apr 21, 2019, 05:23 Adam Carter,  wrote:
>>
>> On Sun, Apr 21, 2019 at 12:24 PM  wrote:
>>>
>>> Hi, folks.
>>>
>>> When texinfo tries to run to process the texinfo files as part of the
>>> compile step, perl appears to die with free(): invalid pointer.
>>>
>>> build.log: http://dpaste.com/2Z0K93S
>>> emerge --info: http://dpaste.com/1KD9J3R
>>>
>>
>> If you've just updated perl (i just got 5.28.2 today, ~amd64) you'll need to 
>> run perl-cleaner to get your perl stuff working again
>
> No change before or after, and texinfo doesn't use Perl modules not part of 
> the standard distribution.
> Is there a way to get the texinfo build to run Perl in debug mode so 
> something like a backtrace can be emitted?

I have a backtrace for sys-apps/texinfo-6.6-r1:
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x7f9edf3397a5 in __GI_abort () at abort.c:79
#2  0x7f9edf395450 in __libc_message
(action=action@entry=do_abort, fmt=fmt@entry=0x7f9edf4a7707 "%s\n") at
../sysdeps/posix/libc_fatal.c:181
#3  0x7f9edf39cfd8 in malloc_printerr
(str=str@entry=0x7f9edf4a589b "free(): invalid pointer") at
malloc.c:5341
#4  0x7f9edf39e964 in _int_free (av=, p=, have_lock=) at malloc.c:4165
#5  0x7f9edfbd3b8a in xs_abort_empty_line
(self=self@entry=0x55b7cc609128, current=current@entry=0x55b7cc901bc8,
additional_spaces_in=additional_spaces_in@entry=0x55b7cc901e68) at misc.c:74
#6  0x7f9edfbd48ea in xs_merge_text
(self=self@entry=0x55b7cc609128, current=0x55b7cc901bc8,
text_in=text_in@entry=0x55b7cbf15408)
at misc.c:303
#7  0x7f9edfbd2da4 in XS_Texinfo__MiscXSXS_merge_text
(my_perl=0x55b7cb1f9290, cv=) at MiscXS.c:266
#8  0x7f9edf8391f4 in Perl_pp_entersub (my_perl=0x55b7cb1f9290) at
pp_hot.c:5232
#9  0x7f9edf7f326a in Perl_runops_debug (my_perl=0x55b7cb1f9290)
at dump.c:2535
#10 0x7f9edf75a58d in S_run_body (oldscope=1,
my_perl=0x55b7cb1f9290) at perl.c:2694
#11 perl_run (my_perl=0x55b7cb1f9290) at perl.c:2617
#12 0x55b7cabf428d in main (argc=, argv=, env=) at perlmain.c:122
(gdb) q

By the looks of it, something suspicious is going on in the compile of
MiscXS.so. This is similar to https://bugs.gentoo.org/622576 but
because the issue occurred with sys-apps/texinfo-6.6-r1, it can't be
exactly that.



Re: [gentoo-user] >=sys-apps/texinfo-6.5: free(): invalid pointer

2019-04-21 Thread andrey . vul
On Sun, Apr 21, 2019, 05:23 Adam Carter,  wrote:

> On Sun, Apr 21, 2019 at 12:24 PM  wrote:
>
>> Hi, folks.
>>
>> When texinfo tries to run to process the texinfo files as part of the
>> compile step, perl appears to die with free(): invalid pointer.
>>
>> build.log: http://dpaste.com/2Z0K93S
>> emerge --info: http://dpaste.com/1KD9J3R
>>
>>
> If you've just updated perl (i just got 5.28.2 today, ~amd64) you'll need
> to run perl-cleaner to get your perl stuff working again
>
No change before or after, and texinfo doesn't use Perl modules not part of
the standard distribution.
Is there a way to get the texinfo build to run Perl in debug mode so
something like a backtrace can be emitted?

>


[gentoo-user] >=sys-apps/texinfo-6.5: free(): invalid pointer

2019-04-20 Thread andrey . vul
Hi, folks.

When texinfo tries to run to process the texinfo files as part of the
compile step, perl appears to die with free(): invalid pointer.

build.log: http://dpaste.com/2Z0K93S
emerge --info: http://dpaste.com/1KD9J3R

- AV



[gentoo-user] Re: Woes with Kernel and Iptables

2018-11-16 Thread Andrey F.
I wound up solving this myself by painstakingly looking at a kernel of
a working machine and getting all of the network-related options to
match.

Here is the gist of the changes I had to make to the kernel to get
this to work: https://gist.github.com/afalko/034966bf72f5da8070d5829c8aac40e4

I followed it up by rebuilding the kernel like so:
MAKEOPTS="-j4" make && make modules && make modules_install && make
install && make mo
dules_prepare && emerge @module-rebuild

Hopefully this might help another poor soul who might get stuck on this.

-Andrey
On Fri, Nov 16, 2018 at 1:34 AM Andrey F.  wrote:
>
> Hi everyone,
>
> I have a newly provisioned machine and for the life of me, I can't get
> iptables working. Here is the error:
>
> # iptables -L
> iptables v1.6.1: can't initialize iptables table `filter': Table does
> not exist (do you need to i
> nsmod?)
> Perhaps iptables or your kernel needs to be upgraded.
>
> # lsmod
> Module  Size  Used by
> ip_tables  24576  0
>
> I see the same error after manually modprobing iptable_filter:
>
> # modprobe iptable_filter
> # lsmod
> Module  Size  Used by
> iptable_filter 16384  0
> ip_tables  24576  1 iptable_filter
>
> I've also tried building it into the kernel, with no luck. On the
> userspace-side I've went as far is doing a full "emerge -e iptables".
> I tried upgrading to iptables-1.8 too. I also tried upgrading kernel
> headers to match the version of the kernel I'm currnetly running.
> Nothing I do can get it to work.
>
> # uname -r
> 4.18.18
>
> Thanks in advance for any suggestions!
> -Andrey
>
> P.S. Below are my related kernel settings. I tried to make them all
> built-in, but that didn't work.
>
> # zcat /proc/config.gz | grep NETF | grep -v XT
> CONFIG_NETFILTER=y
> CONFIG_NETFILTER_ADVANCED=y
> CONFIG_BRIDGE_NETFILTER=y
> CONFIG_NETFILTER_INGRESS=y
> CONFIG_NETFILTER_NETLINK=y
> CONFIG_NETFILTER_FAMILY_BRIDGE=y
> CONFIG_NETFILTER_FAMILY_ARP=y
> CONFIG_NETFILTER_NETLINK_ACCT=y
> CONFIG_NETFILTER_NETLINK_QUEUE=y
> CONFIG_NETFILTER_NETLINK_LOG=y
> CONFIG_NETFILTER_CONNCOUNT=y
> CONFIG_NETFILTER_NETLINK_GLUE_CT=y
> CONFIG_NETFILTER_SYNPROXY=y
>
> # zcat /proc/config.gz | grep IPTA
> CONFIG_IP_NF_IPTABLES=m
> CONFIG_IP6_NF_IPTABLES=y
>
> # zcat /proc/config.gz | grep IP_NF
> CONFIG_IP_NF_IPTABLES=m
> CONFIG_IP_NF_MATCH_AH=m
> CONFIG_IP_NF_MATCH_ECN=m
> CONFIG_IP_NF_MATCH_RPFILTER=m
> CONFIG_IP_NF_MATCH_TTL=m
> CONFIG_IP_NF_FILTER=m
> CONFIG_IP_NF_TARGET_REJECT=m
> CONFIG_IP_NF_TARGET_SYNPROXY=m
> CONFIG_IP_NF_NAT=m
> CONFIG_IP_NF_TARGET_MASQUERADE=m
> CONFIG_IP_NF_TARGET_NETMAP=m
> CONFIG_IP_NF_TARGET_REDIRECT=m
> CONFIG_IP_NF_MANGLE=m
> CONFIG_IP_NF_TARGET_CLUSTERIP=m
> CONFIG_IP_NF_TARGET_ECN=m
> CONFIG_IP_NF_TARGET_TTL=m
> # CONFIG_IP_NF_RAW is not set
> CONFIG_IP_NF_SECURITY=m
> CONFIG_IP_NF_ARPTABLES=y
> CONFIG_IP_NF_ARPFILTER=y
> CONFIG_IP_NF_ARP_MANGLE=y



[gentoo-user] Woes with Kernel and Iptables

2018-11-16 Thread Andrey F.
Hi everyone,

I have a newly provisioned machine and for the life of me, I can't get
iptables working. Here is the error:

# iptables -L
iptables v1.6.1: can't initialize iptables table `filter': Table does
not exist (do you need to i
nsmod?)
Perhaps iptables or your kernel needs to be upgraded.

# lsmod
Module  Size  Used by
ip_tables  24576  0

I see the same error after manually modprobing iptable_filter:

# modprobe iptable_filter
# lsmod
Module  Size  Used by
iptable_filter 16384  0
ip_tables  24576  1 iptable_filter

I've also tried building it into the kernel, with no luck. On the
userspace-side I've went as far is doing a full "emerge -e iptables".
I tried upgrading to iptables-1.8 too. I also tried upgrading kernel
headers to match the version of the kernel I'm currnetly running.
Nothing I do can get it to work.

# uname -r
4.18.18

Thanks in advance for any suggestions!
-Andrey

P.S. Below are my related kernel settings. I tried to make them all
built-in, but that didn't work.

# zcat /proc/config.gz | grep NETF | grep -v XT
CONFIG_NETFILTER=y
CONFIG_NETFILTER_ADVANCED=y
CONFIG_BRIDGE_NETFILTER=y
CONFIG_NETFILTER_INGRESS=y
CONFIG_NETFILTER_NETLINK=y
CONFIG_NETFILTER_FAMILY_BRIDGE=y
CONFIG_NETFILTER_FAMILY_ARP=y
CONFIG_NETFILTER_NETLINK_ACCT=y
CONFIG_NETFILTER_NETLINK_QUEUE=y
CONFIG_NETFILTER_NETLINK_LOG=y
CONFIG_NETFILTER_CONNCOUNT=y
CONFIG_NETFILTER_NETLINK_GLUE_CT=y
CONFIG_NETFILTER_SYNPROXY=y

# zcat /proc/config.gz | grep IPTA
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP6_NF_IPTABLES=y

# zcat /proc/config.gz | grep IP_NF
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_AH=m
CONFIG_IP_NF_MATCH_ECN=m
CONFIG_IP_NF_MATCH_RPFILTER=m
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_TARGET_SYNPROXY=m
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_NETMAP=m
CONFIG_IP_NF_TARGET_REDIRECT=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_CLUSTERIP=m
CONFIG_IP_NF_TARGET_ECN=m
CONFIG_IP_NF_TARGET_TTL=m
# CONFIG_IP_NF_RAW is not set
CONFIG_IP_NF_SECURITY=m
CONFIG_IP_NF_ARPTABLES=y
CONFIG_IP_NF_ARPFILTER=y
CONFIG_IP_NF_ARP_MANGLE=y



Re: [gentoo-user] Gentoo hardware database

2018-10-28 Thread Andrey Ponomarenko



27.10.2018, 17:56, "Dale" :
> Andrey Ponomarenko wrote:
>>  27.10.2018, 02:18, "Dale" :
>>>  Alexey Eschenko wrote:
>>>>   Is there any way to disable sending some parts of the collected data?
>>>>   I've seen some of the last probes and found that there may be some
>>>>   potentially sensitive data.
>>>>   I don't mind to share my configuration with community but I don't want
>>>>   to share some logs, mountpoint data and same other info.
>>>  I'd like to remove a few things myself.  Some things such as file system
>>>  mount points and such gives clues as to what they contain.  I noticed a
>>>  couple other things I'd rather not include.
>>>
>>>  I noticed it builds a directory inside /root/HW_PROBE/LATEST/.  I used
>>>  the command hw-probe-1.4-129-x86_64.AppImage -all but left off the
>>>  upload part.  It collected the info but didn't send it yet.  I wonder,
>>>  can we delete the info from the directory it created and then leave off
>>>  -all but put -upload and it send only what we didn't delete.  In other
>>>  words, build the files, remove what we don't want sent and then send
>>>  what is left.  Do it in three parts instead of one.
>>>
>>>  Anyone know if that works?  Anyone who doesn't care what they send mind
>>>  testing it for us who want to leave out some small amounts of data?
>>>
>>>  Thanks.
>>>
>>>  Dale
>>>
>>>  :-)  :-)
>>  Hi Dale,
>>
>>  Please use --log-level=minimal option to collect minimal info. Please let 
>> me know if it still contains some unwanted info in this minimal mode.
>>
>>  I'll patch the tool to collect less info by default in 1.5 (you'll need to 
>> explicitly set --log-level=maximal to collect mountpoints).
>>
>>  Thanks a lot!
>
> I saw the other post and tried it without the upload option.  It still
> causes me some concern.  What I'd rather do, instead of you having a
> unique setting for myself and others with different issues, just be able
> to remove what we don't want included and then upload the data that
> remains. That would be the easiest by far option for you and other
> users.  If it will work that way, you won't have to change anything plus
> others will run up on this and know how to do it that way.  It also
> means that others can adjust based on their own set of concerns which
> may be different than mine.
>
> It did help with minimal but some things it didn't include, I was fine
> with sending but some things still remain that I don't.  If I remove
> other options and only pass -upload, will it only send the data in
> /root/HW_PROBE/LATEST/ or does it rebuild the file list again and then
> send?
>
> Dale
>
> :-)  :-)

It will send content of /root/HW_PROBE/LATEST/ only. If you remove some file 
from this directory then it will not be sent until you collect it again by -all 
option.

But I think it's better to patch upstream code or add some option that will 
satisfy your needs to make the tool perform better by default w/o the need to 
write a wrapper script.

What unwanted files still remain in minimal mode?

Thank you.



Re: [gentoo-user] Gentoo hardware database

2018-10-27 Thread Andrey Ponomarenko
27.10.2018, 02:18, "Dale" :
> Alexey Eschenko wrote:
>>  Is there any way to disable sending some parts of the collected data?
>>  I've seen some of the last probes and found that there may be some
>>  potentially sensitive data.
>>  I don't mind to share my configuration with community but I don't want
>>  to share some logs, mountpoint data and same other info.
>
> I'd like to remove a few things myself.  Some things such as file system
> mount points and such gives clues as to what they contain.  I noticed a
> couple other things I'd rather not include.
>
> I noticed it builds a directory inside /root/HW_PROBE/LATEST/.  I used
> the command hw-probe-1.4-129-x86_64.AppImage -all but left off the
> upload part.  It collected the info but didn't send it yet.  I wonder,
> can we delete the info from the directory it created and then leave off
> -all but put -upload and it send only what we didn't delete.  In other
> words, build the files, remove what we don't want sent and then send
> what is left.  Do it in three parts instead of one.
>
> Anyone know if that works?  Anyone who doesn't care what they send mind
> testing it for us who want to leave out some small amounts of data?
>
> Thanks.
>
> Dale
>
> :-)  :-)

Hi Dale,

Please use --log-level=minimal option to collect minimal info. Please let me 
know if it still contains some unwanted info in this minimal mode.

I'll patch the tool to collect less info by default in 1.5 (you'll need to 
explicitly set --log-level=maximal to collect mountpoints).

Thanks a lot!



Re: [gentoo-user] Gentoo hardware database

2018-10-27 Thread Andrey Ponomarenko
Hi, Please try:    sudo hw-probe -all -upload --log-level=minimal Thank you. 26.10.2018, 17:36, "Alexey Eschenko" :Is there any way to disable sending some parts of the collected data? I've seen some of the last probes and found that there may be some potentially sensitive data.I don't mind to share my configuration with community but I don't want to share some logs, mountpoint data and same other info.12:27, October 26, 2018, Andrey Ponomarenko <andrewponomare...@yandex.ru>:Hi,The Linux-Hardware.org database has been divided recently into a set of databases, one per each Linux distro. The one for Gentoo is available at:https://linux-hardware.org/?d=GentooEveryone can contribute to the database with the help of https://github.com/linuxhw/hw-probe (various packages for the tool are available: AppImage, Snap, Flatpak, Docker, ebuild http://gpo.zugaina.org/sys-apps/hw-probe, etc.). The tool is intended to simplify collecting of logs necessary for investigating hardware related problems. You need to execute only one simple command to collect all system logs at once:sudo hw-probe -all -uploadHardware failures are highlighted in the collected logs (smartctl, dmesg, xorg.log). Also it's handy to search for particular hardware configurations in the community and review logs for errors to check operability of devices on board (for some devices this is done automatically by hw-probe — see statuses of devices in a probe).Enjoy! --Sent from Yandex.Mail for mobile

[gentoo-user] Gentoo hardware database

2018-10-26 Thread Andrey Ponomarenko
Hi,

The Linux-Hardware.org database has been divided recently into a set of 
databases, one per each Linux distro. The one for Gentoo is available at:

https://linux-hardware.org/?d=Gentoo

Everyone can contribute to the database with the help of 
https://github.com/linuxhw/hw-probe (various packages for the tool are 
available: AppImage, Snap, Flatpak, Docker, ebuild 
http://gpo.zugaina.org/sys-apps/hw-probe, etc.). The tool is intended to 
simplify collecting of logs necessary for investigating hardware related 
problems. You need to execute only one simple command to collect all system 
logs at once:

sudo hw-probe -all -upload

Hardware failures are highlighted in the collected logs (smartctl, dmesg, 
xorg.log). Also it's handy to search for particular hardware configurations in 
the community and review logs for errors to check operability of devices on 
board (for some devices this is done automatically by hw-probe — see statuses 
of devices in a probe).

Enjoy!



Re: [gentoo-user] is anyone using Nouveau graphics driver ?

2018-07-23 Thread Andrey F.
My experience is the same. Things are super fast with Nouveau, but the
random system-wide lock ups were unbearable. I'm a KDE plasma user as well.
My last experience was about 6 months ago.

I wonder if there is anything we can do to help solve the lockup issues in
the long run with Nouveau.

On Mon, Jul 23, 2018, 04:20 Davyd McColl  wrote:

> For what it's worth, my experience with Nouveau has been dismal.
>
> I use KDE plasma, which runs everything via accelerated graphics and I
> would encounter system-wide lockups within 2 hours, often much closer to
> within 10 minutes.
> Nouveau has better terminal support though, supporting the higher
> resolutions that the proprietary driver can't be bothered to support. So
> if
> you have a vt-only use-case, it's a win. But otherwise, I'm very wary.
> Granted, the last time I tried was about a year ago, but the troubles I
> had
> been experiencing were common with other users for long before that.
>
> You could give it a try and see.
>
> As for usage, iirc, if it's enabled in your kernel config, it's loaded by
> default, even if the proprietary drivers are installed. I blacklisted the
> Nouveau module to get the proprietary one loaded (so that I could switch
> back after a kernel update to see if it worked properly then). Again,
> things may have changed from when I last tried, but I think you should be
> able to enable, build and reboot to have it loaded already (obviously, you
> could rmmod and modprobe if the idea of a reboot doesn't sit well)
>
> -d
>
>
> On July 23, 2018 12:17:53 Philip Webb  wrote:
>
> > Among my efforts to get scanning working again with Gentoo,
> > I've encountered another problem in a different area.
> > Recently, I sent a message to this list re Nvidia-drivers
> > -- that 396.24-r1 wouldn't start with my 4.14.52 kernel,
> > so I started using 390.67 -- & I've now discovered that there's a problem
> > with any version of Nvidia & my previous 4.9.16 & 4.2.0-r1 kernels.
> >
> > Might I be better off, if I used Nouveau instead ?
> > It is what Mint 17 & 19 seem to use, so must be fairly stable.
> > So a few questions :
> >
> > (1) What are people's experiences with Nouveau ?
> > -- does it work easily with various kernels ?
> > -- does it manage graphics stably & reliably ?
> > -- I don't do much with video (a few newsreels) & don't use sound.
> >
> > (2) If I install it, how do I switch between Nouveau & Nvidia ?
> >
> > (3) Sadly, I didn't make a Quickpkg of the Nvidia version I was using
> > when my scanner was working with Gentoo (last time 180626).
> > I have the distfiles, but not the ebuilds :
> > is there anywhere I can find ebuilds for Nvidia-Drivers 390.42 390.48 ?
> >
> > --
> > ,,
> > SUPPORT ___//___,   Philip Webb
> > ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
> > TRANSIT`-O--O---'   purslowatchassdotutorontodotca
> >
> >
>
>
>
>


Re: [gentoo-user] Re: Spectre and Meltdown summary

2018-01-04 Thread Andrey F.
Thanks for the great summary! Having 2FA enabled for all accounts will
go a long way as well.

On Thu, Jan 4, 2018 at 4:21 AM, Adam Carter  wrote:
> Browser stuff
>
> I'm guessing this relates to Variant1;
> @hackerfantastic "Blackhats will be weaponizing spectre to steal session
> cookies from additional websites opened in the browser, especially financial
> sites. Enable site isolation in Chrome now.
> https://support.google.com/chrome/answer/7623121?hl=en-GB";
>
> Sounds like Mozilla will make some changes in Firefox 57 to make the attacks
> more difficult;
> "Our internal experiments confirm that it is possible to use similar
> techniques from Web content to read private information"
> https://blog.mozilla.org/security/2018/01/03/mitigations-landing-new-class-timing-attack/
>



Re: [gentoo-user] Spectre CPU flaws

2018-01-04 Thread Andrey F.
ALL CPUs are vulnerable to Spectre. The vuln described in your link is
Meltdown and only Intel is vulnerable to that.

https://meltdownattack.com

I don't believe there is a fix for Spectre, but it is also much tougher to
mount and attack. Meltdown on the other-hand has a fix that will likely
reduce performace, but only needs to be applied for Intel CPUs.

On Jan 4, 2018 01:46, "Mick"  wrote:

> On Thursday, 4 January 2018 05:50:59 GMT the...@sys-concept.com wrote:
> > New bug resurface.
> > What is the command to test AMD CUP's if flag: X86_BUG_CPU_INSECURE is
> > enabled?
> >
> > From:
> > https://lkml.org/lkml/2017/12/27/2
>
> grep bugs /proc/cpuinfo
>
> --
> Regards,
> Mick


Re: [gentoo-user] Loading a Firmware Module By hand?

2017-12-17 Thread Andrey Utkin
On Sun, Dec 17, 2017 at 12:34:14AM -0500, Hunter Jozwiak wrote:
> Hi,
> 
> I have an ath10k_pci device that I'm trying to get hooked to the
> Internet, but I'm having some strange issues. It is trying to load the
> 2.1 firmware, but I don't think that is the proper firmware for the
> interface to have; I think it ought to be loading the 3.0 module, but
> am not quite sure on that either, or how I could go about injecting
> that into the modprobe; I wasn't able to pinpoint the firmware blob
> the ISO was using, so that wasn't much of a pointer in the right
> direction either. I see that the 3.0 blob does exist in
> /lib/firmware/ath10k/QCABLEFAGD/HW3.0, but there are many bin files,

I have little to no idea about your actual case... But could it be that
you have a recent linux-firmware package (which provides /lib/firmware/
files) and not recent enough kernel? I think kernel is what decides
which firmware file to load.


signature.asc
Description: Digital signature


Re: [gentoo-user] Cleaning the SSD

2017-12-14 Thread Andrey Utkin
On Thu, Dec 14, 2017 at 05:20:18PM +0100, Alain Didierjean wrote:
> Just about to install gentoo on a used SSD (Samsung SSD 840 120G). 
> How to proceed to get a clean, like new SSD ?
> Could the --security-erase or --security-erase-enhanced hdparm options do the 
> job or should I use something more sophisticated (or more efficient) ?
>

Hi,

Have you looked at https://wiki.gentoo.org/wiki/SSD ?

I suppose what exactly you are asking for, is to make new filesystems on
your SSD, mount them and then do "fstrim ". But the article
suggests to run that regularly rather than once.

Hope that helps.


signature.asc
Description: Digital signature


[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] Nvidia-Xscreensaver problem

2014-11-11 Thread Andrey F.
I think your best bet is to send that segfault to Nvidia via their Nvidia -
driver forums. Seems like a driver bug to me and the nvidia guys are the
only ones who can fix it. They'll want to know your kernel version.
On Nov 8, 2014 10:50 PM, "Philip Webb"  wrote:

> Has anyone else seen this or is able to offer advice ?
> This has happened  4 times  during 2014 when Xscreensaver was running.
> I return to my desk & find a blank X-ish screen & when I hit Enter,
> I get a raw terminal announcing the crash ; 'startx' gets things going
> again.
> The screensaver running at the time of the crash was Fluidballs,
> a trusty old sub-app which shouldn't be causing a problem suddenly.
>  /lib64/libpthread.so.0  is provided by Glibc.
>
>   eix nvidia-drivers
>   [I] x11-drivers/nvidia-drivers
>   Installed versions: 343.22-r2^msd([2014-10-18 20:02:42])
> (X -acpi -multilib -pax_kernel -tools -uvm KERNEL="linux -FreeBSD")
>
>   eix glibc
>   [I] sys-libs/glibc
>   Installed versions: 2.19-r1(2.2)^s([2014-08-02 23:05:40])
> (multilib -debug -gd -hardened -nscd -profile -selinux -suid -systemtap
>  -vanilla CROSSCOMPILE_OPTS="-headers-only")
>
> Xorg.0.log.old :
>
> ...
> [12.216] (II) NVIDIA(GPU-0): support NVIDIA 3D Vision stereo.
> [  5572.324] (EE) Client exception raised, closing.
> [  5752.389] (EE) Client exception raised, closing.
> [ 23489.118] (EE)
> [ 23489.118] (EE) Backtrace:
> [ 23489.121] (EE) 0: /usr/bin/X (xorg_backtrace+0x42) [0x58db42]
> [ 23489.121] (EE) 1: /usr/bin/X (0x40+0x1918a9) [0x5918a9]
> [ 23489.121] (EE) 2: /lib64/libpthread.so.0 (0x7ff183ca+0x116d0)
> [0x7ff183cb16d0]
> [ 23489.121] (EE) 3: /usr/lib64/libnvidia-glcore.so.343.22
> (0x7ff17df0+0x175d657) [0x7ff17f65d657]
> [ 23489.121] (EE) 4: /usr/lib64/libnvidia-glcore.so.343.22
> (0x7ff17df0+0x187041d) [0x7ff17f77041d]
> [ 23489.121] (EE) 5: /usr/lib64/libnvidia-glcore.so.343.22
> (0x7ff17df0+0x16c686a) [0x7ff17f5c686a]
> [ 23489.121] (EE) 6: /usr/lib64/libnvidia-glcore.so.343.22
> (0x7ff17df0+0x1759529) [0x7ff17f659529]
> [ 23489.121] (EE) 7: /usr/lib64/libnvidia-glcore.so.343.22
> (0x7ff17df0+0x16b80e6) [0x7ff17f5b80e6]
> [ 23489.121] (EE) 8: /usr/lib64/libnvidia-glcore.so.343.22
> (0x7ff17df0+0x16b92f8) [0x7ff17f5b92f8]
> [ 23489.121] (EE) 9: /usr/lib64/libnvidia-glcore.so.343.22
> (0x7ff17df0+0x167ffc3) [0x7ff17f57ffc3]
> [ 23489.121] (EE) 10: /usr/lib64/xorg/modules/extensions/libglx.so
> (0x7ff180d7+0x658dbc) [0x7ff1813c8dbc]
> [ 23489.121] (EE)
> [ 23489.121] (EE) Segmentation fault at address 0x48
> [ 23489.121] (EE)
> Fatal server error:
> [ 23489.121] (EE) Caught signal 11 (Segmentation fault). Server aborting
> ...
> [ 23489.348] (EE) Server terminated with error (1). Closing log file.
>
> --
> ,,
> SUPPORT ___//___,   Philip Webb
> ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
> TRANSIT`-O--O---'   purslowatchassdotutorontodotca
>
>
>


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
011110 andrey at moshbear dot net
100001 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).
>
>



[gentoo-user] sense code: driver or disc at fault?

2011-03-25 Thread Andrey Vul
I keep on getting sense error 2/30/05 when trying to burn the livecd
on my new dvd burner, and I've tried with various discs. Is the burner
at fault? Google isn't of much help.



[gentoo-user] ramdisk for lm_sensors and gimps

2011-02-20 Thread Andrey Vul
Does the current minimal install cd have a ramdisk driver so that i
can extract the stage3 tarball to it and emerge lm_sensors and gimps
onto it?
I want to make sure my OCed system won't cause bad compiles so I'm
going to gimps aka prime95 it for 48h :)
DDR1066's timings are a bit high at 200;1:2.66, so I'm going 960 MHz
to have both higher speed and less lag.
Sadly, POST starts to have issues at FSB=250MHz, so I've toned it down
to 230 MHz.
It's still above 200 MHz, so I want to be sure that both CPU and RAM are safe.

Also, if k10temp isn' t included on the cd, to which kernel version
should I compile it as a module*, or need I remaster with modified
kernel?

* and insert into the iso as /misc/k10temp.ko and insmod it as needed
--

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



[gentoo-user] login fail after resuming from suspend

2010-11-30 Thread Andrey Vul
I forgot, is it a problem with consolekit or polkit that causes the
login system to hang after resuming from acpi suspend?
And is there a solution, apart from saving all work before standby and
doing {Magic}+{R,S,E}?

--
Andrey "m05hbear" Vul

andrey at moshbear dot net
andrey dot vul at gmail

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] Get RPC: Program/version mismatch if I set OPTS_RPC_MOUNTD and OPTS_RPC_STATD in /etc/conf.d/nfs

2010-11-08 Thread Andrey F.
Hi everyone,

I am getting a strange error when I try to mount my nfs partitions.
In /etc/conf.d/nfs I have:

OPTS_RPC_MOUNTD="-p 32767"
OPTS_RPC_STATD="-p 32765 -o 32766"

I set these two options so that I can use nfs with iptables. If don't set
these two variables, I wind up not being able to mount the nfs partitions
because the ports for statd and mountd are selected at random.

With the variables set, I get the following error:

# mount -o vers=3 10.1.1.1:/nfs /mnt/temp -v
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Mon Nov  8 20:47:30 2010
mount.nfs: trying text-based options 'vers=3,addr=10.1.1.1'
mount.nfs: prog 13, trying vers=3, prot=6
mount.nfs: trying 10.1.1.1 prog 13 vers 3 prot TCP port 2049
mount.nfs: prog 15, trying vers=3, prot=17
mount.nfs: trying 10.1.1.1 prog 15 vers 3 prot UDP port 32767
mount.nfs: portmap query retrying: RPC: Program/version mismatch
mount.nfs: prog 15, trying vers=3, prot=6
mount.nfs: trying 10.1.1.1 prog 15 vers 3 prot TCP port 32767
mount.nfs: portmap query failed: RPC: Program/version mismatch
mount.nfs: Operation not permitted


Does anyone know why this is happening? How can I make nfs and iptables play
nice?


Re: [gentoo-user] Re: X programs as root

2010-10-04 Thread Andrey Vul
sudoers(5):
...
## Run X applications through sudo
Defaults env_keep += "DISPLAY HOME"
...

sudo visudo; paste; done

--
Andrey "m05hbear" Vul



[gentoo-user] kdm and pam issues after resume

2010-10-04 Thread Andrey Vul
Upon resuming my laptop from standby, kdm's screen locker does
nothing, and /bin/login lags a lot before "Password:" comes up.
Googling has led me to think that this might be a consolekit issue, as
the syslog has "cannot create /var/lib/kdm-4.5: Permission denied"
lines, in addition to the lag going away after Alt+Sysrq+{R,S,E,I} and
reappearing after running init 3 to restart the killed processes.
The lag in console mode is kinda like this:
agetty
\- login [lag]
\-\- bash [lag]

Apart from rebooting, are there any real solutions (apart from k-9ing
the screen locker)? bugs.gentoo/295376,295799 are kinda vague.

--
Andrey "m05hbear" Vul



Re: [gentoo-user] Re: X programs as root

2010-09-24 Thread Andrey Vul
On Wed, Sep 22, 2010 at 21:18, Dale  wrote:
> Nikos Chantziaras wrote:
>>
>> On 09/22/2010 09:48 PM, Andrey Vul wrote:
>>>
>>> When I launch X programs via sudo, I get the following:
>>>
>>> $sudo gui-admin
>>> No protocol specified
>>> gui-admin: cannot connect to X server :0
>>>
>>> ( Assume gui-admin is an X program )
>>>
>>> But (gk|kde)su(do)? works. This is somewhat confusing.
>>
>> sudo doesn't keep the $DISPLAY environment variable by default.  There
>> could be other issues too.  Best stick to kdesu and friends; that's what
>> they are there for.
>>

It's the "other issues".
>>
>
> Well, I noticed after the recent upgrade to 4.5.1 that mine doesn't work
> either.  It worked before but not now.  I'm not sure what changed between
> 4.4 and 4.5.1 but it broke my konqueror as root and other programs as well.
>  Still have some I haven't tried tho.  Konqueror is the one I need most.
>  Oh, I can get Dolphin to work tho.  The conspiracy theory part in me is
> starting to think.

Same here, s/konqueror/every gui program run via sudo/
>
> Sure would like to get this working again too.
Ditto. VMware tools, etc, are all gui and sometimes sudo is eaiser to
use than kdesu.



[gentoo-user] X programs as root

2010-09-22 Thread Andrey Vul
When I launch X programs via sudo, I get the following:

$sudo gui-admin
No protocol specified
gui-admin: cannot connect to X server :0

( Assume gui-admin is an X program )

But (gk|kde)su(do)? works. This is somewhat confusing.


--
Andrey "m05hbear" Vul



Re: [gentoo-user] Re: dir is rwx but can't create file

2010-07-29 Thread Andrey Vul
On Fri, Jul 30, 2010 at 01:34, Andrey Vul  wrote:
> On Thu, Jul 29, 2010 at 08:31, Alex Schuster  wrote:
>> walt writes:
>>
>>> On 07/28/2010 01:20 PM, Andrey Vul wrote:
>>> > Creating files in /tmp, /etc, /lib32, and /var return ENOENT (touch
>>> > /tmp/foo =>  strerror(ENOENT)).
>>> > However, this is done as root and the dirs are marked 755 root:root.
>>
>> Are all these directories located on the root file system?
>>
>>> Is the sticky bit set on /tmp?
>>>
>>> drwxrwxrwt  26 root root 36864 2010-07-29 04:15 tmp/
>>>           ^
>>
>> Well, it set or not, this would not prevent the creation of files.
>>
>> I have no idea what's going on here. I'd force a fsck (touch /forcefsck;
>> reboot) to make sure it's no file system problem. And what about a live-
>> cd, does the problem happen then, too?
>>
>
> fsck -f followed by use of USB-SATA bridge seems to work. However, my
> laptop just died, so I can't really test it on the laptop.
>

Quoting fsck.jfs : "Incorrect link counts have been detected. Will correct."
Apparently, some subtle data corruption was invisible by fsck -p but
noticed by fsck -f.
A corrupt inode does explain why the directory was somehow 555 in behavior.



  1   2   3   4   5   >