[gentoo-user] Re: VMware - Linux kernel yield() functionality is disabled.

2010-11-08 Thread Remy Blank
Mark Knecht wrote:
 My worry with etc-update is that I know, for the most part, all the
 files I modify when doing an install so I know what to look for when
 I'm selecting files to replace myself. However with that tool there's
 a point where you might have 20 files that need updating, you look at
 the list and nothing looks like what I changed and you hit -5 to tell
 it to do everything. I know I'm going to overwrite sysctl.conf that
 way because it's not in my mental list.

Put your /etc under SVN, or Mercurial, or whatever revision control
system du jour. Bonus points if you manage to store file and directory
permissions in there as well.

-- Remy



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Mystery square under KDE [SOLVED]

2010-11-08 Thread Andrew Lowe

On 11/08/10 09:27, Andrew Lowe wrote:

On 11/07/10 14:10, John Campbell wrote:

On 11/05/2010 09:38 PM, Andrew Lowe wrote:

Hi all,
I've got KDE set up in a twin head configuration with the menu/task
manager thingy set for autohide on the top edge of the LHS monitor. When
I move the mouse up to the top of the screen to display the task
manager/kicker, as well as the menu displaying, I also get a large
translucent rectangle showing. The task manager shows and it is of the
depth you would expect, the height of a character plus appropriate
padding, but as well as this I get this translucent rectangle showing
which is about 2/3 screen depth and 2/3 screen width in size. This is
displayed as long as the task manager is displayed - move the mouse away
from the task manager and the task manager disappears, and so does the
mystery rectangle, move the mouse back to display the task manager and
the rectangle comes back.


I seem to remember that rectangle. It went away when I switched to
Folder View and created a Desktop folder like I had in KDE3.




Well, I did an emerge -NuD world over the weekend, which showed that
my machie is dying - compiler segfaults all over the place but that's
another story, and the square is now gone. Looks like it was a
code/config bug in the version of KDE I was running

Regards,
Andrew


Well it came back again, didn't it. And now it's gone again. It appears 
that I had in the past managed to expand a task bar widget thingy, I 
think the task manager, and just now whilst stuffing around, happened to 
notice it and rectify it.


Andrew



[gentoo-user] sys-libs/glibc gives strange error

2010-11-08 Thread Maximilian Bräutigam
Hi all,

I'm trying to update my glibc for now 2 weeks or so and it doesn't
matter what I'm doing, I run into a strange error.


/var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/libc_pic.a(init-first.os):(.data+0x0):
multiple definition of `__libc_multiple_libcs'
/var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/dl-allobjs.os:(.bss+0xe8):
first defined here
/var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/libc_pic.a(dl-addr.os):
In function `_dl_addr_inside_object':
dl-addr.c:(.text+0x0): multiple definition of `_dl_addr_inside_object'
/var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-linux-gnu-nptl/elf/dl-allobjs.os:(.text+0x11260):
first defined here
collect2: ld gab 1 als Ende-Status zurück
[...]
  make for amd64 failed


The last 100 lines of the build.log you can find here:
http://paste.pocoo.org/show/287750/

And my emerge --info sys-libs/glibc here:
http://paste.pocoo.org/show/287772/

I tried many things like: playing with cflags -fstack-protector,
downgrading gcc from 4.4.5 to 4.4.4, recompiling DEPEND packages and
later hole @system. To my mind it is not a bug of glibc, at least I
didn't find anything appropiate at bugs.gentoo.org and on another
machine in office it's compiling w/o errors.

Any idea and help is welcome, slowly I'm becoming despaired.
Thank you very much in advance for your reply.
Kind regards,
der Max

P.S. In the last time I receive lots of segfaults, does it has something
to do with my glibc error?



Re: [gentoo-user] kernel panic on manually built kernel

2010-11-08 Thread Coert Waagmeester

Volker Armin Hemmann wrote:

On Thursday 04 November 2010, dhk wrote:

I've always used the genkernel, but now am trying to make a manual one.
 I think the kernel is alright since all the default setting seemed
reasonable and the build was easy enough.  However, when I boot to it I
get a kernel panic and it complains about the root device /dev/hda3. So
I think the problem has to do with my parameters or syntax in grub.conf.
 Below are three grub menu options.  The first two have the problem and
the third is the genkernel that works fine.  Is there something wrong
with the way the first two are?  Thanks.

# This is a Manually built kernel with default settings.  kernel panic
title Gentoo Linux x86 2.6.34-r12
root (hd0,0)
kernel /boot/kernel-2.6.34-gentoo-r12 root=/dev/hda3

# This is a Manually built kernel with default settings.  kernel panic
title Gentoo Linux x86 2.6.34-r12
root (hd0,0)
kernel /boot/kernel-2.6.34-gentoo-r12 root=/dev/hda3 vga=791
splash=verbose video=vesafb:mtrr,ywrap udev
# From Documentation: video=uvesafb:mtrr:3,ywrap,1024x768...@85

# This a genkernel and works
title Gentoo Linux x86 2.6.34-r6
root (hd0,0)
kernel /boot/kernel-genkernel-x86_64-2.6.34-gentoo-r6 init=/linuxrc
ramdisk=8192 real_root=/dev/hda3 vga=791 splash=verbose
video=vesafb:mtrr,ywrap udev
initrd /boot/initramfs-genkernel-x86_64-2.6.34-gentoo-r6

--dhk


grub must point to sda3 not hda3




Yes, I had a similar problem.
The device names are different on my machine between genkernel and my 
own kernel.

Make sure to change that in your /etc/fstab as well.

Dont know if this is always the case though.

Regards,
Coert Waagmeester



Re: [gentoo-user] kernel panic on manually built kernel

2010-11-08 Thread dhk
On 11/08/2010 05:28 AM, Coert Waagmeester wrote:
 Volker Armin Hemmann wrote:
 On Thursday 04 November 2010, dhk wrote:
 I've always used the genkernel, but now am trying to make a manual one.
  I think the kernel is alright since all the default setting seemed
 reasonable and the build was easy enough.  However, when I boot to it I
 get a kernel panic and it complains about the root device /dev/hda3. So
 I think the problem has to do with my parameters or syntax in grub.conf.
  Below are three grub menu options.  The first two have the problem and
 the third is the genkernel that works fine.  Is there something wrong
 with the way the first two are?  Thanks.

 # This is a Manually built kernel with default settings.  kernel panic
 title Gentoo Linux x86 2.6.34-r12
 root (hd0,0)
 kernel /boot/kernel-2.6.34-gentoo-r12 root=/dev/hda3

 # This is a Manually built kernel with default settings.  kernel panic
 title Gentoo Linux x86 2.6.34-r12
 root (hd0,0)
 kernel /boot/kernel-2.6.34-gentoo-r12 root=/dev/hda3 vga=791
 splash=verbose video=vesafb:mtrr,ywrap udev
 # From Documentation: video=uvesafb:mtrr:3,ywrap,1024x768...@85

 # This a genkernel and works
 title Gentoo Linux x86 2.6.34-r6
 root (hd0,0)
 kernel /boot/kernel-genkernel-x86_64-2.6.34-gentoo-r6 init=/linuxrc
 ramdisk=8192 real_root=/dev/hda3 vga=791 splash=verbose
 video=vesafb:mtrr,ywrap udev
 initrd /boot/initramfs-genkernel-x86_64-2.6.34-gentoo-r6

 --dhk

 grub must point to sda3 not hda3


 
 Yes, I had a similar problem.
 The device names are different on my machine between genkernel and my
 own kernel.
 Make sure to change that in your /etc/fstab as well.
 
 Dont know if this is always the case though.
 
 Regards,
 Coert Waagmeester
 
 

I'm booting to an IDE hard disk.  Are you say the device name should
change from /dev/hda3 to /dev/sda3?  If I change it in /etc/fstab and it
doesn't work, I'll have problems, I'll probably have to boot to the livecd.

Thanks,

--dhk



Re: [gentoo-user] kernel panic on manually built kernel

2010-11-08 Thread Coert Waagmeester

dhk wrote:

On 11/08/2010 05:28 AM, Coert Waagmeester wrote:

Volker Armin Hemmann wrote:

On Thursday 04 November 2010, dhk wrote:

I've always used the genkernel, but now am trying to make a manual one.
 I think the kernel is alright since all the default setting seemed
reasonable and the build was easy enough.  However, when I boot to it I
get a kernel panic and it complains about the root device /dev/hda3. So
I think the problem has to do with my parameters or syntax in grub.conf.
 Below are three grub menu options.  The first two have the problem and
the third is the genkernel that works fine.  Is there something wrong
with the way the first two are?  Thanks.

# This is a Manually built kernel with default settings.  kernel panic
title Gentoo Linux x86 2.6.34-r12
root (hd0,0)
kernel /boot/kernel-2.6.34-gentoo-r12 root=/dev/hda3

# This is a Manually built kernel with default settings.  kernel panic
title Gentoo Linux x86 2.6.34-r12
root (hd0,0)
kernel /boot/kernel-2.6.34-gentoo-r12 root=/dev/hda3 vga=791
splash=verbose video=vesafb:mtrr,ywrap udev
# From Documentation: video=uvesafb:mtrr:3,ywrap,1024x768...@85

# This a genkernel and works
title Gentoo Linux x86 2.6.34-r6
root (hd0,0)
kernel /boot/kernel-genkernel-x86_64-2.6.34-gentoo-r6 init=/linuxrc
ramdisk=8192 real_root=/dev/hda3 vga=791 splash=verbose
video=vesafb:mtrr,ywrap udev
initrd /boot/initramfs-genkernel-x86_64-2.6.34-gentoo-r6

--dhk

grub must point to sda3 not hda3



Yes, I had a similar problem.
The device names are different on my machine between genkernel and my
own kernel.
Make sure to change that in your /etc/fstab as well.

Dont know if this is always the case though.

Regards,
Coert Waagmeester




I'm booting to an IDE hard disk.  Are you say the device name should
change from /dev/hda3 to /dev/sda3?  If I change it in /etc/fstab and it
doesn't work, I'll have problems, I'll probably have to boot to the livecd.

Thanks,

--dhk




It has indeed happened to me with an IDE PATA disk.
Try first only to change only your grub config.
Then if you see that the kernel boots fine, you can change /etc/fstab.

If you want you can even use LABELs in fstab.

give your ext{2,3} partitions labels with e2label

and change the device node eg /dev/hda1 in fstab to LABEL=yournewlabel


Regards,
Coert Waagmeester



[gentoo-user] mutt attachment viewing

2010-11-08 Thread José Romildo Malaquias
The entries for text/html in /etc/mailcap and ~/.mutt/mailcap on my
~amd64 Gentoo Linux system are

$ grep ^text/html ~/.mutt/mailcap /etc/mailcap
/home/romildo/.mutt/mailcap:text/html; links %s; nametemplate=%s.html; 
needsterminal; copiousoutput; description=HTMLText
/etc/mailcap:text/html; /usr/bin/lynx -force_html '%s'; needsterminal; 
description=HTML Text; nametemplate=%s.html
/etc/mailcap:text/html; /usr/bin/lynx -dump -force_html '%s'; copiousoutput; 
description=HTML Text; nametemplate=%s.html

Although the entry for links does not have the field copiousoutput, it
is not being used for viewing an html attachment from the mutt
attachments menu, as it should be. Instead it is using the lynx entry. I
am using Mutt 1.5.21 (2010-09-15, Gentoo 1.5.21-r1).

Any clues?

Romildo



Re: [gentoo-user] Setting up two monitors

2010-11-08 Thread Sebastian Beßler
Am 07.11.2010 21:19, schrieb Mick:

 The splash screen only covers part of the wide screen monitor on the
 right (i.e. it does not stretch across it's whole width).  The
 smaller left hand side monitor shows the splash full size.

That is a quirk(?) in kernel mode setting (kms) because it can only set
the output to clone-mode when used with two or more monitors. Because of
that it has to find the lowest common denominator for the resolution to
use on all of them.

Greetings

Sebastian Beßler




Re: [gentoo-user] sys-libs/glibc gives strange error

2010-11-08 Thread Alex Schuster
Maximilian Bräutigam writes:

 I'm trying to update my glibc for now 2 weeks or so and it doesn't
 matter what I'm doing, I run into a strange error.
 
 
 /var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-li
 nux-gnu-nptl/libc_pic.a(init-first.os):(.data+0x0): multiple definition
 of `__libc_multiple_libcs'
 /var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-li
 nux-gnu-nptl/elf/dl-allobjs.os:(.bss+0xe8): first defined here
 /var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-li
 nux-gnu-nptl/libc_pic.a(dl-addr.os): In function
 `_dl_addr_inside_object':
 dl-addr.c:(.text+0x0): multiple definition of `_dl_addr_inside_object'
 /var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-li
 nux-gnu-nptl/elf/dl-allobjs.os:(.text+0x11260): first defined here
 collect2: ld gab 1 als Ende-Status zurück
 [...]


 I tried many things like: playing with cflags -fstack-protector,

