[gentoo-user] Install kernel 2.6.22

2009-08-17 Thread Song Zhiwei
Hi all,

I want to emerge the gentoo-source-2.6.22, but the latest portage does
not have it but only have 2.6.16, 2.6.25 and above. How can I install
the kernel 2.6.22 for gentoo? Thanks in advance.

Regards,
Zhiwei



Re: [gentoo-user] Install kernel 2.6.22

2009-08-17 Thread Dirk Heinrichs
Am Montag 17 August 2009 09:22:16 schrieb Song Zhiwei:

 I want to emerge the gentoo-source-2.6.22, but the latest portage does
 not have it but only have 2.6.16, 2.6.25 and above. How can I install
 the kernel 2.6.22 for gentoo? Thanks in advance.

If you don't need any special things provided by gentoo-sources, you can get 
any version from kernel.org.

curiosity
Why install such an old version?
/curiosity

Bye...

Dirk


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


Re: [gentoo-user] Install kernel 2.6.22

2009-08-17 Thread Song Zhiwei
Thanks for your reply.

Yes, I want to use the special things provided by gentoo-sources.

I need the old one because the can2usb driver I used does not support
any kernel above 2.6.22.

Zhiwei

2009/8/17 Dirk Heinrichs dirk.heinri...@online.de:
 Am Montag 17 August 2009 09:22:16 schrieb Song Zhiwei:

 I want to emerge the gentoo-source-2.6.22, but the latest portage does
 not have it but only have 2.6.16, 2.6.25 and above. How can I install
 the kernel 2.6.22 for gentoo? Thanks in advance.

 If you don't need any special things provided by gentoo-sources, you can get
 any version from kernel.org.

 curiosity
 Why install such an old version?
 /curiosity

 Bye...

        Dirk




Re: [gentoo-user] Install kernel 2.6.22

2009-08-17 Thread Justin
Song Zhiwei schrieb:
 Hi all,
 
 I want to emerge the gentoo-source-2.6.22, but the latest portage does
 not have it but only have 2.6.16, 2.6.25 and above. How can I install
 the kernel 2.6.22 for gentoo? Thanks in advance.
 
 Regards,
 Zhiwei
 

get the ebuild from here


http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/gentoo-sources/?hideattic=0

and use a local overlay



signature.asc
Description: OpenPGP digital signature


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

2009-08-17 Thread Konstantinos Agouros
In 4a87e19a.2040...@coolmail.se pete...@coolmail.se (pk) writes:

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...
well for www-client/mozilla-firefox there isn't even a 3.0.13 ebuild with
a sync from last evening. Plus: This does not answer my question.

Best regards

Peter K

-- 
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] Install kernel 2.6.22

2009-08-17 Thread Song Zhiwei
Thank you.

2009/8/17 Justin jus...@j-schmitz.net:
 Song Zhiwei schrieb:
 Hi all,

 I want to emerge the gentoo-source-2.6.22, but the latest portage does
 not have it but only have 2.6.16, 2.6.25 and above. How can I install
 the kernel 2.6.22 for gentoo? Thanks in advance.

 Regards,
 Zhiwei


 get the ebuild from here


 http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/gentoo-sources/?hideattic=0

 and use a local overlay





Re: [gentoo-user] Re: prelink Gentoo docs confusing

2009-08-17 Thread pk
Nikos Chantziaras wrote:

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

Maybe not an answer to your questions but...:
http://lwn.net/Articles/341244/

Best regards

Peter K



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

2009-08-17 Thread Keith Dart
=== On Mon, 08/17, Dale wrote: ===
 So, another possible cause dealt with.  Still watching for others
 tho. 

===

Any clues in /var/log/Xorg.0.log ?

-- Keith Dart

-- 

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



Re: [gentoo-user] Problem with pppd-added routes

2009-08-17 Thread Keith Dart
=== On Mon, 08/17, Mike Kazantsev wrote: ===
 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__

That's not messed up, that's what it's supposed to do.

 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

