Re: [gentoo-user] ImageMagick -contrast-stretch

2006-02-03 Thread Martins Steinbergs
On Friday 03 February 2006 09:51, John Green wrote:
 convert input.jpg -contrast-stretch 10% output.jpg

my installation is working with this

media-gfx/imagemagick-6.2.6.0  USE=X jpeg mpeg perl png tiff truetype xml2 
zlib -bzip2 -doc -fpx -graphviz -gs -jbig -lcms -nocxx -wmf


m
-- 
Linux 2.6.15-ck2 AMD Athlon(tm) 64 Processor 3200+
 10:05:47 up 55 min,  6 users,  load average: 1.05, 1.74, 2.41


pgpb3Vwcdw20q.pgp
Description: PGP signature


Re: [gentoo-user] wireless problem

2006-02-03 Thread Jean Magnan de Bornier
Le 02 février à 15:55:55 Simon Prosser [EMAIL PROTECTED] écrit notamment:

| heres my /etc/conf.d/net might give you some pointers if you dont want to use 
| dhcp...

| config_ath0=( 192.168.2.3 netmask 255.255.255.0 brd 192.168.0.255 )
| routes_ath0=( default gw 192.168.2.1 )
| essid_ath0=belkin54g
| config_eth0=( 192.168.0.7 )

| hth...

| On Thursday 02 February 2006 13:14, Iain Buchanan wrote:
|  On Thu, 2006-02-02 at 12:49 +0100, Jean Magnan de Bornier wrote:
|   When I type iwconfig I obtain this:
|  
|   eth1  IEEE 802.11g  ESSID:Universite Paul Cezanne
| Mode:Managed  Frequency:2.412 GHz  Access Point:
|   00:12:DA:AE:5A:50
|  
|   Seems to indicate I am actually connected?
| 
|  this indicates you are associated with the AP whose mac address is
|  00:12:DA:AE:5A:50
| 
|   But then I can't access the network (firefox doesn't find anything).
| 
|  next you have to make sure you have an ip address (ifconfig eth1) and
|  the necessary routing (route -n)
| 
|  dhcp should set this up for you.
| 
|  See what those two commands say for starters.

OK, dhcpcd does the connection all right, and thanks for that; however I
still need to enter the user and password informations. I guess it might
be a provider matter?

cheers,
-- 
Jean

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Troubles with Iomega REV 35GB ATAPI

2006-02-03 Thread Heinz Sporn
Hi list!

I'm having constant troubles with Iomega REV 35GB ATAPI (so internal)
drives in a couple of Gentoo servers and I was hoping for some hints.

About the environment:

Kernel: gentoo-sources 2.6.15-gentoo-r1 with
CONFIG_UDF_FS=m
CONFIG_UDF_NLS=y
CONFIG_CDROM_PKTCDVD=m
CONFIG_CDROM_PKTCDVD_BUFFERS=8
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=y

Motherboard: Intel D945GNT (Pentium D) with most recent BIOS
Drives: 2 SATA drives (RAID-1), 2 Iomega REV 35GB ATAPI drives (firmware
v99b)) on the single IDE port, nothing else.

Both drives worked instantly for quite some time. Transfer rates could
have been better but since they are only used for daily backups in the
background I don't care that much.

Now where's the problem? After a couple of days one or even both drives
start having troubles reading inserted media and flooding the kernel log
with following errors:

:
Feb  1 04:26:56 srv2001 kernel: hda: media error (bad sector):
status=0x51 { DriveReady SeekComplete Error }
Feb  1 04:26:56 srv2001 kernel: hda: media error (bad sector):
error=0x30 { LastFailedSense=0x03 }
Feb  1 04:26:56 srv2001 kernel: ide: failed opcode was: unknown
Feb  1 04:26:56 srv2001 kernel: end_request: I/O error, dev hda, sector
4607392
:
:
Feb  1 04:26:56 srv2001 kernel: isofs_fill_super: bread failed, dev=hda,
iso_blknum=16, block=16
Feb  1 04:26:58 srv2001 kernel: UDF-fs INFO UDF 0.9.8.1 (2004/29/09)
Mounting volume 'REV 35', timestamp 2004/03/25 19:55 (103c)
:
:
Feb  2 04:27:51 srv2001 kernel: UDF-fs: No partition found (1)
Feb  2 04:27:51 srv2001 kernel: hdb: media error (bad sector):
status=0x51 { DriveReady SeekComplete Error }
Feb  2 04:27:51 srv2001 kernel: hdb: media error (bad sector):
error=0x30 { LastFailedSense=0x03 }
Feb  2 04:27:51 srv2001 kernel: ide: failed opcode was: unknown
Feb  2 04:27:51 srv2001 kernel: end_request: I/O error, dev hdb, sector
64
Feb  2 04:27:51 srv2001 kernel: isofs_fill_super: bread failed, dev=hdb,
iso_blknum=16, block=16

This behavior seems to be totally independent from the used media.
Rejected media will work in another machine or even in the external USB
drive I attached for testing. It's even quite likely that bad media
will work the next day. And before I forget: rebooting always helps ;-)

What I have done so far:

1. Re-loading the UDF-module before mounting. Helped a little.
2. Used IDE-SCSI emulation. Couldn't mount the drives at all.
3. Compiled IDE-CD as module. Couldn't mount the drives at all.
4. Tried to use Packet Writing. Makes no difference since the problems
start with mounting. If I am able to mount a drive it'll work rock solid
from my experience.
5. Checked http://iomrrdtools.sourceforge.net/ 
6. Checked http://sourceforge.net/projects/linux-udf

So finally I am stuck. Any hint / advice is higly apprechiated.

-- 
Mit freundlichen Grüßen

Heinz Sporn

SPORN it-freelancing

Mobile:  ++43 (0)699 / 127 827 07
Email:   [EMAIL PROTECTED]
 [EMAIL PROTECTED]
Website: http://www.sporn-it.com
Snail:   Steyrer Str. 20
 A-4540 Bad Hall
 Austria / Europe

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: mod_php USE Flag question

2006-02-03 Thread Robin
I understand what PAM is.  I am just wondering about the USE flag in
related to mod_php.

Thanks for your reply : -)

On 2/2/06, Harm Geerts [EMAIL PROTECTED] wrote:
 On Thursday 02 February 2006 17:08, Robin wrote:
  I was looking at some of the flags associated with mod_php using the
  equery u mod_php command.  And something going me wondering about the
  pam USE flag.  Should I consider removing it and Re-emerging ?
 
  This is what the description says:
  Adds support PAM (Pluggable Authentication Modules) - DANGEROUS to
  arbitrarily flip
 
  What I don't get is the DANGEROUS part.  I am just curious.  I posted
  to the #gentoo and searched the forums without result.  And idea would
  be appreciated.
 PAM is used for authentication of users. If you would disable it for packages
 like openssh this could lock you out of your system is there is no fallback
 for user authentication.
 Which is why you shouldn't flip (switch between on/off) the pam USE flag
 without giving it a certain degree of thought.
 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] fglrx works. Yeah! Umm, now nothing exits. Uh oh!

2006-02-03 Thread Holly Bostick
Bruce Burden schreef:
 
 Okay, I have fglrx as the driver in the xorg.conf file. And, at 24 
 bit resolution, xdm starts X. Bliss!
 
 Then I realized that nothing was completing if it created an xterm of
  output or so. Drat!
 
 OS is Gentoo 2.6.15-gentoo-r1. Xorg is 6.8.2. Machine is a HP ZD8000 
 with an ATI X600 Mobile Radeon.
 
 Any ideas what is going on? Clearly it is related to X and fglrx, as 
 the xorg.conf ATI driver doesn't do this.
 
 Modules:
 
 agpgart
 
 ati_agp
 
 fglrx

Hi, Bruce :-).

Number one, please don't hijack threads. This post came as a reply to
the update-eix has memory problems thread; apparently you hit reply
and changed the subject, rather than sending a new mail to the list
(which would have started a new thread). This is bad mailing-list etiquette.

Number two, as to your actual problem:

a) I don't understand what nothing was completing if it created
an xterm of output or so means. What is nothing? (not) completing how?

I suppose what you're saying is that applications that produce terminal
output are not completing in some fashion, but even if that's a correct
reading, it still doesn't tell me much about what the problem actually
is. Some error messages would be much more useful in this regard.

b) I am wondering about that ati-agp module. Does that mean you're using
the internal fglrx agp module (UseInternalAGPGart set to yes in
xorg.conf), or that you're using the kernel module for ATI IGP
motherboards? Do you actually have an ATI IGP mobo in your  laptop,
is it?

c) does the fglrx driver actually now support the X600 series (mobile)?
I know that people with X800s (desktop) don't have support (and, man,
are they P.O'd), and mobile chip support tends to be somewhat choppy, so
it's possible that there's only partial support for the chipset,
resulting in this issue (I have a 9800SE, so while I don't find much to
be grateful for in the ATI drivers, I am at least grateful for an older
model card that is supported as well as anything is supported by the
proprietary Linux drivers).


Anyway, hope this helps, sorry for posting to a hijacked thread, but
hopefully Bruce will repost in a new thread and we can go further.

Holly
-- 
gentoo-user@gentoo.org mailing list



AW: [gentoo-user] update-eix has memory problems

2006-02-03 Thread Liebich, Wolfgang
Hi,
 
I found out (using the source  inserting log statements :-) that my
peculiar format of
make.conf was the culprit.
For reasons too silly to explain here :-) I built up my USE variable in
more than one line:
USE=some flags
USE=$USE more flags
(basically to make a use flag comparison somewhat easier). This is
totally deadly for update-eix
b/c of the way USE flags are read. In update-eix there is a VarsReader
class reading in variables - basically
a parser. The VarsReader may read more than one file (for example when
reading the profiles) and has the option to append
the new value of a variable to the old value. This is done for USE.
Unfortunately there is no provision to switch
from this append behaviour to overwrite old value as long as we are
in the same file.
Result: Each 
USE=$USE line n
line first expands the last value of $USE, appends line n it and
APPENDS THIS WHOLE LINE TO THE OLD VALUE - i.e. the USE values already
here get appended AGAIN. This gives you a verrry nice demonstration of
exponential growth :-)

Now just imagine writing more than 10 such USE=... lines, and you get
a string growing for a factor of 2^10=1024.
Voila :-)

Cheers,
Wolfgang

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Can not emerge net-misc/openssh-4.2_p1-r1

2006-02-03 Thread Jules Colding
Hi,

Todays sync brought me a new openssh but a required library is missing.
My emerge gives this:

###
snip
checking whether system supports SO_PEERCRED getsockopt... yes
checking if openpty correctly handles controlling tty... no
checking whether getpgrp requires zero arguments... yes
checking for dlopen in -ldl... no
checking for pam_set_item in -lpam... no
configure: error: *** libpam missing

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/openssh-4.2_p1-r1/work/openssh-4.2p1/config.log

!!! ERROR: net-misc/openssh-4.2_p1-r1 failed.
!!! Function econf, Line 495, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.
###

This is weird as locate libpam gives:

###
omc-2 ~ # locate libpam
/usr/lib64/libpam.so
/usr/lib64/libpamc.a
/usr/lib64/libpamc.so
/usr/lib64/libpam_misc.a
/usr/lib64/libpam_misc.so
/usr/lib64/libpam.a
/emul/linux/x86/lib/libpam.so
/emul/linux/x86/lib/libpamc.so.0.78
/emul/linux/x86/lib/libpamc.so
/emul/linux/x86/lib/libpamc.so.0
/emul/linux/x86/lib/libpam_misc.so.0.78
/emul/linux/x86/lib/libpam_misc.so
/emul/linux/x86/lib/libpam_misc.so.0
/emul/linux/x86/lib/libpam.so.0
/emul/linux/x86/lib/libpam.so.0.78
/emul/linux/x86/usr/lib/libpam.so
/emul/linux/x86/usr/lib/libpamc.so
/emul/linux/x86/usr/lib/libpam_misc.so
/lib64/libpam.so
/lib64/libpamc.so.0.78
/lib64/libpamc.so
/lib64/libpamc.so.0
/lib64/libpam_misc.so.0.78
/lib64/libpam_misc.so
/lib64/libpam_misc.so.0
/lib64/libpam.so.0
/lib64/libpam.so.0.78
###


So, what is wrong here?

Thanks,
  jules


PS: The config log is rather long so I'll skip that one in this report.

# emerge --info ##
Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 
2.6.15-gentoo-r1 x86_64)
=
System uname: 2.6.15-gentoo-r1 x86_64 AMD Opteron(tm) Processor 252
Gentoo Base System version 1.6.14
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox:1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=amd64
AUTOCLEAN=yes
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=k8 -O2 -pipe
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config 
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ 
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ 
/usr/share/texmf/xdvi/ /var/qmail/control
CONFIG_PROTECT_MASK=/etc/gconf /etc/terminfo /etc/env.d
CXXFLAGS=-march=k8 -O2 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=autoconfig distlocks sandbox sfperms strict
GENTOO_MIRRORS=http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://pandemonium.tiscali.de/pub/gentoo/ 
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ 
http://gentoo.prz.rzeszow.pl http://ftp.du.se/pub/os/gentoo 
ftp://mirror.pudas.net/gentoo;
PKGDIR=/usr/portage/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.europe.gentoo.org/gentoo-portage
USE=amd64 X aac aalib alsa apache2 audiofile avi berkdb bitmap-fonts 
browserplugin bzip2 cdr crypt cups curl dvd dvdr dvdread eds emacs emboss 
encode esd exif expat fam fbcon foomaticdb fortran gdbm gif glut gnome 
gstreamer gtk gtk2 gtkhtml hal iconv idn imlib ipv6 java jpeg lcms ldap libwww 
lua lzw lzw-tiff mad mng motif mozilla mp3 mpeg ncurses nls nptl nptlonly 
nsplugin nvidia ogg opengl oss pam pdflib perl png python quicktime readline 
recode sdl slang spell ssl tcltk tcpd tetex theora tiff truetype truetype-fonts 
type1-fonts udev unicode usb userlocales vorbis xine xml2 xmms xpm xv xvid zlib 
userland_GNU kernel_linux elibc_glibc
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, 
PORTDIR_OVERLAY


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Backup device (sata hdd) best filesystem

2006-02-03 Thread Thales Chacara
Harry,

In May of 2004 linux gazette published this article Benchmarking Filesystems for Justin Piszcz, waits that it can help!

link: http://linuxgazette.net/102/piszcz.html
2006/2/3, Harry Putnam [EMAIL PROTECTED]:
I'm about to format 2 200gb sata drives and one 300gb ATA for use asrecipients of all backups.This will mostly consist of rsnapshotcreated files.And a number of tar.gz and other compression typefiles maybe some ISO type files etc.
I'm backing up two winxp video/sound editing machines 2 gentoo boxesincluding my person main desktop and laptop and my wifes winxp homebox.I guess one consideration would be what file system works well with
remote network backup tools like rsnaphot or bacula.All of ext2 ext3and reiserfs seem to do about the same to me.I've seen comments many times about the virtues of reiserfs and thatis currently what most of my desktop is (except ext2 boot).That is
new for me I always used ext2 then ext3 when it became common.I've seen nothing remarkable using reiserfs but have no real idea ofwhat to expect and really NO idea what would make a good backup fs.
--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] update-eix has memory problems

2006-02-03 Thread Neil Bothwick
On Fri, 3 Feb 2006 11:07:58 +0100, Liebich, Wolfgang wrote:

 For reasons too silly to explain here :-) I built up my USE variable in
 more than one line:
 USE=some flags
 USE=$USE more flags
 (basically to make a use flag comparison somewhat easier).

I considered doing this, I'm glad I didn't and stuck with

USE=\
-foo -bar -etc \
blah whatever \
...


-- 
Neil Bothwick

Bother, said Pooh, as he connected at 300 bps.


signature.asc
Description: PGP signature


Re: [gentoo-user] Can not emerge net-misc/openssh-4.2_p1-r1

2006-02-03 Thread Hans-Gunther Borrmann
On Friday 03 February 2006 11:11, Jules Colding wrote:
 Hi,

 Todays sync brought me a new openssh but a required library is missing.
 My emerge gives this:

 ###
 snip
 checking whether system supports SO_PEERCRED getsockopt... yes
 checking if openpty correctly handles controlling tty... no
 checking whether getpgrp requires zero arguments... yes
 checking for dlopen in -ldl... no
 checking for pam_set_item in -lpam... no
 configure: error: *** libpam missing

 !!! Please attach the config.log to your bug report:
 !!! /var/tmp/portage/openssh-4.2_p1-r1/work/openssh-4.2p1/config.log

 !!! ERROR: net-misc/openssh-4.2_p1-r1 failed.
 !!! Function econf, Line 495, Exitcode 0
 !!! econf failed
 !!! If you need support, post the topmost build error, NOT this status
 message. ###

I have  the same problem in the same environment.  The emerge of 
openssh-4.2_p1 fails with the same error message and yes,libpam is installed. 
If I emerge with -pam the installation fails with some other library 
missing, which is installed too.
-- 

Hans-Gunther Borrmann [EMAIL PROTECTED]
Rechenzentrum der Universitaet Freiburg
Hermann-Herder-Str. 10, D79104 FREIBURG
Tel.: +49 761/203-4652
Fax:  +49 761/203-4643
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] python-2.4.2-r1 problems

2006-02-03 Thread Neil Bothwick
On Fri, 3 Feb 2006 09:04:08 +0200, Rumen Yotov wrote:

 Just emerged newest python-2.4.2-r1 - on all ~x86 system.
 Next emerge broke due to missing internal python module (fcntl).
 After that all python dependent apps stopped working.

I've just gone from 2.4.2 to 2.4.2-r1 and all seems well so far.

You shouldn't need to with a patch level upgrade, but you could try
running python-updater.


-- 
Neil Bothwick

Bother, said Pooh, as he reloaded his AK-47.


signature.asc
Description: PGP signature


Re: [gentoo-user] Abiword 2.2.11 crashes

2006-02-03 Thread Benno Schulenberg
Adrian wrote:
 I did the revdep-rebuild and found some other
 problems, but didn't seem to be a problem with orbit.

Not with orbit directly; you did rebuild libbonobo?

 A manual install of orbit 2.12.0

Ouch.  Such things shouldn't be necessary.  Better flee forward:  
echo app-office/abiword  ~x86 /etc/portage/package.keywords and 
emerge abiword.  (You may want to do the same for abiword-plugins.)

Benno
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Udevinfo or /sys/ problem in Gentoo

2006-02-03 Thread Maarten

Hi

I need to distinguish several, mostly identical, USB devices from each
other by assigning them unique static names. I know there are primers(*)
that describe the process, and I try to follow them, but either the
gentoo /sys/ tree is broken in some way, or my system is broken, or the
primers / howto's are incorrect...

(*) http://webpages.charter.net/decibelshelp/LinuxHelp_UDEVPrimer.html
(*) http://www.reactivated.net/udevrules.php

I'm really stuck with this, so by way of reference I tried another linux
flavour, and there the whole /sys tree and udevinfo DO work as expected.

So I need to find out what's wrong.
The docs tell you to run 'udevinfo -a -p /sys/path'. But under gentoo,
I cannot find the right path. This is what is listed under /sys/class/usb*:

drwxr-xr-x2 root root 0 Feb  3 11:46 usb
drwxr-xr-x6 root root 0 Feb  3 11:46 usb_host

The usb directory is completely empty, the usb_host directory has four
devices, being the hostcontrollers. But the attached devices are not
listed anywhere.
However, looking at another linux (Suse 10) I find three directories:

drwxr-xr-x2 root root 0 Feb  2 16:27 usb
drwxr-xr-x   13 root root 0 Feb  2 16:27 usb_device
drwxr-xr-x4 root root 0 Feb  2 16:27 usb_host

And indeed, under usb_device I find all my attached devices...!

Under gentoo, I don't understand what should happen, and / or why it
doesn't.  The kernel finds the device:

Feb  3 12:26:01 [kernel] usb 2-2: new full speed USB device using
uhci_hcd and address 6
Feb  3 12:26:02 [kernel] pl2303 2-2:1.0: PL-2303 converter detected

and the device gets registered under /dev and is useable:
Gentoo # ls  -la /dev/tts/
crw-rw   1 root tty  188,  0 Feb  3 12:26 USB0

But still, no /sys/ entry to be found! Not under usb, nor anywhere else.
And this is not just that special USB device. I tried connecting mice,
memory sticks, cardreaders, network interfaces, even hubs...  nothing.


Can someone please help me ?  I've been wrestling with this issue for
weeks now... :-(

Thanks in advance,
Maarten

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] dhcpcd logs

2006-02-03 Thread Marco Calviani
Hi list,
   i would like dhcpcd to leave logs in /var/log/dhcpcd.log

How is it possible to implement this, noting that i'm using syslog-ng?

Best regards,
MC

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ImageMagick -contrast-stretch

2006-02-03 Thread John Green
Martins Steinbergs wrote:

On Friday 03 February 2006 09:51, John Green wrote:
  

convert input.jpg -contrast-stretch 10% output.jpg



my installation is working with this

media-gfx/imagemagick-6.2.6.0  USE=X jpeg mpeg perl png tiff truetype xml2 
zlib -bzip2 -doc -fpx -graphviz -gs -jbig -lcms -nocxx -wmf


m
  

Thanks to Martin and Alexander.

Upgrading fixed the problem, as you suggested.

To get the upgrade, I added media-gfx/imagemagick to
/etc/portage/package.keywords, so my system will now
iupgrade to every new version of ImageMagick that has an ebuild.
The last automatic upgrade I saw (January 26)
was to version 6.2.5.5 to fix security bug #83542.  
I can't be sure from the ImageMagick ChangeLog that
the security fix is also in 6.2.6.0.  Am I worrying about nothing?

Thanks again,

John Green
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: dhcpcd logs

2006-02-03 Thread Remy Blank
Marco Calviani wrote:
i would like dhcpcd to leave logs in /var/log/dhcpcd.log
 
 How is it possible to implement this, noting that i'm using syslog-ng?

You could try the following in my /etc/syslog-ng/syslog-ng.conf
(assuming your log source is called src):

