Re: [gentoo-user] tuxonice : suspend/resume via button on keyboard?

2008-08-24 Thread liu shukui
Finally I got this message

tux tuxonice # hibernate
root=/dev/sda2 ro resume=file:/dev/sda2:0x143018
/usr/share/hibernate/scriptlets.d/suspend2: line 525: echo: write
error: Device or resource busy
tux tuxonice #

tux tuxonice # hibernate--version
Hibernate Script 1.99
tux tuxonice #



On Sun, Aug 24, 2008 at 10:16 AM, Iain Buchanan [EMAIL PROTECTED] wrote:
 On Sat, 23 Aug 2008 16:47:48 +0800 liu shukui
 [EMAIL PROTECTED] wrote:

 And what about suspend-to-disk?
 As far as I know, it dosen't work!

 doesn't work at all or doesn't work for you?

 The tuxonice-users ml is very good for help - the author is very
 helpful.  Also, add yourself to the cc list:
 http://bugs.gentoo.org/show_bug.cgi?id=222113 to give it some weight.
 You can put the ebuild in your local overlay (as I have) to get
 hibernate-script-1.99

 HTH,
 --
 Iain Buchanan [EMAIL PROTECTED]

 I believe a little incompatibility is the spice of life, particularly
 if he has income and she is pattable.
-- Ogden Nash





Re: [gentoo-user] tuxonice : suspend/resume via button on keyboard?

2008-08-24 Thread liu shukui
it is the same as

http://lists.tuxonice.net/lurker/message/20071031.021635.dde5b7a4.en.html#tuxonice-users
On Sun, Aug 24, 2008 at 2:24 PM, liu shukui [EMAIL PROTECTED] wrote:
 Finally I got this message

 tux tuxonice # hibernate
 root=/dev/sda2 ro resume=file:/dev/sda2:0x143018
 /usr/share/hibernate/scriptlets.d/suspend2: line 525: echo: write
 error: Device or resource busy
 tux tuxonice #

 tux tuxonice # hibernate--version
 Hibernate Script 1.99
 tux tuxonice #



 On Sun, Aug 24, 2008 at 10:16 AM, Iain Buchanan [EMAIL PROTECTED] wrote:
 On Sat, 23 Aug 2008 16:47:48 +0800 liu shukui
 [EMAIL PROTECTED] wrote:

 And what about suspend-to-disk?
 As far as I know, it dosen't work!

 doesn't work at all or doesn't work for you?

 The tuxonice-users ml is very good for help - the author is very
 helpful.  Also, add yourself to the cc list:
 http://bugs.gentoo.org/show_bug.cgi?id=222113 to give it some weight.
 You can put the ebuild in your local overlay (as I have) to get
 hibernate-script-1.99

 HTH,
 --
 Iain Buchanan [EMAIL PROTECTED]

 I believe a little incompatibility is the spice of life, particularly
 if he has income and she is pattable.
-- Ogden Nash






Re: [gentoo-user] Gentoo x86 to AMD64

2008-08-24 Thread Anthony Metcalf
Alan McKinnon wrote:
 On Friday 22 August 2008 17:48:32 Anthony Metcalf wrote:
   
 What about re-building every single package, and re-installing it isn't a
 complete -reinstall?

  I can understand that this wouldn't work without the re-boot to live cd
 step, as you would end up with incompatible libraries/binaries, and with a
 32bit kernel trying to run 64bit apps and crap.but this should avoid
 all that, with minimal downtime.
 

 Looks easy right?

 So, what tool chain on this 32 bit machine are you going to use to build the 
 64 bit binaries you actually want to output?

 You know you are going to do heaps of setup actions, build a new tool chain 
 then essentially do emerge -e world.

 Much easier to just copy stuff off a 64-bit stage3 then do emerge -e world.

   
Easier, probably, but I am bothered about downtime on this machine too,
it doesn't do anything vital, but it is a mail server..From other
responses though, it looks like it may be better to just get VMWare
accepting that it is running on a 64bit CPU..

Thanks for all the rsponses!





signature.asc
Description: PGP signature


Re: [gentoo-user] Gentoo x86 to AMD64

2008-08-24 Thread Volker Armin Hemmann
On Sonntag, 24. August 2008, Anthony Metcalf wrote:
 Alan McKinnon wrote:
  On Friday 22 August 2008 17:48:32 Anthony Metcalf wrote:
  What about re-building every single package, and re-installing it isn't
  a complete -reinstall?
 
   I can understand that this wouldn't work without the re-boot to live cd
  step, as you would end up with incompatible libraries/binaries, and with
  a 32bit kernel trying to run 64bit apps and crap.but this should
  avoid all that, with minimal downtime.
 
  Looks easy right?
 
  So, what tool chain on this 32 bit machine are you going to use to build
  the 64 bit binaries you actually want to output?
 
  You know you are going to do heaps of setup actions, build a new tool
  chain then essentially do emerge -e world.
 
  Much easier to just copy stuff off a 64-bit stage3 then do emerge -e
  world.

 Easier, probably, but I am bothered about downtime on this machine too,
 it doesn't do anything vital, but it is a mail server..From other
 responses though, it looks like it may be better to just get VMWare
 accepting that it is running on a 64bit CPU..

 Thanks for all the rsponses!

