Re: [gentoo-user] Samsung 971p

2007-08-16 Thread Aleksey V. Kunitskiy
On Thursday 16 August 2007, Danis Petkakis wrote:
 hi there...i'm thinking of buying the tft monitor mentioned in the subject
 of this topic and i would like to know how it comprehends with gentoo...i'm
 a little confused because the monitor doesn't have any switches to control
 it rather Samsung gives a software called magictune to do all of the
 controlling...so my question is will i be able to work with this monitor in
 my gentoo and if so how will i be able to control the brightness/contrast
 and the other feautures?? thanks for any response...

Hi,

I have two Samsung 971p monitors plugged via two DVI ports in xinerama mode. 
They work best for me. If you want to tune them under linux you can use 
ddccontrol [1], which is also in portage (note: 971p seem to be only in the 
latest ddc database, so if you'll not find this model there - try to unmask 
packages related to the ddccontrol)

[1] http://ddccontrol.sourceforge.net/

good luck

-- 
best regards,
Aleksey V. Kunitskiy
my public GPG/PGP key: http://www.alexey-kv.org.ua/pubkey.asc


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


[gentoo-user] Re: phpMyAdmin

2007-08-16 Thread Thufir
On Wed, 15 Aug 2007 19:55:24 +0200, Hans-Werner Hilse wrote:


 If those files you see actually are the phpMyAdmin files: Web server not
 properly configured to search for an index.php? Or no PHP at all?

When I go to http://localhost/phpmyadmin/ I get a directory listing.  
One of the files is:

?php
/* $Id: phpinfo.php 7853 2005-11-22 11:58:37Z cybot_tm $ */
// vim: expandtab sw=4 ts=4 sts=4:


/**
 * Gets core libraries and defines some variables
 */
define( 'PMA_MINIMUM_COMMON', true );
require_once('./libraries/common.lib.php');


/**
 * Displays PHP information
 */
if ( $GLOBALS['cfg']['ShowPhpInfo'] ) {
phpinfo();
}
?


http://localhost/phpmyadmin/phpinfo.php which apache2 apparently is 
treating as a text file.


Apparently I'm not alone in not finding gentoo documentation on this, as 
I did come across:

What I hadn't noticed when I emerged phpmyadmin, and none of the 
documentation I had read had told me, was there is a script installed by 
phpmyadmin located at:
/usr/share/webapps/phpmyadmin/2.7.0_p1/sqlscripts/
mysql/2.7.0_p1_create.sql
that needs to be run to setup a database for phpmyadmin.

http://groups.google.com/group/linux.gentoo.user/msg/236092fa01647151?
dmode=source


But:

localhost ~ # 
localhost ~ # ll /usr/share/webapps/phpmyadmin/2.10.1/sqlscripts/
total 0
localhost ~ # 
localhost ~ # date
Thu Aug 16 00:44:45 PDT 2007
localhost ~ # 
localhost ~ # 


For some reason Apache2 isn't running php?



-Thufir

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] CXXABI error after gcc upgrade

2007-08-16 Thread Iain Buchanan
On Wed, 2007-08-15 at 16:41 +0200, Volker Armin Hemmann wrote:

 why not just rm -r /usr/lib/gcc/x86-pc-linux-gnu/3.4.6
 ?

because I want to keep gcc 3.4.6!
-- 
Iain Buchanan iaindb at netspace dot net dot au

* JHM wonders what Joey did to earn I'd just like to say, for the record,
  that Joey rules.
-- Seen on #Debian

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Samsung 971p

2007-08-16 Thread Danis Petkakis
thanks to both of you for your answers...they were a great help to me and i
think now i can proceed on buying the monitor without any more hesitations.
If i have any further problems/questions after i have bought the monitor i
will
post back.is there any other software other than ddccontrol which would help

me control the monitor or is ddccontrol all i need?? thanks...

On 16/08/07, Aleksey V. Kunitskiy [EMAIL PROTECTED] wrote:

 On Thursday 16 August 2007, Danis Petkakis wrote:
  hi there...i'm thinking of buying the tft monitor mentioned in the
 subject
  of this topic and i would like to know how it comprehends with
 gentoo...i'm
  a little confused because the monitor doesn't have any switches to
 control
  it rather Samsung gives a software called magictune to do all of the
  controlling...so my question is will i be able to work with this monitor
 in
  my gentoo and if so how will i be able to control the
 brightness/contrast
  and the other feautures?? thanks for any response...

 Hi,

 I have two Samsung 971p monitors plugged via two DVI ports in xinerama
 mode.
 They work best for me. If you want to tune them under linux you can use
 ddccontrol [1], which is also in portage (note: 971p seem to be only in
 the
 latest ddc database, so if you'll not find this model there - try to
 unmask
 packages related to the ddccontrol)

 [1] http://ddccontrol.sourceforge.net/

 good luck

 --
 best regards,
 Aleksey V. Kunitskiy
 my public GPG/PGP key: http://www.alexey-kv.org.ua/pubkey.asc




[gentoo-user] Re: phpMyAdmin

2007-08-16 Thread Thufir
It seems that Apache needs configuration?  specifically the 
documentroot?  Is that required?


localhost ~ # 
localhost ~ # 
localhost ~ # 
localhost ~ # cat /etc/apache2/vhosts.d/00_default_vhost.conf 
### Section 3: Virtual Hosts
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most 
configurations
# use only name-based virtual hosts so the server doesn't need to worry 
about
# IP addresses. This is indicated by the asterisks in the directives 
below.
#
# Please see the documentation at 
# URL:http://httpd.apache.org/docs-2.0/vhosts/
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# Use name-based virtual hosting.
#
NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#VirtualHost *:80
#ServerAdmin [EMAIL PROTECTED]
#DocumentRoot /www/docs/dummy-host.example.com
#ServerName dummy-host.example.com
#ErrorLog @rel_logfiledir@/dummy-host.example.com-error_log
#CustomLog @rel_logfiledir@/dummy-host.example.com-access_log common
#/VirtualHost

#
# The First Virtual Host is also your DEFAULT Virtual Host.
# This means any requests that do not match any other vhosts will 
# goto this virtual host.
#

IfDefine DEFAULT_VHOST
VirtualHost *:80
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, 
but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot /var/www/localhost/htdocs

#
# This should be changed to whatever you set DocumentRoot to.
#
Directory /var/www/localhost/htdocs

#
# Possible values for the Options directive are None, All,
# or any combination of:
#   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI 
MultiViews
#
# Note that MultiViews must be named *explicitly* --- Options 
All
# doesn't give it to you.
#
# The Options directive is both complicated and important.  
Please see
# http://httpd.apache.org/docs-2.0/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks

#
# AllowOverride controls what directives may be placed 
in .htaccess files.
# It can be All, None, or any combination of the keywords:
#   Options FileInfo AuthConfig Limit
#
AllowOverride None

#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
/Directory

IfModule peruser.c
# this must match a Processor
ServerEnvironment apache apache

# these are optional - defaults to the values specified in 
httpd.conf
MinSpareProcessors 4
MaxProcessors 20
/IfModule

IfModule itk.c
# The userid and groupid this VirtualHost will run as
AssignUserID apache apache

# Optional: A separate MaxClients for the VirtualHost,
# to limit the maximum number of processes
MaxClientsVHost 50

# Note that if you do not assign a user ID for your
# VirtualHosts, none will be assigned by default,
# ie. you'll run as root. Don't forget this!
/IfModule
/VirtualHost
/IfDefine
localhost ~ # 
localhost ~ # cat /var/log/apache2/error_log 
[Wed Aug 01 13:40:55 2007] [notice] suEXEC mechanism enabled (wrapper: /
usr/sbin/suexec2)
[Wed Aug 01 13:40:55 2007] [notice] Digest: generating secret for digest 
authentication ...
[Wed Aug 01 13:40:55 2007] [notice] Digest: done
[Wed Aug 01 13:40:55 2007] [notice] Apache configured -- resuming normal 
operations
[Wed Aug 01 13:41:48 2007] [error] [client 127.0.0.1] File does not 
exist: /var/www/localhost/htdocs/phpMyAdmin
[Wed Aug 01 13:46:46 2007] [error] [client 127.0.0.1] File does not 
exist: /var/www/localhost/htdocs/phpMyAdmin
[Wed Aug 01 14:20:06 2007] [notice] caught SIGTERM, shutting down
[Wed Aug 15 01:49:03 2007] [notice] suEXEC mechanism enabled (wrapper: /
usr/sbin/suexec2)
[Wed Aug 15 01:49:03 2007] [notice] Digest: generating secret for digest 
authentication ...
[Wed Aug 15 01:49:03 2007] [notice] Digest: done
[Wed Aug 15 01:49:03 2007] [notice] Apache configured -- resuming normal 
operations
[Wed Aug 15 01:50:06 2007] [error] [client 127.0.0.1] File does not 
exist: /var/www/localhost/htdocs/phpMyAdmin
[Wed Aug 15 01:52:49 2007] [error] [client 127.0.0.1] File does not 
exist: /var/www/localhost/htdocs/phpMyAdmin
[Wed Aug 15 01:52:58 2007] [error] [client 127.0.0.1] File does not 
exist: /var/www/localhost/htdocs/PHPMyAdmin
[Wed Aug 15 01:57:55 2007] [error] [client 127.0.0.1] File does not 
exist: /var/www/localhost/htdocs/phpMyAdmin, 

