Re: [gentoo-user] invalid argument when trying to modprobe nvidia module

2011-01-16 Thread Peter Humphrey
On Sunday 16 January 2011 03:25:41 cov...@ccs.covici.com wrote:
 Adam Carter adamcart...@gmail.com wrote:
  Did you remember to repoint the /usr/src/linux link? IIRC the
  module is built to suit whatever kernel that is pointing to. If
  its not set correctly you'll need to re-emerge nvidia-drivers.
 
 linux is pointing correctly and it was after I emerged the
 nvidia-drivers that I got the invalid argument.

You can't emerge nvidia-drivers if /usr/src/linux points to a kernel 
version other than the currently running one - it complains it can't find 
a valid kernel config. This means that, after emerging a new kernel 
version, it's necessary to reboot with the new kernel (and fail to start 
X) before it's possible to remerge nvidia-drivers to suit the new kernel 
- you can't do it in advance.

On this ~amd64 multilib box, 260.19.29 has run trouble-free with gentoo-
sources 2.6.36-r5, 2.6.36-r6 and 2.6.37. Perhaps your -multilib USE flag 
is causing trouble.

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] Boost Openoffice

2011-01-16 Thread Peter Humphrey
On Sunday 16 January 2011 05:50:58 Philip Webb wrote:

 Using more haste than sense after 'emerge -cpv =boost-1.41.0-r3'

Did you mean 'emerge -cpv ...' or 'emerge -Cpv...' ?

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



[gentoo-user] Re: Boost Openoffice

2011-01-16 Thread Nuno J. Silva
Peter Humphrey pe...@humphrey.ukfsn.org writes:

 On Sunday 16 January 2011 05:50:58 Philip Webb wrote:

 Using more haste than sense after 'emerge -cpv =boost-1.41.0-r3'

 Did you mean 'emerge -cpv ...' or 'emerge -Cpv...' ?

Probably -c, which is the one that checks for reverse dependencies.