Hmm, does this mean you removed -fstack-protector?

 downgrading gcc from 4.4.5 to 4.4.4, recompiling DEPEND packages and
 later hole @system. To my mind it is not a bug of glibc, at least I
 didn't find anything appropiate at bugs.gentoo.org and on another
 machine in office it's compiling w/o errors.

http://bugs.gentoo.org/show_bug.cgi?id=332823 says that -fstack-protector 
is supported for hardened profiles only.

Wonko



Re: [gentoo-user] Setting up two monitors

2010-11-08 Thread Mick
On Monday 08 November 2010 11:43:00 Sebastian Beßler wrote:
 Am 07.11.2010 21:19, schrieb Mick:
  The splash screen only covers part of the wide screen monitor on the
  right (i.e. it does not stretch across it's whole width).  The
  smaller left hand side monitor shows the splash full size.
 
 That is a quirk(?) in kernel mode setting (kms) because it can only set
 the output to clone-mode when used with two or more monitors. Because of
 that it has to find the lowest common denominator for the resolution to
 use on all of them.

Ah! That explains it.  With two monitors of the same size then, it would be 
full size on both.

After all this the user asked me to take off the splash screen!  :-@

It seems that after xdm/kdm has launched the kdm login is interrupted and the 
user is dumped into a console.  This seems to happen at the time the init 
scripts obtain an IP address (or when vixie cron is launched). Nothing in the 
logs to show anything being amiss.

If I do not use a splash screen the user is not returned to the console.  Not 
sure if there's a fix for this.

-- 
Regards,
Mick


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


[gentoo-user] USE flag enca

2010-11-08 Thread Allan Gottlieb
Today I received the following from my daily emerge --update

!!! One of the following packages is required to complete your request:
- media-libs/libass-0.9.11 (Change USE: +enca)
- media-video/mplayer-1.0_rc4_p20101107 (Change USE: -enca)

The instructions are clear enough, but how do I chose which alternative
to apply?

In use.local.desc I find for both entries
media-libs/libass:enca - Enables support for charset discovery and conversion.

So I guess the default is for mplayer to have that support and libass to
not have it.  But I am not sure what it is.  As far as I know I don't
have many charsets.  My locale.gen is just

en_US ISO-8859-1
en_US.UTF-8 UTF-8

Any advice as to whether I should enable or disable the support would be
appreciated.

thanks,
allan



[gentoo-user] Perl update = emerge cannot create executables

2010-11-08 Thread Pau Peris
Hi, yesterday i was updating some trivial packages when i noticed
emerge got broken after updating perl (from [b]perl-5.12.2-r1[/b] to
[b]perl-5.12.2-r2[/b]). I've also took a look at /etc/make.conf but i
think i did not modify it and after checking it it seems to have no
errors. Right not every emerge fails, i think the problem is perl is
failing to find need headers or whatever.

GCC and system libraries seems ok:

$gcc-config -l
 [1] x86_64-pc-linux-gnu-4.4.4 *

$gcc-config -c
x86_64-pc-linux-gnu-4.4.4

$binutils-config -l
 [1] x86_64-pc-linux-gnu-2.20.1 *

$binutils-config -c
x86_64-pc-linux-gnu-2.20.1


GCC is working fine:

$cat /tmp/test.c
#include stdio.h
void main(){
 printf(Hello world\n);
}

$gcc test.c -o test  ./test
Hello world



$cat /etc/make.conf

CHOST=x86_64-pc-linux-gnu

LDFLAGS=${LDFLAGS} -Wl,-O1,--hash-style=gnu

CFLAGS=-march=native -O2 -pipe -fomit-frame-pointer -msse4 -msse4.1 -msse4.2
CXXFLAGS=-march=native -O3 -pipe -fomit-frame-pointer -msse4 -msse4.1 -msse4.2

ACCEPT_KEYWORDS=amd64
ACCEPT_LICENSE=Nero-EULA-US dlj-1.1 sun-bcla-java-vm AdobeFlash-10.1

MAKEOPTS=-j6

USE=-acl alsa -berkdb custom-cxxflags -ipv6 -esd exceptions -gdbm
-gnome -gstreamer gtkstyle -handbook icu -ldap -kdeprefix -mysql mmx
mmxext opengl -pam -perl pic -python qt-copy -semantic-desktop samba
sse sse2 sse3 ssse3 -ssl -tcpd v4l v4l2 webkit xinerama xcomposite

PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
DISTDIR=${PORTDIR}/distfiles
PKGDIR=${PORTDIR}/packages
PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY=
PORTDIR_OVERLAY=${PORTDIR_OVERLAY} /usr/local/portage
PORTAGE_BUILDDIR=/var/tmp/portage

PORTAGE_TMPFS=/dev/shm

PORTAGE_ECLASS_WARNING_ENABLE=0

CFLAGS_KERNEL=-march=native -O2 -pipe -fomit-frame-pointer -msse4
-msse4.1 -msse4.2

LINGUAS=es es_ES

APACHE2_MODULES=actions alias auth_basic authn _alias authn_anon
authn_dbm authn_default authn_file authz_dbm authz_default
authz_groupfile authz_host authz_owner authz_user autoindex cache dav
dav_fs dav_lock deflate dir disk_cache env expires ext_filter
file_cache filter headers include info log_config logio mem_cache mime
mime_magic negotiation rewrite setenvif speling status unique_id
userdir usertrack vhost_alias filter
NETBEANS_MODULES=php ide apisupport harness java nb websvccommon
INPUT_DEVICES=keyboard mouse joystick penmount evdev

VIDEO_CARDS=nvidia v4l

source /usr/local/portage/layman/make.conf

FEATURES=metadata-transfer parallel-fetch ccache

WANT_MP=true


$emerge --info
[code]
Portage 2.1.9.24 (default/linux/amd64/10.0/desktop, gcc-4.4.4,
glibc-2.11.2-r3, 2.6.32-reiser4-r7 x86_64)
=
System uname: 
linux-2.6.32-reiser4-r7-x86_64-intel-r-_core-tm-_i7_cpu_9...@_2.67ghz-with-gentoo-1.12.14
Timestamp of tree: Mon, 08 Nov 2010 13:00:01 +
ccache version 2.4 [enabled]
app-shells/bash: 4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python: 2.6.5-r3, 3.1.2-r4
dev-util/ccache: 2.4-r7
dev-util/cmake:  2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:   4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:  3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS=amd64
ACCEPT_LICENSE=* -...@eula Nero-EULA-US dlj-1.1 sun-bcla-java-vm 
AdobeFlash-10.1
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=native -O2 -pipe -fomit-frame-pointer -msse4 -msse4.1 -msse4.2
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d
/etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d
/etc/terminfo
CXXFLAGS=-march=native -O3 -pipe -fomit-frame-pointer -msse4 -msse4.1 -msse4.2
DISTDIR=/usr/portage/distfiles
FEATURES=assume-digests binpkg-logs ccache distlocks fixlafiles
fixpackages metadata-transfer news parallel-fetch protect-owned
sandbox sfperms strict unknown-features-warn unmerge-logs
unmerge-orphans userfetch
GENTOO_MIRRORS=http://distfiles.gentoo.org;
LANG=es...@euro
LC_ALL=es...@euro
LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-O1,--hash-style=gnu
LINGUAS=es es_ES
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=/usr/local/portage/layman/java-overlay
/usr/local/portage/layman/qting-edge
/usr/local/portage/layman/linuxdna /usr/local/portage
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=X a52 aac acpi alsa amd64 bluetooth branding bzip2 cairo cdr cli
consolekit cracklib crypt cups custom-cxxflags cxx dbus 

Re: [gentoo-user] sys-libs/glibc gives strange error

2010-11-08 Thread Mick
On Monday 08 November 2010 12:04:50 Alex Schuster wrote:
 Maximilian Bräutigam writes:
  I'm trying to update my glibc for now 2 weeks or so and it doesn't
  matter what I'm doing, I run into a strange error.
  
  
  /var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-li
  nux-gnu-nptl/libc_pic.a(init-first.os):(.data+0x0): multiple definition
  of `__libc_multiple_libcs'
  /var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-li
  nux-gnu-nptl/elf/dl-allobjs.os:(.bss+0xe8): first defined here
  /var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-li
  nux-gnu-nptl/libc_pic.a(dl-addr.os): In function
  `_dl_addr_inside_object':
  dl-addr.c:(.text+0x0): multiple definition of `_dl_addr_inside_object'
  /var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-li
  nux-gnu-nptl/elf/dl-allobjs.os:(.text+0x11260): first defined here
  collect2: ld gab 1 als Ende-Status zurück
  [...]
  
  
  I tried many things like: playing with cflags -fstack-protector,
 
 Hmm, does this mean you removed -fstack-protector?
 
  downgrading gcc from 4.4.5 to 4.4.4, recompiling DEPEND packages and
  later hole @system. To my mind it is not a bug of glibc, at least I
  didn't find anything appropiate at bugs.gentoo.org and on another
  machine in office it's compiling w/o errors.
 
 http://bugs.gentoo.org/show_bug.cgi?id=332823 says that -fstack-protector
 is supported for hardened profiles only.

BTW, did you try setting MAKEOPTS=-j1 in your /etc/make.conf or command 
line, just this once?  It usually solves emerge problems here and is the first 
thing I try.
-- 
Regards,
Mick


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


Re: [gentoo-user] sys-libs/glibc gives strange error [SOLVED]

2010-11-08 Thread Maximilian Bräutigam
Am 08.11.2010 13:04, schrieb Alex Schuster:
 Maximilian Bräutigam writes:
 
 I'm trying to update my glibc for now 2 weeks or so and it doesn't
 matter what I'm doing, I run into a strange error.

 
 /var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-li
 nux-gnu-nptl/libc_pic.a(init-first.os):(.data+0x0): multiple definition
 of `__libc_multiple_libcs'
 /var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-li
 nux-gnu-nptl/elf/dl-allobjs.os:(.bss+0xe8): first defined here
 /var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-li
 nux-gnu-nptl/libc_pic.a(dl-addr.os): In function
 `_dl_addr_inside_object':
 dl-addr.c:(.text+0x0): multiple definition of `_dl_addr_inside_object'
 /var/tmp/portage/sys-libs/glibc-2.12.1-r3/work/build-amd64-x86_64-pc-li
 nux-gnu-nptl/elf/dl-allobjs.os:(.text+0x11260): first defined here
 collect2: ld gab 1 als Ende-Status zurück
 [...]
 
 
 I tried many things like: playing with cflags -fstack-protector,
 
 Hmm, does this mean you removed -fstack-protector?
 
 downgrading gcc from 4.4.5 to 4.4.4, recompiling DEPEND packages and
 later hole @system. To my mind it is not a bug of glibc, at least I
 didn't find anything appropiate at bugs.gentoo.org and on another
 machine in office it's compiling w/o errors.
 
 http://bugs.gentoo.org/show_bug.cgi?id=332823 says that -fstack-protector 
 is supported for hardened profiles only.
 
   Wonko
 

First, I didn't use it (cannot remember error), then I tried it out, and
now I removed it again and it's compiling...
Wow, thanks alot for the hint.

Kind regards,
der Max



Re: [gentoo-user] Perl update = emerge cannot create executables

2010-11-08 Thread Mick
On Monday 08 November 2010 13:33:23 Pau Peris wrote:
 Hi, yesterday i was updating some trivial packages when i noticed
 emerge got broken after updating perl (from [b]perl-5.12.2-r1[/b] to
 [b]perl-5.12.2-r2[/b]). I've also took a look at /etc/make.conf but i
 think i did not modify it and after checking it it seems to have no
 errors. Right not every emerge fails, i think the problem is perl is
 failing to find need headers or whatever.
[snip ...]

 I hope someone can help as a working emerge is critical on any Gentoo
 system, thanks in advanced :)

A few quick things to check:

Did you run 'perl-cleaner --all'?

Did you run 'lafilefixer --justfixit'?

Did you run 'revdep-rebuild -v -i -- --ask'?

Did you try to remerge what is failing with MAKEOPTS=-j1?
-- 
Regards,
Mick


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


Re: [gentoo-user] Perl update = emerge cannot create executables

2010-11-08 Thread Bill Longman
On 11/08/2010 05:33 AM, Pau Peris wrote:
 Hi, yesterday i was updating some trivial packages when i noticed
 emerge got broken after updating perl (from [b]perl-5.12.2-r1[/b] to
 [b]perl-5.12.2-r2[/b]). I've also took a look at /etc/make.conf but i
 think i did not modify it and after checking it it seems to have no
 errors. Right not every emerge fails, i think the problem is perl is
 failing to find need headers or whatever.
 
 GCC and system libraries seems ok:
 

