Re: [gentoo-user] Xorg.conf changes and dual screen setup

2007-09-11 Thread Daniel Pielmeier
 Since you are describing a TV out it might be your tertiary screen.
 When I type xrandr with no arguments I get

 Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1920 x 1920
 VGA connected 1600x1200+0+0 (normal left inverted right) 0mm x 0mm
1920x1440  60.0
1600x1200  60.0*
1280x960   60.0
 LVDS connected (normal left inverted right)
1680x1050  60.0 +
1024x768   60.0
800x60060.3
640x48059.9
 TV disconnected (normal left inverted right)

 VGA is what I would call the secondary (for me it is an external
 monitor, I believe it is always the monitor attached via the VGA or
 DVI output, LVDS is the screen on the
 laptop.  Presumably TV is the signal to drive a TV (I never used
 mine).

I don't know wheather the TV is secondary or tertiary, when i type
xrandr with no options i just get the output of my primary monitor, as
randr is not supported. I am not exactly sure which output i get as i
have no access to my box at the moment, but i will check this.

 If you type

xrandr --output TV --off

 does it stop driving the TV?  That is what the manual suggests will
 happen.  If not than it seems the nvidia driver isn't supporting randr
 1.2.  Perhaps that was what was meant by wont fix, nvidia bug.

I guess a fix for this from nvidia will take ages as usually, is
anybody out there who got tv-out working with the opensource driver
from xorg with nvidia? Or do we have to wait for nouveau, mabe it does
a better job!

Regards,

Daniel
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Lenovo distro poll

2007-09-11 Thread Peter Volkov
I have not seen this link here, but I think it's worth it.
Vote, please! ;)

http://lenovoblogs.com/insidethebox/?p=98

I'm going to put another poll question up asking which Linux you all
would like to see offered.

-- 
Peter.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How do you handle new Xorg + nvidia + ~x86?

2007-09-11 Thread Neil Bothwick
Hello Roy Wright,

 Until that time will probably just keep masking
 xorg-server and hope I remember to unmask
 xorg-x11 at that time.

That's probably the most sane approach, unless you want to remove the
blocker from the ebuild and try the new XOrg with Nvidia. Masking
=xorg-server-1.4 is not a good idea, because then you'll miss the
removal of the blocker, when Nvidia release new drivers.

 This seems inelegant.  So I'm hoping someone
 has a better approach.

It is inelegant, but portage doesn't have an elegant way of handling this
situation. A blocker isn't really the right way to do this, that is meant
to be used when two packages install the same file(s). This is in
incompatibility between versions, but portage doesn't have a way of
saying don't try to install foo-1.4 if bar-2.7 is installed.


-- 
Neil Bothwick

Windows will never cease.


signature.asc
Description: PGP signature


Re: [gentoo-user] Boot situation

2007-09-11 Thread Benno Schulenberg
Colleen Beamer wrote:
 5)  I did the step:

 zcat /proc/config.gz  /usr/share/genkernel/x86/kernel-conf-2.6

This grabs the configuration from the running kernel (the one from 
the CD you booted from), not the configuration you may have had 
earlier on the system you chrooted into.  Did you tweak that earlier 
configuration?  Do you have a backup of that config somewhere?

 The ran 'genkernel --menuconfig all'

Does this also install the kernel onto the /boot partition?  (Just 
asking, as I don't know genkernel.)  Are name and version numbers 
in /boot/grub/menu.lst exactly the same as the kernel and initrd 
stored in /boot?

 Output from e2fsck for /dev/sda3 is:

It said /dev/sda3 was not cleanly unmounted, check forced?  If you 
run the same command again, is /dev/sda3 now clean?

 Although the fstab and grub.conf are exactly what they were
 before hitting that damned Media Direct button.

But since then a new kernel source tree might have been installed, 
which you might not have compiled and installed yet.  So the 
version numbers may have changed.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How do you handle new Xorg + nvidia + ~x86?

2007-09-11 Thread Volker Armin Hemmann
On Dienstag, 11. September 2007, Roy Wright wrote:
 Volker Armin Hemmann wrote:
  remove the blocker? the current nvidia-drivers work fine, if you
  add -ignoreAbi to your X-start script (like kdm conf).

 The problem is that any nvidia-driver is the blocker to
 xorg-server-1.4-r1.

 royw-gentoo portage # emerge -uDNpv world

 These are the packages that would be merged, in order:

 Calculating world dependencies... done!
 [ebuild  N] x11-libs/pixman-0.9.5  USE=-debug 0 kB
 [ebuild U ] x11-base/xorg-server-1.4-r1 [1.3.0.0] USE=dri hal%*
 ipv6 nptl sdl xorg xprint -3dfx -debug -dmx -kdrive -minimal
 INPUT_DEVICES=keyboard mouse -acecad -aiptek -calcomp -citron
 -digitaledge -dmc -dynapro -elo2300 -elographics -evdev -fpit -hyperpen
 -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount
 -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void -wacom
 VIDEO_CARDS=nv vesa vmware -amd% -apm -ark -chips -cirrus -cyrix -dummy
 -epson -fbdev -glint -i128 -i740 -i810 (-impact) -imstt -mach64 -mga
 -neomagic (-newport) -nsc -r128 -radeon -rendition -s3 -s3virge -savage
 -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6)
 (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l
 -vermilion% -vga -via -voodoo -xgi% (-fglrx%) (-nvidia%*) 0 kB
 [ebuild U ] x11-drivers/xf86-input-keyboard-1.2.2 [1.1.1-r1]
 USE=-debug 0 kB
 [ebuild U ] x11-base/xorg-x11-7.3 [7.2] 0 kB
 [blocks B ] x11-drivers/nvidia-drivers (is blocking
 x11-base/xorg-server-1.4-r1)

 Total: 4 packages (3 upgrades, 1 new, 1 block), Size of downloads: 0 kB


 Looking in the xorg-server-1.4-r1.ebuild:

   IUSE_VIDEO_CARDS=

   [snip]

   #   video_cards_fglrx
   #   video_cards_nvidia

   [snip]

   PDEPEND=
   xorg? (

   [snip]

  !x11-drivers/nvidia-drivers
   !x11-drivers/ati-drivers
   )
   #   video_cards_nvidia? ( x11-drivers/nvidia-drivers )
   #   video_cards_fglrx? ( =x11-drivers/ati-drivers-8.37.6 )


 I recall reading that the xserver team changed their
 release policy to not hold up releases for proprietary
 drivers (same as the kernel team).  So this is as expected.

 I was just hoping someone would have a more elegant
 management solution for handling the new situation.


 Thank you,
 Roy

copy the ebuild into your overlay and edit it. No problem.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How do you handle new Xorg + nvidia + ~x86?

2007-09-11 Thread Volker Armin Hemmann
On Dienstag, 11. September 2007, Jesús Guerrero wrote:
 On Tue, 11 Sep 2007 03:36:13 +0200

 Volker Armin Hemmann [EMAIL PROTECTED] wrote:
  On Dienstag, 11. September 2007, Roy Wright wrote:
   Howdy,
  
   Well, I had to local mask
  
   =x11-base/xorg-server-1.4-r1
   =x11-base/xorg-server-1.4
   =x11-base/xorg-x11-7.3
  
   today to keep portage from blocking.  My guess
   is that eventually a new version of nvidia-drivers
   will be available and a new revision of xorg-server
   will arrive that will support it (no longer block all
   versions of nvidia-drivers).
  
   Until that time will probably just keep masking
   xorg-server and hope I remember to unmask
   xorg-x11 at that time.
  
   This seems inelegant.  So I'm hoping someone
   has a better approach.

 The really inelegant solution would be not to have the blocker.
 Most people would just update without looking even at the
 emerge -puDvN world output, and them complain on a huge and
 useless thread on the forums, because something broke :P

 If you have the blocker, you can't screw up the thing. Blockers
 are the only solution for incompatible packages, and the new xorg
 version is incompatible with all the nvidia-drivers version. In
 fact, no future version of xorg will fix this, since it is completely

 nvidia-side. So, I would change your snipped above by this one:
 =x11-base/xorg-server-1.4-r1
 =x11-base/xorg-server-1.4
 =x11-base/xorg-x11-7.3

 Note, the '=' in front of the packages, those are not quotations
 starting with '', but '=', because any new version will have the
 same problem (since as I said, the problem is in the drivers, that
 are just outdated).

 If you have to incompatible packages, you need to decide what
 your priority is, period. There is no way around that, until
 nvidia decides to release a new version that is compatible with
 the new abi.

  remove the blocker? the current nvidia-drivers work fine, if you
  add -ignoreAbi to your X-start script (like kdm conf).

 So the nvidia people say. Though I can confirm that in my installation
 it doesn't work. It just lockups (and yes, I am sure that X composite
 was off, because I always have it off).

and I can confirm, that it works very well. With composite turned on. ut2004 
and vegastrike-svn. Without lockups.

--
[EMAIL PROTECTED] mailing list



[gentoo-user] keeping ati-drivers 8.34.8 in portage

2007-09-11 Thread Iain Buchanan
Hi,

Due to the recent X updates, portage wants to upgrade ati-drivers.  I am
having problems with all ati-drivers newer than 8.34.8 [1], so what is
the official way to make sure 8.34.8 stays there until a newer version
is released that fixes these problems?  Is just filing a bug against a
specific version enough?

(I already know how to mask the newer xorg versions, no probs)

The bug I did file [2] was marked resolved, upstream, but I only
mentioned the latest release of ati-drivers, not all of them.  I've also
found out a bit more since then.  So what's the official way to keep an
ebuild around?  I noticed there are quite a few versions
in /usr/portage/x11-drivers/ati-drivers, but maybe not for long?!

thanks,

[1] see previous post Re: [gentoo-user] Re: fglrx and posix shared mem
[2] http://bugs.gentoo.org/show_bug.cgi?id=185825
-- 
Iain Buchanan iain at pcorp dot com dot au

Homer:  I keep hearing this horrible irregular thumping noise.

Pump Jockey:
It's your heart.  And I think it's on its last thump.

Homer:  Whew, I was afraid it was my transmission.

   Homer's Triple Bypass

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Boot situation

2007-09-11 Thread Colleen Beamer
Benno Schulenberg wrote:
 Colleen Beamer wrote:
 5)  I did the step:

 zcat /proc/config.gz  /usr/share/genkernel/x86/kernel-conf-2.6
 
 This grabs the configuration from the running kernel (the one from 
 the CD you booted from), not the configuration you may have had 
 earlier on the system you chrooted into.  Did you tweak that earlier 
 configuration?  Do you have a backup of that config somewhere?

I doubt that it grabs the kernel running from the CD, 'cause when I run
'genkernel --menuconfig all' the kernel config that is brought up does
*not* have any AMD stuff in it.  I removed that from the kernel because
I don't have an AMD system.