destination dhcpd { file(/var/log/dhcpcd.log); };
filter f_dhcpcd { program(dhcpcd); };
log { source(src); filter(f_dhcpcd); destination(dhcpcd); };

HTH.
-- Remy


Remove underscore and suffix in reply address for a timely response.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] dhcpcd logs

2006-02-03 Thread Marco Calviani
Hi list,
   i would like dhcpcd to leave logs in /var/log/dhcpcd.log

How is it possible to implement this, noting that i'm using syslog-ng?

Best regards,
MC

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] fglrx works. Yeah! Umm, now nothing exits. Uh oh!

2006-02-03 Thread Benoit Joseph
Hello All,

I've read that the ati-drivers does not support 2.6.15 kernel yet... 

I guess when you say nothing finish it means that your command hangs and desn't give you the prompt. I have the same problem.
(ati Rf250 M9)

Here are a site that point the problem and a way to patch 2.6.15 kernel...

http://www.thinkwiki.org/wiki/Problems_with_fglrx#X-specific_issues

Regards,

Benoit2006/2/3, Holly Bostick [EMAIL PROTECTED]:
Bruce Burden schreef: Okay, I have fglrx as the driver in the xorg.conf file. And, at 24 bit resolution, xdm starts X. Bliss! Then I realized that nothing was completing if it created an xterm of
output or so. Drat! OS is Gentoo 2.6.15-gentoo-r1. Xorg is 6.8.2. Machine is a HP ZD8000 with an ATI X600 Mobile Radeon. Any ideas what is going on? Clearly it is related to X and fglrx, as
 the xorg.conf ATI driver doesn't do this. Modules: agpgart ati_agp fglrxHi, Bruce :-).Number one, please don't hijack threads. This post came as a reply to
the update-eix has memory problems thread; apparently you hit replyand changed the subject, rather than sending a new mail to the list(which would have started a new thread). This is bad mailing-list etiquette.
Number two, as to your actual problem:a) I don't understand what nothing was completing if it createdan xterm of output or so means. What is nothing? (not) completing how?
I suppose what you're saying is that applications that produce terminaloutput are not completing in some fashion, but even if that's a correctreading, it still doesn't tell me much about what the problem actually
is. Some error messages would be much more useful in this regard.b) I am wondering about that ati-agp module. Does that mean you're usingthe internal fglrx agp module (UseInternalAGPGart set to yes in
xorg.conf), or that you're using the kernel module for ATI IGPmotherboards? Do you actually have an ATI IGP mobo in your  laptop,is it?c) does the fglrx driver actually now support the X600 series (mobile)?
I know that people with X800s (desktop) don't have support (and, man,are they P.O'd), and mobile chip support tends to be somewhat choppy, soit's possible that there's only partial support for the chipset,
resulting in this issue (I have a 9800SE, so while I don't find much tobe grateful for in the ATI drivers, I am at least grateful for an oldermodel card that is supported as well as anything is supported by the
proprietary Linux drivers).Anyway, hope this helps, sorry for posting to a hijacked thread, buthopefully Bruce will repost in a new thread and we can go further.Holly--
gentoo-user@gentoo.org mailing list


[gentoo-user] Logging out and back in kills DRI?

2006-02-03 Thread Michael Kjorling
I am having some trouble with X11 DRI on my AMD64 system. It works
fine the first time after a reboot (I have xdm in the default runlevel
so get a graphical login) but after logging off and back on, all I get
is software rendering. I use x11-base/x11-drm-20051223 (compiled
against my current kernel, obviously, and the radeon module getting
loaded at boot time), and gentoo-sources-2.6.15-r1. I'm running a
framebuffer console and use the radeon Xorg driver. After logging
off and back on, /dev/dri/card0 is still 0:0 666, and my xorg.conf
says DRI is mode 0666, but all I get from within an xterm is this:

[EMAIL PROTECTED] ~ $ glxinfo | grep -i direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
[EMAIL PROTECTED] ~ $ 

...with OpenGL performance that can be expected from software
rendering. I don't see anything in /var/log/Xorg.0.log that would
indicate an error condition, and it seems to say that direct rendering
gets initialized just fine. So why doesn't it get used?

Any suggestions on where to look would be appreciated.

-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* . No bird soars too high if he soars with his own wings . *
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* PGP/GnuPG encrypted e-mail preferred * OpenPGP key ID: 0xBDE9ADA6 *


pgpwDbWmvO3L1.pgp
Description: PGP signature


Re: [gentoo-user] Re: dhcpcd logs

2006-02-03 Thread Marco Calviani
Hi Remy,
  thanks very much for your indication. It works.

Best regards,
MC

2006/2/3, Remy Blank [EMAIL PROTECTED]:
 Marco Calviani wrote:
 i would like dhcpcd to leave logs in /var/log/dhcpcd.log
 
  How is it possible to implement this, noting that i'm using syslog-ng?

 You could try the following in my /etc/syslog-ng/syslog-ng.conf
 (assuming your log source is called src):

 destination dhcpd { file(/var/log/dhcpcd.log); };
 filter f_dhcpcd { program(dhcpcd); };
 log { source(src); filter(f_dhcpcd); destination(dhcpcd); };

 HTH.
 -- Remy


 Remove underscore and suffix in reply address for a timely response.

 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT] gentoo experiences with wireless router Sitecom WL-114

2006-02-03 Thread Marco Calviani
Hi list,
  i'm currently using a wireless Sitecom router WL-114 with my ADSL
Netgear modem, and eveything works smoothly. However i have two
problems:
1) as of the printed manual the WL-114 supports the WPA cryptography
option. But using the web interface program it does not appear as
options.
2) i'm not able to upgrade the firmware to newer versions: it seems to
upgrade succesfully but, after rebooting, the router appears to have
the same older version.

Does anyone experienced any of this?

Best regards,
MC

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Emerging UT2004

2006-02-03 Thread Steve B.
Hey everybody,

  This is kind of stupid problem, but I just can't seem to figure this one 
out.  I can't emerge UT2004.  I set my CD_ROOT to my cdrom (/media/hdc) and 
the first CD copies fine, but it never gives me time to umount and mount the 
second CD.  It simply tries (and thinks it has success) on the rest of the 
CD's but I know that it just copied the data from CD1 six times.

This is the first time I have ever tried to install a game from CD on linux, 
so any help would be appreciated.  Thanks.

-
Steve B.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] changing from X to shell

2006-02-03 Thread Cláudio Henrique
after some updates, changing from KDE to shell seems to be disabled. I
do this by pressing Ctrl+Alt+Fn, where n7.

how do I re-enable it again?

I have updated xorg-x11 to modular xorg-x11 but I have undone this
mistake, since mouse wheel seems to be a too difficult task to
accomplish.

well, that's it.

thanks in advance.

regards, claudio.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] fglrx works. Yeah! Umm, now nothing exits. Uh oh!

2006-02-03 Thread Holly Bostick
Benoit Joseph schreef:
 Hello All,
 
 I've read that the ati-drivers does not support 2.6.15 kernel yet...

Not true; I've been using them together for the last two versions of the
ATI drivers:

motub - uname -r
2.6.15-gentoo

motub - fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9800 SE Generic
OpenGL version string: 2.0.5582 (8.21.7)

(upgraded from 8.20.8 yesterday).


 
 I guess when you say nothing finish it means that your command hangs and
 desn't give you the prompt. I have the same problem.
 (ati Rf250 M9)
 
 Here are a site that point the problem and a way to patch 2.6.15 kernel...

The gentoo ebuild(s) already contains this patch:

# $Header:
/var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-8.21.7.ebuild,v
1.2 2006/01/21 21:15:52 anarchy Exp $

snip

# fix kernel oops for acpi
if kernel_is 2 6 15; then
epatch ${FILESDIR}/${P}-linux-2.6.15.patch
fi
}


Holly
(sorry again, but I couldn't let that misinformation stand)

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] system freezes....

2006-02-03 Thread Marco Calviani
Hi list,
   i'm a Travelmate 8005 laptop user, running an updated gentoo box.
I'm routinely experiencing system freezes 1 or 2 times every two days,
without an apparent cause; everything stops, starting from mouse to
keyboard, so that it is impossible to restart the system.

The system logs of the system does not suggest anything particular
except for this:

hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdc: drive_cmd: error=0x04 { AbortedCommand }
ide: failed opcode was: 0xec
hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdc: drive_cmd: error=0x04 { AbortedCommand }
ide: failed opcode was: 0xec

which however i think it is related to cdrom issues.

# uname -r
2.6.14-gentoo-r5

(PS: i have a radeon 9700 video card wuth the latest (8.21.7) drivers)
# fglrxinfo
isplay: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9700 Generic
OpenGL version string: 2.0.5582 (8.21.7)

I know that these infos are completely insufficient but i don't know
where to start.

Best regards,
MC

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] problem emerging UT2004

2006-02-03 Thread Steve B.
Hey everybody,

  This is kind of stupid problem, but I just can't seem to figure this one 
out.  I can't emerge UT2004.  I set my CD_ROOT to my cdrom (/media/hdc) and 
the first CD copies fine, but it never gives me time to umount and mount the 
second CD.  It simply tries (and thinks it has success) on the rest of the 
CD's but I know that it just copied the data from CD1 six times.

This is the first time I have ever tried to install a game from CD on linux, 
so any help would be appreciated.  Thanks.

-
Steve B.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] changing from X to shell

2006-02-03 Thread Michael Kjorling
On 2006-02-03 11:04 -0200, [EMAIL PROTECTED] wrote:
 after some updates, changing from KDE to shell seems to be disabled. I
 do this by pressing Ctrl+Alt+Fn, where n7.
 
 how do I re-enable it again?

Check to see if you have DontVTSwitch set in your xorg.conf.
 
-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* . No bird soars too high if he soars with his own wings . *
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* PGP/GnuPG encrypted e-mail preferred * OpenPGP key ID: 0xBDE9ADA6 *


pgpHrz70YW2DZ.pgp
Description: PGP signature


Re: [gentoo-user] Udevinfo or /sys/ problem in Gentoo

2006-02-03 Thread Neil Bothwick
On Fri, 03 Feb 2006 12:45:51 +0100, Maarten wrote:

 I need to distinguish several, mostly identical, USB devices from each
 other by assigning them unique static names. I know there are primers(*)
 that describe the process, and I try to follow them, but either the
 gentoo /sys/ tree is broken in some way, or my system is broken, or the
 primers / howto's are incorrect...
 
 (*) http://webpages.charter.net/decibelshelp/LinuxHelp_UDEVPrimer.html
 (*) http://www.reactivated.net/udevrules.php

The latter one is written by a Gentoo dev, so I'm surprised you think it
doesn't work with Gentoo
 
 I'm really stuck with this, so by way of reference I tried another linux
 flavour, and there the whole /sys tree and udevinfo DO work as expected.
 
 So I need to find out what's wrong.
 The docs tell you to run 'udevinfo -a -p /sys/path'. But under gentoo,
 I cannot find the right path. This is what is listed
 under /sys/class/usb*:

Have you tried udevinfo -q path -n /dev/xxx to identify the correct path
in /sys? Do you have CONFIG_SYSFS=y in your kernel config?


-- 
Neil Bothwick

