Re: [gentoo-user] Meta-Offtopic: Dualcore lost

2008-09-29 Thread Stroller


On 29 Sep 2008, at 04:39, [EMAIL PROTECTED] wrote:

...
Then, from one day to another, my blender built lost the abillity
to use both cores of my CPU. I posted this on a blender forum and
others dont have the same problem with the same svn snapshot.


It might be worth running genlop to see if any Gentoo-installed  
libraries used by blender might have changed in that time.


Stroller.




[gentoo-user] Gentoo-Sources/Vanilla-Sources/Video 4 Linux

2008-09-29 Thread Jon Hardcastle
Hi, i have spent the weekend trying to get my new Hauppage USB tv stick to work 
under linux.

I have been constantly perplexed by references to compilable kernel modules I 
couldn't see! I assumed it was because they referred to old modules or 
something.

But having downloaded and booted into Knoppix and run make menuconfig on that i 
have confirmed that kernel seems to have 10's of TV card chipset drivers 
availible to compile whereas gentoo-sources/vanilla-sources emerged on my 
machine have maybe 2 or 3.

Can someone offer me some assistance as to why this might be?

Thank you

(This is my first mailing list post - please be gentle!)

---
N: Jon Hardcastle
E: [EMAIL PROTECTED]
'The writing is on the wall...'
---



Re: [gentoo-user] Gentoo-Sources/Vanilla-Sources/Video 4 Linux

2008-09-29 Thread Volker Armin Hemmann
On Monday 29 September 2008, Jon Hardcastle wrote:
 Hi, i have spent the weekend trying to get my new Hauppage USB tv stick to
 work under linux.

 I have been constantly perplexed by references to compilable kernel modules
 I couldn't see! I assumed it was because they referred to old modules or
 something.

 But having downloaded and booted into Knoppix and run make menuconfig on
 that i have confirmed that kernel seems to have 10's of TV card chipset
 drivers availible to compile whereas gentoo-sources/vanilla-sources emerged
 on my machine have maybe 2 or 3.

 Can someone offer me some assistance as to why this might be?

 Thank you

 (This is my first mailing list post - please be gentle!)

 ---
 N: Jon Hardcastle
 E: [EMAIL PROTECTED]
 'The writing is on the wall...'
 ---

because a large part of the dvb/tv drivers are developed outside of the main 
kernel tree. Also a large part is hidden under experimental.

For my dvb-t stick I need to checkout a mercurial rep and do a make, make 
install in it do get drivers that work. And with 'work' I mean: no sound on 
first try, but after disconnecting the stick and reconnecting it, it suddenly 
works.





Re: [gentoo-user] Gentoo-Sources/Vanilla-Sources/Video 4 Linux

2008-09-29 Thread Jon Hardcastle
--- On Mon, 29/9/08, Volker Armin Hemmann [EMAIL PROTECTED] wrote:

 From: Volker Armin Hemmann [EMAIL PROTECTED]
 Subject: Re: [gentoo-user] Gentoo-Sources/Vanilla-Sources/Video 4 Linux
 To: gentoo-user@lists.gentoo.org
 Date: Monday, 29 September, 2008, 10:59 AM
 On Monday 29 September 2008, Jon Hardcastle wrote:
  Hi, i have spent the weekend trying to get my new
 Hauppage USB tv stick to
  work under linux.
 
  I have been constantly perplexed by references to
 compilable kernel modules
  I couldn't see! I assumed it was because they
 referred to old modules or
  something.
 
  But having downloaded and booted into Knoppix and run
 make menuconfig on
  that i have confirmed that kernel seems to have
 10's of TV card chipset
  drivers availible to compile whereas
 gentoo-sources/vanilla-sources emerged
  on my machine have maybe 2 or 3.
 
  Can someone offer me some assistance as to why this
 might be?
 
  Thank you
 
  (This is my first mailing list post - please be
 gentle!)
 
  ---
  N: Jon Hardcastle
  E: [EMAIL PROTECTED]
  'The writing is on the wall...'
  ---
 
 because a large part of the dvb/tv drivers are developed
 outside of the main 
 kernel tree. Also a large part is hidden under
 experimental.
 
 For my dvb-t stick I need to checkout a mercurial rep and
 do a make, make 
 install in it do get drivers that work. And with
 'work' I mean: no sound on 
 first try, but after disconnecting the stick and
 reconnecting it, it suddenly 
 works.

Hi, I went thru this process but i still dont have the option to add support as 
a kernel module. Should the mercurial add steps to the menuconfig?



Re: [gentoo-user] /etc/init.d/apache2 fails, but apache will run

2008-09-29 Thread Xav'

Adam Carter a écrit :

On Sunday 28 September 2008 09:26:06 pm Adam Carter wrote:

rix adam # /etc/init.d/apache2 start
 * Starting apache2 ...
(98)Address already in use: make_sock: could not bind to

address 0.0.0.0:80

no listening sockets available, shutting down
Unable to open logs

  [

ok ] rix adam #

The socket is not in use and log dir perms are ok, and;

