Re: [gentoo-user] Multi-file search replace of text

2010-03-01 Thread Helmut Jarausch
On 28 Feb, Stroller wrote:
 Hi there,
 
 If I want to automagically replace text in a file, I can use `sed`. I don't 
 believe that `sed` can be invoked in such a way to change the file in place, 
 therefore two commands are necessary:
 
$ sed 's/Project Gutenberg/Wordsworth Classics/' foo  bar
$ mv bar foo 
$ 
 
 Using `grep` I can search *recursively* through directories to find the text 
 I'm looking for. EG: `grep -R Gutenberg ~`
 
 I would like to find every instance of $foo in a directory hierarchy and 
 replace it with $bar. 
 
 Is there any tool that will combine all these operations for me?
 
 If not, what is the best way to string together grep and sed so that they'll 
 do what I want?
 

You might have a look at an old program which is still quite useful
The link in the following web page is broken!
http://centoshacker.com/kabir/utility/global-search-and-replace-using-the-fgres-utility.html
Download from
http://wiki.uni-konstanz.de/pitz/fgres.html

Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] Re: [OT] attach a perl script to daemon services

2010-03-01 Thread Alan McKinnon
On Monday 01 March 2010 06:16:09 Harry Putnam wrote:
 Alan McKinnon alan.mckin...@gmail.com writes:
  FWIW, Solaris syslogd is like other basic tools on Solaris: standards
  compliant in that it caters for the lowest common denominator that
  comprises Unix. Which is to say, almost always useless for real work.
 
 A little turn towards OT:
 so what are using your opensolaris machines for?
 The advantages of zfs?


I had Solaris, not OpenSolaris. I've been steadily reducing my Solaris 
machines (mostly because of the horrendous cost) and not many are left. Other 
teams here still have quite a few, mostly for proprietary ISP monitoring 
stuff, Oracle, VoIP billing systems - that kind of thing.



-- 
alan dot mckinnon at gmail dot com



[gentoo-user] mail client for mbox format sought

2010-03-01 Thread Helmut Jarausch
Hi,

my setup here is a running Postix MTA which stores all incoming mail
into a single file (per user) in mbox format (/var/spool/mail/$USER)

I'm desparately looking for a mail client with a GUI which can handle
that.
I didn't manage to configure Thunderbird(-3.0.1) (it always tries to set
up an IMAP or POP3 account) and importing mails from the mbox file again
and again isn't a solution.

I've tried Evolution, setting Receiving Email' to 'Standard Unix mbox
spool file'.
This shows my email headers but when I click on one of these I always
get
'Summary and folder mismatch, even after a sync'

I've been googling around but any suggestions to remove some index files
didn't help either.

So, does anybody know a solution?

Many thanks,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] mail client for mbox format sought

2010-03-01 Thread Zeerak Mustafa Waseem
On Mon, Mar 01, 2010 at 10:06:49AM +0100, Helmut Jarausch wrote:
 Hi,
 
 my setup here is a running Postix MTA which stores all incoming mail
 into a single file (per user) in mbox format (/var/spool/mail/$USER)
 
 I'm desparately looking for a mail client with a GUI which can handle
 that.
 I didn't manage to configure Thunderbird(-3.0.1) (it always tries to set
 up an IMAP or POP3 account) and importing mails from the mbox file again
 and again isn't a solution.
 
 I've tried Evolution, setting Receiving Email' to 'Standard Unix mbox
 spool file'.
 This shows my email headers but when I click on one of these I always
 get
 'Summary and folder mismatch, even after a sync'
 
 I've been googling around but any suggestions to remove some index files
 didn't help either.
 
 So, does anybody know a solution?
 
 Many thanks,
 Helmut.
 
 -- 
 Helmut Jarausch
 
 Lehrstuhl fuer Numerische Mathematik
 RWTH - Aachen University
 D 52056 Aachen, Germany
 

How about claws? As far as I remember it supports mbox format :-)

-- 
Zeerak Waseem


pgpas27RaE23I.pgp
Description: PGP signature


Re: [gentoo-user] Manual pages (man pages) have ESC all through them when having used sudo.

2010-03-01 Thread Alan McKinnon
On Monday 01 March 2010 03:47:12 Neil Bothwick wrote:
 On Mon, 1 Mar 2010 01:07:21 +0200, Alan McKinnon wrote:
  Don't read my post as literally meaning they must type the 7 characters
  sudo su. Read it more as use any feature of sudo you feel like to
  get a root shell, but you must use sudo. As opposed to using su alone.
 
 The problem with this in your situation is that you only get a log entry
 when the user switches to root, not for whatever they do in that root
 shell, whereas having them run each command with sudo logs every action
 they take as root. Or do you have a way of auditing the commands run from
 the root shell?


We just log the fact of running sudo. The admins are trusted to not cock 
things up, and if they do, to not try and hide it. The philosophy is simple - 
if we feel we can't trust you, we would not have hired you.

Editing root's history after the fact to hide your tracks is considered a 
heinous crime of unimaginable proportions. Anyone caught doing it is sentenced 
to buy cake for the entire technical team. That's about 100 people. And when I 
saw cake I don't mean a teeny weeny jam tart each, I mean cake - chocolate 
filled croissants, black forest and my personal favourite: 4 inch high carrot 
cake.

People only buy cake once around here :-)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] mail client for mbox format sought

2010-03-01 Thread Alan McKinnon
On Monday 01 March 2010 11:08:27 Zeerak Mustafa Waseem wrote:
 On Mon, Mar 01, 2010 at 10:06:49AM +0100, Helmut Jarausch wrote:
  Hi,
  
  my setup here is a running Postix MTA which stores all incoming mail
  into a single file (per user) in mbox format (/var/spool/mail/$USER)
  
  I'm desparately looking for a mail client with a GUI which can handle
  that.
  I didn't manage to configure Thunderbird(-3.0.1) (it always tries to set
  up an IMAP or POP3 account) and importing mails from the mbox file again
  and again isn't a solution.
  
  I've tried Evolution, setting Receiving Email' to 'Standard Unix mbox
  spool file'.
  This shows my email headers but when I click on one of these I always
  get
  'Summary and folder mismatch, even after a sync'
  
  I've been googling around but any suggestions to remove some index files
  didn't help either.
  
  So, does anybody know a solution?
  
  Many thanks,
  Helmut.
 
 How about claws? As far as I remember it supports mbox format :-)

As does mail, mailx, kmail and mutt.

Actually, almost every mail client except Evolution - which seems to insist on 
doing it's own weird thing with mboxes.
s
-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Manual pages (man pages) have ESC all through them when having used sudo.

2010-03-01 Thread Neil Bothwick
On Mon, 1 Mar 2010 11:08:22 +0200, Alan McKinnon wrote:

 We just log the fact of running sudo. The admins are trusted to not
 cock things up, and if they do, to not try and hide it. The philosophy
 is simple - if we feel we can't trust you, we would not have hired you.

That is sensible, if not good for your BOFH rating :)

 Editing root's history after the fact to hide your tracks is considered
 a heinous crime of unimaginable proportions. Anyone caught doing it is
 sentenced to buy cake for the entire technical team. That's about 100
 people. And when I saw cake I don't mean a teeny weeny jam tart each, I
 mean cake - chocolate filled croissants, black forest and my personal
 favourite: 4 inch high carrot cake.

I take that back :)


-- 
Neil Bothwick

Forget the Joneses...I can't keep up with The Simpsons.


signature.asc
Description: PGP signature


Re: [gentoo-user] aclocal failing on all emerges

2010-03-01 Thread Alex Schuster
Harry Putnam writes:

 All fail when aclocal is trotted out.  I don't see recent threads here
 about it... googling turns up a herd of bugs involving aclocal but
 then newest is 2008.
 
 The newest threads here that even mention aclocal date around Jan 20.
 
 I didn't change the compiler (gcc-4.3.4) since the first sync and
 update world.
 
 gcc-4.4.3 is also installed but I'm using 4.3.4
 
 Today I ran:
 
  emerge -v sys-devel/automake-wrapper (the package that has aclocal in
   it)