The __pptp_server_ip__ (you don't say what it is) should be the inner,
or tunneled IP address to the server's tunneled interface.

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

No they shouldn't, because it probably isn't routable. It may be
that your local IP network and the remote tunneled IP network are the
same. That would cause you problems.  If your connection is dropping
then it may be that your destination is behind a firewall. It's hard to
tell exactly what is going on with the limited information here. 

 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?

That's not the problem to solve. The most common problem is setting up
routes to the tunneled destination. You probably need to add some
static routes to the remote networks. You can do this by adding a shell
script to /etc/ppp/ip-up.d directory:

# cat 70-routes.sh 
#!/bin/sh

# Used parameters and environment variables:
# $1 - interface name
# $6 - ipparam name

case $6 in
ipparamvalue)
ip route add 10.0.0.0/8 dev $1;;
esac



-- Keith Dart

-- 

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



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

2009-08-17 Thread pk
Konstantinos Agouros wrote:

 well for www-client/mozilla-firefox there isn't even a 3.0.13 ebuild with
 a sync from last evening. Plus: This does not answer my question.

It was not meant to answer your question about what's happening (I'm not
involved in that so I don't know the answer). I just wanted to mention
if you are looking for the latest security fixes, 3.0.12 is not the
latest version.

FYI:
http://www.mozilla.org/security/known-vulnerabilities/

Best regards

Peter K



Re: [gentoo-user] Problem with pppd-added routes

2009-08-17 Thread Mike Kazantsev
On Mon, 17 Aug 2009 02:37:42 -0700
Keith Dart ke...@dartworks.biz wrote:

 === On Mon, 08/17, Mike Kazantsev wrote: ===
  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__
 
 That's not messed up, that's what it's supposed to do.

Guess it's just because all the gateways I've connected to lead to the
outside world, not the inner network with local IPs, so inner and
outer IPs there are the same (yes, both networks are actually the same
outside world, see below).


  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
 
 The __pptp_server_ip__ (you don't say what it is) should be the inner,
 or tunneled IP address to the server's tunneled interface.
 
  ...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:
 
 No they shouldn't, because it probably isn't routable. It may be
 that your local IP network and the remote tunneled IP network are the
 same. That would cause you problems.  If your connection is dropping
 then it may be that your destination is behind a firewall. It's hard
 to tell exactly what is going on with the limited information here. 

Hm, the inner word clears it up, thanks for the tip.

Indeed, the networks, routed by local and pptp gateway do overlap,
because they both lead to the outside internet (although both are a bit
restricted subset of it).
So the should-be-inner IP (__pptp_server_ip__) is just identical to
the outer one.

I wonder if it does matter whether the remote gateway is closed to a
__given_ip__ - connection was established from first gw's outer IP
anyway, so the route to it is indeed severed: to send a packet to ppp0
gw, I need to use ppp0 and to use ppp0 I need to send that packet to
ppp0 gw ;)

Okay, I'll try to be more specific, although your guess about networks'
layout seem to be correct anyway.
Note that the host 87.224.197.1 should be accessible via both gateways.


tests (1):

  # ping -c 1 87.224.197.1
  PING 87.224.197.1 (87.224.197.1) 56(84) bytes of data. 64 bytes from
  87.224.197.1: icmp_seq=1 ttl=57 time=4.67 ms

  # ping -c 1 93.182.147.2
  PING 93.182.147.2 (93.182.147.2) 56(84) bytes of data. 64 bytes from
  93.182.147.2: icmp_seq=1 ttl=51 time=107 ms

ip ro before pon:

  192.168.0.0/28 dev ath0  proto kernel  scope link  src 192.168.0.13
  127.0.0.0/8 via 127.0.0.1 dev lo
  default via 192.168.0.10 dev ath0

pon:

  ...
  rcvd [IPCP ConfAck id=0x2 compress VJ 0f 01 addr 93.182.147.27]
  local  IP address 93.182.147.27
  remote IP address 93.182.147.2
  Script /etc/ppp/ip-up started (pid 5048)
  Script /etc/ppp/ip-up finished (pid 5048), status = 0x0

ip ro now:

  93.182.147.2 dev ppp0  proto kernel  scope link  src 93.182.147.27
  192.168.0.0/28 dev ath0  proto kernel  scope link  src 192.168.0.13
  127.0.0.0/8 via 127.0.0.1 dev lo
  default via 192.168.0.10 dev ath0