rix adam # apache2 -f /etc/apache2/httpd.conf
rix adam # pgrep -lf apach
17740 apache2 -f /etc/apache2/httpd.conf
17741 apache2 -f /etc/apache2/httpd.conf
17744 apache2 -f /etc/apache2/httpd.conf
17772 apache2 -f /etc/apache2/httpd.conf
rix adam #

So, how do I troubleshoot this?

I just did a google search

SNIP something else is bound to port 80.

As stated above - socket 80 is not in use (according to netstat). If there was, 
apache2 -f /etc/apache2/httpd.conf would also fail, would it not?


Can you please post the output of grep -r Listen /etc/apache2 ... This 
might help :) IMHO, i think that wehn you start apache manually, you do 
not define DEFAULT_VHOST which add a Listen 80 directive, so try to 
start apache manually with the same command line arguments as the init 
script did it...


HTH.

Xav'


Do a ps -A | grep apache and see if a stray daemon is
running around... I


I did that, there were no apache processes running.


not then go to /etc/apache2/vhosts.d and make sure both config files
are pointing to the same host that apache is running on...


Again, if the config was broken then I'd expect # apache2 -f 
/etc/apache2/httpd.conf to also fail.

I'd say the problem is related to how the gentoo stuff starts the daemon, or 
maybe conf.d/apache2, but nothing below looks unusual to me;

rix apache2 # grep ^[^#] /etc/conf.d/apache2
APACHE2_OPTS=-D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D SSL_DEFAULT_VHOST  -D 
PHP5
CONFIGFILE=/etc/apache2/httpd.conf






Re: [gentoo-user] Gentoo-Sources/Vanilla-Sources/Video 4 Linux

2008-09-29 Thread Volker Armin Hemmann
On Monday 29 September 2008, Jon Hardcastle wrote:
 --- On Mon, 29/9/08, Volker Armin Hemmann [EMAIL PROTECTED]
clausthal.de wrote:
  From: Volker Armin Hemmann [EMAIL PROTECTED]
  Subject: Re: [gentoo-user] Gentoo-Sources/Vanilla-Sources/Video 4 Linux
  To: gentoo-user@lists.gentoo.org
  Date: Monday, 29 September, 2008, 10:59 AM
 
  On Monday 29 September 2008, Jon Hardcastle wrote:
   Hi, i have spent the weekend trying to get my new
 
  Hauppage USB tv stick to
 
   work under linux.
  
   I have been constantly perplexed by references to
 
  compilable kernel modules
 
   I couldn't see! I assumed it was because they
 
  referred to old modules or
 
   something.
  
   But having downloaded and booted into Knoppix and run
 
  make menuconfig on
 
   that i have confirmed that kernel seems to have
 
  10's of TV card chipset
 
   drivers availible to compile whereas
 
  gentoo-sources/vanilla-sources emerged
 
   on my machine have maybe 2 or 3.
  
   Can someone offer me some assistance as to why this
 
  might be?
 
   Thank you
  
   (This is my first mailing list post - please be
 
  gentle!)
 
   ---
   N: Jon Hardcastle
   E: [EMAIL PROTECTED]
   'The writing is on the wall...'
   ---
 
  because a large part of the dvb/tv drivers are developed
  outside of the main
  kernel tree. Also a large part is hidden under
  experimental.
 
  For my dvb-t stick I need to checkout a mercurial rep and
  do a make, make
  install in it do get drivers that work. And with
  'work' I mean: no sound on
  first try, but after disconnecting the stick and
  reconnecting it, it suddenly
  works.

 Hi, I went thru this process but i still dont have the option to add
 support as a kernel module. Should the mercurial add steps to the
 menuconfig?

no.
it just installs all the drivers in the rep as modules. It doesn't touch any 
configs at all.





Re: [gentoo-user] Gentoo-Sources/Vanilla-Sources/Video 4 Linux

2008-09-29 Thread Jon Hardcastle
  
   On Monday 29 September 2008, Jon Hardcastle
 wrote:
Hi, i have spent the weekend trying to get
 my new
  
   Hauppage USB tv stick to
  
work under linux.
   
I have been constantly perplexed by
 references to
  
   compilable kernel modules
  
I couldn't see! I assumed it was because
 they
  
   referred to old modules or
  
something.
   
But having downloaded and booted into
 Knoppix and run
  
   make menuconfig on
  
that i have confirmed that kernel seems to
 have
  
   10's of TV card chipset
  
drivers availible to compile whereas
  
   gentoo-sources/vanilla-sources emerged
  
on my machine have maybe 2 or 3.
   
Can someone offer me some assistance as to
 why this
  
   might be?
  
Thank you
   
(This is my first mailing list post - please
 be
  
   gentle!)
  
  
   because a large part of the dvb/tv drivers are
 developed
   outside of the main
   kernel tree. Also a large part is hidden under
   experimental.
  
   For my dvb-t stick I need to checkout a mercurial
 rep and
   do a make, make
   install in it do get drivers that work. And with
   'work' I mean: no sound on
   first try, but after disconnecting the stick and
   reconnecting it, it suddenly
   works.
 
  Hi, I went thru this process but i still dont have the
 option to add
  support as a kernel module. Should the mercurial add
 steps to the
  menuconfig?
 
 no.
 it just installs all the drivers in the rep as modules. It
 doesn't touch any 
 configs at all.