Set phasers to `humiliate,' Mr. Worf.


signature.asc
Description: PGP signature


Re: [gentoo-user] changing from X to shell

2006-02-03 Thread Cláudio Henrique
thanks, I'll do this

On 2/3/06, Michael Kjorling [EMAIL PROTECTED] wrote:
 On 2006-02-03 11:04 -0200, [EMAIL PROTECTED] wrote:
  after some updates, changing from KDE to shell seems to be disabled. I
  do this by pressing Ctrl+Alt+Fn, where n7.
 
  how do I re-enable it again?

 Check to see if you have DontVTSwitch set in your xorg.conf.

 --
 Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
 * . No bird soars too high if he soars with his own wings . *
 * ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
 * PGP/GnuPG encrypted e-mail preferred * OpenPGP key ID: 0xBDE9ADA6 *




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerging UT2004

2006-02-03 Thread fire-eyes
Steve B. wrote:
 Hey everybody,
 
   This is kind of stupid problem, but I just can't seem to figure this one 
 out.  I can't emerge UT2004.  I set my CD_ROOT to my cdrom (/media/hdc) and 
 the first CD copies fine, but it never gives me time to umount and mount the 
 second CD.  It simply tries (and thinks it has success) on the rest of the 
 CD's but I know that it just copied the data from CD1 six times.
 
 This is the first time I have ever tried to install a game from CD on linux, 
 so any help would be appreciated.  Thanks.

Unfortunately, the ebuild for ut2004 is very brain dead about that.
Curiously, it USED to do exactly what you said: let you swap CD's.

The only way I figured out how to accomplish the install from CD's was
to copy every single CD to the hard disk, which obviously takes up a lot
of space and time.

Like so:

rsync -aP /mnt/cdrom 1
rsync -aP /mnt/cdrom 2

And so on through 6. 6 is the disk labeled install disk, I think. Then
set CD_ROOT_1=/full/path/to/1 CD_ROOT_2=/full/path/to/2 CD_ROOT_
emerge ut2004

Feel free to use cp, i prefer to use rsync.

The next problem you will run into (or it might come before you even get
to the CD's, i forget) is that portage will try to download various
large files from 3dgamers mirrors. Almost all of which time out or are
unreachable, or uselessly slow. I've found that I have to go to google
and look for the filename, find it somewhere else, save it to
/usr/portage/distfiles and home the md5sums match. Make sure the
filename is as portage expects it too, including case.

There are bugs open about all of these issues, but they just haven't
been solved yet.

ut2004 is one of the most irritating peices of software to install on
gentoo, especially from CD's, thanks to all of this.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problem emerging UT2004

2006-02-03 Thread Ian Porter
Hi
 Hey everybody,

 Â  This is kind of stupid problem, but I just can't seem to figure this
 one  out. Â I can't emerge UT2004. Â I set my CD_ROOT to my cdrom
 (/media/hdc) and  the first CD copies fine, but it never gives me time
 to umount and mount the  second CD. Â It simply tries (and thinks it
 has success) on the rest of the  CD's but I know that it just copied
 the data from CD1 six times.


I installed this game with the DVD, a tad easier, but I think that if you
make an directory and copy each disk to an separate directory (should be on
the main disk the directory structure I believe) and then set the CD_ROOT to
the main directory.  That should work.

HTH
Ian
 This is the first time I have ever tried to install a game from CD on
 linux,  so any help would be appreciated. Â Thanks.

 -
 Steve B.

 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gnome upgrade removed Open Terminal from right click

2006-02-03 Thread ellotheth rimmwen
On 2/2/06, Mark Knecht [EMAIL PROTECTED] wrote:

How does one add a specific operation to the right click menu one
 gets on the Gnome desktop?

I really want to get this back. In Gnome, I've always had an 'Open
 Terminal' when I right click on the desktop. It's gone missing as of
 today's updates on two of our machines.

Ah, and I thought I was the only one. I dual-boot Ubuntu on my
husband's box, and noticed the same thing. Aggravating.

--
ellotheth rimmwen
* monjoy *

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problem emerging UT2004

2006-02-03 Thread Hemmann, Volker Armin
On Friday 03 February 2006 14:37, Steve B. wrote:
 Hey everybody,

   This is kind of stupid problem, but I just can't seem to figure this one
 out.  I can't emerge UT2004.  I set my CD_ROOT to my cdrom (/media/hdc) and
 the first CD copies fine, but it never gives me time to umount and mount
 the second CD.  It simply tries (and thinks it has success) on the rest of
 the CD's but I know that it just copied the data from CD1 six times.

 This is the first time I have ever tried to install a game from CD on
 linux, so any help would be appreciated.  Thanks.

hm, when I installed ut2004 it was the 3355 ebuild and it worked perfectly 
fine. Updates from there on worked too.

Sadly, it is not in portage anymore, hmhm. But you should find it in the 
gentoo cvs, no?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gnome upgrade removed Open Terminal from right click

2006-02-03 Thread Mark Knecht
On 2/3/06, ellotheth rimmwen [EMAIL PROTECTED] wrote:
 On 2/2/06, Mark Knecht [EMAIL PROTECTED] wrote:

 How does one add a specific operation to the right click menu one
  gets on the Gnome desktop?
 
 I really want to get this back. In Gnome, I've always had an 'Open
  Terminal' when I right click on the desktop. It's gone missing as of
  today's updates on two of our machines.

 Ah, and I thought I was the only one. I dual-boot Ubuntu on my
 husband's box, and noticed the same thing. Aggravating.


Yeah. Very. It wouldn't be so frustrating if I knew *anything* about
how this little menu gets configured but I haven't found any docs yet
that explain it. I really cannot believe that it's some hardwired
thing I have no control over. (Is it?) ;-)

Cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: changing from X to shell

2006-02-03 Thread Harm Geerts
On Friday 03 February 2006 14:04, Cláudio Henrique wrote:
 after some updates, changing from KDE to shell seems to be disabled. I
 do this by pressing Ctrl+Alt+Fn, where n7.

 how do I re-enable it again?

 I have updated xorg-x11 to modular xorg-x11 but I have undone this
 mistake, since mouse wheel seems to be a too difficult task to
 accomplish.
X.org 7 contains a rigorous cleanup of keyboard configs.
You'll have to recheck the settings for your keyboard and adjust them to the 
new system.

To get the VT switch functionality back you can start with the following basic 
settings.
Option  XkbModel  pc104 # or pc105
Option  XkbLayout us

If you need some special characters on your keyboard you'll have to dig around 
for the right settings.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] python-2.4.2-r1 problems

2006-02-03 Thread Rumen Yotov
On (03/02/06 10:48), Neil Bothwick wrote:
 On Fri, 3 Feb 2006 09:04:08 +0200, Rumen Yotov wrote:
 
  Just emerged newest python-2.4.2-r1 - on all ~x86 system.
  Next emerge broke due to missing internal python module (fcntl).
  After that all python dependent apps stopped working.
 
 I've just gone from 2.4.2 to 2.4.2-r1 and all seems well so far.
 
 You shouldn't need to with a patch level upgrade, but you could try
 running python-updater.
 
 
 -- 
 Neil Bothwick
 
 Bother, said Pooh, as he reloaded his AK-47.
Hi,
No such luck ;) i couldn't run even python-updater (tried it).
Any python-dependent app was broken (incl. portage,etc.).
Rumen


pgp3tV65veWuL.pgp
Description: PGP signature


Re: [gentoo-user] Re: changing from X to shell

2006-02-03 Thread Cláudio Henrique
I see... Well, I'll try to remember this in the future. X.org 7 gave
me too much trouble. I'll wait for the stable version. Thanks!

On 2/3/06, Harm Geerts [EMAIL PROTECTED] wrote:
 On Friday 03 February 2006 14:04, Cláudio Henrique wrote:
  after some updates, changing from KDE to shell seems to be disabled. I
  do this by pressing Ctrl+Alt+Fn, where n7.
 
  how do I re-enable it again?
 
  I have updated xorg-x11 to modular xorg-x11 but I have undone this
  mistake, since mouse wheel seems to be a too difficult task to
  accomplish.
 X.org 7 contains a rigorous cleanup of keyboard configs.
 You'll have to recheck the settings for your keyboard and adjust them to the
 new system.

 To get the VT switch functionality back you can start with the following basic
 settings.
Option  XkbModel  pc104 # or pc105
Option  XkbLayout us

 If you need some special characters on your keyboard you'll have to dig around
 for the right settings.

 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [KDE] move to thrash vs erase for sure

2006-02-03 Thread Cláudio Henrique
when I right click a file in konqueror, it gives me only one delete
option, the one to move files to the thrash can. however, sometimes I
want to shred a file, instead of just putting it on a thrash can. how
can I do this? is there a kshred app?

thanks in advance, claudio.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: move to thrash vs erase for sure

2006-02-03 Thread Harm Geerts
On Friday 03 February 2006 16:27, Cláudio Henrique wrote:
 when I right click a file in konqueror, it gives me only one delete
 option, the one to move files to the thrash can. however, sometimes I
 want to shred a file, instead of just putting it on a thrash can. how
 can I do this? is there a kshred app?
http://dot.kde.org/015993/058130/

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] upgrade/downgrade portage loop

2006-02-03 Thread Grant
  Hello, I have the following in package.keywords:
 
  xfce-base/libxfce4mcs
  xfce-base/libxfcegui4
  xfce-base/libxfce4util
 
  They need to be in there for xfmedia.  Whenever I run 'emerge -avDuN
  world' portage wants to either upgrade or downgrade between the two
  most recent ~x86 versions of the packages.  Does anyone know how to
  fix this?

 Use package.mask to mask out the more recent version.

 -Richard

I have wpa_supplicant in package.keywords too.  It has four ~x86
packages that are more recent than the latest x86 package and it
doesn't get caught in an upgrade/downgrade loop.  Why is this
happening with the xfce-base stuff?

- Grant

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE flags - Why use ntpl/ntplonly in make.conf?

2006-02-03 Thread Hans-Werner Hilse
Hi,

On Thu, 02 Feb 2006 15:40:39 -0500
fire-eyes [EMAIL PROTECTED] wrote:

 Myself I tried ntpl (and also ntplonly at someones suggestion). It is
 supposed to offer better thread support, especially if you have an SMP
 or dual core system. I have an SMP system.

It's just more lightweight by using (more) kernel mechanisms. It
leverages the binding between threads and processes. This of course
means that one can only profit if one uses multithreading apps.

 Maybe it was just for me, but this turned into a total disaster. I later
 found that it was due to setting ntplonly, which apparently disables
 old, non-ntpl support entirely. Which is very very bad for apps that
 don't yet support ntpl, or something like that.

Well, it's bad for apps that weren't compiled with nptl support.
Usually, there's not much that keeps an app utilizing the old
linuxthreads from using NPTL instead. But due to this being part of
glibc, it obviously doesn't work for programs linked statically or
against an older glibc.

 My suggestion is to talk to gentoo devs, and decide for yourself if you
 think it's worth it. And by all means stay away from ntplonly.

I'm doing fine with nptlonly for some years now. (not *that* many
years, of course :-)

 Today my system is ntpl (without ntplonly), on an SMP system, and I
 don't notice any improvement at ALL. Which is VERY annoying considering
 the complete insanity I went through for about a week.

Well, maybe you aren't using multithreaded apps? Or the threading
overhead is neglegible? For me it makes a huge difference on my
pentium-200mmx (yes...) running VDR (my mediacenter-box), which is
heavily threaded. All other apps I'm using don't use threads (in fact,
some do but arre using more high-level threading implementations aside
from linuxthreads and NPTL). Lots of apps I'm using are still just
forking processes and talking via IPC.

 Yes, I know only some apps support ntpl, but the impression given to me
 was that it would speed up the whole system. Which is certainly not true.

OK, but that was a too high expectation. It's never been advertised as
high-performance general tool. And since you knew there are only some
apps making profit of threads, you should have known that the effect
was likely to be small.

I can recommend NPTL for situations where threading really matters. And
it only speeds threading, so whether using it or not is a matter of
analyzing your application landscape...

BTW, I don't suggest switching to NPTL either. If one starts a new
Gentoo installation, I think it would be a good idea to use NPTL right
from the start (and even try nptlonly). Switching from linuxthreads to
nptlonly brings some risks mentioned above. So a emerge -e world may
be a good idea in the case one goes down that road.

-hwh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [KDE] move to thrash vs erase for sure

2006-02-03 Thread Neil Bothwick
On Fri, 3 Feb 2006 13:27:31 -0200, Cláudio Henrique wrote:

 when I right click a file in konqueror, it gives me only one delete
 option, the one to move files to the thrash can. however, sometimes I
 want to shred a file, instead of just putting it on a thrash can. how
 can I do this? is there a kshred app?

It appears there was a kshred but it is no more. You can attach shred
(or shreed --remove) to the popup menu for all files by adding it as an
application to the all/allfiles filetype in File Associations section
of the KDE Control Centre.


-- 
Neil Bothwick

I am Zaphod of Borg. Now, where's the coolest place to be assimilated...


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: move to thrash vs erase for sure

2006-02-03 Thread Cláudio Henrique
domo arigato! :o)

On 2/3/06, Harm Geerts [EMAIL PROTECTED] wrote:
 On Friday 03 February 2006 16:27, Cláudio Henrique wrote:
  when I right click a file in konqueror, it gives me only one delete
  option, the one to move files to the thrash can. however, sometimes I
  want to shred a file, instead of just putting it on a thrash can. how
  can I do this? is there a kshred app?
 http://dot.kde.org/015993/058130/

 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installed vs. Running (new feature suggestion)

2006-02-03 Thread Grant
  2. reports what version of installed software is actually running and
  it's up to the user to figure out what needs to be done if installed
  and running software versions do not match (probably better)

 3. Whenever an ebuild installs a script in /etc/init.d, it checks to see
 whether the service is already running. If it is, it sends an ewarn
 message. Now that portage is able to mail these messages, they no longer
 get lost in the reams of output from an emerge, so they are now genuinely
 useful.

Very nice.  Should that cover all instances of action needing to be
taken for an update to take effect?  It wouldn't handle kernel
updates, but that one is obvious.

- Grant

 Neil Bothwick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Udevinfo or /sys/ problem in Gentoo

2006-02-03 Thread Maarten
Neil Bothwick wrote:
 On Fri, 03 Feb 2006 12:45:51 +0100, Maarten wrote:
 
 
I need to distinguish several, mostly identical, USB devices from each
other by assigning them unique static names. I know there are primers(*)
that describe the process, and I try to follow them, but either the
gentoo /sys/ tree is broken in some way, or my system is broken, or the
primers / howto's are incorrect...

(*) http://webpages.charter.net/decibelshelp/LinuxHelp_UDEVPrimer.html
(*) http://www.reactivated.net/udevrules.php
 
 
 The latter one is written by a Gentoo dev, so I'm surprised you think it
 doesn't work with Gentoo
 
I'm really stuck with this, so by way of reference I tried another linux
flavour, and there the whole /sys tree and udevinfo DO work as expected.

So I need to find out what's wrong.
The docs tell you to run 'udevinfo -a -p /sys/path'. But under gentoo,
I cannot find the right path. This is what is listed
under /sys/class/usb*:
 
 
 Have you tried udevinfo -q path -n /dev/xxx to identify the correct path
 in /sys? Do you have CONFIG_SYSFS=y in your kernel config?

Ok. I think found out what went wrong.  Following the 'Everything is a
file linux philosophy I ran udevinfo on the files under that directory.
That gives the less than helpful error:

couldn't get the class device

Witness my history...  :-(

  686  udevinfo -a -p /sys/class/tty/
  689  udevinfo -a -p /sys/class/tty/ttyUSB0/dev
  690  udevinfo -a -p /sys/class/tty/ttyUSB1/dev
  698  udevinfo -a -p /sys/block/sda/dev
  699  udevinfo -a -p /sys/class/nvidia/nvidia0/dev
  700  udevinfo -a -p /sys/class/net/eth0/type
  701  udevinfo -a -p /sys/class/sound/dsp/dev
  702  udevinfo -a -p /sys/class/misc/rtc/dev
  706  udevinfo -a -p  /sys/class/usb/lp0/dev


I think, for the sake of clarity, that the howto might have mentioned
this explicitly.  So one must not try to run it on the dev file but
just on the underlying directory. Which is what the doc says, but it is
not very intuitive to do so, and I have an itchy [TAB] key... Oh well.

All is cleared up now.  Sorry for bothering you.

Maarten
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problem emerging UT2004

2006-02-03 Thread Michael A. Smith

Steve B. wrote:

Hey everybody,

  This is kind of stupid problem, but I just can't seem to figure this one 
out.  I can't emerge UT2004.  I set my CD_ROOT to my cdrom (/media/hdc) and 
the first CD copies fine, but it never gives me time to umount and mount the 
second CD.  It simply tries (and thinks it has success) on the rest of the 
CD's but I know that it just copied the data from CD1 six times.


This is the first time I have ever tried to install a game from CD on linux, 
so any help would be appreciated.  Thanks.


-
Steve B.


I use the DVD, so this is purely hypothetical, but what if you export 
CD1_ROOT instead of CD_ROOT?


Actually looking at the ebuild I expect this not to work, but it 
can't hurt to try.


The ebuild is confusing:

 From ut2004-data-3186.ebuild
DISK1=CD1/
DISK2=CD2/
DISK3=CD3/
DISK4=CD4/
DISK5=CD5/
DISK6=CD6/

...

cp -r ${CDROM_ROOT}/${DISK1}{Animations,ForceFeedback,Help,KarmaData,Map
s,Sounds,Web} ${Ddir} || die copying files

 end snippet

It looks as if it expects all that data to be copied into 6 paths 
inside $CDROM_ROOT. I don't know anyone with 6 spare optical drives, 
so I can't imagine they expected them to be mounted. But how else can 
it be interpreted?


-Mike
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wireless problem

2006-02-03 Thread Simon Prosser
On Friday 03 February 2006 08:10, Jean Magnan de Bornier wrote:
 OK, dhcpcd does the connection all right, and thanks for that; however I
 still need to enter the user and password informations. I guess it might
 be a provider matter?

have a read of /etc/conf.d/wireless.example == all you needs in there ;)


pgpMK8YrOsp8N.pgp
Description: PGP signature


Re: [gentoo-user] Gnome upgrade removed Open Terminal from right click

2006-02-03 Thread Michael Sullivan
On Fri, 2006-02-03 at 09:40 -0500, ellotheth rimmwen wrote:
 On 2/2/06, Mark Knecht [EMAIL PROTECTED] wrote:
 
 How does one add a specific operation to the right click menu one
  gets on the Gnome desktop?
 
 I really want to get this back. In Gnome, I've always had an 'Open
  Terminal' when I right click on the desktop. It's gone missing as of
  today's updates on two of our machines.
 
 Ah, and I thought I was the only one. I dual-boot Ubuntu on my
 husband's box, and noticed the same thing. Aggravating.
 
 --
 ellotheth rimmwen
 * monjoy *
 

My wife commented to me that the Run Application option is no longer
on the Main Menu.  I made a panel button in her account for that, but
other than making a button for gnome-terminal or typing it in a Run box
I have no idea...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE flags - Why use ntpl/ntplonly in make.conf?

2006-02-03 Thread Richard Fish
On 2/3/06, Hans-Werner Hilse [EMAIL PROTECTED] wrote:
 I can recommend NPTL for situations where threading really matters. And
 it only speeds threading, so whether using it or not is a matter of
 analyzing your application landscape...

I agree.  Java applications in particular seem to benefit greatly from nptl.


 BTW, I don't suggest switching to NPTL either. If one starts a new
 Gentoo installation, I think it would be a good idea to use NPTL right
 from the start (and even try nptlonly). Switching from linuxthreads to
 nptlonly brings some risks mentioned above. So a emerge -e world may
 be a good idea in the case one goes down that road.

NPTL is a drop-in replacement for pthreads, and is only a change in
glibc (specifically, libpthread.so). In fact the vast majority of
applications (even those that are multi-threaded) will never notice
the difference between pthread and nptl.  It seems only some older,
binary only applications that depend on particular (unspecified and
undocumented) behaviors of pthreads that have a problem.  But the
compatibility is now greatly improved, probably to nearly 100%.  In
fact, other than fire-eyes, _nobody_ has reported an nptl/nptlonly
problem on this list recently, despite the fact that there are several
people here (myself included) that use nptlonly.

Plus, bugs.gentoo.org shows no current nptl-specific bugs.  There are
a few bugs still open regarding nptl, but the are more than 18-months
old, with nobody able to duplicate them, and the original author
having disappeared.

In any case, emerge -e is definitely not necessary...merging just
glibc (which you have to do to change the flags anyway) is sufficient.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wireless problem

2006-02-03 Thread Jean Magnan de Bornier
Le 03 février à 17:21:34 Simon Prosser [EMAIL PROTECTED] écrit notamment:

| On Friday 03 February 2006 08:10, Jean Magnan de Bornier wrote:
|  OK, dhcpcd does the connection all right, and thanks for that; however I
|  still need to enter the user and password informations. I guess it might
|  be a provider matter?

| have a read of /etc/conf.d/wireless.example == all you needs in there ;)

Did it already... but this is not so easy to figure out
I'll look at all that again soon
thanks
-- 
Jean

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] upgrade/downgrade portage loop

2006-02-03 Thread Richard Fish
On 2/3/06, Grant [EMAIL PROTECTED] wrote:
   Hello, I have the following in package.keywords:
  
   xfce-base/libxfce4mcs
   xfce-base/libxfcegui4
   xfce-base/libxfce4util
  
   They need to be in there for xfmedia.  Whenever I run 'emerge -avDuN
   world' portage wants to either upgrade or downgrade between the two
   most recent ~x86 versions of the packages.  Does anyone know how to
   fix this?
 
  Use package.mask to mask out the more recent version.
 

 I have wpa_supplicant in package.keywords too.  It has four ~x86
 packages that are more recent than the latest x86 package and it
 doesn't get caught in an upgrade/downgrade loop.  Why is this
 happening with the xfce-base stuff?


It happens because of a long-time bug in portage that doesn't handle
some dependancy cases very well.

In this case:

pkg A depends on pkg C  version X
pkg B depends on pkg C  version Y
the current version of pkg C is = Y, and X is  Y.

If for example X is 1.0, Y is 1.2, and the current version is 1.3,
then portage will oscillate between merging pkg C 1.0 and 1.3.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can't compile some C++ apps

2006-02-03 Thread Daniel Vrcic
Hi,

* Richard Fish [EMAIL PROTECTED] [06-02-02 10:04]:

thanks for reply!

 Segfaults compiling are almost always a hardware issue. memtest86 is
 just about useless today, as it cannot detect problems due to dma or
 memory timings.
 
 Try the memtest script available at:
 
 http://people.redhat.com/dledford/memtest.html

I ran it twice yesterday and it didn't print anything on stdout which
means that those tests passed.

I've also run it today with NR_PASSES=10:

[36] % ./memtest.sh
./memtest.sh  288.38s user 441.55s system 9% cpu 2:01:45.25 total

 The other thing I would try is to take out the -mmmx, -msse2, and
 -mfpmath=sse flags.  They will be enabled for those ebuilds where it
 is safe to do so by the USE flags.

Doh, I forgot to say in the original post that I've already tried
removing those flags, but that, unfortunately, didn't help. :(

I'm still not able to compile the newest avidemux, k3b, kpdf, amarok...

Isn't that strange that _all_ C compiles (including some bigger apps
like kernel, mplayer, glib, gtk+) went fine apart from only few C++'s
(I think two)? If I have a hardware issue, how come that compilation of
those programs always break, and always on the same file and line of
certain source?

Please, any more tips, advices?

Cheers,
-- 
Daniel Vrcic
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Udevinfo or /sys/ problem in Gentoo

2006-02-03 Thread Michael Mauch
Maarten wrote:

 All is cleared up now.  Sorry for bothering you.

FWIW, you could also run udevinfo -d to see all your devices, and use
the left side of its output for udevinfo -a -p.

I wonder why the -d switch is not documented neither in udevinfo -h
nor in the man page.

Regards...
Michael
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: CUPS -- fails better!

2006-02-03 Thread maxim wexler


--- Manuel McLure [EMAIL PROTECTED] wrote:

 On Thursday 02 February 2006 18:56, maxim wexler
 wrote:
  Did emerge -C cups and emerge lprng now every
 attempt
  at using lpr results in
 
  Get_local_host: hostname 'sarawak' bad
 
  What do they mean bad? When I run hostname,
 sarawak
  appears.
 
 I think this happens if /etc/hosts and
 /etc/conf.d/hostname don't match up 
 correctly. Make sure /etc/hosts has a line for
 sarawak with your machine's IP 
 address.
 

Here's my original /etc/hosts

127.0.0.1   localhost
# IPV6 versions of localhost and co
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

So far have take three stabs at changing it:

1. replaced localhost with sarawak
result: 'localhost' IP address not available!

2. replaced localhost with localhost.localdomain
sarawak
result: 'localhost' IP address not available!

3. added sarawak after localhost
result: Cannot open connection to localhost - No such
file or directory. 

FWIW I'm on dialup and the on-board NIC is not being
used at this time.

This seems like a simple matter of a few characters.
But the number of possible permutations must be enormous.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Udevinfo or /sys/ problem in Gentoo

2006-02-03 Thread Maarten
Michael Mauch wrote:
 Maarten wrote:
 
 
All is cleared up now.  Sorry for bothering you.
 
 
 FWIW, you could also run udevinfo -d to see all your devices, and use
 the left side of its output for udevinfo -a -p.

Wow, yes, that is a useful tip!  Thanks!

 I wonder why the -d switch is not documented neither in udevinfo -h
 nor in the man page.

I fully concur.

Handling the /sys/ dir for the first time when you don't yet know your
way around it can be a daunting task anyway.  Look at this little
example, which illustrates how incredibly picky udevinfo is about the
right pathname.  Only the third form prints any useful info, the first
yields an error and the second one does give some little output, but
alas nothing useful. (It is awful that the simple fact of omitting a
trailing / makes that much of a difference):


server mnt # udevinfo -a -p /sys/class/tty/ttyUSB0/device
couldn't get the class device

server mnt # udevinfo -a -p /sys/class/tty/ttyUSB0/device/

  looking at class device '/sys/class/tty/ttyUSB0/device':
KERNEL==device
SUBSYSTEM==tty
SYSFS{detach_state}==0

server mnt # udevinfo -a -p /sys/class/tty/ttyUSB0

device '/sys/class/tty/ttyUSB0' has major:minor 188:0
  looking at class device '/sys/class/tty/ttyUSB0':
KERNEL==ttyUSB0
SUBSYSTEM==tty
SYSFS{dev}==188:0

follow the device-link to the physical device:
  looking at the device chain at
'/sys/devices/pci:00/:00:1d.0/usb2/2-2/2-2:1.0/ttyUSB0':
BUS==usb-serial
ID==ttyUSB0
DRIVER==PL-2303
SYSFS{detach_state}==0

snip much more info

Maarten
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [KDE] move to thrash vs erase for sure

2006-02-03 Thread Hemmann, Volker Armin
On Friday 03 February 2006 16:27, Cláudio Henrique wrote:
 when I right click a file in konqueror, it gives me only one delete
 option, the one to move files to the thrash can. however, sometimes I
 want to shred a file, instead of just putting it on a thrash can. how
 can I do this? is there a kshred app?

 thanks in advance, claudio.

mark

shift-delete

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Install Gentoo with SATA DVD/CD drive?

2006-02-03 Thread Boyd Stephen Smith Jr.
On Thursday 19 January 2006 11:45, Charles Marcus 
[EMAIL PROTECTED] wrote about '[gentoo-user]  Install Gentoo 
with SATA DVD/CD drive?':
 Anyone got this to work?

Normally, SATA CD/DVD drives are not picked up by the current or mm 
kernels.

There is a libata module option: atapi_enabled since ~2.6.14.  If you are 
booting a kernel of that version or greater, simply append 
libata.atapi_enabled=1 to the kernel (if libata is compiled in) or 
modprobe command-line.

If you are using a livecd with an older kernel version, you'll just have to 
hope that the livecd builder applied the necessary patch to older kernels 
to support ATA_ATAPI -- the patch is rather trivial, so if you have other 
hardware that forces you to use one of these older kernels during initial 
install, contact me and I can tell you what to patch. [Heck, I use a 
similar, trivial patch instead or passing a module parameter.]

-- 
Boyd Stephen Smith Jr.
[EMAIL PROTECTED]
ICQ: 514984 YM/AIM: DaTwinkDaddy
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Udevinfo or /sys/ problem in Gentoo

2006-02-03 Thread Neil Bothwick
On Fri, 03 Feb 2006 19:15:54 +0100, Maarten wrote:

 Only the third form prints any useful info, the first
 yields an error and the second one does give some little output, but
 alas nothing useful. (It is awful that the simple fact of omitting a
 trailing / makes that much of a difference):
 
 server mnt # udevinfo -a -p /sys/class/tty/ttyUSB0/device
 couldn't get the class device
 
 server mnt # udevinfo -a -p /sys/class/tty/ttyUSB0/device/
 
   looking at class device '/sys/class/tty/ttyUSB0/device':
 KERNEL==device
 SUBSYSTEM==tty
 SYSFS{detach_state}==0
 
 server mnt # udevinfo -a -p /sys/class/tty/ttyUSB0
 
 device '/sys/class/tty/ttyUSB0' has major:minor 188:0
   looking at class device '/sys/class/tty/ttyUSB0':
 KERNEL==ttyUSB0
 SUBSYSTEM==tty
 SYSFS{dev}==188:0

You can let udevinfo generate the correct path information for you

udevinfo -a -p $(udevinfo -q path -n /dev/whatever)


-- 
Neil Bothwick

Don't let the computer bugs bite!


signature.asc
Description: PGP signature


Re: [gentoo-user] No module named java_config

2006-02-03 Thread Michael Sullivan
On Fri, 2006-02-03 at 19:14 +0100, Fredrik Lundgren wrote:
 Dear list,
 
 I recently updated and had to handle some 80 configuration files (that 
 was at least a halfyear since last update). A lot probably went wrong 
 but now the system is up and running.
 However,  when I try to update Openoffice i get the following
 
 Traceback (most recent call last):
 File '/usr/bin/java_config' line 14 in ?
 from java_config import jc_options
 No module named java_config
 
 Can any one give advice as how java_config should be modified. I'm using 
 Blackdown java
 and 2.6.10-gentoo-r6 and I'm quit inexperienced with gentoo.
 
 Fredrik 
 
 

Run python-updater

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Better than equery list|grep something

2006-02-03 Thread Harry Putnam
A while back some posted a way to avoid doing:
  equery list|grep package to get info like version or whatever.

It involved limiting what list returned by some method before it gets
to grep.

Anyone remember or know what it is.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Better than equery list|grep something

2006-02-03 Thread Andrei Slavoiu
--- Harry Putnam [EMAIL PROTECTED] wrote:

 A while back some posted a way to avoid doing:
   equery list|grep package to get info like version
 or whatever.
 
 It involved limiting what list returned by some
 method before it gets
 to grep.
 
 Anyone remember or know what it is.
`equery list package` does the same thing

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB issue

2006-02-03 Thread Franta
So O.K.

I'll probably have to do this from scratch.

I've removed my customisations from /etc/udev/rules.d

frankies ~ # cd /etc/udev/rules.d/
frankies rules.d # ls -l
total 16
-rw-r--r--  1 root root   346 Jan 23 22:14 05-udev-early.rules
-rw-r--r--  1 root root 11612 Jan 23 22:14 50-udev.rules
frankies rules.d # 
frankies rules.d # # as we see, the emerge happened Jan 23.
frankies rules.d #
frankies rules.d # # I put in the USB stick
frankies rules.d #
frankies rules.d # tail -fn20 /var/log/messages 
Feb  3 21:14:01 frankies su(pam_unix)[4613]: session opened for user
root by (uid=1000)
Feb  3 21:16:01 frankies usb 2-2: USB disconnect, address 2
Feb  3 21:16:08 frankies usb 2-2: new full speed USB device using
ohci_hcd and address 3
Feb  3 21:16:08 frankies usb 2-2: not running at top speed; connect to a
high speed hub
Feb  3 21:16:08 frankies scsi1 : SCSI emulation for USB Mass Storage
devices
Feb  3 21:16:08 frankies usb-storage: device found at 3
Feb  3 21:16:08 frankies usb-storage: waiting for device to settle
before scanning
Feb  3 21:16:13 frankies Vendor: SanDisk   Model: Cruzer Micro  Rev:
2033
Feb  3 21:16:13 frankies Type:   Direct-Access  ANSI
SCSI revision: 00
Feb  3 21:16:13 frankies SCSI device sda: 1024000 512-byte hdwr sectors
(524 MB)
Feb  3 21:16:13 frankies sda: Write Protect is off
Feb  3 21:16:13 frankies sda: Mode Sense: 02 00 00 00
Feb  3 21:16:13 frankies sda: assuming drive cache: write through
Feb  3 21:16:13 frankies SCSI device sda: 1024000 512-byte hdwr sectors
(524 MB)
Feb  3 21:16:13 frankies sda: Write Protect is off
Feb  3 21:16:13 frankies sda: Mode Sense: 02 00 00 00
Feb  3 21:16:13 frankies sda: assuming drive cache: write through
Feb  3 21:16:13 frankies sda: sda1
Feb  3 21:16:13 frankies Attached scsi removable disk sda at scsi1,
channel 0, id 0, lun 0
Feb  3 21:16:13 frankies usb-storage: device scan complete
^C
frankies rules.d #
frankies rules.d # ls /dev/sd*
ls: /dev/sd*: No such file or directory
frankies rules.d # 
frankies rules.d # uname -r
2.6.12-gentoo-r10
frankies rules.d # 

... a hotplug issue?


On Wed, 2006-02-01 at 23:25 +0100, Franta wrote:
 Hi,
 
 that's me onesmore.
 
 Again the things changed were some emerge -u world.
 
 There are no USB disks coming up anymore. Dunno when this issue came up.
 
 I have a digital camera which I connected to my PC. It came up
 as /dev/sdaX and due to my USB settings as /dev/psmart.
 
 I have an USB key, which came up as /dev/sdaX and due to my USB settings
 as /dev/cruiser.
 
 I did'nt use any of them for half a year or so. Last week I tried to
 save some photos to th PC.
 
 There are the messages about connecting the USB device
 in /var/log/messages but no device is coming up.
 
 I've tried the same with the USB stick - the same story.
 
 Has something changed with coldplug/hotplug?
 
 Well, I could save the pictures from the camera or exchange data from
 the USB stick using Windows. Half a year ago this was possible with
 Gentoo too. I'd prefer this possibility ;)
 
 The only thing I've changed was some update world.
 
 THanks for any help
 Frank
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB issue

2006-02-03 Thread Franta
Xcuse me, forgot this:

frankies ~ # lspci | grep USB
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0
Controller
frankies ~ # 
frankies ~ # #without the stick
frankies ~ # 
frankies ~ # lsusb
Bus 003 Device 002: ID 046d:c00c Logitech, Inc. Optical Wheel Mouse
Bus 003 Device 001: ID :  
Bus 002 Device 001: ID :  
Bus 001 Device 001: ID :  
frankies ~ # 
frankies ~ # # with the stick
frankies ~ # 
frankies ~ # lsusb
Bus 003 Device 002: ID 046d:c00c Logitech, Inc. Optical Wheel Mouse
Bus 003 Device 001: ID :  
Bus 002 Device 004: ID 0781:7114 SanDisk Corp. 
Bus 002 Device 001: ID :  
Bus 001 Device 001: ID :  
frankies ~ # 


On Fri, 2006-02-03 at 21:20 +0100, Franta wrote:
 So O.K.
 
 I'll probably have to do this from scratch.
 
 I've removed my customisations from /etc/udev/rules.d
 
 frankies ~ # cd /etc/udev/rules.d/
 frankies rules.d # ls -l
 total 16
 -rw-r--r--  1 root root   346 Jan 23 22:14 05-udev-early.rules
 -rw-r--r--  1 root root 11612 Jan 23 22:14 50-udev.rules
 frankies rules.d # 
 frankies rules.d # # as we see, the emerge happened Jan 23.
 frankies rules.d #
 frankies rules.d # # I put in the USB stick
 frankies rules.d #
 frankies rules.d # tail -fn20 /var/log/messages 
 Feb  3 21:14:01 frankies su(pam_unix)[4613]: session opened for user
 root by (uid=1000)
 Feb  3 21:16:01 frankies usb 2-2: USB disconnect, address 2
 Feb  3 21:16:08 frankies usb 2-2: new full speed USB device using
 ohci_hcd and address 3
 Feb  3 21:16:08 frankies usb 2-2: not running at top speed; connect to a
 high speed hub
 Feb  3 21:16:08 frankies scsi1 : SCSI emulation for USB Mass Storage
 devices
 Feb  3 21:16:08 frankies usb-storage: device found at 3
 Feb  3 21:16:08 frankies usb-storage: waiting for device to settle
 before scanning
 Feb  3 21:16:13 frankies Vendor: SanDisk   Model: Cruzer Micro  Rev:
 2033
 Feb  3 21:16:13 frankies Type:   Direct-Access  ANSI
 SCSI revision: 00
 Feb  3 21:16:13 frankies SCSI device sda: 1024000 512-byte hdwr sectors
 (524 MB)
 Feb  3 21:16:13 frankies sda: Write Protect is off
 Feb  3 21:16:13 frankies sda: Mode Sense: 02 00 00 00
 Feb  3 21:16:13 frankies sda: assuming drive cache: write through
 Feb  3 21:16:13 frankies SCSI device sda: 1024000 512-byte hdwr sectors
 (524 MB)
 Feb  3 21:16:13 frankies sda: Write Protect is off
 Feb  3 21:16:13 frankies sda: Mode Sense: 02 00 00 00
 Feb  3 21:16:13 frankies sda: assuming drive cache: write through
 Feb  3 21:16:13 frankies sda: sda1
 Feb  3 21:16:13 frankies Attached scsi removable disk sda at scsi1,
 channel 0, id 0, lun 0
 Feb  3 21:16:13 frankies usb-storage: device scan complete
 ^C
 frankies rules.d #
 frankies rules.d # ls /dev/sd*
 ls: /dev/sd*: No such file or directory
 frankies rules.d # 
 frankies rules.d # uname -r
 2.6.12-gentoo-r10
 frankies rules.d # 
 
 ... a hotplug issue?
 
 
 On Wed, 2006-02-01 at 23:25 +0100, Franta wrote:
  Hi,
  
  that's me onesmore.
  
  Again the things changed were some emerge -u world.
  
  There are no USB disks coming up anymore. Dunno when this issue came up.
  
  I have a digital camera which I connected to my PC. It came up
  as /dev/sdaX and due to my USB settings as /dev/psmart.
  
  I have an USB key, which came up as /dev/sdaX and due to my USB settings
  as /dev/cruiser.
  
  I did'nt use any of them for half a year or so. Last week I tried to
  save some photos to th PC.
  
  There are the messages about connecting the USB device
  in /var/log/messages but no device is coming up.
  
  I've tried the same with the USB stick - the same story.
  
  Has something changed with coldplug/hotplug?
  
  Well, I could save the pictures from the camera or exchange data from
  the USB stick using Windows. Half a year ago this was possible with
  Gentoo too. I'd prefer this possibility ;)
  
  The only thing I've changed was some update world.
  
  THanks for any help
  Frank
  
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ALSA issue

2006-02-03 Thread Franta
On Wed, 2006-02-01 at 23:40 +0100, Christoph Eckert wrote:
  Sound was working - at least mpeg files were with sound. This started
  with an update world somewhen during november last year.
 
 check /etc/modules.d/alsa, that's where your soundcard configuration 
 lives. If it doesn't contain a matching configuration, enter it 
 manually or run alsaconf as root (it's part of alsa-utils).
 
 
 Best regards

Well, I ran alsaconf just now.

It told me that it cant find neither soundcard 0 nor soundcard 1 during
restoring of the mixer levels.

That's the same behaviour I get during boot.

As I stated in the initial post I had sound. Te only thing changed are
some emerge -u.

Dunno. I have the great feeling that this is a system for which I'll
have to follow discussions, read (changing) documentation and so on for
10 hours to have one hour of work with it.

Why the hick things stop working so often?


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ALSA issue

2006-02-03 Thread Franta
On Fri, 2006-02-03 at 21:44 +0100, Franta wrote:
 On Wed, 2006-02-01 at 23:40 +0100, Christoph Eckert wrote:
   Sound was working - at least mpeg files were with sound. This started
   with an update world somewhen during november last year.
  
  check /etc/modules.d/alsa, that's where your soundcard configuration 
  lives. If it doesn't contain a matching configuration, enter it 
  manually or run alsaconf as root (it's part of alsa-utils).
  
  
  Best regards
 
 Well, I ran alsaconf just now.
 
 It told me that it cant find neither soundcard 0 nor soundcard 1 during
 restoring of the mixer levels.
 
 That's the same behaviour I get during boot.
 
 As I stated in the initial post I had sound. Te only thing changed are
 some emerge -u.
 
 Dunno. I have the great feeling that this is a system for which I'll
 have to follow discussions, read (changing) documentation and so on for
 10 hours to have one hour of work with it.
 
 Why the hick things stop working so often?

Just now I've realized: there is no device in /dev for the soundcard. So
the issues could be in coldplug and in udev too.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Logging out and back in kills DRI?

2006-02-03 Thread Benno Schulenberg
Michael Kjorling wrote:
 I am having some trouble with X11 DRI on my AMD64 system. It
 works fine the first time after a reboot (I have xdm in the
 default runlevel so get a graphical login) but after logging off
 and back on, all I get is software rendering.

Seeing that here too sometimes.  It seems that the app that used 
the DRI doesn't fully release it, so that when X restarts it sees 
the DRI as being occupied, and is unable to use it.  It looks like 
a bug -- either in the app, X, or the radeon driver.

Benno
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Logging out and back in kills DRI?

2006-02-03 Thread Michael Kjorling
On 2006-02-03 22:13 +0100, [EMAIL PROTECTED] wrote:
 Seeing that here too sometimes.  It seems that the app that used 
 the DRI doesn't fully release it, so that when X restarts it sees 
 the DRI as being occupied, and is unable to use it.  It looks like 
 a bug -- either in the app, X, or the radeon driver.

I don't think it's an application bug. I just made an experiment:
rebooted, logged in, ran ONLY glxinfo through grep (plus a few
applications that get launched through my X initialization file, none
of which make any use of OpenGL at all that I am aware of), logged
off, back on, and the same glxinfo again. Still, the second time
around I only get software rendering.

So if it is a bug, it's most likely not in any application that
utilizes OpenGL at least.
 
-- 
Michael Kjörling, [EMAIL PROTECTED] - http://michael.kjorling.com/
* . No bird soars too high if he soars with his own wings . *
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments *
* PGP/GnuPG encrypted e-mail preferred * OpenPGP key ID: 0xBDE9ADA6 *


pgpiE5YIIQ52D.pgp
Description: PGP signature


[gentoo-user] Re: Better than equery list|grep something

2006-02-03 Thread Harry Putnam
Andrei Slavoiu wrote:
 `equery list package` does the same thing

Thomas Kirchner [EMAIL PROTECTED] writes:
 You can do equery list package name to get a list of installed 

Ahh, knew it was something sort of obvious but couldn't get it right.
Thanks posters

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: VMware and cpu_states on Dell 9300

2006-02-03 Thread Harry Putnam
Michael W. Holdeman [EMAIL PROTECTED] writes:

 I named it vmware_script and placed it in /etc/vmware, and execute
 it to run vmware. It works great as long as I execute as root :
 chmod o+w /sys/module/processor/parameters/max_cstate So that as a
 user you can execute the max_cstate command.

 This works but whenever you boot the laptop you have to su to root
 and execute teh chmod again or the state will not be enforced and
 vmware is deathly slow.

There may be better ways but one would be to put it in
/etc/conf.d/local.start

and put that into the init setup with 
  rc-update add local default

Be sure to put a  after the command or it will hang up boot process. 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gnome upgrade removed Open Terminal from right click

2006-02-03 Thread Stroller


On 3 Feb 2006, at 23:18, Mark Knecht wrote:


Yeah, I keep a terminal launch button available on the gnome-panel but
I'm very used to right clicking and choosign the first one without
looking. Now I'm getting lots of new folder on my desktop and no
terminals!


Maybe the Gnome developers decided the typical user wouldn't want  
to do this and decided that they'd remove it because it was confusing  
little old ladies. Have we had a flamewar about KDE vs Gnome  
recently?  ;P


Stroller.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gnome upgrade removed Open Terminal from right click

2006-02-03 Thread Mark Knecht
On 2/3/06, Stroller [EMAIL PROTECTED] wrote:

 On 3 Feb 2006, at 23:18, Mark Knecht wrote:
 
  Yeah, I keep a terminal launch button available on the gnome-panel but
  I'm very used to right clicking and choosign the first one without
  looking. Now I'm getting lots of new folder on my desktop and no
  terminals!

 Maybe the Gnome developers decided the typical user wouldn't want
 to do this and decided that they'd remove it because it was confusing
 little old ladies. Have we had a flamewar about KDE vs Gnome
 recently?  ;P

 Stroller.

LOL! Yeah, that's true!

As an aside - if it's really a code change I wonder where to look to
put it back in?

Still chuckling,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: What trouble am I creating by commenting entries in [...]/packag.mask

2006-02-03 Thread gentoo-user

Harry Putnam wrote:


The reason has been posted in a few messages in this thread or at

least in my initial post; from /usr/portage/package.mask:

# Donnie Berkholz [EMAIL PROTECTED] (07 Aug 2005)
# Modularized X, upstream release candidates

And a quite long string of package names follow including xvidtune

I'm apparently using the wrong command to try to learn the
dependancies.

 root # equery depends  x11-apps/xvidtune
 [ Searching for packages depending on x11-apps/xvidtune... ]

No help there.

 


Hello Harry,

the developers are currently in the process of switching to a modular X 
server. This is a big change which is known to break stuff.

You should, however, be fine as long as you do use stable packages.

See also the latest Gentoo Newsletter at
http://www.gentoo.org/news/en/gwn/20060130-newsletter.xml which also 
contains a migration guide.


Editing files under /usr/portage is Not What You Want To Do (TM). The 
changes will be destroyed the next time you do emerge --sync. Rather 
go to /etc/portage and create package.mask/.use/.keywords...


Hope I could be of help.

Johnny

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: What trouble am I creating by commenting entries in [...]/packag.mask

2006-02-03 Thread Harry Putnam
[EMAIL PROTECTED] writes:

 the developers are currently in the process of switching to a modular
 X server. This is a big change which is known to break stuff.
 You should, however, be fine as long as you do use stable packages.

 See also the latest Gentoo Newsletter at
 http://www.gentoo.org/news/en/gwn/20060130-newsletter.xml which also
 contains a migration guide.

Thanks.. that explains things quite a lot... I guess I'm not really
ready to `migrate'.  Looks like a lot of work.  Its spelled out how to
do it but complicated enough for me to really botch things up.

