[gentoo-user] xscreensaver compilation failed

2008-11-03 Thread Ducky
Hello,

My xscreensaver failed to build. Not sure what's wrong. I've tried
versions starting from 5.05.

[ebuild  N] x11-misc/xscreensaver-5.07  USE="jpeg opengl pam suid
xinerama -new-login" 0 kB

I tried to disable each options, it didn't help much.

It failed at econf.

...
config.status: creating driver/XScreenSaver.ad
config.status: creating config.h
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
config.status: error: po/Makefile.in.in was not created by intltoolize.
...
...
 *
 * ERROR: x11-misc/xscreensaver-5.07 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2950:  Called econf
'--with-x-app-defaults=/usr/share/X11/app-defaults'
'--with-hackdir=/usr/lib/misc/xscreensaver'
'--with-configdir=/usr/share/xscreensaver/config'
'--x-libraries=/usr/lib' '--x-includes=/usr/include' '--with-dpms-ext'
'--with-xf86vmode-ext' '--with-xf86gamma-ext' '--with-randr-ext'
'--with-proc-interrupts' '--with-xpm' '--with-xshm-ext'
'--with-xdbe-ext' '--enable-locking' '--without-kerberos'
'--without-gle' '--with-gtk' '--with-pixbuf' '--with-setuid-hacks'
'--without-login-manager' '--with-xinerama-ext' '--with-pam'
'--without-gl' '--with-jpeg'
 * ebuild.sh, line  525:  Called die
 * The specific snippet of code:
 * die "econf failed"
 * The die message:
 * econf failed
 *
 * If you need support, post the topmost build error, and the call
stack if relevant.
 * A complete build log is located at
'/var/tmp/portage/x11-misc/xscreensaver-5.07/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/x11-misc/xscreensaver-5.07/temp/environment'.
 *

Any idea?

Thanks,
-- 
./D



Re: [gentoo-user] xscreensaver compilation failed

2008-11-03 Thread Jeremy McSpadden
On Mon, 2008-11-03 at 16:01 +0800, Ducky wrote:

> Hello,
> 
> My xscreensaver failed to build. Not sure what's wrong. I've tried
> versions starting from 5.05.
> 
> [ebuild  N] x11-misc/xscreensaver-5.07  USE="jpeg opengl pam suid
> xinerama -new-login" 0 kB
> 
> I tried to disable each options, it didn't help much.
> 
> It failed at econf.
> 
> ...
> config.status: creating driver/XScreenSaver.ad
> config.status: creating config.h
> config.status: executing default-1 commands
> config.status: executing po/stamp-it commands
> config.status: error: po/Makefile.in.in was not created by intltoolize.
> ...
> ...
>  *
>  * ERROR: x11-misc/xscreensaver-5.07 failed.
>  * Call stack:
>  * ebuild.sh, line   49:  Called src_compile
>  * environment, line 2950:  Called econf
> '--with-x-app-defaults=/usr/share/X11/app-defaults'
> '--with-hackdir=/usr/lib/misc/xscreensaver'
> '--with-configdir=/usr/share/xscreensaver/config'
> '--x-libraries=/usr/lib' '--x-includes=/usr/include' '--with-dpms-ext'
> '--with-xf86vmode-ext' '--with-xf86gamma-ext' '--with-randr-ext'
> '--with-proc-interrupts' '--with-xpm' '--with-xshm-ext'
> '--with-xdbe-ext' '--enable-locking' '--without-kerberos'
> '--without-gle' '--with-gtk' '--with-pixbuf' '--with-setuid-hacks'
> '--without-login-manager' '--with-xinerama-ext' '--with-pam'
> '--without-gl' '--with-jpeg'
>  * ebuild.sh, line  525:  Called die
>  * The specific snippet of code:
>  * die "econf failed"
>  * The die message:
>  * econf failed
>  *
>  * If you need support, post the topmost build error, and the call
> stack if relevant.
>  * A complete build log is located at
> '/var/tmp/portage/x11-misc/xscreensaver-5.07/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/x11-misc/xscreensaver-5.07/temp/environment'.
>  *
> 
> Any idea?
> 
> Thanks,


I'd try posting the full log, not the snippets you think are relevant. 




Re: [gentoo-user] xscreensaver compilation failed

2008-11-03 Thread Ducky




Re: [gentoo-user] xscreensaver compilation failed

2008-11-03 Thread Jeremy McSpadden
On Mon, 2008-11-03 at 16:17 +0800, Ducky wrote:

> I'm sorry. I've now attached the build.log.
> 
> 
> 
> On Mon, Nov 3, 2008 at 4:10 PM, Jeremy McSpadden <[EMAIL PROTECTED]> wrote:
> > On Mon, 2008-11-03 at 16:01 +0800, Ducky wrote:
> >
> > Hello,
> >
> > My xscreensaver failed to build. Not sure what's wrong. I've tried
> > versions starting from 5.05.
> >
> > [ebuild  N] x11-misc/xscreensaver-5.07  USE="jpeg opengl pam suid
> > xinerama -new-login" 0 kB
> >
> > I tried to disable each options, it didn't help much.
> >
> > It failed at econf.
> >
> > ...
> > config.status: creating driver/XScreenSaver.ad
> > config.status: creating config.h
> > config.status: executing default-1 commands
> > config.status: executing po/stamp-it commands
> > config.status: error: po/Makefile.in.in was not created by intltoolize.
> > ...
> > ...
> >  *
> >  * ERROR: x11-misc/xscreensaver-5.07 failed.
> >  * Call stack:
> >  * ebuild.sh, line   49:  Called src_compile
> >  * environment, line 2950:  Called econf
> > '--with-x-app-defaults=/usr/share/X11/app-defaults'
> > '--with-hackdir=/usr/lib/misc/xscreensaver'
> > '--with-configdir=/usr/share/xscreensaver/config'
> > '--x-libraries=/usr/lib' '--x-includes=/usr/include' '--with-dpms-ext'
> > '--with-xf86vmode-ext' '--with-xf86gamma-ext' '--with-randr-ext'
> > '--with-proc-interrupts' '--with-xpm' '--with-xshm-ext'
> > '--with-xdbe-ext' '--enable-locking' '--without-kerberos'
> > '--without-gle' '--with-gtk' '--with-pixbuf' '--with-setuid-hacks'
> > '--without-login-manager' '--with-xinerama-ext' '--with-pam'
> > '--without-gl' '--with-jpeg'
> >  * ebuild.sh, line  525:  Called die
> >  * The specific snippet of code:
> >  * die "econf failed"
> >  * The die message:
> >  * econf failed
> >  *
> >  * If you need support, post the topmost build error, and the call
> > stack if relevant.
> >  * A complete build log is located at
> > '/var/tmp/portage/x11-misc/xscreensaver-5.07/temp/build.log'.
> >  * The ebuild environment file is located at
> > '/var/tmp/portage/x11-misc/xscreensaver-5.07/temp/environment'.
> >  *
> >
> > Any idea?
> >
> > Thanks,
> >
> > I'd try posting the full log, not the snippets you think are relevant.
> >
> >
> >
> 
> 
> 

That looks like an env, not a build log.

Jeremy McSpadden
UberPenguin.net


Re: [gentoo-user] xscreensaver compilation failed

2008-11-03 Thread Ducky