Hmmm i wonder why i have seen sooo many references to alot more kernel options 
than i have in either my gentoo-sources or vanilla-sources. Is it possible to 
'patch' the kernel source instead of downloading using mercurial. Also how does 
it 'know' what kernel to make the modules available under? I have 3 sets of 
kernel code on my machine?



[gentoo-user] 2008.0 Installation Question...

2008-09-29 Thread BRM
I took the dive on my laptop this weekend and installed Gentoo 2008.0. I 
started Friday night and used the stage3 and latest-portage.
The initial install when okay, until I started emerging applications - 
specifically X windows/KDE/etc; and that is the point I am still working on.

The problem seems to be that emerge/portage is not detecting dependencies 
correctly, or rather - a dependency says it is installed but the ebuilds for 
other packages that depend on it do not find the files it supposedly installed. 
For example, I have had to manually emerge nearly all the X protocol (e.g. 
xproto, xkbproto, etc.) packages.

I've installed several other gentoo systems, but not with 2008.0 directly like 
this - my last two were installed under 2007.0 and upgraded to 2008.0 profiles.
The only bug reports I come across seem to indicate broken e-builds, but that 
does seem to be the case as emerge --search program indicates it is 
installed when in fact it might not be which leads me to believe that the local 
portage database (?) is somehow broken or something...

Has anyone else seen this kind of behavior?
Is there anything I can to do get fixed?
-- Preferably without re-installing from scratch, though I can if need be since 
I haven't gotten that far despite 48 hours of time put into it already.

Nearly every time I run emerge world -vuDN it will go for a while and then 
break when the contents of a package that was supposedly installed are not 
found by a package depending on it.

Any how...any tips would be greatly appreciated!

Ben




Re: [gentoo-user] 2008.0 Installation Question...

2008-09-29 Thread Justin
BRM schrieb:
 I took the dive on my laptop this weekend and installed Gentoo 2008.0. I 
 started Friday night and used the stage3 and latest-portage.
 The initial install when okay, until I started emerging applications - 
 specifically X windows/KDE/etc; and that is the point I am still working on.

 The problem seems to be that emerge/portage is not detecting dependencies 
 correctly, or rather - a dependency says it is installed but the ebuilds for 
 other packages that depend on it do not find the files it supposedly 
 installed. For example, I have had to manually emerge nearly all the X 
 protocol (e.g. xproto, xkbproto, etc.) packages.

 I've installed several other gentoo systems, but not with 2008.0 directly 
 like this - my last two were installed under 2007.0 and upgraded to 2008.0 
 profiles.
 The only bug reports I come across seem to indicate broken e-builds, but that 
 does seem to be the case as emerge --search program indicates it is 
 installed when in fact it might not be which leads me to believe that the 
 local portage database (?) is somehow broken or something...

 Has anyone else seen this kind of behavior?
 Is there anything I can to do get fixed?
 -- Preferably without re-installing from scratch, though I can if need be 
 since I haven't gotten that far despite 48 hours of time put into it already.

 Nearly every time I run emerge world -vuDN it will go for a while and then 
 break when the contents of a package that was supposedly installed are not 
 found by a package depending on it.

 Any how...any tips would be greatly appreciated!

 Ben


   
That sounds like a broken world file. try regenworld to fix this. After
that emerge -uvaDn world to fix all deps. If you didn't unemerge any
package (python gcc or so) you should get all dependencies that way. Run
revdep-rebuild will help some more afterwards.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] 2008.0 Installation Question...

2008-09-29 Thread Alan McKinnon
On Monday 29 September 2008 15:15:33 BRM wrote:
 I took the dive on my laptop this weekend and installed Gentoo 2008.0. I
 started Friday night and used the stage3 and latest-portage. The initial
 install when okay, until I started emerging applications - specifically X
 windows/KDE/etc; and that is the point I am still working on.

 The problem seems to be that emerge/portage is not detecting dependencies
 correctly, or rather - a dependency says it is installed but the ebuilds
 for other packages that depend on it do not find the files it supposedly
 installed. For example, I have had to manually emerge nearly all the X
 protocol (e.g. xproto, xkbproto, etc.) packages.

 I've installed several other gentoo systems, but not with 2008.0 directly
 like this - my last two were installed under 2007.0 and upgraded to 2008.0
 profiles. The only bug reports I come across seem to indicate broken
 e-builds, but that does seem to be the case as emerge --search program
 indicates it is installed when in fact it might not be which leads me to
 believe that the local portage database (?) is somehow broken or
 something...

No, the portage tree is just fine.

Sounds like you emerged xorg-server, which gives you the ... Xorg Server :-)

To get everything else, you should have installed the xorg-x11 package. It's 
a -meta package whose sole purpose is to install a bunch of other packages.

To check if your portage tree is wonky, run emerge --sync

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] 2008.0 Installation Question...

