[gentoo-user] When will the ~ go from Firefox 3.0.12?

2009-08-16 Thread Konstantinos Agouros
Hi,

normally gentoo was quick with security updates for Firefox but it is
almost a month now since 3.0.12 and still the ~ is attached. What's
going on there?

Konstantin
-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elw...@agouros.de
Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185

Captain, this ship will not survive the forming of the cosmos. B'Elana Torres



[gentoo-user] ISDN4k Utils masekd

2009-08-16 Thread Konstantinos Agouros
Hi,

is there an alternative? I need ISDN in at least one machine.

Regards,

Konstantin
-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elw...@agouros.de
Otkerstr. 28, 81547 Muenchen, Germany. Tel +49 89 69370185

Captain, this ship will not survive the forming of the cosmos. B'Elana Torres



Re: [gentoo-user] When will the ~ go from Firefox 3.0.12?

2009-08-16 Thread pk
Konstantinos Agouros wrote:
 Hi,
 
 normally gentoo was quick with security updates for Firefox but it is
 almost a month now since 3.0.12 and still the ~ is attached. What's
 going on there?

3.0.13 is the latest (with security updates). Or 3.5.2...

Best regards

Peter K



Re: [gentoo-user] netkit-rsh ./configure problem

2009-08-16 Thread pk
Andrey Falko wrote:

 Have you done an update to this system where glibc might have been upgraded
 but not gcc or vice versa? Have you updated any system packages in general
 on the system? As was mentioned earlier an emerge -e system might solve the
 problem. If not, then we'll know that it's not a problem with one of the
 system packages.

Questions (I don't know the answers): Doesn't glibc need a rebuild after
kernel reconfiguration (such as CONFIG_BSD_...)? I mean glibc doesn't
support (kernel) options that the kernel doesn't support, right? Is
glibc built against sanitized kernel headers or the real kernel
headers (/usr/src/linux/include)?

Best regards

Peter K



Re: [gentoo-user] netkit-rsh ./configure problem

2009-08-16 Thread Albert Hopkins
On Sun, 2009-08-16 at 13:35 +0200, pk wrote:

 Questions (I don't know the answers): Doesn't glibc need a rebuild after
 kernel reconfiguration (such as CONFIG_BSD_...)? I mean glibc doesn't
 support (kernel) options that the kernel doesn't support, right? Is
 glibc built against sanitized kernel headers or the real kernel
 headers (/usr/src/linux/include)?

I really don't think it was the CONFIG_BSD_PROCESS_ACCT option (I spoke
too soon).  I'm pretty sure that's for tools like sar and also the
system where I'm not having this issue doesn't have that option either.

I'm not sure what it was.  I decided to rebuild the system.  This time I
used the 2008.0 stage 3 instead of the snapshot.  Also I'm using
amd64/baselayout-1 until I get everything configured the way I want it
and then switch to ~amd64.  So far things are working fine.  I'm not
sure what exactly the issue was before but I'm going to take things a
little slower this time and keep my fingers crossed :)

Thanks to everyone for their input.

-a
 




Re: [gentoo-user] netkit-rsh ./configure problem

2009-08-16 Thread Alan McKinnon
On Sunday 16 August 2009 13:35:44 pk wrote:
 Is
 glibc built against sanitized kernel headers or the real kernel
 headers (/usr/src/linux/include)?

The former.

One can not rely on the state of the latter.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: Gcc 4.3.4 --- 4.4.1

2009-08-16 Thread Alan McKinnon
On Saturday 15 August 2009 19:37:05 Dirk Heinrichs wrote:
 Am Samstag 15 August 2009 19:24:09 schrieb Nikos Chantziaras:
  system has to be rebuilt twice.  When you get a new toolchain
  (system), you need to rebuilt it with itself.  The first time you do
  that, it is rebuilt using the *old* toolchain.  The second time it is
  rebuilt using the *new* toolchain that was just rebuilt.

 Why would I need to do that? If I install gcc 4.4.1 I have gcc 4.4.1. It
 will produce the same code no matter with what toolchain it has been built.
 So just rebuilding world should be sufficient.


I didn't say rebuild gcc.
I said rebuild the toolchain.

It's not about what you use to build gcc, it's about what gcc uses to build 
runnable code.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] When will the ~ go from Firefox 3.0.12?

2009-08-16 Thread Kevin O'Gorman
On Sun, Aug 16, 2009 at 3:38 AM, pkpete...@coolmail.se wrote:
 Konstantinos Agouros wrote:
 Hi,

 normally gentoo was quick with security updates for Firefox but it is
 almost a month now since 3.0.12 and still the ~ is attached. What's
 going on there?

 3.0.13 is the latest (with security updates). Or 3.5.2...


Maybe, but 3.0.11 is the latest stable on x86.  The OP's question is a
good one, still awaiting an answer.


-- 
Kevin O'Gorman, PhD



[gentoo-user] problems with the web browsers

2009-08-16 Thread M Daniel R M
Hello list,

Sadly, I'm pretty much disappointed with both web browser installed on
my system: konqueror and firefox. 

Konqueror: very stable indeed, but it couldn't be at another way since
it's a key piece of the KDE environment... The problem comes when I want
to fill in forms (you know... web pages for registering, etc.). It stops
many times without giving us an alert message or some kind of
explanation, so you have to deduce that the problem is not from the
website, but the browser instead. 

I don't know whether problems come from java or whatever..., I've
checked my konqueror preferences and I'd bet they are all OK..


firefox: Here the problem is very very annoying, I've run firefox before
with many other Linux flavours and never..., never got to this status of
inability; once you've got about six tabs opened on the same frame
window, firefox gets close to hang, and you become unable to manage it
anymore, unless you have an infinite patience. Doing top from a CLI
shows a %CPU _over_ 100%, amazing!. At the end, you'll have to kill the
process from console. 

I don't know, either, why firefox gets to this status; preferences are
as usual, etc. Maybe the problem roots from the flags when compiling,
but I haven't received any message from the system, IIRC... Is there any
flag wrong on my system? 

This is my /etc/conf.d:

~ # more /etc/make.conf
# These settings were set by the catalyst build script that
automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.


CFLAGS=-march=nocona -O2 -pipe
CXXFLAGS=${CFLAGS}


# WARNING: Changing your CHOST is not something that should be done
lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before
changing.


CHOST=x86_64-pc-linux-gnu


##

# These are the USE flags that were used in addition to what is provided
by the
# profile used for building.


USE=symlink mmx sse sse2 sse3 alsa cdr dvdr qt3 qt4 kde -gnome acpi
wifi usb unicode objc bash-completion


##

MAKEOPTS=-j3






GENTOO_MIRRORS=http://gd.tuwien.ac.at/opsys/linux/gentoo/
http://gentoo.lagis.a
t/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aac
hen.de/pub/Linux/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirro
r/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://ftp.uni-erlangen.de/p
ub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.un
i-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mir
rors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http:/
/mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp-stud.fht-esslingen.de
/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://
gentoo.mneisen.org/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/
ftp://ftp
.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.udc.es/gentoo/
ftp://ftp.udc
.es/gentoo/ http://gentoo.virginmedia.com/
ftp://gentoo.virginmedia.com/sites/ge
ntoo 

SYNC=rsync://rsync.gentoo.org/gentoo-portage

##


INPUT_DEVICES=evdev

VIDEO_CARDS=nvidia vesa

###

FEATURES=ccache parallel-fetch userfetch

CCACHESIZE=2G

###


LINGUAS=en es


##


Please, I'd like to have your comments and to solve the problem once and
forever. 
Thanks in advance,

Daniel R. Magarzo




Re: [gentoo-user] problems with the web browsers

2009-08-16 Thread Ward Poelmans
On Sun, Aug 16, 2009 at 18:40, M Daniel R M4.maga...@gmail.com wrote:
 firefox: Here the problem is very very annoying, I've run firefox before
 with many other Linux flavours and never..., never got to this status of
 inability; once you've got about six tabs opened on the same frame
 window, firefox gets close to hang, and you become unable to manage it
 anymore, unless you have an infinite patience. Doing top from a CLI
 shows a %CPU _over_ 100%, amazing!. At the end, you'll have to kill the
 process from console.

Have you tried running firefox with all your extensions and plugins
disabled? Which version of firefox are you running and what use flags
do you use?

Ward



Re: [gentoo-user] problems with the web browsers

2009-08-16 Thread Jesús Guerrero
I am not into konqueror these days, so no idea about that.