,[ man emerge ]
| Depclean serves as a dependency aware version of --unmerge. When
| given  one  or more atoms, it will unmerge matched packages that
| have no  reverse  dependencies.  Use  --depclean  together  with
| --verbose to show reverse dependencies.
`

Either way, shouldn't 'emerge openoffice' reinstall it?

-- 
Nuno J. Silva
gopher://sdf-eu.org/1/users/njsg




[gentoo-user] Left hand yes, right hand no

2011-01-16 Thread Peter Humphrey
Oh, very droll! I just had to laugh at this:

# emerge --sync
[...]
$ emerge -puDv world
[...]
emerge: there are no ebuilds built with USE flags to satisfy ~x11-
libs/qt-gui-4.7.1[accessibility=,aqua=,debug=].
 
!!! One of the following packages is required to complete your request:
- x11-libs/qt-gui-4.7.1-r1 (Change USE: -accessibility)
- x11-libs/qt-svg-4.7.1-r1 (Change USE: +accessibility)
(dependency required by x11-libs/qt-svg-4.7.1-r1 [ebuild])
(dependency required by sys-auth/polkit-kde-0.95.1-r1 [installed])
(dependency required by kde-base/kdelibs-4.5.5 [installed])
(dependency required by kde-base/kfilereplace-4.5.5 [installed])
(dependency required by kde-base/kdewebdev-meta-4.5.5 [installed])
(dependency required by @selected)
(dependency required by @world [argument])

Currently the accessibility USE flag is unset. Portage is at 
2.2.0_alpha15, python at 2.7.1.

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] invalid argument when trying to modprobe nvidia module

2011-01-16 Thread Dale

Peter Humphrey wrote:

On Sunday 16 January 2011 03:25:41 cov...@ccs.covici.com wrote:
   

Adam Carteradamcart...@gmail.com  wrote:
 

Did you remember to repoint the /usr/src/linux link? IIRC the
module is built to suit whatever kernel that is pointing to. If
its not set correctly you'll need to re-emerge nvidia-drivers.
   

linux is pointing correctly and it was after I emerged the
nvidia-drivers that I got the invalid argument.
 

You can't emerge nvidia-drivers if /usr/src/linux points to a kernel
version other than the currently running one - it complains it can't find
a valid kernel config. This means that, after emerging a new kernel
version, it's necessary to reboot with the new kernel (and fail to start
X) before it's possible to remerge nvidia-drivers to suit the new kernel
- you can't do it in advance.

On this ~amd64 multilib box, 260.19.29 has run trouble-free with gentoo-
sources 2.6.36-r5, 2.6.36-r6 and 2.6.37. Perhaps your -multilib USE flag
is causing trouble.

   


In the past when I do a kernel upgrade, I have linked to the new kernel, 
emerged nvidia drivers then rebooted to the new kernel.  It worked fine 
for me.  I haven't done that in a while since I just built a new rig but 
I have done that in the past many times.


Is this something new?

Dale

:-)  :-)



Re: [gentoo-user] invalid argument when trying to modprobe nvidia module

2011-01-16 Thread Peter Humphrey
On Sunday 16 January 2011 10:48:45 Dale wrote:
 Peter Humphrey wrote:

  You can't emerge nvidia-drivers if /usr/src/linux points to a
  kernel version other than the currently running one - it complains
  it can't find a valid kernel config. This means that, after
  emerging a new kernel version, it's necessary to reboot with the
  new kernel (and fail to start X) before it's possible to remerge
  nvidia-drivers to suit the new kernel - you can't do it in
  advance.

 In the past when I do a kernel upgrade, I have linked to the new
 kernel, emerged nvidia drivers then rebooted to the new kernel.  It
 worked fine for me.  I haven't done that in a while since I just
 built a new rig but I have done that in the past many times.
 
 Is this something new?

It could easily be, yes. I remember being surprised once last year when 
it happened, and since then it's been every time - enough that I've 
written a tiny script to remerge drivers and vbox, then restart xdm. The 
difference may be my ~amd64 system and consequent later versions of 
nvidia-drivers.

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] invalid argument when trying to modprobe nvidia module

2011-01-16 Thread Dale

Peter Humphrey wrote:

On Sunday 16 January 2011 10:48:45 Dale wrote:
   

Peter Humphrey wrote:
 

You can't emerge nvidia-drivers if /usr/src/linux points to a
kernel version other than the currently running one - it complains
it can't find a valid kernel config. This means that, after
emerging a new kernel version, it's necessary to reboot with the
new kernel (and fail to start X) before it's possible to remerge
nvidia-drivers to suit the new kernel - you can't do it in
advance.
   

In the past when I do a kernel upgrade, I have linked to the new
kernel, emerged nvidia drivers then rebooted to the new kernel.  It
worked fine for me.  I haven't done that in a while since I just
built a new rig but I have done that in the past many times.

Is this something new?
 

It could easily be, yes. I remember being surprised once last year when
it happened, and since then it's been every time - enough that I've
written a tiny script to remerge drivers and vbox, then restart xdm. The
difference may be my ~amd64 system and consequent later versions of
nvidia-drivers.

   


I have compiled a kernel for 2.6.37 but I have not booted it yet.  I'll 
set the link to the new kernel, emerge nvidia and see what happens when 
I boot the new kernel.


In the past, I was on x86 on my old rig.  Maybe it is the arch that 
affects something.  I'm not sure but will test later on today.  Sort of 
in the middle of a download at the moment.


Dale

:-)  :-)



Re: [gentoo-user] Left hand yes, right hand no

2011-01-16 Thread Volker Armin Hemmann
On Sunday 16 January 2011 10:26:49 Peter Humphrey wrote:
 Oh, very droll! I just had to laugh at this:
 
 # emerge --sync
 [...]
 $ emerge -puDv world
 [...]
 emerge: there are no ebuilds built with USE flags to satisfy ~x11-
 libs/qt-gui-4.7.1[accessibility=,aqua=,debug=].
 !!! One of the following packages is required to complete your request:
 - x11-libs/qt-gui-4.7.1-r1 (Change USE: -accessibility)
 - x11-libs/qt-svg-4.7.1-r1 (Change USE: +accessibility)
 (dependency required by x11-libs/qt-svg-4.7.1-r1 [ebuild])
 (dependency required by sys-auth/polkit-kde-0.95.1-r1 [installed])
 (dependency required by kde-base/kdelibs-4.5.5 [installed])
 (dependency required by kde-base/kfilereplace-4.5.5 [installed])
 (dependency required by kde-base/kdewebdev-meta-4.5.5 [installed])
 (dependency required by @selected)
 (dependency required by @world [argument])
 
 Currently the accessibility USE flag is unset. Portage is at
 2.2.0_alpha15, python at 2.7.1.

yeah, that accessibility crap again *sigh*, just spare yourself a headache and 
set =x11-libs/qt-svg-4.7.1-r1 accessibility




Re: [gentoo-user] invalid argument when trying to modprobe nvidia module

2011-01-16 Thread Adam Carter





 I have compiled a kernel for 2.6.37 but I have not booted it yet.  I'll set
 the link to the new kernel, emerge nvidia and see what happens when I boot
 the new kernel.

 In the past, I was on x86 on my old rig.  Maybe it is the arch that affects
 something.  I'm not sure but will test later on today.  Sort of in the
 middle of a download at the moment.


Interested. I *thought* what Dale's saying worked too. The no kernel config
error sounds more like you havent done make oldconfig/menuconfig whatever to
create the .config file. So maybe the problem is not that you have to be
running the kernel you want to build for, but that you have at least created
the .config file for the kernel you want to build for. I'm guessing
obviously.


Re: [gentoo-user] invalid argument when trying to modprobe nvidia module

2011-01-16 Thread covici
Peter Humphrey pe...@humphrey.ukfsn.org wrote:

 On Sunday 16 January 2011 03:25:41 cov...@ccs.covici.com wrote:
  Adam Carter adamcart...@gmail.com wrote:
   Did you remember to repoint the /usr/src/linux link? IIRC the
   module is built to suit whatever kernel that is pointing to. If
   its not set correctly you'll need to re-emerge nvidia-drivers.
  
  linux is pointing correctly and it was after I emerged the
  nvidia-drivers that I got the invalid argument.
 
 You can't emerge nvidia-drivers if /usr/src/linux points to a kernel 
 version other than the currently running one - it complains it can't find 
 a valid kernel config. This means that, after emerging a new kernel 
 version, it's necessary to reboot with the new kernel (and fail to start 
 X) before it's possible to remerge nvidia-drivers to suit the new kernel 
 - you can't do it in advance.
 
 On this ~amd64 multilib box, 260.19.29 has run trouble-free with gentoo-
 sources 2.6.36-r5, 2.6.36-r6 and 2.6.37. Perhaps your -multilib USE flag 
 is causing trouble.

I am using x86 rather than 64 and I did emerge it after rebooting to the
new kernel, but I got invalid argument when issuing the modprobe
command.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] Left hand yes, right hand no

2011-01-16 Thread Peter Humphrey
On Sunday 16 January 2011 12:19:38 Peter Ruskin wrote:

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

So it is. That was quick. I don't agree with his suggestion, which seems 
to imply requiring all KDE systems to be built with +accessibility, like 
it or not.

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] invalid argument when trying to modprobe nvidia module

2011-01-16 Thread Adam Carter

 I am using x86 rather than 64 and I did emerge it after rebooting to the
 new kernel, but I got invalid argument when issuing the modprobe
 command.


Can you cut/paste the command and output? and also the command modinfo
nvidia and its output?


Re: [gentoo-user] invalid argument when trying to modprobe nvidia module

2011-01-16 Thread Alan McKinnon
Apparently, though unproven, at 11:18 on Sunday 16 January 2011, Peter 
Humphrey did opine thusly:

 On Sunday 16 January 2011 03:25:41 cov...@ccs.covici.com wrote:
  Adam Carter adamcart...@gmail.com wrote:
   Did you remember to repoint the /usr/src/linux link? IIRC the
   module is built to suit whatever kernel that is pointing to. If
   its not set correctly you'll need to re-emerge nvidia-drivers.
  
  linux is pointing correctly and it was after I emerged the
  nvidia-drivers that I got the invalid argument.
 
 You can't emerge nvidia-drivers if /usr/src/linux points to a kernel
 version other than the currently running one - it complains it can't find
 a valid kernel config. This means that, after emerging a new kernel
 version, it's necessary to reboot with the new kernel (and fail to start
 X) before it's possible to remerge nvidia-drivers to suit the new kernel
 - you can't do it in advance.

That's nonsense.

The nvidia-driver ebuild will build modules for whatever kernel /usr/src/linuc 
points to. There is no dependency on the running kernel


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] invalid argument when trying to modprobe nvidia module

2011-01-16 Thread Neil Bothwick
On Sun, 16 Jan 2011 11:06:30 +, Peter Humphrey wrote:

   You can't emerge nvidia-drivers if /usr/src/linux points to a
   kernel version other than the currently running one - it complains
   it can't find a valid kernel config. This means that, after
   emerging a new kernel version, it's necessary to reboot with the
   new kernel (and fail to start X) before it's possible to remerge
   nvidia-drivers to suit the new kernel - you can't do it in
   advance.  
 
  In the past when I do a kernel upgrade, I have linked to the new
  kernel, emerged nvidia drivers then rebooted to the new kernel.  It
  worked fine for me.  I haven't done that in a while since I just
  built a new rig but I have done that in the past many times.
  
  Is this something new?  
 
 It could easily be, yes. I remember being surprised once last year when 
 it happened, and since then it's been every time - enough that I've 
 written a tiny script to remerge drivers and vbox, then restart xdm.
 The difference may be my ~amd64 system and consequent later versions of 
 nvidia-drivers.

I don't have this problem. You could only see this error
if /usr/src/linux/.config does not exist. As long as you have run make
oldconfig, the drivers should build, although I only build them after
compiling the kernel (but before rebooting).



signature.asc
Description: PGP signature


Re: [gentoo-user] lxpanel-oddity

2011-01-16 Thread Neil Bothwick
On Sun, 16 Jan 2011 07:22:20 +0100, meino.cra...@gmx.de wrote:

 with my openbox desktop I am using lxpanel as taskbar.
 
 Unfortunately lxpanel gets confused what and where windows
 were opened and which of the desktop is currently active
 very often.
 
 I want to ask whether this general a problem or whether
 I have missed a configuration hint...???

I've never seen that with my LXDE desktop, which uses openbox anyway.
Maybe you'd be better off using pure LXDE than trying to roll your own.




signature.asc
Description: PGP signature


[gentoo-user] perl-5.12.2-r6 emerge installs but with warning

2011-01-16 Thread Mick
As the title says, I got this warning at the very end:
=
... 
--- replaced obj /usr/bin/a2p
--- replaced dir /usr/bin
--- replaced dir /usr
  dir /usr/share/doc/perl-5.12.2-r4
 * Linking /usr/bin/ptar-1.54-perl-5.12.2 to /usr/bin/ptar (relative)
 * Linking /usr/share/man/man1/ptar-1.54-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/ptar.1.bz2 (relative)
 * Linking /usr/bin/ptardiff-1.54-perl-5.12.2 to /usr/bin/ptardiff (relative)
 * Linking /usr/share/man/man1/ptardiff-1.54-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/ptardiff.1.bz2 (relative)
 * Linking /usr/bin/shasum-5.47-perl-5.12.2 to /usr/bin/shasum (relative)
 * Linking /usr/share/man/man1/shasum-5.47-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/shasum.1.bz2 (relative)
 * Linking /usr/bin/cpan-1.9456-perl-5.12.2 to /usr/bin/cpan (relative)
 * Linking /usr/share/man/man1/cpan-1.9456-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/cpan.1.bz2 (relative)
 * Linking /usr/bin/cpanp-0.90-perl-5.12.2 to /usr/bin/cpanp (relative)
 * Linking /usr/share/man/man1/cpanp-0.90-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/cpanp.1.bz2 (relative)
 * Linking /usr/bin/cpan2dist-0.90-perl-5.12.2 to /usr/bin/cpan2dist 
(relative)
 * Linking /usr/share/man/man1/cpan2dist-0.90-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/cpan2dist.1.bz2 (relative)
 * Linking /usr/bin/cpanp-run-perl-0.90-perl-5.12.2 to /usr/bin/cpanp-run-perl 
(relative)
 * Linking /usr/bin/enc2xs-2.39-perl-5.12.2 to /usr/bin/enc2xs (relative)
 * Linking /usr/share/man/man1/enc2xs-2.39-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/enc2xs.1.bz2 (relative)
 * Linking /usr/bin/piconv-2.39-perl-5.12.2 to /usr/bin/piconv (relative)
 * Linking /usr/share/man/man1/piconv-2.39-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/piconv.1.bz2 (relative)
 * Linking /usr/bin/instmodsh-6.56-perl-5.12.2 to /usr/bin/instmodsh 
(relative)
 * Linking /usr/share/man/man1/instmodsh-6.56-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/instmodsh.1.bz2 (relative)
 * Linking /usr/bin/config_data-0.3603-perl-5.12.2 to /usr/bin/config_data 
(relative)
 * Linking /usr/share/man/man1/config_data-0.3603-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/config_data.1.bz2 (relative)
 * Linking /usr/bin/corelist-2.38-perl-5.12.2 to /usr/bin/corelist (relative)
 * Linking /usr/share/man/man1/corelist-2.38-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/corelist.1.bz2 (relative)
 * Linking /usr/bin/pod2usage-1.37-perl-5.12.2 to /usr/bin/pod2usage 
(relative)
 * Linking /usr/share/man/man1/pod2usage-1.37-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/pod2usage.1.bz2 (relative)
 * Linking /usr/bin/podchecker-1.37-perl-5.12.2 to /usr/bin/podchecker 
(relative)
 * Linking /usr/share/man/man1/podchecker-1.37-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/podchecker.1.bz2 (relative)
 * Linking /usr/bin/podselect-1.37-perl-5.12.2 to /usr/bin/podselect 
(relative)
 * Linking /usr/share/man/man1/podselect-1.37-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/podselect.1.bz2 (relative)
 * Linking /usr/bin/prove-3.17-perl-5.12.2 to /usr/bin/prove (relative)
 * Linking /usr/share/man/man1/prove-3.17-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/prove.1.bz2 (relative)
 * Linking /usr/bin/pod2man-2.3.1-perl-5.12.2 to /usr/bin/pod2man (relative)
 * Linking /usr/share/man/man1/pod2man-2.3.1-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/pod2man.1.bz2 (relative)
 * Linking /usr/bin/pod2text-2.3.1-perl-5.12.2 to /usr/bin/pod2text (relative)
 * Linking /usr/share/man/man1/pod2text-2.3.1-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/pod2text.1.bz2 (relative)
 Regenerating /etc/ld.so.cache...
 Original instance of package unmerged safely.
 * Linking /usr/bin/ptar-1.54-perl-5.12.2 to /usr/bin/ptar (relative)
 * Linking /usr/share/man/man1/ptar-1.54-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/ptar.1.bz2 (relative)
 * Linking /usr/bin/ptardiff-1.54-perl-5.12.2 to /usr/bin/ptardiff (relative)
 * Linking /usr/share/man/man1/ptardiff-1.54-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/ptardiff.1.bz2 (relative)
 * Linking /usr/bin/shasum-5.47-perl-5.12.2 to /usr/bin/shasum (relative)
 * Linking /usr/share/man/man1/shasum-5.47-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/shasum.1.bz2 (relative)
 * Linking /usr/bin/cpan-1.9456-perl-5.12.2 to /usr/bin/cpan (relative)
 * Linking /usr/share/man/man1/cpan-1.9456-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/cpan.1.bz2 (relative)
 * Linking /usr/bin/cpanp-0.90-perl-5.12.2 to /usr/bin/cpanp (relative)
 * Linking /usr/share/man/man1/cpanp-0.90-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/cpanp.1.bz2 (relative)
 * Linking /usr/bin/cpan2dist-0.90-perl-5.12.2 to /usr/bin/cpan2dist 
(relative)
 * Linking /usr/share/man/man1/cpan2dist-0.90-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/cpan2dist.1.bz2 (relative)
 * Linking /usr/bin/cpanp-run-perl-0.90-perl-5.12.2 to /usr/bin/cpanp-run-perl 
(relative)
 * Linking /usr/bin/enc2xs-2.39-perl-5.12.2 to /usr/bin/enc2xs (relative)
 * Linking /usr/share/man/man1/enc2xs-2.39-perl-5.12.2.1.bz2 to 
/usr/share/man/man1/enc2xs.1.bz2 (relative)
 * 

Re: [gentoo-user] Re: Boost Openoffice

2011-01-16 Thread Philip Webb
110116 Nuno J. Silva wrote:
 Peter Humphrey pe...@humphrey.ukfsn.org writes:
 On Sunday 16 January 2011 05:50:58 Philip Webb wrote:
 Using more haste than sense after 'emerge -cpv =boost-1.41.0-r3'
 Did you mean 'emerge -cpv ...' or 'emerge -Cpv...' ?

What I wrote.

 Probably -c, which is the one that checks for reverse dependencies.
 ,[ man emerge ]
 | Depclean serves as a dependency aware version of --unmerge. When
 | given  one  or more atoms, it will unmerge matched packages that
 | have no  reverse  dependencies.  Use  --depclean  together  with
 | --verbose to show reverse dependencies.
 `
 Either way, shouldn't 'emerge openoffice' reinstall it?