build.log
Description: Binary data


Re: [gentoo-user] xscreensaver compilation failed

2008-11-03 Thread Ducky
I've just attached build.log again.

Thanks


build.log
Description: Binary data


Re: [gentoo-user] xscreensaver compilation failed

2008-11-03 Thread Jeremy McSpadden
On Mon, 2008-11-03 at 16:35 +0800, Ducky wrote:

> I've just attached build.log again.
> 
> Thanks

http://bugs.gentoo.org/show_bug.cgi?format=multiple&id=240958
Looks like the bug has already been filed.

Jeremy McSpadden
UberPenguin.net


Re: [gentoo-user] xscreensaver compilation failed

2008-11-03 Thread Ducky
Hi Jeremy,

Thanks for the bug id... I was able to compile it after intltool was
downgraded..

Cheers!

On Mon, Nov 3, 2008 at 4:40 PM, Jeremy McSpadden <[EMAIL PROTECTED]> wrote:
> On Mon, 2008-11-03 at 16:35 +0800, Ducky wrote:
>
> I've just attached build.log again.
>
> Thanks
>
> http://bugs.gentoo.org/show_bug.cgi?format=multiple&id=240958
> Looks like the bug has already been filed.
>
> Jeremy McSpadden
> UberPenguin.net



-- 
./D



Re: [gentoo-user] Update svn ebuilds only when necessary

2008-11-03 Thread Alan McKinnon
On Monday 03 November 2008 14:17:02 Momesso Andrea wrote:
> Is there a way to to update svn packages only when there are updates in
> the svn source?
>
> Actually I use a script to grep "" from eix -I output and put all
> those packages in a package set, then I have a cron job to rebuild this
> set weekly.
>
> What I'd like to do is to only fetch the svn sources, and rebuild the
> packages if sources have been updated since last build, saving lots of
> compilations.
>
> Does portage (or any other tool) provide a way to do it?

No, there is no such tool. Feel free to write one and share :-)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Update svn ebuilds only when necessary

2008-11-03 Thread Albert Hopkins
On Mon, 2008-11-03 at 13:17 +0100, Momesso Andrea wrote:
> Is there a way to to update svn packages only when there are updates in
> the svn source?
> 
> Actually I use a script to grep "" from eix -I output and put all
> those packages in a package set, then I have a cron job to rebuild this
> set weekly.
> 
> What I'd like to do is to only fetch the svn sources, and rebuild the
> packages if sources have been updated since last build, saving lots of
> compilations.
> 
> Does portage (or any other tool) provide a way to do it?

Portage doesn't but you should be able to write your own.  Change your
script to keep track of the revision you build against and if that
number increments then the repo has been updated.

-a





Re: [gentoo-user] Update svn ebuilds only when necessary

2008-11-03 Thread Dirk Heinrichs
Am Montag 03 November 2008 13:52:48 schrieb ext Dirk Heinrichs:

> paludis --dl-reinstall-scm weekly

Oops, should be: paludis --dl-reinstall-scm weekly -i everything

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net



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


[gentoo-user] limit maximum memory size of any process

2008-11-03 Thread Zhang Weiwu
Hello.

In my daily us of computer any process that takes more than 50% of the
memory (I read from top, not knowing if this is 50% of 384MB physical or
50% of having 800MB swap counted in) must have gone wrong, and usually
drag performance down to such extent that killing it is impossible
(because not possible to launch a terminal window to type kill -TERM).
Examples are:

   1. Firefox opens a broken website that wish to send 10M binary
  content to the browser window;
   2. OpenOffice opens a document incorrectly;
   3. Mistake in Java software (usually it keep eating memory);

I hope I can configure the system so that any process uses more than 50%
of memory are automatically killed. first I was recommend to use ulimit
by googling around. However this seems doesn't work even if I set both
-d and -m (here is my .xinitrc)

~$ cat .xinitrc
#export [EMAIL PROTECTED]
#fcitx &
ulimit -d 30
ulimit -m 300
exec /usr/bin/fluxbox


Result: OpenOffice stands still even when it takes 80% memory (read from
top).
So: is ulimit the solution? If so, what option should I set? My current
ulimit is:

$ ulimit -a
core file size  (blocks, -c) 0
data seg size   (kbytes, -d) 30
scheduling priority (-e) 0
file size   (blocks, -f) unlimited
pending signals (-i) 3072
max locked memory   (kbytes, -l) 32
max memory size (kbytes, -m) 300
open files  (-n) 1024
pipe size(512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority  (-r) 0
stack size  (kbytes, -s) 8192
cpu time   (seconds, -t) unlimited
max user processes  (-u) 3072
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited


-- 
Real Softservice

Huateng Tower, Unit 1788
Jia 302 3rd area of Jinsong, Chao Yang

Tel: +86 (10) 8773 0650 ext 603
Mobile: 159  7382
http://www.realss.com




Re: [gentoo-user] Update svn ebuilds only when necessary

2008-11-03 Thread Markos Chandras
Ι think there is not such tool to do what you want

On Mon, Nov 3, 2008 at 2:17 PM, Momesso Andrea <[EMAIL PROTECTED]>wrote:

> Is there a way to to update svn packages only when there are updates in
> the svn source?
>
> Actually I use a script to grep "" from eix -I output and put all
> those packages in a package set, then I have a cron job to rebuild this
> set weekly.
>
> What I'd like to do is to only fetch the svn sources, and rebuild the
> packages if sources have been updated since last build, saving lots of
> compilations.
>
> Does portage (or any other tool) provide a way to do it?
>


[gentoo-user] can not emerge KDE-META (ACCESS DENIED chmod: /usr/share/config)

2008-11-03 Thread Rafael Barrera Oro
Whenever i try to emerge KDE-META-4.1.2-r1, everything goes fine until the
process suddenly dies with the following epitaph:

ACCESS DENIED  chmod: /usr/share/config
chmod: changing permissions of `/usr/share/config': Permission denied

First i thought it was a portage bug so i did an emerge --sync and found out
that there was an update available, nevertheless, the problem was not fixed.

Some more output:

-- Installing
/var/tmp/portage/kde-base/kdelibs-4.1.2-r1/image/usr/share/doc/HTML/en/sonnet/index.docbook
-- Installing
/var/tmp/portage/kde-base/kdelibs-4.1.2-r1/image/usr/share/man/man7/qtoptions.7
-- Installing
/var/tmp/portage/kde-base/kdelibs-4.1.2-r1/image/usr/share/man/man1/kde4-config.1
ACCESS DENIED  chmod: /usr/share/config
chmod: changing permissions of `/usr/share/config': Permission denied
>>> Completed installing kdelibs-4.1.2-r1 into
/var/tmp/portage/kde-base/kdelibs-4.1.2-r1/image/

--- ACCESS VIOLATION SUMMARY
---
LOG FILE = "/var/log/sandbox/sandbox-8733.log"

chmod: /usr/share/config


>>> Failed to emerge kde-base/kdelibs-4.1.2-r1, Log file:

>>>  '/var/tmp/portage/kde-base/kdelibs-4.1.2-r1/temp/build.log'

 * GNU info directory index is up-to-date.

 * IMPORTANT: 2 config files in '/etc' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.

!!! existing preserved libs:
>>> package: app-pda/libopensync-0.36
 *  - /usr/lib64/libopensync.so.0
 *  - /usr/lib64/libopensync.so.0.0.0
 *  used by /usr/kde/3.5/bin/kitchensync (kde-base/kitchensync-3.5.9)
 *  used by /usr/kde/3.5/lib64/kde3/libkitchensyncpart.so
(kde-base/kitchensync-3.5.9)
 *  used by /usr/kde/3.5/lib64/libkitchensync.so.0.0.0
(kde-base/kitchensync-3.5.9)
 *  used by 3 other files
 *  - /usr/lib64/libosengine.so.0
 *  - /usr/lib64/libosengine.so.0.0.0
 *  used by /usr/kde/3.5/bin/kitchensync (kde-base/kitchensync-3.5.9)
 *  used by /usr/kde/3.5/lib64/kde3/libkitchensyncpart.so
(kde-base/kitchensync-3.5.9)
 *  used by /usr/kde/3.5/lib64/libkitchensync.so.0.0.0
(kde-base/kitchensync-3.5.9)
 *  used by /usr/kde/3.5/lib64/libqopensync.so.0.0.0
(kde-base/kitchensync-3.5.9)
>>> package: sys-fs/udev-130-r1
 *  - /lib64/libvolume_id.so.0
 *  - /lib64/libvolume_id.so.0.75.0
 *  used by /usr/libexec/hald-probe-storage (sys-apps/hal-0.5.9-r1)
 *  used by /usr/libexec/hald-probe-volume (sys-apps/hal-0.5.9-r1)
Use emerge @preserved-rebuild to rebuild packages using these libraries

Since the emerge was not completed i do not dare to deal with the preserved
libraries

As usual, thanks in advance

Humbly

Rafael


Re: [gentoo-user] can not emerge KDE-META (ACCESS DENIED chmod: /usr/share/config)

2008-11-03 Thread Alan McKinnon
On Monday 03 November 2008 17:31:59 Rafael Barrera Oro wrote:
> Whenever i try to emerge KDE-META-4.1.2-r1, everything goes fine until the
> process suddenly dies with the following epitaph:
>
> ACCESS DENIED  chmod: /usr/share/config
> chmod: changing permissions of `/usr/share/config': Permission denied

You are running emerge in a sandbox and the ebuild is trying to chmod a 
directory with these permissions:

 $ ls -ald /usr/share/config
drwxr-xr-x 4 root root 208 Oct 23 15:39 /usr/share/config

which of course will never work. This is a bug, so report it at bgo unless 
someone else has already done so.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] can not emerge KDE-META (ACCESS DENIED chmod: /usr/share/config)

2008-11-03 Thread Rafael Barrera Oro
Will do

thanks for the explanation

2008/11/3 Alan McKinnon <[EMAIL PROTECTED]>

> On Monday 03 November 2008 17:31:59 Rafael Barrera Oro wrote:
> > Whenever i try to emerge KDE-META-4.1.2-r1, everything goes fine until
> the
> > process suddenly dies with the following epitaph:
> >
> > ACCESS DENIED  chmod: /usr/share/config
> > chmod: changing permissions of `/usr/share/config': Permission denied
>
> You are running emerge in a sandbox and the ebuild is trying to chmod a
> directory with these permissions:
>
>  $ ls -ald /usr/share/config
> drwxr-xr-x 4 root root 208 Oct 23 15:39 /usr/share/config
>
> which of course will never work. This is a bug, so report it at bgo unless
> someone else has already done so.
>
>
> --
> alan dot mckinnon at gmail dot com
>
>


Re: [gentoo-user] limit maximum memory size of any process

2008-11-03 Thread b.n.
Zhang Weiwu ha scritto:

> So: is ulimit the solution? If so, what option should I set? My current
> ulimit is:
> 
> $ ulimit -a
> core file size  (blocks, -c) 0
> data seg size   (kbytes, -d) 30
> scheduling priority (-e) 0
> file size   (blocks, -f) unlimited
> pending signals (-i) 3072
> max locked memory   (kbytes, -l) 32
> max memory size (kbytes, -m) 300
> open files  (-n) 1024
> pipe size(512 bytes, -p) 8
> POSIX message queues (bytes, -q) 819200
> real-time priority  (-r) 0
> stack size  (kbytes, -s) 8192
> cpu time   (seconds, -t) unlimited
> max user processes  (-u) 3072
> virtual memory  (kbytes, -v) unlimited
> file locks  (-x) unlimited


On my machine I use "ulimit -v" and it works- however never tried it
inside a script.

m.



[gentoo-user] Update svn ebuilds only when necessary

2008-11-03 Thread Momesso Andrea
Is there a way to to update svn packages only when there are updates in
the svn source?

Actually I use a script to grep "" from eix -I output and put all
those packages in a package set, then I have a cron job to rebuild this
set weekly.

What I'd like to do is to only fetch the svn sources, and rebuild the
packages if sources have been updated since last build, saving lots of
compilations.

Does portage (or any other tool) provide a way to do it?


pgpYiCYYPglJe.pgp
Description: PGP signature


[gentoo-user] Vanilla linux 2.6.27.4 + nvidia drivers == problems

2008-11-03 Thread meino . cramer

Hi,

 I was using the vanilla linux kernel 2.6.27.4 from ftp.kernel.org.
 Compiling nvidia drivers 173.14.12 for this kernel fails.
 Compiling nvidia drivers 177.80 for this kernel results in
 non-functional X (black screen, nothing else, reboot necessary via
 CTRLALTDEL).

 According to lspci I am using a 
 nVidia Corporation GeForce 7600 GT (rev a2)
 PCI card.

 Before posting dumps and logs I want to ask, whether this is a
 general problem, a "bug in front of monitor"-problem or something
 totally different??!?!?!

 Thank you very much in advance for any help!
 mcc

-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.



[gentoo-user] Re: openoffice 3 broken?

2008-11-03 Thread Nikos Chantziaras

»Q« wrote:

On Sun, 2 Nov 2008 20:34:17 +1100
Adam Carter <[EMAIL PROTECTED]> wrote:


I've got OpenOffice (compiled), v3.0.0 here.  It appears broken.
I haven't tried a lot of things, but this little RTF file
gets it wedged right
away: the console that started it says:

error - missing word count in dictionary file
Hash Manager Error : 4

So I'm guessing there's a problem in a spell checker.  Where would I
look to solve that?

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

You need to emerge --sync again (there's an update to the ebuild, but
no version increment IIRC) and rebuild openoffice.



I really wish they wouldn't do that, especially for hang or crash
bugs.  I know people without the problem don't want to recompile OOo,
but it's annoying to have to watch bugzilla or the changelog to see if
the ebuild has been fixed.



I agree.  This should only be done for build problems, not runtime 
problems.  I think there's even a policy in place for that; if it 
doesn't build, change the ebuild.  If it crashes at runtime, bump the 
revision.





Re: [gentoo-user] Vanilla linux 2.6.27.4 + nvidia drivers == problems

2008-11-03 Thread Alan McKinnon
On Monday 03 November 2008 17:59:03 [EMAIL PROTECTED] wrote:
> Hi,
>
>  I was using the vanilla linux kernel 2.6.27.4 from ftp.kernel.org.
>  Compiling nvidia drivers 173.14.12 for this kernel fails.
>  Compiling nvidia drivers 177.80 for this kernel results in
>  non-functional X (black screen, nothing else, reboot necessary via
>  CTRLALTDEL).
>
>  According to lspci I am using a
>  nVidia Corporation GeForce 7600 GT (rev a2)
>  PCI card.
>
>  Before posting dumps and logs 
  ^^
always do this. Otherwise you are just wasting the list member's time. Posting 
errors and logs is not a waste of their time.



-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Error booting new kernel

2008-11-03 Thread David Relson
On Mon, 3 Nov 2008 08:51:01 +0100
Dirk Heinrichs wrote:

> Am Freitag 31 Oktober 2008 15:41:00 schrieb ext Marko Kocić:
> 
> > The error message while booting is like this:
> >
> > Using IPI shortcut mode
> > BIOS EDD facility v 0.16 2004-Jul-25 1 devices found
> > VFS: Cannot open root device "307" on unknown-block(3,7)
> > Please append a correct "root=" boot option; here are the available
> > partitions:
> > Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
> > block(3,7)
> >
> >
> > Note that in my lilo.conf I have root=/dev/hda7 line for all
> > kernels.
> 
> Are you sure that all drivers (chipset, disc) needed for booting are
> compiled into the kernel? Please post your .config + lspci output.
> 
> Bye...
> 
>   Dirk

Have you tried root=/dev/sda7, i.e. "s" rather than "h", in lilo?  My
understanding is that disk driver changes in the kernel have resulted
in the replacement of IDE subsystem drivers with a "universal" (SCSI
based) subsystem.  A side effect of this is device name changes,
notably /dev/hdX to /dev/sdX.  I'm not sure that this is 100% accurate
because I don't track kernel changes as closely as some folks.

HTH,

David



Re: [gentoo-user] limit maximum memory size of any process

2008-11-03 Thread Matthias Bethke
Hi Zhang,
on Mon, Nov 03, 2008 at 06:24:00PM +0800, you wrote:
> I hope I can configure the system so that any process uses more than 50%
> of memory are automatically killed. first I was recommend to use ulimit
> by googling around. However this seems doesn't work even if I set both
> -d and -m (here is my .xinitrc)
> 
> ~$ cat .xinitrc
> #export [EMAIL PROTECTED]
> #fcitx &
> ulimit -d 30
> ulimit -m 300
> exec /usr/bin/fluxbox
> 
> 
> Result: OpenOffice stands still even when it takes 80% memory (read from
> top).
> So: is ulimit the solution? If so, what option should I set?

I interpret the above as "use a maximum of 300,000 KiB of memory, of
which 300 may be resident (i.e. in physical memory) and 299,700 swapped
out." That doesn't sound good, although I'm not sure I'm reading it
correctly.
What I do is use /etc/sercurity/limits.conf (from pam_limits) with a
couple of entries like those:
| @users   hardnproc   1000
| mb   hardnproc   5000
| @users   hardas  2097152
| mb   hardas  6291456
| mb   hardnice-5
| mb   hardrtprio  5
Meaning, everyone but me (mb) may use up to 1000 processes per login,
with a max. address space of 2 GiB each; for myself the limit is 6 GiB
and 5k processes. Myself I cannot accidentially set a negative
nice-value because I left the soft limit at its default (0 for non-root
users) but using ulimit I can set it to the hard limit of -5 and nice-up
processes even as a normal user.

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpRLx3YFB6kP.pgp
Description: PGP signature


Re: [gentoo-user] Update svn ebuilds only when necessary

2008-11-03 Thread Dirk Heinrichs
Am Montag 03 November 2008 13:17:02 schrieb ext Momesso Andrea:

> Is there a way to to update svn packages only when there are updates in
> the svn source?

No.

> Actually I use a script to grep "" from eix -I output and put all
> those packages in a package set, then I have a cron job to rebuild this
> set weekly.

paludis --dl-reinstall-scm weekly

> What I'd like to do is to only fetch the svn sources, and rebuild the
> packages if sources have been updated since last build, saving lots of
> compilations.

After a week, you can usually be sure that sources have changed :-) You can 
use ccache to save compilations.