As for firefox, most problems comes from corrupted profiles,
silly extensions, etc. So, first I would try using a clean
profile, the easiest way to do that is to create a new user
to test with. If the problem goes away then you know that
there's something wrong in your  profile, try disabling
every extension and plugin before doing anything else.



-- 
Jesús Guerrero




[gentoo-user] Re: problems with the web browsers

2009-08-16 Thread Nikos Chantziaras

On 08/16/2009 07:40 PM, M Daniel R M wrote:

firefox: Here the problem is very very annoying, I've run firefox before
with many other Linux flavours and never..., never got to this status of
inability; once you've got about six tabs opened on the same frame
window, firefox gets close to hang, and you become unable to manage it
anymore, unless you have an infinite patience. Doing top from a CLI
shows a %CPU _over_ 100%, amazing!. At the end, you'll have to kill the
process from console.

I don't know, either, why firefox gets to this status; preferences are
as usual, etc. Maybe the problem roots from the flags when compiling,
but I haven't received any message from the system, IIRC... Is there any
flag wrong on my system?


I remember Firefox was biting me with this too at some time.  The 
solution for me was to go to Edit-Preferences, and in the Security 
tab uncheck the Block reported attack sites and Block reported web 
forgeries checkboxes.  The issue was that those features use sqlite to 
update internal databases of thousands of malware sites, and updates 
to these lists were bringing my CPU to its knees.


So try that and see if it helps.



CFLAGS=-march=nocona -O2 -pipe
CXXFLAGS=${CFLAGS}


Btw, if you're on a Core2 and a recent GCC, you might want to change 
that to -march=core2 or -march=native.





[gentoo-user] trouble with preserved-rebuild

2009-08-16 Thread covici
Hi.  I am having problems with emerge @preserved-rebuild which used to
work fine, but on the latest time I tried it, I got the following
message:
These are the packages that would be merged, in order:

Calculating dependencies ... done!

emerge: there are no ebuilds to satisfy dev-libs/apr-util:0.

Is it broke, because this is still true after re-emerging apr-util?  I
am using unstable x86.


Thanks.

-- 
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] Re: When will the ~ go from Firefox 3.0.12?

2009-08-16 Thread walt

On 08/15/2009 11:46 PM, Konstantinos Agouros wrote:

Hi,

normally gentoo was quick with security updates for Firefox but it is
almost a month now since 3.0.12 and still the ~ is attached. What's
going on there?


I notice that the ebuild for 3.0.13 was added only yesterday, so my
guess is the maintainer is skipping 3.0.12 because it's already obsolete.
Just a guess, however.





Re: [gentoo-user] trouble with preserved-rebuild

2009-08-16 Thread Mark Knecht
On Sun, Aug 16, 2009 at 10:27 AM, cov...@ccs.covici.com wrote:
 Hi.  I am having problems with emerge @preserved-rebuild which used to
 work fine, but on the latest time I tried it, I got the following
 message:
 These are the packages that would be merged, in order:

 Calculating dependencies ... done!

 emerge: there are no ebuilds to satisfy dev-libs/apr-util:0.

 Is it broke, because this is still true after re-emerging apr-util?  I
 am using unstable x86.


 Thanks.

 --
 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



Is /var/lib/portage/world specifying a specific version that the
developers have removed from portage? If so you might removed that
from the world file and then either emerge the current version or
emerge -DuN @world.

Just an idea.
- Mark



Re: [gentoo-user] trouble with preserved-rebuild

2009-08-16 Thread Alan McKinnon
On Sunday 16 August 2009 19:27:12 cov...@ccs.covici.com wrote:
 Hi.  I am having problems with emerge @preserved-rebuild which used to
 work fine, but on the latest time I tried it, I got the following
 message:
 These are the packages that would be merged, in order:

 Calculating dependencies ... done!

 emerge: there are no ebuilds to satisfy dev-libs/apr-util:0.
^^
There is no SLOT 0 for apr-util

Use equery depends apr-util to find out what used it and rebuild those.
 
-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] problems with the web browsers

2009-08-16 Thread Alan McKinnon
On Sunday 16 August 2009 18:40:12 M Daniel R M wrote:
 Konqueror: very stable indeed, but it couldn't be at another way since
 it's a key piece of the KDE environment... The problem comes when I want
 to fill in forms (you know... web pages for registering, etc.). It stops
 many times without giving us an alert message or some kind of
 explanation, so you have to deduce that the problem is not from the
 website, but the browser instead.

 I don't know whether problems come from java or whatever..., I've
 checked my konqueror preferences and I'd bet they are all OK..

javascript support in konqueror sucks.

For everything else it's actually OK. One of these days it will use webkit as 
the backend and then things might improve. Until then, I'm afraid you are SOL.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: When will the ~ go from Firefox 3.0.12?

2009-08-16 Thread Philip Webb
On 08/15/2009 11:46 PM, Konstantinos Agouros wrote:
 normally gentoo was quick with security updates for Firefox
 but it is almost a month now since 3.0.12 and still the ~ is attached.

I updated to 3.5.2-r1 yesterday  it works very well.
also, 3.5 is much faster than 3.0 on my older stand-by machine.

My policy is to avoid 'testing' for system or other vital packages,
but use it for well-maintained items like Firefox.

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




[gentoo-user] Free memory issue

2009-08-16 Thread Raul Gonzales

Hi all,

I wonder what is going on with my system. I have a 2G of physical RAM 
but even without any major activity output of free,vmstat and top 
reports only ~64M free. Would any one know how to find more - ps doesn't 
show nothing wrong...





free -m
total   used   free sharedbuffers cached
Mem:  1953   1888 65  0143   1557
-/+ buffers/cache:187   1765
Swap: 2055  0   2055


procs ---memory-- ---swap-- -io -system-- 
cpu
r  b   swpd   free   buff  cache   si   sobibo   in   cs us sy 
id wa
0  0  0  66720 147196 159440000 310   27   75  0  0 
100  0



top - 20:34:42 up 1 day,  9:40,  1 user,  load average: 0.00, 0.00, 0.00
Tasks:  99 total,   1 running,  98 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  
0.0%st

Mem:   2000552k total,  1934028k used,66524k free,   147200k buffers
Swap:  2104504k total,0k used,  2104504k free,  1594492k cached


thanks a lot,
Raul



Re: [gentoo-user] Re: problems with the web browsers

2009-08-16 Thread Philip Webb
090816 Nikos Chantziaras wrote:
 On 08/16/2009 07:40 PM, M Daniel R M wrote:
 I've run firefox before with many other Linux flavours
 and never got to this status of inability;
 once you've got about six tabs opened on the same frame window,
 firefox gets close to hang, and you become unable to manage it anymore,
 Doing top from a CLI shows a %CPU _over_ 100%, amazing!
 At the end, you'll have to kill the process from console.
 I remember Firefox was biting me with this too at some time.
 The solution was to Edit-Preferences and in the Security tab
 uncheck Block reported attack sites and Block reported web forgeries.
 those features use sqlite to update internal databases
 of thousands of malware sites which was bringing my CPU to its knees.

I have both those boxes checked  rarely have a problem:
try toggling preferences which look CPU-intensive  see what happens.
Occasionally, I do have a problem with a particular WWW page,
when I have to kill Firefox via 'htop', but it's rare (probably JS).
The 3.0 version was running very slowly on my 2003 machine (AMD Athlon),
but 3.5.2 is as fast there as here on my 2007 machine (Core 2 Duo).

 CFLAGS=-march=nocona -O2 -pipe
 CXXFLAGS=${CFLAGS}
 if you're on a Core2 and a recent GCC,
 you might want to change that to -march=core2 or -march=native.

I use Gcc 4.3.2-r3  have CFLAGS=-O2 -march=native -mtune=native -pipe.

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




[gentoo-user] Re: Free memory issue

2009-08-16 Thread Nikos Chantziaras

On 08/16/2009 09:41 PM, Raul Gonzales wrote:

Hi all,

I wonder what is going on with my system. I have a 2G of physical RAM
but even without any major activity output of free,vmstat and top
reports only ~64M free. Would any one know how to find more - ps doesn't
show nothing wrong...




free -m
total used free shared buffers cached
Mem: 1953 1888 65 0 143 1557
-/+ buffers/cache: 187 1765
Swap: 2055 0 2055


Er, I see 1765MB free here (187 used).  It's the -/+ buffers/cache 
line that reports free memory, NOT the first line.





Re: [gentoo-user] Free memory issue