Please both of you, read my msg more carefully, then comment (smile).

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




Re: [gentoo-user] Re: X -config fail

2011-01-16 Thread doherty pete
how can i confim i have evdev,if i donn't have ,i think i have to edite
/etc/make.cof USE=-evdev -dri -dri2 or VIDEOCARD=-evdev -dri -dri2
and recompile xorg-server
2011/1/16 walt w41...@gmail.com

 On 01/15/2011 07:17 AM, doherty pete wrote:

 when i input
 Xorg -configure
 the log is


  [   442.765] (EE) Failed to load module evdev (module does not exist,
 0)


 This is all very confusing unless you know the history of evdev, which most
 sane people don't know. (I obviously don't qualify as sane :)

 Try emerging xf86-input-evdev.






-- 
pete_doherty


Re: [gentoo-user] Boost Openoffice

2011-01-16 Thread pk
On 2011-01-16 06:50, Philip Webb wrote:

 Can anyone explain why the latest stable Openoffice can't use
 the latest stable slotted Boost(-build), which is used only for OO ?
 Perhaps the devs have tripped up slightly in the sequence of updates.

eselect boost ?

Best regards

Peter K



Re: [gentoo-user] VirtualBox

2011-01-16 Thread Alan McKinnon
Apparently, though unproven, at 02:56 on Saturday 15 January 2011, Mark Knecht 
did opine thusly:

 On Fri, Jan 14, 2011 at 4:23 PM, john j...@arcticwolf.myzen.co.uk wrote:
  Any one having issues with version 4 of VirtualBox.
  
  Mouse integration does not work any more. I can no longer use mouse
  within VirtualBox.
  
  I have disabled/enabled mosue integration.
  
  
  
  --
  John D Maunder
  j...@arcticwolf.myzen.co.uk
 
 Hi John,
I'm having a few issues with it, but not specifically any mouse
 problems. I run both Gentoo and Win7 VMs, and I run the Gentoo VMs on
 both Gentoo and Win7 hosts. The mouse has been a little touchy within
 the Gentoo VM on a Win7 host, at least the first day or two. However I
 followed the guide I found and enabled the additions package in
 rc-update and things got better. No mouse problems with any of the VMs
 on my Gentoo host.
 
My big problem is that a perfectly working Win7 VM under 3.?.? now
 'pauses' at odd times. It's working fine, but I come back and hour
 later and it's all grayed out. I unpause it and it is working again
 for another hour. The same VM under the previous version didn't do
 this ever.
 
 - Mark

Mark,

Sounds like this:

http://pi-ist-genau-3.de/?p=1071


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] invalid argument when trying to modprobe nvidia module

2011-01-16 Thread Peter Humphrey
On Sunday 16 January 2011 12:13:54 Adam Carter wrote:

 The no kernel config error sounds more like you havent done make
 oldconfig/menuconfig whatever to create the .config file.

