Re: [gentoo-ppc-user] Compile error on IDE Power Mac driver

2005-11-06 Thread Michael Hanselmann
Hello Charles

Sorry, I looked wrong before.

 CC drivers/ide/ppc/pmac.o
 drivers/ide/ppc/pmac.c: In function 'pmac_ide_setup_dma'
 2174 error: '__ide_dma_off_quietly' undeclared
 2175 error: '__ide_dma_on' undeclared
 2184 error: '__ide_dma_timeout' undeclared

You should set CONFIG_BLK_DEV_IDEDMA_PCI, see drivers/ide/ide-dma.c.

Greets,
Michael

-- 
Gentoo Linux Developer using m0n0wall | http://hansmi.ch/
Debian is the Jedi operating system: Always two there are, a master and
an apprentice.
-- Simon Richter on debian-devel


pgpxm2AmC1HTI.pgp
Description: PGP signature


Re: [gentoo-user] Config help texts

2005-11-06 Thread Charles Trois

Mike Williams a écrit :

On Saturday 05 November 2005 08:34, Charles Trois wrote:


In the 2.6 sources, that file does no longer exist. Yet the help is
still there, and there is bound to be a data base somewhere. I have
looked for it in the sources, but could not identify it.

Does anybody know where it is and under what name? 


The Kconfig files.


I see. The information is fragmented, whereas I was looking for 
something global.


Thanks very much.

Charles

--
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT] Filenames with special ch aracters (äöü€¶) on SMB share of Linkstation HD-HLAN250

2005-11-06 Thread Alexander Skwar
Hello!

I've got a Buffalo Linkstation HD-HLAN250. This is a consumer
NAS device, which makes the built-in HD accessible via SMB
and FTP. On that system, some sort of Linux with some sort
of Samba is running.

I'm now trying to create filenames with special characters (ie.
non-ASCII chars) in it. For example blöder name (means
stupid name).

To get access to the share on that NAS device, I added the
following line to my local /etc/fstab:

//HD/share  /HD/TESTsmbfs
noauto,credentials=/local/conf/hd-credentials,uid=guest,gid=users,fmask=0775,dmask=0775,workgroup=EUROPE,rw,lfs,iocharset=utf8,codepage=cp850
 0 0

Now I created a file with name blöder name on it:

$ touch /HD/TEST/blöder\ name

That filename gets created just fine and Linux sees it just
fine:

$ ls -la /HD/TEST/bl*me
-rwxrwxr-x  1 guest users 0  6. Nov 10:46 /HD/TEST/blöder name

But when I use Windows XP to access the share, the filename is all
messed up - it's shown as blöder name instead. That's not
correct  :)

Also, when I create blöder name from Windows, only Windows sees
filename intact. Linux ls shows it as:

$ ls -la /HD/TEST/bl*win*
-rwxrwxr-x  1 guest users 0  6. Nov 10:48 /HD/TEST/bl?der windows name

Note the ? after bl and before der. That's not correct
either  :)

I also tried to mount that share using cifs as fs-type instead
of smbfs with the following line in /etc/fstab:

//HD/share  /HD/TEST2   cifs
noauto,credentials=/local/conf/hd-credentials,uid=guest,gid=users,file_mode=0775,dir_mode=0775,domain=EUROPE,rw,setuids,noperm,mapchars,soft,serverinoi,iocharset=utf8
0 0

But that's even worse... With this, not even Linux can see the
special characters fine:

$ touch /HD/TEST2/blöder\ cifs\ name
$ ls -la /HD/TEST2/bl*cifs*name
-rwxrwxr-x  1 guest users 0  6. Nov 10:51 /HD/TEST2/bl ?der cifs name

And in Windows, that name shows up as bl Âder cifs name. That's
also not correct  :)

In the Basic Setup of the LS, I set ISO8859-15 as the character code.
I can only chose between some cp codepages (cp850, cp437, ...) and
iso8859-1, iso8859-15 and some other ISOs. cp850, iso-8859-1 and
iso-8859-15 are the only options relevant for me (ie. I don't care
about eg. japanese characters).

The HD-HLAN only offers SMB and FTP access; ie. no NFS  :(

How do I have to setup everything, so that I can use non-ASCII
characters from every OS and that they show up correctly
everywhere (ie. a ö has to be shown as ö everywhere and
not as ö or  Â)?

Thanks a lot,

Alexander Skwar
-- 
BOFH Excuse #334:

50% of the manual is in .pdf readme files
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: [OT] Filenames with special characters (äöü€¶) on SMB share of Linkstation HD-HLAN250

2005-11-06 Thread Holger Hoffstaette
On Sun, 06 Nov 2005 10:59:24 +0100, Alexander Skwar wrote:

 I've got a Buffalo Linkstation HD-HLAN250. This is a consumer NAS device,
 which makes the built-in HD accessible via SMB and FTP. On that system,
 some sort of Linux with some sort of Samba is running.
 
 I'm now trying to create filenames with special characters (ie. non-ASCII
 chars) in it. For example blöder name (means stupid name).
 ...
 In the Basic Setup of the LS, I set ISO8859-15 as the character code. I

I have the following in my smb.conf:

  unix charset = ISO8859-15

and Umlauts work correctly either way (Linux - XP), but then again I
have a relatively new samba version (3.0.20). Samba has several different
charset and encoding options; if your storage device does not allow
changing arbitrary parameters you're most likely out of luck.

Holger


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Filenames with special characters (äöü€¶ ) on SMB share of Linkstation HD-HLAN250

2005-11-06 Thread Alexander Skwar
Hello!

Peter Ruskin schrieb:
 On Sunday 06 November 2005 09:59, Alexander Skwar wrote:
 How do I have to setup everything, so that I can use non-ASCII
 characters from every OS and that they show up correctly
 everywhere (ie. a ö has to be shown as ö everywhere and
 not as ö or  Â)?
 
 Try utf-8 instead of iso8859-15.

Where should I set this? You mean like this in fstab?

//HD/share  /HD/TESTsmbfs
noauto,credentials=/local/conf/hd-credentials,uid=guest,gid=users,fmask=0775,dmask=0775,workgroup=EUROPE,rw,lfs,iocharset=unicode,codepage=utf-8
 0 0

Same error. I mounted /HD/TEST with those options, and blöder
name still shows up as blöder name on Windows.

Or like this?

//HD/share  /HD/TESTsmbfs
noauto,credentials=/local/conf/hd-credentials,uid=guest,gid=users,fmask=0775,dmask=0775,workgroup=EUROPE,rw,lfs,iocharset=iso8859-15,codepage=utf8
 0 0

Still no go.

  I default to utf-8 and had to set 
 encoding to iso8859-15 in order to read your mail.

