Re: [gentoo-user] Outputing 15.9kHz?

2006-09-14 Thread Grant

 I'm using the modeline from this link:

 http://www.sput.nl/hardware/tv-x.html

 and my xorg.conf looks like this:

 Section Monitor
 Identifier monitor1
 Modeline 736x485i 14.16 736 760 824 904 485 491 496 525
 interlace -hsync -vsync
 EndSection
 [...]

 When I try to open an xfce4 desktop like this, the image is somewhat
 scrambled and constantly rolls on the TV.  It looks normal on a
 monitor with the same settings.

OK, that rolling is bad sync.

 /var/log/Xorg.0.log reports this:

 (II) I810(0): monitor1: Using default hsync range of 28.00-33.00 kHz

That's the culprit. You need to override defaults (TVs don't usually
have DDC, such no automatic detection) for hsync/vsync. Add a
HorizSync line to your xorg.conf:

Section Monitor
...
HorizSync 19.00-20.00
...
EndSection


I always seem to get hsync out of range errors trying to go this low.
I guess my card can't go as low as necessary.

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



Re: [gentoo-user] kdm xorg-7.1 problem

2006-09-14 Thread Dale
Cláudio Henrique wrote:
 I didn't get what your problem is, but at home, after emerge -e world,
 GDM decided not to work. upon further investigation, nvidia did not
 load. so I had to recompile my kernel and then recompile
 nvidia-drivers to make it work again.

 I hope it helps.

 regards


Same here.  It worked fine after I did the same as Cláudio.

Dale

:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Purging Gnome from the system

2006-09-14 Thread Dale
Mick wrote:
 On Wednesday 13 September 2006 05:27, Dale wrote:
 Cool.  I need to mark this one important so I can find it again.  Do you
 notice anything missing like in OOo, Mozilla/Seamonkey or anything like
 that??
 

 Nothing that is apparent from the small exposure that I have had to the Gnome 
 DE (mostly on FreeBSD).  If you prefer the GTK2 icons on OOo instead of KDE 
 you can specify that in your .bashrc and OOo will be launched with the 
 desired GUI.

 PS. I have not used Seamonkey so far, but Mozilla suite and FF look and 
 behave 
 identically (both with source compiles and bin ebuilds).
   


Thanks for the info.  I may need to do a little house cleaning myself. 
I just finished my new install on another hard drive, with some Gnome of
course.  :-(

Dale

:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] error installing xorg

2006-09-14 Thread TOA




I have a new 2006.1 installation on a notebook.
Now i'm try to install xorg

I'm using the new profile "default-linux/x86/2006.1/desktop"

My make.conf 

INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="radeon fglrx vesa"

running "emerge xorg-x11" 

I got the following error, also at the end of it there is the log
generated in 
/var/tmp/portage/libxkbfile-1.0.3/work/libxkbfile-1.0.3/config.log
-
 Emerging (1 of 102) x11-libs/libxkbfile-1.0.3 to /
 * libxkbfile-1.0.3.tar.bz2 MD5 ;-)
...  
[ ok ]
 * libxkbfile-1.0.3.tar.bz2 RMD160 ;-)
...   
[ ok ]
 * libxkbfile-1.0.3.tar.bz2 SHA1 ;-)
... 
[ ok ]
 * libxkbfile-1.0.3.tar.bz2 SHA256 ;-)
...   
[ ok ]
 * libxkbfile-1.0.3.tar.bz2 size ;-)
... 
[ ok ]
 * checking ebuild checksums ;-)
... 
[ ok ]
 * checking auxfile checksums ;-)
...
[ ok ]
 * checking miscfile checksums ;-)
...   
[ ok ]
 * checking libxkbfile-1.0.3.tar.bz2 ;-)
... 
[ ok ]
 Unpacking source...
 Unpacking libxkbfile-1.0.3.tar.bz2 to
/var/tmp/portage/libxkbfile-1.0.3/work
 * Running elibtoolize in: libxkbfile-1.0.3
 *   Applying portage-1.5.10.patch ...
 *   Applying max_cmd_len-1.5.20.patch ...
 *   Applying sed-1.5.6.patch ...
 Source unpacked.
 Compiling source in
/var/tmp/portage/libxkbfile-1.0.3/work/libxkbfile-1.0.3 ...
 * econf: updating libxkbfile-1.0.3/config.guess with
/usr/share/gnuconfig/config.guess
 * econf: updating libxkbfile-1.0.3/config.sub with
/usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr
--datadir=/usr/share --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none
needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by i686-pc-linux-gnu-gcc...
/usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object
files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of i686-pc-linux-gnu-g++... gcc3
checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
checking for i686-pc-linux-gnu-g77... no
checking for i686-pc-linux-gnu-f77... no
checking for i686-pc-linux-gnu-xlf... no

[gentoo-user] MyWorld - how to set this up?

2006-09-14 Thread Helmut Jarausch
Hi,

I'd like to keep several configurations.
Is it possible to setup additional sets like MyWorld,...
in addition to world and say  emerge MyWorld ?

This for a hint,

Helmut Jarausch

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

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kdm xorg-7.1 problem

2006-09-14 Thread Cláudio Henrique

how about a emerge --info and a copy of your Xorg.log, so we can
provide you better clues.

On 9/13/06, Michael W. Holdeman [EMAIL PROTECTED] wrote:

After finally upgrading to xorg-7.1 cause I finally decided nvidia-drivers
were working well enough, now my kde-3.5.4 that was already installed won't
give me a start new user new login for multiple logins.

What did I miss?

Mike
--

Michael W. Holdeman



Powered by Gentoo Linux www.gentoo.org  |
Kernel 2.6.15-ck2   |
VMWare Workstation 5.5.1 vmware.com |
Win4LinPro 6.1.1-03 win4lin.com |
|
--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] MyWorld - how to set this up?

2006-09-14 Thread Hans-Werner Hilse
Hi,

On Thu, 14 Sep 2006 13:44:22 +0200 (CEST) Helmut Jarausch
[EMAIL PROTECTED] wrote:

 I'd like to keep several configurations.
 Is it possible to setup additional sets like MyWorld,...
 in addition to world and say  emerge MyWorld ?

you can create a (meta-)ebuild that doesn't install anything but
depends on the packages you want to have in such a set. You can then
put that ebuild into a portage overlay. An example would be the
xorg-x11 ebuild (which admittedly does a few extra things you can
simply omit).

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



[gentoo-user] multicast routing from satillite to lan

2006-09-14 Thread henti
Hi guys,

I have a client that needs traffic that comes down a satillite connection
to be routed onto a LAN where their multicast app will pick itup to handle
the stream.

The machine has a sat car and lan card.

The idea is to recieve IP data on the sat and route it onto the lan

I have some limitations that I need to work with:

2.4 kernel : sat card only has 2.4 drivers and we can't get decent cards
here with 2.6 drivers.

mrouted doens't work with 2.4 (according to docs)

How can I get this setup to work .

Thanks

Henti

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] portage broken

2006-09-14 Thread Frank Baumeister
Hello,

whenever I run emerge it aborts with the following error message:

localhost # emerge --sync

Performing Global Updates: /usr/portage/profiles/updates/3Q-2006
(Could take a couple of minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  @='/var/db move'
  s='/var/db SLOT move' S='binary SLOT move' 
p='update /etc/portage/package.*'

pTraceback (most recent call last):
  File /usr/bin/emerge, line 4049, in ?
emerge_main()
  File /usr/bin/emerge, line 3770, in emerge_main
portage.global_updates(settings, trees, mtimedb[updates])
  File /usr/lib/portage/pym/portage.py, line 6656, in global_updates
myupd)
  File /usr/lib/portage/pym/portage_update.py, line 198, in 
update_config_files
write_atomic(updating_file, .join(file_contents[x]))
  File /usr/lib/portage/pym/portage_util.py, line 728, in 
write_atomic
f.close()
  File /usr/lib/portage/pym/portage_util.py, line 696, in close
os.rename(self.name, self._real_name)
OSError: [Errno 16] Device or resource busy
localhost #

I have no clue how to solve this problem, so any help would be greatly 
appreciated!