2008-09-29 Thread Justin
BRM schrieb:
 I took the dive on my laptop this weekend and installed Gentoo 2008.0. I 
 started Friday night and used the stage3 and latest-portage.
 The initial install when okay, until I started emerging applications - 
 specifically X windows/KDE/etc; and that is the point I am still working on.

 The problem seems to be that emerge/portage is not detecting dependencies 
 correctly, or rather - a dependency says it is installed but the ebuilds for 
 other packages that depend on it do not find the files it supposedly 
 installed. For example, I have had to manually emerge nearly all the X 
 protocol (e.g. xproto, xkbproto, etc.) packages.

 I've installed several other gentoo systems, but not with 2008.0 directly 
 like this - my last two were installed under 2007.0 and upgraded to 2008.0 
 profiles.
 The only bug reports I come across seem to indicate broken e-builds, but that 
 does seem to be the case as emerge --search program indicates it is 
 installed when in fact it might not be which leads me to believe that the 
 local portage database (?) is somehow broken or something...

 Has anyone else seen this kind of behavior?
 Is there anything I can to do get fixed?
 -- Preferably without re-installing from scratch, though I can if need be 
 since I haven't gotten that far despite 48 hours of time put into it already.

 Nearly every time I run emerge world -vuDN it will go for a while and then 
 break when the contents of a package that was supposedly installed are not 
 found by a package depending on it.

 Any how...any tips would be greatly appreciated!

 Ben


   
you can also use equery check to check all files which should be
installed. Did you do an emerge --sync to corrected any portage brackage?



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] 2008.0 Installation Question...

2008-09-29 Thread BRM
The issue isn't just with X-org.

I'll try Justin's suggestion as soon as I get a chance.
Per X.org though, I was trying to follow one of the HOWTO's on it...I'll have 
to try that out as well though after regenerating the world file.

Thanks!

Ben



- Original Message 
From: Alan McKinnon [EMAIL PROTECTED]
To: gentoo-user@lists.gentoo.org
Sent: Monday, September 29, 2008 9:28:42 AM
Subject: Re: [gentoo-user] 2008.0 Installation Question...

On Monday 29 September 2008 15:15:33 BRM wrote:
 I took the dive on my laptop this weekend and installed Gentoo 2008.0. I
 started Friday night and used the stage3 and latest-portage. The initial
 install when okay, until I started emerging applications - specifically X
 windows/KDE/etc; and that is the point I am still working on.

 The problem seems to be that emerge/portage is not detecting dependencies
 correctly, or rather - a dependency says it is installed but the ebuilds
 for other packages that depend on it do not find the files it supposedly
 installed. For example, I have had to manually emerge nearly all the X
 protocol (e.g. xproto, xkbproto, etc.) packages.

 I've installed several other gentoo systems, but not with 2008.0 directly
 like this - my last two were installed under 2007.0 and upgraded to 2008.0
 profiles. The only bug reports I come across seem to indicate broken
 e-builds, but that does seem to be the case as emerge --search program
 indicates it is installed when in fact it might not be which leads me to
 believe that the local portage database (?) is somehow broken or
 something...

No, the portage tree is just fine.

Sounds like you emerged xorg-server, which gives you the ... Xorg Server :-)

To get everything else, you should have installed the xorg-x11 package. It's 
a -meta package whose sole purpose is to install a bunch of other packages.

To check if your portage tree is wonky, run emerge --sync

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Gentoo-Sources/Vanilla-Sources/Video 4 Linux

2008-09-29 Thread Volker Armin Hemmann
On Monday 29 September 2008, Jon Hardcastle wrote:
On Monday 29 September 2008, Jon Hardcastle
 
  wrote:
 Hi, i have spent the weekend trying to get
 
  my new
 
Hauppage USB tv stick to
   
 work under linux.

 I have been constantly perplexed by
 
  references to
 
compilable kernel modules
   
 I couldn't see! I assumed it was because
 
  they
 
referred to old modules or
   
 something.

 But having downloaded and booted into
 
  Knoppix and run
 
make menuconfig on
   
 that i have confirmed that kernel seems to
 
  have
 
10's of TV card chipset
   
 drivers availible to compile whereas
   
gentoo-sources/vanilla-sources emerged
   
 on my machine have maybe 2 or 3.

 Can someone offer me some assistance as to
 
  why this
 
might be?
   
 Thank you

 (This is my first mailing list post - please
 
  be
 
gentle!)
   
   
because a large part of the dvb/tv drivers are
 
  developed
 
outside of the main
kernel tree. Also a large part is hidden under
experimental.
   
For my dvb-t stick I need to checkout a mercurial
 
  rep and
 
do a make, make
install in it do get drivers that work. And with
'work' I mean: no sound on
first try, but after disconnecting the stick and
reconnecting it, it suddenly
works.
  
   Hi, I went thru this process but i still dont have the
 
  option to add
 
   support as a kernel module. Should the mercurial add
 
  steps to the
 
   menuconfig?
 
  no.
  it just installs all the drivers in the rep as modules. It
  doesn't touch any
  configs at all.

 Hmmm i wonder why i have seen sooo many references to alot more kernel
 options than i have in either my gentoo-sources or vanilla-sources.