Sorry about the complications :(

Alexander Skwar
-- 
Nature abhors a vacuum
  -- Brian Behlendorf on OSS (Open Sources, 1999 O'Reilly and Associates)
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] failed to build libkudzu

2005-11-06 Thread Cadaver
Subj.

cc -c -O2 -march=i686 -Wall -D_GNU_SOURCE -g -I. -DVERSION=\1.1.62\ -fpic -o 
kudzu.o kudzu.c
kudzu.c: In function `writeDevice':
kudzu.c:196: warning: 'class' might be used uninitialized in this function
cc -c -O2 -march=i686 -Wall -D_GNU_SOURCE -g -I. -DVERSION=\1.1.62\ -fpic -o 
modules.o modules.c
cc -c -O2 -march=i686 -Wall -D_GNU_SOURCE -g -I. -DVERSION=\1.1.62\ -fpic -o 
pci.o pci.c
pci.c:682: error: parse error before byte
pci.c: In function `isDisabled':
pci.c:692: error: `config' undeclared (first use in this function)
pci.c:692: error: (Each undeclared identifier is reported only once
pci.c:692: error: for each function it appears in.)
pci.c:693: error: `p' undeclared (first use in this function)
pci.c: In function `pciProbe':
pci.c:753: error: `byte' undeclared (first use in this function)
pci.c:753: error: parse error before config
pci.c:755: error: `config' undeclared (first use in this function)
pci.c:766: error: parse error before config
make: *** [pci.o] Error 1

# cat /etc/make.conf

USE=-gnome -gtk -java -doc -opengl -python
livecd apache2 ssl utf8 big-tables perl readline ssl perlsuid pcre 
unicode

ACCEPT_KEYWORDS='~x86'

CONFIG_PROTECT=-*

CFLAGS=-O2 -march=i686
CHOST=i686-pc-linux-gnu
CXXFLAGS=${CFLAGS}

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [OT] Filenames with special characters (ä öü¤€¶) on SMB share of Linkstatio n HD-HLAN250

2005-11-06 Thread Alexander Skwar
Holger Hoffstaette schrieb:

 I have the following in my smb.conf:
 
   unix charset = ISO8859-15
 
 and Umlauts work correctly either way (Linux - XP), but then again I
 have a relatively new samba version (3.0.20). Samba has several different
 charset and encoding options; if your storage device does not allow
 changing arbitrary parameters you're most likely out of luck.

Hm.

Thanks to OpenLink firmware from http://linkstationwiki.org/, I've
now got root access via ssh/telnet to the box. In the smb.conf
of the NAS device, I find:

client code page = 850
character set = ISO8859-15

It is running:

[EMAIL PROTECTED]:~# /usr/sbin/smbd -V
Version 2.2.8a-ja-1.1

To what values should I change that?

Thanks again,

Alexander Skwar
-- 
s = (char*)(long)retval;/* ouch */
 -- Larry Wall in doio.c from the perl source code
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Filenames with special characters (äöü€¶) on SMB share of Linkstation HD-HLAN250

2005-11-06 Thread Christoph Eckert

bash-2.05b$ touch äöüÄÖÜß\ name
bash-2.05b$ ls -l äöüÄÖÜß\ name
-rw-r--r--  1 ce users 0  6. Nov 13:49 äöüÄÖÜß name

bash-2.05b$ locale
[EMAIL PROTECTED]
LC_CTYPE=[EMAIL PROTECTED]
LC_NUMERIC=[EMAIL PROTECTED]
LC_TIME=[EMAIL PROTECTED]
LC_COLLATE=[EMAIL PROTECTED]
LC_MONETARY=[EMAIL PROTECTED]
LC_MESSAGES=[EMAIL PROTECTED]
LC_PAPER=[EMAIL PROTECTED]
LC_NAME=[EMAIL PROTECTED]
LC_ADDRESS=[EMAIL PROTECTED]
LC_TELEPHONE=[EMAIL PROTECTED]
LC_MEASUREMENT=[EMAIL PROTECTED]
LC_IDENTIFICATION=[EMAIL PROTECTED]
[EMAIL PROTECTED]


Gruß  best regards


ce





-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] failed to build libkudzu

2005-11-06 Thread b.n.

what is bugzilla saying?

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



Re: [gentoo-user] Re: local.start and sending an email

2005-11-06 Thread John J. Foster
On Sun, Nov 06, 2005 at 08:16:44AM +0100, Francesco Talamona wrote:
  source /etc/profile
  /usr/bin/date | /usr/bin/mutt -s System restarted [EMAIL PROTECTED]
 
  Now, the error message
 
  Error sending message, child exited 1 ().
  /etc/conf.d/local.start: line 15: 19174 Done
  /usr/bin/date
   19175 Segmentation fault  | /usr/bin/mutt -s System
  restarted [EMAIL PROTECTED]
 
 I reread the whole thread, till now we focused on mail program, but 
 segfault came just after date command, maybe we just looked in the 
 wrong direction...

Yeah, I thought that at first. Except for the error sending message
line and that changing to mailx works properly.
 
 Do you have all partitions mounted at the time local runs, 
 are /usr /var /lib ... all mounted and accessible by then?

Yep - only have a /, /boot and a swap

 permission problem? So who is the user running the script?...

root during boot

Thanks,
John
-- 
If voting could change anything,
it would be illegal


pgp7ANvN325sG.pgp
Description: PGP signature


Re: Re: [gentoo-user] Re: [OT] Filenames with special characters (äöü¤€¶) on SMB share of Linkstation HD-HLAN250

2005-11-06 Thread Holger Hoffstaette
On Sun, 06 Nov 2005 12:55:27 +0100, Alexander Skwar wrote:

 Holger Hoffstaette schrieb:
 
 I have the following in my smb.conf:
 
   unix charset = ISO8859-15
 
 and Umlauts work correctly either way (Linux - XP), but then again I

 Thanks to OpenLink firmware from http://linkstationwiki.org/, I've now got
 root access via ssh/telnet to the box. In the smb.conf of the NAS device,
 I find:
 
 client code page = 850
 character set = ISO8859-15

Hm..that does not look too wrong, although cp850 is right for Windows
only.

 It is running:
 
 [EMAIL PROTECTED]:~# /usr/sbin/smbd -V
 Version 2.2.8a-ja-1.1
 
 To what values should I change that?

No idea. :( Encoding changed a bit in samba3 and I do not remember what I
did when I was still running samba2, although I remember I had it working
correctly - so it should be possible.
You could also try to set UNICODE in /etc/rc.conf to no and see if that
changes anything on the Gentoo client.

good luck
Holger


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Visited web sites

2005-11-06 Thread Hans-Werner Hilse
Hi,

On Sat, 5 Nov 2005 20:40:02 -0800
Mark Knecht [EMAIL PROTECTED] wrote:

  yes thats the point of squid it is a proxy.
 
 OK, but that's like using the word in the definition to a guy who's
 never used a proxy. ;-)
 
 I'm still unclear though, and I'm sure I'll find this out either
 through reading or use. do all packets for the machine using the proxy
 go through the proxy? Or is it more like a DNS server where just the
 URL's go through the proxy to figure out what to do?

No, it forwards all traffic. And there's another thing: You'd have to
configure it at the target computer. That is, one can deconfigure it...
but read below, there's an option...

 The I created a lot of extra wireless traffic, especially since the
 machine being observed seems to like to watch a lot of gaming videos.
 If it's just addresses, then no big deal. If it's the whole data
 stream then it's not going to work well.

Well, in order to log the traffic, you'll have to intercept it.

Probably, a text filtering firewall looking for --dport 80 and
HTTP/1. at the start of the packet would suffice. You can even use a
firewall to make your proxy into a transparent proxy - i.e., all
traffic is intercepted at network level and redirected through the
proxy. This only works if the firewalling computer is at router level.

Maybe another idea would be to just sniff the WLAN in monitor mode and
use a packet filter to match TCP:80/HTTP packets.


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



Re: [gentoo-user] [OT] Filenames with special characters (äöü€¶ ) on SMB share of Linkstation HD-HLAN250

2005-11-06 Thread Alexander Skwar
Christoph Eckert schrieb:
 bash-2.05b$ touch äöüÄÖÜß\ name
 bash-2.05b$ ls -l äöüÄÖÜß\ name
 -rw-r--r--  1 ce users 0  6. Nov 13:49 äöüÄÖÜß name
 
 bash-2.05b$ locale
 [EMAIL PROTECTED]

Yes. No UTF-8. What do you get, when you do the same
with UTF-8 on a Samba share?

Alexander Skwar
-- 
A bird in the hand is worth two in the bush.
-- Cervantes
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] portage: fixed or not???

2005-11-06 Thread Jarry
Hi,

there was a thread concerning portage/emerge being recently fixed
and faster now (sorry, forgot original subject). Well, I was really
impressed by that improvement, until today:

emerge --sync takes again very long time, nearly freezing at 51%
of updating portage cache, cpu load is on 99% load, 25 minutes and
I'm still waiting. And 2 days ago the whole emerge --sync took
about 3-4 minutes! Anyone else having the same experience?

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



Re: [gentoo-user] portage: fixed or not???

2005-11-06 Thread Dale
Jarry wrote:

Hi,

there was a thread concerning portage/emerge being recently fixed
and faster now (sorry, forgot original subject). Well, I was really
impressed by that improvement, until today:

emerge --sync takes again very long time, nearly freezing at 51%
of updating portage cache, cpu load is on 99% load, 25 minutes and
I'm still waiting. And 2 days ago the whole emerge --sync took
about 3-4 minutes! Anyone else having the same experience?

Jarry
  

Same here just a bit ago.  I did not use the du -s thing though.  It
stayed around 50% for a while. 

What happened?  Anybody know?

Dale


-- 
To err is human, I'm most certainly human.

 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] /usr/local/portage does not seem to have a valid PORTDIR structure.

2005-11-06 Thread Norberto Bensa
Hello list,

I'm trying to make an ebuild for kbfx 
(http://kde-apps.org/content/show.php?content=24898) but when I do:

sudo ebuild ./kbfx-0.4.8beta.ebuild digest

I get:

Appending /usr/local/portage to PORTDIR_OVERLAY...
!!! /usr/local/portage does not seem to have a valid PORTDIR structure.

This seems new in portage-2.0.53rc7. What is it and how do I fix this?


Many thanks in advance,
-- 
Norberto Bensa
4544-9692
Ciudad de Buenos Aires, Argentina
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-06 Thread Norberto Bensa
Jarry wrote:
 Anyone else having the same experience?


I've never seen a portage speed improvement in over two years.


-- 
Norberto Bensa
4544-9692
Ciudad de Buenos Aires, Argentina
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /usr/local/portage does not seem to have a valid PORTDIR structure.

2005-11-06 Thread Holly Bostick
Norberto Bensa schreef:
 Hello list,
 
 I'm trying to make an ebuild for kbfx 
 (http://kde-apps.org/content/show.php?content=24898) but when I do:
 
 sudo ebuild ./kbfx-0.4.8beta.ebuild digest
 
 I get:
 
 Appending /usr/local/portage to PORTDIR_OVERLAY... !!!
 /usr/local/portage does not seem to have a valid PORTDIR structure.
 
 This seems new in portage-2.0.53rc7. What is it and how do I fix
 this?
 
 
 Many thanks in advance,

I'm not sure if this is the answer, since I've not seen that error, but
I have had many errors based on the fact that my overlay ebuild was not
placed in the same tree structure as Portage -- and it does rather sound
like that's what this error is saying.

For example, let's say you make an alternative ebuild for... (make
something up)... mplayer.

The overlay ebuild would have to be placed in (assuming your overlay is
/usr/local/portage)

/usr/local/portage/media-video/mplayer/mplayer-whatever.ebuild

If you placed it in
/usr/local/portage/media-video/mplayer-whatever.ebuild, or
/usr/local/portage/mplayer/mplayer-whatever.ebuild you would get an
error, because the Portage tree structure is

/portage/directory/category/packagename/package-ver.sion.ebuild

Any other format will not be recognized, and you will get one of a
variety of errors.

So I would first suggest that you make sure your ebuild is correctly
placed in the correct tree structure, and then I would digest it by full
path, rather than from within the directory, as you seem to be doing.

Afaik, the syntax of the ebuild command requires the full path, even if
you're at the correct location.

Hope this helps,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /usr/local/portage does not seem to have a valid PORTDIR structure.

2005-11-06 Thread Rumen Yotov
On Sun, 2005-11-06 at 13:10 -0300, Norberto Bensa wrote:
 Hello list,
 
 I'm trying to make an ebuild for kbfx 
 (http://kde-apps.org/content/show.php?content=24898) but when I do:
 
 sudo ebuild ./kbfx-0.4.8beta.ebuild digest
 
 I get:
 
 Appending /usr/local/portage to PORTDIR_OVERLAY...
 !!! /usr/local/portage does not seem to have a valid PORTDIR structure.
 
 This seems new in portage-2.0.53rc7. What is it and how do I fix this?
 
 
 Many thanks in advance,
 -- 
 Norberto Bensa
 4544-9692
 Ciudad de Buenos Aires, Argentina
Hi,
Digest files (for ebuilds) stay in portage - the main one or in the
overlay. Assume you want to make a digest in some HOME dir, won't work.
Try this instead:
$sudo ebuild /usr/local/portage/kde-apps/kbfx-0.4.8beta.ebuild digest
substituting 'kde-apps' with appropriate category. Before that put the
ebuild there.
Portage structure in /usr/local/portage mirrors the main tree.
Unless you run the above from within portage-overlay.
PS: check if PORTAGE_OVERLAY= var is set in /etc/make.conf.
HTH.Rumen


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


[gentoo-user] Unknown service running on port 859/tcp

2005-11-06 Thread Mark Shields
I was doing my usual run through of checking to make sure there weren't
any unnecessary (or unauthorized) services/ports in use, and after
running nmap I found that port 859/tcp was open. Now, I have
iptables setup, so no inbound traffic is being allowed on that
port. But I'm curious as to what could be listening on that port.
I ran a netstat -pan, here's the relevant results: 

tcp
0 0
127.0.0.1:859
0.0.0.0:*
LISTEN -

Several google searches didn't return much concerning that port, except
a tool called Amanda (which I did have at one time but unmerged
it). Any ideas? This server has a ssh, ftp, samba, apache,
and mysql server on it. It's also setup as a router, so I'm a
little paranoid about it's well-being.-- - Mark Shields


Re: [gentoo-user] Unknown service running on port 859/tcp

2005-11-06 Thread Dave Nebinger

netstat -pl | grep 859

This will give you the name of the process that's listening there.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Unknown service running on port 859/tcp

2005-11-06 Thread Mark Shields
Ah, thanks. I feel embarassed now, it is famd running. Strange I never noticed it before.On 11/6/05, Dave Nebinger 
[EMAIL PROTECTED] wrote:netstat -pl | grep 859This will give you the name of the process that's listening there.
--gentoo-user@gentoo.org mailing list-- - Mark Shields


Re: [gentoo-user] /usr/local/portage does not seem to have a valid PORTDIR structure.

2005-11-06 Thread Norberto Bensa
Holly Bostick wrote:
 Norberto Bensa schreef:
  sudo ebuild ./kbfx-0.4.8beta.ebuild digest
 
  I get:
 
  Appending /usr/local/portage to PORTDIR_OVERLAY... !!!
  /usr/local/portage does not seem to have a valid PORTDIR structure.

 So I would first suggest that you make sure your ebuild is correctly
 placed in the correct tree structure, and then I would digest it by full
 path, rather than from within the directory, as you seem to be doing.


[EMAIL PROTECTED] /usr/local/portage/kde-misc/kbfx $ sudo ebuild 
/usr/local/portage/kde-misc/kbfx/kbfx-0.4.8beta.ebuild digest
Password:
Appending /usr/local/portage to PORTDIR_OVERLAY...
!!! /usr/local/portage does not seem to have a valid PORTDIR structure.


$ grep OVERLAY /etc/make.conf
PORTDIR_OVERLAY=/usr/local/portage


I don't know. Perhaps one of those (stupid) security settings somewhere for 
latest portage :(

Thank you Holly and Rumen.

Best regards,
Norberto
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /usr/local/portage does not seem to have a valid PORTDIR structure.

2005-11-06 Thread Holly Bostick
Norberto Bensa schreef:
 Holly Bostick wrote:
 
 Norberto Bensa schreef:
 
 sudo ebuild ./kbfx-0.4.8beta.ebuild digest
 
 I get:
 
 Appending /usr/local/portage to PORTDIR_OVERLAY... !!! 
 /usr/local/portage does not seem to have a valid PORTDIR 
 structure.
 
 So I would first suggest that you make sure your ebuild is 
 correctly placed in the correct tree structure, and then I would 
 digest it by full path, rather than from within the directory, as 
 you seem to be doing.
 
 
 
 [EMAIL PROTECTED] /usr/local/portage/kde-misc/kbfx $ sudo ebuild 
 /usr/local/portage/kde-misc/kbfx/kbfx-0.4.8beta.ebuild digest 
 Password: Appending /usr/local/portage to PORTDIR_OVERLAY... !!! 
 /usr/local/portage does not seem to have a valid PORTDIR structure.
 
 
 $ grep OVERLAY /etc/make.conf PORTDIR_OVERLAY=/usr/local/portage
 
 
 I don't know. Perhaps one of those (stupid) security settings 
 somewhere for latest portage :(
 
 Thank you Holly and Rumen.
 

Now, now; not so hasty what I notice is that this is a *very*
explicit error message. So if we assume that it means exactly what it
says, where does that get us?

/usr/local/portage does not seem to have a valid PORTDIR structure

very clearly says that the overlay must have a structure identical to
PORTDIR; your portdir *is* /usr/portage, is it not?

Assuming that it is, then you have replicated this structure in
/usr/local/portage for this ebuild-- but there are three possible holes
in this 'theory' such as it is.

One is that you are trying to digest the ebuild from within the
directory, rather than from, say, /usr/local. It is remotely possible
that this is not a good idea, since the overlay tree should possibly not
be the current working directory (as I suggested before).

Second is that you're using sudo. I find many anomolies in sudo; mostly
revolving around it not being a 'real' login shell, but some kind of
weird spawned shell process that doesn't necessarily transfer all
variables and/or permissions, depending on settings. You might try
again, using su - -c instead of sudo to get root privileges.

Third is that there's a problem with your ebuild, which also uses the
PORTDIR variable. It is possilbe that your ebuild is incorrectly using
this variable and not using a 'valid' PORTDIR. I'm not much of an ebuild
writer, but you might want to go over it with a fine-toothed comb to
make sure that this error isn't reporting an anomaly in the ebuild it's
trying to read, rather than Portage, and is just poorly expressing that
(it happens).


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



[gentoo-user] OT - ORT invisible

2005-11-06 Thread Antoine

Hi,
I am trying to set up a website for my father and wanted to use a free 
hosting service here in France (1 gig space + php + mysql, no ads - so 
not to be sniffed at!). I have got myself a domain name (for me not him, 
but it is just for testing...) and am trying to work out whether it is 
possible to make it so that the user doesn't see the fact that it is on 
a free host. I am using the redirection provided by my dns service to 
point to a directory on the free site 
(http://antonovich.free.fr/DerekMelser). When I put the url 
http://www.antonmelser.org into the url bar it does indeed take me 
there... but clicking on the links on the page keeps the same thing 
there (eg, the link 
http://antonovich.free.fr/DerekMelser/journal/recent.html), which means 
still http://www.antonmelser.org. That would be OK but unfortunately 
even when I click on a link to an external site the 
http://www.antonmelser.org stays there... not so nice! I get the same 
with firefox and konqueror and even IE on doze - so it looks more like a 
feature than a bug - can someone enlighten me on this?

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



Re: [gentoo-user] portage: fixed or not???

2005-11-06 Thread John Green
Dale wrote:

Jarry wrote:

  

Hi,

there was a thread concerning portage/emerge being recently fixed
and faster now (sorry, forgot original subject). Well, I was really
impressed by that improvement, until today:

emerge --sync takes again very long time, nearly freezing at 51%
of updating portage cache, cpu load is on 99% load, 25 minutes and
I'm still waiting. And 2 days ago the whole emerge --sync took
about 3-4 minutes! Anyone else having the same experience?

Jarry
 



Same here just a bit ago.  I did not use the du -s thing though.  It
stayed around 50% for a while. 

What happened?  Anybody know?

Dale


  

Same here too.  No idea why.

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



Re: [gentoo-user] Re: Problem with permisions

2005-11-06 Thread Richard Fish

Francesco Talamona wrote:


/tmp permissions are 1777 if I rememeber correctly.
/home is not vital for system sanity, defer its recovery
 



Here are some other directories that do not have 'standard' permissions 
(root:root -rwxr-xr-x):


root portage 0755 ./etc/portage
root portage 02775 ./etc/portage/sets
root lp 0775 ./etc/cups
root lp 0755 ./etc/cups/ppd
root lp 0711 ./etc/cups/certs
root root 0700 ./etc/hibernate
root root 0700 ./etc/lvm/backup
root root 0700 ./etc/lvm/archive
root root 0555 ./proc
root root 01777 ./tmp

Directory permissions won't be fixed by any emerge, so you'll have to fix these 
manually.

-Richard


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /usr/local/portage does not seem to have a valid PORTDIR structure.

2005-11-06 Thread Norberto Bensa
Holly Bostick wrote:
 Norberto Bensa schreef:
  [EMAIL PROTECTED] /usr/local/portage/kde-misc/kbfx $ sudo ebuild
  /usr/local/portage/kde-misc/kbfx/kbfx-0.4.8beta.ebuild digest
  Password: Appending /usr/local/portage to PORTDIR_OVERLAY... !!!
  /usr/local/portage does not seem to have a valid PORTDIR structure.

 very clearly says that the overlay must have a structure identical to
 PORTDIR; your portdir *is* /usr/portage, is it not?

Yup.


 you're using sudo. I find many anomolies in sudo; 

Why does people hate sudo so much?

$ su -
password:
# ebuild /usr/local/portage/kde-misc/kbfx/kbfx-0.4.8beta.ebuild digest
Appending /usr/local/portage to PORTDIR_OVERLAY...
!!! /usr/local/portage does not seem to have a valid PORTDIR structure.

:(


 there's a problem with your ebuild, which also uses the
 PORTDIR variable. 

I've found the problem. Portage doesn't like packge-0.0.1beta. Instead you 
must name it like package-0.0.1_beta. Now I need to do some magic inside the 
ebuild to s/_// 


 HTH,
 Holly

Many thanks!

-- 
Norberto Bensa
4544-9692
Ciudad de Buenos Aires, Argentina
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - ORT invisible

2005-11-06 Thread Tim Igoe
Antoine wrote:
 Hi,
 I am trying to set up a website for my father and wanted to use a free
 hosting service here in France (1 gig space + php + mysql, no ads - so
 not to be sniffed at!). I have got myself a domain name (for me not him,
 but it is just for testing...) and am trying to work out whether it is
 possible to make it so that the user doesn't see the fact that it is on
 a free host. I am using the redirection provided by my dns service to
 point to a directory on the free site
 (http://antonovich.free.fr/DerekMelser). When I put the url
 http://www.antonmelser.org into the url bar it does indeed take me
 there... but clicking on the links on the page keeps the same thing
 there (eg, the link
 http://antonovich.free.fr/DerekMelser/journal/recent.html), which means
 still http://www.antonmelser.org. That would be OK but unfortunately
 even when I click on a link to an external site the
 http://www.antonmelser.org stays there... not so nice! I get the same
 with firefox and konqueror and even IE on doze - so it looks more like a
 feature than a bug - can someone enlighten me on this?
 Cheers
 Antoine

Your links going external are still opening within the frame. The
redirection will be setting a full page frame and then load the free
host within that frame.

For your external links to show with the correct url you will need to
jump out of hte frame - so setting a target of _top should do that :)

Thus, a href=http://www.someexternalurl.com; target=_topGo
Elsewhere/a

-- 
Tim Igoe
[EMAIL PROTECTED]
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide

Computers are like Air-con, open windows and they stop working!


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Is it just me? Or everyone has this openoffice2 problem?

2005-11-06 Thread Richard Fish

Zhang Weiwu wrote:


Richard Fish wrote:
 


Zhang Weiwu wrote:
   


These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] app-office/openoffice-2.0.0  +curl +eds +gnome +gtk
+java -kde +ldap +mozilla -nas +xml2 +zlib 0 kB
 


Well, these USE flags are quite different than what I use, so
comparing to my system is probably not useful.

But, could you try an equery check openoffice, and see if it reports
any problems?

I remember that when I compiled OOo2, it took over 3Gb of space in
/var, and my /usr/lib/openoffice directory is using 228M.  Maybe you
ran out of disk space at some point during the merge, which is why you
are missing files???

-Richard
   


I don't understand: if it run out of space, how comes the package marked
as installed. I have about 3.8G free hdd space though.
 



Well, it should have failed...but it is the only explanation I can think 
of that would account for why you are missing libraries, other than 
filesystem corruption and the libraries being moved to lost+found.  My 
guess is 3.8G is close to being enough, but not quite, because you must 
have room for the compiled sources plus an install template (~225M), 
plus the installed files (~225M).  Also, I don't have an exact figure on 
the amount of space necessary to build OOo, since I wasn't paying very 
close attention, but I do know that it was well over 3G.



[EMAIL PROTECTED] ~ $ equery check openoffice
[ Checking app-office/openoffice-2.0.0 ]
* 880 out of 880 files good
 



Hmm, I think there is something bad here.  My check of openoffice shows 
2674 files.  I doubt such a huge difference can be attributed to USE flags.



I think I can try compile with your USE flags later.
 



Unless you want to merge large parts of KDE as well, I wouldn't! ;-)

But you might try to free up some space and build again.  Deleting old 
distfiles is usually enough to free up a gigabyte or so.  Also, remember 
that with ext3, running out of inodes is just as bad as running out of 
space, so if you use ext3, you might want to make sure you have plenty 
available with dumpe2fs -h | grep 'Free inodes'.  The sources are 
nearly 10 files, so I would say that 15 available inodes should 
be sufficient for an OOo build.


Of course, you could also just merge the -bin and be done with it. :-)

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /usr/local/portage does not seem to have a valid PORTDIR structure.

2005-11-06 Thread Holly Bostick
Norberto Bensa schreef:
 Holly Bostick wrote:
 
 you're using sudo. I find many anomolies in sudo;
 
 
 Why does people hate sudo so much?
 
Actually, I don't hate sudo at all; I use it all the time, and it saves
a lot of difficulty. I just get annoyed because I, in my ignorance,
generally expect it to act like a super su, and it doesn't-- in fact,
it's something else by design, but I don't know enough about the
underlying design and the reasons for it, to not fall into the mistaken
assumption if I attempt to use sudo on the fly, as it were.

Which ultimately means that I have to either set sudo up very carefully,
or pay very close attention when using it on the fly, or use an
alternative, and two out of three of those choices obviate my reason for
using sudo, which is to be able to perform certain root functions
*quickly*, without breaking stride in the overall operation I'm performing.

For example, I get the mail saying what updated packages I have
available, I run a --pretend emerge, am not happy with the USE flags,
and so want to change them, meaning I have to edit root-only files. I
can run nano using either su or sudo, but either way I have to input a
password (under normal circumstances), and the passwords aren't the
same, meaning I have to think about something else (am I running su or
sudo, and which one uses which password), which is a distraction from
the job at hand.

So unless I set sudo (and in fact ~/.bashrc) up to not interrupt the
flow of my main activity (which I have taken some pains to do), sudo is
no better than su -- and the fact that sudo does not do some things that
su - does (unless explicitly set up to do them), just makes the
situation worse.

But I assume that this is most likely because I'm using sudo for
purposes that it can handle, but are not strictly within its design
parameters naturally the fit is not perfect. I'm sure that if I was
a server admin, using sudo to manage root access privileges in defined
areas for defined groups, it would be a much smoother ride.

The fact that a coin can unscrew a screw, but is not the best or most
comfortable tool to do so, is no reflection on the coin, nor the screw.
In fact, I'm just glad that the coin can do double-duty. What a waste of
time and energy it would be to hate such a tool, for taking advantage of
a bit of luck in both designs.

 
 there's a problem with your ebuild, which also uses the PORTDIR 
 variable.
 
 
 I've found the problem. Portage doesn't like packge-0.0.1beta. 
 Instead you must name it like package-0.0.1_beta. Now I need to do 
 some magic inside the ebuild to s/_//
 
 Many thanks!

Well, I'm sure you can handle that bit of ebuild magic. Glad to have
been of help in finding the problem.

Holly




-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] how to allow pop,smtp ports on a squid?

2005-11-06 Thread El Nino
Dear friends,

i'm very new to squid  setuped one for testing purpose, now some
users mail accounts are on an outside mail server.so, how can it allow
them to send recive mails through my proxy server(pop  smtp)? (how
to allow pop  smtp protocols through a squid?)

all advices are welcome.-- ...The future lies ahead. ___ Have you mooed today?  \^__^
 \ (oo) \___
(__)
\
)\/\|
|-w ||
|| |2.6.13-gentoo-r4


[gentoo-user] viewing quicktime online

2005-11-06 Thread Harry Putnam
What do I need to do to be able to view a quicktime video online?

I see a couple of quicktime library packages but neithers website
mention plugin tools for Mozilla.

I'm guessing there are viewers available that employ these libs.
But need to know what combination of things I need.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] viewing quicktime online

2005-11-06 Thread Holly Bostick
Harry Putnam schreef:
 What do I need to do to be able to view a quicktime video online?
 
 I see a couple of quicktime library packages but neithers website 
 mention plugin tools for Mozilla.
 
 I'm guessing there are viewers available that employ these libs. But
 need to know what combination of things I need.
 

mplayerplug-in


net-www/mplayerplug-in
 Available versions:  2.80 2.85 3.11
 Installed:   3.11
 Homepage:http://mplayerplug-in.sourceforge.net/
 Description: mplayer plug-in for Mozilla


MPlayer Media Types Supported
Window Mediawmv, avi, asf, wav and asx
QuickTime   mov and smil
MPEG Video and Audiompeg and mp3
Ogg Vorbis  ogg
AutoDesk FLIfli and flc
Vivovivo
Real Player ram and rm

is probably the best-known of these tools, but there are others;

there is a package called 'mozplugger', which supports several formats
(possibly more than mplayerplug-in), as well as the older
netscape-plugger on which it is based,; gxine creates a plugin for web
browsers (plain xine might do so as well, I'm not sure); so does
realplayer, iirc; and you can also install QuickTime itself using Wine
or Crossover Office, which will also give you a browser plugin.

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



Re: [gentoo-user] how to allow pop,smtp ports on a squid?

2005-11-06 Thread Jarry
El Nino wrote:

 i'm very new to squid  setuped one for testing purpose, now some users
 mail accounts are on an outside mail server.so, how can it allow them to
 send recive mails through my proxy server(pop  smtp)? (how to allow pop
  smtp protocols through a squid?)

I'm not sure, but I think squid is just http/ftp proxy-server. It has
nothing to do with pop3/smtp (only if you want to access mail through
web)...

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



[gentoo-user] Re: viewing quicktime online

2005-11-06 Thread Harry Putnam

[...] snipped lots of good info

Holly Bostick [EMAIL PROTECTED] writes:

 net-www/mplayerplug-in

Thanks for a very complete answer Holly.  Soon as Cineralla(sp?)
finished compiling and pulling in deps I'll get that one done too.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] import .(dot)pst files into KMail?

2005-11-06 Thread El Nino
dear friends,

my company user has his all mails on one .pst(MS outlook PST file) file
 it contains more than 2GB. so now i have to import them into
newly installed KMail application on my Linux box. my question is how
can i import .(dot)pst file into KMail?

all advices are welcome...-- ...The future lies ahead. ___ Have you mooed today?  \^__^
 \ (oo) \___
(__)
\
)\/\|
|-w ||
|| |2.6.13-gentoo-r4


[gentoo-user] ATI radeon 9200 open source drivers - no direct rendering

2005-11-06 Thread b.n.

Hi,

I have an ATI radeon 9200 graphic card. I use the 6.8.2 Xorg (latest x86 
stable) with the radeon driver. My xorg.conf (here attached) seems OK 
to me, it loads dri, glx and has the 0666 permissions set in section 
DRI. But I have no direct rendering... I managed to live with it for a 
while, but now I'd like to see what's wrong and fix it.


I checked the logs (attached here too) and what concerns me is the 
following section:


[...]
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
[drm] failed to load kernel module radeon
(II) RADEON(0): [drm] drmOpen failed
(EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.
[...]

I had a look in /dev and the logs are right...I have no /dev/dri/card0 
device (my /dev/dri/ folder is empty). I have the latest udev, kernel 
2.6.12-gentoo-r9, but I remember I had no direct rendering before the 
devfs--udev switch too.


I'm quite puzzled. What do I have to do?

Thank you,

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



Re: [gentoo-user] viewing quicktime online

2005-11-06 Thread Nick Rout
emerge net-www/mplayerplug-in


On Sun, 06 Nov 2005 13:41:27 -0600
Harry Putnam wrote:

 What do I need to do to be able to view a quicktime video online?
 
 I see a couple of quicktime library packages but neithers website
 mention plugin tools for Mozilla.
 
 I'm guessing there are viewers available that employ these libs.
 But need to know what combination of things I need.
 
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ATI radeon 9200 open source drivers - no direct rendering

2005-11-06 Thread Peter Gordon
On Sun, 2005-11-06 at 21:35 +, b.n. wrote:
 [...]
 drmOpenDevice: node name is /dev/dri/card0
 drmOpenDevice: open result is -1, (No such device)
 drmOpenDevice: open result is -1, (No such device)
 drmOpenDevice: Open failed
 drmOpenDevice: node name is /dev/dri/card0
 drmOpenDevice: open result is -1, (No such device)
 drmOpenDevice: open result is -1, (No such device)
 drmOpenDevice: Open failed
 [drm] failed to load kernel module radeon
 (II) RADEON(0): [drm] drmOpen failed
 (EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.
 [...]

Did you enable the ATi Radeon direct rendering manager and any needed
AGP support in your kernel configuration?

It's under the Device Drivers -- Character Devices option.

Hope that helps.

--Peter


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


Re: [gentoo-user] portage: fixed or not???

2005-11-06 Thread Nick Rout
To everyone in this thread: it would probably help if you specified
which version of portage you are running!


On Sun, 06 Nov 2005 16:34:00 +0100
Jarry wrote:

 Hi,
 
 there was a thread concerning portage/emerge being recently fixed
 and faster now (sorry, forgot original subject). Well, I was really
 impressed by that improvement, until today:
 
 emerge --sync takes again very long time, nearly freezing at 51%
 of updating portage cache, cpu load is on 99% load, 25 minutes and
 I'm still waiting. And 2 days ago the whole emerge --sync took
 about 3-4 minutes! Anyone else having the same experience?
 
 Jarry
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-06 Thread Jarry
Nick Rout wrote:
 To everyone in this thread: it would probably help if you specified
 which version of portage you are running!

Do you really think it is important? Because since I'm using Gentoo,
I do not take care about versions, portage does it instead of me.
All I do is running this set of commands every night from crontab:

emerge --sync
emerge --update --deep --newuse world
emerge --depclean
revdep-rebuild

So my portage is also always updated, to the last stable version.
Now it is 2.0.51.22-r3...

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



[gentoo-user] default gateway problem

2005-11-06 Thread Thierry de Coulon
Hello,

I had tried Gentoo two years ago and now I'm back after some time using a 
Debian derivate (is still my main system for the time being).

I spent quite a time emerging and compiling from a stage 2 and most things 
seem to work well. There are two little things that don't work just the way 
I'd like however and I could not figure out how to cure them so far:

- I have a Ti4200 Nvidia card. I compiled my kernel with genkernel --configure 
and (I think) did everything required to have framebuffer support but I can't 
get a splash screen to work. Well, that's not important so I go for a text 
boot, no problem, but I'd love to have a good information about 
framebuffers anyone know where I should look?

- my main problem was that, while my netwrok would start OK, the default 
gateway would not be set, I had to do it by hand. The informations I found 
were about /etc/conf.d/net but this file seems ok:

config_eth0=( 192.168.1.31 netmask 255.255.255.0 )
route_eth0=( default gw 192.168.1.51 )

other sources talked from an /etc/conf.d/route , but that file does not exist 
and I have no clue as to its syntax.

What I did now was to add he following into local.start:

route add default gateway IP

But I think this is not the best way to do. Were should I put that default 
gateway information so that it works?

Thierry

-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-06 Thread b.n.

Do you really think it is important? Because since I'm using Gentoo,
I do not take care about versions, portage does it instead of me.
All I do is running this set of commands every night from crontab:

emerge --sync
emerge --update --deep --newuse world
emerge --depclean
revdep-rebuild

So my portage is also always updated, to the last stable version.
Now it is 2.0.51.22-r3...


We didn't know your portage is always updated, glad to know it.
But you're not the only one having this problem, it seems from the 
thread, and you can't assume other people have your habits. So it was a 
perfectly meaningful question.


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



Re: [gentoo-user] default gateway problem

2005-11-06 Thread John Jolet
I do it in the /etc/conf.d/net.  default gw 192.168.0.1 is the entry and it 
goes in fine.  however, the entry I have is routes_eth0 not route_eth0.  

On Sunday 06 November 2005 16:25, Thierry de Coulon wrote:
 Hello,

 I had tried Gentoo two years ago and now I'm back after some time using a
 Debian derivate (is still my main system for the time being).

 I spent quite a time emerging and compiling from a stage 2 and most things
 seem to work well. There are two little things that don't work just the way
 I'd like however and I could not figure out how to cure them so far:

 - I have a Ti4200 Nvidia card. I compiled my kernel with genkernel
 --configure and (I think) did everything required to have framebuffer
 support but I can't get a splash screen to work. Well, that's not important
 so I go for a text boot, no problem, but I'd love to have a good
 information about
 framebuffers anyone know where I should look?

 - my main problem was that, while my netwrok would start OK, the default
 gateway would not be set, I had to do it by hand. The informations I found
 were about /etc/conf.d/net but this file seems ok:

 config_eth0=( 192.168.1.31 netmask 255.255.255.0 )
 route_eth0=( default gw 192.168.1.51 )

 other sources talked from an /etc/conf.d/route , but that file does not
 exist and I have no clue as to its syntax.

 What I did now was to add he following into local.start:

 route add default gateway IP

 But I think this is not the best way to do. Were should I put that default
 gateway information so that it works?

 Thierry

 --
 The problem with the world is stupidity. Not saying there should be a
 capital punishment for stupidity, but why don't we just take the
 safety labels off of everything and let the problem solve itself?
 Frank Zappa

-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-06 Thread Bogdan Ionita
On 11/6/05, Jarry [EMAIL PROTECTED] wrote:
Hi,there was a thread concerning portage/emerge being recently fixedand faster now (sorry, forgot original subject). Well, I was reallyimpressed by that improvement, until today:emerge --sync takes again very long time, nearly freezing at 51%
of updating portage cache, cpu load is on 99% load, 25 minutes andI'm still waiting. And 2 days ago the whole emerge --sync tookabout 3-4 minutes! Anyone else having the same experience?


Hi, 

I had the same problem, don't know why, solved it like this:

http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb

Neko



Re: [gentoo-user] ATI radeon 9200 open source drivers - no direct rendering

2005-11-06 Thread b.n.

Did you enable the ATi Radeon direct rendering manager and any needed
AGP support in your kernel configuration?

It's under the Device Drivers -- Character Devices option.


Hmmm... my .config says so:

CONFIG_AGP=y
# 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=y
# 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

I guess CONFIG_AGP_ATI should be set to yes?

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



[gentoo-user] Supressing of LINGUAS variable for single package

2005-11-06 Thread Zbynek Houska
Hello dear users,

is there any possibility to supress LINGUAS variable in make.conf for
single package/application? 
In my case is not desired to have mplayer compiled with that variable.

Thanks for help


Zbynek

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ATI radeon 9200 open source drivers - no direct rendering

2005-11-06 Thread Peter Gordon
On Sun, 2005-11-06 at 22:25 +, b.n. wrote:
  Did you enable the ATi Radeon direct rendering manager and any needed
  AGP support in your kernel configuration?
  
  It's under the Device Drivers -- Character Devices option.
 
 Hmmm... my .config says so:
 
 CONFIG_AGP=y
 # 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=y
 # 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
 
 I guess CONFIG_AGP_ATI should be set to yes?
 
 m.

Well, that's for your AGP chipset. Now you need to enable the direct
rendering manager:

CONFIG_DRM=y
CONFIG_DRM_RADEON=y

--Peter


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


Re: [gentoo-user] ATI radeon 9200 open source drivers - no direct rendering

2005-11-06 Thread b.n.



I guess CONFIG_AGP_ATI should be set to yes?




Well, that's for your AGP chipset. Now you need to enable the direct
rendering manager:

CONFIG_DRM=y
CONFIG_DRM_RADEON=y


Ok. Seems I just need a healthy kernel recompile in the next days...
Thank you very much.

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



Re: [gentoo-user] default gateway problem

2005-11-06 Thread Thierry de Coulon
On Sunday, 6 November 2005 21:30, John Jolet wrote:
 I do it in the /etc/conf.d/net.  default gw 192.168.0.1 is the entry and
 it goes in fine.  however, the entry I have is routes_eth0 not
 route_eth0.

Thanks, that was it - I must have made a typo...

Thierry

-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-06 Thread Nick Rout

On Sun, 06 Nov 2005 22:03:38 +0100
Jarry wrote:

 Nick Rout wrote:
  To everyone in this thread: it would probably help if you specified
  which version of portage you are running!
 
 Do you really think it is important? Because since I'm using Gentoo,
 I do not take care about versions, portage does it instead of me.
 All I do is running this set of commands every night from crontab:

Of course it bloody matters. If the portage package was changed it
results in a new version, so maybe you are not running a version with
the fix. Or maybe you are. But how the hell would we know unless you
tell us?

 So my portage is also always updated, to the last stable version.
 Now it is 2.0.51.22-r3...
 

great, so you see the sync delay at 50% with this version or not?

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

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: [gentoo-user] [OT] Filenames with sp ecial characters (äöü€¶) on SMB share of Linkstation HD-HLAN250

2005-11-06 Thread Alexander Skwar
Peter Ruskin schrieb:

 ...but in konqueror the file is correctly displayed as blöder name

Yes. Seems like Konqueror doesn't care about system settings
and stores the filenames in non-UTF-8.

Anyway, I now managed to install NFS on the NAS box. With
NFS, I can now easily and successfully create filenames
with non-ASCII characters, like blöder name. But
when I access the share from Windows (or rather: via
SMB), the filenames are still mangled :(

What I'm after is a way for Samba to transform filenames
from the stored (on disk) UTF-8 name to cp850 (or
whatever).

The NAS box is running Samba 2.2.8a.

Can Samba 2.2.8a do this? With Samba 3, this would be
possible, wouldn't it?

If Samba 2 could do this, how/what would I configure?
I suppose client code page and character set are
the relevant settings? What are the allowed values for
character set?

Are the nftable files in /usr/share/codepage the allowed
values? If so, then Samba 2 (or at least that installation)
doesn't handle UTF-8; only iso-8859-x and some cpX values.

Or would find /lib/modules/$(uname -r) -name nls*.o reveal
me the allowed values? If so, UTF8 would be a good value -
but even with character set = UTF8, I can't get a good
translation. blöder name translates to bl├Âder name
on Windows :(

Can Samba 2 do UTF-8 filename translation?

Thanks,

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



Re: [gentoo-user] default gateway problem

2005-11-06 Thread John Jolet
that's one of those things that you can stare at ALL day and ever see the 
missing s. I usually call another admin over after 30 minutes of that sort 
of thing. :)

On Sunday 06 November 2005 17:09, Thierry de Coulon wrote:
 On Sunday, 6 November 2005 21:30, John Jolet wrote:
  I do it in the /etc/conf.d/net.  default gw 192.168.0.1 is the entry
  and it goes in fine.  however, the entry I have is routes_eth0 not
  route_eth0.

 Thanks, that was it - I must have made a typo...

 Thierry

 --
 The problem with the world is stupidity. Not saying there should be a
 capital punishment for stupidity, but why don't we just take the
 safety labels off of everything and let the problem solve itself?
 Frank Zappa

-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] MySQL issue

2005-11-06 Thread Daniel da Veiga
I had a problem like this, using 4.1.14, it was working perfect, then,
I modified the my.cnf file, added a few things and removed a lot of
stuff there that was useless for me, heh, bad move, after that, the
init.d script for mysql failed miserably and I was unable to cleanly
start it, like you, I unmerged, removed the old config file and
emerged it again, it was back, so this time I only put some stuff I
really NEEDED and let the rest of the .cnf alone. It is working for
about 1 month now completely flawless.

On 11/4/05, C. Beamer [EMAIL PROTECTED] wrote:
 John Jolet wrote:

 
  On Nov 3, 2005, at 1:15 PM, Jeff Smelser wrote:
 
  On Thursday 03 November 2005 07:49 am, C. Beamer wrote:
 
 
  ERROR 2002 (HY000): Can't connect to local MySQL server through  socket
  '/var/run/mysqld/mysqld.sock' (111)
 
  I
  I do have the file /var/run/mysqld/mysqld.sock
 
 
  Thats a connection refused message.. Make sure the proper mysql
  files are
  there, and you may need to restart it to load your versions of the
  grant
  tables.
 
  you  might also shut down mysql, verify that all processes are gone,
  and make sure that file is gone.  that file should ONLY exist while
  mysql is running.

 Both of the above tips helped.  I'm not sure what happened, but I think
 that mysql was not shutting down properly.  Anyway, I finally gave up,
 unmerged the upgraded mysql depcleaned and then deleted a few files that
 did not get removed with the unmerge process, did a fresh install of
 mysql and everything seems to be working again.

 Just wanted to say thanks!  :-)

 Regards,

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




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

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-06 Thread Dale
Nick Rout wrote:

To everyone in this thread: it would probably help if you specified
which version of portage you are running!


On Sun, 06 Nov 2005 16:34:00 +0100
Jarry wrote:

  

Hi,

there was a thread concerning portage/emerge being recently fixed
and faster now (sorry, forgot original subject). Well, I was really
impressed by that improvement, until today:

emerge --sync takes again very long time, nearly freezing at 51%
of updating portage cache, cpu load is on 99% load, 25 minutes and
I'm still waiting. And 2 days ago the whole emerge --sync took
about 3-4 minutes! Anyone else having the same experience?

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



  

 [EMAIL PROTECTED] / # emerge --version
 Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6,
 glibc-2.3.5-r2, 2.6.12-gentoo-r10 i686)
 [EMAIL PROTECTED] / #   


That help any?

Dale
:-)


-- 
To err is human, I'm most certainly human.

 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Refresh my memory...

2005-11-06 Thread Dave Nebinger
I've got a couple of packages that insist on doing the upgrade/downgrade 
cycle...


What's the arg list to pass to emerge so I can see who's trying to downgrade 
my packages?


Thanks.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] import .(dot)pst files into KMail?

2005-11-06 Thread Stroller


On Nov 6, 2005, at 8:03 pm, El Nino wrote:


 my company user has his all mails on one .pst(MS outlook PST file) 
file  it contains more than 2GB. so now i have to import them into 
newly installed KMail application on my Linux box. my question is how 
can i import .(dot)pst file into KMail?


.pst files are notoriously horrible to work on - IMHO the best way to 
solve this is to set up an account on an IMAP server  in Outlook drag 
all the messages across into the IMAP mailboxes. This ensures that the 
only program dealing with the proprietary format of the .pst files is 
Outlook itself - once Outlook passes the message across to the IMAP 
server then that'll store the messages in a standard mailbox format 
like maildir or mbox. It may take quite some time to copy all the files 
across the network  onto the server but - blindly confident in 
Outlook's ability to talk to a standard IMAP server - I really 
believe this to be the cleanest way.


If this isn't an option then take a look at net-mail/libpst - I used 
this or something similar a number of years ago to export some 
thousands of messages from Outlook Express to mbox and it seemed to 
mostly work. I say _mostly_ because I believe there were some messages 
that got garbled, losing (I think) the date or some other header 
information.


Not only is the format of .pst files hideously complicated and binary, 
but it also changes between versions of Outlook - 2000 may not open an 
Outlook 2003 .pst file, for instance. Due to the quantity  nature of 
the messages you're dealing with it's hard to audit a conversion like 
this - this is why my preference is to get Outlook to do the donkey 
work on files of this format, rather than a 3rd-party tool.


Stroller.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] mainactor - which build is likely to work best?

2005-11-06 Thread Robert Persson
I am currently experimenting with mainactor as a video editor.  There are 
three builds to choose from - debian, suse and mandriva.  Which would be 
likely to be most stable on a gentoo system built with gcc-3.4.4?  I am 
currently trying the suse demo.  It's not too bad, but it has crashed a few 
more times than I'd like.

For those who are wondering, kino is fine and stable, but not designed for 
complex jobs, while cinelerra is unspeakably uncooperative IMO.  Couldn't get 
it to capture dv for the life of me, and it locked up all the time. 

I'm going to give lives a shot as well.  I'll let you know how I get on.

Best
Robert
-- 
Robert Persson

Don't use nuclear weapons to troubleshoot faults.
(US Air Force Instruction 91-111, 1 Oct 1997)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] import .(dot)pst files into KMail?

2005-11-06 Thread David Helstroom

El Nino wrote:


dear friends,

my company user has his all mails on one .pst(MS outlook PST file) 
file  it contains more than 2GB. so now i have to import them into 
newly installed KMail application on my Linux box. my question is how 
can i import .(dot)pst file into KMail?


all advices are welcome...

I remember doing this a long time ago... I think I installed the Mozilla 
suite on the Windows box, and used Mozilla Mail to import the Outlook 
files. I seem to remember that Mozilla on Windows can make use of 
Outlook's own PST handling DLLs or something, as the Mozilla on Windows 
provides this import from Outlook/PST, while Mozilla on Linux does not.


Once the emails are imported into Mozilla Mail, copy the actual mail 
directory (something like C:\Documents and Settings\user\Application 
Data\Mozilla\Mail\ - you'll need to have a bit of a search) to the 
Linux box, and use the KMail import options to process it.


Hope that helps,


   Dave.


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] how to allow pop,smtp ports on a squid?

2005-11-06 Thread Norberto Bensa
El Nino wrote:
 Dear friends,
 (how to allow pop 
 smtp protocols through a squid?)

You can't

You want postfix/exim/qmail/whatever as an smtp relay -perhaps to your ISP 
smtp server- and fetchmail for your pop/imap accounts.

HTH,
Norberto

-- 
Norberto Bensa
4544-9692
Ciudad de Buenos Aires, Argentina
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Kernel 2.6.14 Nvidia

2005-11-06 Thread Philip Webb
Has anyone got Nvidia to work with Kernel 2.6.14 ?
I had it working with 2.6.12 , but got an error with 2.6.14 :
can't initialise Nvidia module, no qualified screen available
(or words to that effect).  I have recompiled Nvidia etc.

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



Re: [gentoo-user] Kernel 2.6.14 Nvidia

2005-11-06 Thread leloxias
The only way I found to make my nvidia drivers working with kernel
2.6.14 is to disable frame buffer and to come back to stable release
of the nvidia module.
I would like to try vesafb-tng but it seems to be impossible with this
nvidia module.


2005/11/7, Philip Webb [EMAIL PROTECTED]:
 Has anyone got Nvidia to work with Kernel 2.6.14 ?
 I had it working with 2.6.12 , but got an error with 2.6.14 :
 can't initialise Nvidia module, no qualified screen available
 (or words to that effect).  I have recompiled Nvidia etc.

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



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Cannot open root device hde4 or uknown-block(0,0)

2005-11-06 Thread Bill Six

--- Norberto Bensa [EMAIL PROTECTED] wrote:

 Bill Six wrote:
  VFS: Cannot open root device hde4 or
  uknown-block(0,0)
 
 You need ide drivers for your chipset AND your
 filesystem compiled in your 
 kernel or in an initrd. 


Ok.  That sounds good (I've usually used genkernel,
now I'm compiling the kernel manually.)  I have the
filesystem compiled in the kernel, how would I find
the ide drivers for my chipset?  lspci?

Thanks

 
 Your grub.conf seems OK since VFS is telling you
 root device hde4
 
 -- 
 Norberto Bensa
 4544-9692
 Ciudad de Buenos Aires, Argentina
 -- 
 gentoo-user@gentoo.org mailing list
 
 




__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Cannot open root device hde4 or uknown-block(0,0)

2005-11-06 Thread Brett I. Holcomb
Yes, run lspci as root and it will spit out what you have.  Your 
motherboard manual may also give the information.


On Sun, 6 Nov 2005, Bill Six wrote:



--- Norberto Bensa [EMAIL PROTECTED] wrote:


Bill Six wrote:

VFS: Cannot open root device hde4 or


Ok.  That sounds good (I've usually used genkernel,
now I'm compiling the kernel manually.)  I have the
filesystem compiled in the kernel, how would I find
the ide drivers for my chipset?  lspci?

Thanks



--

Brett I. Holcomb
[EMAIL PROTECTED]
Registered Linux User #188143
Remove R777 to email
--
gentoo-user@gentoo.org mailing list



[gentoo-user] About sed

2005-11-06 Thread Rafael Barreto
Hi,

I'm learning about the use of the sed command and I have some
questions. I'm trying to read in /etc/conf.d/clock the CLOCK variable
with:

sed '/^CLOCK=*$/p' /etc/conf.d/clock

This command, in principe, must print in screen the line that contains
CLOCK= in the begin, contains anything between double quotes and ends.
Well, this doesn't return anything. If I enter the above command
without $, all is ok. But, if I would like to return just that line
contains CLOCK=anything and nothing more? For example,

CLOCK=anything # set clock of the system

and

CLOCK=anything

are different.

Other thing... if i put:

sed '/^CLOCK=*/p' /etc/conf.d/clock

the return will be anything that contains CLOCK. Why?

I suppose that I didn't undestand the use of regular _expression_ metacharacters. So, please, anyone to explain me that?

Thanks a lot and sorry by my english...


Re: [gentoo-user] About sed

2005-11-06 Thread Willie Wong
On Mon, Nov 07, 2005 at 01:44:42AM -0200, Rafael Barreto wrote:
 Hi,
 
 I'm learning about the use of the sed command and I have some questions. I'm
 trying to read in /etc/conf.d/clock the CLOCK variable with:
 
 sed '/^CLOCK=*$/p' /etc/conf.d/clock
 
 This command, in principe, must print in screen the line that contains
 CLOCK= in the begin, contains anything between double quotes and ends. Well,
 this doesn't return anything. If I enter the above command without $, all is
 ok. But, if I would like to return just that line contains CLOCK=anything
 and nothing more? For example,

No it doesn't. What you want is the regexp ^CLOCK=.*$ if you want
anything (including nothing) between the double quotes, or
^CLOCK=.+$ if you want something (excluding nothing) between the
double quotes. 

The reason that removing the trailing $ worked is that it matched the
CLOCK= part, the * character specifies 0 or more iterates of the
previous character, which is 

HTH

W
-- 
Q: Why won't Heisenberg's operators live in the suburbs?
A: They don't commute.
Sortir en Pantoufles: up 4 days,  5:24
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Kernel 2.6.14 Nvidia

2005-11-06 Thread Norberto Bensa
Philip Webb wrote:
 Has anyone got Nvidia to work with Kernel 2.6.14 ?

Yup. In /etc/conf.d/local.start

/sbin/NVmakedevices.sh

or

mknod /dev/nvidia0 c 195 0
mknod /dev/nvidiactl c 195 255


-- 
Norberto Bensa
4544-9692
Ciudad de Buenos Aires, Argentina
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Cannot open root device hde4 or uknown-block(0,0)

2005-11-06 Thread Norberto Bensa
Bill Six wrote:
 how would I find
 the ide drivers for my chipset?  lspci?


Yes. You can also use generic ide as a backup-driver if you don't know which 
one to use, but you'll lose dma.

-- 
Norberto Bensa
4544-9692
Ciudad de Buenos Aires, Argentina
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] About sed

2005-11-06 Thread Rafael Barreto
:) Thanks very much.

Now that I read your answear I searched in a book the significant of *,+ and others and I suppose I understood.

Thanks2005/11/7, Willie Wong [EMAIL PROTECTED]:
On Mon, Nov 07, 2005 at 01:44:42AM -0200, Rafael Barreto wrote: Hi, I'm learning about the use of the sed command and I have some questions. I'm trying to read in /etc/conf.d/clock the CLOCK variable with:
 sed '/^CLOCK=*$/p' /etc/conf.d/clock This command, in principe, must print in screen the line that contains CLOCK= in the begin, contains anything between double quotes and ends. Well,
 this doesn't return anything. If I enter the above command without $, all is ok. But, if I would like to return just that line contains CLOCK=anything and nothing more? For example,
No it doesn't. What you want is the regexp ^CLOCK=.*$ if you wantanything (including nothing) between the double quotes, or^CLOCK=.+$ if you want something (excluding nothing) between the
double quotes.The reason that removing the trailing $ worked is that it matched theCLOCK= part, the * character specifies 0 or more iterates of theprevious character, which is HTH
W--Q: Why won't Heisenberg's operators live in the suburbs?A: They don't commute.Sortir en Pantoufles: up 4 days,5:24--gentoo-user@gentoo.org mailing list



[gentoo-user] Trying to update to 2.6.14 but I cant get x11-drm to build against it

2005-11-06 Thread W.Kenworthy
Trying to update to 2.6.14 but I cant get x11-drm to build against it -
fails with an error on I2C_ALGO_ATI.  I have copied the working 2.6.13
config over without luck - this symbol doesnt show in it.

Any ideas? - nothing in the forum or bugs on I2C_ALGO_ATI so I think I
must be missing something simple.

BillK

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Kernel 2.6.14 Nvidia

2005-11-06 Thread Ryan L

Norberto Bensa wrote:


Philip Webb wrote:
 


Has anyone got Nvidia to work with Kernel 2.6.14 ?
   



Yup. In /etc/conf.d/local.start

/sbin/NVmakedevices.sh

or

mknod /dev/nvidia0 c 195 0
mknod /dev/nvidiactl c 195 255


 

I'm using the 2.6.14-acid2 kernel and the latest nvidia-kernel and they 
just worked perfectly fine.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] About sed

2005-11-06 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Willie Wong wrote:

On Mon, Nov 07, 2005 at 01:44:42AM -0200, Rafael Barreto wrote:

Hi,

I'm learning about the use of the sed command and I have some
questions. I'm
trying to read in /etc/conf.d/clock the CLOCK variable with:

sed '/^CLOCK=*$/p' /etc/conf.d/clock

This command, in principe, must print in screen the line that contains
CLOCK= in the begin, contains anything between double quotes and ends.
Well,
this doesn't return anything. If I enter the above command without $,
all is
ok. But, if I would like to return just that line contains CLOCK=anything
and nothing more? For example,


No it doesn't. What you want is the regexp ^CLOCK=.*$ if you want
anything (including nothing) between the double quotes, or
^CLOCK=.+$ if you want something (excluding nothing) between the
double quotes.

The reason that removing the trailing $ worked is that it matched the
CLOCK= part, the * character specifies 0 or more iterates of the
previous character, which is 

HTH

W

Also, as you pointed out, lines with trailing comments would not be
returned based on the expression (even as modified):

sed '/^CLOCK=.*$/p /etc/conf.d/clock

This is because the expression, as is, does not allow for anything
after the last double quote ().  The following expression should
match the line you want, and print out ONLY the 'CLOCK=foo':

sed -n '/^CLOCK=/s/^\(CLOCK=.*\).*$/\1/p /etc/conf.d/clock

How this works is as follows (since you're trying to learn sed):

1) the '-n' suppresses all output except that which was changed by
your expression/commands.
2) the first expression ( /^CLOCK=/ ) gives sed the address at which
to make the changes.
3) the second expression ( s/^\(CLOCK=.*\).*$/\1/p )tells sed what
to do when it reaches that address.  This is better broken down into
smaller steps:
a) the first half of the substitution expression (
s/^\(CLOCK=.*\).*$/ ) tells sed to match the capital letters C
- -L-O-C-K which start a line ( ^ ),
b) followed by an equals sign (=), a double-quote (),
c) followed by 0 or more of any character type - except newlines
- -  ( .* ),
d) followed by another double-quote ().
e) Then, because of the parentheses metacharacters ( \(  \) ),
store the match in the holding space (memory).
f) Then match 0 or more of any character type ( .* ), ending the
line ( $ ).
g) the second half ( /\1/ ) substitutes the characters captured
in the parentheses metacharacters, for the whole line
h) and prints ( /p ) the result

So, while Willie's suggestion is correct, this should give you a more
complete solution.

HTH

- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDbuAELYGSSmmWCZMRAoxdAKDZTA89tDCO+I67qhZwba6oJ28TrgCdHIkT
Lctx2b5xRczC3bXl+emMrOs=
=780W
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Kernel 2.6.14 Nvidia

2005-11-06 Thread Luca Botti

No issue at all, here. Kernel 2.6.14, and nvidia 7676 on dell d800 notebook.



Alle Monday 7 November 2005 02:37, Philip Webb ha scritto:
 Has anyone got Nvidia to work with Kernel 2.6.14 ?
 I had it working with 2.6.12 , but got an error with 2.6.14 :
 can't initialise Nvidia module, no qualified screen available
 (or words to that effect).  I have recompiled Nvidia etc.

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



Re: [gentoo-user] About sed

2005-11-06 Thread Rafael Barreto
For that I understood, this command will return the line of CLOCK= in
/etc/conf.f/clock without any comments. Is this right? Well, what I
really want is replace just CLOCK=fool1 by CLOCK=fool2 keeping the
comments in line.

By the way, \1 do really what? If i put \0 the result is the entire line. So, could you explain me this a little more? Thanks...2005/11/7, gentuxx 
[EMAIL PROTECTED]:-BEGIN PGP SIGNED MESSAGE-Hash: SHA1Willie Wong wrote:
On Mon, Nov 07, 2005 at 01:44:42AM -0200, Rafael Barreto wrote:Hi,I'm learning about the use of the sed command and I have somequestions. I'mtrying to read in /etc/conf.d/clock the CLOCK variable with:
sed '/^CLOCK=*$/p' /etc/conf.d/clockThis command, in principe, must print in screen the line that containsCLOCK= in the begin, contains anything between double quotes and ends.
Well,this doesn't return anything. If I enter the above command without $,all isok. But, if I would like to return just that line contains CLOCK=anythingand nothing more? For example,
No it doesn't. What you want is the regexp ^CLOCK=.*$ if you wantanything (including nothing) between the double quotes, or^CLOCK=.+$ if you want something (excluding nothing) between the
double quotes.The reason that removing the trailing $ worked is that it matched theCLOCK= part, the * character specifies 0 or more iterates of theprevious character, which is 
HTHWAlso, as you pointed out, lines with trailing comments would not bereturned based on the _expression_ (even as modified):sed '/^CLOCK=.*$/p /etc/conf.d/clock
This is because the _expression_, as is, does not allow for anythingafter the last double quote ().The following _expression_ shouldmatch the line you want, and print out ONLY the 'CLOCK=foo':
sed -n '/^CLOCK=/s/^\(CLOCK=.*\).*$/\1/p /etc/conf.d/clockHow this works is as follows (since you're trying to learn sed):1) the '-n' suppresses all output except that which was changed by
your _expression_/commands.2) the first _expression_ ( /^CLOCK=/ ) gives sed the address at whichto make the changes.3) the second _expression_ ( s/^\(CLOCK=.*\).*$/\1/p )tells sed what
to do when it reaches that address.This is better broken down intosmaller steps:a) the first half of the substitution _expression_ (s/^\(CLOCK=.*\).*$/ ) tells sed to match the capital letters C
- -L-O-C-K which start a line ( ^ ),b) followed by an equals sign (=), a double-quote (),c) followed by 0 or more of any character type - except newlines- -( .* ),d) followed by another double-quote ().
e) Then, because of the parentheses metacharacters ( \(\) ),store the match in the holding space (memory).f) Then match 0 or more of any character type ( .* ), ending theline ( $ ).g) the second half ( /\1/ ) substitutes the characters captured
in the parentheses metacharacters, for the whole lineh) and prints ( /p ) the resultSo, while Willie's suggestion is correct, this should give you a morecomplete solution.HTH- --
gentuxecho hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC409795 2D81 924A6996 0993-BEGIN PGP SIGNATURE-Version: GnuPG 
v1.4.1 (GNU/Linux)iD8DBQFDbuAELYGSSmmWCZMRAoxdAKDZTA89tDCO+I67qhZwba6oJ28TrgCdHIkTLctx2b5xRczC3bXl+emMrOs==780W-END PGP SIGNATURE---gentoo-user@gentoo.org
 mailing list


Re: [gentoo-user] Kernel 2.6.14 Nvidia

2005-11-06 Thread W.Kenworthy
This is an ATI symbol, and card ... also on a dell, but an i8200.

Hah, just managed to get it to build - had to go ~x86 for x11-drm.

BillK

On Mon, 2005-11-07 at 06:31 +, Luca Botti wrote:
 No issue at all, here. Kernel 2.6.14, and nvidia 7676 on dell d800 notebook.
 
 
 
 Alle Monday 7 November 2005 02:37, Philip Webb ha scritto:
  Has anyone got Nvidia to work with Kernel 2.6.14 ?
  I had it working with 2.6.12 , but got an error with 2.6.14 :
  can't initialise Nvidia module, no qualified screen available
  (or words to that effect).  I have recompiled Nvidia etc.
 
  --
  ,,
  SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
  ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
  TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Kernel 2.6.14 Nvidia

2005-11-06 Thread W.Kenworthy
replied to the wrong message - at least my problem is solved.

Sorry about the confusion, its been a trying day.

BillK

On Mon, 2005-11-07 at 13:47 +0800, W.Kenworthy wrote:
 This is an ATI symbol, and card ... also on a dell, but an i8200.
 
 Hah, just managed to get it to build - had to go ~x86 for x11-drm.
 
 BillK
 
 On Mon, 2005-11-07 at 06:31 +, Luca Botti wrote:
  No issue at all, here. Kernel 2.6.14, and nvidia 7676 on dell d800 notebook.
  
  
  
  Alle Monday 7 November 2005 02:37, Philip Webb ha scritto:
   Has anyone got Nvidia to work with Kernel 2.6.14 ?
   I had it working with 2.6.12 , but got an error with 2.6.14 :
   can't initialise Nvidia module, no qualified screen available
   (or words to that effect).  I have recompiled Nvidia etc.
  
   --
   ,,
   SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
   ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
   TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Have another 2.6.14 problem: cisco-vpn client

2005-11-06 Thread W.Kenworthy
Have another 2.6.14 problem.  I am trying to build the cisco-vpn client
against this kernel and get the following errors below.  Note that I am
using a portage overlay version here, but the error message is identical
no matter what version I am trying to build.  Needless to say, it builds
fine with 2.6.13.  I am wondering if this is a header problem (something
has moved in 2.6.14)

BillK

 Unpacking source...
 Unpacking vpnclient-linux-4.7.00.0640-k9.tar.gz
to /var/tmp/portage/cisco-vpnclient-4.7.00.0640/work
 Source unpacked.
make -C /lib/modules/2.6.14-gentoo/build
SUBDIRS=/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient
modules
make[1]: Entering directory `/usr/src/linux-2.6.14-gentoo'
  CC
[M]  /var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.o
/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.c: In 
function `CniInjectReceive':
/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.c:292: 
error: structure has no member named `stamp'
/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.c: In 
function `CniInjectSend':
/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.c:432: 
error: structure has no member named `stamp'
make[2]: ***
[/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.o] 
Error 1
make[1]: ***
[_module_/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient]
Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.14-gentoo'
make: *** [default] Error 2

!!! ERROR: net-misc/cisco-vpnclient-4.7.00.0640 failed.
!!! Function src_compile, Line 34, Exitcode 0
!!! Failed to make module 'cisco_ipsec'
!!! If you need support, post the topmost build error, NOT this status
message.

bunyip linux # make xconfig

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mainactor - which build is likely to work best?

2005-11-06 Thread Nick Rout
The suse build works fine here.

emerge rpm

make sure the following dependencies are installed:

libavc1394
libraw1394
SDL

then

rpm --nodeps MainActor(whatever the full file name is)

the binary to run is mactor


On Sun, 6 Nov 2005 17:28:40 -0800
Robert Persson [EMAIL PROTECTED] wrote:

 I am currently experimenting with mainactor as a video editor.  There are 
 three builds to choose from - debian, suse and mandriva.  Which would be 
 likely to be most stable on a gentoo system built with gcc-3.4.4?  I am 
 currently trying the suse demo.  It's not too bad, but it has crashed a few 
 more times than I'd like.
 
 For those who are wondering, kino is fine and stable, but not designed for 
 complex jobs, while cinelerra is unspeakably uncooperative IMO.  Couldn't get 
 it to capture dv for the life of me, and it locked up all the time. 
 
 I'm going to give lives a shot as well.  I'll let you know how I get on.
 
 Best
 Robert
 -- 
 Robert Persson
 
 Don't use nuclear weapons to troubleshoot faults.
 (US Air Force Instruction 91-111, 1 Oct 1997)
 
 -- 
 gentoo-user@gentoo.org mailing list
 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] About sed

