Re: [gentoo-user] X -configure find video drivers that do not exist

2010-01-19 Thread Xi Shen
On Tue, Jan 19, 2010 at 2:45 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Tuesday 19 January 2010 08:17:09 Xi Shen wrote:
 hi,

 my system is gentoo amd64, with kde 4.3. previously, i installed more
 video drivers than i need, now i removed the unused ones. but each
 time when i ran 'X -configure', if can still find some of those video
 drivers and try to load them, and complains that the module does not
 exist. i guess some of the configuration of X is not updated. but i do
 not know which one.

 How did you install them?

 Did you emerge them directly? Then you unmerge them with emerge -C

 Did you include them in VIDEO_CARDS? Then run emerge --depclean

 Then clean up your xorg.conf manually

 --
 alan dot mckinnon at gmail dot com



i removed the unused drivers from VIDEO_CARDS, then ran emerge
--depclean; and i unemerged the ones i emerged manually. but there's
still some can be listed while running X -configure. very weired.


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/
http://meme.yahoo.com/davidshen84/



Re: [gentoo-user] Devicekit - especially just for Dale

2010-01-19 Thread Neil Bothwick
On Mon, 18 Jan 2010 18:21:18 -0600, Dale wrote:

  Even easier, hit e at the GRUB menu and add gentoo=nox to the kernel
  options.

 I usually just do softlevel=single or that other one I got wrote down 
 here somewhere.

That turns off almost everything, whereas gentoo=nox does a normal
startup of everything but xdm. Single mode has its uses but it's a bit
of a sledgehammer for this particular nut.


-- 
Neil Bothwick

WinErr 003: Dynamic linking error - Your mistake is now in every file


signature.asc
Description: PGP signature


Re: [gentoo-user] when emerging: Wrong number of fields in NEEDED.ELF.2 messages

2010-01-19 Thread Alan E. Davis
On Tue, Jan 19, 2010 at 7:53 AM, James Ausmus james.aus...@gmail.comwrote:



 On Mon, Jan 18, 2010 at 1:25 PM, Alan E. Davis lngn...@gmail.com wrote:

 It has happened that when emerging packages, the following message is
 listed at the end of the emerge process:

  Wrong number of fields in NEEDED.ELF.2

 May I ask for advice?


 Never seen that issue before, but maybe try to re-emerge elfutils/libelf
 (whichever you have installed)?

 Here is a more complete copy of the message, actually at the tail end of
re-emerging libelf :