tests (2):

  # ip ro add 87.224.197.1 dev ppp0

  # ping 87.224.197.1
  PING 87.224.197.1 (87.224.197.1) 56(84) bytes of data. ^C
  --- 87.224.197.1 ping statistics ---
  7 packets transmitted, 0 received, 100% packet loss, time 7000ms

  # ping 93.182.147.2
  PING 93.182.147.2 (93.182.147.2) 56(84) bytes of data. ^C
  --- 93.182.147.2 ping statistics ---
  3 packets transmitted, 0 received, 100% packet loss, time 3000ms

2 minutes later (pon output):

  Modem hangup
  Connect time 2.0 minutes.
  Sent 1847283226 bytes, received 0 bytes.
  Script /etc/ppp/ip-down started (pid 5169)
  MPPE disabled
  sent [LCP TermReq id=0x2 MPPE disabled]
  Connection terminated.
  Script pptp 93.182.147.2 --nolaunchpppd finished (pid 5042), status = 0x0
  Script /etc/ppp/ip-down finished (pid 5169), status = 0x0

ppp0 is destroyed along with it's routes and both pings work again via
192.168.0.10 gw, while I wanted to access 87.224.197.1 via the tunnel.

If I'll add ip ro del 93.182.147.2 dev ppp0 quickly enough to test
(2) block, both pings will work - packets to 93.182.147.2 will be
routed via 192.168.0.10 and to 87.224.197.1 via 93.182.147.2.


And so the question stays the same:

  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?

Not a chance? :(


 That's not the problem to solve. The most common problem is setting up
 routes to the tunneled destination. You probably need to add some
 static routes to the remote networks. You can do this by adding a
 shell script to /etc/ppp/ip-up.d directory:

Yes, 

Re: [gentoo-user] Network message encryption

2009-08-17 Thread KH
Xianwen Chen schrieb:
 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
 

Hi,

IIRC psi can be used togetzter with gnupg. This should do ;-)

kh



Re: [gentoo-user] Network message encryption

2009-08-17 Thread Hinnerk van Bruinehsen
I use an OTR-plugin for Pidgin. It works fine with ICQ and Facebookchat
and most likely with most other protocols too.

x11-plugins/pidgin-otr

There is even a compatible Plugin for Miranda (encrypted messages to Windows).
 


On Mon, 2009-08-17 at 13:13 +0200, KH wrote:
 Xianwen Chen schrieb:
  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
  
 
 Hi,
 
 IIRC psi can be used togetzter with gnupg. This should do ;-)
 
 kh
 




[gentoo-user] Re: prelink Gentoo docs confusing

2009-08-17 Thread Nikos Chantziaras

On 08/17/2009 12:07 PM, pk wrote:

Nikos Chantziaras wrote:


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


Maybe not an answer to your questions but...:
http://lwn.net/Articles/341244/


If you actually read the article linked to from that one:

Just before the holiday weekend in the US, somebody uploaded a broken 
prelink which hosed most important executables on the system. The result 
was a box which wouldn't boot


I take it the prelink in Gentoo is not broken.




Re: [gentoo-user] Network message encryption

2009-08-17 Thread Thomas Kahle
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!

Kopete with the otr use flag supports Off The Record Encryption. This is
 THE method when communicating over a totally open channel like the
internet. The message is encrypted on your computer and decrypted on the
receivers computer. A drawback is that you have to handshake with each
of the receivers first. New keys are generated on the fly (off the
record) such that if your secret key is compromised no old messages can
be decrypted still. Wikipedia has a small article about it and it works
quite easily once set up in kopete.

Best
Thomas

 
 Best regards,
 
 Wen
 


-- 
Thomas Kahle

The fundamental theorem of algebra is open source. Like any other
mathematical theorem it can be applied free of charge and everybody
has access to its proof and can convince himself how it works. Why
should software be any different?



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Network message encryption

2009-08-17 Thread Xianwen Chen
Hi Dale,

On 8/17/09, Dale rdalek1...@gmail.com wrote:




 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.


Yes, Kopete supports encryption. Thanks for the information. However,
I need to use QQ protocal, which isn't right now supported by Kopete.

Best regards,

Wen

 [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

 :-)  :-)




-- 
Xianwen Chen

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



Re: [gentoo-user] Network message encryption

2009-08-17 Thread Xianwen Chen
Hi Saphirus,

On 8/17/09, Saphirus Sage saphirus...@gmail.com wrote:

 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.