I'd try to emerge the other autotools stuff, too:

emerge -a $( qlist -CeLS sys-devel/autoconf sys-devel/automake )

Just an idea, as no better ones came up. Looks like you have a very nasty 
problem there.

Wonko



[gentoo-user] Gentoo down?

2010-03-01 Thread Mark Knecht
I guess the web site is down this morning? (6:30AM PST) I cannot get
through anyway.

- Mark



Re: [gentoo-user] Gentoo down?

2010-03-01 Thread Crístian Viana
yeah, it's really down: http://downforeveryoneorjustme.com/www.gentoo.org

On Mon, Mar 1, 2010 at 11:24 AM, Mark Knecht markkne...@gmail.com wrote:

 I guess the web site is down this morning? (6:30AM PST) I cannot get
 through anyway.

 - Mark




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


Re: [gentoo-user] Gentoo down?

2010-03-01 Thread Mark Knecht
On Mon, Mar 1, 2010 at 6:27 AM, Crístian Viana cristiandei...@gmail.com wrote:
 yeah, it's really down: http://downforeveryoneorjustme.com/www.gentoo.org

 On Mon, Mar 1, 2010 at 11:24 AM, Mark Knecht markkne...@gmail.com wrote:

 I guess the web site is down this morning? (6:30AM PST) I cannot get
 through anyway.

 - Mark

Cool little site. Thanks for the link!

- Mark



Re: [gentoo-user] Re: Gentoo down?

2010-03-01 Thread Mark Knecht
On Mon, Mar 1, 2010 at 7:05 AM, Lie Ryan lie.1...@gmail.com wrote:
 On 03/02/10 01:24, Mark Knecht wrote:
 I guess the web site is down this morning? (6:30AM PST) I cannot get
 through anyway.

 - Mark

 Confirmed, though I can still ping it.




Guess I'll have to wait for some nvidia installation instructions. Thanks!



[gentoo-user] Official document for stabilization policy/guideline

2010-03-01 Thread Lie Ryan
I've found a few people referencing to a 30-day stabilization policy
which basically says a package must be at least 30-days-old to be
considered for stabilization, but is there any document that serves as
an official guideline/checklist on how to consider to stabilize a
package? Is the 30-day policy the only policy?

I've been running several ~arch-ed packages that appears to be compile
and runs fine on my machine and would like to vote them for
stabilization. Is it enough to just open a bug issue and pray that the
arch manager would notice?




[gentoo-user] Re: Gentoo down?

2010-03-01 Thread Lie Ryan
On 03/02/10 01:24, Mark Knecht wrote:
 I guess the web site is down this morning? (6:30AM PST) I cannot get
 through anyway.
 
 - Mark

Confirmed, though I can still ping it.




Re: [gentoo-user] KDE? Get me out of here!

2010-03-01 Thread Alex Schuster
Alex Schuster wrote:

[KDE4 problems]
 And so on. But it's not so bad I cannot work with it (well, sometimes
 it is, and then I have to fix it, like when the password dialog no
 longer accepted passwords), and so I keep using it, waiting it to
 become really stable and usable.

And another weekend of KDE4 trouble. I rebooted after some upgrades, along 
those were Qt and MySQL. Now, plasma-desktop crashed, also when restarting 
it on the command line. So again I renamed the .kde4 directory and got one 
from my last backup. The desktop came up, but kmail failed, due to akonadi 
not finding its database. I thought it had to do with the mysql update so 
I masked that one and tried to build an older version, but it did not 
build. Now I see this was not the old version I had running, but something 
in between.
Anyway, the problem was another one, I had to rebuild qt-sql.
I had some Qt blockers during the last @world update that the newest 
portage did not resolve, so I did an emerge -1av $( qlist -I qt- ) - after 
this, @world was updateable. Maybe this emerge -1 stuff was the problem, I 
have no idea.

Then I wanted my last session back, as I had changed some things since the 
last backup and I also wanted my konqueror sessions - no idea where those 
are stored. So again I took the .kde directory (A) which was not working 
and the one from the last backup (B), and moved files from B to A until A 
was working again. And did so until I found which exact file was 
responsible for plasma-desktop not running (it was share/config/plasma-
desktop-appletsrc).

I had to reboot many times, because when KDE4 was running and plasma 
crashed, I had no way to log out adn had to restart the X server. And when 
switching to a text console and back to the newly started X server, I get 
an empty display on all consoles, probably due to the fglrx drivers. I 
know that already, but as I did not got any other drivers to run, I am 
stuck with ati-drivers. At least I have desktop effects and stuff running.

You can lose a lot of time with this. And I am wondering if KDE4 is the 
right thing for me. On the one hand, I like it very much. And it is 
getting better and better. I just discovered that I can tab windows, this 
is soo cool.
On the other hand, from time to time I have show-stoppers, and then I 
cannot use kmail, or no KDE4 at all. And have to invest time to solve 
this. And there are these annoying things. Like Amarok being very 
unstable, and taking 5 minutes to start. What the heck is it doing in this 
time? And KDE4 is slow. That maybe another problem, something seems to be 
wrong here, I'd expect the system to be faster, and not make any pauses 
when emerge is running (niced to 19 and also ioniced). I do not want to 
wait for seconds when switching desktops (sometimes its fast, sometimes 
not).

Sorry for the whining,

Wonko



Re: [gentoo-user] Re: Gentoo down?

2010-03-01 Thread Arttu V.
On 3/1/10, Mark Knecht markkne...@gmail.com wrote:
 On Mon, Mar 1, 2010 at 7:05 AM, Lie Ryan lie.1...@gmail.com wrote:
 On 03/02/10 01:24, Mark Knecht wrote:
 I guess the web site is down this morning? (6:30AM PST) I cannot get
 through anyway.

 - Mark

 Confirmed, though I can still ping it.


 Guess I'll have to wait for some nvidia installation instructions. Thanks!

If you're in a hurry then Google probably has the pages cached. Just
search for gentoo nvidia, and hit the cache-link.

-- 
Arttu V.



Re: [gentoo-user] Re: Gentoo down?

2010-03-01 Thread Daniel Wagener
On Mon, 1 Mar 2010 07:34:30 -0800
Mark Knecht markkne...@gmail.com wrote:

 
 Guess I'll have to wait for some nvidia installation instructions.
 Thanks!

you may try the wiki though...
http://en.gentoo-wiki.com/wiki/Main_Page



Re: [gentoo-user] Re: Gentoo down?

2010-03-01 Thread Zeerak Mustafa Waseem
On Mon, Mar 01, 2010 at 05:30:40PM +0100, Daniel Wagener wrote:
 On Mon, 1 Mar 2010 07:34:30 -0800
 Mark Knecht markkne...@gmail.com wrote:
 
  
  Guess I'll have to wait for some nvidia installation instructions.
  Thanks!
 
 you may try the wiki though...
 http://en.gentoo-wiki.com/wiki/Main_Page
 

And should you have any questions the wiki can't answer, ask them here, or for 
a faster response: The irc channels :-)

-- 
Zeerak Waseem


pgpmsQJdDzfyQ.pgp
Description: PGP signature


[gentoo-user] vmware-workstation from vmware overlay broken digest

2010-03-01 Thread Nikos Chantziaras

If any dev from the vmware overlay reads this, please fix this one:

Calculating dependencies / * Digest verification failed:
 * 
/var/lib/layman/vmware/app-emulation/vmware-workstation/vmware-workstation-7.0.1.227600.ebuild

 * Reason: Failed on RMD160 verification
 * Got: 3619a7454b53411695537b5eb73d9213422b4097
 * Expected: 9ba2a1698c4618d95bed0ca6e42cb4aaf38c8762

I don't know where to report bugs for ebuilds that are in overlays.




Re: [gentoo-user] Dual booting Dell with Windows 7

2010-03-01 Thread Mick
On 1 March 2010 15:04, Peter Ruskin peter.rus...@dsl.pipex.com wrote:
 On Sunday 28 February 2010 23:51:21 Mick wrote:
 I have now succeeded at achieving what I wanted:  to use the
 Windows 7 boot manager (bootmgr.exe) which is the successor to
 NTLDR to chainload GRUB from it and so leave the Windows
 installation intact (at least until the warranty expires) ;-)