2005-11-06 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Rafael Barreto wrote:

 Other thing... Why was necessary to ^CLOCK= before
s/^\(CLOCK=.*\).*$/\1/p? And which the necessity of the ( ) between
the regular expression?

 Thanks again


Sorry for things being out of order, but you top-posted.  The answer
to your first question is below.

The /^CLOCK=/ is NOT necessary, in this instance, and may actually
cause problems if you're not 100% sure of your regular expression.  It
is there, simply because I was expanding your original pattern.  What
this does, though, is it tells sed to match the line with the regular
expression before making any substitutions and/or replacements.  Say
for example, you had 2 lines in the same file with different values
but similar structure, and you only wanted to change one of them.
Let's go with the example you used.  Let's assume that our example
file looks something like this:

# This is a comment
CLOCK=foo1
# This is another comment
TIMEZONE=GMT
# This is yet another comment
CLOCK=${CLOCK}foo2

So, let's say that you wanted to change the second instance.  The
/^CLOCK=/ tells sed to ignore all lines that do NOT begin with
'CLOCK='.  So the comments ( # This is a comment ) and the 'TIMEZONE'
directive will be ignored.  Actions will only be taken on the lines:

CLOCK=foo1
CLOCK=${CLOCK}foo2

...because they match the expression we gave sed as an address (
/^CLOCK=/ ).  We would furthur specify how to change that line by our
search and replace command (as described below):

s/^\(CLOCK=\\)\${.*}\(\.*\)$/\1foo3\2/ 
 


It is important to note here that the left and right brace characters
( { } ) are not escaped.  If they were, they would have been handled
as metacharacters, which produces a drastically different result.

If you really want to get to know sed (and awk), I HIGHLY recommend
getting the 2 O'reilley books:  Sed  Awk, and Mastering Regular
Expressions.  Both of these two books have taught me almost everything
I know on the matter, and I refer to them frequently.

HTH


 2005/11/7, Rafael Barreto [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]:

 For that I understood, this command will return the line of CLOCK= in
/etc/conf.f/clock without any comments. Is this right? Well, what I
really want is replace just CLOCK=fool1 by CLOCK=fool2 keeping the
comments in line.

 By the way, \1 do really what? If i put \0 the result is the entire
line. So, could you explain me this a little more? Thanks...

 2005/11/7, gentuxx  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]:


I will try to answer both of your questions with this one email.

The '\1' takes the first element, or element group, captured by the
parentheses metacharacters ( \( \) ) and uses it as a variable.  The
variable '\0', as you found out, represents the entire contents of the
pattern space or basically, the entire line since you're matching
beginning ( ^ ) to end ( $ ).  The variable '\0' is also synonymous
with the ampersand metacharacter (  ).  So, if you want to change the
value of the CLOCK variable in /etc/conf.d/clock, while leaving any
comments intact, you could do something like this:

sed 's/^\(CLOCK=\\).*\(\.*\)$/\1foo2\2/' /etc/conf.d/clock

This matches and captures the contents of the first set of
parentheses, and places it into a variable accessible by '\1'.  Then
it matches 0 or more of any character type, until it matches a literal
double-quote ( \ ).  Then it matches and captures the contents of the
second set of parentheses, and places it into a variable accessible by
'\2'.  So, to change the value, you would issue a substitution command
( s/// ) which matches the first set and replaces it with the second
set.  The variables '\1' and '\2' are interpolated, so the values
captured are printed.  I.e. the result should be:

was:
CLOCK=foo1  # some comments here

now:
CLOCK=foo2  # some comments here



 Willie Wong wrote:

 On Mon, Nov 07, 2005 at 01:44:42AM -0200, Rafael Barreto wrote:
 
 Hi,
 
 I'm learning about the use of the sed command and I have some
 questions. I'm
 trying to read in /etc/conf.d/clock the CLOCK variable with:
 
 sed '/^CLOCK=*$/p' /etc/conf.d/clock
 
 This command, in principe, must print in screen the line that
 contains
 CLOCK= in the begin, contains anything between double quotes and
 ends.
 Well,
 this doesn't return anything. If I enter the above command without $,
 all is
 ok. But, if I would like to return just that line contains
 CLOCK=anything
 and nothing more? For example,
 
 
 No it doesn't. What you want is the regexp ^CLOCK=.*$ if you want
 anything (including nothing) between the double quotes, or
 ^CLOCK=.+$ if you want something (excluding nothing) between the
 double quotes.
 
 The reason that removing the trailing $ worked is that it matched the
 CLOCK= part, the * character specifies 0 or more iterates of the
 previous character, which is 
 
 HTH
 
 W

 Also, as you pointed out, lines with trailing comments would not be
 returned 

Re: [gentoo-user] [OT] Accessing Linux filesystems from Windows with Crossmeta

2005-11-06 Thread Heinz Sporn
Noone's interested in this? Are you kidding me? ;-)

Well, in the end I got this thing running and I now have read and
*write* access to an XFS partition from Windows.

If someone else want's to give it a try I have a couple of suggestions:

1. After installing the core server and the add-on filesystems reboot
your machine anyway.

2. The cxvfs services will not be loaded automatically afterwards -
which is good because it allows you to make a copy of the rootfs.img
file created during the installation process. Why? Because I had faced a
couple of blue screens during the test phase when trying to restart
cxvfs services and unmounting partitions. Not hard reproducable though.
After such a failure the cxvfs server wants you to fschk rootfs.img
which simply does not work somehow. Does not matter - rootfs.img is just
an entry point to your actual Linux partition.

3. To mount your stuff use a script like this:
@echo off

if exist v:\ goto :DONE

e:
cd \programme\crossmeta

copy /y rootfs.img.org rootfs.img

net start cxvfsmgr
net start xfs
set path=%path%;e:\programme\crossmeta\v-drive\bin
mount -a
mount -t xfs -o ro /dev/da0s3 /mnt

:DONE

Where E: is the drive where Windows resides, rootfs.img.org is a virgin
rootfs.img as mentioned in 2., /dev/da0s3 is my /dev/hda4 and finally e:
\programme\crossmeta\v-drive is a copy of the content of V:\ - i.e. the
virtual drive that cxvfs creates when loaded.

Stabilitiy?
I neither do need the write capability nor the NFS server emulation. I
only tested write access once - which worked - but can't say anything
about reliablility. What I do is mounting foreign partitions on demand,
retrieving data I need and leaving them mounted until I shut down
Windows. For that crossmeta didn't give me any headaches yet.

Have fun!

Am Freitag, den 04.11.2005, 07:46 +0100 schrieb Heinz Sporn:
 Hi all!
 
 Yesterday I stumbled over this project Crossmeta at
 http://www.crossmeta.com/ that claims nothing less but having developed
 Windows filesystem drivers for EXT, XFS, Reiser and so forth. I
 immediatley downloaded everything that is there to download (for free)
 but having difficulties to get it run.
 
 Unfortunately after googling around for a bit I am not quite sure in
 what shape this project actually is. So I'm wondering if there's someone
 out there who is willing and able to help me out.
 
 To the problem:
 
 I strictly followed the instructions in crossmeta_jumpstart.pdf and
 everything installed fine so far. What I don't understand are the
 procedures one has to perform to mount an existing Linux XFS partition.
 It looks as if you'd only have to run something like
 mount -t extfs /dev/daxxx /mnt in a DOS-box but the only thing I get
 is mount: /mnt and dmesg shows a couple of XFS related errors although
 I properly installed the filesystem add-ons - xfs.sys and the others are
 there. So in the moment I really have no clue how to continue.
 
 Regards 
 
 spox
 
 -- 
 Mit freundlichen Grüßen
 
 Heinz Sporn
 
 SPORN it-freelancing
 
 Mobile:  ++43 (0)699 / 127 827 07
 Email:   [EMAIL PROTECTED]
  [EMAIL PROTECTED]
 Website: http://www.sporn-it.com
 Snail:   Steyrer Str. 20
  A-4540 Bad Hall
  Austria / Europe
 
-- 
Mit freundlichen Grüßen

Heinz Sporn

SPORN it-freelancing

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

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] About sed