Thanks very much for the information. I'm emerged pidgin-otr, and it
works well! I didn't go for the RSA plugin, since it was buggy, and
OTR is enough for me.

Best regards,

Wen

-- 
Xianwen Chen

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



Re: [gentoo-user] Network message encryption

2009-08-17 Thread Xianwen Chen
Hi Mike,

On 8/17/09, Mike Kazantsev mk.frag...@gmail.com wrote:

 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.

Thanks for the information. I've checked the wikipedia page of gajim.
It's very interesting, however, I'm not a jabber user. But I'll check
it again if any friend of mine is using jabber, since the GPG plugin
is very attractive to me.

Best regards,

Wen


 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



-- 
Xianwen Chen

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



Re: [gentoo-user] Network message encryption

2009-08-17 Thread Xianwen Chen
On 8/17/09, KH gentoo-u...@konstantinhansen.de wrote:

 Hi,

 IIRC psi can be used togetzter with gnupg. This should do ;-)

 kh



Hi KH,

What's IIRC psi? Could you please provide a link?

Best regards,

Wen


-- 
Xianwen Chen

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



Re: [gentoo-user] Network message encryption

2009-08-17 Thread Xianwen Chen
Hi Hinnerk,

Thanks! I'm using it now!

Best regards,

Wen

On 8/17/09, Hinnerk van Bruinehsen hvbruineh...@googlemail.com wrote:
 I use an OTR-plugin for Pidgin. It works fine with ICQ and Facebookchat
 and most likely with most other protocols too.

 x11-plugins/pidgin-otr

 There is even a compatible Plugin for Miranda (encrypted messages to
 Windows).



 On Mon, 2009-08-17 at 13:13 +0200, KH wrote:
 Xianwen Chen schrieb:
  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
 

 Hi,

 IIRC psi can be used togetzter with gnupg. This should do ;-)

 kh






-- 
Xianwen Chen

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



Re: [gentoo-user] Network message encryption

2009-08-17 Thread Xianwen Chen
Hi Thomas,

Thanks for your information. I would love to have a try on Kopete once
it supports QQ protocal.

Best regards,

Wen

On 8/17/09, Thomas Kahle tom...@gmx.de wrote:

 Kopete with the otr use flag supports Off The Record Encryption. This is
  THE method when communicating over a totally open channel like the
 internet. The message is encrypted on your computer and decrypted on the
 receivers computer. A drawback is that you have to handshake with each
 of the receivers first. New keys are generated on the fly (off the
 record) such that if your secret key is compromised no old messages can
 be decrypted still. Wikipedia has a small article about it and it works
 quite easily once set up in kopete.

 Best
 Thomas


 Best regards,

 Wen



 --
 Thomas Kahle

 The fundamental theorem of algebra is open source. Like any other
 mathematical theorem it can be applied free of charge and everybody
 has access to its proof and can convince himself how it works. Why
 should software be any different?




-- 
Xianwen Chen

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



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

2009-08-17 Thread Dale
Keith Dart wrote:
 === On Mon, 08/17, Dale wrote: ===
   
 So, another possible cause dealt with.  Still watching for others
 tho. 
 

 ===

 Any clues in /var/log/Xorg.0.log ?

 -- Keith Dart

   

It has been a while since I tried it but I don't recall anything in
there.  I need to try this again tho since I know how to use the SysRq
keys now.

Dale

:-)  :-) 



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

2009-08-17 Thread meino . cramer
  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

Hi,

thank for the help ! :o)

Currently I cannot decide whether everything is setup correctly on my
box:

ls -l /usr/include/GL/glext.h

gives me

lrwxrwxrwx 1 root root 40 2009-08-14 04:34 /usr/include/GL/glext.h - 
//usr//lib/opengl/global/include/glext.h

which looks linke pointing neither to mesa nor to nvidia -- at least
for my blurred eyes.

Would it be possible to post a correctly set link for comparison?

Thanks a lot in advance!
mcc

PS: And thank you for the tip: Now I can save my money for better
things as DVDs of Raiders of the lost identifier (Indiana Gnu).







-- 
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: In search for a undeclared identifier...

2009-08-17 Thread Nikos Chantziaras

On 08/17/2009 06:51 PM, meino.cra...@gmx.de wrote:

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


Hi,

thank for the help ! :o)