Re: [gentoo-user] Samsung 971p

2007-08-16 Thread Aleksey V. Kunitskiy
On Thursday 16 August 2007, Danis Petkakis wrote:
 post back.is there any other software other than ddccontrol which would
 help

 me control the monitor or is ddccontrol all i need?? thanks...

That is all you need. Except that you need color calibration or smth similar - 
you need software that shows you color tuning table, etc.
In other words ddccontrol only allows you to change all of monitor parameters 
that are present in your model, it does not provide any test tools.

-- 
best regards,
Aleksey V. Kunitskiy
my public GPG/PGP key: http://www.alexey-kv.org.ua/pubkey.asc


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


Re: [gentoo-user] Re: phpMyAdmin

2007-08-16 Thread Hans-Werner Hilse
Hi,

On Thu, 16 Aug 2007 08:24:10 + (UTC) Thufir
[EMAIL PROTECTED] wrote:

 It seems that Apache needs configuration?  specifically the 
 documentroot?  Is that required?

No, in that case you wouldn't even see the directory listing. Your
probably just not running the PHP module. Check
your /etc/conf.d/apache2 and set APACHE2_OPTS accordingly (i.e. add 
-D PHP4 or -D PHP5).

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] pendrive mounting problem

2007-08-16 Thread Hans-Werner Hilse
Hi,

On Wed, 15 Aug 2007 17:45:59 -0400 Matthew R. Lee
[EMAIL PROTECTED] wrote:

 trying to mount it from the command line didn't work, here's the
 output from dmesg

Hm, did you really use -t vfat? Your kernel log has other filesystems
complaining after the FAT errors...

 Unable to identify CD-ROM format.
 Unable to load NLS charset cp437
 FAT: codepage cp437 not found
 NTFS-fs warning (device sdb1): is_boot_sector_ntfs(): Invalid boot
 sector checksum.
 NTFS-fs error (device sdb1): read_ntfs_boot_sector(): Primary boot
 sector is invalid.
 NTFS-fs error (device sdb1): read_ntfs_boot_sector(): Mount option 
 errors=recover not used. Aborting without trying to recover.
 NTFS-fs error (device sdb1): ntfs_fill_super(): Not an NTFS volume.
 VFS: Can't find ext3 filesystem on dev sdb1.
 VFS: Can't find an ext2 filesystem on dev sdb1.

It really looks like the autofs-mount sequence. The last error is not a
FAT error.

Please give us the output of 
grep NLS /lib/modules/$(uname -r)/source/.config in order to verify
that you really have cp437 support compiled into your kernel.

-hwh
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] gentoo-portage.com gentoo-wiki.com

2007-08-16 Thread Aleksey V. Kunitskiy
Hi,
Anybody knows what is going on there?

-- 
best regards,
Aleksey V. Kunitskiy
my public GPG/PGP key: http://www.alexey-kv.org.ua/pubkey.asc


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


[gentoo-user] Re: gentoo-portage.com gentoo-wiki.com

2007-08-16 Thread Alexander Skwar
Aleksey V. Kunitskiy [EMAIL PROTECTED] wrote:

 Hi,
 Anybody knows what is going on there?

Their mysql server is down. I bet, it's because too many people
used these sites, while the official sites are down.

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] fstab question

2007-08-16 Thread Alex Schuster
Colleen Beamer writes:

 I have a usb external hard drive attached to my computer.  It's an
 Iomega and has a power switch.  In fstab it is /dev/sdc1 and /dev/sdc2
 because I've configured it to have two ext3 partitions.  If the drive
 is not powered on when I boot and then, I turn it on, I have to reboot
 to get fstab to recognize it.  That has always sort of irked me, but I
 dealt with it because the drive holds only my music files.

What I do is to build SCSI as modules into the kernel. When I turn on a 
SCSI device, I remove the module and modprobe it again. For my adaptec 
controller:
modprobe -r aic7xxx  modprobe aic7xxx

However, this works only if removing the module is possible. If you have a 
mounted file system on a SCSI drive, this will not work.

If there is an easier solution, I'd be interested to hear about it.

 The wrinkle is that my son bought me a usbstick.  I can mount it just
 fine.  However, if my usb external hard drive is not powered on on
 boot, the stick is recognized at sdc1.  If the usb drive is powered on
 then, the stick is recognized as sdd1.  So, this means that if I want
 to use one or the other or both, I keep having to change fstab.  Is
 there a way I can set the device to always be the same - i.e.  I always
 want the usb external drive to be sdc1 and sdc2 and the usb stick to be
 sdd1.

I let udev manage this, so I get a /dev/stick and /dev/externhd. Or I just 
use KDE which opens a window with the contens of the drive/stick. But 
others already wrote more about that in detail.

 I know!  I only want the world.  If there isn't a way that this can be
 done, then I'll live with the situation.  It's not earth shattering!

Oh yes it is!

Wonko
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: phpMyAdmin

2007-08-16 Thread Abraham Marín Pérez

Hans-Werner Hilse escribió:

Hi,

On Thu, 16 Aug 2007 08:24:10 + (UTC) Thufir
[EMAIL PROTECTED] wrote:

  
It seems that Apache needs configuration?  specifically the 
documentroot?  Is that required?



No, in that case you wouldn't even see the directory listing. Your
probably just not running the PHP module. Check
your /etc/conf.d/apache2 and set APACHE2_OPTS accordingly (i.e. add 
-D PHP4 or -D PHP5).


-hwh
  

Which is precisely explained in:

http://www.gentoo.org/doc/en/apache-troubleshooting.xml#doc_chap2

Checking Gentoo docs is not a bad thing ;-)

Abraham

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Merlin XU870

2007-08-16 Thread Florian Philipp
Am Mittwoch 15 August 2007 21:07:49 schrieb Michael Gisbers:
 Am Mittwoch 15 August 2007 schrieb Florian Philipp:
  Okay, I've found option.ko and airprime.ko. tail -f /var/log/messages
  still doesn't output anything. Might that be a configuration issue
  (syslog-ng? kernel?)?

 Which kernel do you use?

suspend2-2.6.22-r1

I fact, this machine NEVER produced any output to /var/log/messages. It's 
completely empty. Its only content is the gzip-header when logrotate 
compresses the empty file once a week.


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


[gentoo-user] Open Office wants to speak to me in Greek!

2007-08-16 Thread Randy Barlow
I have an odd problem with Open Office: all the menus and dialogs from
Open Office are using Greek character sets and not the usual ones.  I
can read them since I know most of the Greek characters, but this
doesn't come easy :)  Here is a screen shot:

http://electronsweatshop.com/oo.jpg

As you can see, the menus at the top of OO in the background are in
Greek, and the Options menu is also in Greek.  I believe this happened
during an upgrade sometime over the summer, but I can't be sure of when
because honestly I haven't used Open Office on this machine in a long
while (2 or 3 months).

Another odd tidbit is that I have another machine that runs OO just
fine.  The only real difference is software setup between the two
machines is that on the problematic one I use Gnome, and on the other I
use KDE.  I do not find this problem in any of my other applications
though, so I doubt that is relevant.  Any tips?

-- 
Randy Barlow
http://electronsweatshop.com

But you are a chosen race, a royal priesthood, a holy nation, a people
for his own possession, that you may proclaim the excellencies of him
who called you out of darkness into his marvelous light. Once you were
not a people, but now you are God's people; once you had not received
mercy, but now you have received mercy. ~1 Peter 2:9-10

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Open Office wants to speak to me in Greek!

2007-08-16 Thread Aleksey V. Kunitskiy
On Thursday 16 August 2007, Randy Barlow wrote:
 I have an odd problem with Open Office: all the menus and dialogs from
 Open Office are using Greek character sets and not the usual ones.  I
 can read them since I know most of the Greek characters, but this
 doesn't come easy :)  Here is a screen shot:

Try to change fonts in the KDE Control Center from Standard Symbols to another 
one.

I had this problem with that font and I solved this problem that way

-- 
best regards,
Aleksey V. Kunitskiy
my public GPG/PGP key: http://www.alexey-kv.org.ua/pubkey.asc


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


Re: [gentoo-user] Open Office wants to speak to me in Greek!

2007-08-16 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Randy Barlow wrote:
 Another odd tidbit is that I have another machine that runs OO just
 fine.  The only real difference is software setup between the two
 machines is that on the problematic one I use Gnome, and on the other I
 use KDE.  I do not find this problem in any of my other applications
 though, so I doubt that is relevant.  Any tips?