> Does portage (or any other tool) provide a way to do it?

See above.

HTH...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net



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


Re: [gentoo-user] Error booting new kernel

2008-11-03 Thread Dirk Heinrichs
Am Montag 03 November 2008 13:07:11 schrieb ext David Relson:

> Have you tried root=/dev/sda7, i.e. "s" rather than "h", in lilo?  My
> understanding is that disk driver changes in the kernel have resulted
> in the replacement of IDE subsystem drivers with a "universal" (SCSI
> based) subsystem.

Not replaced, the old one is still there and one has to select the new SCSI 
based drivers explicitely.

> A side effect of this is device name changes,
> notably /dev/hdX to /dev/sdX.

That's true, indeed.

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net



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


[gentoo-user] distcc problems

2008-11-03 Thread Daryl Styrk
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I thought I had everything set up correctly but apparently not.

distccd[6820] (doc_execvp) ERROR: failed to exec x86_64-pc-linux-gnu-gcc
: No such file or directory
distccd[1246] ERROR: compile args.c on 10.0.1.8 failed with exit code 110
make: *** [args.o] Error 110
*
* ERROR: dev-util/ctags-5.7 failed.
* Call stack:
*   ebuild.sh, line 49: Called src_compile
*   environment, line 2107: Called die
*The specific snippet of code:
*   emake || die "emake failed"
* The die message:
*  emake failed

I'm pretty new to gentoo, and linux this far 'in' any help would be
greatly appreciated.  I just finished the base install and figured this
would be nice to help speed along compiling the rest of the system.

I'm a little lost where to start and where I might have gone wrong.

Any pointers to steer me back in the right direction?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJD0ytejxzjThnMmIRAsQOAKCRXwyczhOP3OysbXnYI+Qj6Ncc5QCgjfOs
sq+k1BKOCQQBhjLzZms2YYk=
=mINu
-END PGP SIGNATURE-



Re: [gentoo-user] distcc problems

2008-11-03 Thread Jeremy McSpadden
On Mon, 2008-11-03 at 14:10 -0500, Daryl Styrk wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> I thought I had everything set up correctly but apparently not.
> 
> distccd[6820] (doc_execvp) ERROR: failed to exec x86_64-pc-linux-gnu-gcc
> : No such file or directory
> distccd[1246] ERROR: compile args.c on 10.0.1.8 failed with exit code 110
> make: *** [args.o] Error 110
> *
> * ERROR: dev-util/ctags-5.7 failed.
> * Call stack:
> * ebuild.sh, line 49: Called src_compile
> * environment, line 2107: Called die
> *The specific snippet of code:
> * emake || die "emake failed"
> * The die message:
> *  emake failed
> 
> I'm pretty new to gentoo, and linux this far 'in' any help would be
> greatly appreciated.  I just finished the base install and figured this
> would be nice to help speed along compiling the rest of the system.
> 
> I'm a little lost where to start and where I might have gone wrong.
> 
> Any pointers to steer me back in the right direction?
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFJD0ytejxzjThnMmIRAsQOAKCRXwyczhOP3OysbXnYI+Qj6Ncc5QCgjfOs
> sq+k1BKOCQQBhjLzZms2YYk=
> =mINu
> -END PGP SIGNATURE-
> 

I don't think your looking for distcc/d - that's for distributed
compiling with other computers. maybe cccache ?