2005-11-06 Thread Willie Wong
On Sun, Nov 06, 2005 at 09:03:01PM -0800, gentuxx wrote:
 sed -n '/^CLOCK=/s/^\(CLOCK=.*\).*$/\1/p /etc/conf.d/clock
 

Ah, yes, I misunderstood the OP. I thought he didn't want the lines
with trailing comments at all. 

But is it necessary to give the address for an s// replacement? As I
understand it that sed is a stream editor and will try the replacement
on every line it encounters. The -n flag would guarantee only the
line changed would be printed anyway. 

I guess what I am saying is that 
  sed -n 's/^\(CLOCK=.*\).*$/\1/p' /etc/conf.d/clock
would do just as fine, no?

W
-- 
The particle physicists use order parameter fields, too. Their 
order parameter fields also hide lots of details about what their
quarks and gluons are composed of. The main difference is that
they don't know of what their fields are composed. It ought to
be reassuring to them that we don't always find our greater
knowledge very helpful.
   ~James P. Sethna Order Parameters, Broken Symmetry, and Topology
Sortir en Pantoufles: up 4 days,  8:10
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Abysmally slow 2D performance using proprietary Nvidia driver on dual Xeon system (EMT64)

2005-11-06 Thread Greg Bur
Greetings,

I have been trying to fix a somewhat puzzling and annoying problem over
the last couple of months that has me absolutely stumped. I have
been unable to isolate the cause of the problem and it appears to be
intermittant at best. The issue rears its ugly head as follows:

This is on a dual boot workstation with a Supermicro X6DAL-XTG
motherboard, dual 3.0GHz Xeon processors and a GeForce 6600GT video
card. The system has worked splendidly since I purchased it back
in June with one exception: occasionally when rebooting the
system to return to Linux from Windows the 2D performance in Gnome is
terrible. The problem does not appear immediately nor does it
happen every time. Initially gdmgreeter appears as it should and
I enter my login credentials. The Gnome desktop loads quickly and
as I start to work applications load normally. However, after
about 10 minutes the system load on one processor sharply increases to
100% when performing a simple task such as clicking on a button in
Firefox, launching a new gnome-terminal window or clicking on the
Applications menu at the top of the screen. The response time
between clicking and the menu appearing for instance is anywhere from
2-5 seconds. There does not seem to be any quick fix for this
which is what has me puzzled. If I close all of my applications,
log out and log back in the problem resets. Rebooting the
system proves ineffective as well. I have tried various driver
revisions, currently using 1.0.6629-r4, and several different kernels
to no avail. I have tried both enabling and disabling the
RenderAccel option in /etc/X11/xorg.conf and that does not appear to
make any difference. Adjusting the NvAGP option does nothing nor
does enabling the Composite option however the system seems more
responsive when the Composite option is enabled. Switching to the
nv driver resolves the problem and the system remains snappy with no
immediate problems. Occasionally I will begin to get artifacts on
the display with the nv driver and then the screen goes entirely white
but switching to the console using ctrl + alt + F1 usually resolves
this problem. I would appreciate any insight anyone could provide
as to what I am overlooking. I have walked through the Gentoo
Nvidia documentation numerous times and I have consulted the README
document included with the nvidia driver. I am completely
stumped. 