[snip ...]

 Thanks for the howto, Mick.  I followed it on my Windows Vista Home
 Premium 64; got The operation completed successfully all the way
 through, but on reboot I don't get a boot menu.

Can you please post your partition table (cfdisk, or parted will do),
let me know which is your Gentoo /boot partition if it is not obvious
and the drive letters as understood by Vista when it is running.  A
screenshot of gparted will help (email off list to keep the bandwidth
down) because it also shows the Labels.

 This doesn't matter much to me at the moment, as I use Acronis OSS
 Selector for boot manager, but this doesn't work on Windows 7, so
 my free update to Windows 7 is gathering dust.

As long as the upgrade to Windows 7 does not mess up the MS boot
partition then achieving this in Vista will be a good dry run for when
you install Windows 7.  However, I am not sure that you will be able
to achieve this test run while Acronis is managing your boot session.
My method implies that you use the native MSWindows boot manager.


 Gentoo Linux: Portage 2.2_rc63                  kernel-2.6.32-gentoo-r5
 AMD Phenom(tm) 9950 Quad-Core Processor         gcc(Gentoo: 4.4.3)
 KDE: 3.5.10                                     Qt: 3.3.8b
 





-- 
Regards,
Mick



[gentoo-user] Pending layman directory relocation

2010-03-01 Thread 7v5w7go9ub0o
(this is a rather obvious fix...)

eselect news has a new notice, advising of the pending change of the
presumed location of the layman directory from /usr/local/portage/layman
to /var/lib/layman. It offers three ways to deal with this location
change. I chose alternative A. (actually moving the directory and
updating make.conf and layman make.conf) and wanted to do it before I
forgot about it.

However, until layman is actually upgraded to version 1.3x, the
script/executable will reference /usr/local/portage/layman and fail. So
layman users choosing alternative A. now may want to add a step; after
moving the directory, put a soft link in the /usr/local/portage pointing
to the new location; i.e.

cd /usr/local/portage; ln -s /var/lib/layman layman

HTH



[gentoo-user] Re: Pending layman directory relocation

2010-03-01 Thread Nikos Chantziaras

On 03/01/2010 08:08 PM, 7v5w7go9ub0o wrote:

(this is a rather obvious fix...)

eselect news has a new notice, advising of the pending change of the
presumed location of the layman directory from /usr/local/portage/layman
to /var/lib/layman. It offers three ways to deal with this location
change. I chose alternative A. (actually moving the directory and
updating make.conf and layman make.conf) and wanted to do it before I
forgot about it.

However, until layman is actually upgraded to version 1.3x, the
script/executable will reference /usr/local/portage/layman and fail. So
layman users choosing alternative A. now may want to add a step; after
moving the directory, put a soft link in the /usr/local/portage pointing
to the new location; i.e.

cd /usr/local/portage; ln -s /var/lib/layman layman


Or you can edit /var/lib/layman/make.conf and change the locations there.




Re: [gentoo-user] KDE? Get me out of here!

2010-03-01 Thread Alan McKinnon
On Monday 01 March 2010 18:08:05 Alex Schuster wrote:
 On the other hand, from time to time I have show-stoppers, and then I 
 cannot use kmail, or no KDE4 at all. And have to invest time to solve 
 this. And there are these annoying things. Like Amarok being very 
 unstable, and taking 5 minutes to start. What the heck is it doing in this 
 time?

Fuck knows what amarok-2x does for the first 5 minutes. I *think* On my system 
it scans the music directory, presumably to find updates that happened when 
amarok was not running. Fair enough, can't argue that, but why is it so 
*slow*???

Fuck also knows what the amarok devs are doing in general. I still can't find 
a way to move stuff to an mp3 player like the old 1.4 version did. And the 
library thingamagij still doesn't always update tags, or put tag changes that 
it itself did into it's own database. It gladly accepts any changes you make 
in the Edit Tags dialog, and tries to write them, even if it knows it cannot 
do it (no support for that format, permissions, etc). Then, no warning or 
message about this. Depending on which bleeding edge latest-svn commit build 
you happen to get on any given day, this last might or might not tell you 
something in the status bar.

For all the above reasons, and more, I have switched to clementine (it's in 
portage). It's a Qt port of amarok-1.4 and has equivalents of all the music-
playing goodness that amarok used to have. It doesn't do tags, external 
players, wikipedia etc etc, it just plays music. And you have to tag your 
music by other means with eg kid3. I can live with that. At least it starts 
and stays up.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Official document for stabilization policy/guideline

2010-03-01 Thread Alan McKinnon
On Monday 01 March 2010 17:39:47 Lie Ryan wrote:
 I've found a few people referencing to a 30-day stabilization policy
 which basically says a package must be at least 30-days-old to be
 considered for stabilization, but is there any document that serves as
 an official guideline/checklist on how to consider to stabilize a
 package? Is the 30-day policy the only policy?

30 days has always been the strong suggestion. Perhaps not always applied, but 
always there as far as I recall.


 
 I've been running several ~arch-ed packages that appears to be compile
 and runs fine on my machine and would like to vote them for
 stabilization. Is it enough to just open a bug issue and pray that the
 arch manager would notice?

Yes, just open a new bug in b.g.o.

The bug wranglers will assign it to the appropriate team and you will get 
email notifications when something happens. This lets you check in on the bug 
every soon often to observe progress or perhaps bump if a long period of 
inactivity has passed.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] vmware-workstation from vmware overlay broken digest

2010-03-01 Thread Etaoin Shrdlu
On Monday 01 March 2010, Nikos Chantziaras wrote:
 If any dev from the vmware overlay reads this, please fix this one:
 
 Calculating dependencies / * Digest verification failed:
   *
 /var/lib/layman/vmware/app-emulation/vmware-workstation/vmware-workstation-
 7.0.1.227600.ebuild * Reason: Failed on RMD160 verification
   * Got: 3619a7454b53411695537b5eb73d9213422b4097
   * Expected: 9ba2a1698c4618d95bed0ca6e42cb4aaf38c8762
 
 I don't know where to report bugs for ebuilds that are in overlays.

I suppose something like

perl -ne 'print name$1/name if /herd(.*?)\/herd/' 
/usr/local/portage/app-emulation/vmware-server/metadata.xml | grep -A2 -Ff- 
/usr/portage/metadata/herds.xml

could be a starting point?



[gentoo-user] Re: Pending layman directory relocation

2010-03-01 Thread 7v5w7go9ub0o

On 03/01/10 13:30, Tanstaafl wrote:

On 2010-03-01 1:08 PM, 7v5w7go9ub0o wrote:

So layman users choosing alternative A. now may want to add a step;
after moving the directory, put a soft link in the /usr/local/portage
pointing to the new location; i.e.

cd /usr/local/portage; ln -s /var/lib/layman layman


Thanks, I was planning on doing the same thing and glad to be validated...

Question: the news itme also mentioned the reason as something like
'layman violates the general rule that nothing in portage should touch
anything in /usr/local'...

Well... my local overlays (that I set up a long time ago) are there...
and portage obviously 'touches' those, so... should I move them as well?



I did; I simply moved the whole layman directory. Works.



Re: [gentoo-user] Pending layman directory relocation

2010-03-01 Thread Tanstaafl
On 2010-03-01 1:08 PM, 7v5w7go9ub0o wrote:
 So layman users choosing alternative A. now may want to add a step;
 after moving the directory, put a soft link in the /usr/local/portage
 pointing to the new location; i.e.
 
 cd /usr/local/portage; ln -s /var/lib/layman layman

Thanks, I was planning on doing the same thing and glad to be validated...

Question: the news itme also mentioned the reason as something like
'layman violates the general rule that nothing in portage should touch
anything in /usr/local'...

Well... my local overlays (that I set up a long time ago) are there...
and portage obviously 'touches' those, so... should I move them as well?

-- 

Charles



[gentoo-user] Re: Pending layman directory relocation

2010-03-01 Thread 7v5w7go9ub0o