Wrong number of fields in NEEDED.ELF.2: ���! h 0A
  p��� `A! ��� ���A ���A

�� ���
   � B! ��#x1B
@��� C +C��2sB ���B ���B ���B ��� ���
���

Now I'll try again.

Alan


Re: [gentoo-user] Devicekit - especially just for Dale

2010-01-19 Thread Dale

Stroller wrote:


On 18 Jan 2010, at 21:50, James Ausmus wrote:
Very recent buyers of Lenovo laptops don't even *have* a SysRq key 
anymore. I
reckon it won't be long before other makers follow suit. I can see 
Lenovo's
point: there's probably less than 10,000 people in the whole world 
that ever
used that key in the last 12 months and all of them are very au fait 
with

Linux


Yuck - really? Not even as an unlabeled Alt function of a Print 
Screen button?


Sounds like a new kernel patch needs to be introduced, which allows 
you to select an alternative to the SysRq key for the magic 
commands... sigh Stupid HW manufacturers...


To me, this sounds like rationalisation - in the make more efficient 
by reorganizing it in such a way as to dispense with unnecessary 
personnel or equipment sense - on behalf of hardware manufacturers.


I would hate to do away with the numeric keypad myself, but at the 
same time I have to question how often I use it. When I look at the 
whole keyboard it seems crazy to have 102 or 105 keys in order to type 
26 letters, 10 numbers and some punctuation.


The function keys of regular keyboards are never used by the majority 
of people, and it has been this way for over a decade. Yet new 
keyboards require them because IBM keyboards had them in the 1980s. 
The authors of window managers map the close window shortcut to 
alt-F4 because the F4 key is there and is sure to be unused by 
anything else, but this function could easily be moved elsewhere if we 
got rid of the extra keyboard clutter.


Stroller.



This is sort of funny in a way.  I use the numeric keypad for numbers 
about 90% of the time.  The only time I use the numbers on the top row 
are for things that are above the numbers.  I also use the function keys 
a LOT, a whole lot.  I couldn't even imagine them not being there and 
wouldn't buy a keyboard that didn't have the function keys or the 
numeric keypad.


I hope some manufacturers don't shoot themselves in the foot while 
removing keys.  o_O


Dale

:-)  :-) 





Re: [gentoo-user] Devicekit - especially just for Dale

2010-01-19 Thread Dale

Neil Bothwick wrote:

On Mon, 18 Jan 2010 18:21:18 -0600, Dale wrote:

  

Even easier, hit e at the GRUB menu and add gentoo=nox to the kernel
options.
  


  
I usually just do softlevel=single or that other one I got wrote down 
here somewhere.



That turns off almost everything, whereas gentoo=nox does a normal
startup of everything but xdm. Single mode has its uses but it's a bit
of a sledgehammer for this particular nut.


  


But I can emerge things and fix stuff.  That's all I need at the time.  
I don't even need a second console. 

It works for me.  The sledge hammer is just right.  If I do need more, I 
just type in 'rc boot' and get a little more going. 


Dale

:-)  :-) 



Re: [gentoo-user] Devicekit - especially just for Dale

2010-01-19 Thread Dale

Iain Buchanan wrote:

On Mon, 2010-01-18 at 18:23 -0600, Dale wrote:
  

Iain Buchanan wrote:


On Mon, 2010-01-18 at 23:25 +0200, Alan McKinnon wrote:
  
  

On Monday 18 January 2010 22:47:05 Dale wrote:


In that case, ctrl alt F1 does nothing.  You also need to understand 
that most people don't even know how to use SysRq keys.  I didn't and 
had to do a hard shutdown.  I had to actually pull the plug to do any 
good.  Luckily I knew how to get it to boot into single user mode so I 
could disable hal otherwise I would be right back on the same screen 
again with no mouse or keyboard.  It would be really bad if even that 
didn't work with devicekit.  I'm not sure how it couldn't but we never 
know do we?
  
  
Dale's experiences highlight a very important and very fundamental rule of 
desktop system design:


As a developer you must completely and totally guarantee to the full limit of 
what is feasible, that the user will always have a usable keyboard, mouse and 
display after the desktop has launched. You can fallback to VGA resolution and 
the most basic keyboard layout possible if you need to, but you must give the 
user something and never leave them stranded. Anything else is just an epic 
fail.



My 2c worth is this:  In any other distribution, the xorg/hal update
would have been configured so that Dale's (sorry to keep using you as an
example :) keyboard / mouse was working.  But this is Gentoo.  You ARE
the distributor AND the end user.  Conflicts in libraries / packages are
up to you to resolve.

About 3-4 people use Gentoo at work, and at least 2 were hit by the
keyboard/mouse not working bug in xorg when it moved to HAL.  With a bit
of fuddling, remerging, and so on, we got it working in both cases.

So yes, the developer must give a fallback method of using the
keyboard / mouse, but not against the incorrectly packaged / configured
system.  In Gentoo you often end up with an incorrect system, hence
revdep-rebuild and so on.

  
  

I didn't distribute hal,



well, in a sense you've distributed it to yourself, as opposed to using
a binary distribution where all these packages are rebuilt by someone
else and distributed to you.

  
 heck, I didn't even want it really.  It's 
required by KDE is the only reason I have it at all.  I just had to 
disable it for xorg is all to get a working X.


Surely this wasn't my fault?



no, but my point was a binary OS would re-compile everything multiple
times on some super-server of theirs before you download and try it.
Hence in that case you're the user, not the distributor.  In Gentoo's
case you're the user AND the distributor, and 99.9% of the time you
don't need to recompile the universe to end up with a working system.
I'm sure that there is some magic package that just needs to be
re-merged that would fix the issue for you, but I'm sure you've spent
enough time on it, so I'm not suggesting you try :)

  


To me, if I distribute something, I make it available to others.  The 
Gentoo mirrors, they distribute software.  KDE distributes software as 
does other software makers.  I just download it and use it.  This is one 
reason I don't worry about a license that is restricted since whatever I 
do here, stays here.  I don't make the software, compiled or otherwise, 
available to others.


I'm just a lowly user and try to help when I can.  ^-^

Dale

:-)  :-) 



Re: [gentoo-user] A quick test of su

2010-01-19 Thread Dale

Neil Bothwick wrote:

On Mon, 18 Jan 2010 18:18:16 -0600, Dale wrote:

  
Being my sometimes helpful self.  lol 


Password:
su: Authentication information cannot be recovered


That normal I guess?



Then I'm not! I get

$ su
Password: su: Authentication failure

  


I'm not normal so I should have got that message.  lol 


Dale

:-)  :-) 



[gentoo-user] Smart Database

2010-01-19 Thread Jon Hardcastle
Hi guys,

I want to update my gentoo install to use the latest trunk version of the 
smartmontools drive database.

Does anyone have any gentoo orientated guidance here? I have spoken to the 
chaps there and they say to run configure with '--enable-drivedb' and then copy 
over the the current SVN version of drivedb.h to DATADIR/smartmontools

But i wonder where this fits into the wonderful world of gentoo and package 
management/

Cheers.

---
N: Jon Hardcastle
E: j...@ehardcastle.com
'Do not worry about tomorrow, for tomorrow will bring worries of its own.'

***
Please note, I am phasing out jd_hardcastle AT yahoo.com and replacing it with 
jon AT eHardcastle.com
***

---






Re: [gentoo-user] Error during checking the platform pre-requisites of app-office/openoffice-3.1.1

2010-01-19 Thread Yuri Ambrosio
Ok, after installing perl-core/Compress-Raw-Zlib no problems. Thanks ;)

2010/1/19 Alan McKinnon alan.mckin...@gmail.com

 On Tuesday 19 January 2010 05:30:26 Yuri Ambrosio wrote:
  checking the Perl version... checked (perl 5)
  checking for required Perl modules... Can't locate Compress/Raw/Zlib.pm
 in
  @INC (@INC contains: /etc/perl
  /usr/lib/perl5/vendor_perl/5.8.8/i686-linux-thread-multi
  /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
  /usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi
  /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
  /usr/lib/perl5/5.8.8/i686-linux-thread-multi /usr/lib/perl5/5.8.8
  /usr/local/lib/site_perl .) at
  /usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm line 12.
  BEGIN failed--compilation aborted at
  /usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm line 12.
  Compilation failed in require at
  /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 11.
  BEGIN failed--compilation aborted at
  /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 11.
  Compilation failed in require at -e line 1.
  BEGIN failed--compilation aborted at -e line 1.
  configure: error: Failed to find some modules
  make: *** [stamp/build] Error 1
 
  Any ideas?
 


 is perl-core/Compress-Raw-Zlib installed?


 --
 alan dot mckinnon at gmail dot com




-- 
Pasquale Yuri Ambrosio - N4667
Università degli Studi di Napoli Federico II


Re: [gentoo-user] Error during checking the platform pre-requisites of app-office/openoffice-3.1.1

2010-01-19 Thread Crístian Viana
shouldn't perl-core/Compress-Raw-Zlib be listed as a dependency on the
openoffice ebuild?

On Tue, Jan 19, 2010 at 8:57 AM, Yuri Ambrosio yuriambro...@gmail.comwrote:

 Ok, after installing perl-core/Compress-Raw-Zlib no problems. Thanks ;)

 2010/1/19 Alan McKinnon alan.mckin...@gmail.com

 On Tuesday 19 January 2010 05:30:26 Yuri Ambrosio wrote:
  checking the Perl version... checked (perl 5)
  checking for required Perl modules... Can't locate Compress/Raw/Zlib.pm
 in
  @INC (@INC contains: /etc/perl
  /usr/lib/perl5/vendor_perl/5.8.8/i686-linux-thread-multi
  /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
  /usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi
  /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
  /usr/lib/perl5/5.8.8/i686-linux-thread-multi /usr/lib/perl5/5.8.8
  /usr/local/lib/site_perl .) at
  /usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm line 12.
  BEGIN failed--compilation aborted at
  /usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm line 12.
  Compilation failed in require at
  /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 11.
  BEGIN failed--compilation aborted at
  /usr/lib/perl5/vendor_perl/5.8.8/Archive/Zip.pm line 11.
  Compilation failed in require at -e line 1.
  BEGIN failed--compilation aborted at -e line 1.
  configure: error: Failed to find some modules
  make: *** [stamp/build] Error 1
 
  Any ideas?
 


 is perl-core/Compress-Raw-Zlib installed?


 --
 alan dot mckinnon at gmail dot com




 --
 Pasquale Yuri Ambrosio - N4667
 Università degli Studi di Napoli Federico II




-- 
Crístian Deives dos Santos Viana [aka CD1]


Re: [gentoo-user] gentoo on ssds? intel anyone?

2010-01-19 Thread Stefan G. Weichinger
Am 04.01.2010 21:50, schrieb Stefan G. Weichinger:

 I wonder if /var and /home should be on the ssd or not. It is very nice
 to have a silent machine ... but maybe this does more harm than good.

I had repeated I/O-errors while having /home on the ssd, with kernel
2.6.32-tuxonice and 2.6.32-tuxonice-r1 ... now I use my hdd-based /home
again and the errors are gone (so far, maybe the re-occur after sending
this mail, you know ...).

The home-related I/O-errors still happened after poweroff, the fsck -f
showed no errors.

example from /var/log/messages:

Jan 18 18:49:24 hiro kernel: ata5.00: exception Emask 0x10 SAct 0x20
SErr 0x400100 action 0x6 frozen
Jan 18 18:49:24 hiro kernel: ata5.00: irq_stat 0x0800, interface
fatal error
Jan 18 18:49:24 hiro kernel: ata5: SError: { UnrecovData Handshk }
Jan 18 18:49:24 hiro kernel: ata5.00: failed command: WRITE FPDMA QUEUED
Jan 18 18:49:24 hiro kernel: ata5.00: cmd
61/08:28:38:d6:79/00:00:01:00:00/40 tag 5 ncq 4096 out
Jan 18 18:49:24 hiro kernel: res 40/00:2c:38:d6:79/00:00:01:00:00/40
Emask 0x10 (ATA bus error)
Jan 18 18:49:24 hiro kernel: ata5.00: status: { DRDY }
Jan 18 18:49:24 hiro kernel: ata5: hard resetting link
Jan 18 18:49:24 hiro kernel: ata5: SATA link up 3.0 Gbps (SStatus 123
SControl 300)
Jan 18 18:49:24 hiro kernel: ata5.00: configured for UDMA/133
Jan 18 18:49:24 hiro kernel: ata5: EH complete
Jan 18 18:49:24 hiro kernel: ata5.00: exception Emask 0x10 SAct
0x4000 SErr 0x400100 action 0x6 frozen
Jan 18 18:49:24 hiro kernel: ata5.00: irq_stat 0x0800, interface
fatal error
Jan 18 18:49:24 hiro kernel: ata5: SError: { UnrecovData Handshk }
Jan 18 18:49:24 hiro kernel: ata5.00: failed command: WRITE FPDMA QUEUED
Jan 18 18:49:24 hiro kernel: ata5.00: cmd
61/d0:f0:b0:d3:d9/01:00:02:00:00/40 tag 30 ncq 237568 out
Jan 18 18:49:24 hiro kernel: res 40/00:f4:b0:d3:d9/00:00:02:00:00/40
Emask 0x10 (ATA bus error)
Jan 18 18:49:24 hiro kernel: ata5.00: status: { DRDY }
Jan 18 18:49:24 hiro kernel: ata5: hard resetting link
Jan 18 18:49:24 hiro kernel: ata5: SATA link up 3.0 Gbps (SStatus 123
SControl 300)
Jan 18 18:49:24 hiro kernel: ata5.00: configured for UDMA/133
Jan 18 18:49:24 hiro kernel: ata5: EH complete

--

My root-fs is still on the ssd, root-fs AND home-fs are ext4 ...
Just for the records and discussion ...

Stefan



Re: [gentoo-user] Devicekit - especially just for Dale

2010-01-19 Thread Peter Humphrey
On Tuesday 19 January 2010 09:03:57 Neil Bothwick wrote:
 On Mon, 18 Jan 2010 18:21:18 -0600, Dale wrote:
  I usually just do softlevel=single or that other one I got wrote down
  here somewhere.
 
 That turns off almost everything, whereas gentoo=nox does a normal
 startup of everything but xdm. Single mode has its uses but it's a bit
 of a sledgehammer for this particular nut.

Each of my machines has a no-x run level, which omits services such as X, 
dbus and hal but does start gpm, network services and (except on the 
laptops) numlock. Saves me quite a bit of typing.

-- 
Rgds
Peter.



Re: [gentoo-user] Devicekit - especially just for Dale

2010-01-19 Thread Dale

Peter Humphrey wrote:

On Tuesday 19 January 2010 09:03:57 Neil Bothwick wrote:
  

On Mon, 18 Jan 2010 18:21:18 -0600, Dale wrote:


I usually just do softlevel=single or that other one I got wrote down
here somewhere.
  

That turns off almost everything, whereas gentoo=nox does a normal
startup of everything but xdm. Single mode has its uses but it's a bit
of a sledgehammer for this particular nut.



Each of my machines has a no-x run level, which omits services such as X, 
dbus and hal but does start gpm, network services and (except on the 
laptops) numlock. Saves me quite a bit of typing.


  


Those are good ideas but I just rarely use these.  Most of the time 
booting to single is all I need.  The emerges run faster too. 


Dale

:-)  :-) 



[gentoo-user] problem compiling Avahi

2010-01-19 Thread SpaceCake
Hi,

I have problem to compile Avahi. As far as I see there was several bugs
related to this package in the past, so I've tried to perform the steps in
those bug reports to fix this issue (recompile python, python packages,
playing with useflags etc). Unfortunately I can't make it work, so I removed
avahi from useflags, so my world compile is ok. However I would like to use
it, so if anyone has any idea how can I fix it, it could be great

I think the most important part is

configure: error: Could not find Python module dbus

however dbus python is emerged and exists

however when I import module I've got this


 import dbus
Traceback (most recent call last):
  File stdin, line 1, in module
  File /usr/lib/python2.6/site-packages/dbus/__init__.py, line 100, in
module
from dbus._dbus import Bus, SystemBus, SessionBus, StarterBus
  File /usr/lib/python2.6/site-packages/dbus/_dbus.py, line 46, in
module
from dbus.bus import BusConnection
  File /usr/lib/python2.6/site-packages/dbus/bus.py, line 46, in module
from dbus.connection import Connection
  File /usr/lib/python2.6/site-packages/dbus/connection.py, line 42, in
module
from dbus.proxies import ProxyObject
  File /usr/lib/python2.6/site-packages/dbus/proxies.py, line 35, in
module
from dbus._expat_introspect_parser import process_introspection_data
  File /usr/lib/python2.6/site-packages/dbus/_expat_introspect_parser.py,
line 26, in module
from xml.parsers.expat import ExpatError, ParserCreate
  File /usr/lib/python2.6/site-packages/_xmlplus/parsers/expat.py, line 4,
in module
from pyexpat import *
ImportError: /usr/lib/python2.6/site-packages/_xmlplus/parsers/pyexpat.so:
undefined symbol: PyUnicodeUCS2_Decode



Here is my output of emerge of avahi

checking for python extension module directory...
${exec_prefix}/lib/python2.6/site-packages
checking for python module gtk... yes
checking for python module dbus... no
configure: error: Could not find Python module dbus

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-dns/avahi-0.6.24-r2/work/avahi-0.6.24/config.log
 *
 * ERROR: net-dns/avahi-0.6.24-r2 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_compile
 * environment, line 4119:  Called econf '--localstatedir=/var'
'--with-distro=gentoo' '--disable-python-dbus' '--disable-pygtk'
'--disable-xmltoman' '--disable-monodoc' '--enable-glib' '--disable-tests'
'--enable-autoipd' '--enable-compat-libdns_sd' '--disable-compat-howl'
'--disable-doxygen-doc' '--disable-mono' '--enable-dbus' '--enable-python'
'--enable-gtk' '--disable-qt3' '--enable-qt4' '--enable-gdbm'
'--enable-python-dbus' '--enable-pygtk'
 *   ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *  die econf failed
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/log/portage/net-dns:avahi-0.6.24-r2:20100119-114442.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/net-dns/avahi-0.6.24-r2/temp/environment'.
 *

 Failed to emerge net-dns/avahi-0.6.24-r2, Log file:

  '/var/log/portage/net-dns:avahi-0.6.24-r2:20100119-114442.log'

 * Messages for package net-dns/avahi-0.6.24-r2:

 *
 * ERROR: net-dns/avahi-0.6.24-r2 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_compile
 * environment, line 4119:  Called econf '--localstatedir=/var'
'--with-distro=gentoo' '--disable-python-dbus' '--disable-pygtk'
'--disable-xmltoman' '--disable-monodoc' '--enable-glib' '--disable-tests'
'--enable-autoipd' '--enable-compat-libdns_sd' '--disable-compat-howl'
'--disable-doxygen-doc' '--disable-mono' '--enable-dbus' '--enable-python'
'--enable-gtk' '--disable-qt3' '--enable-qt4' '--enable-gdbm'
'--enable-python-dbus' '--enable-pygtk'
 *   ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *  die econf failed
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/log/portage/net-dns:avahi-0.6.24-r2:20100119-114442.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/net-dns/avahi-0.6.24-r2/temp/environment'.


Thank you
Laszlo


Re: [gentoo-user] Re: BIOS says 2GB, MemTest86 says 2GB, top says 900MB

2010-01-19 Thread Mark Knecht
On Mon, Jan 18, 2010 at 10:36 PM, Stroller
strol...@stellar.eclipse.co.uk wrote:

 On 19 Jan 2010, at 04:30, Mark Knecht wrote:

 ... Currently the disks are showing up as
 /dev/hda and I thought with newer kernels they were supposed to be
 /dev/sda. With my newest 2.6.32-gentoo-r1 it seems to be trying to be
 /sda, but with 2.6.32-gentoo it's coming up /hda. Bottom line question
 - can I dual list /dev/hda7 and /dev/sda7 in my fstab file so that
 which ever one I boot at least it finds something?

 Set labels on the filesystems. See Walt's post in the thread sata disk
 assignment mismatch... (16 January 2010 17:23:24 GMT).

 Stroller.

Yes - I ran across that idea in the Ubuntu forums last night.
(Actually Google pointed me to the Ubuntu forums. Disappointing it
didn't point me to Gentoo but I guess we're a much smaller crowd these
days.)

I'll give that a try later today.

cheers,
Mark



Re: [gentoo-user] X -configure find video drivers that do not exist

2010-01-19 Thread Neil Bothwick
On Tue, 19 Jan 2010 14:17:09 +0800, Xi Shen wrote:

 my system is gentoo amd64, with kde 4.3. previously, i installed more
 video drivers than i need, now i removed the unused ones. but each
 time when i ran 'X -configure', if can still find some of those video
 drivers and try to load them, and complains
 that the module does not exist. i guess some of the configuration of X
 is not updated. but i do not know which one.

That sounds more like X is detecting the hardware and trying to load the
module it thinks it needs for that hardware, which you have now unmerged.

Can you post the exact error message, X complains... doesn't give us
much to go on.


-- 
Neil Bothwick

They that can give up essential liberty to obtain a little
temporary safety, deserve neither liberty nor safety.
Benjamin Franklin


signature.asc
Description: PGP signature


Re: [gentoo-user] Devicekit - especially just for Dale

2010-01-19 Thread Neil Bothwick
On Tue, 19 Jan 2010 04:12:11 -0600, Dale wrote:

  I usually just do softlevel=single or that other one I got wrote
  down here somewhere.

  That turns off almost everything, whereas gentoo=nox does a normal
  startup of everything but xdm. Single mode has its uses but it's a bit
  of a sledgehammer for this particular nut.

 But I can emerge things and fix stuff.  That's all I need at the time.  

As long as you don't need LVM, dmcrypt or anythng else beyond the bare
minimum, that's true. But when X is the only problem, a method to disable
only X seems appropriate.


-- 
Neil Bothwick

If at first you don't succeed, work for Microsoft.


signature.asc
Description: PGP signature


Re: [gentoo-user] Devicekit - especially just for Dale

2010-01-19 Thread Neil Bothwick
On Tue, 19 Jan 2010 11:55:20 +, Peter Humphrey wrote:

  That turns off almost everything, whereas gentoo=nox does a normal
  startup of everything but xdm. Single mode has its uses but it's a bit
  of a sledgehammer for this particular nut.  
 
 Each of my machines has a no-x run level, which omits services such as
 X, dbus and hal but does start gpm, network services and (except on the 
 laptops) numlock. Saves me quite a bit of typing.

That's what I used to have, until I heard about the nox option. Now I
don't bother with maintaining another runlevel.


-- 
Neil Bothwick

Save the whales. Collect the whole set.


signature.asc
Description: PGP signature


Re: [gentoo-user] Devicekit - especially just for Dale

2010-01-19 Thread Neil Bothwick
On Tue, 19 Jan 2010 04:09:37 -0600, Dale wrote:

 I hope some manufacturers don't shoot themselves in the foot while 
 removing keys.  o_O

They'd have to be using a pretty extreme method of key removal for that
to be a risk :P


-- 
Neil Bothwick

Always proofread carefully to see if you any words out.


signature.asc
Description: PGP signature


Re: [gentoo-user] cupsd does not start at boot

2010-01-19 Thread Joseph

On 01/19/10 06:35, Stroller wrote:


On 19 Jan 2010, at 04:31, Joseph wrote:

I'm running xfce4 on two different machines (amd64) and on both 
machine cupsd does not start at boot.

What to do about it?

It start manually just fine, and during booting CUPSD shows as OK 
but when I login it is not running.


Look at the logs - post them here if you need help - there must be a 
reason it's not starting at that stage in the boot process.


Stroller.


That is the problem, messages log is not showing any entry so I have nothing to 
go with.

--
Joseph



Re: [gentoo-user] Re: kde wont log in user

2010-01-19 Thread Neil Bothwick
On Tue, 19 Jan 2010 02:59:58 + (UTC), James wrote:

 I've rebuilt these same packages over several times.

Are you rebuilding them with @preserved-rebuild or manually?

 I think the @preserved-rebuild tool is bonkers

It's a good idea, and much better than the old break it then fix it
approach with revdep-rebuild, but it does get itself confused
occasionally.


-- 
Neil Bothwick

Top Oxymorons Number 19: Passive aggression


signature.asc
Description: PGP signature


Re: [gentoo-user] [OT] Something like Webresearch for linux

2010-01-19 Thread Neil Bothwick
On Mon, 18 Jan 2010 18:58:37 -0600, Harry Putnam wrote:

 I wondered if anyone here knows of a linux tool that is similar to
 webresearch:
http://www.macropool.de/en/products/webresearch/index.html
 
 Its one of those clip and save from the internet (or whole pages) kind
 of things that allows you to make a hierarchy of folders and has some
 useful search capability (amongst the clipings I mean).

This sounds a little like kde-misc/basket.


-- 
Neil Bothwick

Secret hacker rule #11: hackers read manuals.


signature.asc
Description: PGP signature


[gentoo-user] help with transistioning to iSCSI

2010-01-19 Thread Doug O'Neal

This is not a gentoo-specific question but please bear with me.  The
computer center I run has a fairly large beowulf cluster, a set of
database servers, and several other specific-purpose servers for a
total of around 175 systems.  Currently there are a half-dozen servers
with local raid arrays used for home directories, which are NFS-exported
and mounted via autofs with LDAP tables.  For a variety of reasons, I am
getting several iSCSI arrays and some of the directories on the file
servers will be migrated to these arrays.  However, a few of the
direct-attach raids will remain as such. The iSCSI arrays will have OCFS
on them and will be mounted on most if not all of the servers. What I am
looking for is a manageable system of handling home directories. I see 3
different scenarios that need to be handled.

Case 1: A home directory is directly attached to hostA.  If the user logs
into either hostA or hostB, the directory should be automounted.

Case 2: A home directory is on an iSCSI array mounted on both hostA and
hostB.  When the user logs into either of these systems the home directory
should be automounted directly from the iSCSI mount.

Case 3: A home directory is on an iSCSI array mounted on both hostA and
hostB but not on hostC.  When the user logs into hostC, the home directory
should be automounted from one of the other two hosts.  I could probably
avoid this case with a some effort.


I can see a couple of solutions to handle all three cases but they are
all a pain to set up and manage.  I'm not tied to autofs if another
solution is easier and as reliable.  All of the systems in the center are
running gentoo and are kept up to date.  User authentication is also
handled through ldap so uid/gid consistency is not an issue.

I'd appreciate advice from anyone who has worked though this issue
already.  Thanks.




Re: [gentoo-user] cupsd does not start at boot

2010-01-19 Thread Alex Schuster
Joseph writes:

 On 01/19/10 06:35, Stroller wrote:
 On 19 Jan 2010, at 04:31, Joseph wrote:
 I'm running xfce4 on two different machines (amd64) and on both
 machine cupsd does not start at boot.
 What to do about it?
 
 It start manually just fine, and during booting CUPSD shows as OK
 but when I login it is not running.
 
 Look at the logs - post them here if you need help - there must be a
 reason it's not starting at that stage in the boot process.

 That is the problem, messages log is not showing any entry so I have
 nothing to go with.
 

Set LogLevel to debug in /etc/cups/cupsd.conf, and check 
/var/log/cups/error_log after booting. And maybe replacing --quiet by 
--verbose in /etc/init.d/cupsd will give some more information.

Wonko



[gentoo-user] Re: Smart Database

2010-01-19 Thread Harry Putnam
Jon Hardcastle jd_hardcas...@yahoo.com writes:

 Hi guys,

 I want to update my gentoo install to use the latest trunk version
 of the smartmontools drive database.

 Does anyone have any gentoo orientated guidance here? I have spoken
 to the chaps there and they say to run configure with
 '--enable-drivedb' and then copy over the the current SVN version of
 drivedb.h to DATADIR/smartmontools

 But i wonder where this fits into the wonderful world of gentoo and
 package management/

First... is the svn version really different than the ~ARCHITECTURE
version on portage?.. that is version 5.39

You can get that version by putting an tilde followed by your machine
architecture (on the cmd line if you don't want to run as development
version always) otherwise in /etc/make.conf
   for x86 it would look like:

   ~x86

Then you can add you configure argument (--enable-drivedb) using the
EXTRA_ECONF flag.  Which will tell gentoo to use that flag at
`./configure' time.