All I really wanted was to run xvidtune.  Seems pretty extreme to go
thru the whole mess described there for that.  I reasonably certain
threre is plenty of room in that process to make a mess and end up
pulling hair for a week.

Maybe there is another tool that can do what xvidtune does?  Far as I
know it is the only thing that will show you the actual resolution of
your display.  `xwininfo' and `xdypinfo' do NOT do that.

They show the desktop size which in my case is (virtual) 2048x1536.
The actual res thru my view port is something quite different.

xvidtune knows about all that and reports whats really going on.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Viewing SVG/SVGZ files.

2006-02-03 Thread Willie Wong
On Fri, Feb 03, 2006 at 12:52:25PM +0530, Penguin Lover Abhay Kedia squawked:
 I am using eog-2.12.2. I did not have mime-types installed thus 
 no /etc/mime.types. Now, I have emerged it but have a different problem 
 in Firefox. When I try to open svgz files it shows the following error
 --
 XML Parsing Error: not well-formed
 Location: file:///foo.svgz
 Line Number 1, Column 1:
 --
 eog doesn't change its behaviour and sits there as I explained earlier.
 
 Thanks for the ksvg idea and will be reall greatful if firefox worked as well.
 

hum... okay. I am not that familiar with eog, so can't really help
more with it. 