Currently I cannot decide whether everything is setup correctly on my
box:

ls -l /usr/include/GL/glext.h

gives me

lrwxrwxrwx 1 root root 40 2009-08-14 04:34 /usr/include/GL/glext.h -  
//usr//lib/opengl/global/include/glext.h

which looks linke pointing neither to mesa nor to nvidia -- at least
for my blurred eyes.


You didn't follow the instructions.  eselect opengl will tell you.  To 
make sure, do eselect opengl set x11; eselect opengl set nvidia.


But as I already wrote in another post, this looks like a bug in the 
application you're trying to build.





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

2009-08-17 Thread meino . cramer
 lrwxrwxrwx 1 root root 40 2009-08-14 04:34 /usr/include/GL/glext.h -  
 //usr//lib/opengl/global/include/glext.h
 
 which looks linke pointing neither to mesa nor to nvidia -- at least
 for my blurred eyes.
 
 You didn't follow the instructions.  eselect opengl will tell you.  
 To make sure, do eselect opengl set x11; eselect opengl set nvidia.
 
 But as I already wrote in another post, this looks like a bug in the 
 application you're trying to build.
 

Before I posted, I did a 

eselect opengl set nvidia

but from the result I can not tell, whether its pointing
to the correct file.
The only proof I have is the command I gave.

-- 
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-17 Thread KH
Xianwen Chen schrieb:
 On 8/17/09, KH gentoo-u...@konstantinhansen.de wrote:
 
 Hi,

 IIRC psi can be used togetzter with gnupg. This should do ;-)

 kh


 
 Hi KH,
 
 What's IIRC psi? Could you please provide a link?
 
 Best regards,
 
 Wen
 
 

Hi Wen,

IIRC = Acronym for If I Recall(or Remember) Correctly. See [1]

PSI = net-im/psi See [2] and [3]

This is from the PSI website [3]:
Using the same SSL technology that makes it possible for you to safely
shop on the web, Psi automatically encrypts its communication with
compatible IM servers to provide a secure connection over untrusted
networks like public WiFi access points. For advanced security needs,
Psi can also encrypt messages end-to-end with OpenPGP.

Regards
kh


[1] http://www.urbandictionary.com/define.php?term=iircr=f

[2] http://packages.larrythecow.org/?v=pkgc=net-ims=psi

[3] http://psi-im.org/



[gentoo-user] I lost the ability to boot into single user

2009-08-17 Thread Nikos Chantziaras

I used to specify this:

  softlevel=boot

in the Grub screen to boot to single user.  However, this doesn't work 
anymore; it boots right into the default runlevel.  I think this 
happened after I upgraded to GCC 4.4.1 (and rebuilt system and world 
with it, and also the kernel.)


What can the problem be?  What is needed for softlevel= selection to work?




Re: [gentoo-user] I lost the ability to boot into single user

2009-08-17 Thread Dale
Nikos Chantziaras wrote:
 I used to specify this:

   softlevel=boot

 in the Grub screen to boot to single user.  However, this doesn't work
 anymore; it boots right into the default runlevel.  I think this
 happened after I upgraded to GCC 4.4.1 (and rebuilt system and world
 with it, and also the kernel.)

 What can the problem be?  What is needed for softlevel= selection to
 work?




Try softlevel=single and see if that works.  I go to single user using
the command rc single so it should exist and should work from grub too.

Maybe grub has changed its options?

Dale

:-)  :-)



Re: [gentoo-user] I lost the ability to boot into single user

2009-08-17 Thread Paul Hartman
On Mon, Aug 17, 2009 at 3:36 PM, Dalerdalek1...@gmail.com wrote:
 Nikos Chantziaras wrote:
 I used to specify this:

   softlevel=boot

 in the Grub screen to boot to single user.  However, this doesn't work
 anymore; it boots right into the default runlevel.  I think this
 happened after I upgraded to GCC 4.4.1 (and rebuilt system and world
 with it, and also the kernel.)

 What can the problem be?  What is needed for softlevel= selection to
 work?




 Try softlevel=single and see if that works.  I go to single user using
 the command rc single so it should exist and should work from grub too.

 Maybe grub has changed its options?

I think you can put the number 1 on the end of the line instead for
the same result... not completely sure though. I don't think I've ever
booted to single-user mode.