So the emerge command line would be something like this:

ACCEPT_KEYWORDS='~x86' EXTRA_ECONF='--enable-drivedb' \
  emerge -v smartmontools

(all on one line would be best)

Now if you really need to introduce drivedb.h from svn repostory then
you will need to go the overlay route... I think.   Someone more
knowledgable will be able to correct me .. I'm sure.

That process involves installing your own separate portage in some
other directory (/usr/local/portage) and using ebuild commands to
build your own version.

You would need to install `layman' for starters

In that case you could introduce any commands or files you like, and
process them with `ebuild'.

The process is not all that hard, but I better leave an explanation of
how to do it to someone here who is more familiar with it.

I've done it but only rarely... and last time was a while ago.




[gentoo-user] Re: Devicekit - especially just for Dale

2010-01-19 Thread Harry Putnam
Peter Humphrey pe...@humphrey.ukfsn.org writes:

 On Tuesday 19 January 2010 09:03:57 Neil Bothwick wrote:
 On Mon, 18 Jan 2010 18:21:18 -0600, Dale wrote:
  I usually just do softlevel=single or that other one I got wrote down
  here somewhere.
 
 That turns off almost everything, whereas gentoo=nox does a normal
 startup of everything but xdm. Single mode has its uses but it's a bit
 of a sledgehammer for this particular nut.

 Each of my machines has a no-x run level, which omits services such as X, 
 dbus and hal but does start gpm, network services and (except on the 
 laptops) numlock. Saves me quite a bit of typing.

Do you do this thru grub.conf then? 

Modification of the kernel line?

In fact, whatever way you do it, can you give somekind of example?




Re: [gentoo-user] Re: A quick test of su

2010-01-19 Thread Philip Webb
100118 walt wrote:
 On 01/18/2010 02:14 PM, Hilco Wijbenga wrote:
 2010/1/18 waltw41...@gmail.com:
 As an ordinary user, type 'su' at a bash prompt.  Now, where you
 would normally type your root password, just type Ctrl-d instead.
 su: Authentication information cannot be recovered
 Here is what I see on both machines:
 $su
 Password: = I type Ctrl-d here
 Segmentation fault

Different as always, what I get with Konsole Xterm Terminal(Xfce) is :

  499: ~ su
  Password: 500: ~

When I need to do things as root, I always use a dedicated root terminal,
which I have running on Desktop 7  for which I use the command (Fluxbox)
'terminal --geometry 178x52+0+0 --command su'.

Ah, I forgot: I have added to  ~/.bashrc  'IGNOREEOF=1 ; export IGNOREEOF',
which requires  2  ^d's to exit the terminal.  When I enter  2  ^d's
after the 'su' as above, I get

  501: ~ su
  Password: 502: ~ Use exit to leave the shell.
  502: ~

HTH

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Re: Devicekit - especially just for Dale

2010-01-19 Thread Dale

Harry Putnam wrote:

Peter Humphrey pe...@humphrey.ukfsn.org writes:

  

On Tuesday 19 January 2010 09:03:57 Neil Bothwick wrote:


On Mon, 18 Jan 2010 18:21:18 -0600, Dale wrote:
  

I usually just do softlevel=single or that other one I got wrote down
here somewhere.


That turns off almost everything, whereas gentoo=nox does a normal
startup of everything but xdm. Single mode has its uses but it's a bit
of a sledgehammer for this particular nut.
  
Each of my machines has a no-x run level, which omits services such as X, 
dbus and hal but does start gpm, network services and (except on the 
laptops) numlock. Saves me quite a bit of typing.



Do you do this thru grub.conf then? 


Modification of the kernel line?

In fact, whatever way you do it, can you give somekind of example?
  


Most likely he just creates a runlevel and then add the things he needs 
to that runlevel.  I did this once in the past and all I did was create 
a directory in /etc/runlevels and then use rc-update to add things to 
the runlevel.  I don't think you have to have a special tool to add 
the runlevel.


Once created, just add softlevel=name of runlevel here to the end of 
the boot line in grub.  It should boot to that runlevel.  Oh, no spaces 
between that either.  It should be all as one word.


That help any?

Dale

:-)  :-) 



Re: [gentoo-user] Devicekit - especially just for Dale

2010-01-19 Thread Dale

Neil Bothwick wrote:

On Tue, 19 Jan 2010 04:12:11 -0600, Dale wrote:

  

I usually just do softlevel=single or that other one I got wrote
down here somewhere.



  

That turns off almost everything, whereas gentoo=nox does a normal
startup of everything but xdm. Single mode has its uses but it's a bit
of a sledgehammer for this particular nut.
  


  
But I can emerge things and fix stuff.  That's all I need at the time.  



As long as you don't need LVM, dmcrypt or anythng else beyond the bare
minimum, that's true. But when X is the only problem, a method to disable
only X seems appropriate.

  


True since I don't use those.  I also like that it speeds things up 
since the only process running is mine.  I get back to a working system 
faster that way.  Whichever works is fine with me.  This is just my way 
of doing it.


Dale

:-)  :-) 



Re: [gentoo-user] Re: Smart Database

2010-01-19 Thread Jon Hardcastle

