Re: [gentoo-user] glibc error

2008-08-20 Thread Dirk Heinrichs
Am Mittwoch, 20. August 2008 08:58:22 schrieb ext Justin:

> I have a some critical warnings while shutting down my boxes (see
> below). The boxes are from hardware site quit different, but on software
> site nearly the same.
> One intel, one nvidia graphics
> both latest stable kernel, gnome, gdm, glibc
> both gcc4.3
>
> Does someone know something about this?

No, not really. However, I don't see any glibc errors there. They're from gdm 
and related to glib (no "c" at the end).

Bye...

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




Re: [gentoo-user] Debugging X

2008-08-20 Thread Neil Bothwick
On Wed, 20 Aug 2008 00:18:55 -0500, forgottenwizard wrote:

> I tried to run it from within screen, so if that could cause a
> problem say so, and tell me how the heck to get a log of this output
> (since startx > log.txt doesn't work)

You're only redirecting standard output to the file, not the standard
error stream. Use "startx &>log.txt" and also check  the log file
on /var/log.


-- 
Neil Bothwick

How is it that we put man on the moon before we figured out it would be a
good idea to put wheels on luggage?


signature.asc
Description: PGP signature


Re: [gentoo-user] Trendnet KVM Switch

2008-08-20 Thread Philip Webb
080819 Guillermo Dutra wrote:
> I'm using gentoo linux since 1 year. Everything works good,
> but the last week I Bought a KVM Switch with 2 ports:
> it works well in a  XP Box but with my gentoo linux It Doesent work,
> While Gentoo don´t start the X server the kvm works well,
> but when I start the X's It doesen't response any more,
> maybe I have to configure a special setting in my xorg-x11 ?
> the switch is a "TK-205K Trendent"
> and here is the link [1] says that Linux OS is supported
> [1] http://trendnet.com/products/proddetail.asp?prod=100_TK-205K&cat=105

I have a 'Freedom' KVM switch, which was adequate for settings things up
when I was installing Gentoo in a newly-built box
& using the previous machine for other things at the same time.
However, one of the graphics connections doesn't work properly
& today I simply use the switch as an extension of my keyboard cord.
As with any hardware problem, the first thing is to swap things around:
try plugging the machines into the opposite outlets & see what happens.
You may find that one of the switch's channels is defective.

> PD: Sorry for my bad english!!

No problem there (smile).

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




Re: [gentoo-user] Rate limiting TCP connections...

2008-08-20 Thread Mick
On Tuesday 19 August 2008, [EMAIL PROTECTED] wrote:
> Norberto Bensa wrote:

> > Let's make an experiment:
> >
> > 1. Terminate all downloads and activity on the internet.
> > 2. Restart your bind (so it flushes its cache)
> > 3. in XP1 download something huge (an ISO image) from one souce in the
> > internet and wait 'til it is at full speed (does it go up to 0.5Mb??)
> > 4. in XP2 start to ping different sources. Does XP2 lost packets?
>
> If I do my downloading from XP (using Linux as my nameserver) everything
> works perfectly.  My downloads max-out my ADSL connection - and not only
> can I ping other hosts concurrently, but I can surf the web and
> bandwidth is shared fairly between competing applications.

I think that the problem is associated with the way that the Linux box treats 
bind requests.  Other than QoS which will try to allocate some bandwidth to 
bind packets, or nice which will elevate bind's processes - you may want to 
check your kernel's IO scheduler and set it to something that will give each 
process an equal bite of the cherry.  Trial & error may get you there.

A workaround to avoid WinXP name requests timing out is to manually set at 
your WinXP clients the Netgear's IP address as their secondary DNS server.

> My router is a "Netgear Wireless ADSL Firewall Router" - it seems pretty
> common... and I've not found other people moaning that it has
> problems...  For me, it only has problems when accessed from my Linux box.

I used to run a Netgear DG834 and did not notice anything like this.  After a 
few seconds the Gentoo and WinXP clients would share the bandwidth - 
irrespective of which one started downloading first.  WinXP might have been 
slightly more hesitant to start with, but after say 30 seconds it would even 
out.  However, this was with wired full duplex connections.  Wireless is half 
duplex, transmit and receive happens sequentially not in parallel - when 
downloading on the Gentoo goes at full pelt it may take longer for inbound 
packets to get to bind and this could make the rather short TTL that 
MSWindows has to time out.

PS. Have you tried this with two Linux clients (use Knoppix on one of your 
MSWindows boxen)?

HTH.
-- 
Regards,
Mick


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


Re: [gentoo-user] Fixed bug

2008-08-20 Thread b.n.

econti ha scritto:
But reading the message it seemed to me to be possible to fix the bug 
and that the solution was in http://bugs.gentoo.org/show_bug.cgi?id=214265.


The interpretation of the message is "If you are able to help us fixing 
the bug, see http://bugs.gentoo.org/...";


Usually (unless you're a developer) you do not "fix a bug" on your box, 
just like you usually don't fix your own broken window glasses, but call 
someone to do it. You at most can set up some *workaround* , that is the 
software equivalent of putting paper on your broken window glass :)


m.



Re: [gentoo-user] glibc error

2008-08-20 Thread Justin

Dirk Heinrichs schrieb:

Am Mittwoch, 20. August 2008 08:58:22 schrieb ext Justin:

  

I have a some critical warnings while shutting down my boxes (see
below). The boxes are from hardware site quit different, but on software
site nearly the same.
One intel, one nvidia graphics
both latest stable kernel, gnome, gdm, glibc
both gcc4.3

Does someone know something about this?



No, not really. However, I don't see any glibc errors there. They're from gdm 
and related to glib (no "c" at the end).


Bye...

Dirk
  
Okey then, let correct me. There are some Critical glib warnings. What 
do you think about that?




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] glibc error