[gentoo-user] Re: I lost the ability to boot into single user

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

Dale wrote:
 Nikos Chantziaras wrote:
 I used to specify this:

   softlevel=boot

 in the Grub screen to boot to single user.  However, this doesn't work
 anymore; it boots right into the default runlevel.  I think this
 happened after I upgraded to GCC 4.4.1 (and rebuilt system and world
 with it, and also the kernel.)

 What can the problem be?  What is needed for softlevel= selection to
 work?



 
 Try softlevel=single and see if that works.  I go to single user using
 the command rc single so it should exist and should work from grub too.
 
 Maybe grub has changed its options?
 
 Dale
 
 :-)  :-)
 
 

Openrc no longer supports the softlevel= option on the kernel command
line (this hit me as well, as I use a number of different runlevels).
Instead, pass S to skip just about everything, and start a root shell
(via sulogin), or 1 to do the equivalent of /sbin/rc single (that
is, drop the softlevel=boot completely, and add the single character S
or 1 after a space).

An example from my grub.conf:

titleGentoo, current kernel (single user)
kernel   (hd0,0)/vmlinuz root=/dev/sda5 1

titleGentoo, current kernel (root shell)
kernel   (hd0,0)/vmlinuz root=/dev/sda5 S

I also have my /etc/inittab set up so that init's runlevels 2-5 go into
rc's various runlevels (on my machine, 2=default, 3=gui, 4=network,
5=gui-network).

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

iEYEARECAAYFAkqJwdMACgkQOypDUo0oQOrXJACfbCNpIYYmy4LJVeTI8Mz9W7RB
ETgAoLkoM9knBUV48E6R853MZhVR1SiR
=6rbI
-END PGP SIGNATURE-




Re: [gentoo-user] Re: I lost the ability to boot into single user

2009-08-17 Thread Albert Hopkins

 Openrc no longer supports the softlevel= option on the kernel command
 line (this hit me as well, as I use a number of different runlevels).
 Instead, pass S to skip just about everything, and start a root shell
 (via sulogin), or 1 to do the equivalent of /sbin/rc single (that
 is, drop the softlevel=boot completely, and add the single character S
 or 1 after a space).
 
 An example from my grub.conf:
 
 titleGentoo, current kernel (single user)
 kernel   (hd0,0)/vmlinuz root=/dev/sda5 1
 
 titleGentoo, current kernel (root shell)
 kernel   (hd0,0)/vmlinuz root=/dev/sda5 S
 
 I also have my /etc/inittab set up so that init's runlevels 2-5 go into
 rc's various runlevels (on my machine, 2=default, 3=gui, 4=network,
 5=gui-network).

This is possibly an (unreported) bug.

Just for SG I booted with softlevel=BOOT on an Openrc and it reports
that there is no runlevel BOOT and then basically puts me in single
level mode :|, but softlevel=boot seems to be ignored.  I think it
should support it... why else would rc-update work with different
runlevels it you are not able to use them?  Also the man pages for
rc-update and rc seem to reflect this.

FWIW I usually forgo the runlevels and just use init=/bin/bash because
it doesn't prompt for the root password and pretty much the only time i
need to boot into single user is when I've forgotten the root
password :P

-a





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

2009-08-17 Thread M Daniel R M
On Sun, 2009-08-16 at 18:49 +0200, Ward Poelmans wrote:
 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
 
Yes, after your suggestion ;-) 

I had those extensions, until today: babelfish, boost for facebook,
foxlingo, suggestmeyes. 
They are not on my firefox web browser any more.
Then I tried once again, and the problem continued there, exactly the
same. Well, I didn't want to touch the next, but..
Now I just have two more extensions left, the most used for me: pdf
download, and clickweather. I just disabled them. 
Tried again several tabs and now... it's OK. Everything seems to be
running pretty stably. 


Mozilla Firefox Version: 3.0.11

USE flags I use are pasted here on my first mail, man.

Thank you very much, the problem seems to be located. Now I ask to
myself whether there is anything I could do in order to have enabled
those two extensions, working and without leave stability on firefox, or
maybe this is, at the moment, not possible.

Daniel Rguez. Magarzo










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

2009-08-17 Thread M Daniel R M
On Sun, 2009-08-16 at 19:09 +0200, Jesús Guerrero wrote:
 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.
 
 
 