In fact that isn't it. I've copied the .config from /boot, run make 
oldconfig, compiled the kernel and copied it to /boot. Still nvidia-
drivers won't compile, apparently because /usr/src/linux points to a 
kernel other than the running one.

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] invalid argument when trying to modprobe nvidia module

2011-01-16 Thread Peter Humphrey
On Sunday 16 January 2011 12:54:46 Alan McKinnon wrote:

 That's nonsense.

It is not.

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] invalid argument when trying to modprobe nvidia module

2011-01-16 Thread Alan McKinnon
Apparently, though unproven, at 17:18 on Sunday 16 January 2011, Peter 
Humphrey did opine thusly:

 On Sunday 16 January 2011 12:54:46 Alan McKinnon wrote:
  That's nonsense.
 
 It is not.

It has not been a problem for me, not once, in 4 years at least, both on x86 
and amd64. Other posters report the same and you are the only one reporting 
experiencing the problem.

Logic tells me you likely have something dodgy local to your machine as you 
are the only one so this would be a good point to post the error output you 
get.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: X -config fail

2011-01-16 Thread Mick
On Sunday 16 January 2011 13:53:14 doherty pete wrote:
 how can i confim i have evdev,if i donn't have ,i think i have to edite
 /etc/make.cof USE=-evdev -dri -dri2 or VIDEOCARD=-evdev -dri -dri2
 and recompile xorg-server

Pete, can you please read the documentation and follow it to the letter:

http://www.gentoo.org/doc/en/xorg-config.xml

What you are asking is covered under the section titled make.conf 
configuration.


To find out if you have something installed you can try:
===
# emerge --search evdev
Searching...
[ Results for search key : evdev ]
[ Applications found : 1 ]

*  x11-drivers/xf86-input-evdev
  Latest version available: 2.5.0
  Latest version installed: 2.5.0
  Size of files: 306 kB
  Homepage:  http://xorg.freedesktop.org/
  Description:   Generic Linux input driver
  License:   MIT
===

If it has not been installed before, it will say:

 Latest version installed: [ Not Installed ]


Alternatively, you can emerge and use app-portage/eix and then run:
===
# eix -l evdev
[I] x11-drivers/xf86-input-evdev
 Available versions:  
2.4.0 alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh 
sparc x86 
[debug]
2.5.0 ~alpha amd64 arm hppa ~ia64 ~mips ~ppc ppc64 ~sh 
~sparc 
x86
~   2.6.0 ~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 
~sh ~sparc 
~x86
 Installed versions:  2.5.0(22:20:38 26/12/10)
 Homepage:http://xorg.freedesktop.org/
 Description: Generic Linux input driver
===


Finally, if you know the exact package name try running:
===
# emerge -1aDv xf86-input-evdev

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

Calculating dependencies... done!
[ebuild   R   ] x11-drivers/xf86-input-evdev-2.5.0  0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] No

Quitting.


The R symbol denotes that you are trying to re-emerge it.  If you hadn't 
installed it, you get [ebuild  N] for 'new'.

HTH.


PS.  Please try to avoid top posting.  It breaks the natural flow of the 
discussion.


 2011/1/16 walt w41...@gmail.com
 
  On 01/15/2011 07:17 AM, doherty pete wrote:
  when i input
  Xorg -configure
  the log is
  
   [   442.765] (EE) Failed to load module evdev (module does not exist,
   
  0)
  
  This is all very confusing unless you know the history of evdev, which
  most sane people don't know. (I obviously don't qualify as sane :)
  
  Try emerging xf86-input-evdev.

-- 
Regards,
Mick


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


Re: [gentoo-user] No HW acceleraton on radeon Mobility X300 with linux-2.6.36-r5, mesa-7.9, xorg-server-1.9.2 and video-ati-6.13.2

2011-01-16 Thread Mick
On Sunday 16 January 2011 15:18:50 Daniel Tihelka wrote:

 And the kernel seems to use them (when started with boot options
 'video=vesafb:ywrap,mtrr:3 vga=792'):

Dan, try removing uvesa/vesa/radeon/etc. framebuffer modules from your kernel 
and the above line too from grub when you boot and see if your KMS radeon 
driver can now work on its own.
-- 
Regards,
Mick


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


Re: [gentoo-user] Boost Openoffice

2011-01-16 Thread Philip Webb
110116 pk wrote:
 On 2011-01-16 06:50, Philip Webb wrote:
 Can anyone explain why the latest stable Openoffice can't use
 the latest stable slotted Boost(-build), which is used only for OO ?
 Perhaps the devs have tripped up slightly in the sequence of updates.
 eselect boost ?

That looks very relevant: thanks !

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




[gentoo-user] Re: Gnome problem (?)

2011-01-16 Thread walt

On 01/15/2011 11:17 PM, Victor Fragoso wrote:

Hello,

After upgrading xorg to 1.9 now Gnome is not able to start session. This is the 
message I get after login in using GDM

Protocol not supported by server.
xmodmap: unable to open display ':0'
which: no keychain in [PATH]

*** gnome-session: 32574: WARNING ** cannot open display

If I run startx, everything works no complaints.


I don't use gdm so all I can offer is the standard shotgun approach I would
use in the same circumstances.

First, did you run revdep-rebuild after updating?  I do that now every time
I update the system.

Second, I would re-emerge gdm.  Why?  Just because it's easy.

Third, the amount of gnome configuration data in your home directory is vast,
and some of it may be outdated.  For that reason I keep another user account
on each machine (I call him tester).  As root, I delete every gnome-related
directory in ~/tester so that he can start over from scratch with gnome when
he logs in.  Amazing how many times that has uncovered errors in my own home
directory.

Oh, actually I would first check your ~/.gnomerc-errors for anything helpful.
I find that file is always quite large even when everything seems perfect ;)




[gentoo-user] Near freezes during large emerges

2011-01-16 Thread Grant
I've been running without swap for quite a while, but my system goes
into a near freeze whenever I undertake a large emerge such as
chromium or openoffice.  Is there anything I can do to prevent this
besides turning swap back on?  I have 3GB RAM and MAKEOPTS=-j1.

- Grant



Re: [gentoo-user] Near freezes during large emerges

2011-01-16 Thread Volker Armin Hemmann
On Sunday 16 January 2011 11:25:06 Grant wrote:
 I've been running without swap for quite a while, but my system goes
 into a near freeze whenever I undertake a large emerge such as
 chromium or openoffice.  Is there anything I can do to prevent this
 besides turning swap back on?  I have 3GB RAM and MAKEOPTS=-j1.
 
 - Grant

no.

And turning off swap is not a good idea. Google for overcommitting and why it 
is bad to turn swap off.



Re: [gentoo-user] how to forbid dhcp for eth0