because they patch their kernel.

 Is it
 possible to 'patch' the kernel source instead of downloading using
 mercurial. Also how does it 'know' what kernel to make the modules
 available under? I have 3 sets of kernel code on my machine?

a) /usr/src/linux
b) uname -r
c) just make clean  make make install for every kernel.

Why patch at all? with the rep and make make install you get all the 
drivers. It is not that much 'overhead' compared to the work of patching the 
kernel. And you don't even need to worry about which driver you need - 
autoloading will do that for you ;)





Re: [gentoo-user] 2008.0 Installation Question...

2008-09-29 Thread David Sveningsson
Justin skrev:
 BRM schrieb:
 I took the dive on my laptop this weekend and installed Gentoo 2008.0. I 
 started Friday night and used the stage3 and latest-portage.
 The initial install when okay, until I started emerging applications - 
 specifically X windows/KDE/etc; and that is the point I am still working on.

 The problem seems to be that emerge/portage is not detecting dependencies 
 correctly, or rather - a dependency says it is installed but the ebuilds for 
 other packages that depend on it do not find the files it supposedly 
 installed. For example, I have had to manually emerge nearly all the X 
 protocol (e.g. xproto, xkbproto, etc.) packages.

 I've installed several other gentoo systems, but not with 2008.0 directly 
 like this - my last two were installed under 2007.0 and upgraded to 2008.0 
 profiles.
 The only bug reports I come across seem to indicate broken e-builds, but 
 that does seem to be the case as emerge --search program indicates it is 
 installed when in fact it might not be which leads me to believe that the 
 local portage database (?) is somehow broken or something...

 Has anyone else seen this kind of behavior?
 Is there anything I can to do get fixed?
 -- Preferably without re-installing from scratch, though I can if need be 
 since I haven't gotten that far despite 48 hours of time put into it 
 already.

 Nearly every time I run emerge world -vuDN it will go for a while and then 
 break when the contents of a package that was supposedly installed are not 
 found by a package depending on it.

 Any how...any tips would be greatly appreciated!

 Ben


   
 you can also use equery check to check all files which should be
 installed. Did you do an emerge --sync to corrected any portage brackage?
 

I had a similar issue installing 2008.0 once but that was most likely a
broken portage snapshot. emerge --sync fixed the problem.

-- 


//*David Sveningsson [eXt]*

Freelance coder | Game Development Student
http://sidvind.com

Thou shalt make thy program's purpose and structure clear to thy fellow
man by using the One True Brace Style, even if thou likest it not, for
thy creativity is better used in solving problems than in creating
beautiful new impediments to understanding.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] 2008.0 Installation Question...

2008-09-29 Thread BRM
Yes, I did an emerge sync against my local portage mirror which is updated 
every day, used by my other systems.

I did it very early in the install process too; though I forget at exactly what 
step. I also did it a couple times thereafter after hitting the issue to see if 
it would correct it, but no luck.

Ben



- Original Message 
From: Justin [EMAIL PROTECTED]
To: gentoo-user@lists.gentoo.org
Sent: Monday, September 29, 2008 9:30:19 AM
Subject: Re: [gentoo-user] 2008.0 Installation Question...

BRM schrieb:
 I took the dive on my laptop this weekend and installed Gentoo 2008.0. I 
 started Friday night and used the stage3 and latest-portage.
 The initial install when okay, until I started emerging applications - 
 specifically X windows/KDE/etc; and that is the point I am still working on.

 The problem seems to be that emerge/portage is not detecting dependencies 
 correctly, or rather - a dependency says it is installed but the ebuilds for 
 other packages that depend on it do not find the files it supposedly 
 installed. For example, I have had to manually emerge nearly all the X 
 protocol (e.g. xproto, xkbproto, etc.) packages.

 I've installed several other gentoo systems, but not with 2008.0 directly 
 like this - my last two were installed under 2007.0 and upgraded to 2008.0 
 profiles.
 The only bug reports I come across seem to indicate broken e-builds, but that 
 does seem to be the case as emerge --search program indicates it is 
 installed when in fact it might not be which leads me to believe that the 
 local portage database (?) is somehow broken or something...

 Has anyone else seen this kind of behavior?
 Is there anything I can to do get fixed?
 -- Preferably without re-installing from scratch, though I can if need be 
 since I haven't gotten that far despite 48 hours of time put into it already.

 Nearly every time I run emerge world -vuDN it will go for a while and then 
 break when the contents of a package that was supposedly installed are not 
 found by a package depending on it.

 Any how...any tips would be greatly appreciated!

 Ben


  
you can also use equery check to check all files which should be
installed. Did you do an emerge --sync to corrected any portage brackage?



[gentoo-user] test: please ignore

2008-09-29 Thread Philip Webb
This is a test to see whether I can send to the list from my new ISP
 whether messages are sent to me.  Please ignore otherwise.

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




Re: [gentoo-user] 2008.0 Installation Question...

2008-09-29 Thread BRM
Ran the 'regenworld' and 'revdep-rebuild' and it seems to be working. 6 
packages were added to world as a result.
It's currently still in the revdep-rebuild phase, and I think it should 
complete without problem; I'll continue on as suggested later this evening if 
it does. (Hopefully!)