Jeremy McSpadden
UberPenguin.net


Re: [gentoo-user] distcc problems

2008-11-03 Thread Daryl Styrk
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jeremy McSpadden wrote:
> On Mon, 2008-11-03 at 14:10 -0500, Daryl Styrk wrote:
> I thought I had everything set up correctly but apparently not.
> 
> distccd[6820] (doc_execvp) ERROR: failed to exec x86_64-pc-linux-gnu-gcc
> : No such file or directory
> distccd[1246] ERROR: compile args.c on 10.0.1.8 failed with exit code 110
> make: *** [args.o] Error 110
> *
> * ERROR: dev-util/ctags-5.7 failed.
> * Call stack:
> * ebuild.sh, line 49: Called src_compile
> * environment, line 2107: Called die
> *The specific snippet of code:
> * emake || die "emake failed"
> * The die message:
> *  emake failed
> 
> I'm pretty new to gentoo, and linux this far 'in' any help would be
> greatly appreciated.  I just finished the base install and figured this
> would be nice to help speed along compiling the rest of the system.
> 
> I'm a little lost where to start and where I might have gone wrong.
> 
> Any pointers to steer me back in the right direction?
>>
> I don't think your looking for distcc/d - that's for distributed
> compiling with other computers. maybe cccache ?

> Jeremy McSpadden
> UberPenguin.net


No, that's what I'm looking for.  I have spare laptop sitting here next
to the thinkpad that I'm trying get it going on..  Ironically the error
came trying to emerge ccache.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJD06BejxzjThnMmIRAineAJ9OrivqpnX2awKJPZEsMd9hl9WryACgnFoW
rFmf9voXmbvnpTRq/j4ionw=
=SPi8
-END PGP SIGNATURE-



Re: [gentoo-user] distcc problems

2008-11-03 Thread Markos Chandras
On Monday 03 November 2008 21:10:37 Daryl Styrk wrote:
> I thought I had everything set up correctly but apparently not.
>
> distccd[6820] (doc_execvp) ERROR: failed to exec x86_64-pc-linux-gnu-gcc
>
> : No such file or directory
>
> distccd[1246] ERROR: compile args.c on 10.0.1.8 failed with exit code 110
> make: *** [args.o] Error 110
> *
> * ERROR: dev-util/ctags-5.7 failed.
> * Call stack:
> * ebuild.sh, line 49: Called src_compile
> * environment, line 2107: Called die
> *The specific snippet of code:
> * emake || die "emake failed"
> * The die message:
> *  emake failed
>
> I'm pretty new to gentoo, and linux this far 'in' any help would be
> greatly appreciated.  I just finished the base install and figured this
> would be nice to help speed along compiling the rest of the system.
>
> I'm a little lost where to start and where I might have gone wrong.
>
> Any pointers to steer me back in the right direction?

Are we talking about cross-compile too? What are the arches of your gentoo 
boxes?Tell us more about your configuration. Arches, who is compiling the 
packages for whom etc. :)

-- 
Markos Chandras



Re: [gentoo-user] distcc problems

2008-11-03 Thread Daryl Styrk
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Markos Chandras wrote:
> On Monday 03 November 2008 21:10:37 Daryl Styrk wrote:
>> I thought I had everything set up correctly but apparently not.
>>
>> distccd[6820] (doc_execvp) ERROR: failed to exec x86_64-pc-linux-gnu-gcc
>>
>> : No such file or directory
>>
>> distccd[1246] ERROR: compile args.c on 10.0.1.8 failed with exit code 110
>> make: *** [args.o] Error 110
>> *
>> * ERROR: dev-util/ctags-5.7 failed.
>> * Call stack:
>> *ebuild.sh, line 49: Called src_compile
>> *environment, line 2107: Called die
>> *The specific snippet of code:
>> *emake || die "emake failed"
>> * The die message:
>> *  emake failed
>>
>> I'm pretty new to gentoo, and linux this far 'in' any help would be
>> greatly appreciated.  I just finished the base install and figured this
>> would be nice to help speed along compiling the rest of the system.
>>
>> I'm a little lost where to start and where I might have gone wrong.
>>
>> Any pointers to steer me back in the right direction?
> 
> Are we talking about cross-compile too? What are the arches of your gentoo 
> boxes?Tell us more about your configuration. Arches, who is compiling the 
> packages for whom etc. :)
> 

Sorry,
I would like to compile packages for gentoo.

Gentoo
uname -a
2.6.25-gentoo-r7 #1 SMP x86_64 Intel Core 2 Duo CPU T7500 @ 2.20GHz
gcc -v 4.1.2

Ubuntu 8.04
uname -a
2.6.25-21-generic #1 SMP x86_64 Intel Core 2 Duo CPU T550 @ 1.83GHz
gcc -v 4.2.4 (ubuntu 4.2.4-1ubuntu3)

some further reading looks like not having matching gcc versions will be
problematic and makes sense.

Could that be the exit code 110?

Any other system information needed?


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJD1j8ejxzjThnMmIRAuLBAJwK7u1XDKPuHpd8DqarlIItkCJvLQCeJFK9
qlysWBrdD7pcZpw49DOQy9Q=
=1VAk
-END PGP SIGNATURE-



Re: [gentoo-user] distcc problems

2008-11-03 Thread Markos Chandras
On Monday 03 November 2008 22:03:08 Daryl Styrk wrote:
> Markos Chandras wrote:
> > On Monday 03 November 2008 21:10:37 Daryl Styrk wrote:
> >> I thought I had everything set up correctly but apparently not.
> >>
> >> distccd[6820] (doc_execvp) ERROR: failed to exec x86_64-pc-linux-gnu-gcc
> >>
> >> : No such file or directory
> >>
> >> distccd[1246] ERROR: compile args.c on 10.0.1.8 failed with exit code
> >> 110 make: *** [args.o] Error 110
> >> *
> >> * ERROR: dev-util/ctags-5.7 failed.
> >> * Call stack:
> >> *  ebuild.sh, line 49: Called src_compile
> >> *  environment, line 2107: Called die
> >> *The specific snippet of code:
> >> *  emake || die "emake failed"
> >> * The die message:
> >> *  emake failed
> >>
> >> I'm pretty new to gentoo, and linux this far 'in' any help would be
> >> greatly appreciated.  I just finished the base install and figured this
> >> would be nice to help speed along compiling the rest of the system.
> >>
> >> I'm a little lost where to start and where I might have gone wrong.
> >>
> >> Any pointers to steer me back in the right direction?
> >
> > Are we talking about cross-compile too? What are the arches of your
> > gentoo boxes?Tell us more about your configuration. Arches, who is
> > compiling the packages for whom etc. :)
>
> Sorry,
> I would like to compile packages for gentoo.
>
> Gentoo
> uname -a
> 2.6.25-gentoo-r7 #1 SMP x86_64 Intel Core 2 Duo CPU T7500 @ 2.20GHz
> gcc -v 4.1.2
>
> Ubuntu 8.04
> uname -a
> 2.6.25-21-generic #1 SMP x86_64 Intel Core 2 Duo CPU T550 @ 1.83GHz
> gcc -v 4.2.4 (ubuntu 4.2.4-1ubuntu3)
>
> some further reading looks like not having matching gcc versions will be
> problematic and makes sense.
>
> Could that be the exit code 110?
>
> Any other system information needed?