Currently I am using 2.6.9-gentoo-r9 for a kernel with the 1.0.6629-r4
version of the nvidia driver. As I said before I have tried
several kernel and driver revisions to no avail. As a sidebar, 3D
performance seems to be as it should be which puzzles me further.
Again, I appreciate any advice anyone may offer.

Please see the following links for the last xorg.conf I tried as well as my kernel config and make.conf

http://pizon.org/xorg.conf
http://pizon.org/kernel-config
http://pizon.org/make.conf


Re: [gentoo-user] Kernel 2.6.14 Nvidia

2005-11-06 Thread Cadaver
On Monday 07 November 2005 04:37, Philip Webb wrote:
 Has anyone got Nvidia to work with Kernel 2.6.14 ?
 I had it working with 2.6.12 , but got an error with 2.6.14 :
 can't initialise Nvidia module, no qualified screen available
 (or words to that effect).  I have recompiled Nvidia etc.

 --
 ,,
 SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
 ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
 TRANSIT`-O--O---'  University of Toronto
$  equery l nvidia
[I--] [  ] media-video/nvidia-glx-1.0.6629-r6 (0)
[I--] [  ] media-video/nvidia-kernel-1.0.6629-r4 (0)

works fine with 2.6.14

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] About sed

2005-11-06 Thread Willie Wong
On Mon, Nov 07, 2005 at 03:42:05AM -0200, Rafael Barreto wrote:
 Other thing... Why was necessary to ^CLOCK= before
 s/^\(CLOCK=.*\).*$/\1/p? And which the necessity of the ( ) between the
 regular expression?

as I just posted in another post, the /^CLOCK/ should not be strictly
necessary. 

See below for an explanation of the ()
 
 
 2005/11/7, Rafael Barreto [EMAIL PROTECTED]:
 
  For that I understood, this command will return the line of CLOCK= in
  /etc/conf.f/clock without any comments. Is this right? Well, what I really
  want is replace just CLOCK=fool1 by CLOCK=fool2 keeping the comments in
  line.
 

Do you know what fool2 would be? If so:

   s/^\(CLOCK=\)[^[]]*\(.*\)$/\1fool2\2/p

should do what you want. (I think sed greedy matches by default? Hum,
I honestly don't remember, better safe than sorry.)

See below for the use of the \( .. \) and \1 \2 variables. 

The [^[]] specifies a class of characters to match, in this case, it
means anything except for the quotation mark. (The caret ^ negates the
class [] which means only the quotation mark.) So what this sed
expression is really saying is that we want to keep the beginning of
the line up to the first quotation mark the same, and keep the end of
the line starting from the second quotation mark the same, and change
everything in between to 'fool2'.

  By the way, \1 do really what? If i put \0 the result is the entire line.
  So, could you explain me this a little more? Thanks...
 

\0 is the entire matching expression/line.
\n is tokenizing. By using parentheses in the regexp, you can reuse
the texts in the parentheses in the substitution. 

For example, consider the expression

   s/\(.at\).*\(.ox\)/\2 not \1/p

If we send it 

   The bat scared the fox.

it would print 

   fox not bat

because \2 gets replaced by the second matching token, which in this
case, is fox, because it matches .ox. Similarly for bat and the
first token. 

If we send the same expression

   The cat died in the box.

it would print

   box not cat

I can't explain the concept very well, and I hope the examples are
good enough. 

Seriously, one of the best way to learn sed is to read the manual from 

  `info sed'