On 03/01/10 13:26, Nikos Chantziaras wrote:

On 03/01/2010 08:08 PM, 7v5w7go9ub0o wrote:

(this is a rather obvious fix...)

eselect news has a new notice, advising of the pending change of the
presumed location of the layman directory from /usr/local/portage/layman
to /var/lib/layman. It offers three ways to deal with this location
change. I chose alternative A. (actually moving the directory and
updating make.conf and layman make.conf) and wanted to do it before I
forgot about it.

However, until layman is actually upgraded to version 1.3x, the
script/executable will reference /usr/local/portage/layman and fail. So
layman users choosing alternative A. now may want to add a step; after
moving the directory, put a soft link in the /usr/local/portage pointing
to the new location; i.e.

cd /usr/local/portage; ln -s /var/lib/layman layman


Or you can edit /var/lib/layman/make.conf and change the locations there.


That didn't work for me; the current layman script still references the 
old location; which is why I added the soft link.


The new 1.3x script will reference the new location. (though I suppose 
you could upgrade to 1.3 and avoid putting in the soft link)







Re: [gentoo-user] KDE? Get me out of here!

2010-03-01 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

On Monday 01 March 2010 18:08:05 Alex Schuster wrote:
   

On the other hand, from time to time I have show-stoppers, and then I
cannot use kmail, or no KDE4 at all. And have to invest time to solve
this. And there are these annoying things. Like Amarok being very
unstable, and taking 5 minutes to start. What the heck is it doing in this
time?
 

Fuck knows what amarok-2x does for the first 5 minutes. I *think* On my system
it scans the music directory, presumably to find updates that happened when
amarok was not running. Fair enough, can't argue that, but why is it so
*slow*???

Fuck also knows what the amarok devs are doing in general. I still can't find
a way to move stuff to an mp3 player like the old 1.4 version did. And the
library thingamagij still doesn't always update tags, or put tag changes that
it itself did into it's own database. It gladly accepts any changes you make
in the Edit Tags dialog, and tries to write them, even if it knows it cannot
do it (no support for that format, permissions, etc). Then, no warning or
message about this. Depending on which bleeding edge latest-svn commit build
you happen to get on any given day, this last might or might not tell you
something in the status bar.

For all the above reasons, and more, I have switched to clementine (it's in
portage). It's a Qt port of amarok-1.4 and has equivalents of all the music-
playing goodness that amarok used to have. It doesn't do tags, external
players, wikipedia etc etc, it just plays music. And you have to tag your
music by other means with eg kid3. I can live with that. At least it starts
and stays up.

   


And to think I have been in KDE 4 for almost a week now.  Maybe this is 
to soon to remove KDE 3?


My pet peeve so far is the background slide show.  Every time I log in, 
try to change a setting for the background, or sneeze the wrong way, it 
starts looking for the new images, even tho there may not be any.  I 
have a huge amount of them and it takes almost 2 minutes to rebuild 
whatever it is building.  While it is doing that, it won't do anything 
else.


I'm hoping this will change sometime soon.  Oh, I also don't like that 
the images are random.  Most of my images are done as a slide show.  
Having them in random order sort of defeats the point.


Dale

:-)  :-)



Re: [gentoo-user] Pending layman directory relocation

2010-03-01 Thread Alan McKinnon
On Monday 01 March 2010 20:30:24 Tanstaafl wrote:
 On 2010-03-01 1:08 PM, 7v5w7go9ub0o wrote:
  So layman users choosing alternative A. now may want to add a step;
  after moving the directory, put a soft link in the /usr/local/portage
  pointing to the new location; i.e.
  
  cd /usr/local/portage; ln -s /var/lib/layman layman
 
 Thanks, I was planning on doing the same thing and glad to be validated...
 
 Question: the news itme also mentioned the reason as something like
 'layman violates the general rule that nothing in portage should touch
 anything in /usr/local'...
 
 Well... my local overlays (that I set up a long time ago) are there...
 and portage obviously 'touches' those, so... should I move them as well?

As it turns out, portage is hard-coded to skip over @PORT_DIR/local/ for the 
simple reason that your personal local overlay goes there.

I have $PORT_DIR here redefined to be /var/portage/ and layman goes 
/var/portage/local/layman/, mostly because I think FHS is a good standard and 
it says /usr/ should be able to be mounted read-only.

In short, if you put an explicit entry in make.conf for the layman overlays, 
you will be fine as you are no longer relying on a default that can change.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] KDE? Get me out of here!

2010-03-01 Thread Alan McKinnon
On Monday 01 March 2010 21:07:18 Dale wrote:
 And to think I have been in KDE 4 for almost a week now.  Maybe this is 
 to soon to remove KDE 3?

To be fair, amarok is not part of KDE-4, it's a third party add-on to the KDE 
framework. Not much the KDE devs can do about that except encourage the Amarok 
devs to ship quality tested code.

Sort of like AdBlock - if it were poor quality it would not be a correct 
reflection on Mozilla as a whole



 
 My pet peeve so far is the background slide show.  Every time I log in, 
 try to change a setting for the background, or sneeze the wrong way, it 
 starts looking for the new images, even tho there may not be any.  I 
 have a huge amount of them and it takes almost 2 minutes to rebuild 
 whatever it is building.  While it is doing that, it won't do anything 
 else.
 
 I'm hoping this will change sometime soon.  Oh, I also don't like that 
 the images are random.  Most of my images are done as a slide show.  
 Having them in random order sort of defeats the point.

My pet peeve is Desktop. I have two monitors at work and use two X screens. 
KDE wants to create a Desktop and a Desktop-1 directory. I want it to just use 
the same set of files for both - background, icons, plasma widgets must be the 
same on both monitors, but actual app windows running there independent. This 
seems perfectly reasonable to me - e17 does it out the box - but thus far I 
have not found the magic voodoo spell that makes it happen.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: Pending layman directory relocation

2010-03-01 Thread Tanstaafl
On 2010-03-01 2:02 PM, 7v5w7go9ub0o wrote:
 I did; I simply moved the whole layman directory. Works.

Yeah, but I didn't start off using layman when I added my first local
ebuild a long time ago, so they are not under layman - they are at the
same level - ie, /usr/local/portage contains:

/app-admin
/layman
/mail-client

etc...

/etc/make.conf has:

PORTDIR_OVERLAY=${PORTDIR_OVERLAY} /usr/local/portage

Now that I think about it - I wouldn't want to add my manually added
ebuilds directly in the layman directory, would I? I'd think that would
confuse layman? Now *I'm* confused (somehow I manage to do this to
myself at least 2 or 3 times a day)...

-- 

Charles



Re: [gentoo-user] Re: Pending layman directory relocation

2010-03-01 Thread Tanstaafl
On 2010-03-01 1:26 PM, Nikos Chantziaras wrote:
 Or you can edit /var/lib/layman/make.conf

Also - why /var/lib/layman, and not /var/lib/portage/layman? It looks a
little odd just dumped in there all by itself.

-- 

Charles



Re: [gentoo-user] KDE? Get me out of here!

2010-03-01 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

On Monday 01 March 2010 21:07:18 Dale wrote:
   

And to think I have been in KDE 4 for almost a week now.  Maybe this is
to soon to remove KDE 3?
 

To be fair, amarok is not part of KDE-4, it's a third party add-on to the KDE
framework. Not much the KDE devs can do about that except encourage the Amarok
devs to ship quality tested code.

Sort of like AdBlock - if it were poor quality it would not be a correct
reflection on Mozilla as a whole

   


This is true I guess.  It is getting there but I still have to work 
around problems.  It's still missing things but it is getting more usable.


   

My pet peeve so far is the background slide show.  Every time I log in,
try to change a setting for the background, or sneeze the wrong way, it
starts looking for the new images, even tho there may not be any.  I
have a huge amount of them and it takes almost 2 minutes to rebuild
whatever it is building.  While it is doing that, it won't do anything
else.

I'm hoping this will change sometime soon.  Oh, I also don't like that
the images are random.  Most of my images are done as a slide show.
Having them in random order sort of defeats the point.
 