Tricky one. I couldnt do the same with gentoo+debian. You can find both gcc 
versions by running gcc -v . You might want to read [1] and [2] about distcc 
on debian and gentoo

[1] http://www.gentoo.org/doc/en/distcc.xml
[2] http://www.debian-administration.org/articles/112

-- 
Markos Chandras



[gentoo-user] Is there any KDesktop wallpaper program...

2008-11-03 Thread Mateusz Mierzwinski (me.matheos.org)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I was trying to set Kaffeine with parametres --fullscreen and input file
in argc[2] argument for kaffeine to use as software to draw KDE
background. In couple words - I try to set movie player as application
to draw background in KDE 3.5.10 desktop. But when it stats play,
fullscreen brings higher level from desktop than icons do. What to do to
run app under icons of KDE desktop? Windows have something called layers
to push visualization or movie into specified color. You can set desktop
as pink and set pink as layer color to run movie on desktop or use
Winamp vis. Is there any way to do it under Linux KDE 3.5.10? I using
also Compiz-Fussion for composite manager and i965 GMA IGP.

Mateusz M.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkPoP4ACgkQkKEnm1GQ0lcMRACcC+95Vu2vvL5gCWSYGjiNX68J
fd8AnjfmQfKO0xT0pPsJVT0caapwA48z
=rgx4
-END PGP SIGNATURE-



Re: [gentoo-user] openoffice 3 broken?

2008-11-03 Thread Kevin O'Gorman
On Sun, Nov 2, 2008 at 1:57 PM, Dale <[EMAIL PROTECTED]> wrote:
> Markos Chandras wrote:
>> On Sunday 02 November 2008 06:39:33 Dale wrote:
>>
>>> Kevin O'Gorman wrote:
>>>
 I've got OpenOffice (compiled), v3.0.0 here.  It appears broken.
 I haven't tried a lot of things, but this little RTF file gets it wedged
 right away: the console that started it says:

 error - missing word count in dictionary file
 Hash Manager Error : 4

 So I'm guessing there's a problem in a spell checker.  Where would I
 look to solve that?

>>> This may help:
>>>
>>> Spell checking is provided through our own myspell-ebuilds,
>>> if you want to use it, please install the correct myspell package
>>> according to your language needs.
>>>
>>> Check to make sure myspell is installed correctly, perhaps re-emerge it.
>>>
>>> Dale
>>>
>>> :-)  :-)
>>>
>> As far as I remember , openoffice-3 doesnt uses myspell packages. It has its
>> own spelling dictionaries. But i am not 100% sure about that ...
>>
>>
>>
>
> Well, I quoted that from the message after OOo was done compiling.  I
> would assume that whoever put that message there knows what OOo uses.  I
> have no clue myself.  Mine just works, so far at least.
>


I wish I could be so lucky.  After reading some of the comments here,
I re-synced,
unmerged Ooo, and emerged openoffice and hunspell.  I already had the myspell-en
build.

The result:  a clean compile, as near as I can tell, but useless.  Now it quits
silently a second or so into any startup, with or without a filename on the
command line.  No message on the terminal where
I start it, and no clue I can see about what's wrong.

I'm back to MSOffice.  I hate it but it works.

-- 
Kevin O'Gorman, PhD



RE: [gentoo-user] openoffice 3 broken?

2008-11-03 Thread Lorenzu Hewa, Gayan Neomal
Hi
 I have am new to Gentoo. My previous experience is with slackware . I
Downloaded the Live CD and installed Gentoo twice .. but the problem is
Grub is not installed. I have a dual boot with Widowz and Grub for dos
... So I tried it using the grub console 
>root (hd0,4)
>kernel (hd0,4)/ --> and when I tab here I cant list the content.

So I used the live CD and chrooted  to the installed environment . there
I realized that I don't have any files for my hdd in the /dev/ folder
... Is this the issue... Please advise me . Cuz I went trough the
installation twice ..,

Tks regards ... 
 Gayan  
This email and any attachments are confidential and may also be privileged.  If 
you are not the addressee, do not disclose, copy, circulate or in any other way 
use or rely on the information contained in this email or any attachments.  If 
received in error, notify the sender immediately and delete this email and any 
attachments from your system.  Emails cannot be guaranteed to be secure or 
error free as the message and any attachments could be intercepted, corrupted, 
lost, delayed, incomplete or amended.  Standard Chartered PLC and its 
subsidiaries do not accept liability for damage caused by this email or any 
attachments and may monitor email traffic.

 

Standard Chartered PLC is incorporated in England with limited liability under 
company number 966425 and has its registered office at 1 Aldermanbury Square, 
London, EC2V 7SB.

 

Standard Chartered Bank ("SCB") is incorporated in England with limited 
liability by Royal Charter 1853, under reference ZC18.  The Principal Office of 
SCB is situated in England at 1 Aldermanbury Square, London EC2V 7SB. In the 
United Kingdom, SCB is authorised and regulated by the Financial Services 
Authority under FSA register number 114276.

 

If you are receiving this email from SCB outside the UK, please click 
http://www.standardchartered.com/global/email_disclaimer.html to refer to the 
information on other jurisdictions.




[gentoo-user] Something changed in udev (again)?

2008-11-03 Thread Mick
Can't mount my camera.  This is what Konqueror comes up with:
=
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
=

syslog shows this:
=
Nov  4 06:43:31 lappy usb 2-1: new full speed USB device using uhci_hcd and 
addr
ess 2
Nov  4 06:43:31 lappy usb 2-1: configuration #1 chosen from 1 choice
Nov  4 06:43:31 lappy scsi0 : SCSI emulation for USB Mass Storage devices
Nov  4 06:43:31 lappy usb 2-1: New USB device found, idVendor=04cb, 
idProduct=01
71
Nov  4 06:43:31 lappy usb-storage: device found at 2
Nov  4 06:43:31 lappy usb-storage: waiting for device to settle before 
scanning
Nov  4 06:43:31 lappy usb 2-1: New USB device strings: Mfr=0, Product=2, 
SerialNumber=3
Nov  4 06:43:31 lappy usb 2-1: Product: USB Mass Storage
Nov  4 06:43:31 lappy usb 2-1: SerialNumber: Y-764^040913XFPX0006011606
Nov  4 06:43:36 lappy scsi 0:0:0:0: Direct-Access FUJIFILM USB-DRIVEUNIT
1.00 PQ: 0 ANSI: 0 CCS
Nov  4 06:43:36 lappy sd 0:0:0:0: [sda] 1023120 512-byte hardware sectors (524 
MB)
Nov  4 06:43:36 lappy sd 0:0:0:0: [sda] Write Protect is off
Nov  4 06:43:36 lappy sd 0:0:0:0: [sda] Mode Sense: 07 00 00 00
Nov  4 06:43:36 lappy sd 0:0:0:0: [sda] Assuming drive cache: write through
Nov  4 06:43:36 lappy sd 0:0:0:0: [sda] 1023120 512-byte hardware sectors (524 
MB)
Nov  4 06:43:36 lappy sd 0:0:0:0: [sda] Write Protect is off
Nov  4 06:43:36 lappy sd 0:0:0:0: [sda] Mode Sense: 07 00 00 00
Nov  4 06:43:36 lappy sd 0:0:0:0: [sda] Assuming drive cache: write through
Nov  4 06:43:36 lappy sda: sda1
Nov  4 06:43:36 lappy sd 0:0:0:0: [sda] Attached SCSI removable disk
Nov  4 06:43:36 lappy sd 0:0:0:0: Attached scsi generic sg0 type 0
Nov  4 06:43:36 lappy usb-storage: device scan complete
Nov  4 06:44:14 lappy VFS: Can't find ext3 filesystem on dev sda1.
Nov  4 06:44:14 lappy VFS: Can't find ext3 filesystem on dev sda1.
Nov  4 06:44:29 lappy VFS: Can't find ext3 filesystem on dev sda1.
Nov  4 06:44:29 lappy VFS: Can't find ext3 filesystem on dev sda1.
=