Kind regards
Frank
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage broken

2006-09-14 Thread Daniel Iliev
Try this:

rm /usr/portage/metadata/timestamp.chk
emerge --sync


Frank Baumeister wrote:
 Hello,

 whenever I run emerge it aborts with the following error message:

 localhost # emerge --sync

 Performing Global Updates: /usr/portage/profiles/updates/3Q-2006
 (Could take a couple of minutes if you have a lot of binary packages.)
   .='update pass'  *='binary update'  @='/var/db move'
   s='/var/db SLOT move' S='binary SLOT move' 
 p='update /etc/portage/package.*'
 
 pTraceback (most recent call last):
   File /usr/bin/emerge, line 4049, in ?
 emerge_main()
   File /usr/bin/emerge, line 3770, in emerge_main
 portage.global_updates(settings, trees, mtimedb[updates])
   File /usr/lib/portage/pym/portage.py, line 6656, in global_updates
 myupd)
   File /usr/lib/portage/pym/portage_update.py, line 198, in 
 update_config_files
 write_atomic(updating_file, .join(file_contents[x]))
   File /usr/lib/portage/pym/portage_util.py, line 728, in 
 write_atomic
 f.close()
   File /usr/lib/portage/pym/portage_util.py, line 696, in close
 os.rename(self.name, self._real_name)
 OSError: [Errno 16] Device or resource busy
 localhost #

 I have no clue how to solve this problem, so any help would be greatly 
 appreciated!

 Kind regards
 Frank
   


-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] multicast routing from satillite to lan

2006-09-14 Thread Hans-Werner Hilse
Hi,

On Thu, 14 Sep 2006 14:30:06 +0200 (SAST) [EMAIL PROTECTED] wrote:

 mrouted doens't work with 2.4 (according to docs)

What docs? Well, I see it being written in the ebuild, but given that
mrouted-3.9-beta3 is existing since June 1999, I don't think it is
actually true. Did you try compiling and running it?

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



Re: [gentoo-user] multicast routing from satillite to lan

2006-09-14 Thread henti
 Hi,

 On Thu, 14 Sep 2006 14:30:06 +0200 (SAST) [EMAIL PROTECTED] wrote:

 mrouted doens't work with 2.4 (according to docs)

 What docs? Well, I see it being written in the ebuild, but given that
 mrouted-3.9-beta3 is existing since June 1999, I don't think it is
 actually true. Did you try compiling and running it?

I can't compile it since it requires 2.6 kernel headers which I cannot
have on my system.

I have compiled it before on a different intallation but didn't get any
results then either.

I think my knowledge of mutlicast and routing thereof is lacking .. or I
just don't understand how the setup should look / work

Henti

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] prioritzed Ethernet traffic?

2006-09-14 Thread Daniel Iliev
Mark Knecht wrote:
 Hi,
   I'm just wondering how one goes about creating higher/lower
 priority Ethernet traffic on a home network. Is it possible?
 Difficult?

   When I'm in my office working on my Gentoo box I have two main
 things I'm doing across a wireless network:

 1) Watching MythTV. This traffic is going wireless to the router and
 then wired to the backend server. I'd like this traffic to be high
 priority.

 2) Browsing the web, using GMail, etc. In general I'd like this
 traffic to be low priority.

   With a default network setup, when I change web pages to something
 that sends in a lot of data I get delays in MythTV making it less
 compelling to watch. Is there something I can do about this?

 Thanks,
 Mark
This could be accomplished by using a traffic shaper.
The package iproute2 comes with a program called tc. This program can
do the trick for you.
I would recommend reading:
1) http://www.tldp.org/HOWTO/Adv-Routing-HOWTO/
2) http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm

-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Adding binaries to initramfs with genkernel

2006-09-14 Thread Matthias Teege

Moin,

how can I add binaries to the initramfs image with genkernel? Is it possible?
Matthias
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Update or Install again? Testing vs. stable?

2006-09-14 Thread Bo Ørsted Andresen
On Thursday 14 September 2006 07:03, Richard Fish wrote:
 2. Remove ~amd64 from keywords, and basically follow the gcc upgrade
 guide, since you probably need to udpate to gcc 4.1 anyway.

 Advantages:
 - It's relatively easy to see what things are going to be downgraded,
 so you can decide what needs to be added to package.keywords.

One warning that should be given regarding any downgrade is that downgrading 
glibc is going to hose any system! Since the newest glibc in portage is 
stable at the moment this isn't currently an issue but still for future 
reference the warning should be given.

Further I may add that I recently went through a downgrade from ~x86 to x86 on 
a desktop system and since I had been using ggc-4.1.1 for almost 3 months I 
decided not to use revdep-rebuild rather than emerge -e world.

The only real problem I experienced was the dev-libs/expat downgrade from 
2.0.0 to 1.95.8. revdep-rebuild doesn't have a clue about the order in which 
to recompile all the packages that break by this so if I hadn't been able to 
figure that out the revdep-rebuild method would definitely have taken a lot 
longer than emerge -e world (because most builds failed until the correct 
packages had been remerged in the correct order). I would, however, expect 
that it would be quite painless if emerge -e world was performed.

Of course given the bugs that are still open on bug #140707 as has been 
discussed on this list during the last couple of weeks you should expect that 
a few packages will require ~x86 keywording until they are stabilised.

Having said all this a agree with Richard about this question.

-- 
Bo Andresen


pgpuLtawT5WrO.pgp
Description: PGP signature


[gentoo-user] Re: [OT] print to printer on winxp via cups samba smb

2006-09-14 Thread reader
[EMAIL PROTECTED] writes:

 Printing failed as expected but nothing was produced in /tmp.

Adding  #!/bin/bash -x 
to the smbspool script and I don't see any output when running 
  lp file

I'm not sure the output would be visible from -x in my tty but I'm
guessing smbspool is not being called.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] prioritzed Ethernet traffic?

2006-09-14 Thread Mark Knecht

On 9/14/06, Daniel Iliev [EMAIL PROTECTED] wrote:

Mark Knecht wrote:
 Hi,
   I'm just wondering how one goes about creating higher/lower
 priority Ethernet traffic on a home network. Is it possible?
 Difficult?

SNIP

This could be accomplished by using a traffic shaper.
The package iproute2 comes with a program called tc. This program can
do the trick for you.
I would recommend reading:
1) http://www.tldp.org/HOWTO/Adv-Routing-HOWTO/
2) http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm

--
Best regards,
Daniel



Thanks Daniel. A little light reading over the next few days.

Cheers,
Mark
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] multicast routing from satillite to lan

2006-09-14 Thread Hans-Werner Hilse
Hi,

On Thu, 14 Sep 2006 15:01:01 +0200 (SAST) [EMAIL PROTECTED] wrote:

  mrouted doens't work with 2.4 (according to docs)
 
  What docs? Well, I see it being written in the ebuild, but given
  that mrouted-3.9-beta3 is existing since June 1999, I don't think
  it is actually true. Did you try compiling and running it?
 
 I can't compile it since it requires 2.6 kernel headers which I cannot
 have on my system.

There's no mention of it in the tarball itself, just in the ebuild, as
I mentioned. So go and check if the sources from the tarball build
(i.e. don't use the ebuild, don't use portage at all). If you happen to
have errors while building, quote them here.

2.6 is certainly not required by all means. Back in 1999, there was no
kernel 2.6, mrouted can run even on 2.2. It *may* be that you have to
patch /usr/incluse/linux/ip_mroute.h in order to include types.h.

 I have compiled it before on a different intallation but didn't get
 any results then either.

What do you mean with any results? What were you expecting and what
did actually happen?

 I think my knowledge of mutlicast and routing thereof is lacking ..
 or I just don't understand how the setup should look / work

I don't have much knowledge there, either. I just understood that you
want to get mrouted running. In fact, I don't think you need it to
route multicast from one interface onto another. In order to do that,
you're probably better off using bridging (and maybe ebtables to
suppress non-multicast traffic from being bridged). As far as I can
tell from reading mrouted's documentation, its primary focus is in fact
multicast _tunneling_. In order to use that, you should have mrouted
running in more than one LAN, interconnected by a non-multicast network
(e.g. the internet). You can then route multicast packages between the
LANs. You would have to configure mrouted on both ends in order to make
them know each other. But as I said, your usage scenario most likely
doesn't need it.

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