Yes, as I said just before, extensions (but not silly..) were the
problem; not much convincing to me this solution, but facts were
clear: after removing or disabling them, firefox run smoothly again. 

BTW, sorry but I didn't understood what you meant when saying about
profile, (I'm not much got into tech issues, sorry :-)

Daniel R. Magarzo




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

2009-08-17 Thread M Daniel R M
On Sun, 2009-08-16 at 20:16 +0300, Nikos Chantziaras wrote:
 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.
 

Originally they both were checked. Then, unchecked and re-cheched again,
it seems that there were no difference here. Disabling add-ons on
firefox seems to have been the provisional solution.

 
  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.
 
 

 Yes, I'm on a Core2, a laptop (Thinkpad T61), here you are a cat over
cpuinfo:

proc # cat cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 23
model name  : Intel(R) Core(TM)2 Duo CPU T8100  @ 2.10GHz
stepping: 6
cpu MHz : 2101.000
cache size  : 3072 KB
physical id : 0
siblings: 2
core id : 0
cpu cores   : 2
apicid  : 0
initial apicid  : 0
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64
monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm ida
tpr_shadow vnmi flexpriority
bogomips: 4189.76
clflush size: 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 6
model   : 23
model name  : Intel(R) Core(TM)2 Duo CPU T8100  @ 2.10GHz
stepping: 6
cpu MHz : 2100.000
cache size  : 3072 KB
physical id : 0
siblings: 2
core id : 1
cpu cores   : 2
apicid  : 1
initial apicid  : 1
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64
monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm ida
tpr_shadow vnmi flexpriority
bogomips: 4189.28
clflush size: 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:
--


Here you are the GCC version:

proc # gcc --version
gcc (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
-


I already knew about that possibility indeed; Actually, I got to have it
some time ago (months) here, on this unit, when I made my first install
of Gentoo (bad end then :-))
Now, I've just leaved it as is 'cause of laziness, just laziness, man.
Apart from that, I'm not much sure there would be any significant
difference..., would be it?

Thanks a lot.

Daniel 




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

2009-08-17 Thread Jesús Guerrero

On Mon, August 17, 2009 23:29, M Daniel R M wrote:
 On Sun, 2009-08-16 at 18:49 +0200, Ward Poelmans wrote:

 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


 Yes, after your suggestion ;-)


 I had those extensions, until today: babelfish, boost for facebook,
 foxlingo, suggestmeyes. They are not on my firefox web browser any more.
 Then I tried once again, and the problem continued there, exactly the
 same. Well, I didn't want to touch the next, but.. Now I just have two more
 extensions left, the most used for me: pdf download, and clickweather. I
 just disabled them. Tried again several tabs and now... it's OK.
 Everything seems to be
 running pretty stably.


 Mozilla Firefox Version: 3.0.11


 USE flags I use are pasted here on my first mail, man.


 Thank you very much, the problem seems to be located. Now I ask to
 myself whether there is anything I could do in order to have enabled those
 two extensions, working and without leave stability on firefox, or maybe
 this is, at the moment, not possible.

The best you can do is to report the problem to the creator(s) of
the said extension(s). Somewhere around the configuration of the
extension or in the mozilla extensions site you should be able to
find info about them or a contact mail or a link.

Alternatively, you can try to substitute them with any other extension
or program that can do the work.
-- 
Jesús Guerrero




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

2009-08-17 Thread M Daniel R M
On Sun, 2009-08-16 at 20:01 +0200, 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.
 

I always thought that here it isn't my fault (that is, incomplete
installs and so on..)

 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.
 

ASAP, please!