For firefox, I just found the following tidbit:

http://www.mail-archive.com/svg-developers@yahoogroups.com/msg07375.html

basically, svgz should be gzip'd svg files. For some reason, Firefox
cannot deal with local svgz files, but can display it when served the
correct HTTP headers from a webserver. This would explain why it
worked on my box (because I only looked at svg files on the web). 

Which means, possibly, that if you have a webserver (Apache) set up on
your box, you might be able to look at the svgz files by serving it
via http://localhost/file.svgz?

Best, 

W
-- 
It's essentially like you're pledging the physics department.
~DeathMech, Some Student. P-town PHY 205
Sortir en Pantoufles: up 83 days, 17:53
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: What trouble am I creating by commenting entries in [...]/packag.mask

2006-02-03 Thread Willie Wong
On Fri, Feb 03, 2006 at 05:13:58PM -0600, Penguin Lover Harry Putnam squawked:
 And a quite long string of package names follow including xvidtune
 
 I'm apparently using the wrong command to try to learn the
 dependancies.
 
   root # equery depends  x11-apps/xvidtune
   [ Searching for packages depending on x11-apps/xvidtune... ]
 

equery depends xvidtune  shows the packages depending on xvidtune. 
To show the packages xvidtune depends on, use

  equery depgraph xvidtune