2011-01-16 Thread Valmor de Almeida
On 01/14/2011 10:39 AM, Kostya Sha. wrote:
 
 On 14.01.2011, at 12:41, Norman Rieß wrote:
 
 Am 01/14/11 06:33, schrieb doherty pete:
 when i start the kernel, it wait long time to dhcp for eth0:
 eth0:dhcped 4.0.15 starting
 eth0:waiting for carrier

 i want to forbid dhcp,how can i do?


 Hi,

 configure a static IP or bring up the interface without configuration
 with config_eth0=( null )

 If you do not want dhcp at all, unmerge dhcpcd.

 Regards,
 Norman

 lol,  
 1) What baselayout do you use?
 if the second then go to /usr/share/doc/openrc-*/net.example
 2) no need to unmerge, you could disable by modules_eth0=!dhcp (check 
 net.example i'm writing from head)

As it has been suggested in this list before. Dump all the
/etc/conf.d/net configuration stuff (including removing the
/etc/init.d/net.eth0 and net.wlan0 files) and just use wicd. It will
know when your machine is wired or not and will boot your system without
waiting for eth0.

--
Valmor



Re: [gentoo-user] config with wireless

2011-01-16 Thread Valmor de Almeida
On 01/15/2011 06:03 AM, doherty pete wrote:
 yeah!it can work,now,this is my configure:
 /etc/conf.d/net
 
 config_eth0=(null)
 
 modules=wpa_supplicant
 
 wpa_supplicant_wlan0=-Dwext
 
 config_wlan0=192.168.1.99 netmask 255.255.255.0
 
 routes_wlan0=default gw 192.168.1.1
 
 //etc/wpa_supplicant/wpa_supplicant.conf/
 /
 /
 /
 ctrl_interface=/var/run/wpa_supplicant
 
 ctrl_interface_group=0
 
 ap_scan=1
 
 network={
 ssid=huang
 proto=WPA2
 key_mgmt=WPA-PSK
 pairwise=CCMP TKIP
 group=CCMP TKIP
 psk=Xda111524*^
 }
 
 /
 
 2011/1/15 Zhu Sha Zang zhushaz...@yahoo.com.br
 mailto:zhushaz...@yahoo.com.br
 
 Em 14-01-2011 14:02, Mick escreveu:
 On 14 January 2011 15:24, doherty pete nishizaw...@gmail.com 
 mailto:nishizaw...@gmail.com wrote:
 i donn't known what different form wext and madwifi
 i just known my wireless is bcm4357...
 If there's a driver in the kernel for your wireless hardware, select
 it and use -Dwext.  The madwifi driver will work with particular
 wireless chipsets only (atheros).  If there is no wireless driver in
 Linux, then use ndiswrapper (you'll need to emerge it) and use the
 MSWindows driver with it - it may work.

 I'm using wpa with openrc:
 /
 [rodolfo@asgard ~]$ cat /etc/wpa_supplicant/wpa_supplicant.conf
 
 ctrl_interface=/var/run/wpa_supplicant
 ctrl_interface_group=0
 eapol_version=1
 
 ap_scan=2
 fast_reauth=1
 
 network={
 ssid=VALHALLA
 proto=RSN
 key_mgmt=WPA-PSK
 pairwise=CCMP TKIP
 group=CCMP TKIP
 psk=
 }/
 
 /[rodolfo@asgard ~]$ cat
 /etc/conf.d/net   

 
 modules=wpa_supplicant
 
 
 wpa_supplicant_wlan0=-Dwext
 wpa_timeout_wlan0=60
 
 config_wlan0=10.10.10.25 netmask 255.255.255.0
 routes_wlan0=default gw 10.10.10.1
 
 
 /And works well with /etc/init.d/net.wlan0 start (in boot too)
 
 Att
 /
 /
 
 
 
 
 -- 
 pete_doherty

Check the e-mail thread on this list with the subject:

   starting wlan0 only when wireless is turned on


http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg108144.html


Just dump all of the network config and use wicd.

--
Valmor





Re: [gentoo-user] Near freezes during large emerges

2011-01-16 Thread Daniel Troeder
On 01/16/2011 08:25 PM, Grant wrote:
 I've been running without swap for quite a while, but my system goes
 into a near freeze whenever I undertake a large emerge such as
 chromium or openoffice.  Is there anything I can do to prevent this
 besides turning swap back on?  I have 3GB RAM and MAKEOPTS=-j1.
 
 - Grant
 
The near freeze is probably the result from Linux' bad IO-scheduling.
I know the phenomena :(
I'm very much looking forward to some future changes in the kernel :)

For now it'll help to use ionice -c 3. This is the IO-equivalent to
nice -n 19.

$ ionice -c 3 emerge something

Bye,
Daniel


-- 
PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887op=get
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Near freezes during large emerges

2011-01-16 Thread Mark Knecht
On Sun, Jan 16, 2011 at 11:25 AM, Grant emailgr...@gmail.com wrote:
 I've been running without swap for quite a while, but my system goes
 into a near freeze whenever I undertake a large emerge such as
 chromium or openoffice.  Is there anything I can do to prevent this
 besides turning swap back on?  I have 3GB RAM and MAKEOPTS=-j1.

 - Grant



As Volker says, don't turn swap off. Make it small if you must, but
keep some around. It's just disk space.

I doubt swap has anything at all to do with this problem myself, but
it will be interesting to hear from others.

You don't say what sort of processor this machine has, nor what sort
of hard drives. Even on a very high-end machine I saw the symptoms you
report when I tried a 4K sector WD Green drive with the partitions
misaligned. Once properly aligned the machine worked as expected.

If this is a single processor machine and you're in the middle of a
big emerge then likely you're just going to lose interactivity. It's
the nature of the beast. You could try

PORTAGE_NICE=

in make.conf and possibly get some relief.

Cheers,
Mark



[gentoo-user] Re: No HW acceleraton on radeon Mobility X300 with linux-2.6.36-r5, mesa-7.9, xorg-server-1.9.2 and video-ati-6.13.2

2011-01-16 Thread Nikos Chantziaras

On 01/16/2011 05:18 PM, Daniel Tihelka wrote:

Hallo,

after update to 2.6.36-r5 kernel, xorg 1.9.2, mesa-7.9 and xf86-video-
ati-6.13.2 (all from gentoo portage), the hw graphics acceleration stopped
working. The problem seems to be in drm kernel module, as it is claimed by
X.org (the part of X.org log):

[...]

And the kernel seems to use them (when started with boot options
'video=vesafb:ywrap,mtrr:3 vga=792')


Remove the above and try this:

  video=vesafb:off radeon.modeset=1 radeon.dynpm=1

Then, try deleting your xorg.conf (if you have one) and do:

  eselect mesa set r300 gallium

Also make sure that mesa is emerged with the video_cards_r300 USE flag 
enabled.  video_cards_radeon is *not* enough.  Your make.conf should 
probably contain this:


  VIDEO_CARDS=fbdev vesa radeon r300

After changing this, try an emerge -auDN world and see if something 
needs to be rebuilt.





Re: [gentoo-user] Near freezes during large emerges

2011-01-16 Thread Grant
 I've been running without swap for quite a while, but my system goes
 into a near freeze whenever I undertake a large emerge such as
 chromium or openoffice.  Is there anything I can do to prevent this
 besides turning swap back on?  I have 3GB RAM and MAKEOPTS=-j1.

 - Grant

 The near freeze is probably the result from Linux' bad IO-scheduling.
 I know the phenomena :(
 I'm very much looking forward to some future changes in the kernel :)

 For now it'll help to use ionice -c 3. This is the IO-equivalent to
 nice -n 19.

 $ ionice -c 3 emerge something

 Bye,
 Daniel

Thanks Daniel, that got me through the chromium emerge without a single hiccup.

- Grant



Re: [gentoo-user] Near freezes during large emerges

2011-01-16 Thread Grant
 I've been running without swap for quite a while, but my system goes
 into a near freeze whenever I undertake a large emerge such as
 chromium or openoffice.  Is there anything I can do to prevent this
 besides turning swap back on?  I have 3GB RAM and MAKEOPTS=-j1.

 - Grant



 As Volker says, don't turn swap off. Make it small if you must, but
 keep some around. It's just disk space.

I thought swap was no longer necessary on a machine with sufficient
memory.  I guess I took I some bad advice a while back.

 I doubt swap has anything at all to do with this problem myself, but
 it will be interesting to hear from others.

 You don't say what sort of processor this machine has, nor what sort
 of hard drives. Even on a very high-end machine I saw the symptoms you
 report when I tried a 4K sector WD Green drive with the partitions
 misaligned. Once properly aligned the machine worked as expected.

It's a laptop with a dual-core 2.2ghz CPU.

 If this is a single processor machine and you're in the middle of a
 big emerge then likely you're just going to lose interactivity. It's
 the nature of the beast. You could try

 PORTAGE_NICE=

 in make.conf and possibly get some relief.

 Cheers,
 Mark

'onice -c 3 emerge -DuN world' ended up working great.

- Grant



Re: [gentoo-user] Near freezes during large emerges

2011-01-16 Thread Mark Knecht
On Sun, Jan 16, 2011 at 2:41 PM, Grant emailgr...@gmail.com wrote:
 I've been running without swap for quite a while, but my system goes
 into a near freeze whenever I undertake a large emerge such as
 chromium or openoffice.  Is there anything I can do to prevent this
 besides turning swap back on?  I have 3GB RAM and MAKEOPTS=-j1.

 - Grant



 As Volker says, don't turn swap off. Make it small if you must, but
 keep some around. It's just disk space.

 I thought swap was no longer necessary on a machine with sufficient
 memory.  I guess I took I some bad advice a while back.


I think the idea is never use swap if possible, but in a case where
you don't have swap space or run out of swap space I think it's still
possible to lose data. I no longer double memory in swap. In the old
days I did that. On this server I have 24GB or memory. It seems silly
to chew up 50GB of disk space for something that almost never gets
touched. If I see this machine swapping I turn something off, but I'm
the only user and here to watch what it's doing.


SNIP
 You don't say what sort of processor this machine has, nor what sort
 of hard drives. Even on a very high-end machine I saw the symptoms you
 report when I tried a 4K sector WD Green drive with the partitions
 misaligned. Once properly aligned the machine worked as expected.

 It's a laptop with a dual-core 2.2ghz CPU.


So -j1 is pretty safe. That's what I was wondering...

SNIP

 'onice -c 3 emerge -DuN world' ended up working great.

 - Grant

Yeah, I saw the response that got you there. Good info and good to
know it works.

Cheers,
Mark



Re: [gentoo-user] Near freezes during large emerges

2011-01-16 Thread Alan McKinnon
Apparently, though unproven, at 02:15 on Monday 17 January 2011, Mark Knecht 
did opine thusly:

[snip]

  As Volker says, don't turn swap off. Make it small if you must, but
  keep some around. It's just disk space.
  
  I thought swap was no longer necessary on a machine with sufficient
  memory.  I guess I took I some bad advice a while back.
 
 I think the idea is never use swap if possible, but in a case where
 you don't have swap space or run out of swap space I think it's still
 possible to lose data. I no longer double memory in swap. In the old
 days I did that. On this server I have 24GB or memory. It seems silly
 to chew up 50GB of disk space for something that almost never gets
 touched. If I see this machine swapping I turn something off, but I'm
 the only user and here to watch what it's doing.

The 2 x RAM rule is an ancient artifact that hasn't been true for, well for 
ages now. It came about because way back when you had to have swap to get 
anything done. The question is how much? The answer sucked out of someone's 
thumb was 2xRAM. This is a pretty useless generic value, but it was less 
useless than any other default.

Picking swap amounts is like picking a wife - there's no sane default. A 
modern desktop that swaps is unusable - enormous amounts of data has to be 
pulled back in from the drive. A web server that swaps is already thrashing so 
you always want to avoid that.

Besides, RAM is cheap and a server with 24G is common place. So is 4G on a 
notebook. So your viewpoint is completely correct.

The kernel does need some swap though - it needs wiggle room for when you DO 
run out of RAM, and a little bit of swap gives that. It also staves off that 
bastard demon spawn progeny of satan called the dreaded oom killer


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Near freezes during large emerges

2011-01-16 Thread William Kenworthy
On Sun, 2011-01-16 at 14:41 -0800, Grant wrote:
  I've been running without swap for quite a while, but my system goes
  into a near freeze whenever I undertake a large emerge such as
  chromium or openoffice.  Is there anything I can do to prevent this
  besides turning swap back on?  I have 3GB RAM and MAKEOPTS=-j1.
 
  - Grant
 
 
 
  As Volker says, don't turn swap off. Make it small if you must, but
  keep some around. It's just disk space.
 
 I thought swap was no longer necessary on a machine with sufficient
 memory.  I guess I took I some bad advice a while back.

The answer is that you have insufficient memory when emerging - hence
swap is necessary - turn it on!  ionice will help, but it is alleviating
symptoms of lack of swap, not curing it.  Downside in this case is
slower emerges and some will still be flaky.

You can use a temporary swapfile or swap over ndb for those special
cases if you have no swap partition.  Also check the tunable
parameter /proc/sys/vm/swappiness to force memory to swap, or to get the
kernel to be very reluctant to use swap - can give the benefits of no
swap, but still have a safety margin with a small penalty when running
low on memory.  google for /proc/sys/vm/swappiness

In short, swap is good, downside to swap is sometimes small pauses while
pages are swapped back in.  But not having swap forces the kernel to
have a large overhead in trying to manage a low memory situation when it
gets low such as during an emerge.  No swap is ok if you have a system
doing almost nothing, but with almost any normal use, 3G and no swap is
going to be trouble at times.

BillK






Re: [gentoo-user] Near freezes during large emerges

2011-01-16 Thread William Kenworthy
On Mon, 2011-01-17 at 03:08 +0200, Alan McKinnon wrote:
 Apparently, though unproven, at 02:15 on Monday 17 January 2011, Mark Knecht 
 did opine thusly:
 
 [snip]
 
   As Volker says, don't turn swap off. Make it small if you must, but
   keep some around. It's just disk space.
   
   I thought swap was no longer necessary on a machine with sufficient
   memory.  I guess I took I some bad advice a while back.
  
  I think the idea is never use swap if possible, but in a case where
  you don't have swap space or run out of swap space I think it's still
  possible to lose data. I no longer double memory in swap. In the old
  days I did that. On this server I have 24GB or memory. It seems silly
  to chew up 50GB of disk space for something that almost never gets
  touched. If I see this machine swapping I turn something off, but I'm
  the only user and here to watch what it's doing.
 
 The 2 x RAM rule is an ancient artifact that hasn't been true for, well for 
 ages now. It came about because way back when you had to have swap to get 
 anything done. The question is how much? The answer sucked out of someone's 
 thumb was 2xRAM. This is a pretty useless generic value, but it was less 
 useless than any other default.
 

There was in ye old unix days a good technical reason for 2xmemory for
swap - google didnt confirm it for me but I think old solaris used to
coredump memory to swap on a crash.

 Picking swap amounts is like picking a wife - there's no sane default. 

love the metaphor!

 A 
 modern desktop that swaps is unusable - enormous amounts of data has to be 
 pulled back in from the drive. A web server that swaps is already thrashing 
 so 
 you always want to avoid that.
 
 Besides, RAM is cheap and a server with 24G is common place. So is 4G on a 
 notebook. So your viewpoint is completely correct.
 
 The kernel does need some swap though - it needs wiggle room for when you DO 
 run out of RAM, and a little bit of swap gives that. It also staves off that 
 bastard demon spawn progeny of satan called the dreaded oom killer
 

There is one case where ~2xram is still a good idea - when hibernating
to swap using (in my case) tuxonice - 2xram gives a reasonable safety
margin for hibernation plus existing swap contents.

BillK


-- 
William Kenworthy bi...@iinet.net.au
Home in Perth!




Re: [gentoo-user] Near freezes during large emerges

2011-01-16 Thread Mark Knecht
On Sun, Jan 16, 2011 at 5:13 PM, William Kenworthy bi...@iinet.net.au wrote:
 On Sun, 2011-01-16 at 14:41 -0800, Grant wrote:
  I've been running without swap for quite a while, but my system goes
  into a near freeze whenever I undertake a large emerge such as
  chromium or openoffice.  Is there anything I can do to prevent this
  besides turning swap back on?  I have 3GB RAM and MAKEOPTS=-j1.
 
  - Grant
 
 
 
  As Volker says, don't turn swap off. Make it small if you must, but
  keep some around. It's just disk space.

 I thought swap was no longer necessary on a machine with sufficient
 memory.  I guess I took I some bad advice a while back.

 The answer is that you have insufficient memory when emerging - hence
 swap is necessary - turn it on!  ionice will help, but it is alleviating
 symptoms of lack of swap, not curing it.  Downside in this case is
 slower emerges and some will still be flaky.


I think that's well worded. He has insufficient memory when emerging.

If he's really running short of DRAM Then he might also do well to
boot to a console and do his emerges there. No memory given over to
other things like KDE or browsers, etc.

I am a bit surprised though that a -j1 type emerge would be running
out of memory on a 3GB machine. I just finished emerge updates on a
desktop with 4GB and only used 2.5GB which includes KDE, FIrefox and a
number of other things:

mark@firefly ~ $ top
top - 17:24:12 up  1:58,  3 users,  load average: 1.01, 1.03, 0.91
Tasks: 121 total,   1 running, 120 sleeping,   0 stopped,   0 zombie
Cpu(s):  1.0%us,  0.6%sy,  0.0%ni, 98.4%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   3851008k total,  2466316k used,  1384692k free,   351200k buffers
Swap:  8393924k total,0k used,  8393924k free,  1316212k cached


- Mark



Re: [gentoo-user] Near freezes during large emerges

2011-01-16 Thread Neil Bothwick
On Sun, 16 Jan 2011 14:41:24 -0800, Grant wrote:

 'onice -c 3 emerge -DuN world' ended up working great.

Or you can set PORTAGE_IONICE_COMMAND in make.conf to make it a default.

-- 
Neil Bothwick

Vuja De: the feeling that you've never been here before.


signature.asc
Description: PGP signature


Re: [gentoo-user] config with wireless

2011-01-16 Thread Zhu Sha Zang
Em 16-01-2011 18:29, Valmor de Almeida escreveu:
 On 01/15/2011 06:03 AM, doherty pete wrote:
 yeah!it can work,now,this is my configure:
 /etc/conf.d/net

 config_eth0=(null)

 modules=wpa_supplicant

 wpa_supplicant_wlan0=-Dwext

 config_wlan0=192.168.1.99 netmask 255.255.255.0

 routes_wlan0=default gw 192.168.1.1

 //etc/wpa_supplicant/wpa_supplicant.conf/
 /
 /
 /
 ctrl_interface=/var/run/wpa_supplicant

 ctrl_interface_group=0

 ap_scan=1

 network={
 ssid=huang
 proto=WPA2
 key_mgmt=WPA-PSK
 pairwise=CCMP TKIP
 group=CCMP TKIP
 psk=Xda111524*^
 }

 /

 2011/1/15 Zhu Sha Zang zhushaz...@yahoo.com.br
 mailto:zhushaz...@yahoo.com.br

 Em 14-01-2011 14:02, Mick escreveu:
 On 14 January 2011 15:24, doherty pete nishizaw...@gmail.com 
 mailto:nishizaw...@gmail.com wrote:
 i donn't known what different form wext and madwifi
 i just known my wireless is bcm4357...
 If there's a driver in the kernel for your wireless hardware, select
 it and use -Dwext.  The madwifi driver will work with particular
 wireless chipsets only (atheros).  If there is no wireless driver in
 Linux, then use ndiswrapper (you'll need to emerge it) and use the
 MSWindows driver with it - it may work.

 I'm using wpa with openrc:
 /
 [rodolfo@asgard ~]$ cat /etc/wpa_supplicant/wpa_supplicant.conf

 ctrl_interface=/var/run/wpa_supplicant
 ctrl_interface_group=0
 eapol_version=1

 ap_scan=2
 fast_reauth=1

 network={
 ssid=VALHALLA
 proto=RSN
 key_mgmt=WPA-PSK
 pairwise=CCMP TKIP
 group=CCMP TKIP
 psk=
 }/

 /[rodolfo@asgard ~]$ cat
 /etc/conf.d/net  
 

 modules=wpa_supplicant


 wpa_supplicant_wlan0=-Dwext
 wpa_timeout_wlan0=60

 config_wlan0=10.10.10.25 netmask 255.255.255.0
 routes_wlan0=default gw 10.10.10.1


 /And works well with /etc/init.d/net.wlan0 start (in boot too)

 Att
 /
 /




 -- 
 pete_doherty
 Check the e-mail thread on this list with the subject:

starting wlan0 only when wireless is turned on


 http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg108144.html


 Just dump all of the network config and use wicd.

 --
 Valmor



I think that this software, wicd, is just to ubuntu's users not to
Gentoo. If work without gui,, why i need a gui?

Att





Re: [gentoo-user] Near freezes during large emerges

2011-01-16 Thread William Kenworthy
On Sun, 2011-01-16 at 17:26 -0800, Mark Knecht wrote:
 On Sun, Jan 16, 2011 at 5:13 PM, William Kenworthy bi...@iinet.net.au wrote:
  On Sun, 2011-01-16 at 14:41 -0800, Grant wrote:
...
 
 I think that's well worded. He has insufficient memory when emerging.
 
 If he's really running short of DRAM Then he might also do well to
 boot to a console and do his emerges there. No memory given over to
 other things like KDE or browsers, etc.
 
 I am a bit surprised though that a -j1 type emerge would be running
 out of memory on a 3GB machine. I just finished emerge updates on a
 desktop with 4GB and only used 2.5GB which includes KDE, FIrefox and a
 number of other things:
 

I have a diskless 3GB ram atom system (mythtv frontend) and I have to
arrange swap over nbd for gcc and glibc emerges - others just get very
slow when getting to limits, or get flaky unless -j1 is used.  Havent
tried OO on it yet :)

BillK






Re: [gentoo-user] invalid argument when trying to modprobe nvidia module

2011-01-16 Thread Dale

Peter Humphrey wrote:

On Sunday 16 January 2011 12:13:54 Adam Carter wrote:

   

The no kernel config error sounds more like you havent done make
oldconfig/menuconfig whatever to create the .config file.
 

In fact that isn't it. I've copied the .config from /boot, run make
oldconfig, compiled the kernel and copied it to /boot. Still nvidia-
drivers won't compile, apparently because /usr/src/linux points to a
kernel other than the running one.

   


I haven't rebooted yet but I did point the symlink to the new kernel.  I 
can emerge nvidia here with no problems.  It noticed it was pointing to 
the new kernel and installed them correctly.  I'll reboot here in a bit 
and see what happens.


Dale

:-)  :-)



Re: [gentoo-user] invalid argument when trying to modprobe nvidia module

2011-01-16 Thread Dale

Dale wrote:

Peter Humphrey wrote:

On Sunday 16 January 2011 12:13:54 Adam Carter wrote:


The no kernel config error sounds more like you havent done make
oldconfig/menuconfig whatever to create the .config file.

In fact that isn't it. I've copied the .config from /boot, run make
oldconfig, compiled the kernel and copied it to /boot. Still nvidia-
drivers won't compile, apparently because /usr/src/linux points to a
kernel other than the running one.



I haven't rebooted yet but I did point the symlink to the new kernel.  
I can emerge nvidia here with no problems.  It noticed it was pointing 
to the new kernel and installed them correctly.  I'll reboot here in a 
bit and see what happens.


Dale

:-)  :-)