My pet peeve is Desktop. I have two monitors at work and use two X screens.
KDE wants to create a Desktop and a Desktop-1 directory. I want it to just use
the same set of files for both - background, icons, plasma widgets must be the
same on both monitors, but actual app windows running there independent. This
seems perfectly reasonable to me - e17 does it out the box - but thus far I
have not found the magic voodoo spell that makes it happen.

   


I still have a single CRT monitor.  The LCDs are getting cheaper tho.  
Maybe they will fix or add the needed code for you to be able to do what 
you want before to long.  I'm not sure when the next set of updates are 
coming out.


I never could get the kde layman to work right so I gave up on it.  The 
kde-sunset works fine tho.  Weird.


Dale

:-)  :-)



Re: [gentoo-user] KDE? Get me out of here!

2010-03-01 Thread Mick
On Monday 01 March 2010 19:22:29 Alan McKinnon wrote:
 On Monday 01 March 2010 21:07:18 Dale wrote:
  And to think I have been in KDE 4 for almost a week now.  Maybe this is
  to soon to remove KDE 3?
 
 To be fair, amarok is not part of KDE-4, it's a third party add-on to the
  KDE framework. Not much the KDE devs can do about that except encourage
  the Amarok devs to ship quality tested code.
 
 Sort of like AdBlock - if it were poor quality it would not be a correct
 reflection on Mozilla as a whole
 
  My pet peeve so far is the background slide show.  Every time I log in,
  try to change a setting for the background, or sneeze the wrong way, it
  starts looking for the new images, even tho there may not be any.  I
  have a huge amount of them and it takes almost 2 minutes to rebuild
  whatever it is building.  While it is doing that, it won't do anything
  else.
 
  I'm hoping this will change sometime soon.  Oh, I also don't like that
  the images are random.  Most of my images are done as a slide show.
  Having them in random order sort of defeats the point.
 
 My pet peeve is Desktop. I have two monitors at work and use two X screens.
 KDE wants to create a Desktop and a Desktop-1 directory. I want it to just
  use the same set of files for both - background, icons, plasma widgets
  must be the same on both monitors, but actual app windows running there
  independent. This seems perfectly reasonable to me - e17 does it out the
  box - but thus far I have not found the magic voodoo spell that makes it
  happen.

How does e17 compare in terms of resources to other WMs/DEs like *box, LXDE, 
xface, these days?  I had a look at it when it was all the rage back when, but 
it looked too Gnomey to me at the time and I couldn't find a reason for 
preferring it over say fluxbox.
-- 
Regards,
Mick


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


Re: [gentoo-user] KDE? Get me out of here!

2010-03-01 Thread Mick
On Monday 01 March 2010 16:08:05 Alex Schuster wrote:
 Alex Schuster wrote:
 
 [KDE4 problems]
 
  And so on. But it's not so bad I cannot work with it (well, sometimes
  it is, and then I have to fix it, like when the password dialog no
  longer accepted passwords), and so I keep using it, waiting it to
  become really stable and usable.
 
 And another weekend of KDE4 trouble. I rebooted after some upgrades, along
 those were Qt and MySQL. Now, plasma-desktop crashed, also when restarting
 it on the command line. 
[snip ...]

 Sorry for the whining,

Nah!  It's good to vent every now and then.  :-))

Is it perhaps that you have a very complex/overloaded plasma set up?  I've 
updated KDE on two machines and went swimmingly well.  On one machine I first 
removed qt3 and then had no problems whatsoever.  On the other I can't recall 
what I did with qt3 ...

Other than that, I've noticed this sort of behaviour in the past with KDE2 and 
KDE3 when I was trying to use KDE while major apps were being updated.
-- 
Regards,
Mick


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


Re: [gentoo-user] Official document for stabilization policy/guideline

2010-03-01 Thread Justin
On 01/03/10 16:39, Lie Ryan wrote:
 I've found a few people referencing to a 30-day stabilization policy
 which basically says a package must be at least 30-days-old to be
 considered for stabilization, but is there any document that serves as
 an official guideline/checklist on how to consider to stabilize a
 package? Is the 30-day policy the only policy?
 
 I've been running several ~arch-ed packages that appears to be compile
 and runs fine on my machine and would like to vote them for
 stabilization. Is it enough to just open a bug issue and pray that the
 arch manager would notice?
 
 
The policy says 30 day bug free, but it is always appreciated to get
feedback from users about packages which are stable on their systems. So
please go ahead and file bugs. If the maintainer has any objections
against a stabilization, you will be informed about that in the bug.

justin



Re: [gentoo-user] Re: Pending layman directory relocation

2010-03-01 Thread Alan McKinnon
On Monday 01 March 2010 22:19:45 Tanstaafl wrote:
 On 2010-03-01 1:26 PM, Nikos Chantziaras wrote:
  Or you can edit /var/lib/layman/make.conf
 
 Also - why /var/lib/layman, and not /var/lib/portage/layman? It looks a
 little odd just dumped in there all by itself.


Becuase layman is not part of paortgae and can be used without portage (eg 
with paludis).

Therefore it does not belong in the portage directory, which would imply it is 
somehow part of portage when it is not



-- 
alan dot mckinnon at gmail dot com



[gentoo-user] nvidia GeForce 6200 questions

2010-03-01 Thread Mark Knecht
Hi,
   I've been trying to get an nvidia controller working today and not
having much luck. It's complaining about failing to load kernel
module.

   As a starting point I'm following this guide:

http://www.gentoo.org/doc/en/nvidia-guide.xml

   My nvidia device is (I think) a GeForce 6 family card:

dragonfly ~ # lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation NV44A [GeForce
6200] (rev a1)
dragonfly ~ #

and from this nVidia page seems to be supported by the 173.xx series drivers:

http://www.nvidia.com/object/linux_display_ia32_173.14.25.html

   Because modinfo nvidia suggested it depended on them I've added
agpgart and i2c-core to modules.autoload and after booting this is
what's loaded:

dragonfly ~ # lsmod
Module  Size  Used by
ipv6  176929  18
sg 19077  0
usb_storage29021  0
usbhid 18281  0
snd_intel8x0   19155  0
snd_ac97_codec 76628  1 snd_intel8x0
ac97_bus 662  1 snd_ac97_codec
snd_pcm42338  2 snd_intel8x0,snd_ac97_codec
ehci_hcd   27089  0
uhci_hcd   15779  0
snd_timer  11966  1 snd_pcm
usbcore87247  4 usb_storage,usbhid,ehci_hcd,uhci_hcd
agpgart19136  0
snd31592  4 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
8139cp 12993  0
soundcore   3607  1 snd
rtc 6022  0
8139too14560  0
i2c_core   11618  0
snd_page_alloc  4685  2 snd_intel8x0,snd_pcm
processor  20861  0
thermal 9266  0
button  3526  0
thermal_sys 8333  2 processor,thermal
dragonfly ~ #

When I try to load the nvidia driver it just complains:

dragonfly ~ # modprobe nvidia
FATAL: Error inserting nvidia
(/lib/modules/2.6.33-gentoo/video/nvidia.ko): No such device
dragonfly ~ #

dragonfly ~ # modprobe --show-depends nvidia
insmod /lib/modules/2.6.33-gentoo/kernel/drivers/i2c/i2c-core.ko
insmod /lib/modules/2.6.33-gentoo/kernel/drivers/char/agp/agpgart.ko
insmod /lib/modules/2.6.33-gentoo/video/nvidia.ko
NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27
NVreg_ModifyDeviceFiles=1
dragonfly ~ #

dragonfly ~ # modprobe -v nvidia
insmod /lib/modules/2.6.33-gentoo/video/nvidia.ko
NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27
NVreg_ModifyDeviceFiles=1
FATAL: Error inserting nvidia
(/lib/modules/2.6.33-gentoo/video/nvidia.ko): No such device
dragonfly ~ #

The driver exists:

dragonfly ~ # ls -al /lib/modules/2.6.33-gentoo/video/nvidia.ko
-rw-r--r-- 1 root root 7859091 Mar  1 13:35
/lib/modules/2.6.33-gentoo/video/nvidia.ko
dragonfly ~ #