2009-08-16 Thread Philip Webb
090816 Raul Gonzales wrote:
 I have a 2G of physical RAM but even without any major activity
 output of free,vmstat and top reports only  ~64M free. 

 free -m
 total   used   free sharedbuffers cached
 Mem:  1953   1888 65  0143   1557
 -/+ buffers/cache:187   1765
 Swap: 2055  0   2055

The crucial figure is '187', which is what is usable.
You have a lot of something cached: any idea what it might be ?
-- the kernel should delete that stuff, if it needs the space.

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




[gentoo-user] upgrading ~x68 kde-4.2 to kde-4.3 question

2009-08-16 Thread Roy Wright

Howdy,

kde-4.3 is now unmasked for ~x86.  Whop!

But it is looking like a non-trivial upgrade.  :(

When I installed kde-4.2, I followed the advice of unmasking portage  
and using sets.  Also followed the recommendation to use -kdeprefix.   
Further I removed kde-3.5 and added a mask on kdelibs-3.5 to help keep  
3.5 off of the system.


So for the kde-4.3 upgrade, it looks like this is what will be  
necessary:


1) grab the sets again from the kde-testing overlay and put them in / 
etc/portage/sets (assumption is to do a replace).

2) unmerge kde-4.2 using: emerge --unmerge @kde-4.2
3) merge kde-4.3 using: emerge -av @kde-4.3
4) recustomize kde as the ~/.kde will not be migrated

Am I on the right track?

TIA,
Roy




Re: [gentoo-user] netkit-rsh ./configure problem

2009-08-16 Thread pk
Alan McKinnon wrote:
 On Sunday 16 August 2009 13:35:44 pk wrote:
 Is
 glibc built against sanitized kernel headers or the real kernel
 headers (/usr/src/linux/include)?
 
 The former.
 
 One can not rely on the state of the latter.

Thanks for the clarification!

Best regards

Peter K



Re: [gentoo-user] upgrading ~x68 kde-4.2 to kde-4.3 question

2009-08-16 Thread Dirk Heinrichs
Am Sonntag 16 August 2009 21:02:50 schrieb Roy Wright:

 So for the kde-4.3 upgrade, it looks like this is what will be
 necessary:

 1) grab the sets again from the kde-testing overlay and put them in /
 etc/portage/sets (assumption is to do a replace).
 2) unmerge kde-4.2 using: emerge --unmerge @kde-4.2
 3) merge kde-4.3 using: emerge -av @kde-4.3
 4) recustomize kde as the ~/.kde will not be migrated

 Am I on the right track?

No.

1) They're in portage.
2) No need to unmerge anything (except one or two blockers).
4) Worked just fine here.

HTH...

Dirk


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


Re: [gentoo-user] Free memory issue

2009-08-16 Thread Andrey Falko
On Sun, Aug 16, 2009 at 11:56 AM, Philip Webb purs...@ca.inter.net wrote:

 090816 Raul Gonzales wrote:
  I have a 2G of physical RAM but even without any major activity
  output of free,vmstat and top reports only  ~64M free.
 
  free -m
  total   used   free sharedbuffers cached
  Mem:  1953   1888 65  0143   1557
  -/+ buffers/cache:187   1765
  Swap: 2055  0   2055

 The crucial figure is '187', which is what is usable.
 You have a lot of something cached: any idea what it might be ?
 -- the kernel should delete that stuff, if it needs the space.

 All Disk I/O is cached into memory. A good example is if you are playing a
video game. Every time you load a new map, that map is cached in memory, so
if you load that map again, the kernel won't get it from disk, but from the
memory's cache. If your OS needs more ram, the cache is over-written with
actual memory. Here is a simple explaination of what I'm talking about:
http://linux.about.com/od/lsa_guide/a/gdelsa44.htm


Re: [gentoo-user] trouble with preserved-rebuild

2009-08-16 Thread covici
Alan McKinnon alan.mckin...@gmail.com wrote:

 On Sunday 16 August 2009 19:27:12 cov...@ccs.covici.com wrote:
  Hi.  I am having problems with emerge @preserved-rebuild which used to
  work fine, but on the latest time I tried it, I got the following
  message:
  These are the packages that would be merged, in order:
 
  Calculating dependencies ... done!
 
  emerge: there are no ebuilds to satisfy dev-libs/apr-util:0.
 ^^
 There is no SLOT 0 for apr-util
 
 Use equery depends apr-util to find out what used it and rebuild those.
I did that and got the same results.


-- 
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] upgrading ~x68 kde-4.2 to kde-4.3 question

2009-08-16 Thread Dirk Heinrichs
Am Sonntag 16 August 2009 21:12:30 schrieb Dirk Heinrichs:

 2) No need to unmerge anything (except one or two blockers).

However, you can unmerge 4.2.x, if you like to.

Bye...

Dirk


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


Re: [gentoo-user] Free memory issue

2009-08-16 Thread Alan McKinnon
On Sunday 16 August 2009 20:56:59 Philip Webb wrote:
 090816 Raul Gonzales wrote:
  I have a 2G of physical RAM but even without any major activity
  output of free,vmstat and top reports only  ~64M free.
 
  free -m
  total   used   free sharedbuffers cached
  Mem:  1953   1888 65  0143   1557
  -/+ buffers/cache:187   1765
  Swap: 2055  0   2055

 The crucial figure is '187', which is what is usable.
 You have a lot of something cached: any idea what it might be ?
 -- the kernel should delete that stuff, if it needs the space.

top, free and every other tool that examines /proc lies through it's teeth.

Well, not really, but it's necessary to know what exactly it is measuring and 
also how the kernel is written.

But first: Raul, there is nothing wrong with your box. It is working as 
designed.

The used column literally means memory that in use for something, somewhere.
The free column literally means memory that is not in use anywhere. It's 
normally around 2 or 3 % of total physical RAM.

In Raul's case, the kernel has decided to allocate 1557M of RAM to cache. A 
particular block might have cached data in it, or it might not. It might have 
been used then marked as up for not in use anymore, or it might never have 
been written to since last reboot. It doesn't matter. All that does matter is 
that the kernel has decided that those blocks of memory *may* be used for 
caching.

The trick is that if more memory is needed by apps than what is listed as 
immediately available and free, the kernel will search out chunks that it can 
de-allocate, then it will do so.

Why does the kernel do this? It's a programming technique called lazy-
deallocation (similar to lazy-initialization) and it's used because it is 
efficient. It means the kernel only has to do work when it needs to do work. 
De-allocating memory as soon as it is not in use is expensive and usually a 
waste of time - it's very likely that that very chunk of memory will almost 
immediately be used once again. If so, why bother de-allocating it at all?

Bottom line: You, the user, do not really know what the kernel is doing with 
memory. It's also changing about 100 million times a second and your eyes 
don't work that fast. The kernel is designed to do these things in an 
autonomous fashion because it knows what to do, and you the user do not. The 
most you can do about this is provide hints as to how the kernel should 
operate and then let it get on with it.

top, free, et all, simply show snapshots of memory state at a point in time. 
You should ignore the absolute values they display and concentrate more on how 
the numbers are changing over time. A value that gradually increases while no 
real processes are running would indicate a problem for example.

This is all very correct and follows good engineering principles.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] trouble with preserved-rebuild

2009-08-16 Thread Alan McKinnon
On Sunday 16 August 2009 21:18:01 cov...@ccs.covici.com wrote:
 Alan McKinnon alan.mckin...@gmail.com wrote:
  On Sunday 16 August 2009 19:27:12 cov...@ccs.covici.com wrote:
   Hi.  I am having problems with emerge @preserved-rebuild which used to
   work fine, but on the latest time I tried it, I got the following
   message:
   These are the packages that would be merged, in order:
  
   Calculating dependencies ... done!
  
   emerge: there are no ebuilds to satisfy dev-libs/apr-util:0.
 
  ^^
  There is no SLOT 0 for apr-util
 
  Use equery depends apr-util to find out what used it and rebuild those.

 I did that and got the same results.

what exactly did you do and what output did you get from equery?

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] upgrading ~x68 kde-4.2 to kde-4.3 question

2009-08-16 Thread Alan McKinnon
On Sunday 16 August 2009 21:12:30 Dirk Heinrichs wrote:
 Am Sonntag 16 August 2009 21:02:50 schrieb Roy Wright:
  So for the kde-4.3 upgrade, it looks like this is what will be
  necessary:
 
  1) grab the sets again from the kde-testing overlay and put them in /
  etc/portage/sets (assumption is to do a replace).
  2) unmerge kde-4.2 using: emerge --unmerge @kde-4.2
  3) merge kde-4.3 using: emerge -av @kde-4.3
  4) recustomize kde as the ~/.kde will not be migrated
 
  Am I on the right track?

 No.

 1) They're in portage.