--- On Tue, 19/1/10, Harry Putnam rea...@newsguy.com wrote:

 From: Harry Putnam rea...@newsguy.com
 Subject: [gentoo-user]  Re: Smart Database
 To: gentoo-user@lists.gentoo.org
 Date: Tuesday, 19 January, 2010, 15:10
 Jon Hardcastle jd_hardcas...@yahoo.com
 writes:
 
  Hi guys,
 
  I want to update my gentoo install to use the latest
 trunk version
  of the smartmontools drive database.
 
  Does anyone have any gentoo orientated guidance here?
 I have spoken
  to the chaps there and they say to run configure with
  '--enable-drivedb' and then copy over the the current
 SVN version of
  drivedb.h to DATADIR/smartmontools
 
  But i wonder where this fits into the wonderful world
 of gentoo and
  package management/
 
 First... is the svn version really different than the
 ~ARCHITECTURE
 version on portage?.. that is version 5.39
 
 You can get that version by putting an tilde followed by
 your machine
 architecture (on the cmd line if you don't want to run as
 development
 version always) otherwise in /etc/make.conf
    for x86 it would look like:
 
    ~x86
 
 Then you can add you configure argument (--enable-drivedb)
 using the
 EXTRA_ECONF flag.  Which will tell gentoo to use that
 flag at
 `./configure' time.
 
 So the emerge command line would be something like this:
 
 ACCEPT_KEYWORDS='~x86' EXTRA_ECONF='--enable-drivedb' \
   emerge -v smartmontools
 
 (all on one line would be best)
 
 Now if you really need to introduce drivedb.h from svn
 repostory then
 you will need to go the overlay route... I
 think.   Someone more
 knowledgable will be able to correct me .. I'm sure.
 
 That process involves installing your own separate portage
 in some
 other directory (/usr/local/portage) and using ebuild
 commands to
 build your own version.
 
 You would need to install `layman' for starters
 
 In that case you could introduce any commands or files you
 like, and
 process them with `ebuild'.
 
 The process is not all that hard, but I better leave an
 explanation of
 how to do it to someone here who is more familiar with it.
 
 I've done it but only rarely... and last time was a while
 ago.
 
 
 

Hi,

Thanks for your input! Wow that is alot more complicated that I had hoped! 

I am already using the masked version of Smartmontools but the 5.39 version 
does not include 1 of the HDD I use and as I have got a whole load more of that 
exact model of drive on the way I would like it to. I have emailed the 
smartmontools maintainers and they added the drive 5 days ago, and hence is in 
the svn version. Hence me wanting to get the latest  version of the drive DB.






Re: [gentoo-user] cupsd does not start at boot

2010-01-19 Thread Joseph

On 01/19/10 16:12, Alex Schuster wrote:

Joseph writes:


On 01/19/10 06:35, Stroller wrote:
On 19 Jan 2010, at 04:31, Joseph wrote:
I'm running xfce4 on two different machines (amd64) and on both
machine cupsd does not start at boot.
What to do about it?

It start manually just fine, and during booting CUPSD shows as OK
but when I login it is not running.

Look at the logs - post them here if you need help - there must be a
reason it's not starting at that stage in the boot process.



That is the problem, messages log is not showing any entry so I have
nothing to go with.



Set LogLevel to debug in /etc/cups/cupsd.conf, and check
/var/log/cups/error_log after booting. And maybe replacing --quiet by
--verbose in /etc/init.d/cupsd will give some more information.

Wonko


Thanks, I just change info to debug in cupcd.conf and cupsd sript to 
--verbose
here is the output:

I [19/Jan/2010:09:39:31 -0700] Listening to ::1:631 (IPv6)
I [19/Jan/2010:09:39:31 -0700] Listening to 127.0.0.1:631 (IPv4)
I [19/Jan/2010:09:39:31 -0700] Listening to /var/run/cups/cups.sock (Domain)
I [19/Jan/2010:09:39:31 -0700] Remote access is disabled.
I [19/Jan/2010:09:39:31 -0700] Loaded configuration file /etc/cups/cupsd.conf
I [19/Jan/2010:09:39:31 -0700] Using default TempDir of /var/spool/cups/tmp...
I [19/Jan/2010:09:39:31 -0700] Configured for up to 100 clients.
I [19/Jan/2010:09:39:31 -0700] Allowing up to 100 client connections per host.
I [19/Jan/2010:09:39:31 -0700] Using policy default as the default!
I [19/Jan/2010:09:39:31 -0700] Full reload is required.
I [19/Jan/2010:09:39:31 -0700] Loaded MIME database from '/etc/cups': 35 types, 
39 filters...
I [19/Jan/2010:09:39:31 -0700] Loading job cache file 
/var/cache/cups/job.cache...
I [19/Jan/2010:09:39:31 -0700] Full reload complete.
I [19/Jan/2010:09:39:31 -0700] Cleaning out old temporary files in 
/var/spool/cups/tmp...
I [19/Jan/2010:09:39:31 -0700] Listening to ::1:631 on fd 4...
I [19/Jan/2010:09:39:31 -0700] Listening to 127.0.0.1:631 on fd 6...
I [19/Jan/2010:09:39:31 -0700] Listening to /var/run/cups/cups.sock on fd 7...
I [19/Jan/2010:09:39:31 -0700] Resuming new connection processing...
D [19/Jan/2010:09:39:31 -0700] Discarding unused server-started event...
D [19/Jan/2010:09:39:32 -0700] Report: clients=0
D [19/Jan/2010:09:39:32 -0700] Report: jobs=0
D [19/Jan/2010:09:39:32 -0700] Report: jobs-active=0
D [19/Jan/2010:09:39:32 -0700] Report: printers=0
D [19/Jan/2010:09:39:32 -0700] Report: printers-implicit=0
D [19/Jan/2010:09:39:32 -0700] Report: stringpool-string-count=165
D [19/Jan/2010:09:39:32 -0700] Report: stringpool-alloc-bytes=6080
D [19/Jan/2010:09:39:32 -0700] Report: stringpool-total-bytes=3592

I don't see anything in particular in here that would be stopping started cupsd 
script right after booting.

--
Joseph



Re: [gentoo-user] cupsd does not start at boot

2010-01-19 Thread Joseph

On 01/19/10 16:12, Alex Schuster wrote:

Joseph writes:


On 01/19/10 06:35, Stroller wrote:
On 19 Jan 2010, at 04:31, Joseph wrote:
I'm running xfce4 on two different machines (amd64) and on both
machine cupsd does not start at boot.
What to do about it?

It start manually just fine, and during booting CUPSD shows as OK
but when I login it is not running.

Look at the logs - post them here if you need help - there must be a
reason it's not starting at that stage in the boot process.



That is the problem, messages log is not showing any entry so I have
nothing to go with.



Set LogLevel to debug in /etc/cups/cupsd.conf, and check
/var/log/cups/error_log after booting. And maybe replacing --quiet by
--verbose in /etc/init.d/cupsd will give some more information.

Wonko


I think I've got something, there is part of the log that I did not post I 
thought it might be irrelevant, last section:

When I open a firefox with one of the tab pointing to:
localhost:631 (cups)
the cups is being shut down by: cupsdAcceptClient: 11

D [19/Jan/2010:09:39:59 -0700] cupsdAcceptClient: 11 from localhost:631 (IPv4)
D [19/Jan/2010:09:39:59 -0700] cupsdReadClient: 11 GET /favicon.ico HTTP/1.1
D [19/Jan/2010:09:39:59 -0700] cupsdAuthorize: No authentication data provided.
D [19/Jan/2010:09:39:59 -0700] cupsdCloseClient: 11
D [19/Jan/2010:09:39:59 -0700] cupsdCloseClient: -607871304

Who is cupsdAcceptClient: 11???

If the firebox tab is not pointing cup interface: localhost:631
cups starts and runs just fine.

Can any of you try it: open a tab localhost:631 (don't close the firefox) and 
restart your computer.
Is the cups still running after restarting?

--
Joseph



Re: [gentoo-user] run X.org inside VirtualBox

2010-01-19 Thread Crístian Viana
so you set VIDEO_CARDS=vesa? just that? and INPUT_DEVICES=keyboard
mouse? I'm using virtualbox on both variables and it's not working. I'll
try that as you said.

On Mon, Jan 18, 2010 at 3:01 AM, Xi Shen davidshe...@googlemail.com wrote:

 On Mon, Jan 18, 2010 at 6:27 AM, Crístian Viana
 cristiandei...@gmail.com wrote:
  hi!
  I'm running Gentoo inside VirtualBox (on a Windows host, if that matters)
  and I can't make X.org work. when I try X -configure it says it can't
 load
  the vboxvideo library. according to some Google searches, that library
  really doesn't work with the newest X.org. if that's really true, is
 there
  currently any combination of VirtualBox/X.org/Gentoo libraries to run
 X.org
  inside VirtualBox?
  I'm running ~x86, so now I have =x11-base/xorg-server-1.7.4,
  =app-emulation/virtualbox-guest-additions-3.1.0 (running at boot),
  =x11-drivers/xf86-input-virtualbox-3.1.0 and
  =x11-drivers/xf86-video-virtualbox-3.1.0. when I run X -configure, the
  error log shows:
  List of video drivers:
  vboxvideo
  dlopen: /usr/lib/xorg/modules/drivers/vboxvideo_drv.so: undefined symbol:
  resVgaShared
  (EE) Failed to load /usr/lib/xorg/modules/drivers/vboxvideo_drv.so
  (EE) Failed to load module vboxvideo (loader failed, 7)
  any hep would be appreciated.
  thanks!
 
  --
  Crístian Deives dos Santos Viana [aka CD1]
 


 maybe you can start the X without using the vboxvideo driver. that is
 what i did. actually i did not know we have a vboxvideo driver, so i
 just used the vesa, and it works very well. i can even enable the 3d
 acceleration and play with compiz fusion ;)


 --
 Best Regards,
 David Shen

 http://twitter.com/davidshen84/
 http://meme.yahoo.com/davidshen84/




-- 
Crístian Deives dos Santos Viana [aka CD1]


[gentoo-user] Re: A quick test of su [SOLVED]

2010-01-19 Thread walt

On 01/18/2010 04:41 PM, walt wrote:


Here is what I see on both machines:

$su
Password: = I type Ctrl-d here
Segmentation fault

I've traced this problem to the pam_ssh package, which is supposed
to return a charstring containing the typed password, but it instead
returns a null pointer when I type Ctrl-d. Calamity ensues.


The key here is the pam_ssh package, which apparently the rest of you
don't use for authentication.  I've added auth sufficient pam_ssh.so
to the pam system-auth file so I can ssh between local machines using
my ssh private key for authentication.

Thanks for testing.




[gentoo-user] {OT} Flashing BIOS with Windows utility

2010-01-19 Thread Grant
I need to update the BIOS on my Biostar motherboard, but the utility
is said to be Windows 2000 / XP / VISTA.  I've flashed the BIOS in
other systems by booting a FreeDOS CD, but that won't work for a
Windows (not DOS) flashing utility, will it?  I tried running the
utility via wine with no luck.

- Grant



[gentoo-user] Re: problem compiling Avahi

2010-01-19 Thread walt

On 01/19/2010 04:13 AM, SpaceCake wrote:

Hi,

I have problem to compile Avahi. As far as I see there was several bugs related 
to this package in the past, so I've tried to perform the steps in those bug 
reports to fix this issue (recompile python, python packages, playing with 
useflags etc).
Unfortunately I can't make it work, so I removed avahi from useflags, so my 
world compile is ok. However I would like to use it, so if anyone has any idea 
how can I fix it, it could be great

I think the most important part is

configure: error: Could not find Python module dbus

however dbus python is emerged and exists

however when I import module I've got this



ImportError: /usr/lib/python2.6/site-packages/_xmlplus/parsers/pyexpat.so: 
undefined symbol: PyUnicodeUCS2_Decode


An undefined symbol error means that something has changed since that library
was installed.  The solution is to re-install that library, which means 
re-install
the pyexpat package.  I'm guessing that revdep-rebuild would do that for you
automatically.  You might want to run redep-rebuild anyway because you may have
other broken libraries on your machine as well.




Re: [gentoo-user] {OT} Flashing BIOS with Windows utility

2010-01-19 Thread ubiquitous1980
Grant wrote:
 I need to update the BIOS on my Biostar motherboard, but the utility
 is said to be Windows 2000 / XP / VISTA.  I've flashed the BIOS in
 other systems by booting a FreeDOS CD, but that won't work for a
 Windows (not DOS) flashing utility, will it?  I tried running the
 utility via wine with no luck.

 - Grant

   
I'm not surprised wine won't work: it is a non privileged program
(besides its incomplete nature).  Does the flashing program open a cmd
session?



Re: [gentoo-user] Re: problem compiling Avahi

2010-01-19 Thread Arttu V.
On 1/19/10, walt w41...@gmail.com wrote:
 On 01/19/2010 04:13 AM, SpaceCake wrote:
 Hi,

 I have problem to compile Avahi. As far as I see there was several bugs
 related to this package in the past, so I've tried to perform the steps in
 those bug reports to fix this issue (recompile python, python packages,
 playing with useflags etc).
 Unfortunately I can't make it work, so I removed avahi from useflags, so
 my world compile is ok. However I would like to use it, so if anyone has
 any idea how can I fix it, it could be great

 I think the most important part is

 configure: error: Could not find Python module dbus

 however dbus python is emerged and exists

 however when I import module I've got this

 ImportError: /usr/lib/python2.6/site-packages/_xmlplus/parsers/pyexpat.so:
 undefined symbol: PyUnicodeUCS2_Decode

 An undefined symbol error means that something has changed since that
 library was installed.  The solution is to re-install that library, which 
 means
 re-install the pyexpat package.  I'm guessing that revdep-rebuild would do
 that for you automatically.  You might want to run redep-rebuild anyway
 because you may have other broken libraries on your machine as well.

I think the package is called pyxml? emerge -1 pyxml, then revdep-rebuild.

Also, OP should be aware of the USE flag changes for
ucs2/wide-unicode. A snippet from dev-lang/python's ChangeLog (also
see referred bug report):

  06 Dec 2009; Arfrever Frehtes Taifersar Arahesis arfre...@gentoo.org
  python-2.4.6.ebuild, python-2.5.4-r3.ebuild, python-2.6.2-r1.ebuild,
  python-2.6.2-r2.ebuild, python-2.6.3.ebuild, python-2.6.4.ebuild,
  python-3.1.1-r1.ebuild, metadata.xml:
  Remove ucs2 USE flag and add wide-unicode USE flag (bug #293135).

-- 
Arttu V.



Re: [gentoo-user] {OT} Flashing BIOS with Windows utility

2010-01-19 Thread Mark Knecht
On Tue, Jan 19, 2010 at 8:26 AM, Grant emailgr...@gmail.com wrote:
 I need to update the BIOS on my Biostar motherboard, but the utility
 is said to be Windows 2000 / XP / VISTA.  I've flashed the BIOS in
 other systems by booting a FreeDOS CD, but that won't work for a
 Windows (not DOS) flashing utility, will it?  I tried running the
 utility via wine with no luck.

 - Grant



http://www.tomshardware.com/reviews/windows-pocket,1113.html



Re: [gentoo-user] {OT} Flashing BIOS with Windows utility

2010-01-19 Thread Dirk Heinrichs
Am Dienstag 19 Januar 2010 17:26:40 schrieb Grant:
 I need to update the BIOS on my Biostar motherboard, but the utility
 is said to be Windows 2000 / XP / VISTA.  I've flashed the BIOS in
 other systems by booting a FreeDOS CD, but that won't work for a
 Windows (not DOS) flashing utility, will it?  I tried running the
 utility via wine with no luck.

Did you try the flashing utilities from the coreboot project?

HTH...

Dirk



[gentoo-user] Re: A quick test of su [SOLVED]

2010-01-19 Thread Nikos Chantziaras

On 01/19/2010 07:55 PM, walt wrote:

On 01/18/2010 04:41 PM, walt wrote:


Here is what I see on both machines:

$su
Password: = I type Ctrl-d here
Segmentation fault

I've traced this problem to the pam_ssh package, which is supposed
to return a charstring containing the typed password, but it instead
returns a null pointer when I type Ctrl-d. Calamity ensues.


The key here is the pam_ssh package, which apparently the rest of you
don't use for authentication.


Just a quick question: what do you need PAM for?  No it's not a 
rhetorical question.  I always wondered what PAM is good for; to find 
out, I completely removed everything PAM related from my system (-pam 
in make.conf and then rebuild everything and then depclean.)  The system 
works exactly the same as before.  So I'm left wondering what PAM was 
doing in the first place?





Re: [gentoo-user] A quick test of su

2010-01-19 Thread pk
Neil Bothwick wrote:
 On Mon, 18 Jan 2010 18:18:16 -0600, Dale wrote:
 
 Being my sometimes helpful self.  lol 

 Password:
 su: Authentication information cannot be recovered


 That normal I guess?
 
 Then I'm not! I get
 
 $ su
 Password: su: Authentication failure

Evil spirits? I get the ...cannot be recovered message...

Best regards

Peter K, abnormal?



Re: [gentoo-user] Devicekit - especially just for Dale

2010-01-19 Thread pk
Stroller wrote:

 Of course, I use Gentoo on my headless servers, so I am glad that server
 software - Dovecot or Courier for IMAP, Apache, Samba - all have
 plain-text configuration files I can edit with vim (which I have been
 learning to utilise better recently). But even if these switched to XML,
 a curses XML editor could easily be written.

Right. The problem is that that is yet another tool that's needed for
the job; quite unnecessarily so, as I see it.Keeping it plain text you
can use the tools available (even echo or cat would suffice).

Best regards

Peter K



Re: [gentoo-user] Re: About the change from /etc/X11/xorg.conf

2010-01-19 Thread pk
Dale wrote:

 I think it is hal that does this.  You can make up your own rules if you
 want, and can, to force it to do what you want.  Thing is, the config
 file is a mess.  It's xml and if you don't know xml, well, it ain't
 pretty.  The rules go into /etc/hal/ somewhere.  I don't use hal here so
 this is just info.

As I understand it, Harry wished to control X output (i.e. the virtual
screen size). As far as I know, all configuration for _output_ devices
is done in xorg.conf. HAL (if one is so inclined ;-) takes care of the
_input_ devices...

 I'm not going to get started on hal folks.  Just trying to point a
 little.  Relax and breathe.

Oh, please! I don't mind... ;-)

Best regards

Peter K



Re: [gentoo-user] {OT} Flashing BIOS with Windows utility

2010-01-19 Thread Grant
 I need to update the BIOS on my Biostar motherboard, but the utility
 is said to be Windows 2000 / XP / VISTA.  I've flashed the BIOS in
 other systems by booting a FreeDOS CD, but that won't work for a
 Windows (not DOS) flashing utility, will it?  I tried running the
 utility via wine with no luck.

 Did you try the flashing utilities from the coreboot project?

I looked into that, but the only Biostar motherboard in their list of
supported hardware is an old Pentium II/III:

http://www.coreboot.org/Supported_Motherboards

- Grant



Re: [gentoo-user] {OT} Flashing BIOS with Windows utility

2010-01-19 Thread Grant
 I need to update the BIOS on my Biostar motherboard, but the utility
 is said to be Windows 2000 / XP / VISTA.  I've flashed the BIOS in
 other systems by booting a FreeDOS CD, but that won't work for a
 Windows (not DOS) flashing utility, will it?  I tried running the
 utility via wine with no luck.

 - Grant


 I'm not surprised wine won't work: it is a non privileged program
 (besides its incomplete nature).  Does the flashing program open a cmd
 session?

Unfortunately no, just a little GUI.

- Grant



Re: [gentoo-user] {OT} Flashing BIOS with Windows utility

2010-01-19 Thread Grant
 I need to update the BIOS on my Biostar motherboard, but the utility
 is said to be Windows 2000 / XP / VISTA.  I've flashed the BIOS in
 other systems by booting a FreeDOS CD, but that won't work for a
 Windows (not DOS) flashing utility, will it?  I tried running the
 utility via wine with no luck.

 - Grant



 http://www.tomshardware.com/reviews/windows-pocket,1113.html

XP on a USB stick  It sounds like a Windows machine is necessary
to build it, but once it's built it would be really handy.

- Grant



Re: [gentoo-user] Re: A quick test of su [SOLVED]

2010-01-19 Thread Alan McKinnon
On Tuesday 19 January 2010 20:26:29 Nikos Chantziaras wrote:
 On 01/19/2010 07:55 PM, walt wrote:
  On 01/18/2010 04:41 PM, walt wrote:
  Here is what I see on both machines:
 
  $su
  Password: = I type Ctrl-d here
  Segmentation fault
 
  I've traced this problem to the pam_ssh package, which is supposed
  to return a charstring containing the typed password, but it instead
  returns a null pointer when I type Ctrl-d. Calamity ensues.
 
  The key here is the pam_ssh package, which apparently the rest of you
  don't use for authentication.
 
 Just a quick question: what do you need PAM for?  No it's not a
 rhetorical question.  I always wondered what PAM is good for; to find
 out, I completely removed everything PAM related from my system (-pam
 in make.conf and then rebuild everything and then depclean.)  The system
 works exactly the same as before.  So I'm left wondering what PAM was
 doing in the first place?
 

pam allows you to customize your authentication strategy, in a way somewhat 
similar to the windows model - load modules or whatever and a new auth scheme 
comes into play.

Without pam, you use the traditional unix authentication scheme for local 
login as done by (I think) login. Other auth-related packages run as root or 
suid root, use their own scheme to authenticate you then take appropriate 
action to give you what you want. sshd is a great example - with key-based 
auth it goes nowhere near your shadow entry yet still gives you a full-blown 
shell. This means that all auth packages must implement their own auth scheme, 
which can be problematic for the same reason that bundled zlib libraries are 
problematic - you don't always know they are there and if buggy represent a 
huge risk.

pam centralises that and gives an API that any package can link to for auth 
purposes. You have one set of auth libs in a known place that can be 
extensively audited for bugs, lack of. Plus pam is designed to be customizable 
so you the admin dictate how your auth works. If you need retina scanners, 
thumbprint readers, one-time passwords as well as shadow password to log in, 
then you configure pam to make it so (you will need drivers for those hardware 
scanners). Ridiculous example of course, but perfectly possible with pam.

Most distros ship a standard pam config that gives you exactly what unix-style 
auth and sshd did all along. So when you remove pam, you see no difference.

As an example, my Unix systems use short usernames and the company's AD uses 
firstname.surname for windows login names. We decided to force users to log 
onto the Cisco kit via a Linux gateway and to use the one-time-password gadget 
setup for the Juniper VPN as well. Users auth to the Linux gateways using ssh 
with an AD username, password and the token from the OTP fob and they 
miraculously get logged in to the Linux box with a *different* (short) 
username. That username is the same as the Cisco auth scheme (we can't change 
it due to limitations in the tacacs+ protocol). Without pam, this would have 
been exceptionally hard to do. So hard, that all of us refused to even begin, 
citing horrendous security risks. With pam, it was almost trivial - 20 lines 
of code.

So all the above is true but also a lot of marketing blurb. There are two 
downsides to pam:

The configuration is horrible and abstracted many more times than makes sense. 
You need to be very very careful that what you type is what you want. And 
coding authentication apps is very hard indeed, you need coders of very high 
skill to do it right.

The jury is still mostly out on whether pam achieved it's goals or not. Unix-
pam seems to mostly have got it right. Linux-pam is slapdash in comparison, no 
thanks to Red Hat's infamous pam_console.so. flameeyes is of the opinion that 
linux-pam should not really be suffered to live. I mostly agree with 
flameeyes. 

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] kmail/kontact display anomaly

2010-01-19 Thread Jim Cunning
I have noticed for a long time, and continuing with KDE 4.4, that 
kmail/kontact shows a bunch of small popup window boxes, each containing a 
single letter, whenever it's displaying a message and the control key is 
pressed and released.  Another depression/release of the control key removes 
the boxes.

I first noticed this with KDE 3.4 on OpenSUSE 10.3, and it has continued on 
gentoo with KDE 3.5 and now 4.4. An example of what I'm describing can be seen 
at http://cunning.ods.org/kmail-boxes.jpg

I couldn't get any useful hits on Google with the keywords I came up with.  
Has anyone seen this and/or know how to eliminate it?

Thanks,
-- 
Jim


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


Re: [gentoo-user] kmail/kontact display anomaly

2010-01-19 Thread Alan McKinnon
On Tuesday 19 January 2010 22:12:09 Jim Cunning wrote:
 I have noticed for a long time, and continuing with KDE 4.4, that
 kmail/kontact shows a bunch of small popup window boxes, each containing a
 single letter, whenever it's displaying a message and the control key is
 pressed and released.  Another depression/release of the control key
  removes the boxes.
 
 I first noticed this with KDE 3.4 on OpenSUSE 10.3, and it has continued on
 gentoo with KDE 3.5 and now 4.4. An example of what I'm describing can be
  seen at http://cunning.ods.org/kmail-boxes.jpg
 
 I couldn't get any useful hits on Google with the keywords I came up with.
 Has anyone seen this and/or know how to eliminate it?

Those are quick-link thingys that highlight clickable text in the mail. IIRC 
the intent is so you can type Ctrl-D and the browser will take you to the link 
labelled D

I used to have it, then I did something in System Settings or kmail's config 
and it went away. Go through both looking for options that mention Ctrl. I 
forget what it was, but do remember it was distinctly not obvious at the time.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] {OT} Flashing BIOS with Windows utility

2010-01-19 Thread Mark Knecht
On Tue, Jan 19, 2010 at 11:34 AM, Grant emailgr...@gmail.com wrote:
 I need to update the BIOS on my Biostar motherboard, but the utility
 is said to be Windows 2000 / XP / VISTA.  I've flashed the BIOS in
 other systems by booting a FreeDOS CD, but that won't work for a
 Windows (not DOS) flashing utility, will it?  I tried running the
 utility via wine with no luck.

 - Grant



 http://www.tomshardware.com/reviews/windows-pocket,1113.html

 XP on a USB stick  It sounds like a Windows machine is necessary
 to build it, but once it's built it would be really handy.

 - Grant



I keep one around. It works sometimes, as long as your Windows machine
hardware doesn't need anything terribly unique. It's helped me with
flashing firmware on RME sound cards. They require Windows also.

Just thought I'd mention it. It's a bit of work, but once it's done
you don't have to mess with Windows on the disk.

Good luck,
Mark



Re: [gentoo-user] Devicekit - especially just for Dale

2010-01-19 Thread BRM
- Original Message 

 From: Neil Bothwick n...@digimed.co.uk
 On Tue, 19 Jan 2010 01:09:16 +0200, Alan McKinnon wrote:
   XML is a machine-readable file format that just happens to use ASCII
   characters, it is not meant to be modified by a text editor, so if
   your program uses XML configuration files, it should include a means
   of editing those files that does not include the use of vim.  
  which almost by definition means you need an xml-information parser on
  par with an xml-parser to figure out what the hell the fields mean,
  then design an intelligent viewer-editor thingy that lets the user
  add-delete-change the information in the xml file. All the while
  displaying to the user at least some information about the fields in
  view.

Making the interface for the config file - XML or otherwise - is far more 
complex and cumbersome than writing the parser (XML or otherwise).

 Or a pretty GUI with clicky boxes to change the settings while never
 letting the user see the contents of the XML.

Once the user interface is in place it doesn't matter whether it is XML or 
something else.
The key is that is has a user interface, you can do a INI format and still be 
just as crappy.

The problem is that most don't think through using the XML so much. They just 
start using it.

While I have not had any problems with HAL myself (it just works); I do agree 
that a good user interface is necessary for the config files - I'd agree that 
is the case for any program, regardless of its back-end config file format.

$0.02

Ben




Re: [gentoo-user] Re: About the change from /etc/X11/xorg.conf

2010-01-19 Thread Dale

pk wrote:

Dale wrote:

  

I think it is hal that does this.  You can make up your own rules if you
want, and can, to force it to do what you want.  Thing is, the config
file is a mess.  It's xml and if you don't know xml, well, it ain't
pretty.  The rules go into /etc/hal/ somewhere.  I don't use hal here so
this is just info.



As I understand it, Harry wished to control X output (i.e. the virtual
screen size). As far as I know, all configuration for _output_ devices
is done in xorg.conf. HAL (if one is so inclined ;-) takes care of the
_input_ devices...

  

I'm not going to get started on hal folks.  Just trying to point a
little.  Relax and breathe.



Oh, please! I don't mind... ;-)

Best regards

Peter K

  


You been around here long enough to know about me and hal?  Surely not 
or you wouldn't be asking for it.  I have to admit, I'm not nearly as 
pissed as I was tho.  lol  I'm just not going to try putting it on here 
again.  It didn't work.  I couldn't configure the thing so that it 
would.  I removed it.  I better stop now.  ;-)


Dale

:-)  :-) 



Re: [gentoo-user] Devicekit - especially just for Dale

2010-01-19 Thread Alan McKinnon
On Tuesday 19 January 2010 22:36:45 BRM wrote:
  Or a pretty GUI with clicky boxes to change the settings while never
  letting the user see the contents of the XML.
 
 Once the user interface is in place it doesn't matter whether it is XML or
  something else. The key is that is has a user interface, you can do a INI
  format and still be just as crappy.
 

Classic examples are the windows registry editor and gconf. My god, I hate 
both. It seems like the devs just chomped an XML file and rotated it 90 
degrees to get an expandable tree view.

Which does absolutely nothing to aid my understanding of what goes where.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: About the change from /etc/X11/xorg.conf

2010-01-19 Thread Alan McKinnon
On Tuesday 19 January 2010 22:37:14 Dale wrote:
 You been around here long enough to know about me and hal?  Surely not 
 or you wouldn't be asking for it.  I have to admit, I'm not nearly as 
 pissed as I was tho.
 

nah, you just found a new target:

KDE-4


hehehehehehe



-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] kmail/kontact display anomaly

2010-01-19 Thread Neil Bothwick
On Tue, 19 Jan 2010 22:22:39 +0200, Alan McKinnon wrote:

 Those are quick-link thingys that highlight clickable text in the mail.
 IIRC the intent is so you can type Ctrl-D and the browser will take you
 to the link labelled D
 
 I used to have it, then I did something in System Settings or kmail's
 config and it went away. Go through both looking for options that
 mention Ctrl. I forget what it was, but do remember it was distinctly
 not obvious at the time.

I had the same problem turning it off on KDE3. It's a system setting,
Konqueror does the same. ISTR it's in the Accessibility section of
systemsettings.


-- 
Neil Bothwick

Error reading FAT record: Try the SKINNY one? (Y/N)


signature.asc
Description: PGP signature


Re: [gentoo-user] {OT} Flashing BIOS with Windows utility

2010-01-19 Thread Dirk Heinrichs
Am Dienstag 19 Januar 2010 20:23:53 schrieb Grant:
  I need to update the BIOS on my Biostar motherboard, but the utility
  is said to be Windows 2000 / XP / VISTA.  I've flashed the BIOS in
  other systems by booting a FreeDOS CD, but that won't work for a
  Windows (not DOS) flashing utility, will it?  I tried running the
  utility via wine with no luck.
 
  Did you try the flashing utilities from the coreboot project?
 
 I looked into that, but the only Biostar motherboard in their list of
 supported hardware is an old Pentium II/III:
 
 http://www.coreboot.org/Supported_Motherboards

That's the list of supported boards for coreboot itself. I was talking about 
their flashrom tool (www.flashrom.org).

Bye...

Dirk



[gentoo-user] Re: Smart Database

2010-01-19 Thread Harry Putnam
Jon Hardcastle jd_hardcas...@yahoo.com writes:

 Thanks for your input! Wow that is alot more complicated that I had
 hoped!

 I am already using the masked version of Smartmontools but the 5.39
 version does not include 1 of the HDD I use and as I have got a
 whole load more of that exact model of drive on the way I would like
 it to. I have emailed the smartmontools maintainers and they added
 the drive 5 days ago, and hence is in the svn version. Hence me
 wanting to get the latest version of the drive DB.

Well what I call hard may not be that hard to you... I'll admit to not
being the brightest bulb on the Xmas tree... but I was able to do it
without too much time lost.

I suggest you ask about a walk thru for doing an overlay and custom
build of smartmontools.

Maybe a direct subject line like 
  Subject: Pointers to the Basics of custom building a pkg (ebuild
  cmds)

Then lay out again what you want to do.

Someone will help shortly... There is probably a nice gentoo website
that explains it all that someone will no doubt send you too.

All I see offhand is the section of the hanbook here (for x86):
 http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1

Under the heading:
# Working with Portage

But that isn't really enough.. and much of it isn't needed.

It really boils down to Setting up the overlay (your own portage).

Which needn't be any more than:

  mkdir -p /usr/local/portage/sys-apps

Then copy the contents of the needed  directory that is under
/usr/portage.
 
 cp -a /usr/portage/sys-apps/smartmontools /usr/local/portage/sys-apps

That is a hefty good start... from there it is only a handful of ebuild
commands that do the work, and knowing where to put the svn build
files.

You might as well use the full svn checkout and build from that rather
than just sticking in the one *.h file.

You will need to tell emerge where to look for your build and I think
you may need layman installed.. although not sure on that point.

If you install layman, it will create some of the needed hierarchy
too, then

  echo source /anex/usr/local/portage/layman/make.conf  /etc/make.conf

(of course, make sure to use:
  The  non-destructive `' redirect  intead of `') 