2008-08-20 Thread Volker Armin Hemmann
does something crash? not work?

because this might be annoying noise.

If you have ever started nvidia-settings while some 'non standard encoded' 
file names were in home you would have been spammed by 'critical errors'.




Re: [gentoo-user] glibc error

2008-08-20 Thread Justin

Volker Armin Hemmann schrieb:

does something crash? not work?
  
No nothing crashes and everything is working, but CRITICAL warnings are 
not senseless

because this might be annoying noise.
  
Probably, but some googleing showed that there are many other with this 
"problem".
If you have ever started nvidia-settings while some 'non standard encoded' 
file names were in home you would have been spammed by 'critical errors'.
It is independent from the graphic card used. I found this bug, after 
the correction from glibC to glib:


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



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] glibc error

2008-08-20 Thread Volker Armin Hemmann
On Mittwoch, 20. August 2008, Justin wrote:
> Volker Armin Hemmann schrieb:
> > does something crash? not work?
>
> No nothing crashes and everything is working, but CRITICAL warnings are
> not senseless
>
> > because this might be annoying noise.
>
> Probably, but some googleing showed that there are many other with this
> "problem".
>
> > If you have ever started nvidia-settings while some 'non standard
> > encoded' file names were in home you would have been spammed by 'critical
> > errors'.
>
> It is independent from the graphic card used. I found this bug, after
> the correction from glibC to glib:

it was an example. I tried to say that gtk-apps are constantly spilling 
'critical' errors.
>
> http://bugs.gentoo.org/show_bug.cgi?id=210302.





Re: [gentoo-user] Rate limiting TCP connections...

2008-08-20 Thread gentoo_steve

Mick wrote:
I think that the problem is associated with the way that the Linux box treats 
bind requests.  Other than QoS which will try to allocate some bandwidth to 
bind packets, or nice which will elevate bind's processes - you may want to 
check your kernel's IO scheduler and set it to something that will give each 
process an equal bite of the cherry.  Trial & error may get you there.
  