From what I recall the above messages about ext3 were not stopping me mounting 
it in the past as a plain user, either with pmount or vanilla mount commands.  
No problem mounting it as root.  Any quick ideas?
-- 
Regards,
Mick


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


Re: [gentoo-user] Cant boot my installed gentoo system - Please help

2008-11-03 Thread Volker Armin Hemmann
On Dienstag 04 November 2008, Lorenzu Hewa, Gayan Neomal wrote:
> Hi
>  I am new to Gentoo. My previous experience is with slackware . I
> Downloaded the Live CD and installed Gentoo twice .. but the problem is
> Grub is not installed. I have a dual boot with Widowz and Grub for dos
> ... So I tried it using the grub console
>
> >root (hd0,4)
> >kernel (hd0,4)/ --> and when I tab here I cant list the content.
>
> So I used the live CD and chrooted  to the installed environment . there
> I realized that I don't have any files for my hdd in the /dev/ folder
> ... Is this the issue... Please advise me . Cuz I went trough the
> installation twice ..,

no. This is normal. /dev is populated by udev. If you chroot from a livecd, 
you need to bind mount dev to your chroots dev first.

And there is no reason to redo the installation. Grub is sometimes REALLY 
annoying to setup. But usually it works as long as you are staying close to 
the tutorial in info grub.




Re: [gentoo-user] limit maximum memory size of any process

2008-11-03 Thread Zhang Weiwu
Matthias Bethke wrote:
> Hi Zhang,
> on Mon, Nov 03, 2008 at 06:24:00PM +0800, you wrote:
>> I hope I can configure the system so that any process uses more than 50%
>> of memory are automatically killed. first I was recommend to use ulimit
>> by googling around. However this seems doesn't work even if I set both
>> -d and -m (here is my .xinitrc)
>>
>> ~$ cat .xinitrc
>> #export [EMAIL PROTECTED]
>> #fcitx &
>> ulimit -d 30
>> ulimit -m 300
>> exec /usr/bin/fluxbox
>>
>>
>> Result: OpenOffice stands still even when it takes 80% memory (read from
>> top).
>> So: is ulimit the solution? If so, what option should I set?
> 
> I interpret the above as "use a maximum of 300,000 KiB of memory, of
> which 300 may be resident (i.e. in physical memory) and 299,700 swapped
> out." That doesn't sound good, although I'm not sure I'm reading it
> correctly.

Sorry, it seems I used these parameter without care. I guess I only need
to set physical memory limit, a.k.a. resident memory.

OT: I don't know why I have
max locked memory   (kbytes, -l) 32
But it has been like that before I set ulimit.


> What I do is use /etc/sercurity/limits.conf (from pam_limits) with a
> couple of entries like those:
> | @users   hardnproc   1000
> | mb   hardnproc   5000
> | @users   hardas  2097152
> | mb   hardas  6291456
> | mb   hardnice-5
> | mb   hardrtprio  5
> Meaning, everyone but me (mb) may use up to 1000 processes per login,
> with a max. address space of 2 GiB each; for myself the limit is 6 GiB
> and 5k processes. Myself I cannot accidentially set a negative
> nice-value because I left the soft limit at its default (0 for non-root
> users) but using ulimit I can set it to the hard limit of -5 and nice-up
> processes even as a normal user.

I don't have a file called /etc/sercurity/limits.conf and neither can I
find information about it by using 'man limits.conf'. Further I couldn't
find a package called pam_limits to emerge. Can you give me some clue which
package I should emerge in order to set limits.conf ?

Thank you very much for prompt help!



Re: [gentoo-user] Something changed in udev (again)?

2008-11-03 Thread Alan McKinnon
On Tuesday 04 November 2008 08:50:18 Mick wrote:
> Can't mount my camera.  This is what Konqueror comes up with:

Ahem. You have a camera with an ext3 filesystem on it?

What kind of super camera do you have that understands ext3? Those things 
almost universally have vfat.

I'd say you have a b0rked fstab. Udev has nothing to do with it as udev does 
not understand filesystems either - mount undertsands filesystems.


> =
> mount: wrong fs type, bad option, bad superblock on /dev/sda1,
> missing codepage or helper program, or other error
> In some cases useful info is found in syslog - try
> dmesg | tail or so
> =
>
> syslog shows this:
> =
> Nov  4 06:43:31 lappy usb 2-1: new full speed USB device using uhci_hcd and
> addr
> ess 2
> Nov  4 06:43:31 lappy usb 2-1: configuration #1 chosen from 1 choice
> Nov  4 06:43:31 lappy scsi0 : SCSI emulation for USB Mass Storage devices
> Nov  4 06:43:31 lappy usb 2-1: New USB device found, idVendor=04cb,
> idProduct=01
> 71
> Nov  4 06:43:31 lappy usb-storage: device found at 2
> Nov  4 06:43:31 lappy usb-storage: waiting for device to settle before
> scanning
> Nov  4 06:43:31 lappy usb 2-1: New USB device strings: Mfr=0, Product=2,
> SerialNumber=3
> Nov  4 06:43:31 lappy usb 2-1: Product: USB Mass Storage
> Nov  4 06:43:31 lappy usb 2-1: SerialNumber: Y-764^040913XFPX0006011606
> Nov  4 06:43:36 lappy scsi 0:0:0:0: Direct-Access FUJIFILM
> USB-DRIVEUNIT 1.00 PQ: 0 ANSI: 0 CCS
> Nov  4 06:43:36 lappy sd 0:0:0:0: [sda] 1023120 512-byte hardware sectors
> (524 MB)
> Nov  4 06:43:36 lappy sd 0:0:0:0: [sda] Write Protect is off
> Nov  4 06:43:36 lappy sd 0:0:0:0: [sda] Mode Sense: 07 00 00 00
> Nov  4 06:43:36 lappy sd 0:0:0:0: [sda] Assuming drive cache: write through
> Nov  4 06:43:36 lappy sd 0:0:0:0: [sda] 1023120 512-byte hardware sectors
> (524 MB)
> Nov  4 06:43:36 lappy sd 0:0:0:0: [sda] Write Protect is off
> Nov  4 06:43:36 lappy sd 0:0:0:0: [sda] Mode Sense: 07 00 00 00
> Nov  4 06:43:36 lappy sd 0:0:0:0: [sda] Assuming drive cache: write through
> Nov  4 06:43:36 lappy sda: sda1
> Nov  4 06:43:36 lappy sd 0:0:0:0: [sda] Attached SCSI removable disk
> Nov  4 06:43:36 lappy sd 0:0:0:0: Attached scsi generic sg0 type 0
> Nov  4 06:43:36 lappy usb-storage: device scan complete
> Nov  4 06:44:14 lappy VFS: Can't find ext3 filesystem on dev sda1.
> Nov  4 06:44:14 lappy VFS: Can't find ext3 filesystem on dev sda1.
> Nov  4 06:44:29 lappy VFS: Can't find ext3 filesystem on dev sda1.
> Nov  4 06:44:29 lappy VFS: Can't find ext3 filesystem on dev sda1.
> =
>
> From what I recall the above messages about ext3 were not stopping me
> mounting it in the past as a plain user, either with pmount or vanilla
> mount commands. No problem mounting it as root.  Any quick ideas?