OK.  I just rebooted.  When I booted, xdm started and the nvidia drivers 
worked fine.  I was still running the old kernel when I built the new 
one.  Peter, you got something weird going on with your system?


Dale

:-)  :-)



Re: [gentoo-user] config with wireless

2011-01-16 Thread Willie Wong
On Sun, Jan 16, 2011 at 11:27:27PM -0200, Zhu Sha Zang wrote:
 I think that this software, wicd, is just to ubuntu's users not to
 Gentoo. 

You are in the minority. Many on this list (including me) use wicd for
desktop/laptop use. 

 If work without gui,, why i need a gui?

wicd doesn't require a GUI. It has a CLI interface and a curses one (I
prefer to use the curses interface myself), in addition to the GTK
one. Which you install can be controlled by USE. 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] invalid argument when trying to modprobe nvidia module

2011-01-16 Thread covici
Dale rdalek1...@gmail.com wrote:

 Peter Humphrey wrote:
  On Sunday 16 January 2011 12:13:54 Adam Carter wrote:
 
 
  The no kernel config error sounds more like you havent done make
  oldconfig/menuconfig whatever to create the .config file.
   
  In fact that isn't it. I've copied the .config from /boot, run make
  oldconfig, compiled the kernel and copied it to /boot. Still nvidia-
  drivers won't compile, apparently because /usr/src/linux points to a
  kernel other than the running one.
 
 
 
 I haven't rebooted yet but I did point the symlink to the new kernel.
 I can emerge nvidia here with no problems.  It noticed it was pointing
 to the new kernel and installed them correctly.  I'll reboot here in a
 bit and see what happens.
 