why downtime? just create a directory, install the 64bit gentoo in that 
directory. Tar everything up, boot from livecd, untar the tar into the old 
system. Done. Downtime depends on the speed of your harddisks. Something 
between 5 and 30minutes. Top.

Btw, why mailserver?




[gentoo-user] trying to run firefox

2008-08-24 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I just did a emerge --update of firefox, and while that seemed to emerge with no
errors, when I tried to run it, it tells me it can't load the XRE functions.
This doesn't mean anything to me; does anyone know what that refers to, and how
I might clear it up?

BTW, the earlier version I'd had in, of portage's firefox, worked fine.  I CAN
say that, just previous to trying the update of firefox, I updated my gnome.
That required a great deal of installation of dependencies (probably more, all
told, that 100 packages) but worked fine and executes fine.  However, perhaps
some part of that is what hid my XRE functions?
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkixjP4ACgkQz62J6PPcoOm4lQCeJBzQejA9UyNGcf2A3aAXGUyn
AMAAniW+O0scHh0uMjWr5GviDwdkN941
=+/fD
-END PGP SIGNATURE-



Re: [gentoo-user] How to disable the display power save mode

2008-08-24 Thread Mick
On Friday 22 August 2008, Zhou Rui wrote:
 2008/8/21 Neil Bothwick [EMAIL PROTECTED]:
  On Thu, 21 Aug 2008 11:25:39 +0200, Volker Armin Hemmann wrote:
  xset -dpms
 
  Or, if using a virtual console and not X,
 
  setterm -blank 0

 Yes, the command below worked:

 setterm -blank 0 -powersave off

Or if you want to save the planet you could just press Alt every time you want 
to wake up the console screen - it works over here.
-- 
Regards,
Mick


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


[gentoo-user] Re: building kde-meta

2008-08-24 Thread James
Alan McKinnon alan.mckinnon at gmail.com writes:


  Or, am I getting something wrong in understanding what an app labeled with
  i18n would mean?


 So it's only pulled in if you have the nls USE flag set. Engligh-speaking 
 Americans probably have no need for this, and can unset it


Interesting,

I have a minimalistic server with X for displaying via rrdtools, postgresql
jffnms and a few other basics. It allows technicians to view network 
performance but not make any changes (that's my job).

I do not have nls set in /etc/make.conf

but if I put -nsl into /etc/make.conf

it wants to rebuild lots of fots, acl pam shadow bash  fonts and 
many other packages. 

Less is better with this server that is only used by a few technician
to view network status, related to their responsibilities.

Is is OK (a good idea) to place -nsl into the make.conf settings?


They all speak/write (us) English very well, and it is the
only language support needed.

???


James







Re: [gentoo-user] googleearth

2008-08-24 Thread Matthew R. Lee
On Monday 11 August 2008 19:46:22 Dale wrote:
 Matthew R. Lee wrote:
  Google earth upgraded over the weekend to version 4.2.205.5730. It
  installed fine but it runs like shit. The rendering is so slow as to be
  completely unusable. The previous version worked fine so I tried to go
  back to it but it's gone, at least according to eix.
  Anybody else having the same problem? Nobody's mentioned it on this list
  or on the forums sofar.
  Where do I start to find a solution?
  Hardware: Compaq Presario V5000 laptop
  Precessor: Celeron M 1.46GHz
  RAM: 2GB
  Graphics: Intel 945GM/GMS Express Integrated Graphics Controller
 
  Saludos
  Matt

 Well, I'm not going to lock myself into a agreement but you can try
 starting here:  http://earth.google.com/download-earth.html  I would
 start close to the bottom where it says this:  Download the previous
 version.  That may help.  It may go back a little farther or you may
 want to try moving to a even newer version where your issue may be fixed.

 Hope that helps.  Just wish I could get off this stinking dial-up so I
 can play with it too.  :-(

 Dale

 :-)  :-)

Just a follow up to this short thread. Sorry it's been a couple of weeks but 
I've been away doing field work. The problem with the new version of google 
earth is the atmosphere. Rendering thin air appears to be a resource hog. To 
restore normal function, deselect Atmosphere in the view menu.
Saludos
Matt