There is more to it, but again its really a small amount of knowledge
needed to do what you are after now running a large custom overlay
may be anther story...

Of course another route is to build from the svn pkgs and ignore
emerge.  It should build ok... I'd think.  Then just keep the binaries
in /usr/local/bin and maybe later on, portage will catch up to the
stuff you need and at that point... emerge it.

There is no harm to the system in having a few home built pkgs long as
you don't get so many you forget what is what.

Of coures there is always some chance of confusion too when deviating from
the built in software installing tools.




Re: [gentoo-user] Re: About the change from /etc/X11/xorg.conf

2010-01-19 Thread Dale

Alan McKinnon wrote:

On Tuesday 19 January 2010 22:37:14 Dale wrote:
  
You been around here long enough to know about me and hal?  Surely not 
or you wouldn't be asking for it.  I have to admit, I'm not nearly as 
pissed as I was tho.





nah, you just found a new target:

KDE-4


hehehehehehe

  


I like KDE 4.  It just doesn't do what I need it to do just yet.  I 
believe it will once the devs get around to fixing or adding some more 
code.  They just expect to much out of it yet and dropped what was 
working to soon.


Dale

:-)  :-) 



Re: [gentoo-user] {OT} Flashing BIOS with Windows utility

2010-01-19 Thread Stroller