Getting back to the original, I tried with 2.6.37 and it didn't work
either, but my 2.6.30 works fine with the same drivers.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] invalid argument when trying to modprobe nvidia module

2011-01-16 Thread Dale

cov...@ccs.covici.com wrote:

Dalerdalek1...@gmail.com  wrote:

   

Peter Humphrey wrote:
 

On Sunday 16 January 2011 12:13:54 Adam Carter wrote:


   

The no kernel config error sounds more like you havent done make
oldconfig/menuconfig whatever to create the .config file.

 

In fact that isn't it. I've copied the .config from /boot, run make
oldconfig, compiled the kernel and copied it to /boot. Still nvidia-
drivers won't compile, apparently because /usr/src/linux points to a
kernel other than the running one.


   

I haven't rebooted yet but I did point the symlink to the new kernel.
I can emerge nvidia here with no problems.  It noticed it was pointing
to the new kernel and installed them correctly.  I'll reboot here in a
bit and see what happens.

 

Getting back to the original, I tried with 2.6.37 and it didn't work
either, but my 2.6.30 works fine with the same drivers.

   


I'm using nvidia-drivers-260.19.29 on kernel 2.6.37-gentoo and it is 
working fine so far.  It booted and X is working.


Could there be something amiss in the kernel config?  I ran into 
problems a while back.  It was missing the option CONFIG_SYSVIPC in the 
kernel.  You got that built in?