snipped

 I hope someone can help as a working emerge is critical on any Gentoo
 system, thanks in advanced :)

I had to re-emerge two perl packages - extutils-depends and
extutils-pkgconfig, then I was fine.



[gentoo-user] suidperl missing after update to perl 5.12.2-r2

2010-11-08 Thread Dan Johansson
Hi,

After updating from dev-lang/perl-5.8.8-r8 to dev-lang/perl-5.12.2-r2 I am no 
missing the suidperl binary. Some of my perl scripts _need_ this feature. Any 
suggestion on how to be able to execute perl-scritps suid (except downgrade 
to 5.8.8).

Regards,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Perl update = emerge cannot create executables

2010-11-08 Thread Pau Peris
Thanks for the answers :)

Yes, i've run al of the above commands except the oen with MAKEOPTS=-j1

Also re-emerge extutils-depends and extutils-pkgconfig didn't helped,
but is strange that they emerged fine.

One thing which took my atention but seem not to be critical was:

[code] * Updating ph files.
 * Ignore all No such file... messages!
Can't open syslimits.h: No existe el fichero o el directorio
Can't open stddef.h: No existe el fichero o el directorio
Can't open stdarg.h: No existe el fichero o el directorio
Can't open stddef.h: No existe el fichero o el directorio
Can't open stddef.h: No existe el fichero o el directorio
Can't open stddef.h: No existe el fichero o el directorio
Can't open stddef.h: No existe el fichero o el directorio
Can't open stddef.h: No existe el fichero o el directorio
[/code]

Also strange the path which is returned by running:

[b]perl-cleaner --leftovers[/b]
[code]

 * Finding left over modules and header

 * The following files remain. These were either installed by hand
 * or edited. This script cannot deal with them.

/usr/lib32/perl5/5.8.8/i686-linux/auto/B/B.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/B/C/C.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/ByteLoader/ByteLoader.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Cwd/Cwd.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/DB_File/DB_File.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Data/Dumper/Dumper.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Devel/DProf/DProf.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Devel/PPPort/PPPort.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Devel/Peek/Peek.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Digest/MD5/MD5.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/Byte/Byte.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/CN/CN.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/EBCDIC/EBCDIC.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/Encode.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/JP/JP.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/KR/KR.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/Symbol/Symbol.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/TW/TW.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Encode/Unicode/Unicode.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Fcntl/Fcntl.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/File/Glob/Glob.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Filter/Util/Call/Call.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/GDBM_File/GDBM_File.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/I18N/Langinfo/Langinfo.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/IO/IO.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/IPC/SysV/SysV.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/List/Util/Util.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/MIME/Base64/Base64.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/NDBM_File/NDBM_File.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Opcode/Opcode.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/POSIX/POSIX.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/PerlIO/encoding/encoding.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/PerlIO/scalar/scalar.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/PerlIO/via/via.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/SDBM_File/SDBM_File.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Socket/Socket.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Storable/Storable.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Sys/Hostname/Hostname.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Sys/Syslog/Syslog.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Time/HiRes/HiRes.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/Unicode/Normalize/Normalize.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/XS/APItest/APItest.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/XS/Typemap/Typemap.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/attrs/attrs.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/re/re.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/threads/shared/shared.so
/usr/lib32/perl5/5.8.8/i686-linux/auto/threads/threads.so
/usr/lib64/perl5/vendor_perl/5.8.8/XML/SAX/ParserDetails.ini
/usr/lib64/perl5/5.8.8/x86_64-linux/Encode/ConfigLocal.pm
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/Encode/ConfigLocal.pm
[/code]

[b]$ls /usr/lib32/perl5/[/b]
[code]
5.8.8[/code]

[b]$ls /usr/lib64/perl5/[/b]
[code]5.12.2  5.8.8  vendor_perl[/code]

Would it be safe to remove 5.8.8 directory? what's also strange is
that the system has been running fine for years...

That's the error i get when trying to emerge perl and chost is set to
[b]CHOST=x86_64-pc-linux-gnu[/b]  at /etc/make.conf

emerge perl
[code]emerge -va perl
 * Mounting 2048M of memory to /var/tmp/portage ...

 [ ok ]
 * emerging -va perl


 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


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

Calculating dependencies... done!
[ebuild   R   ] dev-lang/perl-5.12.2-r2  USE=ithreads -berkdb -build
-debug -doc -gdbm 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]
 Verifying ebuild manifests

 Emerging (1 of 1) dev-lang/perl-5.12.2-r2
 * perl-5.12.2.tar.bz2 

Re: [gentoo-user] Re: Upgrading from FX-5200 to a GeForce 6200 512MB

2010-11-08 Thread Robin Atwood
On Monday 08 November 2010, Dale wrote:
 Robin Atwood wrote:
  On Saturday 06 November 2010, Dale wrote:
  Dale wrote:
  
  
  This is getting weird.  I haven't rebooted in a few weeks now.  I tried
  to watch a video a bit ago and it was slow again.  It was down to about
  2 or 3 frames per second.  It is awful.  If I go tell it to switch to
  opengl, it gets fast again but after a while it will go back to being
  really slow.  Why do I have to keep telling it to use nvidia's opengl
  when it says it is using it and I have switched to a few times?  If it
  is using it, why does it slow down until I tell it to switch?
  
  I did do a huge KDE upgrade the other day.  I don't recall seeing
  anything else X related being updated but I could have missed something
  in that LONG list.  I did do a baselayout upgrade and portage itself has
  been upgraded a few times.
  
  Any ideas on why this thing keeps doing this?  Would a reboot even help
  in this situation?
  
  When it gets very slow start up top and see what's using the CPU. My bet
  is the Xserver. I have a GeForce 9400 GT 512MB and the xserver will
  happily use 90% while nothing much is happening. Start a KDE4 app which
  constantly updates (ktorrent, kps are good 3rd party examples) and the
  xserver goes crazy.
  
  HTH
  -Robin
 
 Nope, it wasn't that here.  This is what top says:
 
PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
 17995 root  20   0 45360  15m 3360 R 89.6  0.7   0:35.72 glxgears
 32113 dale  20   0  305m 162m  27m S  3.3  8.0  17:56.38 seamonkey-bin
 31796 root  20   0  187m  76m  30m S  2.0  3.8  21:51.94 X
 31914 dale  20   0  286m  47m  24m S  1.7  2.3  18:04.02 kwin
 
 It was glxgears that was taking up the most CPU time but I think the
 rest of it was processing the video.  Thing is, nothing has been updated
 and I have not even logged out of KDE since it was working this
 morning.  So, without me doing a single thing, it has stopped working as
 it should.  It's like the card is being bypassed as far as it using its
 own CPU to process the picture.
 
 Oh, look at this miserable mess:
 
 2 frames in 8.5 seconds =  0.236 FPS
 2 frames in 8.7 seconds =  0.230 FPS
 2 frames in 8.3 seconds =  0.241 FPS
 2 frames in 8.1 seconds =  0.246 FPS
 2 frames in 8.1 seconds =  0.247 FPS
 2 frames in 8.1 seconds =  0.247 FPS
 2 frames in 8.3 seconds =  0.241 FPS
 
 Trust me, to see those little wheels turn that slow is really boring.
 
 Going back to single user and switch this again.  I have noticed that
 telling it to switch to nvidia's opengl while in single user mode does
 seem to last longer.  Going to re-emerge the drivers to while I am at
 it.  Can't hurt anything.
 
 Still open to ideas cause this is weird.

AFAIK, all eselect opengl does is set up some symlinks so you use NVidia 
libraries and not Mesa ones. You might want to poke around and check last 
access dates.

HTH
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Perl update = emerge cannot create executables

2010-11-08 Thread Pau Peris
I've also noticed [b]/usr/bin/x86_64-pc-linux-gnu-gcc: Exec format
error[/b] on some emerge error logs. i don't know any clue about the
error.



Re: [gentoo-user] Perl update = emerge cannot create executables

2010-11-08 Thread Pau Peris
I'm starting to think the erroris not related to perl package, so i'm
totally lost as i think /etc/make.conf is ok.



Re: [gentoo-user] Perl update = emerge cannot create executables

2010-11-08 Thread Alan McKinnon
Apparently, though unproven, at 17:13 on Monday 08 November 2010, Pau Peris 
did opine thusly:

 I'm starting to think the erroris not related to perl package, so i'm
 totally lost as i think /etc/make.conf is ok.


Correct. Your configure scripts cannot find header directories - nothing to do 
with perl at all.

I assume the directories and their contents do still exist?

If not, do you have buildpkg's of packages in @system? I'd start by unpacking 
the entire toolchain, something is missing or corrupt.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] kernel panic on manually built kernel

2010-11-08 Thread Volker Armin Hemmann
On Monday 08 November 2010, dhk wrote:
 On 11/08/2010 05:28 AM, Coert Waagmeester wrote:
  Volker Armin Hemmann wrote:
  On Thursday 04 November 2010, dhk wrote:
  I've always used the genkernel, but now am trying to make a manual one.
  
   I think the kernel is alright since all the default setting seemed
  
  reasonable and the build was easy enough.  However, when I boot to it I
  get a kernel panic and it complains about the root device /dev/hda3. So
  I think the problem has to do with my parameters or syntax in
  grub.conf.
  
   Below are three grub menu options.  The first two have the problem and
  
  the third is the genkernel that works fine.  Is there something wrong
  with the way the first two are?  Thanks.
  
  # This is a Manually built kernel with default settings.  kernel panic
  title Gentoo Linux x86 2.6.34-r12
  root (hd0,0)
  kernel /boot/kernel-2.6.34-gentoo-r12 root=/dev/hda3
  
  # This is a Manually built kernel with default settings.  kernel panic
  title Gentoo Linux x86 2.6.34-r12
  root (hd0,0)
  kernel /boot/kernel-2.6.34-gentoo-r12 root=/dev/hda3 vga=791
  splash=verbose video=vesafb:mtrr,ywrap udev
  # From Documentation: video=uvesafb:mtrr:3,ywrap,1024x768...@85
  
  # This a genkernel and works
  title Gentoo Linux x86 2.6.34-r6
  root (hd0,0)
  kernel /boot/kernel-genkernel-x86_64-2.6.34-gentoo-r6 init=/linuxrc
  ramdisk=8192 real_root=/dev/hda3 vga=791 splash=verbose
  video=vesafb:mtrr,ywrap udev
  initrd /boot/initramfs-genkernel-x86_64-2.6.34-gentoo-r6
  
  --dhk
  
  grub must point to sda3 not hda3
  
  Yes, I had a similar problem.
  The device names are different on my machine between genkernel and my
  own kernel.
  Make sure to change that in your /etc/fstab as well.
  
  Dont know if this is always the case though.
  
  Regards,
  Coert Waagmeester
 
 I'm booting to an IDE hard disk.  Are you say the device name should
 change from /dev/hda3 to /dev/sda3?  If I change it in /etc/fstab and it
 doesn't work, I'll have problems, I'll probably have to boot to the livecd.
 
 Thanks,
 
 --dhk

if you are using libata, you have sdX device names.



[gentoo-user] Re: mutt attachment viewing

2010-11-08 Thread José Romildo Malaquias
On Mon, Nov 08, 2010 at 03:44:37PM +0100, hubert depesz lubaczewski wrote:
 On Mon, Nov 08, 2010 at 08:11:30AM -0200, José Romildo Malaquias wrote:
  The entries for text/html in /etc/mailcap and ~/.mutt/mailcap on my
  ~amd64 Gentoo Linux system are
  
  $ grep ^text/html ~/.mutt/mailcap /etc/mailcap
  /home/romildo/.mutt/mailcap:text/html; links %s; nametemplate=%s.html; 
  needsterminal; copiousoutput; description=HTMLText
   
^

  /etc/mailcap:text/html; /usr/bin/lynx -force_html '%s'; needsterminal; 
  description=HTML Text; nametemplate=%s.html
  /etc/mailcap:text/html; /usr/bin/lynx -dump -force_html '%s'; 
  copiousoutput; description=HTML Text; nametemplate=%s.html
  
  Although the entry for links does not have the field copiousoutput, it
  is not being used for viewing an html attachment from the mutt
  attachments menu, as it should be. Instead it is using the lynx entry. I
  am using Mutt 1.5.21 (2010-09-15, Gentoo 1.5.21-r1).
  
  Any clues?
 
 needsterminal?

This option is already in the mailcap entry.

Romildo



[gentoo-user] DNSSEC

2010-11-08 Thread James
Hello,