On 19 Jan 2010, at 18:24, Mark Knecht wrote:


On Tue, Jan 19, 2010 at 8:26 AM, Grant emailgr...@gmail.com wrote:

I need to update the BIOS on my Biostar motherboard, but the utility
is said to be Windows 2000 / XP / VISTA.  I've flashed the BIOS in
other systems by booting a FreeDOS CD, but that won't work for a
Windows (not DOS) flashing utility, will it?  I tried running the
utility via wine with no luck.


http://www.tomshardware.com/reviews/windows-pocket,1113.html


Isn't it the case that you need Windows to install that?

Yay! I love recursion!

Stroller.





Re: [gentoo-user] {OT} Flashing BIOS with Windows utility

2010-01-19 Thread Grant
 I need to update the BIOS on my Biostar motherboard, but the utility
 is said to be Windows 2000 / XP / VISTA.  I've flashed the BIOS in
 other systems by booting a FreeDOS CD, but that won't work for a
 Windows (not DOS) flashing utility, will it?  I tried running the
 utility via wine with no luck.

 - Grant



 http://www.tomshardware.com/reviews/windows-pocket,1113.html

 XP on a USB stick  It sounds like a Windows machine is necessary
 to build it, but once it's built it would be really handy.

 - Grant



 I keep one around. It works sometimes, as long as your Windows machine
 hardware doesn't need anything terribly unique. It's helped me with
 flashing firmware on RME sound cards. They require Windows also.

 Just thought I'd mention it. It's a bit of work, but once it's done
 you don't have to mess with Windows on the disk.

 Good luck,
 Mark

Hi Mark,

What's wrong with hardware that needs unique software?  Doesn't the
USB key work just like XP on an HD?

- Grant



Re: [gentoo-user] {OT} Flashing BIOS with Windows utility

2010-01-19 Thread Stroller


On 19 Jan 2010, at 19:34, Grant wrote:

...
XP on a USB stick  It sounds like a Windows machine is necessary
to build it, but once it's built it would be really handy.


I have found my attempts at building this or a CD-based PE very  
frustrating indeed. It seems like an awful lot of aggro when you could  
just download exactly the same thing that someone else has already  
built, if only the license permitted it.


Perhaps it's just seemed like a lot of work because it's never been a  
goal of mine to make a bootable Windows CD or USB stick - I've always  
been trying to build them in order to help me achieve some other goal,  
and it's been far more faffing about that I've been prepared to  
tolerate.


There used  to be plenty of PE builds available by the usual pirate  
sites, but I have no idea whether that's still the case. I seem to be  
getting more efficient at not needing them.


Stroller.
 
 



Re: [gentoo-user] {OT} Flashing BIOS with Windows utility