I'm not clear what it means by 'no such device'. Is that a message
that this driver doesn't support this card?

I tried going down to the 96 series drivers but got the same results.

Sort of obvious stuff in the kernel config I could think of before
sending this email is here:

dragonfly ~ # zcat /proc/config.gz | grep AGP
CONFIG_AGP=m
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
CONFIG_AGP_INTEL=m
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_EFFICEON is not set
dragonfly ~ # zcat /proc/config.gz | grep NVIDIA
# CONFIG_AGP_NVIDIA is not set
# CONFIG_FB_NVIDIA is not set
dragonfly ~ # zcat /proc/config.gz | grep DRM
CONFIG_DRM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not set
# CONFIG_DRM_I915 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
dragonfly ~ #

I assumed the Intel AGP might be usefull since it's an Intel
motherboard but it didn't help so I blacklisted it and it's not
loaded.

   Anyone able to spot what must be an obvious mistake?

   Current xorg.conf file it attached. It was done by hand so it could
easily have big problems. I tried running with no xorg.conf file but
it didn't work either.

   hald is running.

Thanks,
Mark


dragonfly ~ # cat /etc/X11/xorg.conf
Section Files
ModulePath   /usr/lib/xorg/modules
FontPath /usr/share/fonts/misc/
FontPath /usr/share/fonts/TTF/
FontPath /usr/share/fonts/OTF
FontPath /usr/share/fonts/Type1/
FontPath /usr/share/fonts/100dpi/
FontPath /usr/share/fonts/75dpi/
EndSection

Section Module
Load  extmod
Load  glx
#   Load  dri
EndSection

Section DRI
Mode 0666
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/input/mice
Option  

Re: [gentoo-user] KDE? Get me out of here!

2010-03-01 Thread Alan McKinnon
On Monday 01 March 2010 22:28:42 Mick wrote:
  My pet peeve is Desktop. I have two monitors at work and use two X
  screens. KDE wants to create a Desktop and a Desktop-1 directory. I want
  it to just
 
   use the same set of files for both - background, icons, plasma widgets
   must be the same on both monitors, but actual app windows running there
   independent. This seems perfectly reasonable to me - e17 does it out the
   box - but thus far I have not found the magic voodoo spell that makes it
   happen.
 
 How does e17 compare in terms of resources to other WMs/DEs like *box,
 LXDE,  xface, these days?  I had a look at it when it was all the rage
 back when, but it looked too Gnomey to me at the time and I couldn't find
 a reason for preferring it over say fluxbox.

As of right now, I really couldn't say. About 6 months ago the e17 devs 
started ramping up for a release that was supposed to happen round about last 
xmas. Then Samsung and a French manufacturer of set-top boxes got in on the 
action, as a result the code changes faster than Paris Hilton changes her 
knickers. It stopped reliably building from one hour to the next ... :-)

So I switched to KDE to get some stability and haven't tried again since.

e17 has to be evaluated on it's own merits, like all other software. it's not 
like anything ... except perhaps e17 itself. It's claims to fame are 
twofold:

1. Themeability. If you have every written a KDE or Gnome theme engine you 
will know what a serious ball-ache it is. Code mixed in with specs mixed in 
with image files e17 does it a different way with .edj files. You write an 
.edc spec file in a declarative style (as in you say *what* you want, not 
*how* it is done - that's the engine's job to figure that out) and supply your 
images to be used on the widgets. Then run it through a mini-compiler to 
produce an .edj, tell the wm to use it and voila! theme applied. It's not just 
a simple replace all those .pngs with these .pngs to get a different set of 
colours - you change the entire look and feel of the desktop and the engine 
just knows what to do with it.

2. Configurability. Everything that can possibly be changeable is so, 
including stuff that really shouldn't be :-) It makes KDE look minimalist. 
Fortunately, a lot of the advanced stuff can be hidden in the config dialog 
which improves things.

Resources - it's hard to write a wm these days that isn't a resource hog in 
some ways. If you want transparency and composition, be prepared to sell some 
cpu to get it. Having said that, e17 runs blindingly fast on ARM mobile 
devices when configured appropriately. It's nowhere near as minimalist as 
*box, those wm's are in a class where if they suit your needs, then nothing 
else will come close, especially not e17 which is designed to showcase graphic 
effects to a large degree. *box is the polar opposite of that

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] nvidia GeForce 6200 questions

2010-03-01 Thread Alan McKinnon
On Tuesday 02 March 2010 00:04:08 Mark Knecht wrote:
 Hi,
I've been trying to get an nvidia controller working today and not
 having much luck. It's complaining about failing to load kernel
 module.
 
As a starting point I'm following this guide:
 
 http://www.gentoo.org/doc/en/nvidia-guide.xml
 
My nvidia device is (I think) a GeForce 6 family card:
 
 dragonfly ~ # lspci | grep VGA
 01:00.0 VGA compatible controller: nVidia Corporation NV44A [GeForce
 6200] (rev a1)
 dragonfly ~ #
 
 and from this nVidia page seems to be supported by the 173.xx series
 drivers:
 
 http://www.nvidia.com/object/linux_display_ia32_173.14.25.html
 
Because modinfo nvidia suggested it depended on them I've added
 agpgart and i2c-core to modules.autoload and after booting this is
 what's loaded:
 
 dragonfly ~ # lsmod
 Module  Size  Used by
 ipv6  176929  18
 sg 19077  0
 usb_storage29021  0
 usbhid 18281  0
 snd_intel8x0   19155  0
 snd_ac97_codec 76628  1 snd_intel8x0
 ac97_bus 662  1 snd_ac97_codec
 snd_pcm42338  2 snd_intel8x0,snd_ac97_codec
 ehci_hcd   27089  0
 uhci_hcd   15779  0
 snd_timer  11966  1 snd_pcm
 usbcore87247  4 usb_storage,usbhid,ehci_hcd,uhci_hcd
 agpgart19136  0
 snd31592  4
 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer 8139cp 12993
  0
 soundcore   3607  1 snd
 rtc 6022  0
 8139too14560  0
 i2c_core   11618  0
 snd_page_alloc  4685  2 snd_intel8x0,snd_pcm
 processor  20861  0
 thermal 9266  0
 button  3526  0
 thermal_sys 8333  2 processor,thermal
 dragonfly ~ #
 
 When I try to load the nvidia driver it just complains:
 
 dragonfly ~ # modprobe nvidia
 FATAL: Error inserting nvidia
 (/lib/modules/2.6.33-gentoo/video/nvidia.ko): No such device

The nvidia driver in not bundled with the kernel, it is an external third-
party module.

You need to set /usr/src/linux to point to the kernel(s) you intend to run, 
and emerge nvidia-drivers for each one. Then modprobe -r nvidia ; modprobe 
nvidia and restart X

module-rebuild is a great tool for this. It knows what out-of-tree modules you 
use and the ebuilds that install them, and remembers the list (because the 
time will come when you forget and pull your hair out before you remember)


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] nvidia GeForce 6200 questions

2010-03-01 Thread Neil Walker
Mark Knecht wrote:
 and from this nVidia page seems to be supported by the 173.xx series drivers:
   

Yes, but I don't think they are compatible with the 2.6.33 kernel. There
was a
patch for the 190.53 driver released yesterday to make it work with
2.6.33. Try
that.


Be lucky,

Neil
http://www.neiljw.com





Re: [gentoo-user] nvidia GeForce 6200 questions

2010-03-01 Thread John H. Moe
Mark Knecht wrote:
 Hi,
I've been trying to get an nvidia controller working today and not
 having much luck. It's complaining about failing to load kernel
 module.

As a starting point I'm following this guide:

 http://www.gentoo.org/doc/en/nvidia-guide.xml

My nvidia device is (I think) a GeForce 6 family card:

 dragonfly ~ # lspci | grep VGA
 01:00.0 VGA compatible controller: nVidia Corporation NV44A [GeForce
 6200] (rev a1)
 dragonfly ~ #

 and from this nVidia page seems to be supported by the 173.xx series drivers:

 http://www.nvidia.com/object/linux_display_ia32_173.14.25.html