He's asking about the set files, not the ebuilds.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] trouble with preserved-rebuild

2009-08-16 Thread covici
Alan McKinnon alan.mckin...@gmail.com wrote:

 On Sunday 16 August 2009 21:18:01 cov...@ccs.covici.com wrote:
  Alan McKinnon alan.mckin...@gmail.com wrote:
   On Sunday 16 August 2009 19:27:12 cov...@ccs.covici.com wrote:
Hi.  I am having problems with emerge @preserved-rebuild which used to
work fine, but on the latest time I tried it, I got the following
message:
These are the packages that would be merged, in order:
   
Calculating dependencies ... done!
   
emerge: there are no ebuilds to satisfy dev-libs/apr-util:0.
  
   ^^
   There is no SLOT 0 for apr-util
  
   Use equery depends apr-util to find out what used it and rebuild those.
 
  I did that and got the same results.
 
 what exactly did you do and what output did you get from equery?
I emerged the packages mentioned in the equery -- I don't have the
output, although I can do it now.

 * Searching for apr-util ...
app-admin/apache-tools-2.2.12 (=dev-libs/apr-util-1*)
dev-util/subversion-1.6.4-r10 (=dev-libs/apr-util-1.3:1)
www-servers/apache-2.2.12 (=dev-libs/apr-util-1*)

I emerged the packages mentioned -- without using the version numbers
and when I did the emerge @preserved-rebuild again I got the same
results as before.


-- 
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] upgrading ~x68 kde-4.2 to kde-4.3 question

2009-08-16 Thread Volker Armin Hemmann
On Sonntag 16 August 2009, Alan McKinnon wrote:
 On Sunday 16 August 2009 21:12:30 Dirk Heinrichs wrote:
  Am Sonntag 16 August 2009 21:02:50 schrieb Roy Wright:
   So for the kde-4.3 upgrade, it looks like this is what will be
   necessary:
  
   1) grab the sets again from the kde-testing overlay and put them in /
   etc/portage/sets (assumption is to do a replace).
   2) unmerge kde-4.2 using: emerge --unmerge @kde-4.2
   3) merge kde-4.3 using: emerge -av @kde-4.3
   4) recustomize kde as the ~/.kde will not be migrated
  
   Am I on the right track?
 
  No.
 
  1) They're in portage.

 He's asking about the set files, not the ebuilds.

and you don't copy the set files.



Re: [gentoo-user] Re: Xorg dropping keyboard events

2009-08-16 Thread Keith Dart
=== On Sat, 08/15, Dale wrote: ===
 Have you tried emerging xorg-server with hal disabled?  That is
 assuming you are using the 1.5 or 1.6 version.

===

FYI, I am using the latest X server with hal enabled and the evdev
input driver and it all works fine.

-- Keith Dart

-- 

-- ~
   Keith Dart ke...@dartworks.biz
   public key: ID: 19017044
   http://www.pycopia.net/
   =



Re: [gentoo-user] upgrading ~x68 kde-4.2 to kde-4.3 question

2009-08-16 Thread Alan McKinnon
On Sunday 16 August 2009 21:46:02 Volker Armin Hemmann wrote:
 On Sonntag 16 August 2009, Alan McKinnon wrote:
  On Sunday 16 August 2009 21:12:30 Dirk Heinrichs wrote:
   Am Sonntag 16 August 2009 21:02:50 schrieb Roy Wright:
So for the kde-4.3 upgrade, it looks like this is what will be
necessary:
   
1) grab the sets again from the kde-testing overlay and put them in /
etc/portage/sets (assumption is to do a replace).
2) unmerge kde-4.2 using: emerge --unmerge @kde-4.2
3) merge kde-4.3 using: emerge -av @kde-4.3
4) recustomize kde as the ~/.kde will not be migrated
   
Am I on the right track?
  
   No.
  
   1) They're in portage.
 
  He's asking about the set files, not the ebuilds.

 and you don't copy the set files.

Which set files does one not copy, and why?

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] trouble with preserved-rebuild

2009-08-16 Thread Alan McKinnon
On Sunday 16 August 2009 21:37:27 cov...@ccs.covici.com wrote:
 Alan McKinnon alan.mckin...@gmail.com wrote:
  On Sunday 16 August 2009 21:18:01 cov...@ccs.covici.com wrote:
   Alan McKinnon alan.mckin...@gmail.com wrote:
On Sunday 16 August 2009 19:27:12 cov...@ccs.covici.com wrote:
 Hi.  I am having problems with emerge @preserved-rebuild which used
 to work fine, but on the latest time I tried it, I got the
 following message:
 These are the packages that would be merged, in order:

 Calculating dependencies ... done!

 emerge: there are no ebuilds to satisfy dev-libs/apr-util:0.
   
^^
There is no SLOT 0 for apr-util
   
Use equery depends apr-util to find out what used it and rebuild
those.
  
   I did that and got the same results.
 
  what exactly did you do and what output did you get from equery?

 I emerged the packages mentioned in the equery -- I don't have the
 output, although I can do it now.

  * Searching for apr-util ...
 app-admin/apache-tools-2.2.12 (=dev-libs/apr-util-1*)
 dev-util/subversion-1.6.4-r10 (=dev-libs/apr-util-1.3:1)
 www-servers/apache-2.2.12 (=dev-libs/apr-util-1*)

 I emerged the packages mentioned -- without using the version numbers
 and when I did the emerge @preserved-rebuild again I got the same
 results as before.

portage somehow thinks you have apr-utils:0 installed, or need to have it 
installed. Check the following:

Is it in the world file?
Check versions and SLOTS for apr-utils in /var/db/pkg/
Check the output of eix -e apr-util to see what exactly you have - keep in 
mind that a package without a SLOT is 0 by default. I suspect the devs bumped 
apr-util to SLOT=1


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] upgrading ~x68 kde-4.2 to kde-4.3 question

2009-08-16 Thread Volker Armin Hemmann
On Sonntag 16 August 2009, Alan McKinnon wrote:
 On Sunday 16 August 2009 21:46:02 Volker Armin Hemmann wrote:
  On Sonntag 16 August 2009, Alan McKinnon wrote:
   On Sunday 16 August 2009 21:12:30 Dirk Heinrichs wrote:
Am Sonntag 16 August 2009 21:02:50 schrieb Roy Wright:
 So for the kde-4.3 upgrade, it looks like this is what will be
 necessary:

 1) grab the sets again from the kde-testing overlay and put them in
 / etc/portage/sets (assumption is to do a replace).
 2) unmerge kde-4.2 using: emerge --unmerge @kde-4.2
 3) merge kde-4.3 using: emerge -av @kde-4.3
 4) recustomize kde as the ~/.kde will not be migrated

 Am I on the right track?
   
No.
   
1) They're in portage.
  
   He's asking about the set files, not the ebuilds.
 
  and you don't copy the set files.

 Which set files does one not copy, and why?

you don't copy any set files because there is no reason to do so?



Re: [gentoo-user] trouble with preserved-rebuild

2009-08-16 Thread covici
Alan McKinnon alan.mckin...@gmail.com wrote:

 On Sunday 16 August 2009 21:37:27 cov...@ccs.covici.com wrote:
  Alan McKinnon alan.mckin...@gmail.com wrote:
   On Sunday 16 August 2009 21:18:01 cov...@ccs.covici.com wrote:
Alan McKinnon alan.mckin...@gmail.com wrote:
 On Sunday 16 August 2009 19:27:12 cov...@ccs.covici.com wrote:
  Hi.  I am having problems with emerge @preserved-rebuild which used
  to work fine, but on the latest time I tried it, I got the
  following message:
  These are the packages that would be merged, in order:
 
  Calculating dependencies ... done!
 
  emerge: there are no ebuilds to satisfy dev-libs/apr-util:0.

 ^^
 There is no SLOT 0 for apr-util

 Use equery depends apr-util to find out what used it and rebuild
 those.
   