I don't think QOS is the right answer - since I've never seen this 
problem before - and I've never used QOS on Linux before.  I think that 
the scheduler might explain things far better. I half-remember something 
about the inclusion of the new "CFS" scheduler when I compiled the 
kernel - maybe the default changed when I moved to the 2.6.23-gentoo-r3 
kernel from - erm - some older 2.6 version many months ago.


Maybe I should upgrade to the latest kernel (I'm reluctant to do this in 
a hurry - since I've lost my notes on which kernel options I'd activated 
- and it's a 'live' box I'm using on a day-to-day basis that I'd rather 
not break. Doah!)
A workaround to avoid WinXP name requests timing out is to manually set at 
your WinXP clients the Netgear's IP address as their secondary DNS server.
  
That's a fantastic hack... I like the idea... though, obviously, if it 
were trivial, I'd prefer Bind on gentoo not to hang. ;)

My router is a "Netgear Wireless ADSL Firewall Router" - it seems pretty
common... and I've not found other people moaning that it has
problems...  For me, it only has problems when accessed from my Linux box.

I used to run a Netgear DG834 and did not notice anything like this.  After a 
few seconds the Gentoo and WinXP clients would share the bandwidth - 
irrespective of which one started downloading first.  WinXP might have been 
slightly more hesitant to start with, but after say 30 seconds it would even 
out.  However, this was with wired full duplex connections.  Wireless is half 
duplex, transmit and receive happens sequentially not in parallel - when 
downloading on the Gentoo goes at full pelt it may take longer for inbound 
packets to get to bind and this could make the rather short TTL that 
MSWindows has to time out.
  
That's encouraging.  Always good to know that there are no 'known' 
bugs... I was caught out by this a few years ago with a DLink router - 
where I assumed it was my FreeBSD box at fault - but, actually, the 
router had broken firmware.
PS. Have you tried this with two Linux clients (use Knoppix on one of your 
MSWindows boxen)?
  
No, I could, I guess - but I'm 95% convinced now that this is an I/O 
scheduling issue on my Gentoo box - and is not an issue with my router.


Many thanks.




[gentoo-user] missing (not really) jni.h

2008-08-20 Thread Willie Wong
Hi list:

  python-updater wants to rebuild beecrypt. 
  dev-libs/beecrypt-4.1.2-r1  fails to compile with a bunch of errors
  related to javaglue.h and javaglue.c, I think I traced the error
  back to where it appears in the log

-snip log
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../.. -D_LARGEFILE_SOURCE -D_F
ILE_OFFSET_BITS=64 -DOPTIMIZE_I686 -DOPTIMIZE_MMX -DOPTIMIZE_SSE -DOPTIMIZE_SSE2
 -march=pentium4 -O2 -pipe -DNDEBUG -fomit-frame-pointer -Wa,--noexecstack -c ja
vaglue.c  -fPIC -DPIC -o .libs/javaglue.o
In file included from javaglue.c:21:
javaglue.h:2:17: jni.h: No such file or directory
In file included from javaglue.c:21:
javaglue.h:42: error: syntax error before "jlong"
javaglue.h:43: error: syntax error before '*' token
javaglue.h:43: warning: data definition has no type or storage class
javaglue.h:50: error: syntax error before "jlong"
javaglue.h:51: error: syntax error before '*' token
javaglue.h:51: warning: data definition has no type or storage class
javaglue.h:58: error: syntax error before "jlong"
javaglue.h:59: error: syntax error before '*' token
javaglue.h:59: warning: data definition has no type or storage class
javaglue.h:66: error: syntax error before "void"
javaglue.h:67: error: syntax error before '*' token
javaglue.h:67: warning: data definition has no type or storage class
javaglue.h:74: error: syntax error before "void"
-unsnip log

  but jni.h does appear on the system at
  /opt/sun-jdk-1.5.0.16/include/jni.h

  Thoughts?