I'll post more if I run into other issues, but I think we likely solved it. If 
it's finished with revdep-rebuild when I get back home this evening, then it 
should be completely solved since before I couldn't get through such a build 
without something breaking.

Thanks all!

Ben



- Original Message 
From: BRM [EMAIL PROTECTED]
To: gentoo-user@lists.gentoo.org
Sent: Monday, September 29, 2008 11:30:47 AM
Subject: Re: [gentoo-user] 2008.0 Installation Question...

Yes, I did an emerge sync against my local portage mirror which is updated 
every day, used by my other systems.

I did it very early in the install process too; though I forget at exactly what 
step. I also did it a couple times thereafter after hitting the issue to see if 
it would correct it, but no luck.

Ben



- Original Message 
From: Justin [EMAIL PROTECTED]
To: gentoo-user@lists.gentoo.org
Sent: Monday, September 29, 2008 9:30:19 AM
Subject: Re: [gentoo-user] 2008.0 Installation Question...

BRM schrieb:
 I took the dive on my laptop this weekend and installed Gentoo 2008.0. I 
 started Friday night and used the stage3 and latest-portage.
 The initial install when okay, until I started emerging applications - 
 specifically X windows/KDE/etc; and that is the point I am still working on.

 The problem seems to be that emerge/portage is not detecting dependencies 
 correctly, or rather - a dependency says it is installed but the ebuilds for 
 other packages that depend on it do not find the files it supposedly 
 installed. For example, I have had to manually emerge nearly all the X 
 protocol (e.g. xproto, xkbproto, etc.) packages.

 I've installed several other gentoo systems, but not with 2008.0 directly 
 like this - my last two were installed under 2007.0 and upgraded to 2008.0 
 profiles.
 The only bug reports I come across seem to indicate broken e-builds, but that 
 does seem to be the case as emerge --search program indicates it is 
 installed when in fact it might not be which leads me to believe that the 
 local portage database (?) is somehow broken or something...

 Has anyone else seen this kind of behavior?
 Is there anything I can to do get fixed?
 -- Preferably without re-installing from scratch, though I can if need be 
 since I haven't gotten that far despite 48 hours of time put into it already.

 Nearly every time I run emerge world -vuDN it will go for a while and then 
 break when the contents of a package that was supposedly installed are not 
 found by a package depending on it.

 Any how...any tips would be greatly appreciated!

 Ben


  
you can also use equery check to check all files which should be
installed. Did you do an emerge --sync to corrected any portage brackage?



Re: [gentoo-user] /etc/init.d/apache2 fails, but apache will run

2008-09-29 Thread Simon

Have you done an upgrade/update of apache lately?

Whenever apache gets updated here, two files are recreated each time.
If you look in /etc/apache2, it should look like this:

-rw-r--r-- 1 root root  6311 Sep  2 03:23 httpd.conf
-rw-r--r-- 1 root root 12958 Sep  8 16:52 magic
drwxr-xr-x 2 root root  4096 Sep  8 22:50 modules.d
drwxr-xr-x 2 root root  4096 Sep  8 16:53 ssl
drwxr-xr-x 2 root root  4096 Sep 16 07:59 vhosts.d

Reading through httpd.conf, you should find the lines:

# Virtual-host support
#
# Gentoo has made using virtual-hosts easy. In /etc/apache2/vhosts.d/ we
# include a default vhost (enabled by adding -D DEFAULT_VHOST to
# APACHE2_OPTS in /etc/conf.d/apache2).
Include /etc/apache2/vhosts.d/*.conf


And looking through /etc/apache2/vhosts.d/, you should find all your own virtual 
servers, I name mine as per the port they use:


-rwxr-xr-x 1 root root  565 Sep  1 07:55 80.conf
-rwxr-xr-x 1 root root  368 Sep 16 07:57 8080.conf
-rw-r--r-- 1 root root 2.8K Sep  8 16:52 default_vhost.include

I don't have the two files that are recreated each time here, but they contain a 
configuration similar to the one in my 80.conf.  Thus, it load my 80.conf, and 
then tries to load its own default_80.conf (or something like that) and 
conflicts since the port 80 is already in use (by another vhost).


2 ways to solve this:  either use those default file names for your own vhost 
configuration so portage will ask you to update /etc files interactively, or 
delete those 2 files each and every time you update apache.  I have never looked 
into that but maybe by removing the option -D DEFAULT_VHOST in you 
/etc/conf.d/apache2 might do the trick also.


HTH,
  Simon


Adam Carter wrote:

rix adam # /etc/init.d/apache2 start
 * Starting apache2 ...
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs   [ ok ]
rix adam #

The socket is not in use and log dir perms are ok, and;

rix adam # apache2 -f /etc/apache2/httpd.conf
rix adam # pgrep -lf apach
17740 apache2 -f /etc/apache2/httpd.conf
17741 apache2 -f /etc/apache2/httpd.conf
17744 apache2 -f /etc/apache2/httpd.conf
17772 apache2 -f /etc/apache2/httpd.conf
rix adam #

So, how do I troubleshoot this?








Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-29 Thread Joerg Schilling
Grant [EMAIL PROTECTED] wrote:

  I like to end up with a raw/toc pair of files to act as a raw backup
  of the CD, and a series of individual FLAC files for each track.  For
  the individual files, would you do that like this:
 
  # cdda2wav -B -Oraw
  # rm audio.cddb
  # rm audio.cdindex
  # rm *.inf
  # flac --best --endian=big --sign=signed --channels=2 --bps=16
  --sample-rate=44100 --verify CD/audio_*.raw
 
  How would you generate a raw/toc(inf?) pair for backup?
 
  The toc information is coded in the adjacent .inf file.

 But how do you get cdda2wav to produce a single raw/inf pair instead
 of a pair for each track?  I tried removing -B but it then only rips
 the first track.

I don't understand your problem. Did you read the cdda2wav man page?

  Try to run an extrat run and ask if there are parts that you do not 
  understand.

 What is an extrat run?

I donate you a c.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] Re: Question about difference between emerge --update world and emerge vigra

2008-09-29 Thread Daniel Pielmeier
James schrieb am 25.09.2008 20:32:
 Surely many folks would benefit from a formal, systematic approach
 to cleaning the world file?  I know every now and then, when a gentoo
 workstation gives me fits, I just emerge and unemerge things until
 it's happy (while multitasking too much). Often this leads to
 a polluted world file... because I do not follow closely to
 the process details (distracted) during the repair-episode.
 

Something in addition to this topic.

I asked on IRC (#gentoo-portage) if it is possible to show the reverse
dependencies of a package with portage. Zac Medico, one of the main
portage developers told me that it is possible with depclean.

emerge -pv --depclean atom

So I thought of writing a little script which calls this command for
every entry in the world file. As I have only limited programming skills
I wrote something quick in perl. It should be no problem to do it with a
shell script or something else too. It simply checks the output of
depclean for strings which only occur when the package has or has no
reverse dependencies. Then it prints the package to be checked and if it
is needed in world or not. It actually does not remove anything, so it
is up to you if you want to leave a package in world or not for whatever
reason you have.

The script could probably be improved in a few ways and it is slow as
depclean takes some time. It works for current stable portage. I don't
know if it will work for portage-2.2 as the output of depclean has
changed as far as I know.

Don't rely on this script to much. Because it works for me must not mean
it does for you. I have tested some cases and I worked every time until
now. So verify the output of a manual emerge -pv --depclean atom on
the unneeded entry first to be sure it is really not needed.

Regards,

Daniel

#!/usr/bin/perl
#
#
#

use strict;
use diagnostics;
use warnings;

my ($package,$status,$line) = ();
my @depclean = ();
my $vdb_path = qx(portageq vdb_path);
chomp($vdb_path);

format STDOUT_TOP =
Atom:Status: (required in world)
.

format STDOUT =
@ @
$package, $status
.

print Examining: $vdb_path/world\n\n;

open(WORLD,$vdb_path/world) || die(world: $!);

foreach $package (WORLD) {
chomp $package;
@depclean = qx(emerge -pv --depclean $package);
foreach $line ( @depclean ) {
if ( $line =~  These are the packages that would be 
unmerged: ) {
$status = needed;
write;
} elsif ( $line =~  No packages selected for removal by 
depclean ) {
$status = unneeded;
write;
} else {
$status = Error: Something bad happened;
}
}
}




Re: [gentoo-user] [OT] suggest not-net-hungry Linux

2008-09-29 Thread forgottenwizard
On 17:38 Fri 26 Sep, Andrew Gaydenko wrote:
 No, no, no!... I was, is and am going to be on Gentoo. Just want to install 
 Linux to my friend's PC. I can download installation CD iso (or two), but 
 the main problem is, that PC during next few months will have dialup 
 connection (33600) only. As a result, I need to choose Linux with minimal 
 net traffic in mind (just security updates will be sufficient). There are 
 no any special demands (OOo, images and PDF viewer, Firefox, Thunderbird 
 and Krusader (or other two panel file manager) will be a sufficient apps 
 set for beginning, + booting to level 5).
 
 Suggestions?
 
 P.S. You see, there is a little sense to address this question to, say, suse 
 or ubuntu or other candidate's community :-) - so, excuse please for OT.
 
 
 Andrew
 

You could limit the bandwidth usage (see man wget and man make.conf,
iirc), and run emerge --sync once a week, and emerge -u --fetchonly to
fetch packages at night when the net isn't going to be in use as often
(or during the day durning classes or work), then install at your own
leisure.

Also, you could just run glsa-check to update security problems.

if you want another distro, and they are new to Linux, I would probably
suggest Debian or one of its knock-offs (besides Ubuntu) to get them
started, and see if they like it.


Hope this helps some.
-- 
I'm not anti-social, I'm just not user friendly




Re: [gentoo-user] {OT} cdrdao's toc2cue question

2008-09-29 Thread Grant
  I like to end up with a raw/toc pair of files to act as a raw backup
  of the CD, and a series of individual FLAC files for each track.  For
  the individual files, would you do that like this:
 
  # cdda2wav -B -Oraw
  # rm audio.cddb
  # rm audio.cdindex
  # rm *.inf
  # flac --best --endian=big --sign=signed --channels=2 --bps=16
  --sample-rate=44100 --verify CD/audio_*.raw
 
  How would you generate a raw/toc(inf?) pair for backup?
 
  The toc information is coded in the adjacent .inf file.

 But how do you get cdda2wav to produce a single raw/inf pair instead
 of a pair for each track?  I tried removing -B but it then only rips
 the first track.

 I don't understand your problem. Did you read the cdda2wav man page?

I did read it but I didn't find a way to get cdda2wav to produce a
single raw/inf pair for the entire CD instead of a pair for each
track.  Do you know if it can do that?

- Grant



[gentoo-user] Mediatomb media server - users permissions for /media/videoX

2008-09-29 Thread Stroller

Hi there,

I'm in the process of ripping my DVD collection to mp4 and have just  
installed net-misc/mediatomb. I am EXTREMELY impressed with this  
service, which has very quickly demonstrated a marvellous ability to  
stream video to my PS3.


On my server I have two largish hard-drives which are used for  
miscellaneous storage - backups, drivers  service packs for my work,  
customer backups and all these video files which will soon be rapidly  
increasing in quantity.


Because of the miscellaneous nature of this data, I have mounted these  
two disks at /mnt/space and /mnt/morespace Following a discussion a  
while back I will probably move them to /media/video[123] or /media/ 
spaceX when I get around to reorganising.


Permissions on these volumes are such that any user on the system (me,  
hypothetically trusted friends or family in the future) should have  
full access to all the miscellaneous junk on them. I need to play back  
videos and delete the old versions when I decide a film needs to be  
ripped in higher quality.


I'm a little unclear as to how these permissions have been applied -  
shouldn't it be based either on the permissions of the mount-point  
directory, or added as an -o users,umask=000 in /etc/fstab ?


  $ grep space /etc/fstab
  LABEL=space   /mnt/space  xfs noatime 
0 3
  LABEL=MoreSpace   /mnt/morespace  xfs noatime 
0 3
  $ sudo umount /mnt/morespace/
  $ ls -lh /mnt/
  total 0
  drwxrwx--- 2 root cdrom  72 May 28  2007 dvdrom
  drwxrwx--- 2 root users  48 Sep 21 23:24 foo
  drwxrwxrwx 2 root root   48 May 19  2007 morespace
  drwxrwx--- 8 root users 116 Sep 11 11:53 space
  $ sudo mount -a
  $ ls -lh /mnt/
  total 4.0K
  drwxrwx--- 2 root cdrom   72 May 28  2007 dvdrom
  drwxrwx--- 2 root users   48 Sep 21 23:24 foo
  drwxrwx--- 5 root users 4.0K Sep 15 20:46 morespace
  drwxrwx--- 8 root users  116 Sep 11 11:53 space
  $


Anyway, the problem that I encountered was that Mediatomb was unable  
to read these drives because Gentoo init.d script (very sensibly, IMO)  
runs the server as its own user, which clearly did not have permission  
to read these disks. I like this idea, because I tend to trust the  
users on my system (this may be foolish!) yet fear a hijacked daemon  
maliciously deleting my collection of Carry On films.


You can see here how I've worked around the problem for the moment:

$ grep -ie user -ie group /etc/conf.d/mediatomb
# Run MediaTomb as this user.
MEDIATOMB_USER=mediatomb
# Run MediaTomb as this group.
#MEDIATOMB_GROUP=mediatomb
MEDIATOMB_GROUP=users
$

However I'm posting to solicit suggestions on the best permissions  
practices for this purpose. mediatomb shouldn't need write access to  
these files or folders at all - there's no option on the UPnP client,  
for instance, to delete files from the server. Should I make the  
drives owned by users and in the mediatomb group, with read-only  
access for the latter? Any other suggestions?


Stroller.



[gentoo-user] Patch file for cdrtools to allow --duplicates-once

2008-09-29 Thread Andrey Vul
Is there a patch file to patch mkisofs to use the --duplicates-once
option during generation of iso9960/UDF images?
The problem is that the one that exists right now, the patch (against
the official sources) cannot be found because the original site
(bootcd.ru) is permanently down.
Or do I need to make a table of SHA-1s to weed out the identical files?
-- 
Andrey Vul



Re: [gentoo-user] Patch file for cdrtools to allow --duplicates-once

2008-09-29 Thread Dale
Andrey Vul wrote:
 Is there a patch file to patch mkisofs to use the --duplicates-once
 option during generation of iso9960/UDF images?
 The problem is that the one that exists right now, the patch (against
 the official sources) cannot be found because the original site
 (bootcd.ru) is permanently down.
 Or do I need to make a table of SHA-1s to weed out the identical files?
   

I found this link:

http://www.911cd.net/forums/lofiversion/index.php/t15282-350.html

I'm not sure it will help but may be worth a look. 

Dale

:-)  :-)