I did that and got the same results.
  
   what exactly did you do and what output did you get from equery?
 
  I emerged the packages mentioned in the equery -- I don't have the
  output, although I can do it now.
 
   * Searching for apr-util ...
  app-admin/apache-tools-2.2.12 (=dev-libs/apr-util-1*)
  dev-util/subversion-1.6.4-r10 (=dev-libs/apr-util-1.3:1)
  www-servers/apache-2.2.12 (=dev-libs/apr-util-1*)
 
  I emerged the packages mentioned -- without using the version numbers
  and when I did the emerge @preserved-rebuild again I got the same
  results as before.
 
 portage somehow thinks you have apr-utils:0 installed, or need to have it 
 installed. Check the following:
 
 Is it in the world file?
 Check versions and SLOTS for apr-utils in /var/db/pkg/
 Check the output of eix -e apr-util to see what exactly you have - keep in 
 mind that a package without a SLOT is 0 by default. I suspect the devs bumped 
 apr-util to SLOT=1
Well, I did have two versions in there -- there was a 0.9.12 and when I
got rid of that things went back to normal -- its emerging 32 packages
now.  I deleted it from the world file as well.

Thanks so much for your help.

-- 
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] upgrading ~x68 kde-4.2 to kde-4.3 question

2009-08-16 Thread Alan McKinnon
On Sunday 16 August 2009 23:09:41 Volker Armin Hemmann wrote:
 On Sonntag 16 August 2009, Alan McKinnon wrote:
  On Sunday 16 August 2009 21:46:02 Volker Armin Hemmann wrote:
   On Sonntag 16 August 2009, Alan McKinnon wrote:
On Sunday 16 August 2009 21:12:30 Dirk Heinrichs wrote:
 Am Sonntag 16 August 2009 21:02:50 schrieb Roy Wright:
  So for the kde-4.3 upgrade, it looks like this is what will be
  necessary:
 
  1) grab the sets again from the kde-testing overlay and put them
  in / etc/portage/sets (assumption is to do a replace).
  2) unmerge kde-4.2 using: emerge --unmerge @kde-4.2
  3) merge kde-4.3 using: emerge -av @kde-4.3
  4) recustomize kde as the ~/.kde will not be migrated
 
  Am I on the right track?

 No.

 1) They're in portage.
   
He's asking about the set files, not the ebuilds.
  
   and you don't copy the set files.
 
  Which set files does one not copy, and why?

 you don't copy any set files because there is no reason to do so?

And if the changes between kde-4.2 and kde-4.3 DO require changes to the set 
files to build everything, then what should one do? Not copy the files and 
live with the omission/breakage?

Set files do not ship with a --sync, the user must either get them from 
somewhere or create them himself. And additions to 4.3 are not present in 4.2, 
so I don't understand your position. Seems to me that copying working set 
files from somewhere is a requirement in this case, especially if the user 
uses versioned set files.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: Xorg dropping keyboard events

2009-08-16 Thread Dale
Keith Dart wrote:
 === On Sat, 08/15, Dale wrote: ===
   
 Have you tried emerging xorg-server with hal disabled?  That is
 assuming you are using the 1.5 or 1.6 version.
 

 ===

 FYI, I am using the latest X server with hal enabled and the evdev
 input driver and it all works fine.

 -- Keith Dart

   

Well, I had to disable hal on mine and so have a few others because hal
doesn't work for us.  I for example ended up with a GUI but no mouse or
keyboard.  So, just because something works for you does not mean it
works for everybody else.  Re-emerging xorg-server with hal disabled
works just fine so I and a few others are not using hal.

I don't know if this will help the OP or not but it is worth a try.

Dale

:-)  :-) 



Re: [gentoo-user] upgrading ~x68 kde-4.2 to kde-4.3 question

2009-08-16 Thread Volker Armin Hemmann
On Sonntag 16 August 2009, Alan McKinnon wrote:
 On Sunday 16 August 2009 23:09:41 Volker Armin Hemmann wrote:
  On Sonntag 16 August 2009, Alan McKinnon wrote:
   On Sunday 16 August 2009 21:46:02 Volker Armin Hemmann wrote:
On Sonntag 16 August 2009, Alan McKinnon wrote:
 On Sunday 16 August 2009 21:12:30 Dirk Heinrichs wrote:
  Am Sonntag 16 August 2009 21:02:50 schrieb Roy Wright:
   So for the kde-4.3 upgrade, it looks like this is what will be
   necessary:
  
   1) grab the sets again from the kde-testing overlay and put
   them in / etc/portage/sets (assumption is to do a replace). 2)
   unmerge kde-4.2 using: emerge --unmerge @kde-4.2
   3) merge kde-4.3 using: emerge -av @kde-4.3
   4) recustomize kde as the ~/.kde will not be migrated
  
   Am I on the right track?
 
  No.
 
  1) They're in portage.

 He's asking about the set files, not the ebuilds.
   
and you don't copy the set files.
  
   Which set files does one not copy, and why?
 
  you don't copy any set files because there is no reason to do so?

 And if the changes between kde-4.2 and kde-4.3 DO require changes to the
 set files to build everything, then what should one do? Not copy the files
 and live with the omission/breakage?

 Set files do not ship with a --sync, the user must either get them from
 somewhere or create them himself. And additions to 4.3 are not present in
 4.2, so I don't understand your position. Seems to me that copying working
 set files from somewhere is a requirement in this case, especially if the
 user uses versioned set files.

you install kde-testing. Suddenly you have all the set files needed. you have 
all the unmask files needed. You have all keyword files needed.

And the overlay is not that big.



Re: [gentoo-user] problems with the web browsers

2009-08-16 Thread Mick
On Sunday 16 August 2009, Alan McKinnon wrote:
 On Sunday 16 August 2009 18:40:12 M Daniel R M wrote:
  Konqueror: very stable indeed, but it couldn't be at another way since
  it's a key piece of the KDE environment... The problem comes when I want
  to fill in forms (you know... web pages for registering, etc.). It stops
  many times without giving us an alert message or some kind of
  explanation, so you have to deduce that the problem is not from the
  website, but the browser instead.
 
  I don't know whether problems come from java or whatever..., I've
  checked my konqueror preferences and I'd bet they are all OK..

 javascript support in konqueror sucks.

 For everything else it's actually OK. One of these days it will use webkit
 as the backend and then things might improve. Until then, I'm afraid you
 are SOL.

Perhaps [O/T] but is webkit a fork of khtml, or was khtml stopped any 
development and webkit took over?

-- 
Regards,
Mick


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


Re: [gentoo-user] upgrading ~x68 kde-4.2 to kde-4.3 question

2009-08-16 Thread Roy Wright


On Aug 16, 2009, at 4:33 PM, Volker Armin Hemmann wrote:


On Sonntag 16 August 2009, Alan McKinnon wrote:

On Sunday 16 August 2009 23:09:41 Volker Armin Hemmann wrote:

On Sonntag 16 August 2009, Alan McKinnon wrote:

On Sunday 16 August 2009 21:46:02 Volker Armin Hemmann wrote:

On Sonntag 16 August 2009, Alan McKinnon wrote:

On Sunday 16 August 2009 21:12:30 Dirk Heinrichs wrote:

Am Sonntag 16 August 2009 21:02:50 schrieb Roy Wright:

So for the kde-4.3 upgrade, it looks like this is what will be
necessary:

1) grab the sets again from the kde-testing overlay and put
them in / etc/portage/sets (assumption is to do a replace). 2)
unmerge kde-4.2 using: emerge --unmerge @kde-4.2
3) merge kde-4.3 using: emerge -av @kde-4.3
4) recustomize kde as the ~/.kde will not be migrated

Am I on the right track?


No.

1) They're in portage.


He's asking about the set files, not the ebuilds.


and you don't copy the set files.


Which set files does one not copy, and why?


you don't copy any set files because there is no reason to do so?


And if the changes between kde-4.2 and kde-4.3 DO require changes  
to the
set files to build everything, then what should one do? Not copy  
the files

and live with the omission/breakage?

Set files do not ship with a --sync, the user must either get them  
from
somewhere or create them himself. And additions to 4.3 are not  
present in
4.2, so I don't understand your position. Seems to me that copying  
working
set files from somewhere is a requirement in this case, especially  
if the

user uses versioned set files.


you install kde-testing. Suddenly you have all the set files needed.  
you have

all the unmask files needed. You have all keyword files needed.

And the overlay is not that big.

I've been avoiding overlays (been bit a few times) and just running a  
testing (~x86) system.


The first blocker is kde-menu-icons-4.2.4 which looks like it is  
replaced by kdebase-menu-icons-4.3.0, but here's what happens when  
attempting to unmerge kde-menu-icons-4.2.4:


royw-gentoo portage # emerge --unmerge kde-menu-icons
Not unmerging package kde-base/kde-menu-icons-4.2.4 as it is
still referenced by the following package sets:
kdebase


 No packages selected for removal by unmerge

That's what started me looking for how to do the upgrade.