W
-- 
Here lies Lester Moore
Four slugs from a .44
No Les No more.
Sortir en Pantoufles: up 4 days,  8:14
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] About sed

2005-11-06 Thread Willie Wong
On Sun, Nov 06, 2005 at 10:37:53PM -0800, gentuxx wrote:
 If you really want to get to know sed (and awk), I HIGHLY recommend
 getting the 2 O'reilley books:  Sed  Awk, and Mastering Regular
 Expressions.  Both of these two books have taught me almost everything
 I know on the matter, and I refer to them frequently.
 

Ah yes. I definitely agree. My copy disappeared when I moved out of
the dorm last. That fact has caused me much pain and inconvenience in
the past few months.

Useful as 'info sed' maybe, the book makes looking for help that much 
easier. 

W
-- 
Ever stop to think, and forget to start again?
Sortir en Pantoufles: up 4 days,  8:41
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] About sed

2005-11-06 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Willie Wong wrote:

On Sun, Nov 06, 2005 at 09:03:01PM -0800, gentuxx wrote:

sed -n '/^CLOCK=/s/^\(CLOCK=.*\).*$/\1/p /etc/conf.d/clock


Ah, yes, I misunderstood the OP. I thought he didn't want the lines
with trailing comments at all.


He didn't really make that clear in his first post.  ;-)

But is it necessary to give the address for an s// replacement? As I
understand it that sed is a stream editor and will try the replacement
on every line it encounters. The -n flag would guarantee only the
line changed would be printed anyway.


No, the address is NOT necessary for this case.  I stated that in my
reply to his post.  However, sed will only replace the first instance
found, unless the 'g' flag is specified ( s///g ).  Then it'll search
and replace globally.  The '-n' option suppresses unchanged output, so
if the output of the sed command was being redirected to a file, only
the changed lines would be printed.  So, in this case, you would NOT
want to use the '-n' option, because you would want the entire file
output *with* the changes.

I guess what I am saying is that
 sed -n 's/^\(CLOCK=.*\).*$/\1/p' /etc/conf.d/clock
would do just as fine, no?

W

(See above).  To actually make changes to the file, once you had
tested your regular expressions to STDOUT, you would most likely want
to redirect it to a file to replace the original file.  If you include
the '-n' option, all of the unchanged lines would not be printed or
redirected - so you would have your changes, but nothing else.

So for your final run, you would want something without the '-n'
option.  And without the '-n' option, the print command ( s///p ) is
moot.  (See my most recent reply to the OP for a final solution.)

- --
gentux
echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDbwOjLYGSSmmWCZMRAmG9AJ46OE4xLI3pCKnb3RTQSCIGWNKSBgCfWOOl
V9zFRF6QNqmVSK0LHjt4e9c=
=tnMC
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Refresh my memory...

2005-11-06 Thread Simon Hogg
To see the dependencies, run

emerge -uvpt world

Simon

-- 
gentoo-user@gentoo.org mailing list