I always had lots of issues regarding how OpenOffice deals with locales, fonts, 
etc.

I'd recommend that you open up a terminal, check out your environment (env, 
set, export, etc),
adjust whatever you find necessary, and start oowriter from there.

- --
Arturo Buanzo Busleiman - Consultor Independiente en Seguridad Informatica
*ESTE SABADO 18/Ago* SHOW DE FUTURABANDA (Punk Libre)- Sarmiento 1679 CapFed
Entradas anticipadas a traves de www.futurabanda.com.ar - Punk Rock Melodico
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGxEIYAlpOsGhXcE0RCoHVAJ9msluCrfj3uST3U/+5vcyr8MSXwgCggoc4
JiDqA62+nj9UOf/eGrYoFpA=
=BPVo
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] fstab question

2007-08-16 Thread Stroller


On 16 Aug 2007, at 03:49, Colleen Beamer wrote:

... In fstab it is /dev/sdc1 and /dev/sdc2
because I've configured it to have two ext3 partitions.  If the  
drive is

not powered on when I boot and then, I turn it on, I have to reboot to
get fstab to recognize it.


No, you don't have to. `sudo mount -va`

As others have suggested, use udev. You can use this not only for the  
thumb drive but also for the Iomega one - remove that from fstab.


Stroller.

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Minefield on Gentoo

2007-08-16 Thread Bruno Lustosa
Hello, list.

Is anyone here using Minefield (aka Firefox 3) on Gentoo?
I'm trying to use it, but some sites have been showing nasty font
problems. For example, if I try to open slashdot.org, no fonts are
shown.
The reason I'm asking it in this list is because I have the exact same
Minefiend version on my home computer (running Ubuntu), and it doesn't
show any problems at all. Also, as slashdot is a really high profile
site, I wouldn't expect a problem like this to stay for over a month.
I tried reinstalling my Gentoo box, but same problem happens. Tried to
switch video card also (onboard geforce to an external riva - both
running the nv driver), but it doesn't help a bit.
Firefox 2 opens sites normally, so I don't think this is a X or font
problem. In fact, if I highlight the invisible text with the mouse,
sometimes it appears. It's very very weird.
So.. if someone is able to run Minefield (and open slashdot), could
you please just tell me what's your box configuration?

Thanks

-- 
Bruno Lustosa [EMAIL PROTECTED]
http://www.lustosa.net/
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] new gnome fails except for root

2007-08-16 Thread Allan Gottlieb
At Wed, 15 Aug 2007 03:00:17 -0400 Dan Cowsill [EMAIL PROTECTED] wrote:

 On 8/14/07, Allan Gottlieb [EMAIL PROTECTED] wrote:
 At Tue, 14 Aug 2007 10:49:56 -0400 Dan Cowsill [EMAIL PROTECTED] wrote:

  An interesting development:  I removed my user from the system and
  deleted his home folder.  After that, I made the user again and tried
  logging in.  I got a whole bunch of configuration errors...  But I
  don't understand how this could be.  I created ANOTHER user with a
  different name and logged in...  perfectly.  Everything seems to work
  with this user, and nothing seems to work with my user.
 
  Are user-based settings stored in some other place?

 I created a new user testgot with the same uid as gottlieb
 and it works.  There must be something in my config (and yours) that
 is bad for the old user.

 I can balance my checkbook with the new user so the panic is gone, but
 something needs to be fixed somewhere.

 allan
 --
 [EMAIL PROTECTED] mailing list



 Well, that's interesting because my test user has a different uid than
 my original...

I used the same uid so that permissions would be the same (e.g. both
users are in the same groups).  I would presumably permit my new user
to actually work on the real user's files (specifically, gnucash and
evolution calendar), but I am not brave enough to try.  So I copied
the files to the new user and work there.

allan
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Minefield on Gentoo

2007-08-16 Thread Kenneth Prugh
Bruno Lustosa wrote:
 Hello, list.
 
 Is anyone here using Minefield (aka Firefox 3) on Gentoo?
 I'm trying to use it, but some sites have been showing nasty font
 problems. For example, if I try to open slashdot.org, no fonts are
 shown.
 The reason I'm asking it in this list is because I have the exact same
 Minefiend version on my home computer (running Ubuntu), and it doesn't
 show any problems at all. Also, as slashdot is a really high profile
 site, I wouldn't expect a problem like this to stay for over a month.
 I tried reinstalling my Gentoo box, but same problem happens. Tried to
 switch video card also (onboard geforce to an external riva - both
 running the nv driver), but it doesn't help a bit.
 Firefox 2 opens sites normally, so I don't think this is a X or font
 problem. In fact, if I highlight the invisible text with the mouse,
 sometimes it appears. It's very very weird.
 So.. if someone is able to run Minefield (and open slashdot), could
 you please just tell me what's your box configuration?
 
 Thanks
 

I run Minefield here flawlessly from the Mozilla overlay 
https://forums.gentoo.org/viewtopic-t-556225.html . Are you using the
exact same cvs snapshot on both boxes? In either case, if your not using
that overlay I definitely recommend you do. I've had no problems.

-- 
Kenneth Prugh - Ken69267
Gentoo AMD64 Arch Tester



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Minefield on Gentoo

2007-08-16 Thread Bruno Lustosa
On 8/16/07, Kenneth Prugh [EMAIL PROTECTED] wrote:
 I run Minefield here flawlessly from the Mozilla overlay 
 https://forums.gentoo.org/viewtopic-t-556225.html . Are you using the
 exact same cvs snapshot on both boxes? In either case, if your not using
 that overlay I definitely recommend you do. I've had no problems.

Thanks, I'll try the ebuild as soon as I get subversion installed. I'm
still in the middle of compiling gnome stuff.
I was running Minefield directly from my home dir. I just downloaded
the tar.bz2 from the nightly directory, unpacked and it was all set.
From about a month back, it started with these font problems. What
video card and driver are you using?
Thanks!!

-- 
Bruno Lustosa [EMAIL PROTECTED]
http://www.lustosa.net/
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Minefield on Gentoo

2007-08-16 Thread Kenneth Prugh
Bruno Lustosa wrote:
snip
From about a month back, it started with these font problems. What
 video card and driver are you using?
 Thanks!!
 

I'm using Minefield with a NVIDIA 7950GTO with
x11-drivers/nvidia-drivers-100.14.11 on this machine.

I also have Minefield working (although its slow) on an old powerbook
with a ATI Mobility Radeon 9700. I'm not sure of the driver, I believe
it's X11's included radeon driver.

-- 
Kenneth Prugh - Ken69267
Gentoo AMD64 Arch Tester



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Minefield on Gentoo

2007-08-16 Thread Bruno Lustosa
On 8/16/07, Kenneth Prugh [EMAIL PROTECTED] wrote:
 I'm using Minefield with a NVIDIA 7950GTO with
 x11-drivers/nvidia-drivers-100.14.11 on this machine.

Damn... I just tried the same version (package downloaded from
ftp.mozilla.org) on another machine with nvidia's binary driver, and
still the same issues. Slashdot doesn't render, and I can't see source
code (ctrl-u), all fonts are blank.
As soon as I finish gnome, I'll emerge subversion and try the ebuild
and post the results. This is getting very very annoying :/
Thanks again

-- 
Bruno Lustosa [EMAIL PROTECTED]
http://www.lustosa.net/
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] I can not burn

2007-08-16 Thread Florian Philipp
As it seems, non of my Gentoos can burn CDs anymore. 

On my laptop I try to use Graveman. As soon as I start the burning process the 
CPU usage reaches 100% with 80% cdrecord and 20% Graveman while the drive 
does not even spin up and the percentage indicator stays at 0%.

On my desktop I tried K3B which didn't perform any better. The only thing that 
happens is that it consumes more and more memory. When aborting K3B tells me 
that it can't unlock the drive. 

Permissions seem okay, revdep-rebuild doesn't find anything. I didn't test 
DVDs.

Here's K3B's output for analysis:

System
---
K3b Version: 0.12.17