Because modinfo nvidia suggested it depended on them I've added
 agpgart and i2c-core to modules.autoload and after booting this is
 what's loaded:

 dragonfly ~ # lsmod
 Module  Size  Used by
 ipv6  176929  18
 sg 19077  0
 usb_storage29021  0
 usbhid 18281  0
 snd_intel8x0   19155  0
 snd_ac97_codec 76628  1 snd_intel8x0
 ac97_bus 662  1 snd_ac97_codec
 snd_pcm42338  2 snd_intel8x0,snd_ac97_codec
 ehci_hcd   27089  0
 uhci_hcd   15779  0
 snd_timer  11966  1 snd_pcm
 usbcore87247  4 usb_storage,usbhid,ehci_hcd,uhci_hcd
 agpgart19136  0
 snd31592  4 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
 8139cp 12993  0
 soundcore   3607  1 snd
 rtc 6022  0
 8139too14560  0
 i2c_core   11618  0
 snd_page_alloc  4685  2 snd_intel8x0,snd_pcm
 processor  20861  0
 thermal 9266  0
 button  3526  0
 thermal_sys 8333  2 processor,thermal
 dragonfly ~ #

 When I try to load the nvidia driver it just complains:

 dragonfly ~ # modprobe nvidia
 FATAL: Error inserting nvidia
 (/lib/modules/2.6.33-gentoo/video/nvidia.ko): No such device
 dragonfly ~ #

 dragonfly ~ # modprobe --show-depends nvidia
 insmod /lib/modules/2.6.33-gentoo/kernel/drivers/i2c/i2c-core.ko
 insmod /lib/modules/2.6.33-gentoo/kernel/drivers/char/agp/agpgart.ko
 insmod /lib/modules/2.6.33-gentoo/video/nvidia.ko
 NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27
 NVreg_ModifyDeviceFiles=1
 dragonfly ~ #

 dragonfly ~ # modprobe -v nvidia
 insmod /lib/modules/2.6.33-gentoo/video/nvidia.ko
 NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27
 NVreg_ModifyDeviceFiles=1
 FATAL: Error inserting nvidia
 (/lib/modules/2.6.33-gentoo/video/nvidia.ko): No such device
 dragonfly ~ #

 The driver exists:

 dragonfly ~ # ls -al /lib/modules/2.6.33-gentoo/video/nvidia.ko
 -rw-r--r-- 1 root root 7859091 Mar  1 13:35
 /lib/modules/2.6.33-gentoo/video/nvidia.ko
 dragonfly ~ #

 I'm not clear what it means by 'no such device'. Is that a message
 that this driver doesn't support this card?

 I tried going down to the 96 series drivers but got the same results.

 Sort of obvious stuff in the kernel config I could think of before
 sending this email is here:

 dragonfly ~ # zcat /proc/config.gz | grep AGP
 CONFIG_AGP=m
 # CONFIG_AGP_ALI is not set
 # CONFIG_AGP_ATI is not set
 # CONFIG_AGP_AMD is not set
 # CONFIG_AGP_AMD64 is not set
 CONFIG_AGP_INTEL=m
 # CONFIG_AGP_NVIDIA is not set
 # CONFIG_AGP_SIS is not set
 # CONFIG_AGP_SWORKS is not set
 # CONFIG_AGP_VIA is not set
 # CONFIG_AGP_EFFICEON is not set
 dragonfly ~ # zcat /proc/config.gz | grep NVIDIA
 # CONFIG_AGP_NVIDIA is not set
 # CONFIG_FB_NVIDIA is not set
 dragonfly ~ # zcat /proc/config.gz | grep DRM
 CONFIG_DRM=m
 # CONFIG_DRM_TDFX is not set
 # CONFIG_DRM_R128 is not set
 # CONFIG_DRM_RADEON is not set
 # CONFIG_DRM_I810 is not set
 # CONFIG_DRM_I830 is not set
 # CONFIG_DRM_I915 is not set
 # CONFIG_DRM_MGA is not set
 # CONFIG_DRM_SIS is not set
 # CONFIG_DRM_VIA is not set
 # CONFIG_DRM_SAVAGE is not set
 dragonfly ~ #

 I assumed the Intel AGP might be usefull since it's an Intel
 motherboard but it didn't help so I blacklisted it and it's not
 loaded.

Anyone able to spot what must be an obvious mistake?

Current xorg.conf file it attached. It was done by hand so it could
 easily have big problems. I tried running with no xorg.conf file but
 it didn't work either.

hald is running.

 Thanks,
 Mark


 dragonfly ~ # cat /etc/X11/xorg.conf
 Section Files
   ModulePath   /usr/lib/xorg/modules
   FontPath /usr/share/fonts/misc/
   FontPath /usr/share/fonts/TTF/
   FontPath /usr/share/fonts/OTF
   FontPath /usr/share/fonts/Type1/
   FontPath /usr/share/fonts/100dpi/
   FontPath /usr/share/fonts/75dpi/
 EndSection

 Section Module
   Load  extmod
   Load  glx
 # Load  dri
 EndSection

 Section DRI
   Mode 0666
 EndSection

 Section InputDevice
   Identifier  Keyboard0
   Driver  kbd
 EndSection

 Section InputDevice
   Identifier  

[gentoo-user] Re: nvidia GeForce 6200 questions

2010-03-01 Thread Mark Knecht
On Mon, Mar 1, 2010 at 2:04 PM, Mark Knecht markkne...@gmail.com wrote:
 Hi,
   I've been trying to get an nvidia controller working today and not
 having much luck. It's complaining about failing to load kernel
 module.
SNIP

SOLVED:

Mar  1 14:36:49 dragonfly kernel: NVRM: This PCI I/O region assigned
to your NVIDIA device is invalid:
Mar  1 14:36:49 dragonfly kernel: NVRM: BAR1 is 0M @ 0x0 (PCI:0001:00.0)
Mar  1 14:36:49 dragonfly kernel: NVRM: The system BIOS may have
misconfigured your GPU.
Mar  1 14:36:49 dragonfly kernel: nvidia: probe of :01:00.0 failed
with error -1
Mar  1 14:36:49 dragonfly kernel: NVRM: The NVIDIA probe routine
failed for 1 device(s).
Mar  1 14:36:49 dragonfly kernel: NVRM: None of the NVIDIA graphics
adapters were initialized!


And indeed it was a BIOS setting.

Fixed and working now.

Sorry for the noise,
Mark



Re: [gentoo-user] Re: Pending layman directory relocation

2010-03-01 Thread Neil Bothwick
On Mon, 01 Mar 2010 14:07:07 -0500, 7v5w7go9ub0o wrote:

  Or you can edit /var/lib/layman/make.conf and change the locations
  there.  
 
 That didn't work for me; the current layman script still references the 
 old location; which is why I added the soft link.

You have to set the location in /etc/layman/layman.cfg. My layman
directory is in neither of the locations you mention, but it works fine.


-- 
Neil Bothwick

WinErr 01B: Illegal error - You are not allowed to get this error.
Next time you will get a penalty for that.


signature.asc
Description: PGP signature


Re: [gentoo-user] KDE? Get me out of here!

2010-03-01 Thread Mick
On Monday 01 March 2010 21:17:23 Alan McKinnon wrote:
 On Monday 01 March 2010 22:28:42 Mick wrote:
   My pet peeve is Desktop. I have two monitors at work and use two X
   screens. KDE wants to create a Desktop and a Desktop-1 directory. I
   want it to just
  