Dale

:-)  :-)



[gentoo-user] lilo wants to re-assign volume ID on external USB device

2011-01-16 Thread Walter Dnes
  I have an older 1-gig MP3 player with a USB interface that plugs into
a PC and looks like a mass-storage device.  It also recharges the
internal battery from the USB port.  I had it plugged in when I made a
tweak to my kernel, and ran lilo to update the boot process for the new
kernel.  I got the following message...

===
Reference:  disk /dev/sdc  (8,32)  0820

LILO wants to assign a new Volume ID to this disk drive.  However, changing
the Volume ID of a Windows NT, 2000, or XP boot disk is a fatal Windows error.
This caution does not apply to Windows 95 or 98, or to NT data disks.

Is the above disk an NT boot disk? [Y/n]^C
===

  I hit {CTRL-C} to stop it.  Then I unplugged the MP3 player, and ran
lilo without incident.  Was lilo actually intending to physically write
to /dev/sdc?  BTW, here's the output of fdisk -l.  The MP3 player is
listed at the end.

===
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x9ba53901

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   1  121601   9767600015  Extended
/dev/sda5   1  33  265009+  83  Linux
/dev/sda6  341209 9446188+  82  Linux swap /
Solaris
/dev/sda71210  121601   967048708+  83  Linux

Disk /dev/sdc: 1041 MB, 1041367040 bytes
227 heads, 56 sectors/track, 160 cylinders
Units = cylinders of 12712 * 512 = 6508544 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x

   Device Boot  Start End  Blocks   Id  System
/dev/sdc1   *   1 160 1016932b  W95 FAT32


-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] invalid argument when trying to modprobe nvidia module

2011-01-16 Thread covici
Dale rdalek1...@gmail.com wrote:

 cov...@ccs.covici.com wrote:
  Dalerdalek1...@gmail.com  wrote:
 
 
  Peter Humphrey wrote:
   
  On Sunday 16 January 2011 12:13:54 Adam Carter wrote:
 
 
 
  The no kernel config error sounds more like you havent done make
  oldconfig/menuconfig whatever to create the .config file.
 
   
  In fact that isn't it. I've copied the .config from /boot, run make
  oldconfig, compiled the kernel and copied it to /boot. Still nvidia-
  drivers won't compile, apparently because /usr/src/linux points to a
  kernel other than the running one.
 
 
 
  I haven't rebooted yet but I did point the symlink to the new kernel.
  I can emerge nvidia here with no problems.  It noticed it was pointing
  to the new kernel and installed them correctly.  I'll reboot here in a
  bit and see what happens.
 
   
  Getting back to the original, I tried with 2.6.37 and it didn't work
  either, but my 2.6.30 works fine with the same drivers.
 
 
 
 I'm using nvidia-drivers-260.19.29 on kernel 2.6.37-gentoo and it is
 working fine so far.  It booted and X is working.
 
 Could there be something amiss in the kernel config?  I ran into
 problems a while back.  It was missing the option CONFIG_SYSVIPC in
 the kernel.  You got that built in?
 
 Dale
 
 :-)  :-)
Yep, its in there.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] Firmware loading problem

2011-01-16 Thread meino . cramer

Hi,

I have a 

bttv0: detected: AVermedia AverTV DVB-T 771 [card=123], PCI subsystem ID is 
1461:0771

dvb-t card installed in my PC.

I am running a vanilla linux kernel version 2.6.37 .

Furthermore in

/lib/firmware

there is a folder called

av7110

which I think contains the firmware for that card.

I read, that I need hotplug to load this firmware while booting.

I did a 

emerge hotplug

which runs fine but gave me warning that I should emerge coldplug.

Ok, so I did an additional

emerge coldplug 

which fails with

solfire:/home/mccramersudo emerge coldplug
Calculating dependencies... done!
[ebuild  N] sys-apps/coldplug-20040920-r1
[blocks B ] sys-apps/coldplug (sys-apps/coldplug is blocking 
sys-fs/udev-151-r4)
[blocks B ] =sys-fs/udev-089 (=sys-fs/udev-089 is blocking 
sys-apps/coldplug-20040920-r1)

* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.

(sys-apps/coldplug-20040920-r1, ebuild scheduled for merge) pulled in by
coldplug


If I understand this correctly, I have to downgrade udev from udev-151
down to udev-089 to be able to install coldplug.

Is this really needed? How can I install the firmware?

Thank you very much in advance for any help!

Best regards,
mcc





Re: [gentoo-user] Left hand yes, right hand no

2011-01-16 Thread Mike Edenfield
On Sun, 2011-01-16 at 12:33 +, Peter Humphrey wrote:
 On Sunday 16 January 2011 12:19:38 Peter Ruskin wrote:
 
  http://bugs.gentoo.org/show_bug.cgi?id=351829
 
 So it is. That was quick. I don't agree with his suggestion, which seems 
 to imply requiring all KDE systems to be built with +accessibility, like 
 it or not.
 
Not exactly.  His suggestion is that everything should have the same
defaults.  Some qt packages default to +accessibility, others default to
-accessibility. Then there's a third group that depends packages from
both groups having consistent US flags, meaning you're forced to set the
USE flag (either + or -) on at least one package or your build fails.

Since +accessibility doesn't appear to pull in any extra packages, just
enable some extra Qt widgets to be built, I don't really see any reason
it should *default* to off.  You could globally set USE=-accessibility
if you really don't like it.

--Mike




Re: [gentoo-user] Firmware loading problem

2011-01-16 Thread Daniel Pielmeier
2011/1/17  meino.cra...@gmx.de:
 I am running a vanilla linux kernel version 2.6.37 .

 Furthermore in

    /lib/firmware

 there is a folder called

    av7110

 which I think contains the firmware for that card.

I don't think this card needs a firmware. You just enabled to much dvb
related stuff in your kernel configuration which results in the
creation of this folder. I need the av7110 stuff here for my FF DVB-S
card.

What problem do you have with this card, normally dmesg should spit
something out if there is firmware missing.

 I read, that I need hotplug to load this firmware while booting.

 I did a

    emerge hotplug

 which runs fine but gave me warning that I should emerge coldplug.

 Ok, so I did an additional

    emerge coldplug

 which fails with

    solfire:/home/mccramersudo emerge coldplug
    Calculating dependencies... done!
    [ebuild  N    ] sys-apps/coldplug-20040920-r1
    [blocks B     ] sys-apps/coldplug (sys-apps/coldplug is blocking 
 sys-fs/udev-151-r4)
    [blocks B     ] =sys-fs/udev-089 (=sys-fs/udev-089 is blocking 
 sys-apps/coldplug-20040920-r1)

    * Error: The above package list contains packages which cannot be
    * installed at the same time on the same system.

    (sys-apps/coldplug-20040920-r1, ebuild scheduled for merge) pulled in by
        coldplug


 If I understand this correctly, I have to downgrade udev from udev-151
 down to udev-089 to be able to install coldplug.

 Is this really needed? How can I install the firmware?

I think the functionality from hot- and coldplug is now provided by
udev thus the blocker.

-- 
Daniel Pielmeier