KDE Version: 3.5.7
QT Version:  3.3.8
Kernel:  2.6.21-gentoo-r4
Devices
---
TSSTcorp CD/DVDW SH-S183L SB01 (/dev/sr0, /dev/sg2) at /media/dvd [CD-R; 
CD-RW; CD-Rom; DVD-Rom; DVD-Ram; DVD-R; DVD-RW; 

[...]

Used versions
---
cdrecord: 2.1.1a03

cdrecord
---
scsidev: '2,0,0'
scsibus: 2 target: 0 lun: 0
WARNING: the deprecated pseudo SCSI syntax found as device specification.
Support for that may cease in the future versions of wodim. For now, the 
device will be mapped to a block device file where possible.
Run wodim --devices for details.
Unable to open this SCSI ID. Trying to map to old ATA syntax.This workaround 
will disappear in the near future. Fix your configuration.Unable to open this 
SCSI ID. Trying to map to old ATA syntax.This workaround will disappear in 
the near future. Fix your configuration.Unable to open this SCSI ID. Trying 
to map to old ATA syntax.

[... This last sequence repeats for 35MB!]

cdrecord command:
---
/usr/bin/cdrecord -v gracetime=2 dev=2,0,0 speed=48 -dao 
driveropts=burnfree -data /home/dsl/big/tmp/KNOPPIX_V5.1.1CD-2007-01-04-DE.iso


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


Re: [gentoo-user] new gnome fails except for root

2007-08-16 Thread Allan Gottlieb
At Wed, 15 Aug 2007 11:43:08 +0200 Markus Schönhaber [EMAIL PROTECTED] wrote:

 Allan Gottlieb schrieb:

 At Wed, 15 Aug 2007 01:27:57 +0200 Markus Schönhaber [EMAIL PROTECTED] 
 wrote:

 Try moving ~/.gconfd out of the way. It helped in my case.
 
 Thanks.  I tried it, but alas no effect.  Same status (.gconfd had
 only the saved-state file).

 Yep, same for me. The difference is, for me, getting rid of it helped.

 If you're still interested in finding out what causes your problems, I'd
 start by moving ~/.gconf out of the way. You'll lose most of your
 settings but if that helps you could move the items from the backup to
 the automatically created new ~/.gconf one by one and eventually spot
 the bad one.
 And there's also ~/.gnome2 that could be screwed up.

I am doing a similar thing in a different way.  Instead of removing
configuration files, I created a new user testgot with the same uid as
gottlieb.  I then copy config files from gottlieb to testgot,
expecting breaking to eventually occur.  So far testgot works much
better than gottlieb even though it has copies of gottlieb's .gconfd,
.gnome, .gnome_private, .gnome2, and .gnome2_private.
I will continue to move more config files and report here when I find
the culprit.

thanks for helping,
allan
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] I can not burn

2007-08-16 Thread Neil Bothwick
On Thu, 16 Aug 2007 17:13:02 +0200, Florian Philipp wrote:

 cdrecord
 ---
 scsidev: '2,0,0'
 scsibus: 2 target: 0 lun: 0
 WARNING: the deprecated pseudo SCSI syntax found as device
   ~~~
 specification. Support for that may cease in the future versions of
 wodim. For now, the device will be mapped to a block device file where
 possible. Run wodim --devices for details.
 Unable to open this SCSI ID. Trying to map to old ATA syntax.This
 workaround will disappear in the near future. Fix your
 configuration.Unable to open this SCSI ID. Trying to map to old ATA
 syntax.This workaround will disappear in the near future. Fix your
 configuration.Unable to open this SCSI ID. Trying to map to old ATA
 syntax.
 
 [... This last sequence repeats for 35MB!]
 
 cdrecord command:
 ---
 /usr/bin/cdrecord -v gracetime=2 dev=2,0,0 speed=48 -dao 
   ~

You are trying to use the old SCSI-emulated method of specifying drives,
which is deprecated in wodim, and has been unnecessary with cdrecord for
years. Use standard /dev/hdN or /dev/cdrom path(s) to your drive(s).


-- 
Neil Bothwick

Octal: (n.) a base-8 counting system designed so that one hand may count
upon the fingers of the other. Thumbs are not used, and the index finger
is reserved for the 'carry.'


signature.asc
Description: PGP signature


Re: [gentoo-user] I can not burn

2007-08-16 Thread Uwe Thiem
On 16 August 2007, Florian Philipp wrote:
 As it seems, non of my Gentoos can burn CDs anymore.

 On my laptop I try to use Graveman. As soon as I start the burning process
 the CPU usage reaches 100% with 80% cdrecord and 20% Graveman while the
 drive does not even spin up and the percentage indicator stays at 0%.

 On my desktop I tried K3B which didn't perform any better. The only thing
 that happens is that it consumes more and more memory. When aborting K3B
 tells me that it can't unlock the drive.

 Permissions seem okay, revdep-rebuild doesn't find anything. I didn't test
 DVDs.

 Here's K3B's output for analysis:

 System
 ---
 K3b Version: 0.12.17

 KDE Version: 3.5.7
 QT Version:  3.3.8
 Kernel:  2.6.21-gentoo-r4
 Devices
 ---
 TSSTcorp CD/DVDW SH-S183L SB01 (/dev/sr0, /dev/sg2) at /media/dvd [CD-R;
 CD-RW; CD-Rom; DVD-Rom; DVD-Ram; DVD-R; DVD-RW;

 [...]

 Used versions
 ---
 cdrecord: 2.1.1a03

 cdrecord
 ---
 scsidev: '2,0,0'
 scsibus: 2 target: 0 lun: 0
 WARNING: the deprecated pseudo SCSI syntax found as device specification.
 Support for that may cease in the future versions of wodim. For now, the
 device will be mapped to a block device file where possible.
 Run wodim --devices for details.
 Unable to open this SCSI ID. Trying to map to old ATA syntax.This
 workaround will disappear in the near future. Fix your configuration.Unable
 to open this SCSI ID. Trying to map to old ATA syntax.This workaround will
 disappear in the near future. Fix your configuration.Unable to open this
 SCSI ID. Trying to map to old ATA syntax.

 [... This last sequence repeats for 35MB!]

Well, it tells you to fix your configuration. ;-)


 cdrecord command:
 ---
 /usr/bin/cdrecord -v gracetime=2 dev=2,0,0 speed=48 -dao
 driveropts=burnfree -data
 /home/dsl/big/tmp/KNOPPIX_V5.1.1CD-2007-01-04-DE.iso

Make that dev=/dev/hdd or whatever your writer is.

Uwe

-- 
Jack Nicholson: My mother never saw the irony in calling me a son of a bitch.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] new gnome fails except for root

2007-08-16 Thread Markus Schönhaber
Allan Gottlieb wrote:

 At Wed, 15 Aug 2007 11:43:08 +0200 Markus Schönhaber [EMAIL PROTECTED] 
 wrote:
 
 Allan Gottlieb schrieb:

 At Wed, 15 Aug 2007 01:27:57 +0200 Markus Schönhaber [EMAIL PROTECTED] 
 wrote:
 Try moving ~/.gconfd out of the way. It helped in my case.
 Thanks.  I tried it, but alas no effect.  Same status (.gconfd had
 only the saved-state file).
 Yep, same for me. The difference is, for me, getting rid of it helped.

Wrong. It seemed to help, but it did so only temporarily.

 If you're still interested in finding out what causes your problems, I'd
 start by moving ~/.gconf out of the way. You'll lose most of your
 settings but if that helps you could move the items from the backup to
 the automatically created new ~/.gconf one by one and eventually spot
 the bad one.
 And there's also ~/.gnome2 that could be screwed up.
 
 I am doing a similar thing in a different way.  Instead of removing
 configuration files, I created a new user testgot with the same uid as
 gottlieb.  I then copy config files from gottlieb to testgot,
 expecting breaking to eventually occur.  So far testgot works much
 better than gottlieb even though it has copies of gottlieb's .gconfd,
 .gnome, .gnome_private, .gnome2, and .gnome2_private.
 I will continue to move more config files and report here when I find
 the culprit.

In the meantime I've noticed one thing: under the first user account I
created on the machine, there are no problems at all. With other
accounts, I experience random lockups (main menu doesn't respond
anymore, desktop icons disappear, nautilus hangs etc.).
The difference seems to be that for all accounts except the first,
gnome-session starts an instance of esd.
I did follow the Gnome 2.18 upgrade guide
http://www.gentoo.org/proj/en/desktop/gnome/howtos/gnome-2.18-upgrade.xml
which states that one should start the esound service. This seems to
work for the first account, i. e. no esd is spawned upon login but sound
works nevertheless. For the other accounts, an instance of esd is
started and if I experience a lockup, killing this esd process resolves
the issue.

I have yet to find out what the difference is between the accounts. It
doesn't seem to be a difference in the settings, since for both enable
software sound mixing (ESD) is checked in Preferences/Sound/Sounds. I
even created a completely fresh home directory - to no avail. And it
doesn't seem to be a problem with the user's rights either - I added one
of the problematic accounts to all groups (even wheel - it was already
in audio) the account not showing any problems is in, but I still
experienced lockups.

I'll try to investigate that further, but if someone has an idea why the
above happens, I'd appreciate if they told me.

Regards
  mks
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: fstab question

2007-08-16 Thread James
Colleen Beamer colleen.beamer at gmail.com writes:

 
 The wrinkle is that my son bought me a usbstick.  I can mount it just
 fine.  However, if my usb external hard drive is not powered on on boot,
 the stick is recognized at sdc1.  If the usb drive is powered on then,
 the stick is recognized as sdd1.  So, this means that if I want to use
 one or the other or both, I keep having to change fstab.  Is there a way
 I can set the device to always be the same - i.e.  I always want the usb
 external drive to be sdc1 and sdc2 and the usb stick to be sdd1.



eix ivman