Willie
-- 
"So what you have here is a highly nonlinear system of partial differential 
equations in two variables. But, if you sub in 0 for both angles you can prove 
conclusively that two attached rods will, in fact, hang." 
~DeathMech, S. Sondhi. P-town PHY 205
Sortir en Pantoufles: up 621 days, 13:29



Re: [gentoo-user] Trendnet KVM Switch

2008-08-20 Thread Guillermo Dutra
Well first of all, tank you for your pompt reply, according to what
you say ,  I tried changing the the keyboard and mouse crd, but I
diden´t have much lucky, I'Coud say That therisn´t hardware problems,
I'll try with a nother Livcd Linux Distro to see what happen.


Thanks!!
 Guillermo Dutra

Before printing, please think about the impact it has on the environment

Por favor considere el medio ambiente antes de imprimir este e-mail.




On Wed, Aug 20, 2008 at 5:22 AM, Philip Webb <[EMAIL PROTECTED]> wrote:
> 080819 Guillermo Dutra wrote:
>> I'm using gentoo linux since 1 year. Everything works good,
>> but the last week I Bought a KVM Switch with 2 ports:
>> it works well in a  XP Box but with my gentoo linux It Doesent work,
>> While Gentoo don´t start the X server the kvm works well,
>> but when I start the X's It doesen't response any more,
>> maybe I have to configure a special setting in my xorg-x11 ?
>> the switch is a "TK-205K Trendent"
>> and here is the link [1] says that Linux OS is supported
>> [1] http://trendnet.com/products/proddetail.asp?prod=100_TK-205K&cat=105
>
> I have a 'Freedom' KVM switch, which was adequate for settings things up
> when I was installing Gentoo in a newly-built box
> & using the previous machine for other things at the same time.
> However, one of the graphics connections doesn't work properly
> & today I simply use the switch as an extension of my keyboard cord.
> As with any hardware problem, the first thing is to swap things around:
> try plugging the machines into the opposite outlets & see what happens.
> You may find that one of the switch's channels is defective.
>
>> PD: Sorry for my bad english!!
>
> No problem there (smile).
>
> --
> ,,
> SUPPORT ___//___,   Philip Webb
> ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
> TRANSIT`-O--O---'   purslowatchassdotutorontodotca
>
>
>



Re: [gentoo-user] Rate limiting TCP connections...

2008-08-20 Thread Neil Bothwick
On Wed, 20 Aug 2008 15:21:48 +0100, [EMAIL PROTECTED] wrote:

> Maybe I should upgrade to the latest kernel (I'm reluctant to do this
> in a hurry - since I've lost my notes on which kernel options I'd
> activated 

Copy the current config over and run make oldconfig. There's no need to
take notes when the system keeps track for you.

> - and it's a 'live' box I'm using on a day-to-day basis that I'd rather 
> not break. Doah!)

Installing a new kernel won't cause the old one to break, no matter how
badly you misconfigure it.


-- 
Neil Bothwick

There is never enough beer, sex or disk space!


signature.asc
Description: PGP signature


[gentoo-user] ffmpeg

2008-08-20 Thread James
Hello

Routine update to a system, leaves me with conflicting package
that want different versions of ffmpeg:

equery depends transcode
app-cdr/k3b-1.0.4 (encode? media-video/transcode)


equery depends xine-lib
kde-base/artsplugin-xine-3.5.9 (>=media-libs/xine-lib-1.0)
media-sound/amarok-1.4.9.1 (>=media-libs/xine-lib-1.1.2_pre20060328-r8)
media-video/kaffeine-0.8.6 (>=media-libs/xine-lib-1.1.9)
media-video/kmplayer-0.10.0c (xine? >=media-libs/xine-lib-1.1.1)


I really need k3b, kaffeine



!!! Multiple versions within a single package slot have been
!!! pulled into the dependency graph:
media-video/ffmpeg:0
  ('installed', '/', 'media-video/ffmpeg-0.4.9_p20070616-r20', 'nomerge') 
pulled in by
('ebuild', '/', 'media-video/transcode-1.0.5-r3', 'merge')
  ('ebuild', '/', 'media-video/ffmpeg-0.4.9_p20080326', 'merge') pulled in by
('ebuild', '/', 'media-libs/xine-lib-1.1.15', 'merge')



What are some amicable solutions to this, like a versions
of ffmpeg et. al. that work together? What the simplist/best
way to effect such masking in /etc/portage/*  So that
when the conflicts are resolved the I will know about it
(and can remove entries in /etc/portage/* or they these
entries are ignored ???

I've been using ~ and specific version numbers with specific
packages with some success, but, I'm not fully confident
(at least with my gentoo skills) on knowing when to remove these
such entries.  


James






James





[gentoo-user] Re: ffmpeg (update)

2008-08-20 Thread James
James  tampabay.rr.com> writes:


> equery depends transcode
> app-cdr/k3b-1.0.4 (encode? media-video/transcode)
 
> equery depends xine-lib
> kde-base/artsplugin-xine-3.5.9 (>=media-libs/xine-lib-1.0)
> media-sound/amarok-1.4.9.1 (>=media-libs/xine-lib-1.1.2_pre20060328-r8)
> media-video/kaffeine-0.8.6 (>=media-libs/xine-lib-1.1.9)
> media-video/kmplayer-0.10.0c (xine? >=media-libs/xine-lib-1.1.1)


Well now, with new information, I'm fairly confused.

I have one gentoo workstation that seems to be fine. After
spending quite some time looking at the differences in several
system, I have questions.

On this one (seems to hacked correctly) system I have eliminated:
artsplugin-xine

Kaffeine and k3b are both installed and working without 
artsplugin-xine ( I can play a DVD and burn a cd).
Heres some more information on this mystically working system
(as far as conflicts between xine-lib ffmpeg, transcode et al:


equery depends ffmpeg
[ Searching for packages depending on ffmpeg... ]
app-cdr/k3b-1.0.4 (ffmpeg? media-video/ffmpeg)
media-libs/libquicktime-1.0.2 (ffmpeg? media-video/ffmpeg)
media-libs/xine-lib-1.1.15 (>=media-video/ffmpeg-0.4.9_p20070129)
media-sound/sox-14.0.1 (ffmpeg? media-video/ffmpeg)
media-video/motion-3.2.10.1 (ffmpeg? media-video/ffmpeg)
media-video/transcode-1.0.5-r3 (=media-video/ffmpeg-0.4.9_p20050226-r1)

equery depends xine-lib
[ Searching for packages depending on xine-lib... ]
media-video/codeine-1.0.1.3 (media-libs/xine-lib)
media-video/kaffeine-0.8.6 (>=media-libs/xine-lib-1.1.9)
media-video/kmplayer-0.10.0c (xine? >=media-libs/xine-lib-1.1.1)
media-video/xine-ui-0.99.5-r1 (>=media-libs/xine-lib-1.1.0)


I have mostly the small MM packages on these system, but the one
that will update only have one difference that I can find, that is
no 'artsplugin-xine'.

Is this possible; to just remove artsplugin-xine Even though
Kde-meta 3.5.9 is installed? A good idea?

Does arts go away with KDE 4x?



Looking for some advise here


James






Re: [gentoo-user] Rate limiting TCP connections...

2008-08-20 Thread Nick Pappin
well could you use wget to get the files because they have a built in
rate limiter so you can say 120K or whatever

Nick

On Wed, Aug 20, 2008 at 8:57 AM, Neil Bothwick <[EMAIL PROTECTED]> wrote:
> On Wed, 20 Aug 2008 15:21:48 +0100, [EMAIL PROTECTED] wrote:
>
>> Maybe I should upgrade to the latest kernel (I'm reluctant to do this
>> in a hurry - since I've lost my notes on which kernel options I'd
>> activated
>
> Copy the current config over and run make oldconfig. There's no need to
> take notes when the system keeps track for you.
>
>> - and it's a 'live' box I'm using on a day-to-day basis that I'd rather
>> not break. Doah!)
>
> Installing a new kernel won't cause the old one to break, no matter how
> badly you misconfigure it.
>
>
> --
> Neil Bothwick
>
> There is never enough beer, sex or disk space!
>



Re: [gentoo-user] Debugging X

2008-08-20 Thread forgottenwizard
On 01:42 Wed 20 Aug, Dale wrote:
>
> If I read this correctly, it appears that it can not find the keyboard or 
> something.  This is what makes me think that:  "The XKEYBOARD keymap 
> compiler (xkbcomp) reports: > Warning: Multiple names for > keycode 211".
>
> In your make.conf, do you have a line that is something like this:
>
> INPUT_DEVICES="keyboard mouse"
>
> Also make sure you have something like the following in your xorg.conf 
> file:
>
> Section "InputDevice"
>Identifier "Keyboard0"
>Driver "kbd"
> EndSection
>
> Section "InputDevice"
>Identifier "Mouse0"
>Driver "mouse"
>Option "Protocol" "auto"
>Option "Device" "/dev/input/mouse0"
>Option "ZAxisMapping" "4 5 6 7"
> EndSection
>
> This may not have anything to do with the problem but it is something that 
> didn't look right to me.
>
> Dale
>
> :-)  :-) 

Thats all there.

-- 
I'm not anti-social, I'm just not user friendly




Re: [gentoo-user] Trendnet KVM Switch

2008-08-20 Thread Stroller


On 20 Aug 2008, at 16:39, Guillermo Dutra wrote:


Well first of all, tank you for your pompt reply, according to what
you say ,  I tried changing the the keyboard and mouse crd, but I
diden´t have much lucky, I'Coud say That therisn´t hardware problems,
I'll try with a nother Livcd Linux Distro to see what happen.


If it's any help, Knoppix always works with my KVM.

Stroller.




Re: [gentoo-user] Rate limiting TCP connections...

2008-08-20 Thread gentoo_steve

Neil Bothwick wrote:

Maybe I should upgrade to the latest kernel (I'm reluctant to do this
in a hurry - since I've lost my notes on which kernel options I'd
activated 


Copy the current config over and run make oldconfig. There's no need to
take notes when the system keeps track for you
- and it's a 'live' box I'm using on a day-to-day basis that I'd rather 
not break. Doah!)


Installing a new kernel won't cause the old one to break, no matter how
badly you misconfigure it.
  
Ack. (and thanks) I sort-of knew that... though I'd have had to read the 
docs to remember "make oldconfig".  With systems I need, I'm 
exceptionally cautious... I've never forgiven myself for the decade's 
acquisition of 10GB of data... that I accidentally wiped thinking I was 
backing it up. It's a sinking feeling like no other.


I'll give the kernel a shot, but only when I've a day or two to recover 
if I screw-up. :-)





Re: [gentoo-user] Re: ffmpeg (update)

2008-08-20 Thread Alan McKinnon
On Wednesday 20 August 2008 19:48:30 James wrote:
> I have mostly the small MM packages on these system, but the one
> that will update only have one difference that I can find, that is
> no 'artsplugin-xine'.
>
> Is this possible; to just remove artsplugin-xine Even though
> Kde-meta 3.5.9 is installed? A good idea?

kde3* and kde4* both work just fine without arts - I have run my machines like 
that for years now. arts was nothing more than an utter piece of total 
excrement that never worked properly, the design is buggy, and it causes huge 
problems with non-kde apps that want to use sound. alsa does all that arts 
ever did and more.

Put "USE=-arts" in make.conf, remove all custom arts flags from package.use 
and remove everything with arts in it's name from world. Then run --depclean 
followed by the usual revdep-rebuild

-- 
alan dot mckinnon at gmail dot com