Best, 

W
-- 
(04:01:59) W: yep
(04:02:02) W: I love linux
(04:02:15) NJYWT: I love penguins
Sortir en Pantoufles: up 83 days, 18:12
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Viewing SVG/SVGZ files.

2006-02-03 Thread Abhay Kedia
On Saturday 04 February 2006 07:05, Willie Wong wrote:

 For firefox, I just found the following tidbit:

 http://www.mail-archive.com/svg-developers@yahoogroups.com/msg07375.html

 basically, svgz should be gzip'd svg files. For some reason, Firefox
 cannot deal with local svgz files, but can display it when served the
 correct HTTP headers from a webserver. This would explain why it
 worked on my box (because I only looked at svg files on the web).

 Which means, possibly, that if you have a webserver (Apache) set up on
 your box, you might be able to look at the svgz files by serving it
 via http://localhost/file.svgz?

Ah...too bad. Well, I don't have a web server so I guess I'll have to just 
live with it for a time being. Thanks for looking into the problem :)
-- 
Regards,
Abhay


pgpUdVl5OOI8P.pgp
Description: PGP signature


[gentoo-user] Re: What trouble am I creating by commenting entries in [...]/packag.mask

2006-02-03 Thread Harry Putnam
Willie Wong [EMAIL PROTECTED] writes:

 On Fri, Feb 03, 2006 at 05:13:58PM -0600, Penguin Lover Harry Putnam squawked:
 And a quite long string of package names follow including xvidtune
 
 I'm apparently using the wrong command to try to learn the
 dependancies.
 
   root # equery depends  x11-apps/xvidtune
   [ Searching for packages depending on x11-apps/xvidtune... ]
 

 equery depends xvidtune  shows the packages depending on xvidtune. 
 To show the packages xvidtune depends on, use

   equery depgraph xvidtune