Went ahead and added the kde-testing overlay.  Then moved /etc/portage/ 
kde and /etc/portage/sets to /tmp.  This allowed emerge -uDNav world  
to not have any stoppers.


So it looks like the kde-4.3 upgrade is still tightly coupled to the  
kde-testing overlay.


Thank you,
Roy





Re: [gentoo-user] Re: Xorg dropping keyboard events

2009-08-16 Thread Keith Dart
=== On Sun, 08/16, Dale wrote: ===
 Well, I had to disable hal on mine and so have a few others because
 hal doesn't work for us.  I for example ended up with a GUI but no
 mouse or keyboard.  So, just because something works for you does not
 mean it works for everybody else.  Re-emerging xorg-server with hal
 disabled works just fine so I and a few others are not using hal.

Yes, but my point is that, likewise, just because something doesn't
work for you does not mean it won't work for everybody else. ;-)


 I don't know if this will help the OP or not but it is worth a try.

Try it, but it is probably something else. 



-- Keith Dart

-- 
-- 
Keith Dart
ke...@dartworks.biz
===



Re: [gentoo-user] Re: Xorg dropping keyboard events

2009-08-16 Thread Keith Dart
=== On Sun, 08/16, Keith Dart wrote: ===
 Try it, but it is probably something else. 
 

===

BTW, another thing to try is to just comment out any input
configuration in (e.g. for mouse or kbd driver) in your xorg.conf file.
With hal/evdev it is now entirely automatic and having those in your
config can confuse things. 

It's actually kind of nice that the X server config is getting smaller
all the time. :-) 

-- Keith Dart

-- 
-- 
Keith Dart
ke...@dartworks.biz
===



[gentoo-user] Changing IPs in a hosted environment

2009-08-16 Thread Grant
My new IP seems to be on at least 2 spam lists.  The other 7 IPs in my
block seem to be on only 1 spam list.  Should I leave my
/etc/conf.d/net as-is, except add:

alias_eth0=my.new.ip.address

and then point DNS to my.new.ip.address?  After doing this, will I be
able to use my.new.ip.address in all external and internal fashions?

- Grant



Re: [gentoo-user] Changing IPs in a hosted environment

2009-08-16 Thread Keith Dart
=== On Sun, 08/16, Grant wrote: ===
 My new IP seems to be on at least 2 spam lists.
===

It might be better to just get them off the spam lists. ;-) Most of
them have an automated system where they can re-check your IP and
adjust the list.


-- Keith Dart

-- 
-- 
Keith Dart
ke...@dartworks.biz
===



Re: [gentoo-user] Changing IPs in a hosted environment

2009-08-16 Thread Grant
 My new IP seems to be on at least 2 spam lists.
 ===

 It might be better to just get them off the spam lists. ;-) Most of
 them have an automated system where they can re-check your IP and
 adjust the list.


 -- Keith Dart

Thanks Keith.  Sounds like a good idea.  Do you have a favorite
blacklist checker?

- Grant



Re: [gentoo-user] Changing IPs in a hosted environment

2009-08-16 Thread Keith Dart
=== On Sun, 08/16, Grant wrote: ===
 Thanks Keith.  Sounds like a good idea.  Do you have a favorite
 blacklist checker?
===

No, just go to the main web site of whatever list you're on. I've had
to do this some time ago. ;-) It wasn't too hard, but I don't remember
the details now, sorry.


-- Keith Dart

-- 
-- 
Keith Dart
ke...@dartworks.biz
===



Re: [gentoo-user] Changing IPs in a hosted environment

2009-08-16 Thread Grant
 Thanks Keith.  Sounds like a good idea.  Do you have a favorite
 blacklist checker?
 ===

 No, just go to the main web site of whatever list you're on. I've had
 to do this some time ago. ;-) It wasn't too hard, but I don't remember
 the details now, sorry.


 -- Keith Dart

No problem, thanks again.

- Grant



[gentoo-user] Re: Xorg dropping keyboard events

2009-08-16 Thread Moshe Kamensky

* Keith Dart ke...@dartworks.biz [16/08/09 19:00]:
 === On Sun, 08/16, Keith Dart wrote: ===
  Try it, but it is probably something else. 
  
 
 ===
 
 BTW, another thing to try is to just comment out any input
 configuration in (e.g. for mouse or kbd driver) in your xorg.conf file.
 With hal/evdev it is now entirely automatic and having those in your
 config can confuse things. 
 
 It's actually kind of nice that the X server config is getting smaller
 all the time. :-) 

Thanks, but I tried that and it didn't help. On the other hand, I this 
time when I started X the problem is gone, so it seems that the problem 
is a bit random.

Thanks,
Moshe



pgp43oNBOgiz1.pgp
Description: PGP signature


Re: [gentoo-user] Re: Xorg dropping keyboard events

2009-08-16 Thread Keith Dart
=== On Sun, 08/16, Moshe Kamensky wrote: ===
 Thanks, but I tried that and it didn't help. On the other hand, I
 this time when I started X the problem is gone, so it seems that the
 problem is a bit random.
===

Gotta hate those gremlins with dice. ;-)

If it happens again I have some tools that can determine if the problem
is in the X server, or the Linux kernel input/event subsystem. 

-- Keith Dart

-- 
-- 
Keith Dart
ke...@dartworks.biz
===



[gentoo-user] Network message encryption

2009-08-16 Thread Xianwen Chen
Hello all,

I'm looking for a network message encryption method. Please kindly
tell me if you know any Instant Messenger which supports encryption.
Thank you very much!

Best regards,

Wen

-- 
Xianwen Chen

Mobile: +86 13774 228909
Email: cxi...@post.uit.no; xianwen.c...@gmail.com



[gentoo-user] Re: prelink Gentoo docs confusing

2009-08-16 Thread Nikos Chantziaras

On 08/15/2009 02:59 PM, Albert Hopkins wrote:

On Fri, 2009-08-14 at 18:27 +0300, Nikos Chantziaras wrote:

On http://www.gentoo.org/doc/en/prelink-howto.xml is says:

You do not need to set FEATURES=prelink in your make.conf
file; Portage will automatically support prelink if it can
find the prelink binary.

Does that mean there's a way portage will call prelink on its own when
it finds it?  Well, it doesn't here.  I still have to manually prelink
or have a cron job.


I've always wondered this too, so I decided to test it:

* Put prelink in my FEATURES in make.conf
[...]

So it appears that it *is* running it on its own.


But the docs I quotes say You do not need to set FEATURES=prelink in 
your make.conf.





Re: [gentoo-user] Network message encryption

2009-08-16 Thread Dale
Xianwen Chen wrote:
 Hello all,

 I'm looking for a network message encryption method. Please kindly
 tell me if you know any Instant Messenger which supports encryption.
 Thank you very much!

 Best regards,

 Wen

   

According to the USE flags, it appears that Kopete supports encryption. 
I have no clue how good it is or if this is exactly what you are looking
for but you may want to look into it.

[ebuild   R   ] kde-base/kopete-3.5.10-r4  USE=crypt groupwise
highlight history sametime ssl statistics texteffect yahoo -addbookmarks
-alias -autoreplace -connectionstatus -contactnotes -debug
-emoticons-manager -gadu -irc -jabber (-jingle) -kdehiddenvisibility
-latex -msn -netmeeting -nowlistening -oscar -slp -sms -translator -v4l2
-webpresence -winpopup -xscreensaver

r...@smoker / # euse -i crypt
global use flags (searching: crypt)

[+ CD ] crypt - Add support for encryption -- using mcrypt or gpg where
applicable

Hope that gets you in the some sort of a direction.

Dale

:-)  :-) 



Re: [gentoo-user] Re: Xorg dropping keyboard events

2009-08-16 Thread Dale
Keith Dart wrote:
 === On Sun, 08/16, Keith Dart wrote: ===
   
 Try it, but it is probably something else. 

 

 ===

 BTW, another thing to try is to just comment out any input
 configuration in (e.g. for mouse or kbd driver) in your xorg.conf file.
 With hal/evdev it is now entirely automatic and having those in your
 config can confuse things. 

 It's actually kind of nice that the X server config is getting smaller
 all the time. :-) 

 -- Keith Dart

   

I just renamed xorg.conf to something else and tried it that way.  It
didn't like that either.  I followed the guide on Gentoo.org and even
tried a couple things people mentioned on this list but it still doesn't
work.  As soon as X comes up, no mouse, no keyboard. 

Dale

:-)  :-) 



Re: [gentoo-user] Network message encryption