-- 
alan dot mckinnon at gmail dot com



RE: [gentoo-user] openoffice 3 broken?

2008-11-03 Thread Adam Carter
> Hi
>  I have am new to Gentoo.

Ok, first thing to do is resubmit this post with a useful subject title :-)

Many people like to file things away or ignore stuff that they're not 
interested in, so the subject is important.



Re: [gentoo-user] man mkisofs is not man mkisofs

2008-11-03 Thread KH
Alan McKinnon schrieb:
> On Saturday 01 November 2008 19:18:48 KH wrote:
>   
>> [edit]: I just found: /var/cache/man/cat1/mkisofs.1.lzma  this is for
>> sure the wrong man.
>> can I simply remove this file?
>> 
>
> yes
>   
Yes this solved my problem. Thanks



[gentoo-user] Cant boot my installed gentoo system - Please help

2008-11-03 Thread Lorenzu Hewa, Gayan Neomal

Hi
 I am new to Gentoo. My previous experience is with slackware . I
Downloaded the Live CD and installed Gentoo twice .. but the problem is
Grub is not installed. I have a dual boot with Widowz and Grub for dos
... So I tried it using the grub console 

>root (hd0,4)
>kernel (hd0,4)/ --> and when I tab here I cant list the content.

So I used the live CD and chrooted  to the installed environment . there
I realized that I don't have any files for my hdd in the /dev/ folder
... Is this the issue... Please advise me . Cuz I went trough the
installation twice ..,

Tks regards ... 
 Gayan  
This email and any attachments are confidential and may also be privileged.  If 
you are not the addressee, do not disclose, copy, circulate or in any other way 
use or rely on the information contained in this email or any attachments.  If 
received in error, notify the sender immediately and delete this email and any 
attachments from your system.  Emails cannot be guaranteed to be secure or 
error free as the message and any attachments could be intercepted, corrupted, 
lost, delayed, incomplete or amended.  Standard Chartered PLC and its 
subsidiaries do not accept liability for damage caused by this email or any 
attachments and may monitor email traffic.

 

Standard Chartered PLC is incorporated in England with limited liability under 
company number 966425 and has its registered office at 1 Aldermanbury Square, 
London, EC2V 7SB.

 

Standard Chartered Bank ("SCB") is incorporated in England with limited 
liability by Royal Charter 1853, under reference ZC18.  The Principal Office of 
SCB is situated in England at 1 Aldermanbury Square, London EC2V 7SB. In the 
United Kingdom, SCB is authorised and regulated by the Financial Services 
Authority under FSA register number 114276.

 

If you are receiving this email from SCB outside the UK, please click 
http://www.standardchartered.com/global/email_disclaimer.html to refer to the 
information on other jurisdictions.




RE: [gentoo-user] Cant boot my installed gentoo system - Please help

2008-11-03 Thread Lorenzu Hewa, Gayan Neomal


Thanks & Regards,
 
Gayan Lorenzu Hewa | Sub Officer | Wholesale Banking Corporate Service
Center | Standard Chartered Bank 
(: 0115-397335): 0773-652003 6: 0115-397337 *:
[EMAIL PROTECTED] 
 
 

-Original Message-
From: Volker Armin Hemmann [mailto:[EMAIL PROTECTED]

Sent: Tuesday, November 04, 2008 12:05 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Cant boot my installed gentoo system - Please
help

On Dienstag 04 November 2008, Lorenzu Hewa, Gayan Neomal wrote:
> Hi
>  I am new to Gentoo. My previous experience is with slackware . I
> Downloaded the Live CD and installed Gentoo twice .. but the problem
is
> Grub is not installed. I have a dual boot with Widowz and Grub for dos
> ... So I tried it using the grub console
>
> >root (hd0,4)
> >kernel (hd0,4)/ --> and when I tab here I cant list the content.
>
> So I used the live CD and chrooted  to the installed environment .
there
> I realized that I don't have any files for my hdd in the /dev/ folder
> ... Is this the issue... Please advise me . Cuz I went trough the
> installation twice ..,

no. This is normal. /dev is populated by udev. If you chroot from a
livecd, 
you need to bind mount dev to your chroots dev first.

And there is no reason to redo the installation. Grub is sometimes
REALLY 
annoying to setup. But usually it works as long as you are staying close
to 
the tutorial in info grub.

"/dev is populated by udev. If you chroot from a livecd, 
you need to bind mount dev to your chroots dev first." How do I do this
...? 
This email and any attachments are confidential and may also be privileged.  If 
you are not the addressee, do not disclose, copy, circulate or in any other way 
use or rely on the information contained in this email or any attachments.  If 
received in error, notify the sender immediately and delete this email and any 
attachments from your system.  Emails cannot be guaranteed to be secure or 
error free as the message and any attachments could be intercepted, corrupted, 
lost, delayed, incomplete or amended.  Standard Chartered PLC and its 
subsidiaries do not accept liability for damage caused by this email or any 
attachments and may monitor email traffic.

 

Standard Chartered PLC is incorporated in England with limited liability under 
company number 966425 and has its registered office at 1 Aldermanbury Square, 
London, EC2V 7SB.

 

Standard Chartered Bank ("SCB") is incorporated in England with limited 
liability by Royal Charter 1853, under reference ZC18.  The Principal Office of 
SCB is situated in England at 1 Aldermanbury Square, London EC2V 7SB. In the 
United Kingdom, SCB is authorised and regulated by the Financial Services 
Authority under FSA register number 114276.

 

If you are receiving this email from SCB outside the UK, please click 
http://www.standardchartered.com/global/email_disclaimer.html to refer to the 
information on other jurisdictions.




Re: [gentoo-user] Cant boot my installed gentoo system - Please help

2008-11-03 Thread Volker Armin Hemmann
On Dienstag 04 November 2008, Lorenzu Hewa, Gayan Neomal wrote:
> Thanks & Regards,

> "/dev is populated by udev. If you chroot from a livecd,
> you need to bind mount dev to your chroots dev first." How do I do this
> ...?

before you chroot:
mount -o bind /dev /mnt/gentoo/dev
for example
google for mount and bind 

And please, learn quoting. 



Re: [gentoo-user] man mkisofs is not man mkisofs

2008-11-03 Thread KH
Nicolas Sebrecht schrieb:
> On Sat, Nov 01, 2008 at 06:18:48PM +0100, KH wrote:
>
>   
>> But running locate I cannot find the files mentioned.
>> 
>
> locate may not be the appropriate tool depending on the database update
> frequency.
>
>   
Well I am running locate -u every two hours.

kh