2010-01-19 Thread Grant
  I need to update the BIOS on my Biostar motherboard, but the utility
  is said to be Windows 2000 / XP / VISTA.  I've flashed the BIOS in
  other systems by booting a FreeDOS CD, but that won't work for a
  Windows (not DOS) flashing utility, will it?  I tried running the
  utility via wine with no luck.
 
  Did you try the flashing utilities from the coreboot project?

 I looked into that, but the only Biostar motherboard in their list of
 supported hardware is an old Pentium II/III:

 http://www.coreboot.org/Supported_Motherboards

 That's the list of supported boards for coreboot itself. I was talking about
 their flashrom tool (www.flashrom.org).

I should be able to use flashrom to flash my motherboard's BIOS?  Do I
need to check compatibility, or do I just go for it?

- Grant



Re: [gentoo-user] Re: Smart Database

2010-01-19 Thread Stroller


On 19 Jan 2010, at 16:44, Jon Hardcastle wrote:
... the HDD I use and as I have got a whole load more of that exact  
model of drive on the way I would like it to.


You know that using a whole load of the same disk increases the  
likelihood of simultaneous failure, right?


I'm sure you do know this. Clearly you don't intend to use these  
drives in a RAID array... but in a RAID array (or an LV group?) one  
should shop for drives of *different* manufacturers, models or  
factories.


Stroller.




[gentoo-user] Sansa Clip+ no device for expansion card

2010-01-19 Thread Michael George
I just got a Sansa Clip+ and when I plug it into my gentoo box, it sees
the device as mass-storage, creates /dev/sdc, and I can mount it as vfat
and put songs on it.  That's all fine.

However, I put an expansion micro-SD card into it.  The player sees it
fine.  When I plug the player into my Mac, it puts two devices on the
desktop.  When I plug it into my Linux box, /var/log/messages only lists
/dev/sdc (not /dev/sdc and /dev/sdd as I expected) being created.

I can plug another USB device in and /dev/sdd is created, so there's
nothing keeping the system from creating /dev/sdd.  I have it's USB
mode set to MSC.

What else could be keeping it from seeing the expansion card?

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.




[gentoo-user] Re: kde wont log in user

2010-01-19 Thread James
Neil Bothwick neil at digimed.co.uk writes:

 
 On Tue, 19 Jan 2010 02:59:58 + (UTC), James wrote:
 
  I've rebuilt these same packages over several times.
 
 Are you rebuilding them with @preserved-rebuild or manually?
with this 'emerge @preserved-rebuild'
i.e. the tool.

  I think the @preserved-rebuild tool is bonkers
 
 It's a good idea, and much better than the old break it then fix it
 approach with revdep-rebuild, but it does get itself confused
 occasionally.


Ok it's borked, what do I do?

I still think I need some minimalistic /etc/X/xorg.conf
with this dell laptop




James







Re: [gentoo-user] Sansa Clip+ no device for expansion card

2010-01-19 Thread James Ausmus
On Tue, Jan 19, 2010 at 3:43 PM, Michael George geo...@mutualdata.comwrote:

 I just got a Sansa Clip+ and when I plug it into my gentoo box, it sees
 the device as mass-storage, creates /dev/sdc, and I can mount it as vfat
 and put songs on it.  That's all fine.

 However, I put an expansion micro-SD card into it.  The player sees it
 fine.  When I plug the player into my Mac, it puts two devices on the
 desktop.  When I plug it into my Linux box, /var/log/messages only lists
 /dev/sdc (not /dev/sdc and /dev/sdd as I expected) being created.

 I can plug another USB device in and /dev/sdd is created, so there's
 nothing keeping the system from creating /dev/sdd.  I have it's USB
 mode set to MSC.

 What else could be keeping it from seeing the expansion card?


Probably kernel config - check to make sure you enabled Probe all LUNs on
each SCSI device - under Device Drivers-SCSI device support

-James


Re: [gentoo-user] Re: Devicekit - especially just for Dale

2010-01-19 Thread Peter Humphrey
On Tuesday 19 January 2010 15:15:20 Harry Putnam wrote:

 In fact, whatever way you do it, can you give some kind of example?

No trouble. Here's a section of my grub.conf:

-
title=Gentoo Linux 2.6.32-r1
root (hd0,0)
kernel /boot/kernel-x86_64-2.6.32-gentoo-r1 root=/dev/sda5 vga=0x31A 
video=vesafb:mtrr:3,ywrap fbcon=scrollback:128k splash=silent

title=Gentoo Linux 2.6.32-r1, no X
root (hd0,0)
kernel /boot/kernel-x86_64-2.6.32-gentoo-r1 root=/dev/sda5 vga=0x317 
video=vesafb:mtrr:3,ywrap splash=silent softlevel=no-x

title=Gentoo Linux 2.6.32-r1, no network
root (hd0,0)
kernel /boot/kernel-x86_64-2.6.32-gentoo-r1 root=/dev/sda5 vga=0x317 
video=vesafb:mtrr:3,ywrap splash=silent softlevel=nonetwork
-

See? I don't have to remember any options, I just key up or down to the 
config I want. Easy.

-- 
Rgds
Peter.




Re: [gentoo-user] Re: About the change from /etc/X11/xorg.conf

2010-01-19 Thread Neil Bothwick
On Tue, 19 Jan 2010 16:31:09 -0600, Dale wrote:

 I like KDE 4.  It just doesn't do what I need it to do just yet.  I 
 believe it will once the devs get around to fixing or adding some more 
 code.  They just expect to much out of it yet and dropped what was 
 working to soon.

If it was working, there was no development to stop :P


-- 
Neil Bothwick

A clean desk is a sign of a cluttered desk drawer.


signature.asc
Description: PGP signature


Re: [gentoo-user] Sansa Clip+ no device for expansion card

2010-01-19 Thread Neil Bothwick
On Tue, 19 Jan 2010 18:43:35 -0500, Michael George wrote:

 However, I put an expansion micro-SD card into it.  The player sees it
 fine.  When I plug the player into my Mac, it puts two devices on the
 desktop.  When I plug it into my Linux box, /var/log/messages only lists
 /dev/sdc (not /dev/sdc and /dev/sdd as I expected) being created.

Make sure you have CONFIG_SCSI_MULTI_LUN=y in your kernel config.


-- 
Neil Bothwick

[unwieldy legal disclaimer would go here - feel free to type your own]


signature.asc
Description: PGP signature


Re: [gentoo-user] {OT} Flashing BIOS with Windows utility

2010-01-19 Thread Mark Knecht
On Tue, Jan 19, 2010 at 2:52 PM, Stroller
strol...@stellar.eclipse.co.uk wrote:

 On 19 Jan 2010, at 18:24, Mark Knecht wrote:

 On Tue, Jan 19, 2010 at 8:26 AM, Grant emailgr...@gmail.com wrote:

 I need to update the BIOS on my Biostar motherboard, but the utility
 is said to be Windows 2000 / XP / VISTA.  I've flashed the BIOS in
 other systems by booting a FreeDOS CD, but that won't work for a
 Windows (not DOS) flashing utility, will it?  I tried running the
 utility via wine with no luck.

 http://www.tomshardware.com/reviews/windows-pocket,1113.html

 Isn't it the case that you need Windows to install that?

 Yay! I love recursion!

 Stroller.


Yep - it's absolutely recursive. However how can you use Windows if
you don't own a copy to use? I have licenses. If someone doesn't have
a license then this isn't a good solution.

- Mark



Re: [gentoo-user] {OT} Flashing BIOS with Windows utility

2010-01-19 Thread Mark Knecht
On Tue, Jan 19, 2010 at 2:55 PM, Grant emailgr...@gmail.com wrote:
 I need to update the BIOS on my Biostar motherboard, but the utility
 is said to be Windows 2000 / XP / VISTA.  I've flashed the BIOS in
 other systems by booting a FreeDOS CD, but that won't work for a
 Windows (not DOS) flashing utility, will it?  I tried running the
 utility via wine with no luck.

 - Grant



 http://www.tomshardware.com/reviews/windows-pocket,1113.html

 XP on a USB stick  It sounds like a Windows machine is necessary
 to build it, but once it's built it would be really handy.

 - Grant



 I keep one around. It works sometimes, as long as your Windows machine
 hardware doesn't need anything terribly unique. It's helped me with
 flashing firmware on RME sound cards. They require Windows also.

 Just thought I'd mention it. It's a bit of work, but once it's done
 you don't have to mess with Windows on the disk.

 Good luck,
 Mark

 Hi Mark,

 What's wrong with hardware that needs unique software?  Doesn't the
 USB key work just like XP on an HD?

 - Grant


Sure, but if you set this up on one machine and then try to use it on
another machine that has different hardware then it may or may not
work. My experience is mostly it doesn't.

I've wanted to learn to set up a little library of USB images of which
I'd load the one I wanted into the flash drive when I needed it, but
the flash drives are so cheap these days that it's just easier to have
5 or 6 of them laying around. Then the only problem is remembering
which one works with a specific machine.

- Mark



Re: [gentoo-user] Still not feeling familiar with emerge

2010-01-19 Thread hkml
Hi Alan,

thanks for your reply and sorry for the late response (I was kind of offline).

 Everything above this line is fascinating but completely unrelated to your 
 post. Please omit such in future
I just wanted to motivate that I didn't just install gentoo and then ask my
questions immediately without trying to solve them by myself. But okay: no
social 1.0 here^C

 For me some of the messages are mysterious. What is e.g. the exact meaning
  of the four components in
  ('ebuild', '/', 'net-wireless/bluez-4.39-r2', 'merge') or
  ('installed', '/', 'kde-base/akregator-3.5.10', 'nomerge')
 
 It's just a statement that something will be merged, followed by the packages 
 that caused it to be merged. It's all usually of the form
 
 exact package pulled in by
 package spec from an ebuild
 pulled in by
 something else
Okay, but what does e.g. the second component '/' in the above messages mean?
The first component probably denotes, if the packet is already installed or
about to be installed, but what is the 'merge' vs. 'nomerge' thing?

 How should I resolve the conflict...
 Actually, you removed the relevant part of the output and didn't post it, so 
 now we can't help you.
Yes, sorry for that.

 Please repost the full output.
Thanks for the offer, but the full output was extremely long. I was in a fatal
mood last weekend and decided to backup my gentoo system and then to cleanup
like you proposed. It took till today.

 When you identify the blocker, you have to ask yourself some intelligent 
 questions, like:
 
 portage wants to merge packages A and B, but the ebuilds say that A and B 
 cannot be installed together. What is pulling in A and what is pulling in B, 
 and why? It might be a hard dependency, it might be a USE flag issue, it 
 might 
 be that the package is in world. Also learn how to read ebuilds
Well, just to give you an example: when solving the blocking states last 
weekend,
emerge told me about a conflict between e2fsck and whatsoever other package. So 
I
again tried to solve that by trying to uninstall e2fsck, see what happens and
then reinstall again before the next boot process. And that's exactly what I did
the last time, when I left my system unusable. After uninstalling you can't 
emerge,
scp or mount anything because of missing dynamic library libcom_err.so.2. 
Emerge gives you a
warning, when you try to unmerge, but it doesn't say that it's simply 
committing suicide.

 Inspect you world file and unmerge everything related the KDE-3.5. Then run a 
 --depclean o remove dependencies not in world, then run emerge -uND world and 
 double check that nothing kde-3.5 related is pulled in. Rinse and repeat till 
 this is true.
I tried the --depclean/-uND world stuff and later on several packets failed 
building
because they were missing my kernel tree. I had to copy it from the backup. 
Strange.

 Maybe someone can explain how to proceed best. Are there some things I can
  check using equery or whatsoever to support my decisions? I'm feeling
  unsure how to handle these problems keeping the risk to leave my system
  (partially) unusable as small as possible. Maybe someone can give me a
  hint, where to find more information about how to handle conflicts in the
  packaging system.
 
 Before anyone explains to you how to drive gentoo, you should help yourself 
 first:
 
 1. Re-read the install document. All of it. Maybe read it three times.
 
 2. Read the man pages, all of them, several times. You can find this list 
 withequery files portage and looking for files under /usr/share/man
 
 
 There is no easy way through this, you have to understand how portage and 
 it's 
 builds work and that involves study on your part.