2009-08-16 Thread Saphirus Sage
Xianwen Chen wrote:
 Hello all,

 I'm looking for a network message encryption method. Please kindly
 tell me if you know any Instant Messenger which supports encryption.
 Thank you very much!

 Best regards,

 Wen

   
Well, for instant messengers, most do support some form of encryption,
such that Empathy, Pidgin or any other client which can handle MSN must
use encryption, as everything is sent over SSL. But, in general, I would
suggest Pidgin, as via a plugin, it can be used in combination with OTR
(Off-The-Record) which uses public-key encryption between clients, and
ontop of that, there's even a plugin for pidgin which uses RSA instead,
which I've found to be buggy, but is certainly a bit stronger in the
cryptographic sense.



[gentoo-user] In search for a undeclared identifier...

2009-08-16 Thread meino . cramer

Hi,

I try to build the developper branch of a software project,
which is not in Gentoo.

This works a longer time.

Now the compilatino process aborts with

glmodule.c:926: error: 'glActiveTexture' undeclared (first use in this function)
.

Sounds somehow OpenGL-related:
I am using a nVidia Corporation GeForce 7600 GT with NVidia-drivers
and eselected opengl. Since Blender, which uses OpenGL a lot runs fine
and is also build each day from developper sources...

Does anyone know to what glActiveTexture belongs to?
And where I can buy one for my Linux box ;)

Thank you very much in advance for any helpful hint !

Best regards
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.




Re: [gentoo-user] Network message encryption

2009-08-16 Thread Mike Kazantsev
On Mon, 17 Aug 2009 04:19:35 +0200
Xianwen Chen xianwen.c...@gmail.com wrote:

 I'm looking for a network message encryption method. Please kindly
 tell me if you know any Instant Messenger which supports encryption.
 Thank you very much!

I'm using gajim with TLS-enabled (transport-level encryption) connection
to the servers and built-in GPG plugin to encrypt messages, containing
some auth info, which I occasionally have to pass.
I believe pidgin also had support for such feature via one of the
standard plugins.

TLS is widely-deployed on XMPP (jabber) servers, but encryption ends at
the server in question, so it can intercept / mangle the messages, so it
might be good idea to prefer large and reliable servers to
possibly-compromised or malicious small ones.
Furthermore, in case of XMPP, your (source) server is free to pass the
message in unencrypted form to destination server, so message can be
caught by any IP-sniffers on the route.
Then there's also remote client connection, which can be unencrypted
(no TLS/SSL) and likewise intercepted on TCP/IP level.

GPG encryption requires clients on both sides to support it, but has
benefit that all cryptographic operations are happening on client
machines, so server (or any intermediate host) is unable to spoof
conversation, provided the encryption (GPG) keys aren't compromised.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


Re: [gentoo-user] In search for a undeclared identifier...

2009-08-16 Thread Mike Kazantsev
On Mon, 17 Aug 2009 05:20:05 +0200
meino.cra...@gmx.de wrote:

 I try to build the developper branch of a software project,
 which is not in Gentoo.
 
 This works a longer time.
 
 Now the compilatino process aborts with
 
 glmodule.c:926: error: 'glActiveTexture' undeclared (first use in
 this function) .
 
 Sounds somehow OpenGL-related:
 I am using a nVidia Corporation GeForce 7600 GT with NVidia-drivers
 and eselected opengl. Since Blender, which uses OpenGL a lot runs fine
 and is also build each day from developper sources...
 
 Does anyone know to what glActiveTexture belongs to?
 And where I can buy one for my Linux box ;)
 
 Thank you very much in advance for any helpful hint !

On my system it's in /usr/include/GL/glew.h header, which belongs to
media-libs/glew, so you probably need to have it installed.


-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


[gentoo-user] Re: In search for a undeclared identifier...

2009-08-16 Thread Nikos Chantziaras

On 08/17/2009 06:20 AM, meino.cra...@gmx.de wrote:


Hi,

I try to build the developper branch of a software project,
which is not in Gentoo.

This works a longer time.

Now the compilatino process aborts with

glmodule.c:926: error: 'glActiveTexture' undeclared (first use in this function)
.

Sounds somehow OpenGL-related:
I am using a nVidia Corporation GeForce 7600 GT with NVidia-drivers
and eselected opengl. Since Blender, which uses OpenGL a lot runs fine
and is also build each day from developper sources...

Does anyone know to what glActiveTexture belongs to?
And where I can buy one for my Linux box ;)


You don't need to buy anything.  All you need is to tell the person who 
wrote glmodule.c to go fix the code :)


It's probably a matter of:

#define GL_GLEXT_PROTOTYPES
#include GL/glext.h




[gentoo-user] Re: Xorg dropping keyboard events

2009-08-16 Thread ABCD
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dale wrote:
 I just renamed xorg.conf to something else and tried it that way.  It
 didn't like that either.  I followed the guide on Gentoo.org and even
 tried a couple things people mentioned on this list but it still doesn't
 work.  As soon as X comes up, no mouse, no keyboard. 
 

Is CONFIG_INPUT_EVDEV set to y or m in your kernel config? If not,
then xf86-input-evdev will not work, as you won't have the
/dev/input/event{0,1,...} devices it needs.

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

iEYEARECAAYFAkqI2i4ACgkQOypDUo0oQOoligCfSF52ExRozYdVLJ7pHnO5W83H
RmoAoN5DQBCop5qXNTlG0y+dyWjUSWj9
=3JW5
-END PGP SIGNATURE-




Re: [gentoo-user] Re: Xorg dropping keyboard events

2009-08-16 Thread Crístian Viana
once I had a problem like this, and I solved it by adding the following
section to xorg.conf:

Section ServerFlags
   Option AllowEmptyInputfalse
EndSection

it happened earlier this year when I upgraded x11-base/xorg-x11.

-- 
Crístian Deives dos Santos Viana [aka CD1]
Sent from Campinas, SP, Brazil


[gentoo-user] Problem with pppd-added routes

2009-08-16 Thread Mike Kazantsev
Good day,

I have a pretty much standard home/office setup with default route
via local gateway machine (192.168.0.10) and I want to establish a PPTP
tunnel to a remote network.


pppd setup is pretty trivial.
peer:

  pty pptp pptp server hostname --nolaunchpppd
  user user
  password password
  file /etc/ppp/options.pptp
  ipparam network_x

options.pptp:

  noauth
  lock
  
  refuse-pap
  refuse-chap
  refuse-mschap
  require-mppe
  
  asyncmap 0x0
  
  mru 1400
  mtu 1400
  
  nodefaultroute
  noipdefault


Authentication works fine:

  using channel 33
  Using interface ppp0
  Connect: ppp0 -- /dev/pts/16
  sh: /bin/ip: No such file or directory
  sh: /bin/ip: No such file or directory
  sent [LCP ConfReq id=0x1 asyncmap 0x0 magic 0x296aa977 pcomp accomp]
  rcvd [LCP ConfReq id=0x1 asyncmap 0x0 auth chap MS-v2 magic 0x6cb4d92f 
pcomp accomp]
  sent [LCP ConfAck id=0x1 asyncmap 0x0 auth chap MS-v2 magic 0x6cb4d92f 
pcomp accomp]
  rcvd [LCP ConfAck id=0x1 asyncmap 0x0 magic 0x296aa977 pcomp accomp]
  rcvd [LCP EchoReq id=0x0 magic=0x6cb4d92f]
  sent [LCP EchoRep id=0x0 magic=0x296aa977]
  rcvd [CHAP Challenge id=0x6 ..., name = pptpd]
  sent [CHAP Response id=0x6 ..., name = user]
  rcvd [CHAP Success id=0x6 S=...]
  CHAP authentication succeeded
  sent [CCP ConfReq id=0x1 mppe +H -M +S +L -D -C]
  rcvd [CCP ConfReq id=0x1 mppe +H -M +S -L -D -C]
  sent [CCP ConfAck id=0x1 mppe +H -M +S -L -D -C]
  rcvd [CCP ConfNak id=0x1 mppe +H -M +S -L -D -C]
  sent [CCP ConfReq id=0x2 mppe +H -M +S -L -D -C]
  rcvd [CCP ConfAck id=0x2 mppe +H -M +S -L -D -C]
  MPPE 128-bit stateless compression enabled
  sent [IPCP ConfReq id=0x1 compress VJ 0f 01 addr 0.0.0.0]
  rcvd [IPCP ConfReq id=0x1 compress VJ 0f 01 addr __pptp_server_ip__]
  sent [IPCP ConfAck id=0x1 compress VJ 0f 01 addr __pptp_server_ip__]
  rcvd [IPCP ConfNak id=0x1 addr __given_ip__]
  sent [IPCP ConfReq id=0x2 compress VJ 0f 01 addr __given_ip__]
  rcvd [IPCP ConfAck id=0x2 compress VJ 0f 01 addr __given_ip__]
  local  IP address __given_ip__
  remote IP address __pptp_server_ip__
  Script /etc/ppp/ip-up started (pid 3138)
  Script /etc/ppp/ip-up finished (pid 3138), status = 0x0