In this process, I followed the relevant steps in the Handbook, but I
*didn't* emerge any software.  For instance, I didn't emerge genkernel
or gentoo-sources because they are already on the hard drive.  I can try
re-emerging these to see if it will help.  I will point out the
/usr/src/linux symlink points to the right sources.
 
 The ran 'genkernel --menuconfig all'
 
 Does this also install the kernel onto the /boot partition?  (Just 
 asking, as I don't know genkernel.)  Are name and version numbers 
 in /boot/grub/menu.lst exactly the same as the kernel and initrd 
 stored in /boot?

I'll check this.
 
 Output from e2fsck for /dev/sda3 is:
 
 It said /dev/sda3 was not cleanly unmounted, check forced?  If you 
 run the same command again, is /dev/sda3 now clean?

Yes.
 
 Although the fstab and grub.conf are exactly what they were
 before hitting that damned Media Direct button.
 
 But since then a new kernel source tree might have been installed, 
 which you might not have compiled and installed yet.

No, I use gentoo-sources and I have the latest stable version.  I did an
emerge --sync and the an emerge --pretend --update --deep world in the
chroot'd environment and the list of files returned did not include an
updated gentoo-sources ebuild

Regards,

Colleen

-- 

Registered Linux User #411143 with the Linux Counter, http://counter.li.org
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How do you handle new Xorg + nvidia + ~x86?

2007-09-11 Thread Jesús Guerrero
On Tue, 11 Sep 2007 12:28:24 +0200
Volker Armin Hemmann [EMAIL PROTECTED] wrote:

   remove the blocker? the current nvidia-drivers work fine, if you
   add -ignoreAbi to your X-start script (like kdm conf).
 
  So the nvidia people say. Though I can confirm that in my installation
  it doesn't work. It just lockups (and yes, I am sure that X composite
  was off, because I always have it off).
 
 and I can confirm, that it works very well. With composite turned on. ut2004 
 and vegastrike-svn. Without lockups.
 
 -- 
 [EMAIL PROTECTED] mailing list
 
Well, that means it works for me, which is not_equal to it works.

That doesn't justify an advice like the one you gave above, because
it could be a problem for that person. At least, a warning should be
given, and that's what I did.

In any case, something I wouldn't recommend anyway, since, regardless
if it works on a punctual case or not, the only truth is that if you 
update Xorg the ABI will be broken. Plus, what's the need to upgrade?

-- 
Jesús Guerrero [EMAIL PROTECTED]
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How do you handle new Xorg + nvidia + ~x86?

2007-09-11 Thread Jesús Guerrero
On Tue, 11 Sep 2007 00:53:04 -0400
Mike [EMAIL PROTECTED] wrote:

 � Guerrero wrote:
  On Tue, 11 Sep 2007 03:36:13 +0200
  Volker Armin Hemmann [EMAIL PROTECTED] wrote:
  
  
  So the nvidia people say. Though I can confirm that in my installation
  it doesn't work. It just lockups (and yes, I am sure that X composite
  was off, because I always have it off).
  
 The lockup is probably caused by having the hal use flag set when you 
 compile xorg-server. If you disable it you should be able to run the X 
 server without conflicting with hal/dbus which was the problem.

Can you give me some more info/links or pointers about the reasoning
behind this? Why should hal be a problem when it always worked without
a single problem?

Or maybe a misunderstood you and you mean that is the conjunction of 
a broken driver (nvidia) and the hal stuff, bit in that case the guilty
is not hal anyway, but the driver.

Also, I wonder why would I want to run X without hal/dbus support :P

Thanks.

-- 
Jesús Guerrero [EMAIL PROTECTED]
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How do you handle new Xorg + nvidia + ~x86?

2007-09-11 Thread Volker Armin Hemmann
On Dienstag, 11. September 2007, Jesús Guerrero wrote:
 On Tue, 11 Sep 2007 12:28:24 +0200

 Volker Armin Hemmann [EMAIL PROTECTED] wrote:
remove the blocker? the current nvidia-drivers work fine, if you
add -ignoreAbi to your X-start script (like kdm conf).
  
   So the nvidia people say. Though I can confirm that in my installation
   it doesn't work. It just lockups (and yes, I am sure that X composite
   was off, because I always have it off).
 
  and I can confirm, that it works very well. With composite turned on.
  ut2004 and vegastrike-svn. Without lockups.
 
  --
  [EMAIL PROTECTED] mailing list

 Well, that means it works for me, which is not_equal to it works.

it works for several people in the nvidia forum. With no 'it does not work' 
messages. 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] keeping ati-drivers 8.34.8 in portage

2007-09-11 Thread Alan McKinnon
On Tuesday 11 September 2007, Iain Buchanan wrote:
 Hi,

 Due to the recent X updates, portage wants to upgrade ati-drivers.  I
 am having problems with all ati-drivers newer than 8.34.8 [1], so
 what is the official way to make sure 8.34.8 stays there until a
 newer version is released that fixes these problems?  Is just filing
 a bug against a specific version enough?

I think filing a bug isn;t enough as a dev can easily remove the ebuild 
you need from the tree anyway. You should copy the 8.34.8 ebuild to a 
personal overlay, and mask 8.34.8 as an interim measure

alan

-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How do you handle new Xorg + nvidia + ~x86?

2007-09-11 Thread Graham Murray
Jesús Guerrero [EMAIL PROTECTED] writes:

 Can you give me some more info/links or pointers about the reasoning
 behind this? Why should hal be a problem when it always worked without
 a single problem?

Maybe because xorg-server-1.4 is the first to have the hal USE
flag. This would imply that previous version of X did not use hal/dbus.
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How do you handle new Xorg + nvidia + ~x86?

2007-09-11 Thread Jesús Guerrero
On Tue, 11 Sep 2007 13:31:02 +0100
Graham Murray [EMAIL PROTECTED] wrote:

 Jesús Guerrero [EMAIL PROTECTED] writes:
 
  Can you give me some more info/links or pointers about the reasoning
  behind this? Why should hal be a problem when it always worked without
  a single problem?
 
 Maybe because xorg-server-1.4 is the first to have the hal USE
 flag. This would imply that previous version of X did not use hal/dbus.
 -- 
 [EMAIL PROTECTED] mailing list
 

I see, but why has this been enabled if it is supposed to be the cause of
lockups? That is, in case it really it is, because for now I have no proof
on that, and I would better suspect of a broken abi than hal.

I am not trying to argue, but trying to find any info on the issue. I can't
find any references to unstability in xorg created by the introduction of
hal. So, I see no reason to suspect about hal, which has always been a
stable piece of my system. While an ABI breakage is far more suspicious
for me.

Again, I just want to see additional info on this if there is any.
-- 
Jesús Guerrero [EMAIL PROTECTED]
--
[EMAIL PROTECTED] mailing list



[gentoo-user] Upgrade

2007-09-11 Thread econti

Hi everybody, this is my first post on the list.

Well, I'm running a 2.6.15-gentoo-r7 2006.0 on a AMD64 machine.

Now I'd like to make a world upgrade. I know that I should run the 
following commands:


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

A little question: how long does it take to complete the upgrade?
(sure, it depends on the installed software, but please give me an 
approximation)


Thank you

emilio

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Upgrade

2007-09-11 Thread Alexander Reitzel
when was your last sync  update?

Am Dienstag, 11. September 2007 15:27:53 schrieb econti:
 Hi everybody, this is my first post on the list.

 Well, I'm running a 2.6.15-gentoo-r7 2006.0 on a AMD64 machine.

 Now I'd like to make a world upgrade. I know that I should run the
 following commands:

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

 A little question: how long does it take to complete the upgrade?
 (sure, it depends on the installed software, but please give me an
 approximation)

 Thank you

 emilio


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How do you handle new Xorg + nvidia + ~x86?

2007-09-11 Thread Neil Bothwick
On Tue, 11 Sep 2007 14:20:16 +0200, Volker Armin Hemmann wrote:

 it works for several people in the nvidia forum. With no 'it does not
 work' messages. 

If we're taking a vote, it works for me too, although the option is
-ignoreABI, not -ignoreAbi.

So the consensus is that, while it may well not work for all, it
certainly is likely to work for most, so it is worth trying. It's not
like this is a system-critical package that will stop you booting, the
worst that can happen is that you are without a desktop for a few minutes.

It would be prudent to quickpkg the previous version in xorg-server
(unless you have buildpkg in FEATURES) so that you can switch back
quickly if you do have a problem.


-- 
Neil Bothwick

Bother, said Pooh, as Satan laid his soul to waste.


signature.asc
Description: PGP signature


Re: [gentoo-user] Upgrade

2007-09-11 Thread Jesús Guerrero
On Tue, 11 Sep 2007 15:27:53 +0200
econti [EMAIL PROTECTED] wrote:

 Hi everybody, this is my first post on the list.
 
 Well, I'm running a 2.6.15-gentoo-r7 2006.0 on a AMD64 machine.
 
 Now I'd like to make a world upgrade. I know that I should run the 
 following commands:
 
 emerge --sync
 emerge --update --deep --newuse world
 emerge --depclean
 revdep-rebuild
 
 A little question: how long does it take to complete the upgrade?
 (sure, it depends on the installed software, but please give me an 
 approximation)
 
It's impossible, since it doesn't only depends on the installed
software. It also depends on many other factors:

1.- the time when you did the last update
2.- the number of packages that has updates, which is not always
related to the number of packages you have installed, but to
_what_ packages do you have installed. Some packages doesn't
get updates too frequently, while others change a lot.
3.- external factors, like overlays

It just depends on _what_ needs to be updated.

I can give you a few hints, though. Most packages can compile in
a reasonable amount of time. Some specific packages will take
longer to compile. You will learn to identify them with the time.
For example, openoffice if probably the largest, and can take from
several hours up to days, depending on your hardware. Some kde
packages are big, like kmail. Qt or Gtk as intermediate things.
Glibc and gcc can take a lot of time, as xorg-server, for example.

Whe you are doing the update, you have to know a few things. On first
place, use this instead of your command above:

merge --update --deep --newuse --verbose --ask world

This will present you with a list of the packages that will be
updated, that way, you know how many packages are going to be
updated, but, more important, you will know _what_ packages will
be merged.

The depclean and revdep steps shouldn't be too time consuming
on a sane system. So, if you use them regularly, those steps
will not rob much of your time. The sync step depends on your
connection speed and the time since your last sync. It can take
a few minutes on a fast connection if your tree is up to date.
But it can take a day on a 56k modem if you tree is empty or
way too outdated.
-- 
Jesús Guerrero [EMAIL PROTECTED]
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How do you handle new Xorg + nvidia + ~x86?

2007-09-11 Thread Kent Fredric
On 9/12/07, Neil Bothwick [EMAIL PROTECTED] wrote:
 On Tue, 11 Sep 2007 14:20:16 +0200, Volker Armin Hemmann wrote:

  it works for several people in the nvidia forum. With no 'it does not
  work' messages.

 If we're taking a vote, it works for me too, although the option is
 -ignoreABI, not -ignoreAbi.

 So the consensus is that, while it may well not work for all, it
 certainly is likely to work for most, so it is worth trying. It's not
 like this is a system-critical package that will stop you booting, the
 worst that can happen is that you are without a desktop for a few minutes.

 It would be prudent to quickpkg the previous version in xorg-server
 (unless you have buildpkg in FEATURES) so that you can switch back
 quickly if you do have a problem.


 --
 Neil Bothwick

 Bother, said Pooh, as Satan laid his soul to waste.




/me votes for the  +omgbrokednvidiazbutinstallzanywayz USE flag.

Just to mock the lunacy ;)

( this should of course, toggle the -fomgoptimize CFLAG too )


-- 
Kent
ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
print enNOSPicAMreil [EMAIL PROTECTED][(2*x)..(2*x+1)]}'
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How do you handle new Xorg + nvidia + ~x86?

2007-09-11 Thread Jesús Guerrero
On Tue, 11 Sep 2007 14:46:04 +0100
Neil Bothwick [EMAIL PROTECTED] wrote:

 On Tue, 11 Sep 2007 14:20:16 +0200, Volker Armin Hemmann wrote:
 
  it works for several people in the nvidia forum. With no 'it does not
  work' messages. 
 
 If we're taking a vote, it works for me too, although the option is
 -ignoreABI, not -ignoreAbi.