Re: [gentoo-user] Problem with compiling OpenOffice 2.0.3

2006-09-14 Thread Meino Christian Cramer
From: Richard Fish [EMAIL PROTECTED]
Subject: Re: [gentoo-user] Problem with compiling OpenOffice 2.0.3
Date: Wed, 13 Sep 2006 12:13:26 -0700

 On 9/13/06, Meino Christian Cramer [EMAIL PROTECTED] wrote:
  Same here
 
 ...and...does shortening the PORTAGE_TMPDIR path help?
 
 -Richard

Nope.
mcc
 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage broken

2006-09-14 Thread Frank Baumeister
On Thursday 14 September 2006 14:48, Daniel Iliev wrote:
 Try this:

 rm /usr/portage/metadata/timestamp.chk
 emerge --sync

Unfortunately that didn't fix the problem.

Regards
Frank
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] CUPS server cannot be contacted

2006-09-14 Thread Mark Knecht

Hi,
  I decided I wanted to sell my Mac Mini as it's turned out to be
nothing but a glorified print server. (No one uses it including me.)
Anyway, I'm trying to move my HP printer from the Mac to my Gentoo box
using the Gentoo Printing Guide:

http://www.gentoo.org/doc/en/printing-howto.xml

  The printer is hooked up and I can print test pages from my local
machine using the CUPS admin page in Firefox. However, when I open a
terminal and type lpq I have problems:

lightning ~ # lpq
lpq: Unable to contact server!
lightning ~ #

and inside of an app like Open Office I don't see the printer. It just
says Generic Printer. If I try the Printer Admin app in Gnome it says
the CUPS server cannot be contacted.

  The two changes I've tried in /etc/cups/cupsd.conf, as per the guide, are:

Location /
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.68.1.*
/Location


and this

#Port 631
Port localhost:631

or this

Port 631
#Port localhost:631

It seems I must be missing something obvious. I have restarted cupsd
after each config file change but nothing helps yet.

Where do I look to get info to help fix this up?

Thanks,
Mark
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage broken

2006-09-14 Thread Bo Ørsted Andresen
On Thursday 14 September 2006 14:34, Frank Baumeister wrote:
 whenever I run emerge it aborts with the following error message:

[SNIP]
 pTraceback (most recent call last):
   File /usr/bin/emerge, line 4049, in ?
 emerge_main()
   File /usr/bin/emerge, line 3770, in emerge_main
 portage.global_updates(settings, trees, mtimedb[updates])
   File /usr/lib/portage/pym/portage.py, line 6656, in global_updates
 myupd)
   File /usr/lib/portage/pym/portage_update.py, line 198, in
 update_config_files
 write_atomic(updating_file, .join(file_contents[x]))
   File /usr/lib/portage/pym/portage_util.py, line 728, in
 write_atomic
 f.close()
   File /usr/lib/portage/pym/portage_util.py, line 696, in close
 os.rename(self.name, self._real_name)
 OSError: [Errno 16] Device or resource busy
 localhost #

http://bugs.gentoo.org/show_bug.cgi?id=147010

-- 
Bo Andresen


pgp3osaLZ02P7.pgp
Description: PGP signature


Re: [gentoo-user] portage broken

2006-09-14 Thread Drew

On 9/14/06, Frank Baumeister [EMAIL PROTECTED] wrote:

On Thursday 14 September 2006 14:48, Daniel Iliev wrote:
 Try this:

 rm /usr/portage/metadata/timestamp.chk
 emerge --sync

Unfortunately that didn't fix the problem.

Regards
Frank
--
gentoo-user@gentoo.org mailing list



Hi Frank,

Daniel's solution was one suggested in an earlier thread. The other
was to delete your portage tree and reinstall it via web-rsync
followed by a regular sync. The problem has been documented and the
patch is supposed to work it's way into portage soon:

[1] http://bugs.gentoo.org/show_bug.cgi?id=147010

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



[gentoo-user] Downgrading glibc

2006-09-14 Thread 7v5w7go9ub0o
I went through the gcc upgrade and discovered that ssp no longer works  
(suppose it was documented somewhere - but I missed it)


So I'm trying to reverse the upgrade process (this time using using a  
hardened profile) and glibc won't allow me to downgrade.


How do I get around this, please?

I've considered hacking the script/size/md5 tests, but would prefer to do  
it the proper way.


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



Re: [gentoo-user] portage broken

2006-09-14 Thread Frank Baumeister
On Thursday 14 September 2006 18:17, Drew wrote:

 Hi Frank,

 Daniel's solution was one suggested in an earlier thread. The other
 was to delete your portage tree and reinstall it via web-rsync
 followed by a regular sync. The problem has been documented and the
 patch is supposed to work it's way into portage soon:

 [1] http://bugs.gentoo.org/show_bug.cgi?id=147010

 --
 -Drew

Hi Drew,

thank you for the hint!! That did the trick. Also a big thank you to 
Bo Ørsted!

Kind regards
Frank

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Problems after reemerging xorg-x11

2006-09-14 Thread Dan Johansson
Today I did the mistake of re-emerging 
(emerge --update --deep --verbose --newuse world --pretend
) x11-base/xorg-x11-6.8.2-r8 as a result of a changed USE-flag 
(GAPING_SECURITY_HOLE). Now when I try to do a new 
emerge --update --deep --verbose --newuse world --pretend
 I am getting a lot of blocked packages and emerge also wants to pull in a lot 
of new packages. Here is a part of the output of the emerge:

[blocks B     ] =x11-base/xorg-x11-6.9 (is blocking
x11-proto/kbproto-1.0.3)
[blocks B     ] =x11-base/xorg-x11-6.9 (is blocking
x11-misc/util-macros-1.1.0)
[blocks B     ] =x11-base/xorg-x11-6.9 (is blocking
x11-libs/libX11-1.0.3)
[blocks B     ] =x11-base/xorg-x11-6.9 (is blocking
x11-proto/xextproto-7.0.2)
[blocks B     ] =x11-base/xorg-x11-6.9 (is blocking
x11-proto/xf86bigfontproto-1.1.2)
...SNIP...
[blocks B     ] x11-libs/libxkbui (is blocking
x11-base/xorg-x11-6.8.2-r8)
[blocks B     ] x11-libs/libXp (is blocking x11-base/xorg-x11-6.8.2-r8)
[blocks B     ] x11-misc/xorg-cf-files (is blocking
x11-base/xorg-x11-6.8.2-r8)
[blocks B     ] x11-misc/imake (is blocking x11-base/xorg-x11-6.8.2-r8)
[blocks B     ] =x11-base/xorg-x11-6.9 (is blocking
x11-libs/libXxf86dga-1.0.1)
[ebuild  N    ] x11-misc/util-macros-1.1.0  USE=-debug 42 kB
[ebuild  N    ] x11-proto/kbproto-1.0.3  USE=-debug 56 kB
[ebuild  N    ] x11-proto/xextproto-7.0.2  USE=-debug 66 kB
[ebuild  N    ] x11-proto/xf86bigfontproto-1.1.2  USE=-debug 36 kB
[ebuild  N    ] x11-proto/inputproto-1.3.2  USE=-debug 45 kB
...SNIP...
[ebuild  N    ] x11-misc/xorg-cf-files-1.0.2  USE=-debug 258 kB
[ebuild  N    ] x11-misc/imake-1.0.2  USE=-debug 110 kB
[ebuild  N    ] x11-libs/libXScrnSaver-1.1.0  USE=-debug 221 kB
[ebuild  N    ] app-text/rman-3.2  77 kB
[ebuild  N    ] x11-libs/libXxf86dga-1.0.1  USE=-debug 226 kB

I have x11-base/xorg-x11-6.8.2-r8 in /etc/portage/package.mask
as I could not make my Laptop, with an ATI-videocard, work with the new 
modular X.

Any suggestions on how to solve this?
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