May just do the trick. It's what I use on systems with lots of different media
being attached. It even discovered my sony handycam DCR SR42 (one i figured out
that you have to surf thru a few menus and push a few buttons on the camera's
touch screen).


If you want something locked down, udev is your most reliable method,
particulary if the device is always on your system. If 
you, like most of use, 'plug in' all sorts of different usb type devices
over the coarse of a week, IVMAN is my recommendation.

Ivman is like dating, you try lots of different things

udev is where you are serious and dedicated



ymmv-hth,

James



-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: fstab question

2007-08-16 Thread Mark Knecht
On 8/16/07, James [EMAIL PROTECTED] wrote:
 Colleen Beamer colleen.beamer at gmail.com writes:


  The wrinkle is that my son bought me a usbstick.  I can mount it just
  fine.  However, if my usb external hard drive is not powered on on boot,
  the stick is recognized at sdc1.  If the usb drive is powered on then,
  the stick is recognized as sdd1.  So, this means that if I want to use
  one or the other or both, I keep having to change fstab.  Is there a way
  I can set the device to always be the same - i.e.  I always want the usb
  external drive to be sdc1 and sdc2 and the usb stick to be sdd1.


Label your partitions and mount by label not by device name. Works
great for me and is a necessity as I have 5 external drives of
different types.

HTH,
Mark
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Solution?: flaky ethernet driver

2007-08-16 Thread James
James wireless at tampabay.rr.com writes:


 I have this ethernet  on a Sony laptop:
 08:00.0 Ethernet controller: Marvell Technology Group Ltd. 
 88E8036 PCI-E Fast Ethernet Controller (rev 16)

Hello,

I know I should not answer my own posts, but, I'm in 
a time critical crunch on this problem.

The easy solution, is to just by a known good expresscard/34
ethernet card and use it in lieu of the Marvel Yukon
ehternet.

Which one would anyone recommend, as I have not ever used
'expresscard/34 before ? The sony laptop did not
even come with a pccard interface..
Here's the lspci as I'm even certain which chip
provides the bus interface to the expresscard/34 
or pci-e?

00:1c.0 PCI bridge: Intel Corporation PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation PCI Express Port 3 (rev 03)
00:1c.4 PCI bridge: Intel Corporation PCI Express Port 5 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)

recommendations are most welcome.
00:1f.3 SMBus: Intel Corporation SMBus Controller (rev 03)
06:00.0 Network controller: Intel Corporation Unknown device 4229 (rev 61)
08:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8036 PCI-E Fast
Ethernet Controller (rev 16)
09:03.0 CardBus bridge: Texas Instruments Unknown device 8039


Any ideas are most appreciated.

James

James

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] I can not burn