Several times in the past, I have approached
setting up DNS servers, only to get side-tracked.
I'm making another stab as setting my DNS
servers for my humble, small cidr (/29) block.

Now it seems DNSSEC is all the rage, even
at the root servers [1].

So what am  i to choose to effect DNSSEC on gentoo?
Hardware suggestions on low power (5-10 watts) (embedded) 
hardware with Gentoo are welcome.

net-dns/unbound (portage) [2]
bind9 (portage)
nsd (?)
opendnssec (sunrise overlay)
???

Googling and research has led me to reading
quite a lot of interesting, but fragmented
thoughts on the subject of DNSSEC and gentoo.

Any discussion or guidance is appreciated.

[1] http://www.root-dnssec.org/
[2] http://www.unbound.net/documentation/howto_anchor.html
[3] https://svn.whyscream.net/whyscream-overlay/sunrise-dev/net-dns/
[4]http://gentoo-overlays.zugaina.org/sunrise/net-dns.html.en

[] https://www.dnssec-tools.org/wiki/index.php/Tutorials




Re: [gentoo-user] Perl update = emerge cannot create executables

2010-11-08 Thread Mick
On Monday 08 November 2010 15:20:45 Alan McKinnon wrote:
 Apparently, though unproven, at 17:13 on Monday 08 November 2010, Pau Peris
 
 did opine thusly:
  I'm starting to think the erroris not related to perl package, so i'm
  totally lost as i think /etc/make.conf is ok.
 
 Correct. Your configure scripts cannot find header directories - nothing to
 do with perl at all.
 
 I assume the directories and their contents do still exist?
 
 If not, do you have buildpkg's of packages in @system? I'd start by
 unpacking the entire toolchain, something is missing or corrupt.

You may find this link handy:

http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml
-- 
Regards,
Mick


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


[gentoo-user] netbook

2010-11-08 Thread James
Hello,

OK, I want a 10 or so, netbook that'll
run windows and gentoo on dual boot.

I'd like to stay under $200, but in 
no way over $300.00 . w...@ireless
and wired Ethernet are a must.


suggestions?


James




Re: [gentoo-user] DNSSEC

2010-11-08 Thread Alan McKinnon
Apparently, though unproven, at 18:21 on Monday 08 November 2010, James did 
opine thusly:

 Hello,
 
 Several times in the past, I have approached
 setting up DNS servers, only to get side-tracked.
 I'm making another stab as setting my DNS
 servers for my humble, small cidr (/29) block.

Don't take this the wrong way, but you probably don't want to go this route 
right now.

Your questions and statements indicate that you do not know much about DNSSEC 
and probably not DNS itself either. DNS is not trivial, regardless of what 
anyone tells you. DNSSEC less so. This is a topic best left to groups that do 
it all day every day, the hobbyist approach isn't what you want.

How do I know this? Well, I have 7 years of DNS support tickets I can trawl 
through :-) The number of mistakes made by clients, the number of silly 
requests they make and the sheer amount of misinformation about how DNS works 
is unbelievable. By contrast, there's no record of my team (who admin the 
servers) making any mistakes, ever. And the fellow who sits next to me (and 
signs off on my performance review) just signed the .za zone. I watched him, I 
know how non-trivial it is :-)

Play with DNSSEC by all means if it intrigues you. If you get it right easily, 
you can write a wiki page that helps others immensely. But just be informed 
upfront about what it's going to take.




 
 Now it seems DNSSEC is all the rage, even
 at the root servers [1].
 
 So what am  i to choose to effect DNSSEC on gentoo?
 Hardware suggestions on low power (5-10 watts) (embedded)
 hardware with Gentoo are welcome.
 
 net-dns/unbound (portage) [2]
 bind9 (portage)
 nsd (?)
 opendnssec (sunrise overlay)
 ???
 
 Googling and research has led me to reading
 quite a lot of interesting, but fragmented
 thoughts on the subject of DNSSEC and gentoo.
 
 Any discussion or guidance is appreciated.
 
 [1] http://www.root-dnssec.org/
 [2] http://www.unbound.net/documentation/howto_anchor.html
 [3] https://svn.whyscream.net/whyscream-overlay/sunrise-dev/net-dns/
 [4]http://gentoo-overlays.zugaina.org/sunrise/net-dns.html.en
 
 [] https://www.dnssec-tools.org/wiki/index.php/Tutorials

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] netbook

2010-11-08 Thread Alan McKinnon
Apparently, though unproven, at 18:59 on Monday 08 November 2010, James did 
opine thusly:

 Hello,
 
 OK, I want a 10 or so, netbook that'll
 run windows and gentoo on dual boot.
 
 I'd like to stay under $200, but in
 no way over $300.00 . w...@ireless
 and wired Ethernet are a must.


I can't advise you much on what to buy, I'm on the other side of the planet. 
But I can give you tips about what I've found workable with mine (Acer Aspire 
One A110).

1. 600 pixels vertically is not enough, not even with Ubuntu and Unity. Too 
many dialogs just don't fit and it'll take a while for them all to get fixed. 
Most web pages are virtually unusable. 1024 x 768 is the minimum I would 
recommend anyone to use.

2. Those SSDs are shite. Get a mechanical drive. 8G is also not enough and the 
write performance is pathetic.

3. From what I've seen, both wired and wireless is pretty much the norm, using 
bog standard interface hardware. The only thing to watch out for is that you 
are not unlucky enough to get one with below-average Linux support (like the 
Ath5k 2 years ago).

4. Make sure you are comfortable with the keyboard. They tend to be 80% of 
full-sized so there's not much margin for error. Use it as much as possible 
before you buy.

5. Got kids younger than 12? Don't let them find out you have one :-)

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Re: DNSSEC

2010-11-08 Thread James
Alan McKinnon alan.mckinnon at gmail.com writes:


 I know how non-trivial it is 

FABULOUS!!!

With several Domain names, I'll just let the local
ISP resolve one and I'll set up servers to resolv
the other(s) and pull the cables if necessary.
Lots of physical partitioning on my little
net and nothing that can't be taken off line
as needed. Besides that the purpose of this little
net, is to have FUN with SECURITY

Ah, yes, I'll need to update some of my transparent
bridges to glean(parse) various (new)traffic streams.
(any suggestions there?)


 you can write a wiki page that helps others immensely. 
 But just be informed upfront about what it's going to take.

wink wink, nudge nudge. OK. 
;-) 

I'm not unfamiliar with it, just rusty (bout 5 years)
The experience is EXACTLY what I'm looking for.
Nothing here to steal, unless hacks can jump
an air gap firewall(ha ha) I'm quite
certain it's going to be FUN!

Maybe, just maybe, this is something that the
GENTOO DOCS should be addressing??

All input is most welcome.

cheers,
James










Re: [gentoo-user] Re: Upgrading from FX-5200 to a GeForce 6200 512MB

2010-11-08 Thread Dale

Robin Atwood wrote:

AFAIK, all eselect opengl does is set up some symlinks so you use NVidia
libraries and not Mesa ones. You might want to poke around and check last
access dates.

HTH
-Robin
   


I was thinking the same thing.  I figure something worked for a while 
and then had some sort of a error and then switched to something else 
that was slow.  I don't know the inner workings of opengl so I am just 
guessing.  I just know it worked for a while then didn't until I told it 
to switch again.  It is weird tho.


I did do this last night tho.  I upgraded my kernel and updated to the 
latest nvidia drivers.  I checked it again a few minutes ago by playing 
a video and it is still working like it should.  At almost full screen 
my CPU was running at about 40 to 50% which is about like it was a while 
back.  So, I figure it was either some sort of kernel issue or even more 
likely a nvidia driver issue.


I'm just hoping it keeps working like this.  Those little wheels are 
turning pretty good now.


Dale

:-)  :-)


[gentoo-user] Re: netbook

2010-11-08 Thread James
Alan McKinnon alan.mckinnon at gmail.com writes:


 5. Got kids younger than 12? Don't let them find out you have one 

I have  a 13 year old that will be in medical school, before
he turns 17. It's for him. Very bright and beautiful young
(Christian) man (got his looks and brains from his mom)..
Kids pilfering my computers and electronics has been the norm
since diapers


Thanks for the tips.

James








Re: [gentoo-user] kernel panic on manually built kernel

2010-11-08 Thread Dale

Coert Waagmeester wrote:



It has indeed happened to me with an IDE PATA disk.
Try first only to change only your grub config.
Then if you see that the kernel boots fine, you can change /etc/fstab.

If you want you can even use LABELs in fstab.

give your ext{2,3} partitions labels with e2label

and change the device node eg /dev/hda1 in fstab to LABEL=yournewlabel


Regards,
Coert Waagmeester




I agree with this 100%.  I switched mine to the new PATA drivers and I 
couldn't figure out what the drive order was.  I used LABELS and it has 
worked ever since.  The funny thing is, I have a card to hook a SATA 
drive up to and it puts it first instead of the drives that are hooked 
directly to the mobo.  I wasn't expecting that and that was why I could 
not get mine to boot with the PATA drives.  Bad thing is, the CD/DVD's I 
have still use the old IDE drivers so I couldn't even test it by booting 
that.


I have not been able to get grub to see the LABELS yet but I'm going to 
post fstab so that you have a example that is known to work and not from 
a guide:


/dev/disk/by-label/boot/bootext2noatime1 2
/dev/disk/by-label/root/reiserfsdefaults0 1
/dev/disk/by-label/swapnoneswapsw0 0
/dev/disk/by-label/portage/usr/portageext3defaults0 1
/dev/disk/by-label/home/homereiserfsdefaults1 1
/dev/disk/by-label/data/datareiserfsdefaults0 1

Now someone post their grub.conf for us both.  I just can't get mine to 
work with grub at all.  I can't even use tab to find the drives in the 
boot menu.


Hope that helps.

Dale

:-)  :-)



Re: [gentoo-user] Perl update = emerge cannot create executables

2010-11-08 Thread Pau Peris
Hi, i do not have buildpkg's of packages in @system so i don't know
how to proceed. It's very strange cause i was emerging sometrivial
packages without problems, last one was perl and then i was taking a
look at /etc/make.conf when tried to re-emerge php and start getting
errors (no reboot, no errors before, no deleting anything, really
strange).

At this point i'm starting to hate computers

2010/11/8 Mick michaelkintz...@gmail.com:
 On Monday 08 November 2010 15:20:45 Alan McKinnon wrote:
 Apparently, though unproven, at 17:13 on Monday 08 November 2010, Pau Peris

 did opine thusly:
  I'm starting to think the erroris not related to perl package, so i'm
  totally lost as i think /etc/make.conf is ok.

 Correct. Your configure scripts cannot find header directories - nothing to
 do with perl at all.

 I assume the directories and their contents do still exist?

 If not, do you have buildpkg's of packages in @system? I'd start by
 unpacking the entire toolchain, something is missing or corrupt.

 You may find this link handy:

 http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml
 --
 Regards,
 Mick




Re: [gentoo-user] Perl update = emerge cannot create executables

2010-11-08 Thread Pau Peris
Please, is there any developer/geek who can help to solve the
situation? Why do i get :
[code]/usr/bin/x86_64-pc-linux-gnu-gcc: Exec format error [/code]
I did nothing than updating the system, also /etc/make.conf (which i
took a look before getting errors) seems ok. I've tried with a simple
make.conf as follows with no luck:
[code]# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.

CFLAGS=-march=native -O2 -pipe
CXXFLAGS=-march=native -O2 -pipe

# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.

#CHOST=ia64-unknown-linux-gnu
CHOST=x86_64-pc-linux-gnu
[/code]

2010/11/8 Pau Peris sibok1...@gmail.com:
 Hi, i do not have buildpkg's of packages in @system so i don't know
 how to proceed. It's very strange cause i was emerging sometrivial
 packages without problems, last one was perl and then i was taking a
 look at /etc/make.conf when tried to re-emerge php and start getting
 errors (no reboot, no errors before, no deleting anything, really
 strange).

 At this point i'm starting to hate computers

 2010/11/8 Mick michaelkintz...@gmail.com:
 On Monday 08 November 2010 15:20:45 Alan McKinnon wrote:
 Apparently, though unproven, at 17:13 on Monday 08 November 2010, Pau Peris

 did opine thusly:
  I'm starting to think the erroris not related to perl package, so i'm
  totally lost as i think /etc/make.conf is ok.

 Correct. Your configure scripts cannot find header directories - nothing to
 do with perl at all.

 I assume the directories and their contents do still exist?

 If not, do you have buildpkg's of packages in @system? I'd start by
 unpacking the entire toolchain, something is missing or corrupt.

 You may find this link handy:

 http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml
 --
 Regards,
 Mick





[gentoo-user] Re: mutt attachment viewing