Yes, I know. 

 So the consensus is that, while it may well not work for all, it
 certainly is likely to work for most, so it is worth trying. It's not
 like this is a system-critical package that will stop you booting, the
 worst that can happen is that you are without a desktop for a few minutes.
 
 It would be prudent to quickpkg the previous version in xorg-server
 (unless you have buildpkg in FEATURES) so that you can switch back
 quickly if you do have a problem.
 
Yep, that's what I do in these cases. It saves a lot of pain. Not that
xorg is vital for me anyway. I am mostly a GNU Screen user ;) Anyway,
since there's the blocker, one is supposed to know what s/he is doing
if decides to override it.

-- 
Jesús Guerrero [EMAIL PROTECTED]
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Upgrade

2007-09-11 Thread Dale
econti wrote:
 Hi everybody, this is my first post on the list.

 Well, I'm running a 2.6.15-gentoo-r7 2006.0 on a AMD64 machine.

 Now I'd like to make a world upgrade. I know that I should run the
 following commands:

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

 A little question: how long does it take to complete the upgrade?
 (sure, it depends on the installed software, but please give me an
 approximation)

 Thank you

 emilio


You may want to add a -p behind that --depclean at first.  Just to make
sure it doesn't remove something you want to keep.  I usually even put a
-p on the end of revdep-rebuild just to be safe.  Mine always wants to
rebuild gcc when it doesn't need it.  It's a known feature.  ;-)

As for the time it takes, it depends on what all packages have been
updated.  If it has been a while, then it will take a while to do them
all.  If there has been a major upgrade to gcc, then it will certainly
take a while.

Dale

:-)  :-) 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Upgrade

2007-09-11 Thread Rodrigo Forlin
econti wrote this:
 Hi everybody, this is my first post on the list.
 
 Well, I'm running a 2.6.15-gentoo-r7 2006.0 on a AMD64 machine.
 
 Now I'd like to make a world upgrade. I know that I should run the
 following commands:
 
 emerge --sync
 emerge --update --deep --newuse world
 emerge --depclean
 revdep-rebuild
 
 A little question: how long does it take to complete the upgrade?
 (sure, it depends on the installed software, but please give me an
 approximation)
 
 Thank you
 
 emilio
 

I'm pretty sure that it'll take less than a year... ;) just kidding...
The most it can take is the time of a complete new install, i guess.
begin:vcard
fn:Rodrigo Forlin
n:Forlin;Rodrigo
email;internet:[EMAIL PROTECTED]
tel;cell:+551194952922
note;quoted-printable:Linux registered user # 226673=0D=0A=
	http://counter.li.org/
x-mozilla-html:FALSE
version:2.1
end:vcard



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] How do you handle new Xorg + nvidia + ~x86?

2007-09-11 Thread Neil Bothwick
On Tue, 11 Sep 2007 15:56:49 +0200, Jesús Guerrero wrote:

 Yep, that's what I do in these cases. It saves a lot of pain. Not that
 xorg is vital for me anyway. I am mostly a GNU Screen user ;)


Me too, but screen is at its best when run in Konsole :)


-- 
Neil Bothwick

Q:  Why is top-posting evil?
A: backwards read don't humans because


signature.asc
Description: PGP signature


Re: [gentoo-user] Upgrade

2007-09-11 Thread Denis
After you emerge --sync, run emerge -NDpvu world and post here the
output - the list of software your system wants to install/upgrade -
that should give us a better idea of what kind of an upgrade we're
dealing with here.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Upgrade

2007-09-11 Thread Alan McKinnon
On Tuesday 11 September 2007, econti wrote:
 Hi everybody, this is my first post on the list.

 Well, I'm running a 2.6.15-gentoo-r7 2006.0 on a AMD64 machine.

 Now I'd like to make a world upgrade. I know that I should run the
 following commands:

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

 A little question: how long does it take to complete the upgrade?
 (sure, it depends on the installed software, but please give me an
 approximation)

Ouch. That's 2 years of stuff you need to update. Set aside 48 hours if 
you have gnome/kde or openoffice installed.

With that amount of updates, I would recommend you run 'emerge -e world' 
instead of 'emerge -uND world' - there aren't that many packages that 
have not changed so you might as well do everything in order.

You will also need to go to Gentoo docs and read up on the upgrade guide 
for gcc-3.3 to gcc-3.4, plus the xorg-6.8 to xorg-7.0 transistion. Both 
those upgrades happened in this timeframe and both bit many people in 
the rear end.

alan


-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Upgrade

2007-09-11 Thread Neil Bothwick
On Tue, 11 Sep 2007 15:27:53 +0200, econti wrote:

 A little question: how long does it take to complete the upgrade?

emerge genlop
emerge -upDN world | genlop -p

and see for yourself :)


-- 
Neil Bothwick

I just bought a microwave fireplace... You can spend an evening in
front of it in only eight minutes...


signature.asc
Description: PGP signature


Re: [gentoo-user] Upgrade

2007-09-11 Thread David

Denis wrote:

After you emerge --sync, run emerge -NDpvu world and post here the
output - the list of software your system wants to install/upgrade -
that should give us a better idea of what kind of an upgrade we're
dealing with here.
  

Watch for the expat change;
http://forums.gentoo.org/viewtopic-p-4221615.html?sid=c956443709264a787cdfc1e8648b16f5
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Upgrade

2007-09-11 Thread Gary Rickert
A quick question / addition to this. When I am finished with an update I
usually run etc-update. I was told last week that this has been phased
out and dispatch-conf is better to use. What is the difference?

Gary

Neil Bothwick wrote:
 On Tue, 11 Sep 2007 15:27:53 +0200, econti wrote:
 
 A little question: how long does it take to complete the upgrade?
 
 emerge genlop
 emerge -upDN world | genlop -p
 
 and see for yourself :)
 
 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Upgrade

2007-09-11 Thread Bo Ørsted Andresen
On Tuesday 11 September 2007 16:53:58 Gary Rickert wrote:
 A quick question / addition to this.

It's not exactly related. In the future start a new thread instead and please 
don't top-post..

 When I am finished with an update I usually run etc-update. I was told last
 week that this has been phased out and dispatch-conf is better to use. 

Whoever told you that is just wrong.

 What is the difference? 

Read it in the handbook..

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3chap=4

-- 
Bo Andresen


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


[gentoo-user] Re: keeping ati-drivers 8.34.8 in portage

2007-09-11 Thread James
Iain Buchanan iain at pcorp.com.au writes:

 
 Hi,
 
 Due to the recent X updates, portage wants to upgrade ati-drivers.  I am
 having problems with all ati-drivers newer than 8.34.8 


Hello Iain,

Like you, I have had some issues with ati-drivers, particularly with newer
[580} chipsets. I went to an ATI site and poke around reading for a while.

I've been using 8.39.4 for quite some time on 2 newer systems and it
is stable(or at least with the 3D game bzflag) and normal workstation usage.

My experience is trial and error, burning lots of time before you find
an ati-driver that works good with your chipset. I'm not sure the criteria
or who marks ati-drivers as stable, but, ati-drivers-8.39.4 would get
an affirmative from me.


hth,

James



-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Xorg 7.3

2007-09-11 Thread James Lockie

How I pass -ingoreABI to KDE?
I want to use the nvidia binary driver with the new X but the ABI has 
changed.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Need help with routing