pgpSHdZILWy3A.pgp
Description: PGP signature


[gentoo-user] Gnome Save Session dialog gone

2006-09-14 Thread Alex Bennee
Hi,

When I logout of gnome it no longer asks me if I wish to save the
session and as a result I lose all my session data each time I logout.

Anyone know where this went? Is this an upstream Gnome issue or am I
missing some magical USE flag?

--
Alex, homepage: http://www.bennee.com/~alex/
Electrical Engineers do it with less resistance.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Simplified apache2

2006-09-14 Thread Brian Davis



Rumen Yotov wrote:

Hi,
On Wed, 13 Sep 2006 12:36:45 + (UTC)
James [EMAIL PROTECTED] wrote:
  

Ryan Tandy tarpman at gmail.com writes:




Michael Crute wrote:
  

USE=-* hardened pic ncurses ssl crypt berkdb tcpd pam perl
python readline


You could omit pic here IIRC (on a hardened profile) hardened
includes -fpic -fpie CFLAGS, plus SSP in GCC-4.1.1 (a default).
If using a vanilla (desktop  server) profile you'll need 'pie' as well.
Maybe (if not using a hardened profile) you'll also need some LDFLAGS.
  
I have a question on this, why would a package have to use a pic USE 
flag if all that was needed was to complie with -fpic?



Ok,
So I'll test your suggestions. 
The more minimized the global flags are, the more secure the server.




+1
Could also check the flags in hardened profile.
  

Also, be careful using the hardened flag without running the
hardened profile.  The hardened profile masks out a couple of
packages and flags that don't work so well on a hardened system.
  

+1
  

H,

Not sure I fully grasp what you mean by a 'hardened system'. If you
mean running a hardened kernel with only necessary software
installed, then yes, I run hardened kernels on most servers {dns,
web, mail, firwalls}

If running a hardened system means more than that, please explain,
or point me to some docs.


Check hardened docs page on w.g.o, in short hardened means a kernel
with PaX (+ -fpie for packages) some sort of RBAC system - grsec, RSBAC
or SELinux and all user-land build with SSP,pic,pie (IMHO).
  

BTW, the flags with underscores in them (kernel_linux,
userland_GNU, elibc_glibc, video_cards_radeon and such) are known
as USE_EXPAND or expanded USE flags.  
  
This is nice to know. 
I did not get the memo on this.

Any docs for further reading you can point me to?



...SKIP...
  

James


HTH.Rumen
  

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Slow https browsing.

2006-09-14 Thread A. R.

Hi,

I have been experiencing very slow https communication in both of my
~amd64 home Gentoo systems. No matter what browser I use (Opera,
firefox, firefox-bin, nautilus, konqueror) attempting to access a
secure site takes a very, very long time.

I do have ssl in my USE flags, maybe there is another flag that I need to add?

Windoze works just fine with firefox in the same boxen (they are dual-boot).

Could somebody please help?

Much appreciated.


- AR

--
If you stare long enough into an abyss, the abyss will stare back into you...
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] error installing xorg

2006-09-14 Thread Benno Schulenberg
TOA wrote:
[...HTML...]

Do not send HTML messages to this list, or any list.  Please 
configure your Thunderbird to produce plaintext mails.

Also, do not provide too much information.  Just a bunch of lines 
before the error message are usually enough for those who know this 
stuff.  Something like this.

  checking for i686-pc-linux-gnu-pkg-config... no
  checking for pkg-config... /usr/bin/pkg-config
  checking pkg-config is at least version 0.9.0... yes
  checking for XKBFILE... configure: error: Package requirements
 (x11 kbproto) were not met:

  No package 'x11' found

Someone else knows what is happening here?

Benno

-- 
Cetere mi opinias ke ne ĉio tradukenda estas.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] error installing xorg

2006-09-14 Thread Jean-Marc Beaune
Hi,Do you use 'emerge xorg-x11' ?On 9/14/06, Benno Schulenberg [EMAIL PROTECTED]
 wrote:TOA wrote:[...HTML...]Do not send HTML messages to this list, or any list.Please
configure your Thunderbird to produce plaintext mails.Also, do not provide too much information.Just a bunch of linesbefore the error message are usually enough for those who know thisstuff.Something like this.
checking for i686-pc-linux-gnu-pkg-config... nochecking for pkg-config... /usr/bin/pkg-configchecking pkg-config is at least version 0.9.0... yeschecking for XKBFILE... configure: error: Package requirements
 (x11 kbproto) were not met:No package 'x11' foundSomeone else knows what is happening here?Benno--Cetere mi opinias ke ne ĉio tradukenda estas.--
gentoo-user@gentoo.org mailing list-- /JM


Re: [gentoo-user] kdm xorg-7.1 problem

2006-09-14 Thread Michael W. Holdeman
On Thursday 14 September 2006 05:21, Dale wrote:
 Cláudio Henrique wrote:
  I didn't get what your problem is, but at home, after emerge -e world,
  GDM decided not to work. upon further investigation, nvidia did not
  load. so I had to recompile my kernel and then recompile
  nvidia-drivers to make it work again.
 
  I hope it helps.
 
  regards

 Same here.  It worked fine after I did the same as Cláudio.

 Dale

 :-)  :-)
Thanks, that did the trick.

Mike
-- 
 
Michael W. Holdeman



Powered by Gentoo Linux www.gentoo.org  |
Kernel 2.6.15-ck2   |
VMWare Workstation 5.5.1 vmware.com |
Win4LinPro 6.1.1-03 win4lin.com |
|

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Installing 2006.1 from the livedvd - is it really possible?

2006-09-14 Thread James
Helmut Jarausch jarausch at igpm.rwth-aachen.de writes:


 GenToo (at least the 2006.1 livedvd) is driving me nuts.
 I have tried several installations (more than 6) and they all
 fail by e.g.

 So, what can I do?


Hello Helmut,

It's a good thing I'm very stubborn, as I too have had troubles with
the 2006.1 livecd installation methods.

I have had several successes; here's how I do it.

first, I select a  networkless install (dumb down the choices
for the livedcd). following the gui config screens, 
I do select eth0 and set  it up for a static ip.
In general make the least changes to to the 
default, dumbed_down networkless install as
possible, once you get a kernel installed
from the stage 3, you can build a kernel.

As an interim grub.conf entry, I used this:
.
#0
title=Gentoo Linux
root (hd0,1)
kernel /kernel-genkernel-x86_64-2.6.17-gentoo-r7 root=/dev/ram0 init=/linuxrc
ramdisk=8192 real_root=/dev/hda6
initrd /initramfs-genkernel-x86_64-2.6.17-gentoo-r7
#1
title=Gentoo 2.6.17-gentoo-r5 using init
root (hd0,1)
kernel /kernel-2.6.17-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192
real_root=/dev/hda6
initrd /initramfs-genkernel-x86_64-2.6.17-gentoo-r7
#2
title=Works...Gentoo Linux 2.6.17-gentoo-r5
root(hd0,1)
kernel /boot/kernel-2.6.17-gentoo-r5 root=/dev
.