2010-11-08 Thread José Romildo Malaquias
On Mon, Nov 08, 2010 at 06:36:20PM +0100, hubert depesz lubaczewski wrote:
 On Mon, Nov 08, 2010 at 12:54:40PM -0200, José Romildo Malaquias wrote:
  On Mon, Nov 08, 2010 at 03:44:37PM +0100, hubert depesz lubaczewski wrote:
   On Mon, Nov 08, 2010 at 08:11:30AM -0200, José Romildo Malaquias wrote:
The entries for text/html in /etc/mailcap and ~/.mutt/mailcap on my
~amd64 Gentoo Linux system are

$ grep ^text/html ~/.mutt/mailcap /etc/mailcap
/home/romildo/.mutt/mailcap:text/html; links %s; nametemplate=%s.html; 
needsterminal; copiousoutput; description=HTMLText
 
  ^
  
/etc/mailcap:text/html; /usr/bin/lynx -force_html '%s'; needsterminal; 
description=HTML Text; nametemplate=%s.html
/etc/mailcap:text/html; /usr/bin/lynx -dump -force_html '%s'; 
copiousoutput; description=HTML Text; nametemplate=%s.html

Although the entry for links does not have the field copiousoutput, it
is not being used for viewing an html attachment from the mutt
attachments menu, as it should be. Instead it is using the lynx entry. I
am using Mutt 1.5.21 (2010-09-15, Gentoo 1.5.21-r1).

Any clues?
   
   needsterminal?
  
  This option is already in the mailcap entry.
 
 *exactly*. remove it.

With the entry:

text/html; links %s; nametemplate=%s.html


it does not work:

[-- Autoview using /usr/bin/lynx -dump -force_html ''/tmp/mutt.html'' --]

With the entry:


text/html; links %s; nametemplate=%s.html; needsterminal


it also does not work:

[-- Autoview using /usr/bin/lynx -dump -force_html ''/tmp/mutt.html'' --]

With the entry:


text/html; links %s; nametemplate=%s.html; copiousoutput


it still does not work:

Invoking autoview command: links '/tmp/mutt.html'

is diplayed indefinitly in the status line, and I have to type Ctrl-C in
order to get rid of it. After that the screen is shown with garbage:

[-- Autoview using links '/tmp/mutt.html' --]
^[[?1001s^[[?1000h^[)0^[7^[[?1000h^[[1;1H^[[2J^[[1;1H
+^[[2;1H   Segue o cartaz da palestra com nova data.
[...]

So it seems that there is bug somewhere.

Romildo



Re: [gentoo-user] Perl update = emerge cannot create executables

2010-11-08 Thread Mick
On Monday 08 November 2010 18:28:58 Pau Peris wrote:
 Please, is there any developer/geek who can help to solve the
 situation? Why do i get :
 [code]/usr/bin/x86_64-pc-linux-gnu-gcc: Exec format error [/code]
 I did nothing than updating the system, also /etc/make.conf (which i
 took a look before getting errors) seems ok. 

I can't say why you *suddenly* started getting problems, but it may indicate 
that there is some hardware problem which caused a fs corruption.  So, check 
the obvious for errors like hard drive (smartmontools) and memory 
(memtest86+).

If I were you I would follow the instructions in the previous link I sent you, 
and use that to rebuild portage and tool chain before you finish off 
rebuilding the packages that were giving you errors.
-- 
Regards,
Mick


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


Re: [gentoo-user] suidperl missing after update to perl 5.12.2-r2

2010-11-08 Thread Sebastian Beßler
Am 08.11.2010 15:02, schrieb Dan Johansson:
 Hi,
 
 After updating from dev-lang/perl-5.8.8-r8 to dev-lang/perl-5.12.2-r2
 I am no missing the suidperl binary. Some of my perl scripts _need_
 this feature. Any suggestion on how to be able to execute
 perl-scritps suid (except downgrade to 5.8.8).


Hello,

have you run perl-cleaner --phall after the update?
If not, do so.

Greetings

Sebastian Beßler



[gentoo-user] gtkam crashes. Anyone else have this problem?

2010-11-08 Thread Dale

Hi,

I'm using gtkam to download my pics from my camera.  It works OK for a 
bit but after a few downloads it crashes on me.  Here is some info:


r...@smoker / # emerge -pv gtkam

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

Calculating dependencies... done!
[ebuild U ] media-gfx/gtkam-0.1.17 [0.1.16.1] USE=gimp nls -debug 
-gnome 0 kB


Total: 1 package (1 upgrade), Size of downloads: 0 kB
r...@smoker / # emerge --info
Portage 2.2_rc67 (default/linux/x86/10.0/desktop/kde, gcc-4.4.4, 
glibc-2.11.2-r3, 2.6.35-gentoo-r12 i686)

=
System uname: 
Linux-2.6.35-gentoo-r12-i686-AMD_Athlon-tm-_XP_2500+-with-gentoo-1.12.14

Timestamp of tree: Mon, 08 Nov 2010 00:15:01 +
app-shells/bash: 4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python: 2.6.5-r3, 3.1.2-r4
dev-util/cmake:  2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:   4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:  3.81-r2
virtual/os-headers:  2.6.35
ACCEPT_KEYWORDS=x86
ACCEPT_LICENSE=*
CBUILD=i686-pc-linux-gnu
CFLAGS=-march=native -O2 -pipe -fomit-frame-pointer
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d 
/etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild 
/etc/sandbox.d /etc/terminfo

CXXFLAGS=-march=native -O2 -pipe -fomit-frame-pointer
DISTDIR=/usr/portage/distfiles
EMERGE_DEFAULT_OPTS=--with-bdeps y --backtrack=30
FEATURES=assume-digests buildpkg distlocks fixpackages news 
parallel-fetch preserve-libs protect-owned sandbox sfperms strict 
unmerge-logs unmerge-orphans userfetch
GENTOO_MIRRORS=ftp://mirror.mcs.anl.gov/pub/gentoo/ 
ftp://gentoo.chem.wisc.edu/gentoo/ http://www.cyberuse.com/gentoo/ 
ftp://mirror.datapipe.net/gentoo 
ftp://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ 
ftp://ftp.gtlib.gatech.edu/pub/gentoo 
ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ 
ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://lug.mtu.edu/gentoo/ 
ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ 
ftp://mirrors.rit.edu/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ 
ftp://gentoo.llarian.net/pub/gentoo ftp://gentoo.mirrors.tds.net/gentoo 
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ 
ftp://ftp.lug.udel.edu/pub/gentoo/ ftp://mirror.its.uidaho.edu/gentoo/ 
ftp://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.cs.uni.edu/ 
ftp://ftp.wallawalla.edu/pub/mirrors/ftp.gentoo.org;

LANG=en_US
LC_ALL=en_US.utf8
LDFLAGS=-Wl,-O1 -Wl,--as-needed
LINGUAS=en_US en
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_EXTRA_OPTS=--timeout=600
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


I have also tried the newer version of gtkam that is in portage and it 
fails in the same way.  I downgraded to see if it was a bug in that one 
version or something else.  I'm wondering if it is something that gtkam 
is built on or uses to get the pictures that is actually failing but I'm 
not sure.


Any ideas?  Anyone else having this same problem?

Dale

:-)  :-)



Re: [gentoo-user] Re: netbook

2010-11-08 Thread Alan McKinnon
Apparently, though unproven, at 19:29 on Monday 08 November 2010, James did 
opine thusly:

 Alan McKinnon alan.mckinnon at gmail.com writes:
  5. Got kids younger than 12? Don't let them find out you have one
 
 I have  a 13 year old that will be in medical school, before
 he turns 17. It's for him. Very bright and beautiful young
 (Christian) man (got his looks and brains from his mom)..
 Kids pilfering my computers and electronics has been the norm
 since diapers

I hear you :-)

I've got one just like him and his little sister who's much better behaved. 
She likes Facebook, his thing is DeviantArt

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] netbook

2010-11-08 Thread J. Roeleveld
On Monday 08 November 2010 18:16:00 Alan McKinnon wrote:
 Apparently, though unproven, at 18:59 on Monday 08 November 2010, James did
 
 opine thusly:
  Hello,
  
  OK, I want a 10 or so, netbook that'll
  run windows and gentoo on dual boot.
  
  I'd like to stay under $200, but in
  no way over $300.00 . w...@ireless
  and wired Ethernet are a must.
 
 I can't advise you much on what to buy, I'm on the other side of the
 planet. But I can give you tips about what I've found workable with mine
 (Acer Aspire One A110).
 
 1. 600 pixels vertically is not enough, not even with Ubuntu and Unity. Too
 many dialogs just don't fit and it'll take a while for them all to get
 fixed. Most web pages are virtually unusable. 1024 x 768 is the minimum I
 would recommend anyone to use.

I agree on this, although I do happily use mine with 600 vertical. (9 screen)

 2. Those SSDs are shite. Get a mechanical drive. 8G is also not enough and
 the write performance is pathetic.

You must have a lesser then then I've got?
I have quite decent read/write performance with the 16GB SSD in mine (Asus 
EEE901)
I think it's a shame there aren't more Netbooks with SSDs.
Too many manufacturers and users tend to see these as small laptop-
replacements. These are meant for webbrowsing, email,... NOT to use to do your 
doctorate...

 3. From what I've seen, both wired and wireless is pretty much the norm,
 using bog standard interface hardware. The only thing to watch out for is
 that you are not unlucky enough to get one with below-average Linux
 support (like the Ath5k 2 years ago).

I'd be hard-pressed to find one without wired and wireless ethernet.
I would, however, also add Bluetooth to the list. Being able to link 
wirelessly to your mobile for mobile internet is useful.

 4. Make sure you are comfortable with the keyboard. They tend to be 80% of
 full-sized so there's not much margin for error. Use it as much as possible
 before you buy.

Small hands help (don't have those) but also an extra keyboard could help here 
already.

 5. Got kids younger than 12? Don't let them find out you have one :-)

Best tip of all, although the smaller keyboard seems to be designed with kids' 
hands in mind :)

--
Joost



Re: [gentoo-user] netbook

2010-11-08 Thread Alan McKinnon
Apparently, though unproven, at 22:11 on Monday 08 November 2010, J. Roeleveld 
did opine thusly:

  2. Those SSDs are shite. Get a mechanical drive. 8G is also not enough
  and the write performance is pathetic.
 
 You must have a lesser then then I've got?
 I have quite decent read/write performance with the 16GB SSD in mine (Asus 
 EEE901)
 I think it's a shame there aren't more Netbooks with SSDs.
 Too many manufacturers and users tend to see these as small laptop-
 replacements. These are meant for webbrowsing, email,... NOT to use to do
 your  doctorate...


In all fairness to Acer, the SSDs in the A110 were early generation and 
improvements have been made. In the consumer grade, Intel is not too bad, 
Samsung is c...@p. And the early JMicron controllers were atrocious.

Server grade disks are improving by leaps and bounds, but they are expensive 
and I don't see this filtering down to netbooks at this point in time yet. But 
I would be ecstatically happy to be proved wrong!

Your use-case for netbooks is spot-on too - a laptop-replacement it is not. My 
kids use mine for surfing and I use it when on standby and want to go out 
visiting. All I need is an xterm - 1024x600 makes a fine terminal. With wired, 
wireless and a 3G dongle I have all bases covered. Plus it fits in the wife's 
handbag :-) no need to carry a big backpack with a huge Dell inside.


-- 
alan dot mckinnon at gmail dot com



[gentoo-user] [OT xfce pager] Xfce pager jacked up after updates

2010-11-08 Thread Harry Putnam
Anyone know which applet controls how the virtual desktop pager
appears under Xfce

The one called `workspaces' appears to be it, but it looks to be set
as it always was... with a default 4 desktops.

But the actual pager is now 4 rectangles all end to end on the panel
with the large words `workspaceN' writen in them... No windows or
applications are visible there as they used to be.  No way to drag
stuff around as there was prior to this update.

eix shows no special xfce pkgs dealing specifically with the pager, so
I guess its part of the xfce desktop?

But grep seems to indicate there isn't any file in xfce desktop with
the string pager in it:

qlist xfce-base/xfdesktop|grep pager nada

I also am noticing a little blank floating something... a panel I
guess since its context menu shows panel related menu items and I can
add launchers etc to it... But I see no way to get rid of it.  I like
just one at the bottom.

The bigger problem of the two is the pager that is something I use
constantly for reference and to move things around when needed.

There were 11 xfce pkgs updated along with 25 others.

The full list appears below with the xfce pkgs listed first
Mon Nov  8 10:13:14 2010  xfce-base/libxfce4util-4.7.3
Mon Nov  8 10:58:52 2010  xfce-base/exo-0.5.4
Mon Nov  8 11:19:57 2010  xfce-base/garcon-0.1.3
Mon Nov  8 11:21:30 2010  xfce-base/libxfce4ui-4.7.4
Mon Nov  8 11:26:34 2010  xfce-base/xfce4-panel-4.7.4
Mon Nov  8 11:27:54 2010  xfce-base/xfce-utils-4.7.1
Mon Nov  8 11:31:07 2010  xfce-base/xfwm4-4.7.1
Mon Nov  8 11:33:28 2010  xfce-base/xfce4-settings-4.7.4
Mon Nov  8 11:39:22 2010  xfce-base/thunar-1.1.4
Mon Nov  8 11:42:21 2010  xfce-base/xfce4-session-4.7.1
Mon Nov  8 11:44:33 2010  xfce-base/xfdesktop-4.7.2
----   ---=---   -   

Mon Nov  8 07:57:53 2010  sys-apps/sdparm-1.05
Mon Nov  8 09:58:05 2010  media-libs/libdvdcss-1.2.10
Mon Nov  8 09:59:44 2010  media-libs/libdvdread-4.1.3_p1168
Mon Nov  8 10:01:06 2010  media-libs/libdvdnav-4.1.3_p1168
Mon Nov  8 10:03:56 2010  sys-apps/sg3_utils-1.29
Mon Nov  8 10:04:16 2010  sys-apps/rescan-scsi-bus-1.35
Mon Nov  8 10:07:03 2010  dev-python/pygobject-2.26.0-r1
Mon Nov  8 10:11:56 2010  app-portage/eix-0.22.4
Mon Nov  8 10:14:12 2010  app-emacs/emacs-w3m-1.4.417_pre20101104
Mon Nov  8 10:15:00 2010  dev-libs/libatasmart-0.17
Mon Nov  8 10:19:08 2010  sys-fs/lvm2-2.02.74
Mon Nov  8 10:25:52 2010  sys-block/parted-2.3
Mon Nov  8 10:27:04 2010  media-libs/libass-0.9.11
Mon Nov  8 10:28:46 2010  x11-terms/xterm-266
Mon Nov  8 10:33:50 2010  app-text/poppler-0.14.5
Mon Nov  8 10:35:02 2010  dev-libs/libunique-1.1.6
Mon Nov  8 10:37:03 2010  x11-libs/libsexy-0.1.11-r2
Mon Nov  8 10:55:01 2010  media-video/mplayer-1.0_rc4_p20101107
Mon Nov  8 11:00:34 2010  x11-libs/libnotify-0.4.5
Mon Nov  8 11:01:43 2010  x11-misc/notification-daemon-0.4.0-r1
Mon Nov  8 11:04:48 2010  sys-auth/polkit-0.96-r2
Mon Nov  8 11:07:48 2010  sys-auth/consolekit-0.4.2-r4
Mon Nov  8 11:09:44 2010  sys-fs/udisks-1.0.1-r2
Mon Nov  8 11:14:05 2010  sys-apps/gnome-disk-utility-2.30.1




Re: [gentoo-user] kernel panic on manually built kernel

2010-11-08 Thread Stroller

On 8/11/2010, at 5:56pm, Dale wrote:
 ...
 I have not been able to get grub to see the LABELS yet but I'm going to post 
 fstab so that you have a example that is known to work and not from a guide:
 
 /dev/disk/by-label/boot/bootext2noatime1 2
 /dev/disk/by-label/root/reiserfsdefaults0 1
 /dev/disk/by-label/swapnoneswapsw0 0
 /dev/disk/by-label/portage/usr/portageext3defaults0 1
 /dev/disk/by-label/home/homereiserfsdefaults1 1
 /dev/disk/by-label/data/datareiserfsdefaults0 1

I'm not paying enough attention to know whether your above fastab works or not, 
but /dev/disk/by-label/* seems a relatively ugly way of doing things. I'm 
pretty sure it's not intended that you use that format, and I have no idea 
whether it's supposed to work that way.

All the guides say to use the word LABEL. That's not a variable or anything - 
it's the literal word you're supposed to use.

I have no idea why a guide should be considered unreliable, but the below is 
not fabricated - it is from an actual working system:

$ grep -ve ^# /etc/fstab

LABEL=boot  /boot   ext2noauto,noatime  1 2
LABEL=/ /   ext4noatime 0 1
LABEL=swap  noneswapsw  0 0
/dev/cdrom  /mnt/cdrom  autonoauto,ro,users 0 0

LABEL=space /mnt/space  ext4noatime 0 3

shm /dev/shmtmpfs   nodev,nosuid,noexec 0 0
$ 

To me this seems cleaner than your format, and it's certainly fewer characters!

Stroller.




Re: [gentoo-user] Re: Upgrading from FX-5200 to a GeForce 6200 512MB

2010-11-08 Thread Dale

Dale wrote:


I was thinking the same thing.  I figure something worked for a while 
and then had some sort of a error and then switched to something else 
that was slow.  I don't know the inner workings of opengl so I am just 
guessing.  I just know it worked for a while then didn't until I told 
it to switch again.  It is weird tho.


I did do this last night tho.  I upgraded my kernel and updated to the 
latest nvidia drivers.  I checked it again a few minutes ago by 
playing a video and it is still working like it should.  At almost 
full screen my CPU was running at about 40 to 50% which is about like 
it was a while back.  So, I figure it was either some sort of kernel 
issue or even more likely a nvidia driver issue.


I'm just hoping it keeps working like this.  Those little wheels are 
turning pretty good now.


Dale

:-)  :-)


Well, I worked on my air compressor and played in the dirt in my garden 
for a while and now I get this again:


2 frames in 7.6 seconds =  0.263 FPS
2 frames in 7.7 seconds =  0.259 FPS


I don't know what the issue is but it is getting on my nerves.  I have 
not even logged out of KDE and it is slow again.  The only thing I have 
done was to downgrade gtkam to see if the old version crashes too.  
Nothing else has been messed with since this morning.


Any ideas at all?  I'm about ready to do a emerge -e world and see if 
that helps.  It's getting cool so I could use the heat anyway.


Dale

:-)  :-)


Re: [gentoo-user] Re: Upgrading from FX-5200 to a GeForce 6200 512MB

2010-11-08 Thread Alex Schuster
Dale writes:

 Well, I worked on my air compressor and played in the dirt in my garden
 for a while and now I get this again:
 
 2 frames in 7.6 seconds =  0.263 FPS
 2 frames in 7.7 seconds =  0.259 FPS

D'ouch!

 I don't know what the issue is but it is getting on my nerves.  I have
 not even logged out of KDE and it is slow again.  The only thing I have
 done was to downgrade gtkam to see if the old version crashes too. 
 Nothing else has been messed with since this morning. 
 
 Any ideas at all?  I'm about ready to do a emerge -e world and see if
 that helps.  It's getting cool so I could use the heat anyway. 

Anything in syslog, Xorg.log or dmesg about drm suddenly being turned off?

I'd get back into the garden and turn the air compressor to reverse.

Wonko



Re: [gentoo-user] Re: DNSSEC

2010-11-08 Thread Stroller

On 8/11/2010, at 9:01pm, Kyle Bader wrote:

 Nothing here to steal, unless hacks can jump
 an air gap firewall(ha ha)
 
 Sorry to go off on a tangent but I couldn't help pointing out a common
 misconception: you don't need to worry about security because you
 assume you don't have anything worth protecting.  A machine with
 internet access alone is an asset that many adversaries would be happy
 to abuse.

James doesn't actually say where he's located, but assuming he's in a similar 
situation to most of us: I understood that unix boxes with only a domestic 
broadband internet connection were now considered extremely low-value to 
hackers.

If one only needs a compromised box with a domestic broadband internet 
connection then one can seed dodgy movie files on Rapidshare or whatever, and 
obtain multiple compromised Windows boxes far more easily than a single Linux 
box.

I would imagine that there are plenty of poorly configured rented servers and 
virtual hosts in datacentres, on the other hand, which would be far more 
attractive.

Stroller.




Re: [gentoo-user] kernel panic on manually built kernel

2010-11-08 Thread Dale

Stroller wrote:

On 8/11/2010, at 5:56pm, Dale wrote:
   

...
I have not been able to get grub to see the LABELS yet but I'm going to post 
fstab so that you have a example that is known to work and not from a guide:

/dev/disk/by-label/boot/bootext2noatime1 2
/dev/disk/by-label/root/reiserfsdefaults0 1
/dev/disk/by-label/swapnoneswapsw0 0
/dev/disk/by-label/portage/usr/portageext3defaults0 1
/dev/disk/by-label/home/homereiserfsdefaults1 1
/dev/disk/by-label/data/datareiserfsdefaults0 1
 

I'm not paying enough attention to know whether your above fastab works or not, 
but /dev/disk/by-label/* seems a relatively ugly way of doing things. I'm 
pretty sure it's not intended that you use that format, and I have no idea 
whether it's supposed to work that way.

All the guides say to use the word LABEL. That's not a variable or anything - 
it's the literal word you're supposed to use.

I have no idea why a guide should be considered unreliable, but the below is 
not fabricated - it is from an actual working system:

$ grep -ve ^# /etc/fstab

LABEL=boot  /boot   ext2noauto,noatime  1 2
LABEL=/ /   ext4noatime 0 1
LABEL=swap  noneswapsw  0 0
/dev/cdrom  /mnt/cdrom  autonoauto,ro,users 0 0

LABEL=space /mnt/space  ext4noatime 0 3

shm /dev/shmtmpfs   nodev,nosuid,noexec 0 0
$

To me this seems cleaner than your format, and it's certainly fewer characters!

Stroller.

   


Well, it does work since it booted as recent as last night when I 
updated my kernel.  I found that somewhere and just copied that to 
mine.  It may be the long way but it does work.  I may edit it and try 
it your way but since mine works and I don't move things to much, not 
sure it really matters.


I sometimes like to get things from a working system, such as what you 
posted that you use, because sometimes what is in a guide somewhere may 
not apply to what I am using or even my OS.  May be some subtle 
difference that causes me grief.  Since you use Gentoo, yours is a good 
example to go by.  Should have had that a few months ago when I was 
changing mine over.  ;-)   It would have saved me some typing as you 
pointed out.  lol


Wouldn't happen to have LABELS in your grub.conf file would you?

Dale

:-)  :-)



Re: [gentoo-user] netbook

2010-11-08 Thread J. Roeleveld
On Monday 08 November 2010 22:08:53 Alan McKinnon wrote:
 Apparently, though unproven, at 22:11 on Monday 08 November 2010, J.
 Roeleveld
 
 did opine thusly:
   2. Those SSDs are shite. Get a mechanical drive. 8G is also not enough
   and the write performance is pathetic.
  
  You must have a lesser then then I've got?
  I have quite decent read/write performance with the 16GB SSD in mine
  (Asus EEE901)
  I think it's a shame there aren't more Netbooks with SSDs.
  Too many manufacturers and users tend to see these as small laptop-
  replacements. These are meant for webbrowsing, email,... NOT to use to do
  your  doctorate...
 
 In all fairness to Acer, the SSDs in the A110 were early generation and
 improvements have been made. In the consumer grade, Intel is not too bad,
 Samsung is c...@p. And the early JMicron controllers were atrocious.
 
 Server grade disks are improving by leaps and bounds, but they are
 expensive and I don't see this filtering down to netbooks at this point in
 time yet. But I would be ecstatically happy to be proved wrong!

The one in mine gives me better performance then the ones that are usually 
stuck inside consumer-grade laptops and the SD-card reader supports the faster 
SD-cards as well, which helps.

 Your use-case for netbooks is spot-on too - a laptop-replacement it is not.
 My kids use mine for surfing and I use it when on standby and want to go
 out visiting. All I need is an xterm - 1024x600 makes a fine terminal.
 With wired, wireless and a 3G dongle I have all bases covered. Plus it
 fits in the wife's handbag :-) no need to carry a big backpack with a huge
 Dell inside.

I've seen women carry handbags that could hold a 17 laptop easily, btw :)
But I know what you mean.

I tend to use mine for:
- webbrowsing
- email
- odd document / taking notes
- viewing the pictures from the camera
- random entertainment (movies/games/...) while stuck inside during holidays



Re: [gentoo-user] kernel panic on manually built kernel

2010-11-08 Thread Stroller

On 8/11/2010, at 9:34pm, Dale wrote:
 ...
 Wouldn't happen to have LABELS in your grub.conf file would you?

Nope. 

I believe this requires an initramfs - see the February 2009 thread, `Using  
root=LABEL= in grub.conf` for more details of that. I seem to rather have 
an aversion to initramfses.

Stroller.




Re: [gentoo-user] netbook

2010-11-08 Thread Florian Philipp
Am 08.11.2010 22:34, schrieb J. Roeleveld:
 On Monday 08 November 2010 22:08:53 Alan McKinnon wrote:
 Apparently, though unproven, at 22:11 on Monday 08 November 2010, J.
 Roeleveld

 did opine thusly:
 2. Those SSDs are shite. Get a mechanical drive. 8G is also not enough
 and the write performance is pathetic.

 You must have a lesser then then I've got?
 I have quite decent read/write performance with the 16GB SSD in mine
 (Asus EEE901)
 I think it's a shame there aren't more Netbooks with SSDs.
 Too many manufacturers and users tend to see these as small laptop-
 replacements. These are meant for webbrowsing, email,... NOT to use to do
 your  doctorate...

 In all fairness to Acer, the SSDs in the A110 were early generation and
 improvements have been made. In the consumer grade, Intel is not too bad,
 Samsung is c...@p. And the early JMicron controllers were atrocious.

 Server grade disks are improving by leaps and bounds, but they are
 expensive and I don't see this filtering down to netbooks at this point in
 time yet. But I would be ecstatically happy to be proved wrong!


Nope, netbooks with good hardware are still called subnotebooks and
are sold for ten times the price of a netbook ;)

 The one in mine gives me better performance then the ones that are usually 
 stuck inside consumer-grade laptops and the SD-card reader supports the 
 faster 
 SD-cards as well, which helps.
 

Another argument against SSD: They are usually very low in capacity.
James wants to dual-boot. I don't know about Windows 7 but I found it
very hard to keep Windows XP below 10 GB and still usable. The SSD in
Acer Aspire Ones is 8 GB.

Do they even sell Netbooks with SSD and Windows preinstalled?

As an advice from an Aspire One user: It helps when you have a big
mothership machine available. I keep photos, videos, portage tree,
ccache and other non-essentials on a desktop machine, shared with NFS
over WLAN.

When I make a smaller `emerge --update --deep world`, WLAN and the SSD
are fast enough (if you have enough RAM, you might want to try tmpfs).
For larger actions like KDE updates, I hook it up with ethernet and also
mount /var/tmp/portage via NFS to spare the SSD from too much I/O.

BTW: KDE-4 without semantic-desktop works great on these, even with 512
MB RAM. :) It runs without Firefox or OpenOffice, though.

Hope this helps,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Upgrading from FX-5200 to a GeForce 6200 512MB

2010-11-08 Thread Dale

Alex Schuster wrote:

Dale writes:

   

Well, I worked on my air compressor and played in the dirt in my garden
for a while and now I get this again:

2 frames in 7.6 seconds =  0.263 FPS
2 frames in 7.7 seconds =  0.259 FPS
 

D'ouch!

   

I don't know what the issue is but it is getting on my nerves.  I have
not even logged out of KDE and it is slow again.  The only thing I have
done was to downgrade gtkam to see if the old version crashes too.
Nothing else has been messed with since this morning.

Any ideas at all?  I'm about ready to do a emerge -e world and see if
that helps.  It's getting cool so I could use the heat anyway.
 

Anything in syslog, Xorg.log or dmesg about drm suddenly being turned off?

I'd get back into the garden and turn the air compressor to reverse.

Wonko

   


I checked messages, Xorg.log and dmesg, nothing out of the ordinary in 
there.  Just me plugging up my camera, ntpd setting the clock and such 
nothingness as that.  I can't think of any other logs that I can check 
either.


That air compressor has been giving me fits.  First a dirt dobber built 
him a nice house in it and then that caused a wire to burn out on a run 
capacitor.  I evicted the wasp a week or so ago and fixed the wire 
today.  That bug better not try to move in again either.  I'll evict him 
next time with bug spray.  Make it a permanent eviction.  lol


Dale

:-)  :-)



Re: [gentoo-user] kernel panic on manually built kernel

2010-11-08 Thread Dale

Stroller wrote:

On 8/11/2010, at 9:34pm, Dale wrote:
   

...
Wouldn't happen to have LABELS in your grub.conf file would you?
 

Nope.

I believe this requires an initramfs - see the February 2009 thread, `Using  
root=LABEL= in grub.conf` for more details of that. I seem to rather have 
an aversion to initramfses.

Stroller.

   


Yea, I don't like those either.  I think grub2 supports it but I'm not 
sure.  I think that is what I read but it may be just on a todo list or 
something.  Maybe one day.


Dale

:-)  :-)



Re: [gentoo-user] kernel panic on manually built kernel

2010-11-08 Thread Neil Bothwick
On Mon, 08 Nov 2010 15:34:08 -0600, Dale wrote:

 Well, it does work since it booted as recent as last night when I 
 updated my kernel.  I found that somewhere and just copied that to 
 mine.  It may be the long way but it does work.  I may edit it and try 
 it your way but since mine works and I don't move things to much, not 
 sure it really matters.

Labels are stored in the filesystem, so LABEL= should always work.

/dev/disk/by-label/ is created by udev rules, so it won't work if
anything goes wrong with your udev rules or if you have to boot with
init=/bin/sh.


-- 
Neil Bothwick

Tagline stealing is the sincerest form of flattery.


signature.asc
Description: PGP signature


Re: [gentoo-user] netbook

2010-11-08 Thread Neil Bothwick
On Mon, 8 Nov 2010 21:11:01 +0100, J. Roeleveld wrote:

  4. Make sure you are comfortable with the keyboard. They tend to be
  80% of full-sized so there's not much margin for error. Use it as
  much as possible before you buy.  
 
 Small hands help (don't have those) but also an extra keyboard could
 help here already.

This isn't such a problem with 10 netbooks where the keyboards tend to
be around 92% of full size. On the other hand, my old Eee PC 900 didn't
work well with my fat fingers (the fat fingers are on both hands, not
just the other one).


-- 
Neil Bothwick

If at first you do succeed, try to hide your astonishment.


signature.asc
Description: PGP signature


Re: [gentoo-user] kernel panic on manually built kernel

2010-11-08 Thread Dale

Neil Bothwick wrote:

On Mon, 08 Nov 2010 15:34:08 -0600, Dale wrote:

   

Well, it does work since it booted as recent as last night when I
updated my kernel.  I found that somewhere and just copied that to
mine.  It may be the long way but it does work.  I may edit it and try
it your way but since mine works and I don't move things to much, not
sure it really matters.
 

Labels are stored in the filesystem, so LABEL= should always work.

/dev/disk/by-label/ is created by udev rules, so it won't work if
anything goes wrong with your udev rules or if you have to boot with
init=/bin/sh.

   


Guess I better change that soon then.  While udev has been working 
pretty good here lately, we never know what may happen tomorrow.


Thanks for the heads up.

Dale

:-)  :-)



[gentoo-user] Re: [OT xfce pager] Xfce pager jacked up after updates

2010-11-08 Thread walt

On 11/08/2010 01:12 PM, Harry Putnam wrote:

Anyone know which applet controls how the virtual desktop pager
appears under Xfce

The one called `workspaces' appears to be it, but it looks to be set
as it always was... with a default 4 desktops.

But the actual pager is now 4 rectangles all end to end on the panel
with the large words `workspaceN' writen in them... No windows or
applications are visible there as they used to be.  No way to drag
stuff around as there was prior to this update.


When I see strange stuff like that after an upgrade, I try beginning
with a clean home directory, i.e. with none of the configuration stuff
left over from the previous version.

The easiest way to do that, I think, is to create a throw-away user
(mine is named tester) and make sure his ~ directory is empty except
for .bashrc and the usual suspects.  You'll need to configure his
xfce4 desktop from scratch, of course.  If that fixes the problem,
then start copying over your old .xfce4 config stuff one file at a
time until tester's desktop breaks.  Et voila :)





[gentoo-user] wicd problem -- gnome panel applet has gone

2010-11-08 Thread Allan Gottlieb
I am a happy user of wicd, but recently a problem has arisen.

The daemon starts and runs and at home it connects me to the wireless
network.

The problem is that the applet icon no longer appears in my gnome panel.

As I result I have no easy way to connect to another network.

I checked main-menu--system--startup-applications
and Wicd Network Manager Tray is checked.

I looked in /var/log and see no errors or warnings but also do not see
any indication that the Manager tray is started.

Any help would be appreciated

thanks,
allan gottlieb



Re: [gentoo-user] wicd problem -- gnome panel applet has gone

2010-11-08 Thread Neil Bothwick
On Mon, 08 Nov 2010 18:48:09 -0500, Allan Gottlieb wrote:

 I am a happy user of wicd, but recently a problem has arisen.
 
 The daemon starts and runs and at home it connects me to the wireless
 network.
 
 The problem is that the applet icon no longer appears in my gnome
 panel.

Try running wicd-gtk from a terminal and you'll see the pygobject errors.
This occurs with 2.26.0 but is fixed with the -r1 release.


-- 
Neil Bothwick

What is a free gift ? Aren't all gifts free?


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: DNSSEC

2010-11-08 Thread Alan McKinnon
Apparently, though unproven, at 19:23 on Monday 08 November 2010, James did 
opine thusly:

  you can write a wiki page that helps others immensely. 
  But just be informed upfront about what it's going to take.
 
 wink wink, nudge nudge. OK. 
 ;-) 


My first spot of advice would be to use unbound as your caching servers - it's 
stupendously bloody fast. It's free as in beer and free as in freedom, and 
also keeps up with cns which is neither (and costs an arm and a leg). Plus the 
developer is very responsive to bugs and features. unbound does the basics and 
does them well, there are aspects of DNS caching that it doesn't do (stuff 
that nobody bothers with anyway)

Don't use bind as your auth server unless you like pain. That thing is a pig, 
and a temperamental one at that. It's saving grace is that it's a reference 
implementation and can always be relied upon to be extremely RFC-compliant. We 
use it, not because we like it, but because it has one killer feature we 
absolutely need - ACLs

PowerDNS is a fine auth server. If it suits your needs I'd recommend you try 
it first. I don't know about it's DNSSEC abilities or feature roadmap - it's 
been a long time since I looked closely at it. Lack of ACLs is what killed 
PowerDNS for us, I still feel sad about that


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] netbook

2010-11-08 Thread Stroller

On 8/11/2010, at 10:02pm, Florian Philipp wrote:
 ...
 Another argument against SSD: They are usually very low in capacity.
 James wants to dual-boot. I don't know about Windows 7 but I found it
 very hard to keep Windows XP below 10 GB and still usable. The SSD in
 Acer Aspire Ones is 8 GB.

I tried to do a DVD rip under Windows recently, and was nearly out of space ( 
2gig remaining) on a 20gig partition. I managed to free up about 8gig I think 
by deleting two games from Steam (they were free - I do not support or endorse 
Steam), but I was still using 10gig with almost nothing installed on the system.

Stroller.




Re: [gentoo-user] kernel panic on manually built kernel

2010-11-08 Thread Stroller

On 8/11/2010, at 10:39pm, Neil Bothwick wrote:

 On Mon, 08 Nov 2010 15:34:08 -0600, Dale wrote:
 
 Well, it does work since it booted as recent as last night when I 
 updated my kernel.  I found that somewhere and just copied that to 
 mine.  It may be the long way but it does work.  I may edit it and try 
 it your way but since mine works and I don't move things to much, not 
 sure it really matters.
 
 Labels are stored in the filesystem, so LABEL= should always work.
 
 /dev/disk/by-label/ is created by udev rules, so it won't work if
 anything goes wrong with your udev rules or if you have to boot with
 init=/bin/sh.

Thanks! I approximately figured this when I made my original posting, but don't 
really feel confident enough about /dev and udev rules to express it properly. 
That's why I just said I'm not sure the configuration is even supposed to 
work.

Stroller.




Re: [gentoo-user] wicd problem -- gnome panel applet has gone

2010-11-08 Thread Alan McKinnon
Apparently, though unproven, at 01:48 on Tuesday 09 November 2010, Allan 
Gottlieb did opine thusly:

 I am a happy user of wicd, but recently a problem has arisen.
 
 The daemon starts and runs and at home it connects me to the wireless
 network.
 
 The problem is that the applet icon no longer appears in my gnome panel.
 
 As I result I have no easy way to connect to another network.
 
 I checked main-menu--system--startup-applications
 and Wicd Network Manager Tray is checked.
 
 I looked in /var/log and see no errors or warnings but also do not see
 any indication that the Manager tray is started.


How lucky for you I ran into this this morning and found the fix :-)

Lemme guess, you have pygobject installed with USE=-introspection? wicd-gtk 
is segfaulting, you'll see it in dmesg

Sync and update to pygobject-2.26.0-r1. There's a one-line patch that needs to 
be applied. Here it is if your mirror is behind the times:

From 97774cb149c5b03d5ef82a5af3f19e2ce4d79d0b Mon Sep 17 00:00:00 2001
From: John (J5) Palmieri jo...@redhat.com
Date: Mon, 04 Oct 2010 16:43:31 +
Subject: return NULL instead of -1 which fixes crash when introspection is 
turned off

* see https://bugzilla.gnome.org/show_bug.cgi?id=631158
---
diff --git a/gi/pygi.h b/gi/pygi.h
index 551bb6f..da71d28 100644
--- a/gi/pygi.h
+++ b/gi/pygi.h
@@ -155,7 +155,7 @@ static inline PyObject *
 pygi_get_property_value (PyGObject *instance,
  const gchar *attr_name)
 {
-return -1;
+return NULL;
 }
 
 static inline gint
--
cgit v0.8.3.1



--
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: Upgrading from FX-5200 to a GeForce 6200 512MB

2010-11-08 Thread Dale

walt wrote:

On 11/08/2010 01:20 PM, Dale wrote:

Dale wrote:


I was thinking the same thing. I figure something worked for a while 
and then had some sort of a error and then switched to something 
else that was slow. I don't know the inner workings of opengl so I 
am just guessing.I just know it worked for a while

then didn't until I told it to switch again. It is weird tho.

I did do this last night tho. I upgraded my kernel and updated to 
the latest nvidia drivers. I checked it again a few minutes ago by 
playing a video and it is still working like it should. At almost 
full screen my CPU was running at about 40 to 50%
which is about like it was a while back. So, I figure it was either 
some sort of kernel issue or even more likely a nvidia driver issue.


I'm just hoping it keeps working like this. Those little wheels are 
turning pretty good now.


Dale

:-) :-)


Well, I worked on my air compressor and played in the dirt in my 
garden for a while and now I get this again:


2 frames in 7.6 seconds = 0.263 FPS
2 frames in 7.7 seconds = 0.259 FPS


Is it possible that something slowly fills up RAM so your system has to
start swapping?

KDE used to have a 'system monitor' thingy that displays usage of all the
various system resources like RAM and swap and CPU.  I always have the
equivalent gnome applet displayed on the gnome panel and it's alerted me
to countless similar bugs over the years.



According to top, gkrellm and cat /proc/meminfo there is no swap in 
use.  I have 2Gbs of ram and have swappiness set to 20 or 30.  I rarely 
use swap unless I am compiling something huge, OOo comes to mind, or 
have a LOT of images open with GIMP.


I did check to make sure tho.  My swappiness did get magically changed 
once before.  I wish it was something that easy tho.


Still open to ideas.  I started a emerge -e world.

Dale

:-)  :-)



[gentoo-user] Re: Upgrading from FX-5200 to a GeForce 6200 512MB

2010-11-08 Thread walt

On 11/08/2010 01:20 PM, Dale wrote:

Dale wrote:


I was thinking the same thing. I figure something worked for a while and then 
had some sort of a error and then switched to something else that was slow. I 
don't know the inner workings of opengl so I am just guessing.I just know it 
worked for a while
then didn't until I told it to switch again. It is weird tho.

I did do this last night tho. I upgraded my kernel and updated to the latest 
nvidia drivers. I checked it again a few minutes ago by playing a video and it 
is still working like it should. At almost full screen my CPU was running at 
about 40 to 50%
which is about like it was a while back. So, I figure it was either some sort 
of kernel issue or even more likely a nvidia driver issue.

I'm just hoping it keeps working like this. Those little wheels are turning 
pretty good now.

Dale

:-) :-)


Well, I worked on my air compressor and played in the dirt in my garden for a 
while and now I get this again:

2 frames in 7.6 seconds = 0.263 FPS
2 frames in 7.7 seconds = 0.259 FPS


Is it possible that something slowly fills up RAM so your system has to
start swapping?

KDE used to have a 'system monitor' thingy that displays usage of all the
various system resources like RAM and swap and CPU.  I always have the
equivalent gnome applet displayed on the gnome panel and it's alerted me
to countless similar bugs over the years.






Re: [gentoo-user] Re: mutt attachment viewing

2010-11-08 Thread Willie Wong
On Mon, Nov 08, 2010 at 04:15:39PM -0200, José Romildo Malaquias wrote:
 With the entry:
 
 text/html; links %s; nametemplate=%s.html
 
 
 it does not work:
 
 [-- Autoview using /usr/bin/lynx -dump -force_html ''/tmp/mutt.html'' --]
 
 With the entry:
 
 
 text/html; links %s; nametemplate=%s.html; needsterminal
 
 
 it also does not work:
 
 [-- Autoview using /usr/bin/lynx -dump -force_html ''/tmp/mutt.html'' --]
 
 With the entry:
 
 
 text/html; links %s; nametemplate=%s.html; copiousoutput
 

What if you use 

   links -dump %s

I think if you use a textmode browser you need to tell it to dump the
parsed output to stdout for mutt to be able to deal with it. 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] wicd problem -- gnome panel applet has gone

2010-11-08 Thread Allan Gottlieb
Alan McKinnon alan.mckin...@gmail.com writes:

 Apparently, though unproven, at 01:48 on Tuesday 09 November 2010, Allan 
 Gottlieb did opine thusly:

 I am a happy user of wicd, but recently a problem has arisen.
 
 The daemon starts and runs and at home it connects me to the wireless
 network.
 
 The problem is that the applet icon no longer appears in my gnome panel.
 
 As I result I have no easy way to connect to another network.
 
 I checked main-menu--system--startup-applications
 and Wicd Network Manager Tray is checked.
 
 I looked in /var/log and see no errors or warnings but also do not see
 any indication that the Manager tray is started.


 How lucky for you I ran into this this morning and found the fix :-)

 Lemme guess, you have pygobject installed with USE=-introspection? wicd-gtk 
 is segfaulting, you'll see it in dmesg

Not quite.  I have +introspection and there is no mention of wicd-gtk
in dmesg ... however

 Sync and update to pygobject-2.26.0-r1.

Fixes the problem.

Thank you.
allan



Re: [gentoo-user] wicd problem -- gnome panel applet has gone

2010-11-08 Thread Allan Gottlieb
Neil Bothwick n...@digimed.co.uk writes:

 On Mon, 08 Nov 2010 18:48:09 -0500, Allan Gottlieb wrote:

 I am a happy user of wicd, but recently a problem has arisen.
 
 The daemon starts and runs and at home it connects me to the wireless
 network.
 
 The problem is that the applet icon no longer appears in my gnome
 panel.

 Try running wicd-gtk from a terminal and you'll see the pygobject errors.
 This occurs with 2.26.0 but is fixed with the -r1 release.

The -r1 does indeed fix the problem.  However I had run wicd-gtk and did
not see any pygobject errors.  Just deprecation warning that are still
there with the -r1 version.

Thank you and alan very much for your prompt reply, which sent me to the
-r1 version and a return of the wicd applet.

allan



[gentoo-user] {OT} Deliberately obfuscating my code

2010-11-08 Thread Grant
This is OT, but you guys have proven extremely insightful over the
years and I would love to hear what you think.

I've been working on a particular software project for a long time.
I'd like to hire a team of developers to take over the project, but I
consider the code to be valuable and I'd like to keep the whole of it
secure, even from my own developers.  I was thinking I could do this
by using some technique to obfuscate the true intention of the code
modules.  Maybe a recorded series of search/replaces for variable
names which are reversed once code editing is complete?  Has any
software been made available to aid in an endeavor like this?

- Grant



[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] {OT} Deliberately obfuscating my code

2010-11-08 Thread Hilco Wijbenga
On 8 November 2010 20:52, Grant emailgr...@gmail.com wrote:
 This is OT, but you guys have proven extremely insightful over the
 years and I would love to hear what you think.

 I've been working on a particular software project for a long time.
 I'd like to hire a team of developers to take over the project, but I
 consider the code to be valuable and I'd like to keep the whole of it
 secure, even from my own developers.  I was thinking I could do this
 by using some technique to obfuscate the true intention of the code
 modules.  Maybe a recorded series of search/replaces for variable
 names which are reversed once code editing is complete?  Has any
 software been made available to aid in an endeavor like this?

Not an answer to your question but how are those developers going to
work on your software if you obfuscate it first? Seems very counter
productive. Not to mention that it seems like a perfect way to
introduce bugs in your code base.

Wouldn't it be much simpler to have your developers sign an NDA? In
general, I would not worry too much about your idea being stolen, it's
the implementation that makes it worth something. And implementing an
idea takes a lot of hard work.

Cheers,
Hilco



Re: [gentoo-user] {OT} Deliberately obfuscating my code

2010-11-08 Thread Grant
 This is OT, but you guys have proven extremely insightful over the
 years and I would love to hear what you think.

 I've been working on a particular software project for a long time.
 I'd like to hire a team of developers to take over the project, but I
 consider the code to be valuable and I'd like to keep the whole of it
 secure, even from my own developers.  I was thinking I could do this
 by using some technique to obfuscate the true intention of the code
 modules.  Maybe a recorded series of search/replaces for variable
 names which are reversed once code editing is complete?  Has any
 software been made available to aid in an endeavor like this?

 Not an answer to your question but how are those developers going to
 work on your software if you obfuscate it first? Seems very counter
 productive. Not to mention that it seems like a perfect way to
 introduce bugs in your code base.

The internal function of each code module wouldn't be obfuscated of
course, but the variable names and similar could be.  The idea is that
I would define a specific spec to which each module of code is
written.  This is very uncharted territory for me.  Is this something
that just isn't done?  Does everyone just hope each of their
developers are honest people?

 Wouldn't it be much simpler to have your developers sign an NDA? In
 general, I would not worry too much about your idea being stolen, it's
 the implementation that makes it worth something. And implementing an
 idea takes a lot of hard work.

The idea is nothing special, you're right, it's the implementation,
and the software is the implementation in this case so I need to
protect it.

- Grant



Re: [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 Alan McKinnon
Apparently, though unproven, at 07:03 on Tuesday 09 November 2010, Andrey F. 
did opine thusly:

 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?

Have you used tcpwrappers instead of iptables?

I'd give that a try (unless you need some functionality of iptables and aren't 
just merely restricting access). Then you can remove the added complexity you 
had to introduce.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] {OT} Deliberately obfuscating my code

2010-11-08 Thread Alan McKinnon
Apparently, though unproven, at 07:56 on Tuesday 09 November 2010, Grant did 
opine thusly:

  This is OT, but you guys have proven extremely insightful over the
  years and I would love to hear what you think.
  
  I've been working on a particular software project for a long time.
  I'd like to hire a team of developers to take over the project, but I
  consider the code to be valuable and I'd like to keep the whole of it
  secure, even from my own developers.  I was thinking I could do this
  by using some technique to obfuscate the true intention of the code
  modules.  Maybe a recorded series of search/replaces for variable
  names which are reversed once code editing is complete?  Has any
  software been made available to aid in an endeavor like this?
  
  Not an answer to your question but how are those developers going to
  work on your software if you obfuscate it first? Seems very counter
  productive. Not to mention that it seems like a perfect way to
  introduce bugs in your code base.
 
 The internal function of each code module wouldn't be obfuscated of
 course, but the variable names and similar could be.  The idea is that
 I would define a specific spec to which each module of code is
 written.  This is very uncharted territory for me.  Is this something
 that just isn't done?  Does everyone just hope each of their
 developers are honest people?

Your average developer will look at that and say to himself

Fuck that. I'm going somewhere else.

20 year olds might not. They don't have the experience to judge.

  Wouldn't it be much simpler to have your developers sign an NDA? In
  general, I would not worry too much about your idea being stolen, it's
  the implementation that makes it worth something. And implementing an
  idea takes a lot of hard work.
 
 The idea is nothing special, you're right, it's the implementation,
 and the software is the implementation in this case so I need to
 protect it.

Protect it from what? From people you hired?

Simpler to change your hiring policies.

Look, you gotta trust someone in this world. As a boss, like every other boss 
out there, you gotta trust your staff.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] {OT} Deliberately obfuscating my code

2010-11-08 Thread Florian Philipp
Am 09.11.2010 05:52, schrieb Grant:
 This is OT, but you guys have proven extremely insightful over the
 years and I would love to hear what you think.
 
 I've been working on a particular software project for a long time.
 I'd like to hire a team of developers to take over the project, but I
 consider the code to be valuable and I'd like to keep the whole of it
 secure, even from my own developers.  I was thinking I could do this
 by using some technique to obfuscate the true intention of the code
 modules.  Maybe a recorded series of search/replaces for variable
 names which are reversed once code editing is complete?  Has any
 software been made available to aid in an endeavor like this?
 
 - Grant
 

About what programming language are we talking? For Java and Javascript,
there is a range of obfuscators available. For C/C++, I don't think it
is really necessary. Can't you simply put your stuff into a binary-only
library?



signature.asc
Description: OpenPGP digital signature