Well, I didn't ask for getting explained how to drive gentoo. It's running for
several years now, but I'm aware that I'm simply using emerge without 
understanding
some details. I asked for some info (e.g. best practices or examples) or some
hints where I can find more than in the man pages. I want to understand better
how portage works, but I don't find it easy to get the knowledge from reading 
the
manpages (how often soever).

Cheers, Heinz



Re: [gentoo-user] Sansa Clip+ no device for expansion card

2010-01-19 Thread Michael George
On Tue, Jan 19, 2010 at 04:15:42PM -0800, James Ausmus wrote:
 On Tue, Jan 19, 2010 at 3:43 PM, Michael George geo...@mutualdata.comwrote:
 
  I just got a Sansa Clip+ and when I plug it into my gentoo box, it sees
  the device as mass-storage, creates /dev/sdc, and I can mount it as vfat
  and put songs on it.  That's all fine.
 
  However, I put an expansion micro-SD card into it.  The player sees it
  fine.  When I plug the player into my Mac, it puts two devices on the
  desktop.  When I plug it into my Linux box, /var/log/messages only lists
  /dev/sdc (not /dev/sdc and /dev/sdd as I expected) being created.
 
  I can plug another USB device in and /dev/sdd is created, so there's
  nothing keeping the system from creating /dev/sdd.  I have it's USB
  mode set to MSC.
 
  What else could be keeping it from seeing the expansion card?
 
 
 Probably kernel config - check to make sure you enabled Probe all LUNs on
 each SCSI device - under Device Drivers-SCSI device support

Ah, I checked and I didn't have that option set.  I'll change it,
rebuild, and reboot.

Thanks to all who answered!

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.




Re: [gentoo-user] Re: kde wont log in user

2010-01-19 Thread ubiquitous1980
James wrote:
 Neil Bothwick neil at digimed.co.uk writes:

   
 On Tue, 19 Jan 2010 02:59:58 + (UTC), James wrote:

 
 I've rebuilt these same packages over several times.
   
 Are you rebuilding them with @preserved-rebuild or manually?
 
 with this 'emerge @preserved-rebuild'
 i.e. the tool.

   
 I think the @preserved-rebuild tool is bonkers
   
 It's a good idea, and much better than the old break it then fix it
 approach with revdep-rebuild, but it does get itself confused
 occasionally.
 


 Ok it's borked, what do I do?

 I still think I need some minimalistic /etc/X/xorg.conf
 with this dell laptop




 James





   
I know I'm coming in half way here, but have you logged in using kdm or
just straight in via the cli?



Re: [gentoo-user] Re: About the change from /etc/X11/xorg.conf

2010-01-19 Thread Dale

Neil Bothwick wrote:

On Tue, 19 Jan 2010 16:31:09 -0600, Dale wrote:

  
I like KDE 4.  It just doesn't do what I need it to do just yet.  I 
believe it will once the devs get around to fixing or adding some more 
code.  They just expect to much out of it yet and dropped what was 
working to soon.



If it was working, there was no development to stop :P

  


Yea there was.  Even security issues need to be fixed.  What is secure 
today will have a hole tomorrow.  There is always something to fix.  I 
do agree that no new features should have been worked on tho.  Just 
maintain what was already there.


Dale

:-)  :-) 



[gentoo-user] Re: Devicekit - especially just for Dale

2010-01-19 Thread Harry Putnam
Peter Humphrey pe...@humphrey.ukfsn.org writes:

 See? I don't have to remember any options, I just key up or down to the 
 config I want. Easy.

Nice... thanks




Re: [gentoo-user] kmail/kontact display anomaly

2010-01-19 Thread Jim Cunning
On Tuesday 19 January 2010 12:50:32 Neil Bothwick wrote:
 On Tue, 19 Jan 2010 22:22:39 +0200, Alan McKinnon wrote:
  Those are quick-link thingys that highlight clickable text in the mail.
  IIRC the intent is so you can type Ctrl-D and the browser will take you
  to the link labelled D
 
  I used to have it, then I did something in System Settings or kmail's
  config and it went away. Go through both looking for options that
  mention Ctrl. I forget what it was, but do remember it was distinctly
  not obvious at the time.
 
 I had the same problem turning it off on KDE3. It's a system setting,
 Konqueror does the same. ISTR it's in the Accessibility section of
 systemsettings.
 
OK, thanks for the guidance.

Alan, I was at first confused by your response, and as a test tried, for 
example, to enter Ctrl-letter for whatever lettered link I wanted to follow. 
Didn't work--when I pressed Ctrl the first time to display the letter boxes, 
then pressed Ctrl-H (when an H box was displayed), the boxes disappeared as 
soon as I depressed Ctrl, and with that still pressed, pressing H did 
nothing.  Butif I press and release Ctrl to display the letter boxes, and 
then press one of the letters (upper/lower case didn't matter), the nearby 
text link was activated.  In kmail I was able to select mailto:, http:, and 
https: links to open a compose window in kmail or a new web page my firefox 
browser.

Firefox does not exhibit this behavior, but konqueror does in the same way as 
kmail.  I couldn't find any other kxxx utilities with the same behavior, 
though.

At least now I know how to use this feature, but unfortunately, I can find 
nothing in the KDE menu System Settings under the General or Advanced tab 
that appears to enable or even modify this behavior.  Any other suggested 
places to look?
-- 
Jim


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


[gentoo-user] squid - allowing only one domain

2010-01-19 Thread Joseph

I'm testing squid and want to allow only one domain but it is not working 
(using iptable + squid)
iptable:
ACCEPT tcp  --  anywhere anywheretcp dpt:http owner 
UID match squid
ACCEPT tcp  --  anywhere anywheretcp dpt:3128 owner 
UID match squid
REDIRECT   tcp  --  anywhere anywheretcp dpt:http redir 
ports 3128

squid:
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS

acl GOOD dstdomain .google.ca
http_access allow GOOD
http_access deny all

Why it doesn't work?

Squid access log entry:
1263964263.464  0 192.168.1.5 NONE/400 1828 GET / - NONE/- text/html

--
Joseph



[gentoo-user] VirtualBox, Gentoo, and USB thumb drives

2010-01-19 Thread David Relson
I've been using VirtualBox recently with 32-bit Ubuntu for a work
project. It seems that whenever my thumb drive is moved between host and
guest operating system, Gentoo is mounts it as a new device (see
below).  Can these extra device mounts be avoided?

Regards,

David

osage relson # df -h 
FilesystemSize  Used Avail Use% Mounted on
/dev/sda1  99M   17M   78M  18% /boot
/dev/sda4 437G  226G  189G  55% /
/dev/sdb1 466G  259G  208G  56% /mnt/usbhd
/dev/sdc  7.5G  2.7G  4.8G  36% /mnt/usbkey
/dev/sdd  7.5G  2.7G  4.8G  36% /mnt/usbkey
/dev/sde  7.5G  2.7G  4.8G  36% /mnt/usbkey
/dev/sdf  7.5G  2.7G  4.8G  36% /mnt/usbkey
/dev/sdg  7.5G  2.7G  4.8G  36% /mnt/usbkey
/dev/sdh  7.5G  2.7G  4.8G  36% /mnt/usbkey
/dev/sdi  7.5G  2.7G  4.8G  36% /mnt/usbkey
/dev/sdj  7.5G  2.7G  4.8G  36% /mnt/usbkey
/dev/sdk  7.5G  2.7G  4.8G  36% /mnt/usbkey



Re: [gentoo-user] Sound in KDE-4

2010-01-19 Thread Xi Shen
On Wed, Jan 13, 2010 at 8:45 AM, Peter Humphrey
pe...@humphrey.ukfsn.org wrote:
 On Tuesday 12 January 2010 14:50:40 bn wrote:

 Seeing you're using (like me) an Intel HDA... have you selected the
 correct *codec* in your kernel? I had trouble with my sound card until I
 figured that out.

 Ah, now that is a revelation. I discovered, to my astonishment, that I have
 a Via codec. In an Intel chip-set? Weird. Never mind.

 So I enabled the Via codec in the kernel config and rebooted, but it made no
 difference. So I took the blunderbuss approach and enabled all the available
 codecs. Still no improvement.

 Back to square one. I still have no idea what's wrong with my sound system.

 Thanks for suggestions so far...

 --
 Rgds
 Peter.




did you compile your sound drivers into the kernel, or as a module. i
had a similar issue before on my thinkpad t61. i compiled all the
intel-hd related sound drivers into the kernel, but the sound system
does not work. but after i compile them as modules, the sound works
very well.


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/
http://meme.yahoo.com/davidshen84/



Re: [gentoo-user] run X.org inside VirtualBox

2010-01-19 Thread Xi Shen
On Wed, Jan 20, 2010 at 1:10 AM, Crístian Viana
cristiandei...@gmail.com wrote:
 so you set VIDEO_CARDS=vesa? just that? and INPUT_DEVICES=keyboard
 mouse? I'm using virtualbox on both variables and it's not working. I'll
 try that as you said.

 On Mon, Jan 18, 2010 at 3:01 AM, Xi Shen davidshe...@googlemail.com wrote:

 On Mon, Jan 18, 2010 at 6:27 AM, Crístian Viana
 cristiandei...@gmail.com wrote:
  hi!
  I'm running Gentoo inside VirtualBox (on a Windows host, if that
  matters)
  and I can't make X.org work. when I try X -configure it says it can't
  load
  the vboxvideo library. according to some Google searches, that library
  really doesn't work with the newest X.org. if that's really true, is
  there
  currently any combination of VirtualBox/X.org/Gentoo libraries to run
  X.org
  inside VirtualBox?
  I'm running ~x86, so now I have =x11-base/xorg-server-1.7.4,
  =app-emulation/virtualbox-guest-additions-3.1.0 (running at boot),
  =x11-drivers/xf86-input-virtualbox-3.1.0 and
  =x11-drivers/xf86-video-virtualbox-3.1.0. when I run X -configure, the
  error log shows:
  List of video drivers:
          vboxvideo
  dlopen: /usr/lib/xorg/modules/drivers/vboxvideo_drv.so: undefined
  symbol:
  resVgaShared
  (EE) Failed to load /usr/lib/xorg/modules/drivers/vboxvideo_drv.so
  (EE) Failed to load module vboxvideo (loader failed, 7)
  any hep would be appreciated.
  thanks!
 
  --
  Crístian Deives dos Santos Viana [aka CD1]
 


 maybe you can start the X without using the vboxvideo driver. that is
 what i did. actually i did not know we have a vboxvideo driver, so i
 just used the vesa, and it works very well. i can even enable the 3d
 acceleration and play with compiz fusion ;)


 --
 Best Regards,
 David Shen

 http://twitter.com/davidshen84/
 http://meme.yahoo.com/davidshen84/




 --
 Crístian Deives dos Santos Viana [aka CD1]


yes, just VIDEO_CARDS=vesa and INPUT_DEVICES=keyboard mouse. and
have you installed the vbox additions? i had trouble when emerge the
vbox specific drivers from gentoo portage. so i just install the
binary from the vbox iso. and the installation tool will install the
vboxvideo for you. and the X -configure can find it. but i did not
notice any advantage using the vboxvideo driver. the 'vesa' driver
works very well even with compiz fusion.


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/
http://meme.yahoo.com/davidshen84/



Re: [gentoo-user] X -configure find video drivers that do not exist

2010-01-19 Thread Xi Shen
On Tue, Jan 19, 2010 at 10:19 PM, Neil Bothwick n...@digimed.co.uk wrote:
 On Tue, 19 Jan 2010 14:17:09 +0800, Xi Shen wrote:

 my system is gentoo amd64, with kde 4.3. previously, i installed more
 video drivers than i need, now i removed the unused ones. but each
 time when i ran 'X -configure', if can still find some of those video
 drivers and try to load them, and complains
 that the module does not exist. i guess some of the configuration of X
 is not updated. but i do not know which one.

 That sounds more like X is detecting the hardware and trying to load the
 module it thinks it needs for that hardware, which you have now unmerged.

 Can you post the exact error message, X complains... doesn't give us
 much to go on.


 --
 Neil Bothwick

 They that can give up essential liberty to obtain a little
 temporary safety, deserve neither liberty nor safety.
    Benjamin Franklin


i fixed it :)

it took me some time to finally found those modules at
/usr/lib64/xorg/modules/drivers.

thanks you all.


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/
http://meme.yahoo.com/davidshen84/