2007-09-11 Thread Florian Philipp
Hans-Werner Hilse schrieb:
 Hi,
 
 On Mon, 10 Sep 2007 20:59:03 +0200
 Florian Philipp [EMAIL PROTECTED] wrote:
 
 I'll attach relevant ifconfig, route and iptables -L output.
 
 Hm, OK. This:
 snip
 Chain FORWARD (policy ACCEPT)
 target prot opt source   destination 
 ACCEPT all  --  10.8.0.1 anywhere
 ACCEPT all  --  anywhere 10.8.0.1
 DROP   all  -- !10.8.0.1 anywhere
 snip
 
 is on what computer? On the server (I guess it's the router) the last
 line would effectively prevent routing for the client (but I don't know
 why ICMP works...). I would suggest starting without it and then
 setting up proper rules -- and then setting the chain's policy to DROP
 (plus some REJECT rules for proper answers).
 
 Dan's hint is also worth investigating.
 BTW: use route/ifconfig/netstat/iptables' -n switch to make analysis
 easier!
 
 -hwh

I followed the howto's nomenclature of server and client.
I'm a bit puzzled right now. Is there anything essentially wrong with
the howto ( http://gentoo-wiki.com/HOWTO_quick_routing )? I followed it
word by word.
The drop rule is explained as #prevent others ip from conecting to my eth0
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Xorg 7.3

2007-09-11 Thread Jesús Guerrero
On Tue, 11 Sep 2007 11:22:05 -0400
James Lockie [EMAIL PROTECTED] wrote:

 How I pass -ingoreABI to KDE?

You don't, you pass it to xinit. KDE has not anything to do with this.

You can use startx --ignoreABI. If you use a login manager, like kdm,
them you will need to configure it's config files to use that switch.

Don't ask me how, I don't use login managers nor kdm for that matter.

 I want to use the nvidia binary driver with the new X but the ABI has 
 changed.

May I ask why are you so interested in xorg 7.3? You have lived with .2
til now, and you probably could live with it until nvidia releases an 
update.

-- 
Jesús Guerrero [EMAIL PROTECTED]
--
[EMAIL PROTECTED] mailing list



[gentoo-user] Some ebuilds not picking up VIDEO_CARDS [Solved]

2007-09-11 Thread darren kirby
 VIDEO_CARDS=nv nvdia

Yeah, ok well.

You can stare at something for hours and only see the spelling mistake 10 
seconds after you send the help email to the list...

Sorry for the noise,
-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
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Need help with routing

2007-09-11 Thread Dan Farrell
On Mon, 10 Sep 2007 22:48:20 +0200
Hans-Werner Hilse [EMAIL PROTECTED] wrote:

 is on what computer? On the server (I guess it's the router) the
 last line would effectively prevent routing for the client (but I
 don't know why ICMP works...). I would suggest starting without it
 and then setting up proper rules -- and then setting the chain's
 policy to DROP (plus some REJECT rules for proper answers).

I agree, I thought your firewall rules were a little wacky too.  These
rules only route to one host.  generally you'd want to route to a whole
network, not just one host. 

 (but I don't know why ICMP works...).

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SSH won't restart

2007-09-11 Thread Dan Farrell
On Mon, 10 Sep 2007 13:14:20 -0700
Grant [EMAIL PROTECTED] wrote:

 Thank you but doesn't it look like there must be a problem that is
 preventing my sshd from starting?  Won't '/usr/bin/sshd -p 3' just
 fail, or is that more likely to work than '/etc/init.d/sshd start'?
It seems to me that the problem is probably the initscript is confused,
and not that the config files are bad and the daemon can't start.  

 Also, is '/usr/bin/sshd' sufficient?  Why not port 22?
It is.  No reason at all.   But if you started it before the original
ssh server had been stopped, you'd have to start it on a different port
so that it didn't conflict with the original.  
 - Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SSH won't restart

2007-09-11 Thread Dan Farrell
On Mon, 10 Sep 2007 13:48:12 -0700
Grant [EMAIL PROTECTED] wrote:

 What about just having them reboot and start my manual daemon?  Would
 that accomplish the same thing?

That would probably work too, but I don't think rebooting is likely to
help.  At the very best it's an additional waiting period before the
box is back up.  
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Need help with routing

2007-09-11 Thread Hans-Werner Hilse
Hi,

On Tue, 11 Sep 2007 17:30:51 +0200 Florian Philipp
[EMAIL PROTECTED] wrote:

  Hm, OK. This:
  snip
  Chain FORWARD (policy ACCEPT)
  target prot opt source   destination 
  ACCEPT all  --  10.8.0.1 anywhere
  ACCEPT all  --  anywhere 10.8.0.1
  DROP   all  -- !10.8.0.1 anywhere
  snip
  
  is on what computer? On the server (I guess it's the router) the
  last line would effectively prevent routing for the client (but I
  don't know why ICMP works...). I would suggest starting without it
  and then setting up proper rules -- and then setting the chain's
  policy to DROP (plus some REJECT rules for proper answers).
 
 I followed the howto's nomenclature of server and client.
 I'm a bit puzzled right now. Is there anything essentially wrong with
 the howto ( http://gentoo-wiki.com/HOWTO_quick_routing )? I followed
 it word by word.
 The drop rule is explained as #prevent others ip from conecting to
 my eth0

Hm, judging from that the article on Routing uses a Client and
Server nomenclature, I consider the article being at least partly
crap ;-)

And yes, that guide really seems to be a bunch of BS (sorry, but that's
the way it seems to be). It is outright horrible. Personally I hate
discussing on Wikis' Discussion Pages, so, no, I won't correct it (but
looking at its discussion page, others considered it bad, too, and are
planning to correct/delete it).

That iptables setup is absolutely stupid. It accepts packets from and
to the machine itself (note that 10.8.0.1 is the router's IP), but will
drop any packet not originating from 10.8.0.1. The latter should be
true for all packets originating from the client (since it has the
address 10.8.0.2). So all the client's communication is dropped, and
that's it, end of story.

Better have a look at netfilter's set of HOWTOs, especially the NAT
howto. Better learn what you're doing... Otherwise, just take the hints
from my previous posting.

My suggestion for a proper setup would be

$ iptables -F FORWARD
$ iptables -P FORWARD DROP
$ iptables -A FORWARD -i eth0 -o ppp0 -m state --state NEW,ESTABLISHED,RELATED 
-j ACCEPT
$ iptables -A FORWARD -i ppp0 -o eth0 -m state --state ESTABLISHED,RELATED -j 
ACCEPT
...plus rules allowing for forwarding designated ports, if any

You'll certainly want to keep this:
$ iptables -A POSTROUTING -o ppp0 -j MASQUERADE
in place, too.

Note that this trusts any box connecting via eth0, not just a single
client.

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Need help with routing

2007-09-11 Thread Florian Philipp
Dan Farrell schrieb:
 On Mon, 10 Sep 2007 22:48:20 +0200
 Hans-Werner Hilse [EMAIL PROTECTED] wrote:
 
 is on what computer? On the server (I guess it's the router) the
 last line would effectively prevent routing for the client (but I
 don't know why ICMP works...). I would suggest starting without it
 and then setting up proper rules -- and then setting the chain's
 policy to DROP (plus some REJECT rules for proper answers).
 
 I agree, I thought your firewall rules were a little wacky too.  These
 rules only route to one host.  generally you'd want to route to a whole
 network, not just one host. 
 
 (but I don't know why ICMP works...).
 

Well, as I've written, they aren't my rules. I just copied and pasted
them.

I know just as much about iptables as I know about cars. I know the
theory, I've seen the building process from like 10 meters distance and
I use finished product.

I'd really appreciate if you could post the correct settings or config
file(s).
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Need help with routing

2007-09-11 Thread Florian Philipp
Hans-Werner Hilse schrieb:
 Hi,
 
 On Tue, 11 Sep 2007 17:30:51 +0200 Florian Philipp
 [EMAIL PROTECTED] wrote:
 
 Hm, OK. This:
 snip
 Chain FORWARD (policy ACCEPT)
 target prot opt source   destination 
 ACCEPT all  --  10.8.0.1 anywhere
 ACCEPT all  --  anywhere 10.8.0.1
 DROP   all  -- !10.8.0.1 anywhere
 snip

 is on what computer? On the server (I guess it's the router) the
 last line would effectively prevent routing for the client (but I
 don't know why ICMP works...). I would suggest starting without it
 and then setting up proper rules -- and then setting the chain's
 policy to DROP (plus some REJECT rules for proper answers).
 I followed the howto's nomenclature of server and client.
 I'm a bit puzzled right now. Is there anything essentially wrong with
 the howto ( http://gentoo-wiki.com/HOWTO_quick_routing )? I followed
 it word by word.
 The drop rule is explained as #prevent others ip from conecting to
 my eth0
 
 Hm, judging from that the article on Routing uses a Client and
 Server nomenclature, I consider the article being at least partly
 crap ;-)
 
 And yes, that guide really seems to be a bunch of BS (sorry, but that's
 the way it seems to be). It is outright horrible. Personally I hate
 discussing on Wikis' Discussion Pages, so, no, I won't correct it (but
 looking at its discussion page, others considered it bad, too, and are
 planning to correct/delete it).
 
 That iptables setup is absolutely stupid. It accepts packets from and
 to the machine itself (note that 10.8.0.1 is the router's IP), but will
 drop any packet not originating from 10.8.0.1. The latter should be
 true for all packets originating from the client (since it has the
 address 10.8.0.2). So all the client's communication is dropped, and
 that's it, end of story.
 
 Better have a look at netfilter's set of HOWTOs, especially the NAT
 howto. Better learn what you're doing... Otherwise, just take the hints
 from my previous posting.
 
 My suggestion for a proper setup would be
 
 $ iptables -F FORWARD
 $ iptables -P FORWARD DROP
 $ iptables -A FORWARD -i eth0 -o ppp0 -m state --state 
 NEW,ESTABLISHED,RELATED -j ACCEPT
 $ iptables -A FORWARD -i ppp0 -o eth0 -m state --state ESTABLISHED,RELATED -j 
 ACCEPT
 ...plus rules allowing for forwarding designated ports, if any
 
 You'll certainly want to keep this:
 $ iptables -A POSTROUTING -o ppp0 -j MASQUERADE
 in place, too.
 
 Note that this trusts any box connecting via eth0, not just a single
 client.
 
 -hwh

Thanks!

In fact I'd really like to learn more about iptables but at the moment I
hardly find the time to do it.

When I try to apply the rules you've posted I get:

$ iptables -A FORWARD -i eth0 -o ppp0 -m state --state \
NEW,ESTABLISHED,RELATED -j ACCEPT

iptables: No chain/target/match by that name

A syntax error, maybe?
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] cdrecord says permission denied

2007-09-11 Thread Renat Golubchyk
Hi folks!

For years I've been using cdrecord as a non-root user and without suid
bit set. Now it doesn't work any more. Here is the error message and
some other info:


$ cdrecord -eject -v -driveropts=burnproof -data dev=/dev/cdrw
bigdisk/soft/operating_systems/ophcrack-livecd-1.2.2.iso 
cdrecord: No write mode specified.
cdrecord: Asuming -sao mode.
cdrecord: If your drive does not accept -sao, try -tao.
cdrecord: Future versions of cdrecord may have different drive
dependent defaults.
Cdrecord-ProDVD-ProBD-Clone 2.01.01a34 (i686-pc-linux-gnu) Copyright
(C) 1995-2007 Jörg Schilling
TOC Type: 1 = CD-ROM
cdrecord: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK
limits.cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using
setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/cdrw'
devname: '/dev/cdrw'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.9'.
Driveropts: 'burnproof'
SCSI buffer size: 64512
atapi: 1
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   : 
Vendor_info: 'QSI '
Identifikation : 'CDRW/DVD SBW-242'
Revision   : 'UX08'
Device seems to be: Generic mmc2 DVD-ROM.
Current: CD-RW
Profile: DVD-ROM 
Profile: CD-ROM 
Profile: CD-R 
Profile: CD-RW (current)
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P
RAW/R96R
Drive buf size : 1959936 = 1914 KB
FIFO size  : 4194304 = 4096 KB
Track 01: data   455 MB
Total size:  522 MB (51:47.76) = 233082 sectors
Lout start:  523 MB (51:49/57) = 233082 sectors
cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl.
cdrecord: Operation not permitted. Cannot open or use SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you
are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

$ ll /dev/cdr*
lrwxrwxrwx 1 root root 3 2007-09-11 16:21 /dev/cdrom - hdc
lrwxrwxrwx 1 root root 3 2007-09-11 16:21 /dev/cdrw - hdc

$ ll /dev/hdc 
brw-rw 1 root cdrom 22, 0 2007-09-11 16:21 /dev/hdc

$ groups 
adm wheel cron audio cdrom video cdrw usb users locate portage plugdev


I can't find anything, neither in the ChangeLogs (ebuild or cdrtools)
nor on the forums/bugzilla. Everybody seems to like the idea of burning
CDs with root permissions. Can anybody point me in the right direction?


Thanks,
Renat

-- 
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
  (Einstein)


signature.asc
Description: PGP signature


Re: [gentoo-user] cdrecord says permission denied

2007-09-11 Thread Rafael Barrera Oro
did you try adding yourself to the cdrom group?

2007/9/11, Renat Golubchyk [EMAIL PROTECTED]:

 Hi folks!

 For years I've been using cdrecord as a non-root user and without suid
 bit set. Now it doesn't work any more. Here is the error message and
 some other info:

 
 $ cdrecord -eject -v -driveropts=burnproof -data dev=/dev/cdrw
 bigdisk/soft/operating_systems/ophcrack-livecd-1.2.2.iso
 cdrecord: No write mode specified.
 cdrecord: Asuming -sao mode.
 cdrecord: If your drive does not accept -sao, try -tao.
 cdrecord: Future versions of cdrecord may have different drive
 dependent defaults.
 Cdrecord-ProDVD-ProBD-Clone 2.01.01a34 (i686-pc-linux-gnu) Copyright
 (C) 1995-2007 Jörg Schilling
 TOC Type: 1 = CD-ROM
 cdrecord: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK
 limits.cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
 cdrecord: WARNING: This causes a high risk for buffer underruns.
 cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
 cdrecord: Permission denied. WARNING: Cannot set priority using
 setpriority().
 cdrecord: WARNING: This causes a high risk for buffer underruns.
 scsidev: '/dev/cdrw'
 devname: '/dev/cdrw'
 scsibus: -2 target: -2 lun: -2
 Warning: Open by 'devname' is unintentional and not supported.
 Linux sg driver version: 3.5.27
 Using libscg version 'schily-0.9'.
 Driveropts: 'burnproof'
 SCSI buffer size: 64512
 atapi: 1
 Device type: Removable CD-ROM
 Version: 0
 Response Format: 2
 Capabilities   :
 Vendor_info: 'QSI '
 Identifikation : 'CDRW/DVD SBW-242'
 Revision   : 'UX08'
 Device seems to be: Generic mmc2 DVD-ROM.
 Current: CD-RW
 Profile: DVD-ROM
 Profile: CD-ROM
 Profile: CD-R
 Profile: CD-RW (current)
 Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
 Driver flags   : MMC-3 SWABAUDIO BURNFREE
 Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P
 RAW/R96R
 Drive buf size : 1959936 = 1914 KB
 FIFO size  : 4194304 = 4096 KB
 Track 01: data   455 MB
 Total size:  522 MB (51:47.76) = 233082 sectors
 Lout start:  523 MB (51:49/57) = 233082 sectors
 cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl.
 cdrecord: Operation not permitted. Cannot open or use SCSI driver.
 cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you
 are root.
 cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

 $ ll /dev/cdr*
 lrwxrwxrwx 1 root root 3 2007-09-11 16:21 /dev/cdrom - hdc
 lrwxrwxrwx 1 root root 3 2007-09-11 16:21 /dev/cdrw - hdc

 $ ll /dev/hdc
 brw-rw 1 root cdrom 22, 0 2007-09-11 16:21 /dev/hdc

 $ groups
 adm wheel cron audio cdrom video cdrw usb users locate portage plugdev
 

 I can't find anything, neither in the ChangeLogs (ebuild or cdrtools)
 nor on the forums/bugzilla. Everybody seems to like the idea of burning
 CDs with root permissions. Can anybody point me in the right direction?


 Thanks,
 Renat

 --
 Probleme kann man niemals mit derselben Denkweise loesen,
 durch die sie entstanden sind.
   (Einstein)




Re: [gentoo-user] Xorg 7.3

2007-09-11 Thread Volker Armin Hemmann
On Dienstag, 11. September 2007, James Lockie wrote:
 How I pass -ingoreABI to KDE?
 I want to use the nvidia binary driver with the new X but the ABI has
 changed.

open /usr/kde/3.5/share/config/kdm/kdmrc

edit this line:
ServerCmd=/usr/bin/X -br

to look like this:
ServerCmd=/usr/bin/X -br -ignoreABI
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Need help with routing

2007-09-11 Thread Hans-Werner Hilse
Hi,

On Tue, 11 Sep 2007 18:50:52 +0200 Florian Philipp
[EMAIL PROTECTED] wrote:

  My suggestion for a proper setup would be
  
  $ iptables -F FORWARD
  $ iptables -P FORWARD DROP
  $ iptables -A FORWARD -i eth0 -o ppp0 -m state --state
  NEW,ESTABLISHED,RELATED -j ACCEPT $ iptables -A FORWARD -i ppp0 -o
  eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT ...plus rules
  allowing for forwarding designated ports, if any
  
  You'll certainly want to keep this:
  $ iptables -A POSTROUTING -o ppp0 -j MASQUERADE
  in place, too.
  
  Note that this trusts any box connecting via eth0, not just a single
  client.
 [...]
 When I try to apply the rules you've posted I get:
 
 $ iptables -A FORWARD -i eth0 -o ppp0 -m state --state \
 NEW,ESTABLISHED,RELATED -j ACCEPT
 
 iptables: No chain/target/match by that name

Hm, you do not seem to have your kernel configured for connection state
matching.

Just start with basic rules:
$ iptables -A FORWARD -i eth0 -o ppp0 -j ACCEPT
$ iptables -A FORWARD -o eth0 -i ppp0 -j ACCEPT

(instead of the iptables -A settings mentioned before)

But note that those would potentially allow inbound connections to get
routed to any desired machine (desired by the party outside your
network, that is). So make sure that either such requests aren't
getting forwarded to your router (and this is most probably already the
case for your setup -- DSL or cable, I guess?) or your LAN doesn't care
(i.e. is secured). Most PPP endpoints, however, would drop such traffic
anyway, so you should be secure if you trust your provider.

Basically I think this is what the Gentoo wiki guide *intended* to do.

-hwh
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] multiple ethernets

2007-09-11 Thread James
Hello,

I've set up multiple ethernet cards before, where I use the cards
MAC address to ensure that the correct ethernet card is assigned
which ip address  in a mulit nic environment server.

I symlinked net.lo as usual to all of the cards and the conf.d/net
file looks like this:

mac_eth0=00:4F:49:01:6F:7A
mac_eth1=00:4F:49:01:8A:BF
mac_eth2=00:40:05:63:3D:3E
mac_eth3=52:54:00:DC:C8:E7
config_eth0=( 192.168.2.33/24 )
config_eth1=( 192.168.3.33/24 )
config_eth2=( 192.168.4.33/24 )
config_eth3=( 192.168.5.33/24 )


The problem is another card was removed and now
eth1 is skipped over and get after reboot:
heavily snipped
eth0  Link encap:Ethernet  HWaddr 00:4F:49:01:6F:7A
  inet addr:192.168.2.33  Bcast:192.168.2.255  Mask:255.255.255.0
eth2  Link encap:Ethernet  HWaddr 00:40:05:63:3D:3E
  inet addr:192.168.4.33  Bcast:192.168.4.255  Mask:255.255.255.0

eth3  Link encap:Ethernet  HWaddr 52:54:00:DC:C8:E7
  inet addr:192.168.5.33  Bcast:192.168.5.255  Mask:255.255.255.0
eth4  Link encap:Ethernet  HWaddr 52:54:00:DC:C8:E7
  BROADCAST MULTICAST  MTU:1500  Metric:1

I assume that the eth1 problem is a vestige of removing an old card
and replacing it with a newer one. I just cannot find what to remove
or re-initiate to get the sequence of nic assignments to be
eth0, eth1, eth2, eth3.

I looked at net.examples but somehow I've missed something else.

any ideas are most welcome.



James


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Upgrade

2007-09-11 Thread econti

Denis ha scritto:

After you emerge --sync, run emerge -NDpvu world and post here the
output - the list of software your system wants to install/upgrade -
that should give us a better idea of what kind of an upgrade we're
dealing with here.
  
Here attached the outputs of both 'emerge -NDpvu world' and 'emaint 
--check world'





to_upgrade.bz2
Description: application/bzip


Re: [gentoo-user] multiple ethernets

2007-09-11 Thread Elias Probst
On Tuesday 11 September 2007 20:51:44 James wrote:
 I assume that the eth1 problem is a vestige of removing an old card
 and replacing it with a newer one. I just cannot find what to remove
 or re-initiate to get the sequence of nic assignments to be
 eth0, eth1, eth2, eth3.

 I looked at net.examples but somehow I've missed something else.

Take a look at /etc/udev/rules.d/70-persistent-net.rules

Regards, Elias P.


-- 
A really nice number:
09:F9:11:02:9D:74:E3:5B:D8:41:56:C5:63:56:88:C0


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


Re: [gentoo-user] cdrecord says permission denied

2007-09-11 Thread Renat Golubchyk
On Tue, 11 Sep 2007 15:04:04 -0300 Rafael Barrera Oro
[EMAIL PROTECTED] wrote:
 did you try adding yourself to the cdrom group?

I *am* in the cdrom group, as I have already wrote.

  $ groups
  adm wheel cron audio cdrom video cdrw usb users locate portage plugdev
  


Renat

-- 
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
  (Einstein)


signature.asc
Description: PGP signature


[gentoo-user] Re: multiple ethernets

2007-09-11 Thread James
Elias Probst mail at eliasprobst.eu writes:

  I just cannot find what to remove
  or re-initiate to get the sequence of nic assignments to be
  eth0, eth1, eth2, eth3.

  I looked at net.examples but somehow I've missed something else.

 Take a look at /etc/udev/rules.d/70-persistent-net.rules


Yep, Never even thought about udev files..
I need a vacation.

thx,

James

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SSH won't restart

2007-09-11 Thread Grant
  Thank you but doesn't it look like there must be a problem that is
  preventing my sshd from starting?  Won't '/usr/bin/sshd -p 3' just
  fail, or is that more likely to work than '/etc/init.d/sshd start'?
 It seems to me that the problem is probably the initscript is confused,
 and not that the config files are bad and the daemon can't start.

  Also, is '/usr/bin/sshd' sufficient?  Why not port 22?
 It is.  No reason at all.   But if you started it before the original
 ssh server had been stopped, you'd have to start it on a different port
 so that it didn't conflict with the original.

Guys, I'm in!  I had my host execute:

sshd

and now I'm logged in, the sshd initscript was already running, and it
restarts perfectly.  All is well!  Thank you for your help!

How does my host get root access like that?

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] cdrecord says permission denied

2007-09-11 Thread Rafael Barrera Oro
sorry, missed it

2007/9/11, Renat Golubchyk [EMAIL PROTECTED]:

 On Tue, 11 Sep 2007 15:04:04 -0300 Rafael Barrera Oro
 [EMAIL PROTECTED] wrote:
  did you try adding yourself to the cdrom group?

 I *am* in the cdrom group, as I have already wrote.

   $ groups
   adm wheel cron audio cdrom video cdrw usb users locate portage plugdev
  
 


 Renat

 --
 Probleme kann man niemals mit derselben Denkweise loesen,
 durch die sie entstanden sind.
   (Einstein)




Re: [gentoo-user] Need help with routing

2007-09-11 Thread Florian Philipp
Hans-Werner Hilse schrieb:
 Hi,
 
 On Tue, 11 Sep 2007 18:50:52 +0200 Florian Philipp
 [EMAIL PROTECTED] wrote:
 
 My suggestion for a proper setup would be

 $ iptables -F FORWARD
 $ iptables -P FORWARD DROP
 $ iptables -A FORWARD -i eth0 -o ppp0 -m state --state
 NEW,ESTABLISHED,RELATED -j ACCEPT $ iptables -A FORWARD -i ppp0 -o
 eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT ...plus rules
 allowing for forwarding designated ports, if any

 You'll certainly want to keep this:
 $ iptables -A POSTROUTING -o ppp0 -j MASQUERADE
 in place, too.

 Note that this trusts any box connecting via eth0, not just a single
 client.
 [...]
 When I try to apply the rules you've posted I get:

 $ iptables -A FORWARD -i eth0 -o ppp0 -m state --state \
 NEW,ESTABLISHED,RELATED -j ACCEPT

 iptables: No chain/target/match by that name
 
 Hm, you do not seem to have your kernel configured for connection state
 matching.
 
 Just start with basic rules:
 $ iptables -A FORWARD -i eth0 -o ppp0 -j ACCEPT
 $ iptables -A FORWARD -o eth0 -i ppp0 -j ACCEPT
 
 (instead of the iptables -A settings mentioned before)
 
 But note that those would potentially allow inbound connections to get
 routed to any desired machine (desired by the party outside your
 network, that is). So make sure that either such requests aren't
 getting forwarded to your router (and this is most probably already the
 case for your setup -- DSL or cable, I guess?) or your LAN doesn't care
 (i.e. is secured). Most PPP endpoints, however, would drop such traffic
 anyway, so you should be secure if you trust your provider.
 
 Basically I think this is what the Gentoo wiki guide *intended* to do.
 
 -hwh

Now the kernel can handle connection state matching :)

I can apply your rules with one exception:
iptables -A POSTROUTING -o ppp0 -j MASQUERADE

The same error message as before.

I've enabled basically everything in the kernel's netfilter submenu that
can be compiled as a module and since these modules were automatically
inserted when necessary I don't know what's the problem right now.

I'll attach lsmod and the kernel config, just in case...

Oh, and I've still got 100% packet loss when trying to ping Google's IP
from anywhere but the router.


config.bz2
Description: application/bzip
Module  Size  Used by
xt_state3136  0 
ipt_MASQUERADE  4096  3 
iptable_nat 8452  1 
nf_nat 19884  2 ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4  18640  2 iptable_nat
nf_conntrack   61980  5 
xt_state,ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4
iptable_filter  3712  1 
ip_tables  19632  2 iptable_nat,iptable_filter
x_tables   20296  4 xt_state,ipt_MASQUERADE,iptable_nat,ip_tables
option 11648  1 
usbserial  33968  3 option
b4428236  0 
sr_mod 18020  0 
cdrom  35944  1 sr_mod
sg 26016  0 


Re: [gentoo-user] Need help with routing

2007-09-11 Thread Hans-Werner Hilse
Hi,

On Tue, 11 Sep 2007 21:38:26 +0200
Florian Philipp [EMAIL PROTECTED] wrote:

 Now the kernel can handle connection state matching :)
 
 I can apply your rules with one exception:
 iptables -A POSTROUTING -o ppp0 -j MASQUERADE
 
 The same error message as before.

But a different cause: My brain ;-)  That should rather read
$ iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
(I forgot the -t nat)

There is, however, a kernel configuration needed for masquerading, too
(CONFIG_IP_NF_TARGET_MASQUERADE on newer kernels, you can search for it
-- or just MASQUERADE on older kernels -- using the / key in the
kernel's menuconfig). So if iptables keeps complaining, check that too.

BTW: I'm starting to really hate the HOWTO that much that I might even
consider editing it. The HOWTO got this command wrong as well: It
MASQUERADEs the connections going out to the LAN interface...

For a proper durable setup, after performing all steps manually until
you have iptables in the way, you should issue
$ /etc/init.d/iptables save
and have iptables fire up using rc-update, if not yet done. Also put
the sysctl setting in /etc/sysctl.conf. Then routing/masquerading will
be set up right on each boot.

-hwh

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SSH won't restart

2007-09-11 Thread Hans-Werner Hilse
Hi,

On Tue, 11 Sep 2007 12:30:56 -0700
Grant [EMAIL PROTECTED] wrote:

 How does my host get root access like that?

Different possibilities, but hardware access in most cases means root
access (although maybe only to encrypted partitions...).

Easiest: Reboot (CTRL-ALT-DEL, no password needed), change kernel
command line in boot loader to 
/boot/mykernel root=/dev/whatever init=/bin/bash

And that's it, basically. The admin could have made a backup
of /etc/shadow, resetted root password, rebooted into normal system,
restored /etc/shadow.

If it is a virtual server, this might be even easier.

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SSH won't restart

2007-09-11 Thread Boyd Stephen Smith Jr.
On Tuesday 11 September 2007, Grant [EMAIL PROTECTED] wrote about 'Re: 
[gentoo-user] SSH won't restart':
How does my host get root access like that?

Physical access to the box = root in many cases.
Also, if it's some vserver type setup, root on the host can get root access 
on the guest machines.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


[gentoo-user] why unmerge acpid ?

2007-09-11 Thread Thanasis
uname -r
2.6.22-gentoo-r5

I have acpi in my USE flags and compiled support in kernel:

grep -i acpi .config |grep -v ^\#
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_PROCFS=y
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
CONFIG_ACPI_BLACKLIST_YEAR=0
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
CONFIG_PNPACPI=y
CONFIG_ATA_ACPI=y

*BUT* , isn't acpid needed by some apps like gnome battery charge monitor?
Why does emerge --update suddenly want to remove sys-power/acpid?
Is there something else we are supposed to use, instead of sys-power/acpid?

Thanasis

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Corruption in reiserfs partition

2007-09-11 Thread Volker Armin Hemmann
On Dienstag, 11. September 2007, Jorge Peixoto de Morais Neto wrote:
 I'm sorry about sending this huge email again, but the first one I sent
 from the wrong account and I'm almost sure that it didn't reach the list
 (but, how can I be sure?).

 Below is the email:
   Something else that I wanted to ask: this backup that I made after the
   screwup but before rebuild-tree, do you think it is reliable?
 
  not really, no. Damaged files are damaged files. Some stuff might be
  usable
  but that has to be checked on a case to case basis.

 But I have no prior backups... the *only* information I have came from the
 filesystem after the screw up...
 The backup I have was made *after* the screw up but before the
 rebuild-tree.
 I'm asking if this backup is reliable.

no, it is not. Some files in the backup might be ok. But there is no guarantee 
for it. So you have to check the files in the backup, if they are correct. 
And you have to do that with every file that you want to restore.


 I have chosen one of the files that were zeroed in my filesystem and the
 corresponding file from the backup was OK. So at least in this case, *it
 was the rebuild-tree that corrupted the file*. This suggests that the
 *backup is reliable*.

no, that only shows, that some files are ok. rebuilt-tree did not 'corrupt the 
file' it found severe damage in the fs-structure and there was no way to save 
the structure as a whole without discarding some information.



 Oh, and I found useful information in the output of rebuild-tree. Turns out
 that the output was huge because it prints status information in the screen
 and erases it with ^H. So the information that stays on the screen is far
 smaller than total information that is printed on the screen. I here show
 you the information that stays in the screen (I hope this 44KB text does
 not violate some limit of the gentoo-user mailing list). You can see that
 the corrupted files are mentioned here:

 ### Pass 0 ###
 block 9201872: The number of items (15) is incorrect, should be (1) -
 corrected
 block 9201872: The free space (0) is incorrect, should be (3792) -
 corrected pass0: vpf-10210: block 9201872, item 0: The item with wrong
 offset or length found [4608 16778752 0x50012006303 DRCT (2)], len 256
 - deleted block 11173978: The number of items (8) is incorrect, should be
 (7) - corrected
 block 11173978: The free space (544) is incorrect, should be (612) -
 corrected
 325827 directory entries were hashed with r5 hash.
 ### Pass 1 ###
 ### Pass 2 ###
 ### Pass 3 #
 /bin/duvpf-10680: The file [4 101209] has the wrong block count in the
 StatData (120) - corrected to (0)
 /rmvpf-10680: The file [4 100717] has the wrong block count in the StatData
 (72) - corrected to (0)
 /trvpf-10680: The file [4 101347] has the wrong block count in the StatData
 (56) - corrected to (0)
 /wcvpf-10680: The file [4 101431] has the wrong block count in the StatData
 (48) - corrected to (0)
 /dirvpf-10680: The file [4 101194] has the wrong block count in the
 StatData (160) - corrected to (0)
 /cutvpf-10680: The file [4 101180] has the wrong block count in the
 StatData (56) - corrected to (0)
 /envvpf-10680: The file [4 101223] has the wrong block count in the
 StatData (32) - corrected to (0)
 /pwdvpf-10680: The file [4 100696] has the wrong block count in the
 StatData (40) - corrected to (16)
 /seqvpf-10680: The file [4 101305] has the wrong block count in the
 StatData (40) - corrected to (0)
 /ttyvpf-10680: The file [4 101359] has the wrong block count in the
 StatData (32) - corrected to (0)
 /yesvpf-10680: The file [4 101443] has the wrong block count in the
 StatData (32) - corrected to (0)
 /exprvpf-10680: The file [4 101224] has the wrong block count in the
 StatData (48) - corrected to (0)
 /headvpf-10680: The file [4 101250] has the wrong block count in the
 StatData (48) - corrected to (0)
 /tailvpf-10680: The file [4 101310] has the wrong block count in the
 StatData (72) - corrected to (8)
 /sortvpf-10680: The file [4 103533] has the wrong block count in the
 StatData (128) - corrected to (0)
 /sttyvpf-10680: The file [4 100753] has the wrong block count in the
 StatData (80) - corrected to (0)
 /syncvpf-10680: The file [4 100762] has the wrong block count in the
 StatData (32) - corrected to (0)
 /truevpf-10680: The file [4 100774] has the wrong block count in the
 StatData (24) - corrected to (0)
 /vdirvpf-10680: The file [4 101391] has the wrong block count in the
 StatData (160) - corrected to (0)
 /dirnamevpf-10680: The file [4 101207] has the wrong block count in the
 StatData (32) - corrected to (0)
 /rmdirvpf-10680: The file [4 100721] has the wrong block count in the
 StatData (32) - corrected to (0)
 /sleepvpf-10680: The file [4 101306] has the wrong block count in the
 StatData (32) - corrected to (0)
 /touchvpf-10680: The file [4 101338] has the wrong block count in the
 StatData (72) - corrected to (0)
 /unamevpf-10680: The file 

Re: [gentoo-user] SSH won't restart

2007-09-11 Thread Grant
 How does my host get root access like that?

 Physical access to the box = root in many cases.
 Also, if it's some vserver type setup, root on the host can get root access
 on the guest machines.

Ok, thanks again everyone.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] cdrecord says permission denied

2007-09-11 Thread Stephen Wittig
The only things that I can guess are that it is trying to update
something in /proc or it needs to load a kernel module before
writing.

Just for fun - try burning a disk as root. Then try burning another
dist as a non-root user. If the the second disk burns then one or the
other of the above is the problem.

-Good Luck, Stephen


On 9/11/07, Renat Golubchyk [EMAIL PROTECTED] wrote:
 On Tue, 11 Sep 2007 15:04:04 -0300 Rafael Barrera Oro
 [EMAIL PROTECTED] wrote:
  did you try adding yourself to the cdrom group?

 I *am* in the cdrom group, as I have already wrote.

   $ groups
   adm wheel cron audio cdrom video cdrw usb users locate portage plugdev
   


 Renat

 --
 Probleme kann man niemals mit derselben Denkweise loesen,
 durch die sie entstanden sind.
   (Einstein)


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] why unmerge acpid ?

2007-09-11 Thread Neil Bothwick
Hello Thanasis,

 Why does emerge --update suddenly want to remove sys-power/acpid?

emerge --update doesn't remove anything. Post your emerge command and
the output of it with --pretend added so that we may understand what you
mean. Adding --tree too is a good idea.


-- 
Neil Bothwick

Death is a nonmaskable interrupt.


signature.asc
Description: PGP signature


Re: [gentoo-user] why unmerge acpid ?

2007-09-11 Thread Thanasis
on 09/12/2007 12:32 AM Neil Bothwick wrote the following:
 Hello Thanasis,

 Why does emerge --update suddenly want to remove sys-power/acpid?

 emerge --update doesn't remove anything. Post your emerge command and
 the output of it with --pretend added so that we may understand what you
 mean. Adding --tree too is a good idea.

You're right.
I meant emerge -av --depclean
(just after having run emerge --sync  emerge -Du world)
(sorry it's late here, and I'm tired :-[ ).
I did let it unmerge acpid, just to see if revdep-rebuild would
re-emerge it but it did *not*.
So, what's going on?
Thanasis


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Boot situation

2007-09-11 Thread Benno Schulenberg
Colleen Beamer wrote:
 Benno Schulenberg wrote:
  Colleen Beamer wrote:
  zcat /proc/config.gz 
  /usr/share/genkernel/x86/kernel-conf-2.6
 
  This grabs the configuration from the running kernel (the one
  from the CD you booted from), not the configuration you may
  have had earlier on the system you chrooted into.

 I doubt that it grabs the kernel running from the CD,

It does.  You did 'mount -t proc none /mnt/gentoo/proc' before 
chrooting, which gives you the proc of the running kernel.

But it matters not.  The zcat command just saves a default config, 
in case no kernel was ever configured yet.  Your previous runs of 
genkernel saved the config to /etc/kernels/, and that config gets 
automatically reused when it exists.  So the config should be okay, 
_if it was always _that kernel that you booted, and not just the 
kernel that you _thought you booted.

It might be worth trying to overwrite your custom config 
in /etc/kernels/ (after copying it to a safe place) with the 
contents of /usr/share/genkernel/x86/kernel-conf-2.6, recompiling 
and reinstalling the kernel, and trying to boot with that.

Anyway, googling around seems to say that the following error is 
definitely some kernel configuration problem:

 Block dev sda3 is not a valid root device
 The root block device is unspecified or not detected.

Maybe use also --udev as an option to genkernel?

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] why unmerge acpid ?

2007-09-11 Thread Jesús Guerrero
On Wed, 12 Sep 2007 00:48:03 +0300
Thanasis [EMAIL PROTECTED] wrote:

 on 09/12/2007 12:32 AM Neil Bothwick wrote the following:
  Hello Thanasis,
 
  Why does emerge --update suddenly want to remove sys-power/acpid?
 
  emerge --update doesn't remove anything. Post your emerge command and
  the output of it with --pretend added so that we may understand what you
  mean. Adding --tree too is a good idea.
 
 You're right.
 I meant emerge -av --depclean

That means that the package

1.- it is not in the world file (/var/lib/portage/world), _and_
2.- it is not a dependency of any package that is on the world file

That could happen for many reasons. For example, if acpid was
installed as a dependency of a given package, and that package
has been uninstalled. If can also happen if you emerged it with
-1 or --oneshot. It can also be just a case of corruption in the
world file. It can happen.

The solution is as easy as to emerge that package again, without
--oneshot, so it will be added to the world file.

-- 
Jesús Guerrero [EMAIL PROTECTED]
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] NIC problems after MS Windows update

2007-09-11 Thread Michele Alzetta
HI all,

I have the self-same problem with this card on a dual boot windows98 /
gentoo system.
In fact, I have TWO 8139 cards installed and the problem is present with both.
Windows actually disactivates only the one it uses, and not the other.

On another mailing list I found someone suggesting that activating the
wake on lan option in the windows network card options solves the
problem, and in fact it does.

Anyway, seems it is not only an XP update problem, it seems to be a
more general windows thing.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] cdrecord says permission denied

2007-09-11 Thread Renat Golubchyk
On Tue, 11 Sep 2007 16:27:15 -0500 Stephen Wittig [EMAIL PROTECTED]
wrote:
 The only things that I can guess are that it is trying to update
 something in /proc or it needs to load a kernel module before
 writing.

Why would cdrecord want to update anything in /proc? There is no
informatiom that cdrecord uses. And by the way, strace didn't show
anything helpful.

 Just for fun - try burning a disk as root. Then try burning another
 dist as a non-root user.

I can not burn CDs as a non-root user (i.e. unprivileged; I can burn
with sudo). That's why I wrote the email in the first place. ;-)


Cheers,
Renat

-- 
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
  (Einstein)


signature.asc
Description: PGP signature


Re: [gentoo-user] why unmerge acpid ?

2007-09-11 Thread Jesús Guerrero
On Wed, 12 Sep 2007 01:25:36 +0300
Thanasis [EMAIL PROTECTED] wrote:

 # emerge -pve gnome  gnome
 # grep -i acpi gnome
 [ebuild   R   ] sys-apps/hal-0.5.9-r1  USE=acpi crypt disk-partition
 -debug -dell -doc -pcmcia (-selinux) 0 kB
 [ebuild   R   ] gnome-base/gnome-applets-2.18.0-r2  USE=acpi apm gnome
 hal ipv6 -debug -doc -gstreamer 0 kB
 #
 
 See the acpi dependency?  Is that supposed to work without acpid?
 
That is where your error is. The acpi flag doesn't automatically mean
that that package needs acpid to work, there are lots of packages that
have the acpi substring in their names.

If you look into gnome-applets-2.18.0-r2.ebuild for acpi you see
many things. But none of them is in the DEPEND or RDEPENDS declarations,
which in turn, means that the use of that flag should not add any
additional dependency.

Even more, at the final part of the ebuild you can see:

pkg_postinst() {
gnome2_pkg_postinst

if use acpi  ! use hal ; then
elog It is highly recommended that you install acpid if you 
use the
elog battstat applet to prevent any issues with other 
applications 
elog trying to read acpi information.
fi
}

That message appears when you emerge gnome-applets. And it is telling
you from first hand that you *need* to emerge acpid _by hand_ if you
want all the acpi based applications to behave correctly. 

So that is what you should be doing.

-- 
Jesús Guerrero [EMAIL PROTECTED]
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] why unmerge acpid ?

2007-09-11 Thread Thanasis
on 09/12/2007 01:34 AM Jesús Guerrero wrote the following:
 On Wed, 12 Sep 2007 01:25:36 +0300
 Thanasis [EMAIL PROTECTED] wrote:

 # emerge -pve gnome  gnome
 # grep -i acpi gnome
 [ebuild   R   ] sys-apps/hal-0.5.9-r1  USE=acpi crypt disk-partition
 -debug -dell -doc -pcmcia (-selinux) 0 kB
 [ebuild   R   ] gnome-base/gnome-applets-2.18.0-r2  USE=acpi apm gnome
 hal ipv6 -debug -doc -gstreamer 0 kB
 #

 See the acpi dependency?  Is that supposed to work without acpid?

 That is where your error is. The acpi flag doesn't automatically mean
 that that package needs acpid to work, there are lots of packages that
 have the acpi substring in their names.

 If you look into gnome-applets-2.18.0-r2.ebuild for acpi you see
 many things. But none of them is in the DEPEND or RDEPENDS declarations,
 which in turn, means that the use of that flag should not add any
 additional dependency.

 Even more, at the final part of the ebuild you can see:

 pkg_postinst() {
 gnome2_pkg_postinst

 if use acpi  ! use hal ; then
 elog It is highly recommended that you install acpid if you 
 use the
 elog battstat applet to prevent any issues with other 
 applications 
 elog trying to read acpi information.
 fi
 }

 That message appears when you emerge gnome-applets. And it is telling
 you from first hand that you *need* to emerge acpid _by hand_ if you
 want all the acpi based applications to behave correctly. 

 So that is what you should be doing.

Thanks.
I had not seen those logs.
Just deleted them. :-[
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] why unmerge acpid ?

2007-09-11 Thread Neil Bothwick
On Wed, 12 Sep 2007 00:08:15 +0200, Jesús Guerrero wrote:

 The solution is as easy as to emerge that package again, without
 --oneshot, so it will be added to the world file.

You don't need to recompile a package just to add one line to a text
file. See the --noreplace option for emerge. Although adding acpid is
probably not the solution here. If nothing installs it as a dependency,
there is no need to install it.


-- 
Neil Bothwick

WinErr 019: User error - Not our fault. Is Not! Is Not!


signature.asc
Description: PGP signature


Re: [gentoo-user] why unmerge acpid ?

2007-09-11 Thread Mark Shields
On 9/11/07, Mark Shields [EMAIL PROTECTED] wrote:

 On 9/11/07, Jesús Guerrero [EMAIL PROTECTED] wrote:
 
  On Wed, 12 Sep 2007 00:48:03 +0300
  Thanasis [EMAIL PROTECTED] wrote:
 
   on 09/12/2007 12:32 AM Neil Bothwick wrote the following:
Hello Thanasis,
   
Why does emerge --update suddenly want to remove sys-power/acpid?
   
emerge --update doesn't remove anything. Post your emerge command
  and
the output of it with --pretend added so that we may understand what
  you
mean. Adding --tree too is a good idea.
   
   You're right.
   I meant emerge -av --depclean
 
  That means that the package
 
  1.- it is not in the world file (/var/lib/portage/world), _and_
  2.- it is not a dependency of any package that is on the world file
 
  That could happen for many reasons. For example, if acpid was
  installed as a dependency of a given package, and that package
  has been uninstalled. If can also happen if you emerged it with
  -1 or --oneshot. It can also be just a case of corruption in the
  world file. It can happen.
 
  The solution is as easy as to emerge that package again, without
  --oneshot, so it will be added to the world file.
 
  --
  Jesús Guerrero [EMAIL PROTECTED]
  --
  [EMAIL PROTECTED] mailing list
 
 
 --oneshot is unnecessary; if the package is already installed and you just
 want to add it to the world file, use the --noreplace option.

 --
 - Mark Shields


I'm not thinking straight.  --oneshot doesn't change anything concerning the
world file.  --noreplace adds a package to the world file without actually
emerging it.

-- 
- Mark Shields


Re: [gentoo-user] Some ebuilds not picking up VIDEO_CARDS [Solved]

2007-09-11 Thread Mark Shields
On 9/11/07, darren kirby [EMAIL PROTECTED] wrote:

  VIDEO_CARDS=nv nvdia

 Yeah, ok well.

 You can stare at something for hours and only see the spelling mistake 10
 seconds after you send the help email to the list...

 Sorry for the noise,
 -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
 --
 [EMAIL PROTECTED] mailing list


Don't sweat it.  It happens.  Sometimes it's best to retype small lines just
in case; even better, copy and paste from a known working line.

-- 
- Mark Shields


Re: [gentoo-user] why unmerge acpid ? RESOLVED

2007-09-11 Thread Thanasis
on 09/11/2007 11:36 PM Thanasis wrote the following:
 uname -r
 2.6.22-gentoo-r5

 I have acpi in my USE flags and compiled support in kernel:

 grep -i acpi .config |grep -v ^\#
 CONFIG_ACPI=y
 CONFIG_ACPI_SLEEP=y
 CONFIG_ACPI_SLEEP_PROC_FS=y
 CONFIG_ACPI_PROCFS=y
 CONFIG_ACPI_BUTTON=m
 CONFIG_ACPI_VIDEO=m
 CONFIG_ACPI_FAN=m
 CONFIG_ACPI_PROCESSOR=m
 CONFIG_ACPI_THERMAL=m
 CONFIG_ACPI_BLACKLIST_YEAR=0
 CONFIG_ACPI_EC=y
 CONFIG_ACPI_POWER=y
 CONFIG_ACPI_SYSTEM=y
 CONFIG_PNPACPI=y

 CONFIG_ATA_ACPI=y

 *BUT* , isn't acpid needed by some apps like gnome battery charge monitor?
 Why does emerge --update suddenly want to remove sys-power/acpid?
 Is there something else we are supposed to use, instead of sys-power/acpid?

 Thanasis

Portage was correct.
I didn't need acpid as I had hald (hal) installed. I just needed to
start hald. :-)

Thank you all for your help :-)

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] why unmerge acpid ?

2007-09-11 Thread Bo Ørsted Andresen
On Wednesday 12 September 2007 00:34:51 Jesús Guerrero wrote:
  [ebuild   R   ] gnome-base/gnome-applets-2.18.0-r2  USE=acpi apm gnome
  hal ipv6 -debug -doc -gstreamer 0 kB
[...]
         if use acpi  ! use hal ; then
[...]
 That message appears when you emerge gnome-applets. And it is telling
 you from first hand that you *need* to emerge acpid _by hand_ if you
 want all the acpi based applications to behave correctly.

As you can see from the conditional it shows up if you have acpi enabled and 
hal disabled. Clearly this is not the case for the OP (he has hal enabled 
too).

-- 
Bo Andresen


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


Re: [gentoo-user] Re: keeping ati-drivers 8.34.8 in portage

2007-09-11 Thread Iain Buchanan
On Tue, 2007-09-11 at 14:53 +, James wrote:
[snip]
 I've been using 8.39.4 for quite some time on 2 newer systems and it
 is stable(or at least with the 3D game bzflag) and normal workstation usage.
 
 My experience is trial and error, burning lots of time before you find
 an ati-driver that works good with your chipset. I'm not sure the criteria
 or who marks ati-drivers as stable, but, ati-drivers-8.39.4 would get
 an affirmative from me.

thanks.  I did try them, in fact I tried each of these versions multiple
times one day when trying to find the problem:
8.36.5
8.37.6
8.39.4
8.40.4

and each of them had the 
fglX11AllocateManagedSurface: __FGLTexMgrAllocMem failed!! error that I
talked about before :(

I even posted on the ati forums and no one could help...
-- 
Iain Buchanan iaindb at netspace dot net dot au

Baseball is a skilled game.  It's America's game - it, and high taxes.
-- The Best of Will Rogers

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Automated emerge -e world

2007-09-11 Thread Daniel Iliev
Hi, list

I'd like to automate a full re-emerging and to get a record of all
packages that failed. Something like:

##

  emerge -e world || {

  echo $CATEGORY/$PN failed.txt

  while ! emerge --resume --skipfirst
do
  echo $CATEGORY/$PN  failed.txt
done
  }

##


Any ideas how to achieve this?


-- 
Best regards,
Daniel
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Automated emerge -e world

2007-09-11 Thread Albert Hopkins
On Wed, 2007-09-12 at 03:04 +0300, Daniel Iliev wrote:
 Hi, list
 
 I'd like to automate a full re-emerging and to get a record of all
 packages that failed. Something like:
 
 ##
 
   emerge -e world || {
 
   echo $CATEGORY/$PN failed.txt
 
   while ! emerge --resume --skipfirst
 do
   echo $CATEGORY/$PN  failed.txt
 done
   }
 
 ##
 
 
 Any ideas how to achieve this?
 
 
 -- 
 Best regards,
 Daniel

Here's a script that I use.  I use it to build all my packages at the
end of the month.  Works ok for me.  YMMV:

 CUT HERE 8-
#!/usr/bin/python


Like my emptytree bash script, but more reliable and written in Python.



import datetime
import os
import sys
import time

import portage


LOGDIR = '/var/log/emptytree'
PKGLIST = LOGDIR + '/packages'
FAILED = LOGDIR + '/failed'
EMERGE_FLAGS = '--oneshot --nodeps'
TCOLS = 80


def get_list_of_packages(args=None):
Get list of packages to emerge, in order

packages = []

if args is None:
command = emerge --nospinner --pretend --emptytree world
else:
command = emerge --nospinner --pretend  + args
pipe = os.popen(command, 'r')

for line in pipe:
if line.startswith('[ebuild'):
try:
right_bracket = line.index(']')
ebuild_start = right_bracket + 2
space = line.index(' ', ebuild_start)
except ValueError:
continue

ebuild = line[ebuild_start:space]
packages.append(ebuild)
return packages


class PackageList(list):
List of packages read/written to a flat file

def __init__(self, filename):
list.__init__(self)
self.filename = filename


def write_to_file(self):
Write package list file

package_file = open(self.filename, 'w')
for package in self:
package_file.write(package + '\n')

package_file.close()


def read_from_file(self):
Load packages from file

del self[0:-1] # clear
try:
package_file = open(self.filename, 'r')
except OSError:
return

for line in package_file:
package = line.strip()
if package:
self.append(package)


def set_links(current):
Create current.out current.err symlinks

current_out = LOGDIR + '/current.stdout'
current_err = LOGDIR + '/current.stderr'

if os.path.exists(current_out):
os.remove(current_out)
if os.path.exists(current_err):
os.remove(current_err)

os.symlink('%s.stdout' % current, current_out)
os.symlink('%s.stderr' % current, current_err)


def main(argv):
Main program entry point

if len(argv)  1:
args = ' '.join(argv[1:])
else:
args = None
packages = PackageList(PKGLIST)
packages.extend(get_list_of_packages(args))
failed = PackageList(FAILED)

total = len(packages)
packages.write_to_file()
failed.write_to_file()

start_time = time.gmtime()
pkg_num = 0
while len(packages)  0:
package = packages.pop(0)
pkg_num = pkg_num + 1
print '[%03d/%03d] %s' % (pkg_num, total, package),
sys.stdout.flush()
split = portage.pkgsplit(package)
pname = split[0].split('/')[1] + '-' + split[1] + '-' + split[1]
command = ('emerge %s =%s '
' %s/%s.stdout 2 %s/%s.stderr'
% (EMERGE_FLAGS, package, LOGDIR, pname, LOGDIR, pname))
#command = 'echo %s' % package
set_links(pname)
status = os.system(command)
plen = len(package)
if status == 0:
print '[SUCCESS]'.rjust(TCOLS - 11 - plen)
else:
# emerge failed
print '[FAILURE]'.rjust(TCOLS - 11 - plen)
failed.append(package)
failed.write_to_file()

packages.write_to_file()
end_time = time.gmtime()
time_diff = datetime.datetime(*end_time[:6]) - \
datetime.datetime(*start_time[:6])
print 'Finished!'
print 'Total: %d packages. %d failed' % (total, len(failed))
print 'Completed in %s' % time_diff


if __name__ == '__main__':

sys.exit(main(sys.argv))


# 2007-07-10 marduk Took out resume and failed command-line
#   arguments, since resume can be accomplished by
#   emptytree `cat /var/log/emptytree/packages` and failed by
#   emptytree `cat /var/log/emptytree/failed`.
#   Removed empty contructor parameter from PackageList since it
#   was only used by resume and failed
--
-- 
raise SystemExit


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] metacity Woes

2007-09-11 Thread Michael Sullivan
Every time I boot into Linux and log into GNOME I have to start metacity
manually by su'ing in a terminal and issuing a

# metacity  /dev/null 

before I can get title bars and such that goes with it.  My wife's
computer does the same thing.  Here's the info on my PC:

camille ~ # emerge --info
Portage 2.1.2.12 (default-linux/x86/no-nptl, gcc-4.1.2, glibc-2.5-r4,
2.6.21-gentoo-r4 i686)
=
System uname: 2.6.21-gentoo-r4 i686 Intel(R) Celeron(R) CPU 2.66GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 11 Sep 2007 12:30:01 +
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2,
1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS=x86
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -march=i686 -fomit-frame-pointer
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/3.5/env /usr/kde/3.5/share/config 
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind
CONFIG_PROTECT_MASK=/etc/env.d /etc/env.d/java/ /etc/gconf 
/etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ 
/etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ 
/etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild 
/etc/terminfo /etc/texmf/web2c
CXXFLAGS=-O2 -march=i686 -fomit-frame-pointer
DISTDIR=/usr/portage/distfiles
FEATURES=distlocks metadata-transfer sandbox sfperms strict
GENTOO_MIRRORS=http://mirror.datapipe.net/gentoo;
LINGUAS=en fr es
MAKEOPTS=-j2
PKGDIR=/usr/portage-packages/camille
PORTAGE_RSYNC_EXTRA_OPTS=--human-readable
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --delete-after --stats
--timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/usr/local/portage
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=X alsa apache2 apm arts asterisk audiofile avi bash-completion
berkdb bind-mysql bitmap-fonts browserplugin bzip2 candy cdr cgi cli
cracklib crypt ctype cups dba dbus divx4linux doc dri dvb dvd dvdr
dvdread eds emboss encode examples expat f77 ffmpeg flash foomaticdb
fortran ftp gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 guile hal
iconv imap imlib ipv6 isdnlog ithreads ivtv jack jack-tempfs java jikes
joystick jpeg kde kerberos lib libclamav libg++ libwww lirc mad midi
mikmod mmx mmx2 mmxext mode-owner motif mp3 mpeg mpm-leader mudflap
mysql mythtv nas nautilus ncurses new-login nls nntp nsplugin offensive
ogg oggvorbis opengl openmp oss pam pcre pdf perl php png portaudio ppds
pppd python qt qt3 qt4 quicktime readline real reflection ruby samba
sasl sdl seamonkey session slp snmp spell spl sql ssl svga syslog tcl
tcltk tcpd threads tidy truetype truetype-fonts type1-fonts unicode usb
userlocales v4l v4l2 vorbis win32codecs x86 xml xml2 xorg xv zaptel
zlib ALSA_CARDS=hda-intel ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix
dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat
linear meter mulaw multi null plug rate route share shm softvol
ELIBC=glibc INPUT_DEVICES=keyboard mouse evdev KERNEL=linux
LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
ncurses text LINGUAS=en fr es USERLAND=GNU VIDEO_CARDS=apm ark
chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga
neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion
sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

camille ~ # emerge -pv metacity gnome

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-wm/metacity-2.18.5  USE=-debug -xinerama 0 kB 
[ebuild   R   ] gnome-base/gnome-2.18.2-r1  USE=cdr cups dvdr
-accessibility -ldap -mono 0 kB 

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB

The same thing happens on my wife's PC.  Here's the info for her
computer:

catherine ~ # emerge --info
Portage 2.1.2.12 (default-linux/x86/2007.0/desktop, gcc-4.1.2,
glibc-2.5-r4, 2.6.21-gentoo-r4 i686)
=
System uname: 2.6.21-gentoo-r4 i686 AMD Sempron(tm) 2400+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 10 Sep 2007 12:30:01 +
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 

Re: [gentoo-user] why unmerge acpid ?

2007-09-11 Thread Jesús Guerrero
On Wed, 12 Sep 2007 00:56:33 +0200
Bo Ørsted Andresen [EMAIL PROTECTED] wrote:

 On Wednesday 12 September 2007 00:34:51 Jesús Guerrero wrote:
   [ebuild   R   ] gnome-base/gnome-applets-2.18.0-r2  USE=acpi apm gnome
   hal ipv6 -debug -doc -gstreamer 0 kB
 [...]
          if use acpi  ! use hal ; then
 [...]
  That message appears when you emerge gnome-applets. And it is telling
  you from first hand that you *need* to emerge acpid _by hand_ if you
  want all the acpi based applications to behave correctly.
 
 As you can see from the conditional it shows up if you have acpi enabled and 
 hal disabled. Clearly this is not the case for the OP (he has hal enabled 
 too).
 
My bad, then he doesn't need acpid at all.

You are completely right, thanks for the correction.

-- 
Jesús Guerrero [EMAIL PROTECTED]
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] [OT] suggestion for recombining audio with video