2007-08-16 Thread Florian Philipp
Am Donnerstag 16 August 2007 19:40:23 schrieben Sie:
 On my laptop I try to use Graveman. As soon as I start the burning process
  the CPU usage reaches 100% with 80% cdrecord and 20% Graveman while the
  drive does not even spin up and the percentage indicator stays at 0%.
 
  On my desktop I tried K3B which didn't perform any better. The only thing
  that happens is that it consumes more and more memory. When aborting K3B
  tells me that it can't unlock the drive.
 
  Permissions seem okay, revdep-rebuild doesn't find anything. I didn't
  test DVDs.
 
  Here's K3B's output for analysis:

 Your problem is that you do not use cdrecord but a defective, outdated and
 dead fork made from an old cdrtools version.

 The solution is to deinstall cdrkit and install a recent cdrtools version
 instead. Note that Gentoo and Ubuntu currently are the only free Linux
 distributions as they offer the choice to use maintained original software
 to their users.

 Make sure that /usr/bin/cdrecord is installed suid-root.

 If you have only one drive in your system, a call to:

 cdrecord -checkdrive

 will find and list your drive.

 Make dure _not_ to use the dev=/... syntax as this may cause problems!
 Omitting dev= completely or using the dev=b,t,l syntay is the right choice
 for best behavior.

 See below for more information

  System
  ---
  K3b Version: 0.12.17
 
  KDE Version: 3.5.7
  QT Version:  3.3.8
  Kernel:  2.6.21-gentoo-r4
  Devices
  ---
  TSSTcorp CD/DVDW SH-S183L SB01 (/dev/sr0, /dev/sg2) at /media/dvd [CD-R;
  CD-RW; CD-Rom; DVD-Rom; DVD-Ram; DVD-R; DVD-RW;
 
  [...]
 
  Used versions
  ---
  cdrecord: 2.1.1a03
 
  cdrecord
  ---
  scsidev: '2,0,0'
  scsibus: 2 target: 0 lun: 0
  WARNING: the deprecated pseudo SCSI syntax found as device specification.
  Support for that may cease in the future versions of wodim. For now, the
  device will be mapped to a block device file where possible.
  Run wodim --devices for details.
  Unable to open this SCSI ID. Trying to map to old ATA syntax.This
  workaround will disappear in the near future. Fix your
  configuration.Unable to open this SCSI ID. Trying to map to old ATA
  syntax.This workaround will disappear in the near future. Fix your
  configuration.Unable to open this SCSI ID. Trying to map to old ATA
  syntax.
 
  [... This last sequence repeats for 35MB!]
 
 
  cdrecord command:
  ---
  /usr/bin/cdrecord -v gracetime=2 dev=2,0,0 speed=48 -dao
  driveropts=burnfree -data
  /home/dsl/big/tmp/KNOPPIX_V5.1.1CD-2007-01-04-DE.iso

 gracetime=2 does not work and does not make sense. You need to allow
 the system to settle after a blank medium has been inserted.

 Note that if you are on a Notebook with only one ATA interface, you need to
 specify the option '-immed' and also note that this option currently only
 works if -v is not omitted.

 Jörg

It works, thanks a lot!

I wonder why it worked in the past ...


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


Re: [gentoo-user] Merlin XU870

2007-08-16 Thread Florian Philipp
Am Donnerstag 16 August 2007 13:03:40 schrieben Sie:
 Am Mittwoch 15 August 2007 21:07:49 schrieb Michael Gisbers:
  Am Mittwoch 15 August 2007 schrieb Florian Philipp:
   Okay, I've found option.ko and airprime.ko. tail -f /var/log/messages
   still doesn't output anything. Might that be a configuration issue
   (syslog-ng? kernel?)?
 
  Which kernel do you use?

 suspend2-2.6.22-r1

 I fact, this machine NEVER produced any output to /var/log/messages. It's
 completely empty. Its only content is the gzip-header when logrotate
 compresses the empty file once a week.

/var/log/messages works now. (syslog-ng's sync had to be set to 1). 

Unfortunately, that does not solve my problem. airprime, option, usbserial and 
ftdi_sio are compiled as modules and loaded. Yet, I still don't get anything 
useful on tail -f /var/log/messages.

Might it be due to the fact that I have to use an adapter (shipped with the 
card, works with Windows)? 


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


Re: [gentoo-user] mounting USB stick

2007-08-16 Thread Daniel da Veiga
On 8/16/07, Philip Webb [EMAIL PROTECTED] wrote:
 I've just bought my first USB memory stick (Kingmax 1 GB ).
 When I insert it into a USB slot, devices appear :

   /dev/usbdev1.4_ep00 ep01 ep82 ep83

 but when I try to mount it ( /z/usb  is an unused dir in my filesystem):

   mount /dev/usbdev1.4_ep00 /z/usb

 it tells me (similarly for the other  3  devices):

   mount: /dev/usbdev1.4_ep00 is not a block device

 I had bookmarked the Gentoo Howto  Wiki re USB sticks,
 but as everyone knows, they're down at the moment.
 Do I need to format it, as if it were a hard drive ?
 I don't want to damage my new toy.

 Can anyone tell me what to do next ?


Your USB stick should be a device like sdX where X is an letter.
Mine shows as sdb cause my Sata HD is sda, check dmesg and see what it
tells you, it should echo the device.

-- 
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mounting USB stick

2007-08-16 Thread Florian Philipp
Am Donnerstag 16 August 2007 21:03:18 schrieb Philip Webb:
 I've just bought my first USB memory stick (Kingmax 1 GB ).
 When I insert it into a USB slot, devices appear :

   /dev/usbdev1.4_ep00 ep01 ep82 ep83

 but when I try to mount it ( /z/usb  is an unused dir in my filesystem):

   mount /dev/usbdev1.4_ep00 /z/usb

 it tells me (similarly for the other  3  devices):

   mount: /dev/usbdev1.4_ep00 is not a block device

 I had bookmarked the Gentoo Howto  Wiki re USB sticks,
 but as everyone knows, they're down at the moment.
 Do I need to format it, as if it were a hard drive ?
 I don't want to damage my new toy.

 Can anyone tell me what to do next ?

 --
 ,,
 SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
 ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
 TRANSIT`-O--O---'  University of Toronto

USB-sticks appear as SCSI drives. That means their block device 
is /dev/sda, /dev/sdb etc. Usually you want to mount their first (and only) 
partition, i.e. /dev/sda1 or /dev/sdb1

If there is no such block device, check if usb mass storage is enabled in 
your kernel.


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


[gentoo-user] Xorg freeze on shut down

2007-08-16 Thread Herbert Laubner

I still having a problem to shut down Xorg.

Independent if I am root or member of group user, as soon as I want  
to end the xorg-server this one freezes.

As a side effect, the system-shutdown freezes as well.

emerge --info
Portage 2.1.2.11 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5- 
r4, 2.6.20-gentoo-r8 x86_64)

=
System uname: 2.6.20-gentoo-r8 x86_64 AMD Sempron(tm) Processor 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 13 Aug 2007 17:00:01 +
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/sandbox:1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
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/share/X11/xkb
CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf /etc/ 
revdep-rebuild /etc/terminfo

CXXFLAGS=-march=k8 -O2 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=distlocks metadata-transfer sandbox sfperms strict
GENTOO_MIRRORS=ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/ 
gentoo 

LINGUAS=de en
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times  
--compress --force --whole-file --delete --delete-after --stats -- 
timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages  
--filter=H_**/files/digest-*

PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=X acl alsa amd64 avahi berkdb bitmap-fonts bzip2 cdr cli  
cracklib crypt cups dbus de dri firefox fortran gdbm gnome gpm  
gstreamer gtk hal iconv ipv6 isdnlog java jpeg jpeg2k midi mmx mp3  
mpeg mpg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre  
perl pppd python quicktime readline reflection session spl sse sse2  
ssl tcpd tiff truetype-fonts type1-fonts unicode wmf xorg  
ALSA_CARDS=atiixp ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix  
dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat  
linear meter mulaw multi null plug rate route share shm softvol  
ELIBC=glibc INPUT_DEVICES=keyboard mouse KERNEL=linux  
LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb  
ncurses text LINGUAS=de en USERLAND=GNU VIDEO_CARDS=fglrx
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,  
LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,  
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Any ideas where to look for?

Regards,
Herb



--
[EMAIL PROTECTED] mailing list



[gentoo-user] mounting USB stick

2007-08-16 Thread Philip Webb
I've just bought my first USB memory stick (Kingmax 1 GB ).
When I insert it into a USB slot, devices appear :

  /dev/usbdev1.4_ep00 ep01 ep82 ep83

but when I try to mount it ( /z/usb  is an unused dir in my filesystem):

  mount /dev/usbdev1.4_ep00 /z/usb

it tells me (similarly for the other  3  devices):

  mount: /dev/usbdev1.4_ep00 is not a block device

I had bookmarked the Gentoo Howto  Wiki re USB sticks,
but as everyone knows, they're down at the moment.
Do I need to format it, as if it were a hard drive ?
I don't want to damage my new toy.

Can anyone tell me what to do next ?

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mounting USB stick

2007-08-16 Thread Philip Webb
070816 Daniel da Veiga wrote:
 On 8/16/07, Philip Webb [EMAIL PROTECTED] wrote:
 I've just bought my first USB memory stick (Kingmax 1 GB ).
 When I insert it into a USB slot, devices appear :
   /dev/usbdev1.4_ep00 ep01 ep82 ep83
 but when I try to mount it ( /z/usb  is an unused dir in my filesystem):
   mount /dev/usbdev1.4_ep00 /z/usb
 it tells me (similarly for the other  3  devices):
   mount: /dev/usbdev1.4_ep00 is not a block device
 Your USB stick should be a device like sdX where X is an letter.
 Mine shows as sdb cause my Sata HD is sda,
 check dmesg and see what it tells you, it should echo the device.

Thanks for you very prompt response.  Dmesg says

  usb 1-1: new high speed USB device using ehci_hcd and address 2
  usb 1-1: configuration #1 chosen from 1 choice
  usb 1-1: USB disconnect, address 2
  usb 1-1: new high speed USB device using ehci_hcd and address 3
  usb 1-1: configuration #1 chosen from 1 choice
  usb 1-1: USB disconnect, address 3
  usb 1-2: new high speed USB device using ehci_hcd and address 4
  usb 1-2: configuration #1 chosen from 1 choice
  usb 1-2: USB disconnect, address 4

which represents inserting  removing the stick in  2  USB slots.

There's no sign of 'sda' or similar in  /dev  while it's inserted
nor is there anything like  /dev/ehci_hcd .

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mounting USB stick

2007-08-16 Thread Philip Webb
070816 Florian Philipp wrote:
 USB-sticks appear as SCSI drives.
 That means their block device is /dev/sda, /dev/sdb etc.
 Usually you want to mount their first (and only) partition,
 i.e. /dev/sda1 or /dev/sdb1.  If there is no such block device,
 check if usb mass storage is enabled in your kernel.

Yes, that's it presumably :

  # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
  # may also be needed; see USB_STORAGE Help for more information
  # CONFIG_USB_STORAGE is not set

So I'll need to compile a new kernel, ie  2.6.20 - 2.6.22 ,
 enable USB storage.  Thanks for the hint.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] apache can't start after updating expat to 2.0.1

2007-08-16 Thread Michael Higgins
On Wed, 15 Aug 2007 16:28:03 +0800
Shaochun Wang [EMAIL PROTECTED] wrote:

 
 After updating to expat-2.0.1, apache2 couldn't be started. 
 It says that /usr/sbin/apache2 can't find shared library libexpat.so.0.
 I did some searching on the internet and found that I need do the
 following:
   revdep-rebuild -X --library=libexpat.so.0
 
 Unfortunately, doing this doesn't get apache2 running again and the same
 problem still exits.
 
 Observing the output of the above command, I notice
 /usr/lib64/libaprutil-0.so.0.9.12 is broken. This file belongs to
 apr-util. By executing 'eix apr-util', I find that there are two
 versions of apr-util installed in my computer.
 
 After re-emergeing the apr-util-0.9.12-r1, apache2 started normally.
 
 So I think that the problem is accually caused by the -X option of
 revdep-rebuild command, which emerges the best (currrently is the latest
 stable) packages available. In this apr-util case, it will emerge
 apr-util-1.2.8.
 
 So for slotted packages, don't use -X option for revdep-rebuild
 command. Hoping in the future, revdep-rebuild could handles such
 situation correctly.
 
 I wish my experience be useful to you. 
 

Thank you, thank you, thank you!

That was a nasty one, glad you sleuthed it out.

Cheers,

-- 
Michael Higgins [EMAIL PROTECTED]
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Solution?: flaky ethernet driver

2007-08-16 Thread Neil Walker

James wrote:
I know I should not answer my own posts, but, I'm in 
a time critical crunch on this problem.
  


Your original post never reached here so I don't know quite what your 
problem is.



The easy solution, is to just by a known good expresscard/34
ethernet card and use it in lieu of the Marvel Yukon
ehternet.

  


Marvel Yukon driver works fine for me. What exactly is your problem?



Be lucky,

Neil


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mounting USB stick

2007-08-16 Thread Florian Philipp
Am Donnerstag 16 August 2007 21:33:26 schrieb Philip Webb:
 070816 Florian Philipp wrote:
  USB-sticks appear as SCSI drives.
  That means their block device is /dev/sda, /dev/sdb etc.
  Usually you want to mount their first (and only) partition,
  i.e. /dev/sda1 or /dev/sdb1.  If there is no such block device,
  check if usb mass storage is enabled in your kernel.

 Yes, that's it presumably :

   # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
   # may also be needed; see USB_STORAGE Help for more information
   # CONFIG_USB_STORAGE is not set

 So I'll need to compile a new kernel, ie  2.6.20 - 2.6.22 ,
  enable USB storage.  Thanks for the hint.


Or you could just start make menuconfig in your current kernel's source, add 
everything as a module, make  make modules_install  update-modules and 
load the modules with modprobe. 




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


Re: [gentoo-user] pendrive mounting problem

2007-08-16 Thread Matthew R. Lee
On Thursday 16 August 2007 06:11, Hans-Werner Hilse wrote:


 Please give us the output of
 grep NLS /lib/modules/$(uname -r)/source/.config in order to verify
 that you really have cp437 support compiled into your kernel.

ok the grep indicated that cp 437 support isn't there.  So I'm recompiling the 
kernel so it is.  I maybe missed it because it has the (USA Canada) label 
next to it and I've everything set up for europe.  I assume if everybody 
needs it, it is set as default?  I don't remember unclicking it.  Anyway, 
hopefully the recompile will sort it out.
Thanks for the help.
Matt

Add:  The recompile worked.  Sometimes you can't see what's wrong for looking
Thanks again for all the help
Matt
-- 
%%%
Dr. Matthew R. Lee
CASEB  ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago.
CP 6513677
CHILE

[EMAIL PROTECTED]
[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Solution?: flaky ethernet driver

2007-08-16 Thread Daniel da Veiga
On 8/16/07, Neil Walker [EMAIL PROTECTED] wrote:
 James wrote:
  I know I should not answer my own posts, but, I'm in
  a time critical crunch on this problem.
 

 Your original post never reached here so I don't know quite what your
 problem is.

  The easy solution, is to just by a known good expresscard/34
  ethernet card and use it in lieu of the Marvel Yukon
  ehternet.
 
 

 Marvel Yukon driver works fine for me. What exactly is your problem?



I got his first email, but as I know nothing about this card...
Just so you know that your email made it to the list as I received it.

-- 
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Xorg freeze on shut down

2007-08-16 Thread Sascha Hlusiak
Am Donnerstag 16 August 2007 20:56:07 schrieb Herbert Laubner:
 I still having a problem to shut down Xorg.

 Independent if I am root or member of group user, as soon as I want
 to end the xorg-server this one freezes.
 As a side effect, the system-shutdown freezes as well.

Tell us more info about your system, especially graphics card and drivers. The 
intel-2.x drivers are known to cause hardfreezes on some systems when 
shutting down X, for example.

Sascha


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


[gentoo-user] recovering corrupted portage

2007-08-16 Thread Dennis Taylor
I have been trying to update a gentoo system that I had not touched for
around a year.
I managed to mangle some things, and the latest was a complaint about a
file in portage.
I removed to offender and tried to re-emerge portage, but I am still
stuck.  If anyone 
knows a way I could force it to refresh portage files and/or installed
packages, I would
appreciate it.  A pointer to the right place in the docs would be fine,
I just have not been
able to find it, and have lost several days fighting with it already.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] recovering corrupted portage

2007-08-16 Thread Bo Ørsted Andresen
On Friday 17 August 2007 01:16:31 Dennis Taylor wrote:
 I have been trying to update a gentoo system that I had not touched for
 around a year.
 I managed to mangle some things, and the latest was a complaint about a
 file in portage.
 I removed to offender and tried to re-emerge portage, but I am still
 stuck.  If anyone
 knows a way I could force it to refresh portage files and/or installed
 packages, I would
 appreciate it.  A pointer to the right place in the docs would be fine,
 I just have not been
 able to find it, and have lost several days fighting with it already.

There are some docs at [1] including [2] and [3]. If you need help for any 
specific problems you'll have to post real emerge output including whatever 
error messages you are struggling with...

[1] http://www.gentoo.org/proj/en/portage/
[2] http://www.gentoo.org/proj/en/portage/doc/common-problems.xml
[3] http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml

-- 
Bo Andresen


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


Re: [gentoo-user] Samsung 971p

2007-08-16 Thread Danis Petkakis
could you point me to the right software if it is in your knowledge for
colour calibration?? what other test tools might be necessary??


On 16/08/07, Aleksey V. Kunitskiy [EMAIL PROTECTED] wrote:

 On Thursday 16 August 2007, Danis Petkakis wrote:
  post back.is there any other software other than ddccontrol which would
  help
 
  me control the monitor or is ddccontrol all i need?? thanks...

 That is all you need. Except that you need color calibration or smth
 similar -
 you need software that shows you color tuning table, etc.
 In other words ddccontrol only allows you to change all of monitor
 parameters
 that are present in your model, it does not provide any test tools.

 --
 best regards,
 Aleksey V. Kunitskiy
 my public GPG/PGP key: http://www.alexey-kv.org.ua/pubkey.asc




Re: [gentoo-user] Solution?: flaky ethernet driver

2007-08-16 Thread Aaron Clark


On 16-Aug-07, at 1:43 PM, James wrote:


James wireless at tampabay.rr.com writes:



I have this ethernet  on a Sony laptop:
08:00.0 Ethernet controller: Marvell Technology Group Ltd.
88E8036 PCI-E Fast Ethernet Controller (rev 16)


Hello,

I know I should not answer my own posts, but, I'm in
a time critical crunch on this problem.


You could try the sky2 driver (listed as EXPERIMENTAL in the make  
menuconfig screens).  It's a more recent driver for the Marvell Yukon  
chipsets than the sk98lin drivers.


Aaron
--
In the last, lorn fight
'gainst the fall of long night,
the mountains stand guard,
and the dead shall be ward,
for the grave is no bar to my call.
--The Horn Of Valere


--
[EMAIL PROTECTED] mailing list



[gentoo-user] enable altivec for cross gcc?

2007-08-16 Thread Wang, Baojun
hi, 

  I'm trying to build a powerpc64-unknonwn-linux-gnu toolchain use the 
following method: http://dev.gentoo.org/~vapier/CROSS-COMPILE-HOWTO, my host 
is x86_64-pc-linux-gnu and i686-pc-linux-gnu, when I tried to merge gcc:

I got the result:

[ebuild   R   ] cross-powerpc64-unknown-linux-gnu/gcc-4.1.2  USE=mudflap nls 
(-altivec) -bootstrap -build -d -doc -fortran -gcj -gtk 
(-hardened) -ip28 -ip32r10k (-multilib) -multislot (-n32) 
(-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla 0 kB [1]


I have passwd USE=altivec explicitly to emerge like:

USE=altivec -fortran emerge -av cross-powerpc64-unknown-linu-gnu/gcc

but still I can't enable altivec for the target, Is there any way to enble it? 

  Regards,
Wang
-- 
Wang, BaojunLanzhou University
Distributed  Embedded System Lab  http://dslab.lzu.edu.cn
School of Information Science and Engeneering[EMAIL PROTECTED]
Tianshui South Road 222. Lanzhou 73 .P.R.China
Tel:+86-931-8912025Fax:+86-931-8912022


pgp9EOgv5HvWe.pgp
Description: PGP signature


[gentoo-user] Re: Solution?: flaky ethernet driver

2007-08-16 Thread James
Aaron Clark ophidian at ophidian.homeip.net writes:


  I have this ethernet  on a Sony laptop:
  08:00.0 Ethernet controller: Marvell Technology Group Ltd.
  88E8036 PCI-E Fast Ethernet Controller (rev 16)

 You could try the sky2 driver (listed as EXPERIMENTAL in the make  
 menuconfig screens).  It's a more recent driver for the Marvell Yukon  
 chipsets than the sk98lin drivers.


I added these driver to the kernel:

* New SysKonnect GigaEthernet support  
* SysKonnect Yukon2 support (EXPERIMENTAL)   

And added a few options under pci express
(don't remember exactly)

and it's been up for about 7 hours under heavy download
and ethernet I/O.


so I'll keep my fingers crossed.

Is this the sky2 driver you refer to?

If not, can you grep your .config file and post the exact
string, as I do not see a sky2 driver.?

dmesg show this now:

sky2 :08:00.0: v1.14 addr 0xfc20 irq 17 Yukon-FE (0xb7) rev 1
sky2 eth0: addr 00:13:a9:c0:4a:21
sk98lin: driver has been replaced by the skge driver and is scheduled for 
removal
Marvell 88E1101: Registered new driver
Marvell 88E: Registered new driver
Marvell 88E1145: Registered new driver


James

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Solution?: flaky ethernet driver

2007-08-16 Thread Aaron Clark


On 16-Aug-07, at 9:55 PM, James wrote:


Aaron Clark ophidian at ophidian.homeip.net writes:



I have this ethernet  on a Sony laptop:
08:00.0 Ethernet controller: Marvell Technology Group Ltd.
88E8036 PCI-E Fast Ethernet Controller (rev 16)



You could try the sky2 driver (listed as EXPERIMENTAL in the make
menuconfig screens).  It's a more recent driver for the Marvell Yukon
chipsets than the sk98lin drivers.



I added these driver to the kernel:

* New SysKonnect GigaEthernet support
* SysKonnect Yukon2 support (EXPERIMENTAL)

And added a few options under pci express
(don't remember exactly)


The latter should be the sky2 driver.


Is this the sky2 driver you refer to?

If not, can you grep your .config file and post the exact
string, as I do not see a sky2 driver.?


CONFIG_SKY2 is the entry in my .config file.  2.6.20-gentoo-r7

Aaron
--
In the last, lorn fight
'gainst the fall of long night,
the mountains stand guard,
and the dead shall be ward,
for the grave is no bar to my call.
--The Horn Of Valere


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Solution?: flaky ethernet driver

2007-08-16 Thread Wang, Baojun
On Friday 17 August 2007 10:11, Aaron Clark wrote:
 On 16-Aug-07, at 9:55 PM, James wrote:
[snip]
  * New SysKonnect GigaEthernet support
  * SysKonnect Yukon2 support (EXPERIMENTAL)
 
  And added a few options under pci express
  (don't remember exactly)

 The latter should be the sky2 driver.

  Is this the sky2 driver you refer to?
 
  If not, can you grep your .config file and post the exact
  string, as I do not see a sky2 driver.?

 CONFIG_SKY2 is the entry in my .config file.  2.6.20-gentoo-r7

 Aaron
 --

have you ever tried use the skge module? 

 │ CONFIG_SKY2: 
 
│
  │ 
  
│
  │ This driver supports Gigabit Ethernet adapters based on the 
  
│
  │ Marvell Yukon 2 chipset:
  
│
  │ Marvell 88E8021/88E8022/88E8035/88E8036/88E8038/88E8050/88E8052/
  
│
  │ 88E8053/88E8055/88E8061/88E8062, SysKonnect SK-9E21D/SK-9S21
  
│
  │ 
  
│
  │ There is companion driver for the older Marvell Yukon and   
  
│
  │ Genesis based adapters: skge.   
  
│
  │ 
  
│
  │ To compile this driver as a module, choose M here: the module   
  
│
  │ will be called sky2.  This is recommended.  
  
│
  │ 
  
│
  │ Symbol: SKY2 [=m]   
  
│
  │ Prompt: SysKonnect Yukon2 support (EXPERIMENTAL)
  
│
  │   Defined at drivers/net/Kconfig:2116   
  
│
  │   Depends on: NET  NETDEVICES  NETDEV_1000  PCI   
  
│
  │   Location: 
  
│
  │ - Device Drivers   
  
│
  │   - Network device support 
  
│
  │ - Network device support (NETDEVICES [=y]) 
  
│
  │   - Ethernet (1000 Mbit) (NETDEV_1000 [=y])
  
│
  │   Selects: CRC32
  
│

your NIC module is in the list, have a try with 

modprobe skge

Hope it will work

Wang
-- 
Wang, BaojunLanzhou University
Distributed  Embedded System Lab  http://dslab.lzu.edu.cn
School of Information Science and Engeneering[EMAIL PROTECTED]
Tianshui South Road 222. Lanzhou 73 .P.R.China
Tel:+86-931-8912025Fax:+86-931-8912022


pgpsTcRf97X8d.pgp
Description: PGP signature


Re: [gentoo-user] recovering corrupted portage

2007-08-16 Thread Iain Buchanan
On Thu, 2007-08-16 at 19:16 -0400, Dennis Taylor wrote:
 I have been trying to update a gentoo system that I had not touched for
 around a year.
 I managed to mangle some things, and the latest was a complaint about a
 file in portage.
 I removed to offender and tried to re-emerge portage, but I am still
 stuck.  If anyone 
 knows a way I could force it to refresh portage files and/or installed
 packages, I would
 appreciate it.  A pointer to the right place in the docs would be fine,
 I just have not been
 able to find it, and have lost several days fighting with it already.


you could download a portage snapshot like you were doing a new install,
then copy it over /usr/portage.  Hopefully when you say you've corrupted
portage you're referring to /usr/portage, and not /var etc...

Don't know if there are any dangers with this - I've never tried it.

HTH,
-- 
Iain Buchanan iaindb at netspace dot net dot au

Behind every great computer sits a skinny little geek.

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Firefox and Synaptics mousepad

2007-08-16 Thread Dan Cowsill
I use an Acer laptop with a synaptics mouse pad.  Now, the mousepad
scrolls left and right when you drag across the bottom portion of it.
However, in firefox it controls the back and forward buttons.  This
has the net effect of moving be back two or three pages if I slip.

What I was wondering is if there is some sort of firefox setting I can
change to disable that function?

Thanks,

-- 
Dan Cowsill
http://www.danthehat.net
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Firefox and Synaptics mousepad

2007-08-16 Thread Chuanwen Wu
Please check /etc/X11/xorg.conf here:

# Mouse wheel mapping.  Default is to map vertical wheel to buttons 4  5,
# horizontal wheel to buttons 6  7.   Change if your mouse has more than
# 3 buttons and you need to map the wheel to different button ids to avoid
# conflicts.

Option ZAxisMapping   4 5

So just set this option to 4 5.

I hope it will help.

2007/8/17, Dan Cowsill [EMAIL PROTECTED]:
 I use an Acer laptop with a synaptics mouse pad.  Now, the mousepad
 scrolls left and right when you drag across the bottom portion of it.
 However, in firefox it controls the back and forward buttons.  This
 has the net effect of moving be back two or three pages if I slip.

 What I was wondering is if there is some sort of firefox setting I can
 change to disable that function?

 Thanks,

 --
 Dan Cowsill
 http://www.danthehat.net
 --
 [EMAIL PROTECTED] mailing list




-- 
wcw
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] CXXABI error after gcc upgrade

2007-08-16 Thread Iain Buchanan
On Wed, 2007-08-15 at 16:34 +0200, Andreas Niederl wrote:
 Iain Buchanan wrote:
  On Wed, 2007-08-15 at 13:23 +0200, Andreas Niederl wrote:
  Iain Buchanan wrote:
  On Mon, 2007-08-13 at 08:02 +0200, Andreas Niederl wrote:
  
  [...]
  My own little workaround:
  echo 'LDPATH=/lib:/usr/lib:/usr/local/lib'  /etc/env.d/04basic-ldpath
  env-update
  I tried that, but eix still fails with the same error...  Or do I have
  to rebuild the system again?!
  No, eix still takes the wrong libstdc++.so.6 and rebuilding won't likely
  change that.
  Whats the output of the libstdc++ section, if you call eix with LD_DEBUG
  like `LD_DEBUG=libs eix`?
  
  the current eix (0.9.9) shows this (and a whole lotta other stuff):
  
  $ LD_DEBUG=libs eix
   18778: find library=libstdc++.so.6 [0]; searching
   18778:  search path=/usr/lib/fglrx (LD_LIBRARY_PATH)
   18778:   trying file=/usr/lib/fglrx/libstdc++.so.6
   18778:  search cache=/etc/ld.so.cache
   18778:   trying 
  file=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6
  [snip]
   18778: calling init: 
  /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6
  
  You could directly query the exported CXXABI versions of different
  libstdc++ libraries in the same order as they are tried by the dynamic
  linker by pasting the following loop into your shell:
 
  while read dir ; do
if [ -r $dir/libstdc++.so.6 ] ; then
  echo $dir:
  readelf -a $dir/libstdc++.so.6 | grep Rev | grep CXXABI
fi
  done  /etc/ld.so.conf
  
  /usr/lib/gcc/i686-pc-linux-gnu/3.4.6:
0x00a4: Rev: 1  Flags: none  Index: 6  Cnt: 1  Name: CXXABI_1.3
  /usr/lib/gcc/i686-pc-linux-gnu/4.1.2:
0x0158: Rev: 1  Flags: none  Index: 11  Cnt: 1  Name: CXXABI_1.3
0x0174: Rev: 1  Flags: none  Index: 12  Cnt: 2  Name: CXXABI_1.3.1
  /usr/lib/gcc/i686-pc-linux-gnu/4.2.0:
0x017c: Rev: 1  Flags: none  Index: 12  Cnt: 1  Name: CXXABI_1.3
0x0198: Rev: 1  Flags: none  Index: 13  Cnt: 2  Name: CXXABI_1.3.1
  
  
  But what does it all _mean_ Basil? (gratuitous bad movie quote...)
 [...]
 
 Just that the first libstdc++.so.6 found by ld.so doesn't have
 CXXABI_1.3.1 which is apparently needed by eix.
 If you look into your /etc/ld.so.conf you'll see some directories listed
 which ld.so will probe from the top downwards when it searches for
 dynamically linked libraries. In your case the gcc library directories
 are in the wrong order.
 
 My guess is that you should reverse them.
 
 The search order is specified by the LDPATH variables in the
 /etc/env.d/* files. env-update reads these files sorted alphabetically
 concatenates the found LDPATHs and writes it into /etc/ld.so.conf.


/etc/env.d $ grep LDPATH * | grep gcc
05compiler:LDPATH=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6
05gcc:LDPATH=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2:/usr/lib/gcc/i686-pc-linux-gnu/3.4.6:/usr/lib/gcc/i686-pc-linux-gnu/4.2.0

aha! so the culprit is  05compiler, but who put it there?  `equery
belongs` doesn't tell me anything, in fact I have a lot of files
in /etc/env.d that don't belong to anything, so is it safe to delete
them?... 

 The LDPATH for gcc should be in /etc/env.d/05gcc, I imagine something
 like
 LDPATH=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/:/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/:/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/
 standing in your version of this file. For reversing the search order
 simply reverse this variable so that it reads:
 LDPATH=/usr/lib/gcc/i686-pc-linux-gnu/4.2.0/:/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/:/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/
 and do a env-update.

well, 05gcc seems to be fine.

 The reason for the search path being in the wrong order is probably some
 bug in gcc-config or eselect-compiler, whichever you are using. At least
 I can't think of another reason.

if gcc-config updates 05gcc, then it appears to have done the right
thing.  I just have to find out why 05compiler is in there.

In the mean time, I removed 05compiler, and my emerges now seem to
work :)

thanks for all the help,
-- 
Iain Buchanan iaindb at netspace dot net dot au

The real trouble with reality is that there's no background music.

-- 
[EMAIL PROTECTED] mailing list