-- 
%%%
Dr. Matthew R. Lee
Instituto Biologia Marina 'Jurgen Winter'
Universidad Austral de Chile
Campus Isla Teja
Valdivia

[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%



Re: [gentoo-user] Re: building kde-meta

2008-08-24 Thread Philip Webb
080824 James wrote:
 Is is OK (a good idea) to place -nsl into the make.conf settings?
 They all speak/write (us) English very well
 and it is the only language support needed.

I've had '-nls' in  make.conf  for a long time with  LANG = en_US.UTF-8 .
The latter allows apps to show Russian, Chinese, Esperanto etc ,
while AFAIK the former disables non-English help files etc.
BTW the best way to set up  make.conf  is to have
 USE=-* then add all the flags you positively need here .

So the short answer is Yes (smile).

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




Re: [gentoo-user] How to disable the display power save mode

2008-08-24 Thread Zhou Rui
2008/8/25 Mick [EMAIL PROTECTED]:
 On Friday 22 August 2008, Zhou Rui wrote:
 2008/8/21 Neil Bothwick [EMAIL PROTECTED]:
  On Thu, 21 Aug 2008 11:25:39 +0200, Volker Armin Hemmann wrote:
  xset -dpms
 
  Or, if using a virtual console and not X,
 
  setterm -blank 0

 Yes, the command below worked:

 setterm -blank 0 -powersave off

 Or if you want to save the planet you could just press Alt every time you want
 to wake up the console screen - it works over here.
 --
 Regards,
 Mick


You know, I'm testing some application would crash the system, so I need get
the last output on console. If sometimes it turned blank, I have no
chance to wake
it up...

-- 
BR,
Zhou Rui



Re: [gentoo-user] How to disable the display power save mode

2008-08-24 Thread Mick
On Monday 25 August 2008, Zhou Rui wrote:
 2008/8/25 Mick [EMAIL PROTECTED]:

  Or if you want to save the planet you could just press Alt every time you
  want to wake up the console screen - it works over here.


 You know, I'm testing some application would crash the system, so I need
 get the last output on console. If sometimes it turned blank, I have no
 chance to wake
 it up...

I understand.  Did you try pressing the 'Alt' key, it wakes my console screen 
up alright.
-- 
Regards,
Mick


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


Re: [gentoo-user] How to disable the display power save mode

2008-08-24 Thread Zhu Sha Zang

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Volker Armin Hemmann escreveu:
| On Donnerstag, 21. August 2008, Zhou Rui wrote:
| Hi,
| After install the basic gentoo system, the monitor will turn to black
| after a few munites,
| but I'm running some program and I have to watch the output in console.
| So how to keep my display always alive, I did some google but cannot
| find answer (maybe
| my keyword is not effactive)...
|
| Thanks.
|
| xset -dpms
|
| xset --help for more cool options.
|
|
|
Some thing occour that this xset -dpms don't work into my fluxbox 
enviroment.

Anyone has had this problem too?

Thanks for now?
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiyBGgACgkQbLyL8mxGP9RW8wCgyJWELbMwVCDQa6sy2kV8kLLt
/88AoKMj7orJ77KodKYpRd8VI8iu6zuo
=Dr+/
-END PGP SIGNATURE-



Re: [gentoo-user] Re: building kde-meta

2008-08-24 Thread Dale

James wrote:

Interesting,

I have a minimalistic server with X for displaying via rrdtools, postgresql
jffnms and a few other basics. It allows technicians to view network 
performance but not make any changes (that's my job).


I do not have nls set in /etc/make.conf

but if I put -nsl into /etc/make.conf

it wants to rebuild lots of fots, acl pam shadow bash  fonts and 
many other packages. 


Less is better with this server that is only used by a few technician
to view network status, related to their responsibilities.

Is is OK (a good idea) to place -nsl into the make.conf settings?


They all speak/write (us) English very well, and it is the
only language support needed.

???


James


  


I have had -nls in my make.conf for quite a while.  No problems so far.  
English only speaker here.


Dale

:-)  :-)



Re: [gentoo-user] adsl, pptp, iptables

2008-08-24 Thread Stroller


On 23 Aug 2008, at 21:09, Andrew Gaydenko wrote:

...
1. eth0 IP address,
2. adsl modem IP address eth0 is connected with,
3. dedicated IP address for ppp0 interface after connecting to...
4. ... provider's pptp server with another, fourth, IP address.


Could you try explaining this again, please?

The adsl modem will not be connected with eth0, because the ADSL  
modem will (surely?) be ppp0.



The aim is to close all incoming traffic except for, say, httpd port.



As I'm reading it you can simply firewall all unsolicited incoming on  
ppp0 - ignoring all other interfaces - then open port 80. But since  
your explanation doesn't make sense I can't be sure I'm not missing  
something.


Stroller.