2007-09-11 Thread Mark Shields
On 9/10/07, Iain Buchanan [EMAIL PROTECTED] wrote:

 Hi all,

 recently I've been doing some better recordings (proper mic into sound
 system) along with my video camera.  This means that I have two sources
 - one attached to the video, and one separate audio stream.

 It's not practical for me to plug the sound system into the video camera
 (although that would be ideal) because I move around too much, and a
 cable would be ... not practical :)  And there are some room noises
 that the video camera picks up that a directional mic doesn't.

 anyway... I've just started using audacity to edit the nice audio,
 and add some simple effects, and I want to recombine that with the
 video, so that I have the nice audio + video.  So I would require a
 program to do the following

  1. line up video and audio from separate files
  2. adjust the position of the audio frame by frame, so that I can
 get as-perfect-as-possible lip sync!
  3. video and audio not necessarily the same length
  4. mpeg or dvd compatible output
  5. mix two (or more?) audio sources into one audio+video file, with
 some simple crossfade
  6. Open software would be ideal (linux of course!), followed by
 closed-but-minimal-cost, followed by
 closed-costly-but-so-excellent-I-have-to-have-it!

 If there is a choice, I would prefer that the video is left as unaltered
 as possible by this program, to avoid going through too many
 conversions.

 I don't need any fancy editing or effects, I have other programs to do
 that!

 Any suggestions?  I have been looking on google, but there are so many
 bad shareware programs that my results get flooded with rubbish!

 TIA,
 --
 Iain Buchanan iaindb at netspace dot net dot au

 Can you program?  Well, I'm literate, if that's what you mean!

 --
 [EMAIL PROTECTED] mailing list


I've never used it, but Cinelerra [1] looks like what you might want.  Btw,
a quick, cursory google search returned that.  Oh, and point #5 you can do
with Audacity.

[1] http://heroinewarrior.com/cinelerra.php3

-- 
- Mark Shields


[gentoo-user] How to know current state of LCD

2007-09-11 Thread kou yu
I can turn on/off LCD by using vbetool
vbetool dpms on/off

But I can not find a way to know the current state of LCD. on? or off?
Is there any method, command or something else to indicate the state of LCD?
-- 
[EMAIL PROTECTED] mailing list