use the same set of files for both - background, icons, plasma widgets
must be the same on both monitors, but actual app windows running
   there independent. This seems perfectly reasonable to me - e17 does it
   out the box - but thus far I have not found the magic voodoo spell that
   makes it happen.
 
  How does e17 compare in terms of resources to other WMs/DEs like *box,
  LXDE,  xface, these days?  I had a look at it when it was all the rage
  back when, but it looked too Gnomey to me at the time and I couldn't find
  a reason for preferring it over say fluxbox.
 
 As of right now, I really couldn't say. About 6 months ago the e17 devs
 started ramping up for a release that was supposed to happen round about
  last xmas. Then Samsung and a French manufacturer of set-top boxes got in
  on the action, as a result the code changes faster than Paris Hilton
  changes her knickers. It stopped reliably building from one hour to the
  next ... :-)
 
 So I switched to KDE to get some stability and haven't tried again since.
 
 e17 has to be evaluated on it's own merits, like all other software. it's
  not like anything ... except perhaps e17 itself. It's claims to fame are
  twofold:
 
 1. Themeability. If you have every written a KDE or Gnome theme engine you
 will know what a serious ball-ache it is. Code mixed in with specs mixed in
 with image files e17 does it a different way with .edj files. You write
  an .edc spec file in a declarative style (as in you say *what* you want,
  not *how* it is done - that's the engine's job to figure that out) and
  supply your images to be used on the widgets. Then run it through a
  mini-compiler to produce an .edj, tell the wm to use it and voila! theme
  applied. It's not just a simple replace all those .pngs with these .pngs
  to get a different set of colours - you change the entire look and feel of
  the desktop and the engine just knows what to do with it.
 
 2. Configurability. Everything that can possibly be changeable is so,
 including stuff that really shouldn't be :-) It makes KDE look minimalist.
 Fortunately, a lot of the advanced stuff can be hidden in the config dialog
 which improves things.
 
 Resources - it's hard to write a wm these days that isn't a resource hog in
 some ways. If you want transparency and composition, be prepared to sell
  some cpu to get it. Having said that, e17 runs blindingly fast on ARM
  mobile devices when configured appropriately. It's nowhere near as
  minimalist as *box, those wm's are in a class where if they suit your
  needs, then nothing else will come close, especially not e17 which is
  designed to showcase graphic effects to a large degree. *box is the polar
  opposite of that

Thanks Alan, your insight in this is much appreciated.  I've been trying 
different things and keep coming back to fluxbox.  Having spent time some 
years ago to set it up just-as-I-want-it in terms of the menu with all my 
apps, as well as the windows behaviour and decoration, I find that I am trying 
to change other WMs to behave like fluxbox! Ha! I am a creature of 
(minimalist) habit I guess.  I'll probably have another pop at e17 and see 
what gives.
-- 
Regards,
Mick


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


Re: [gentoo-user] KDE? Get me out of here!

2010-03-01 Thread Alan McKinnon
On Tuesday 02 March 2010 01:17:06 Mick wrote:
 Thanks Alan, your insight in this is much appreciated.  I've been trying 
 different things and keep coming back to fluxbox.  Having spent time some 
 years ago to set it up just-as-I-want-it in terms of the menu with all my 
 apps, as well as the windows behaviour and decoration, I find that I am
 trying  to change other WMs to behave like fluxbox! Ha! I am a creature of
 (minimalist) habit I guess.  I'll probably have another pop at e17 and see
 what gives.

I feel your pain :-)

I feel the same way about Gentoo - I've used just about everything else under 
the sun for the work server, but on my personal machines (and the many tinker-
toys in the lab at work) I keep coming back to Gentoo. And I keep trying to 
rebuild packages on Centos with the support I want, not what the dev thinks I 
want. 

USE truly does spoil a sysadmin ;-)


-- 
alan dot mckinnon at gmail dot com



[gentoo-user] [OT] NoSQL?

2010-03-01 Thread walt

This article was a big surprise to me.  Am I the last one to hear about this 
stuff?

http://news.cnet.com/8301-13505_3-10461670-16.html?part=rssamp;subj=newsamp;tag=2547-1_3-0-20




Re: [gentoo-user] Advice/best practices for a new Gentoo installation

2010-03-01 Thread Frank Steinmetzger
Am Freitag 26 Februar 2010 schrieb Paul Hartman:

 Hi, I'm building a new personal computer. I respect the opinion and
 experience of the people on this list and am interested in anyone's
 advice on the best way to set up my new Gentoo installation. Things
 that you say I wish I set mine up this way the first time... or have
 learned from experience how to do it right the first time already. :)
 
 Some topics I'm thinking about (comments welcome):
 - be aware of cylinder boundaries when partitioning (thanks to the
 recent thread)

Indeed. ;-)
I just applied that knowledge again yesterday on a friend’s new laptop.

 - better partitioning scheme than my current root, boot, home (need
 portage on its own, maybe /var as well?)

I use the root/boot/home scheme as well (500GB laptop drive). Though I used 
ReiserFS in an image file on / file system for a while, but dropped it later. 
Using an image file saves from fiddling with partitions and FS resizing in the 
process.

 - some kind of small linux emergency/recovery partition? equivalent to
 a liveCD maybe.

I always wanted to make my own Gentoo-based livecd that fits onto my old 128M 
stick. :o)

 - SSD vs 1rpm vs big-and-cheap hard drive for rootfs/system files.
 I lean toward the latter since RAM caches it anyway.

I’m still caucios about SSDs because of their limited lifetime. I would only 
use it for /home or my media archive. But for the latter, it would become 
over-expensive fast, for they are more pricey by the GB than all other things. 
If it shall be a quiet system, I’d look into 2,5 drives, they also use less 
power than 3,5, on the other hand they are of course more expensive. :)

 - omit/reduce number of reserved-for-root blocks on partitions where
 it's not necessary.

I’ve set it to 0 on my home partition. I also reduced the inode count on my 
media, home and X-Plane partition. None of those have more than 6 in use 
at the moment, whereas mkfs had given them about 3 to 4 million by default. 
I’m not sure though if that gives me any more available space.
-- 
Gruß | Greetings | Qapla'
This sentence no verb.


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


Re: [gentoo-user] Manual pages (man pages) have ESC all through them when having used sudo.

2010-03-01 Thread Mick
On Monday 01 March 2010 10:11:18 Neil Bothwick wrote:
 On Mon, 1 Mar 2010 11:08:22 +0200, Alan McKinnon wrote:
  We just log the fact of running sudo. The admins are trusted to not
  cock things up, and if they do, to not try and hide it. The philosophy
  is simple - if we feel we can't trust you, we would not have hired you.
 
 That is sensible, if not good for your BOFH rating :)
 
  Editing root's history after the fact to hide your tracks is considered
  a heinous crime of unimaginable proportions. Anyone caught doing it is
  sentenced to buy cake for the entire technical team. That's about 100
  people. And when I saw cake I don't mean a teeny weeny jam tart each, I
  mean cake - chocolate filled croissants, black forest and my personal
  favourite: 4 inch high carrot cake.
 
 I take that back :)

Coming back to the OP, on a brand new installation, while on the console and 
logged in as root user, I also see ESC all over the man pages.  I do not have 
this problem on older boxen, nor do I remember noticing it in the past.  What 
is causing it and what is the fix?
-- 
Regards,
Mick


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


Re: [gentoo-user] Manual pages (man pages) have ESC all through them when having used sudo.

2010-03-01 Thread Alan McKinnon
On Tuesday 02 March 2010 08:33:07 Mick wrote:
 On Monday 01 March 2010 10:11:18 Neil Bothwick wrote:
  On Mon, 1 Mar 2010 11:08:22 +0200, Alan McKinnon wrote:
   We just log the fact of running sudo. The admins are trusted to not
   cock things up, and if they do, to not try and hide it. The philosophy
   is simple - if we feel we can't trust you, we would not have hired you.
  
  That is sensible, if not good for your BOFH rating :)
  
   Editing root's history after the fact to hide your tracks is considered
   a heinous crime of unimaginable proportions. Anyone caught doing it is
   sentenced to buy cake for the entire technical team. That's about 100
   people. And when I saw cake I don't mean a teeny weeny jam tart each, I
   mean cake - chocolate filled croissants, black forest and my personal
   favourite: 4 inch high carrot cake.
  
  I take that back :)
 
 Coming back to the OP, on a brand new installation, while on the console
 and logged in as root user, I also see ESC all over the man pages.  I do
 not have this problem on older boxen, nor do I remember noticing it in the
 past.  What is causing it and what is the fix?


Compare the environment between root and a non-root user when running a login 
shell.

The answer should be self-evident when you have the correct data in front of 
you to compare



-- 
alan dot mckinnon at gmail dot com