root # equery depgraph  x11-apps/xvidtune
[ Searching for packages matching x11-apps/xvidtune... ]

Thats why I didn't post it... neither show poop but any attempt to
install will show dependancy after dependancy as you add them to the
unmask file, till you puke.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: What trouble am I creating by commenting entries in [...]/packag.mask

2006-02-03 Thread Nick Rout
On Fri, 03 Feb 2006 18:30:35 -0600
Harry Putnam [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED] writes:
 
  the developers are currently in the process of switching to a modular
  X server. This is a big change which is known to break stuff.
  You should, however, be fine as long as you do use stable packages.
 
  See also the latest Gentoo Newsletter at
  http://www.gentoo.org/news/en/gwn/20060130-newsletter.xml which also
  contains a migration guide.
 
 Thanks.. that explains things quite a lot... I guess I'm not really
 ready to `migrate'.  Looks like a lot of work.  Its spelled out how to
 do it but complicated enough for me to really botch things up.
 
 All I really wanted was to run xvidtune.  Seems pretty extreme to go
 thru the whole mess described there for that.  I reasonably certain
 threre is plenty of room in that process to make a mess and end up
 pulling hair for a week.
 
 Maybe there is another tool that can do what xvidtune does?  Far as I
 know it is the only thing that will show you the actual resolution of
 your display.  `xwininfo' and `xdypinfo' do NOT do that.
 
 They show the desktop size which in my case is (virtual) 2048x1536.
 The actual res thru my view port is something quite different.
 
 xvidtune knows about all that and reports whats really going on.

xvidtune is part or xorg-x11.

If you have the older style, stable xorg installed you already have
xvidtune:

[EMAIL PROTECTED] ~/media/torrents $ qpkg -f /usr/bin/xvidtune
x11-base/xorg-x11 *



 
 -- 
 gentoo-user@gentoo.org mailing list
 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerging UT2004

2006-02-03 Thread Steve B.
On Friday 03 February 2006 23:06, fire-eyes wrote:
 Steve B. wrote:
  Hey everybody,
 
This is kind of stupid problem, but I just can't seem to figure this
  one out.  I can't emerge UT2004.  I set my CD_ROOT to my cdrom
  (/media/hdc) and the first CD copies fine, but it never gives me time to
  umount and mount the second CD.  It simply tries (and thinks it has
  success) on the rest of the CD's but I know that it just copied the data
  from CD1 six times.
 
  This is the first time I have ever tried to install a game from CD on
  linux, so any help would be appreciated.  Thanks.

 Unfortunately, the ebuild for ut2004 is very brain dead about that.
 Curiously, it USED to do exactly what you said: let you swap CD's.

 The only way I figured out how to accomplish the install from CD's was
 to copy every single CD to the hard disk, which obviously takes up a lot
 of space and time.

 Like so:

 rsync -aP /mnt/cdrom 1
 rsync -aP /mnt/cdrom 2

 And so on through 6. 6 is the disk labeled install disk, I think. Then
 set CD_ROOT_1=/full/path/to/1 CD_ROOT_2=/full/path/to/2 CD_ROOT_
 emerge ut2004

 Feel free to use cp, i prefer to use rsync.

 The next problem you will run into (or it might come before you even get
 to the CD's, i forget) is that portage will try to download various
 large files from 3dgamers mirrors. Almost all of which time out or are
 unreachable, or uselessly slow. I've found that I have to go to google
 and look for the filename, find it somewhere else, save it to
 /usr/portage/distfiles and home the md5sums match. Make sure the
 filename is as portage expects it too, including case.

 There are bugs open about all of these issues, but they just haven't
 been solved yet.

 ut2004 is one of the most irritating peices of software to install on
 gentoo, especially from CD's, thanks to all of this.
Thanks! I got everything working now.  But that was a pain in the rear.  
Somebody should really update the ebuild in portage.
-- 
gentoo-user@gentoo.org mailing list