I think konqueror lacks of such abilities, and they are practically
essential nowadays, but apart from that..., other capabilities are fine
IMHO (speed, stability, ...). Ops! In addition, I realize now that
sometimes konqueror renders (shows) some webpages badly (you know,
things placed in the frame where they shouldn't, etc.) 

Regards,

Daniel R. Magarzo




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

2009-08-17 Thread Roy Wright


On Aug 16, 2009, at 5:12 PM, Roy Wright wrote:

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.


Using the overlay for the new sets solved the upgrading.

The new features seem very problematic, for example assigning  
wallpaper to activities just doesn't work and just using activities  
seem to make the desktop extremely flaky.  Some plasmoids (like  
calendar) can be dragged from a panel to the desktop but some (like  
calculator) can not.  Then the upgrade re-enabled the stupid desktop  
search which maxes a core forever (at least an hour which is when I  
disabled it).  Also had to change the plasmoid theme back to oxygen  
from the new air.  Surprisingly the rest of my customized environment  
seemed to have survived the upgrade...


Thanks everyone!




[gentoo-user] dmesg output

2009-08-17 Thread Hung Dang
Hi all,
After I upgrade to the later version of xorg-server, dmesg output is
full of debugging input event messages. It is inconvenient when I want
to see what is going on with my computer. Below is the sample of
debugging message obtained from dmesg command

evbug.c: Event. Dev: input3, Type: 4, Code: 4, Value: 458795
evbug.c: Event. Dev: input3, Type: 1, Code: 15, Value: 0
evbug.c: Event. Dev: input3, Type: 0, Code: 0, Value: 0

What should I do to get rid off these messages in dmesg output?

Thanks a lot
Hung



Re: [gentoo-user] Re: I lost the ability to boot into single user

2009-08-17 Thread Dale
Albert Hopkins wrote:
 Openrc no longer supports the softlevel= option on the kernel command
 line (this hit me as well, as I use a number of different runlevels).
 Instead, pass S to skip just about everything, and start a root shell
 (via sulogin), or 1 to do the equivalent of /sbin/rc single (that
 is, drop the softlevel=boot completely, and add the single character S
 or 1 after a space).

 An example from my grub.conf:

 titleGentoo, current kernel (single user)
 kernel   (hd0,0)/vmlinuz root=/dev/sda5 1

 titleGentoo, current kernel (root shell)
 kernel   (hd0,0)/vmlinuz root=/dev/sda5 S

 I also have my /etc/inittab set up so that init's runlevels 2-5 go into
 rc's various runlevels (on my machine, 2=default, 3=gui, 4=network,
 5=gui-network).
 

 This is possibly an (unreported) bug.

 Just for SG I booted with softlevel=BOOT on an Openrc and it reports
 that there is no runlevel BOOT and then basically puts me in single
 level mode :|, but softlevel=boot seems to be ignored.  I think it
 should support it... why else would rc-update work with different
 runlevels it you are not able to use them?  Also the man pages for
 rc-update and rc seem to reflect this.

 FWIW I usually forgo the runlevels and just use init=/bin/bash because
 it doesn't prompt for the root password and pretty much the only time i
 need to boot into single user is when I've forgotten the root
 password :P

 -a


   

I agree, this should be reported so it can be fixed.  While
init-/bin/bash would work, it shouldn't be the only option.  Who would
want to put that option in grub and make it easy for someone to hack in?

I did try softlevel=single a bit ago and it booted all the way but with
no GUI.  It went wy past single tho.  rc-status reported it was in
single user mode but it wasn't.  Console #2 and up was working but X
didn't start.

Pretty darn weird.  :/  Who's going to open the can of Raid?

Dale

:-)  :-) 



Re: [gentoo-user] dmesg output

2009-08-17 Thread Paul Hartman
On Mon, Aug 17, 2009 at 11:54 AM, Hung Danghungp...@gmail.com wrote:
 Hi all,
 After I upgrade to the later version of xorg-server, dmesg output is
 full of debugging input event messages. It is inconvenient when I want
 to see what is going on with my computer. Below is the sample of
 debugging message obtained from dmesg command

 evbug.c: Event. Dev: input3, Type: 4, Code: 4, Value: 458795
 evbug.c: Event. Dev: input3, Type: 1, Code: 15, Value: 0
 evbug.c: Event. Dev: input3, Type: 0, Code: 0, Value: 0

 What should I do to get rid off these messages in dmesg output?

I think of 3 things to try:

1) fix the problem with the device that is causing the errors
2) rmmod the evbug module
3) blackist the evbug module



[gentoo-user] Re: I lost the ability to boot into single user

2009-08-17 Thread Nikos Chantziaras

On 08/18/2009 02:00 AM, Dale wrote:

I agree, this should be reported so it can be fixed.  While
init-/bin/bash would work, it shouldn't be the only option.


I filed a bug for it: http://bugs.gentoo.org/show_bug.cgi?id=281850