the first entry (#0) was the created by the installation
process. I build a kernel, kernel-2.6.17-gentoo-r5, manually and used
a similar entry (#1) to get the machine to 
boot the kernel I built from gentoo-sources.
#2 is the my standard grub.conf entry found
on my machines The default was
a gentoo-r7 kernel. I then used the 
gentoo-r5 sources to build the first
kernel and then the gentoo-r7 sources
to build the current kernel.

It's a cautious approach, but it worked.

the only packages I install, from the liveCD
 are vim and slocate. Everthing else was after
I got the machine up on my kernel and sync/update
the machine before adding new software. Also at
that time, I performed major surgery on the
USE flag in make.conf..

The networkless install option will not
let you change the USE flags in /etc/make.conf. USE 
the USE defaults. you can change them later.
(I know this defeats the purpose, but it's the
only way I could get livedCD 2006.1 to work(YMMV)
I not certain this is the hangup on livecd 2006.1, but,
it's what I did to get the dam 2006.1 livecd to work
I'd like to hear from others their experiences and
work-arounds.

Last make sure in the screen that allows you to select the
arch (in the lower left hand corner) you get that
correct and as specific a possible. I discovered
that the K6 arch was eliminated and I had to use
2006.0 media with a i586 stage 3 . K-6 install
failed to work with any media labled 2006.1.
the amd64 and P4 did work eventually using 2006.1
install media(livedCD).

 I was hoping that installing newer arch's would be
smoother, but, alas, I had to do the same thing
with a amd64 (turion) an an Intel P4.networkless
to get it to work. If you configure the ethernet
during the networkless install and select sshd to
start automatically, then upon reboot, you can 
ssh into the machine and finish the install.
...
all in all, I had hoped that the livecd 2006.1
would be quick to set up  and run to completion,
unattended. That goal remains elusive, and I'd
really like to know if I'm just too stupid
to use the 2006.1 livecd or if others experience
trouble too?

It may be quicker to use the old manual installation
method.

NOTE: I've used lots of installation media from a variety
of BSD and linux variants, with little or no trouble.

YMMV,
HtH,

James






-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Slow https browsing.

2006-09-14 Thread Hani Duwaik
On 9/14/06, A. R. [EMAIL PROTECTED] wrote:
Hi,I have been experiencing very slow https communication in both of my~amd64 home Gentoo systems. No matter what browser I use (Opera,firefox, firefox-bin, nautilus, konqueror) attempting to access asecure site takes a very, very long time.
I do have ssl in my USE flags, maybe there is another flag that I need to add?Windoze works just fine with firefox in the same boxen (they are dual-boot).Could somebody please help?
Much appreciated.- ARHave you disabled the IPv6 protocol?I've read reports indicating that this can interfere with basic web browsing.Just a thought.-Hani
-- If, of the many truths, you select only one and follow it blindly, it will become a falsehood, and you a fanatic. 


[gentoo-user] OT developing C code using Elcipse

2006-09-14 Thread James
Hello,

We have several assembler/C programmers who currently use windows to develop
embedded software for microprocessors. I'd like to migrate those folks
to using Eclipse (or whatever) on Gentoo.

It'd be really wonderful if there was a BOOK showing C programmers (not
JAVA or any other OO language) how to use Eclipse. The examples need
to be in C cause as soon as I show them Java or any other OO examples,
that puts an immediate end to the venture ..As a second
choice maybe some wiki or something on the web. All I seem to be 
able to find is OO examples, such as Java.

Alternatively, another robust IDE that works on Gentoo could be
considered, if a book or wiki or examples exist. Um, emacs is 
not an option.

An IDE that runs on gentoo and can interface to a JTAG would
be keen.

thoughts and ideas are most welcome.



James



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CUPS server cannot be contacted

2006-09-14 Thread darren kirby
quoth the Mark Knecht:
 and this

 #Port 631
 Port localhost:631

 or this

 Port 631
 #Port localhost:631

Which of these do you have in your file? I found just yesterday that 

Port 631

will work while:

Port localhost:631

does not...

HTH

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Gnome logout dialog in Ubuntu has way more options - how to get suspend?

2006-09-14 Thread Alexander Skwar
Hi!

When I logout of Gnome in Ubuntu (to start Gentoo *G*), I get the
following dialog: http://www.myimg.de/?img=gnomelogoutc2e.gif

That dialog has a lot more options than the dialog shown in Gentoo.
In Gentoo, I do not have Ruhezustand (Hibernate) and the dialog
looks a lot simpler.

What do I have to do, to get the Ubuntu gnome logout dialog in
Gentoo as well?

Thanks,

Alexander Skwar
-- 
Knghtbrd Yorick: no problem with indexed color palettes for images, as
   long as you can pick the palette
Yorick Obviously the people creating quake were colour-blind but that
 doesn't mean you have to be


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] vixie-cron and ssmtp

2006-09-14 Thread David Grant
Cron is sending out an email for jobs run as user root, but not for cron jobs run as my normal user? Yet the funny thing is, when cron runs jobs as normal user, it still actually sends the mail to root (see /etc/crontab). And on the command line, I see the same thing either way:
Sep 14 14:43:01 sonata cron[16727]: (david) CMD (/home/david/scripts/encryptPass.pl)Sep 14 14:43:01 sonata cron[16725]: (root) CMD (/home/david/scripts/encryptPass.pl)Sep 14 14:43:02 sonata sSMTP[16728]: Sent mail for 
[EMAIL PROTECTED] (221 2.3.0 Bye received. Goodbye.)Sep 14 14:43:02 sonata sSMTP[16729]: Sent mail for [EMAIL PROTECTED]
 (221 2.3.0 Bye received. Goodbye.)Can anyone else repeat this behaviour?-- David Granthttp://www.davidgrant.ca


Re: [gentoo-user] Re: Simplified apache2

2006-09-14 Thread Brian Davis

I think I've answered my own question:

On my system, gzip is the only package that contains the pic USE flag. 
Looking at the ebuild, the pic USE flag is used to tell the system not 
to use the assembler code optimizations.


Presumably, assembler code can't be relocated.

Thanks,
Brian

Brian Davis wrote:



Rumen Yotov wrote:

Hi,
On Wed, 13 Sep 2006 12:36:45 + (UTC)
James [EMAIL PROTECTED] wrote:
 

Ryan Tandy tarpman at gmail.com writes:


   

Michael Crute wrote:
 

USE=-* hardened pic ncurses ssl crypt berkdb tcpd pam perl
python readline


You could omit pic here IIRC (on a hardened profile) hardened
includes -fpic -fpie CFLAGS, plus SSP in GCC-4.1.1 (a default).
If using a vanilla (desktop  server) profile you'll need 'pie' as well.
Maybe (if not using a hardened profile) you'll also need some LDFLAGS.
  
I have a question on this, why would a package have to use a pic USE 
flag if all that was needed was to complie with -fpic?



Ok,
So I'll test your suggestions. The more minimized the global flags 
are, the more secure the server.




+1
Could also check the flags in hardened profile.
 

Also, be careful using the hardened flag without running the
hardened profile.  The hardened profile masks out a couple of
packages and flags that don't work so well on a hardened system.
  

+1
 

H,

Not sure I fully grasp what you mean by a 'hardened system'. If you
mean running a hardened kernel with only necessary software
installed, then yes, I run hardened kernels on most servers {dns,
web, mail, firwalls}

If running a hardened system means more than that, please explain,
or point me to some docs.


Check hardened docs page on w.g.o, in short hardened means a kernel
with PaX (+ -fpie for packages) some sort of RBAC system - grsec, RSBAC
or SELinux and all user-land build with SSP,pic,pie (IMHO).
 

BTW, the flags with underscores in them (kernel_linux,
userland_GNU, elibc_glibc, video_cards_radeon and such) are known
as USE_EXPAND or expanded USE flags.

This is nice to know. I did not get the memo on this.
Any docs for further reading you can point me to?



...SKIP...
 

James


HTH.Rumen
  



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gnome logout dialog in Ubuntu has way more options - how to get suspend?

2006-09-14 Thread David Grant
First things first, what version of Gnome is your Ubuntu screenshot from, and which version of Gnome in Gentoo are you using?DavidOn 9/14/06, Alexander Skwar
 [EMAIL PROTECTED] wrote:
Hi!When I logout of Gnome in Ubuntu (to start Gentoo *G*), I get thefollowing dialog: http://www.myimg.de/?img=gnomelogoutc2e.gifThat dialog has a lot more options than the dialog shown in Gentoo.
In Gentoo, I do not have Ruhezustand (Hibernate) and the dialoglooks a lot simpler.What do I have to do, to get the Ubuntu gnome logout dialog inGentoo as well?Thanks,Alexander Skwar
--Knghtbrd Yorick: no problem with indexed color palettes for images, as long as you can pick the paletteYorick Obviously the people creating quake were colour-blind but that doesn't mean you have to be
--gentoo-user@gentoo.org mailing list-- David Granthttp://www.davidgrant.ca



Re: [gentoo-user] OT developing C code using Elcipse

2006-09-14 Thread David Grant
On 9/14/06, James [EMAIL PROTECTED] wrote:
Hello,We have several assembler/C programmers who currently use windows to developembedded software for microprocessors. I'd like to migrate those folksto using Eclipse (or whatever) on Gentoo.
Why? It'd be really wonderful if there was a BOOK showing C programmers (not
JAVA or any other OO language) how to use Eclipse. The examples needto be in C cause as soon as I show them Java or any other OO examples,that puts an immediate end to the venture ..As a secondchoice maybe some wiki or something on the web. All I seem to be
able to find is OO examples, such as Java.Alternatively, another robust IDE that works on Gentoo could beconsidered, if a book or wiki or examples exist. Um, emacs isnot an option.
Try anjuta or kdevelop. An IDE that runs on gentoo and can interface to a JTAG would
be keen.Good luck finding one that interacts with JTAG.-- David Granthttp://www.davidgrant.ca