But then, as usual, pppd messes up the routing table, adding the following 
route:

  __pptp_server_ip__ dev ppp0  proto kernel  scope link  src __given_ip__

resulting in routing table like this:

  __pptp_server_ip__ dev ppp0  proto kernel  scope link  src __given_ip__
  192.168.0.0/28 dev ath0  proto kernel  scope link  src 192.168.0.11
  127.0.0.0/8 via 127.0.0.1 dev lo
  default via 192.168.0.10 dev ath0

...and ppp0 falls off in two minutes, because of inability to access
__pptp_server_ip__.


Naturally, all packets to __pptp_server_ip__ should go through
192.168.0.10 gateway, so I've always managed to work around this
problem (with ISPs) by adding a route like this:

  __pptp_server_ip__ via 192.168.0.10 dev ath0

And it was used instead of the one, added by pppd.


Now, the situation got a bit more complicated, because
__pptp_server_ip__ is actually dynamic - there are several dozens of
them, given by DNS on round-robin basis, so it seems quite irrational
and hacky to add all of them to routing table. Always using just one of
them doesn't seem to be a clean solution, as well.

Likewise, if-up script to clean up the messy route looks like a hack,
especially because connection will be messed up it won't be fast enough
- 1 second delay in removing this route results in tons of 'Protocol
Rejected' errors (my guess is that ppp connection gets desynchronised),
which can only be fixed by reconnection.

So, the question: can I tell pppd/kernel not to add this route somehow?
I bet there should be some option, but I'm unable to find it in man
page or google.
Prehaps I can ban pppd from adding _any_ routes somehow?


Sorry for such a long post, just wanted to make the problem as clear as
possible. Thanks.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


Re: [gentoo-user] In search for a undeclared identifier...

2009-08-16 Thread Mike Kazantsev
On Mon, 17 Aug 2009 09:42:12 +0600
Mike Kazantsev mk.frag...@gmail.com wrote:

 On Mon, 17 Aug 2009 05:20:05 +0200
 meino.cra...@gmx.de wrote:
 
  I try to build the developper branch of a software project,
  which is not in Gentoo.
  
  This works a longer time.
  
  Now the compilatino process aborts with
  
  glmodule.c:926: error: 'glActiveTexture' undeclared (first use in
  this function) .
  
  Sounds somehow OpenGL-related:
  I am using a nVidia Corporation GeForce 7600 GT with NVidia-drivers
  and eselected opengl. Since Blender, which uses OpenGL a lot runs
  fine and is also build each day from developper sources...
  
  Does anyone know to what glActiveTexture belongs to?
  And where I can buy one for my Linux box ;)
  
  Thank you very much in advance for any helpful hint !
 
 On my system it's in /usr/include/GL/glew.h header, which belongs to
 media-libs/glew, so you probably need to have it installed.

My bad, I've misread grep results. It really is
in /usr/include/GL/glext.h.
And that file should be symlink created by eselect opengl with
source belonging either to media-libs/mesa or nvidia drivers.

If source file include lines are correct, you might want to try
re-emerging nvidia drivers and eselect'ing them.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


[gentoo-user] Re: In search for a undeclared identifier...

2009-08-16 Thread Nikos Chantziaras

On 08/17/2009 07:52 AM, Mike Kazantsev wrote:

On Mon, 17 Aug 2009 09:42:12 +0600
Mike Kazantsevmk.frag...@gmail.com  wrote:


On Mon, 17 Aug 2009 05:20:05 +0200
meino.cra...@gmx.de wrote:


I try to build the developper branch of a software project,
which is not in Gentoo.

This works a longer time.

Now the compilatino process aborts with

glmodule.c:926: error: 'glActiveTexture' undeclared (first use in
this function) .
[...]


On my system it's in /usr/include/GL/glew.h header, which belongs to
media-libs/glew, so you probably need to have it installed.


My bad, I've misread grep results. It really is
in /usr/include/GL/glext.h.
And that file should be symlink created by eselect opengl with
source belonging either to media-libs/mesa or nvidia drivers.

If source file include lines are correct, you might want to try
re-emerging nvidia drivers and eselect'ing them.


The header file is probably installed correctly, since the compiler's 
error complains about an undeclared identifier rather than a 
non-existent header (error: GL/glext.h: No such file or directory).





Re: [gentoo-user] Re: Xorg dropping keyboard events

2009-08-16 Thread Dale
ABCD wrote:
 Dale wrote:
  I just renamed xorg.conf to something else and tried it that way.  It
  didn't like that either.  I followed the guide on Gentoo.org and even
  tried a couple things people mentioned on this list but it still doesn't
  work.  As soon as X comes up, no mouse, no keyboard.


 Is CONFIG_INPUT_EVDEV set to y or m in your kernel config? If not,
 then xf86-input-evdev will not work, as you won't have the
 /dev/input/event{0,1,...} devices it needs.


Mine is set to build in the kernel.

r...@smoker / # cat /usr/src/linux/.config | grep CONFIG_INPUT_EVDEV
CONFIG_INPUT_EVDEV=y
r...@smoker / #


So, another possible cause dealt with.  Still watching for others tho. 

Dale

:-)  :-) 



Re: [gentoo-user] Re: Xorg dropping keyboard events

2009-08-16 Thread Dale
Crístian Viana wrote:
 once I had a problem like this, and I solved it by adding the
 following section to xorg.conf:

 Section ServerFlags
Option AllowEmptyInputfalse
 EndSection

 it happened earlier this year when I upgraded x11-base/xorg-x11.

 -- 
 Crístian Deives dos Santos Viana [aka CD1]
 Sent from Campinas, SP, Brazil 

Yea, that does the same as disabling hal tho.  Just faster than
recompiling xorg-server with -hal.

I forgot about doing it that way.  I'm getting to old.  :/

Dale

:-)  :-) 



Re: [gentoo-user] upgrading ~x68 kde-4.2 to kde-4.3 question

2009-08-16 Thread Dirk Heinrichs
Am Montag 17 August 2009 00:12:33 schrieb Roy Wright:

 So it looks like the kde-4.3 upgrade is still tightly coupled to the  
 kde-testing overlay.

No, it's not. I don't have the kde-testing overlay and update went smooth, 
except for the blockers you mentioned, but they were solved by simply 
uninstallind these ebuilds. The differences are:

1) I don't use sets.
2) I use paludis.

Bye...

Dirk


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


Re: [gentoo-user] problems with the web browsers

2009-08-16 Thread Stroller


On 16 Aug 2009, at 22:36, Mick wrote:

...
javascript support in konqueror sucks.

For everything else it's actually OK. One of these days it will use  
webkit
as the backend and then things might improve. Until then, I'm  
afraid you

are SOL.


Perhaps [O/T] but is webkit a fork of khtml, or was khtml stopped any
development and webkit took over?



Webkit is a fork of KHTML (and KJS, KDE's JavaScript engine) but I get  
the impression that it has benefited from Apple's legion of paid   
full time engineers.


The initial development by Apple was done stealthily, and they made  
significant changes (some of which were quite MacOS specific) so it  
was not possible to reintegrate their modifications. KHTML  Webkit  
retain separate codebases, then.


SquirrelFish seems interesting  relevant to this conversation: 
http://en.wikipedia.org/wiki/WebKit
(also see http://en.wikipedia.org/wiki/KHTML)

Stroller.




Re: [gentoo-user] upgrading ~x68 kde-4.2 to kde-4.3 question

2009-08-16 Thread Dirk Heinrichs
Am Sonntag 16 August 2009 23:18:40 schrieb Alan McKinnon:

 And if the changes between kde-4.2 and kde-4.3 DO require changes to the
 set files to build everything, then what should one do? Not copy the files
 and live with the omission/breakage?

I maybe wrong here, but aren't the sets in kde-testing just examples, which 
are equivalent to what to get with the meta ebuilds? And, they're not in 
portage, so they are not needed at all to install kde. So no, not copying them 
will not cause any breakage, using them may do so.

Bye...

Dirk


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