Re: [gentoo-user] Compile failure: libdv-102

2006-09-14 Thread David Grant
The place you want to check is http://bugs.gentoo.orgOn 9/12/06, Meino Christian Cramer 
[EMAIL PROTECTED] wrote:Hi, there are a few package, which do not compile after I did the step
 to gcc-4.1.1. The third of those packages is: libdv-0.102 With -j3 set the output is: if /bin/sh ../libtool --silent --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT 
YUY2.lo -MD -MP -MF .deps/YUY2.Tpo \-c -o YUY2.lo `test -f 'YUY2.c' || echo './'`YUY2.c; \then mv -f .deps/YUY2.Tpo .deps/YUY2.Plo; \else rm -f .deps/YUY2.Tpo; exit 1; \
fi/home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:Assembler messages:/home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:1464:Error: suffix or operands invalid for `paddb'
/home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:1479:Error: suffix or operands invalid for `paddb'/home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:1509:Error: suffix or operands invalid for `paddb'
/home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:1524:Error: suffix or operands invalid for `paddb'/home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:1794:Error: suffix or operands invalid for `paddb'
/home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:1817:Error: suffix or operands invalid for `paddb'/home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:1844:Error: suffix or operands invalid for `paddb'
/home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:1867:Error: suffix or operands invalid for `paddb'/home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:2373:Error: suffix or operands invalid for `paddb'
/home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:2388:Error: suffix or operands invalid for `paddb'/home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:2418:Error: suffix or operands invalid for `paddb'
/home/mccramer/data/portagetmp/portage/libdv-0.102/temp/cc5b1z2V.s:2433:Error: suffix or operands invalid for `paddb'make[3]: *** [YUY2.lo] Error 1make[3]: Leaving directory`/home/mccramer/data/portagetmp/portage/libdv-
0.102/work/libdv-0.102/libdv'make[2]: *** [all] Error 2make[2]: Leaving directory`/home/mccramer/data/portagetmp/portage/libdv-0.102/work/libdv-0.102/libdv'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory
`/home/mccramer/data/portagetmp/portage/libdv-0.102/work/libdv-0.102'make: *** [all] Error 2!!! ERROR: media-libs/libdv-0.102 failed.Call stack:ebuild.sh, line 1546: Called dyn_compileebuild.sh
, line 937: Called src_compilelibdv-0.102.ebuild, line 39: Called die!!! compile problem!!! If you need support, post the topmost build error, and the call stack if relevant.Without -j3 set the symptoms are the same.
If there are more infos needed to trace down the problem,please email me.Kind regards,mcc--gentoo-user@gentoo.org mailing list
-- David Granthttp://www.davidgrant.ca


Re: [gentoo-user] Setup questions for dedicated media center box.

2006-09-14 Thread David Grant
On 9/10/06, Walter Dnes [EMAIL PROTECTED] wrote:
A few weeks ago, I got a new AMD machine, and I specified themotherboard that came with the Geforce 6150 video chip onboard.Iunderstand that hardware acceleration works with it.Separately, I also
ordered a PCHDTV card ( http://pchdtv.com ) and a PCI modem.I intendto use the machine to record/playback TV broadcasts.I got busy with afew other things, but finally got around to installing console-only
Gentoo (2006.1) this weekend.Now for the setup questions.In the portage x11-base directory, I seekdriveopengl-updatex11-drmxdirectfbxorg-serverxorg-x11I presume xorg-x11 is the standard X.
Yep, that's all you need.  Here's some more information.http://www.gentoo.org/doc/en/xorg-config.xml
http://gentoo-wiki.com/HOWTO_Setup_X_for_MythTVhttp://en.wikibooks.org/wiki/NVidia/TV-OUThttp://gentoo-wiki.com/Xorg
I've gotten into the habit ofemerging a GUI app onto a console-only system, and X never shows up in
world.It gets pulled in as a dependancy.Will this cause problemsif I want to use hardware acceleration?No, it's still installed, so what do you care if it isn't in world? 
Is x11-drm a direct-renderingversion that's faster than standard X?
I'm not sure, but I didn't need it and I've never heard of it.Don't forget to emerge nvidia-drivers for opengl hardware acceleration.
I'll probably be using mplayerheavily, unless a showstopper comes along.Using mplayer to watch TV? Why not use mythtv? 
Is SVGA any faster than X?I have no idea but I'm pretty sure that's like asking if apples are better than oranges. :-)
Since this'll be a single-purpose dedicated box, connecting to the netonly for updates, I have no problem running it as root full-time.Bad idea.-- David Grant
http://www.davidgrant.ca


[gentoo-user] Power butten

2006-09-14 Thread rob
How do you get power pitten to shutdown and power off Gentoo box

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



[gentoo-user] where to put mount --bind during startup

2006-09-14 Thread Allan Gottlieb
I have had /home/gottlieb a symlink to /local/allan/gottlieb
for a while.  Now I am having a problem because apache doenn't follow
symlinks by default (presumably due to some security concern).

As a test I did

   rm /home/gottlieb
   mkdir /home/gottlieb
   mount --bind /local/allan/gottlieb /home/gottlieb

and all seems well.

Two questions.

1.  Are there common gotcha's with mount --bind.  That is, will
programs that have worked fine with the symlink now fail?

2.  Assuming I want to go with mount --bind, how do I make it happen
during startup (I assume the mount is not preserved across
reboots).  The man pages for fstab doesn't suggest that fstab is
the way to go.  Do you put the mount in the boot runlevel and if so
where?

thanks,
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] vixie-cron and ssmtp

2006-09-14 Thread Neil Bothwick
On Thu, 14 Sep 2006 14:43:30 -0700, David Grant wrote:

 Cron is sending out an email for jobs run as user root, but not for cron
 jobs run as my normal user? Yet the funny thing is, when cron runs jobs
 as normal user, it still actually sends the mail to root
 (see /etc/crontab).

You seem to be contradicting yourself here; first you say user cron jobs
don't send mail, then you say they send mail to root. Which is it?

Either way, the solution may be to set MAILTO in your user's crontab.


-- 
Neil Bothwick

There was a young man from the border
Who had an attention disorder.
When he reached the last line
He would run out of time
And


signature.asc
Description: PGP signature


Re: [gentoo-user] where to put mount --bind during startup

2006-09-14 Thread Neil Bothwick
On Thu, 14 Sep 2006 18:31:52 -0400, Allan Gottlieb wrote:

 2.  Assuming I want to go with mount --bind, how do I make it happen
 during startup (I assume the mount is not preserved across
 reboots).  The man pages for fstab doesn't suggest that fstab is
 the way to go.  Do you put the mount in the boot runlevel and if so
 where?

You can do it in fstab, I've been doing it for a while. Just make sure
the bind line is after the one mounting the target.

/dev/hda1/localsomefsblah
/local/allan/gottlieb/home/gottliebauto  bind


-- 
Neil Bothwick

Confucius says He who posts with broken addresses gets no replies..


signature.asc
Description: PGP signature


Re: [gentoo-user] vixie-cron and ssmtp

2006-09-14 Thread David Grant
On 9/14/06, Neil Bothwick [EMAIL PROTECTED] wrote:
On Thu, 14 Sep 2006 14:43:30 -0700, David Grant wrote: Cron is sending out an email for jobs run as user root, but not for cron jobs run as my normal user? Yet the funny thing is, when cron runs jobs
 as normal user, it still actually sends the mail to root (see /etc/crontab).You seem to be contradicting yourself here; first you say user cron jobsdon't send mail, then you say they send mail to root. Which is it?
Well I'm not contradicting myself intentionally... I should have been more clear. I'll do a better job this time:Cron is trying to send out an email for jobs run as user root to and succeeding. Cron is also trying to send out an email for jobs run as a normal user but it seems to fail at this. Both cron jobs (whether run as user root or normal user) are both trying to send the email to the root user.
Either way, the solution may be to set MAILTO in your user's crontab.
I could try this, although I as I said it seems like both jobs run as root and normal user are both being sent to user root (according to the MAILTO)-- David Grant
http://www.davidgrant.ca


Re: [gentoo-user] vixie-cron and ssmtp

2006-09-14 Thread David Grant
On 9/14/06, David Grant [EMAIL PROTECTED] wrote:
On 9/14/06, Neil Bothwick 
[EMAIL PROTECTED] wrote:
On Thu, 14 Sep 2006 14:43:30 -0700, David Grant wrote: Cron is sending out an email for jobs run as user root, but not for cron jobs run as my normal user? Yet the funny thing is, when cron runs jobs

 as normal user, it still actually sends the mail to root (see /etc/crontab).You seem to be contradicting yourself here; first you say user cron jobsdon't send mail, then you say they send mail to root. Which is it?
Well I'm not contradicting myself intentionally... I should have been more clear. I'll do a better job this time:Cron is trying to send out an email for jobs run as user root to and succeeding. Cron is also trying to send out an email for jobs run as a normal user but it seems to fail at this. Both cron jobs (whether run as user root or normal user) are both trying to send the email to the root user.
Either way, the solution may be to set MAILTO in your user's crontab.

I could try this, although I as I said it seems like both jobs run as root and normal user are both being sent to user root (according to the MAILTO)
Hmm, it turns out that setting MAILTO=root in my own user's crontab makes it send mail. MAILTO=root is already in /etc/cron/crontab by the way so this is all very strange.-- David Grant
http://www.davidgrant.ca


Re: [gentoo-user] Power butten

2006-09-14 Thread George Prowse

Press and hold in for 3-5 seconds, that is a hard shutdown if it wont turn off

George

On 14/09/06, rob [EMAIL PROTECTED] wrote:

How do you get power pitten to shutdown and power off Gentoo box

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



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] annoying delivery status notifications

2006-09-14 Thread George Prowse

On 15/09/06, David Grant [EMAIL PROTECTED] wrote:

Is anyone else getting:

This is an automatically generated Delivery Status Notification.

Delivery to the following recipients failed.

   [EMAIL PROTECTED]

every time they send an email to [EMAIL PROTECTED]

--
David Grant
http://www.davidgrant.ca


No but i used to get the same with gentoo-dev, i think it's caused by
a mixup with emails somewhere in the system

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



Re: [gentoo-user] Power butten

2006-09-14 Thread Iain Buchanan
On Thu, 2006-09-14 at 18:17 -0400, rob wrote:
 How do you get power pitten to shutdown and power off Gentoo box

What happens now when you press the power button?  What does your syslog
say?

First of all, you need an ATX motherboard.  (Any motherboard newer than
about 7/8 or so years ago).  Then you need ACPI compiled into your
kernel, as well as `emerge acpid`.

Finally, if it still doesn't work, post what you see from
tail -f /var/log/messages
or whatever your syslog is, when you press the power button.

post back if that doesn't work!
-- 
Iain Buchanan iaindb at netspace dot net dot au

If you fail to plan, plan to fail.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Simplified apache2

2006-09-14 Thread Michael Stewart (vericgar)
Michael Crute wrote:
 Hmm... I seem to remember some problem with PHP only compiling if
 threads was set to on. Maybe not, will have to test it to see if there
 is any good reason that I still have that in my package.use. Thanks
 for the tip.
 
 -Mike
 

PHP and apache are not the same software.

If you have USE=threads for PHP, then you have to use a threaded MPM
for apache (mpm-worker would be the suggested one).

If you do not have USE=threads for PHP then you have to use a
non-threaded MPM for apache (mpm-prefork).

-- 
Michael Stewart [EMAIL PROTECTED]
Gentoo Developerhttp://dev.gentoo.org/~vericgar

GnuPG Key ID 0x08614788 available on http://pgp.mit.edu
--



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Gentoo GCC 4.1.1 Upgrade Guide

2006-09-14 Thread Allan Gottlieb
I like it.
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CUPS server cannot be contacted

2006-09-14 Thread Mark Knecht

On 9/14/06, darren kirby [EMAIL PROTECTED] wrote:

quoth the Mark Knecht:
 and this

 #Port 631
 Port localhost:631

 or this

 Port 631
 #Port localhost:631

Which of these do you have in your file? I found just yesterday that

Port 631



Same as your working version:

lightning ~ # cat /etc/cups/cupsd.conf | grep 631
# default IPP port of 631.  It changes users whenever an external
# Ports/addresses that we listen to.  The default port 631 is reserved
#Port 631
#Listen hostname:631
#Listen 1.2.3.4:631
Port 631
#Port localhost:631
#BrowsePort 631
lightning ~ #


lightning ~ # lpq
lpq: Unable to contact server!
lightning ~ # /etc/init.d/cupsd start
* Starting cupsd ...
  [ ok ]lightning ~ # lpq
lpq: Unable to contact server!
lightning ~ #

  I've seen this before, actually, when the Mac was turned off.
Linux/Gnome would only see the local CUPS server after it had seen the
remote server on the Mac.

  I'm thinking that the system (some part of it anyway) has cached
the fact that the Mac had a CUPS server somewhere. Now that the Mac is
gone it cannot move forward. I have no data to back up that idea
though and I have no idea how to prove it true or false...

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



Re: [gentoo-user] Gentoo GCC 4.1.1 Upgrade Guide

2006-09-14 Thread Allan Gottlieb
At Thu, 14 Sep 2006 20:44:04 -0400 Allan Gottlieb [EMAIL PROTECTED] wrote:

 I like it.

Sorry, I meant to send that to the author Ben Reubenstein not to the
list.

allan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] annoying delivery status notifications

2006-09-14 Thread darren kirby
quoth the David Grant:
 Is anyone else getting:

 This is an automatically generated Delivery Status Notification.

 Delivery to the following recipients failed.

   [EMAIL PROTECTED]

 every time they send an email to [EMAIL PROTECTED]

I am. Seems D Cagnetta should unsubscribe...

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] vixie-cron and ssmtp

2006-09-14 Thread David Grant
On 9/14/06, David Grant [EMAIL PROTECTED]
 wrote:

Hmm, it turns out that setting MAILTO=root in my own user's crontab makes it send mail. MAILTO=root is already in /etc/cron/crontab by the way so this is all very strange.

I tried setting MAILTO=david and that didn't work. I decided ssmtp might be the problem, so I isolated it and tried this:1. echo test |mail -s testing ssmtp to external 

[EMAIL PROTECTED]2. echo test |mail -s testing ssmtp mail to root root3. echo test |mail -s testing ssmtp mail to david david4. echo test |mail -s testing ssmtp mail to sarah sarah
1. The first one worked. So ssmtp can send to external addresses fine.
2. The second one worked. So ssmtp can look at the root= command (which tells it where to send mail to user ids  1000) properly and send to whatever root= is set to.3. The third one didn't work. So for some reason I can't send mail to a normal user. But maybe something is weird with that user. I used to run a mail server on this machine with that user (postfix/procmail/blah/blah/blah) so maybe some leftover thing was screwing things up.
4. Sending mail to this user didn't work either. The users in 3. and 4. are both in /etc/ssmtp/revaliases. User 3 is in the 'mail' group (does that even matter) and I tried user 4. with and without that user in the revaliases file.
It looks like maybe ssmtp isn't seeing my revaliases file? Or maybe I'm not using is properly?david:[EMAIL PROTECTED]:smtp.vc.shawcable.netsarah:[EMAIL PROTECTED]
:smtp.vc.shawcable.net-- David Granthttp://www.davidgrant.ca




Re: [gentoo-user] annoying delivery status notifications

2006-09-14 Thread David Grant
On 9/14/06, darren kirby [EMAIL PROTECTED] wrote:
quoth the David Grant: Is anyone else getting: This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. 
[EMAIL PROTECTED] every time they send an email to gentoo-user@gentoo.org?I am. Seems D Cagnetta should unsubscribe...
It seems the list should be set up in such a way that every user doesn't get one of those in reply.-- David Granthttp://www.davidgrant.ca


Re: [gentoo-user] Power butten

2006-09-14 Thread Ryan Tandy

rob wrote:

How do you get power pitten to shutdown and power off Gentoo box

rob


# emerge sys-power/acpid
# rc-update add acpid default
# /etc/init.d/acpid start

and you're done!  The default configuration for acpid includes a handler 
for the power button event.


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



Re: [gentoo-user] annoying delivery status notifications

2006-09-14 Thread David Grant
On 9/14/06, Iain Buchanan [EMAIL PROTECTED] wrote:
On Thu, 2006-09-14 at 18:35 -0700, David Grant wrote: On 9/14/06, darren kirby [EMAIL PROTECTED] wrote: quoth the David Grant:
  Is anyone else getting:   This is an automatically generated Delivery Status Notification.   Delivery to the following recipients failed.
   [EMAIL PROTECTED]   every time they send an email to 
gentoo-user@gentoo.org? I am. Seems D Cagnetta should unsubscribe... It seems the list should be set up in such a way that every user doesn't get one of those in reply.
it's not the list's fault - unless the list were to mangle your Fromaddres, which is A Bad Thing (TM)!That's true. 
The bounces are coming from CagnettaD's mail server, for whatever reasonthey're rejecting us :(Can he be unsubscribed by the maintainers/moderators?-- David Grant
http://www.davidgrant.ca


Re: [gentoo-user] Power butten

2006-09-14 Thread Daniel Iliev
Iain Buchanan wrote:
 On Thu, 2006-09-14 at 18:17 -0400, rob wrote:
   
 How do you get power pitten to shutdown and power off Gentoo box
 

 What happens now when you press the power button?  What does your syslog
 say?

 First of all, you need an ATX motherboard.  (Any motherboard newer than
 about 7/8 or so years ago).  Then you need ACPI compiled into your
 kernel, as well as `emerge acpid`.

 Finally, if it still doesn't work, post what you see from
 tail -f /var/log/messages
 or whatever your syslog is, when you press the power button.

 post back if that doesn't work!
   
Only a small addition to Mr. Iain Buchanan's reply.

You have to activate button under ACPI in the kernel:

cd /usr/src/linux  make menuconfig
 - Power management options (ACPI, APM) -
 ACPI (Advanced Configuration and Power Interface) Support
   - Button *  here say YES

After emergeing acpid and runing it, you should have shutdown now
mapped to your power button.

-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CUPS server cannot be contacted

2006-09-14 Thread Mark Knecht

On 9/14/06, darren kirby [EMAIL PROTECTED] wrote:
SNIP


OK, I just tried lpq on my system (on a local terminal) and it works fine.


As it did on mine before I took down the Mac. I may as well try
turning the MAc on again this evening and see if this problem really
changes when it's on the network.


Here's an idea, maybe the lpq command needs to have explicit access to:

Location /admin
/Location


HEre is my admin section from /etc/cups/cupsd.conf:

Location /admin

AuthType Basic
AuthClass System

## Restrict access to local domain
Order Deny,Allow
Deny From All
Allow From 127.0.0.1

#Encryption Required
/Location



to access the queue...though this is a crapshoot, as I believe 127.0.0.1 is
allowed this access by default.

I've seen this before, actually, when the Mac was turned off.
 Linux/Gnome would only see the local CUPS server after it had seen the
 remote server on the Mac.

I'm thinking that the system (some part of it anyway) has cached
 the fact that the Mac had a CUPS server somewhere. Now that the Mac is
 gone it cannot move forward. I have no data to back up that idea
 though and I have no idea how to prove it true or false...

Hmm, I have not heard of a Cups 'printer cache' but that certainly doesn't
mean there is not one...

I assume you have removed all traces of the Mac printer/daemon through the
Cups web administration interface and /etc/cups/client.conf?



I had thought so but it wasn't the case. client.conf had a pointer to
to the Mac Mini. I removed it by hand and restarted cupsd here and now
get different/better results:

lightning ~ # lpq
lpq: error - no default destination available.
lightning ~ #

After setting the local pronter as default using the Cups admin tool
it now acts nice:

lightning ~ # lpq
HP is ready
no entries
lightning ~ #

Thanks for the help!

Cheers,
Mark
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] annoying delivery status notifications

2006-09-14 Thread Iain Buchanan
On Thu, 2006-09-14 at 18:53 -0700, David Grant wrote:
 
 
 On 9/14/06, Iain Buchanan [EMAIL PROTECTED] wrote:
 On Thu, 2006-09-14 at 18:35 -0700, David Grant wrote:

  It seems the list should be set up in such a way that every
 user
  doesn't get one of those in reply.
 
 it's not the list's fault - unless the list were to mangle
 your From
 addres, which is A Bad Thing (TM)!
 
 That's true. 
 
 
 The bounces are coming from CagnettaD's mail server, for
 whatever reason
 they're rejecting us :(
 
 Can he be unsubscribed by the maintainers/moderators?

If you give it time, the mailing list will do it's thing and
automagically unsubscribe him.  It does this by sending him a message
saying messages to you are bouncing.  If it get through, then things
are ok (must be a temporary problem).  If it doesn't get through, the
list eventually unsubscribes him.

In the mean time, we all have to exercise our pointer finger and hit the
'delete' button a few times a day :P
-- 
Iain Buchanan iaindb at netspace dot net dot au

Your job is being a professor and researcher: That's one hell of a good excuse
for some of the brain-damages of minix.
-- Linus Torvalds to Andrew Tanenbaum

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] DVD burning package

2006-09-14 Thread Stephen Liu
Hi folks,

Gentoo amd64
Gnome-light

What DVD/CD burning packages will you recommend to emerge on Gentoo
other than Gnomebaker and K3b.  TIA

B.R.
SL
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Why is glibc ntpl+nptl-only?

2006-09-14 Thread Wolfgang Liebich
Hi,
For my new gentoo system I switched to the latest  greatest profile -
2006.1. During the initial installation emerge told me glibc 2.4 is
nptlonly - so I turned on the nptl and nptlonly USE flags in make.conf.
Now my old linux system (profile 2006.0) tells me the same.
Sooo - i guess I would have to switch to the no-nptl profile in order to
keep the old (-nptl -nptlonly) settings. Is this a good Idea? Or is
using nptl+nptlonly better (faster, less hassle, less memory footprint)
anyways?
TIA,
Wolfgang Liebich
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] I think my machine is being used for spam

2006-09-14 Thread Kevin O'Gorman

My mail queue is chock full of messages that appear to be
error-reports from MAILER_DAEMON to the effect that some piece of mail
is undeliverable.  The form of the messages is baffling to me, and I
cannot figure out what the original message was or where it came from.
All of the addresses seem bogus.

My fear is that messages with non-bogus addresses are also finding
their way here, and are being delivered to people who deserve better.

Can I train postfix to stop this stuff?  Should I investigate some
more to find out what's going on?
I really do want to run a mail server here, but I'd like to not be
complicit in spam.

++ kevin

--
Kevin O'Gorman, PhD
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Gnome logout dialog in Ubuntu has way more options - how to get suspend?

2006-09-14 Thread Alexander Skwar
· David Grant [EMAIL PROTECTED]:

 First things first, what version of Gnome is your Ubuntu screenshot from,

2.14.x

 and which version of Gnome in Gentoo are you using?

2.14.x

Alexander Skwar
-- 
Can't open /usr/share/games/fortunes/fortunes.dat.


-- 
gentoo-user@gentoo.org mailing list