[gentoo-user] problems running doxygen from cron

2009-01-14 Thread Dirk Uys
Hi

I have a problem when running doxygen from a cron job. It seems like
doxygen is simply aborting at an arbitrary point during execution. I
tried to search on the internet, but could not find anything similar
reported.

I have the following script:


#!/bin/bash
echo `date` >> /home/user/cron.log
/usr/bin/svn update /home/user/source/
/bin/cp /home/user/live_doc /home/user/source/

echo "== Start Doxygen =="

/usr/bin/doxygen /home/user/source/live_doc

echo "== Doxygen completed =="

/bin/cp -R /home/user/source-doxy/html/* /home/www/source-doxy/

echo "== Copy completed =="


My cron entry is
45 * * * * /home/user/script.sh >> /home/user/debug.log

When I run the script from the command line it works fine and doxygen
executes successfully, but when cron executes the script, doxygen
simply aborts at some point:


Parsing file 
/home/dcuys/vgd_m/gripentactics/source/titles/grdetectionlist.cpp...
Preprocessing /home/dcuys/vgd_m/gripentactics/source/titles/grdetectionlist.h...
Parsing file /home/dcuys/vgd_m/gripentactics/source/titles/grdetectionlist.h...
Preprocessing 
/home/dcuys/vgd_m/gripentactics/source/titles/grdetectionvolumes.cpp...
Parsing file 
/home/dcuys/vgd_m/gripentactics/source/titles/grdetectionvolumes.cpp...
Preprocessing 
/home/dcuys/vgd_m/gripentactics/source/titles/grdetectionvolumes.h...
Par
== Doxygen completed ==
== Copy completed ==


I'm using vixie-cron-4.1-r10 and doxygen-1.5.4

Regards
Dirk



Re: [gentoo-user] Postfix and Domainkeys

2009-01-14 Thread Eray Aslan
On 14.01.2009 06:24, Jason Carson wrote:
>> On 12.01.2009 00:13, Jason Carson wrote:
>>> Greetings,
>>>
>>> I am trying to setup postfix with domainkeys. I installed dk-milter and
>>> ran the following as I was told to do after emerging it ...
>> DomainKeys is deprecated and is replaced by DKIM.  You are much better
>> off using mail-filter/dkim-milter.  If you are using amavisd-new with
>> your postfix, I suggest you use amavisd-new to check and sign your mail
>> and do not use milters at all.
> 
> Can I use both dk-milter and dkim-milter simultaneously?

Yes you can use both simultaneously.  First sign with domainkeys and
then with DKIM.

-- 
Eray



Re: [gentoo-user] Black Screen of Death

2009-01-14 Thread Rick Harris
On Thu, 15 Jan 2009 07:32:31 am John wrote:
> Nothing in Xorg logs, system logs
> Lockup is complete - machine is totally unresposive even to ssh/ping
> x11-drivers/nvidia-drivers-177.82
> Kernel version 2.6.27-gentoo-r7
> Card is Geforce GO 6100.
> PC is laptop and logout has been working, maybe a update has done this
> and i have missed it.
> Is this common?
> Using syslog-ng, if you could advise on a config that may pick
> something up in logs

I had a similar problem on my HP Compaq laptop, but not limited to just 
logging out of an Xorg session, the hard freeze could occur at any time.

The solution for me was to add 'noapic nolapic noirqdebug' to my kernel's boot 
parameters in grub.conf (see /usr/src/linux/Documentation/kernel-
parameters.txt).

How does this relate to the nvidia driver not working and Xorg's 'nv' driver 
working you might ask. The nvidia propietary driver claims/shares an IRQ, the 
'nv' driver does not (AFAICT).

Either the APIC on my laptop or Linux's implementation of using it is buggy, 
but the best result for me was to disable it using the above kernel 
parameters.

Something to try anyway, hope it helps :)


Cheers,
Rick




[gentoo-user] Re: Unusual console input problem certain keys dead

2009-01-14 Thread Harry Putnam
Willie Wong  writes:

> As to how I know C-v is verbatim? That came from trying to create
> ASCII art by hand ... :)

He he... yeah thats the way thinking works... bouncing around like
that.

I've used C-v for years as a way to see what is actually being sent
from the keyboard.. I never knew it meant `verbatim' but in fact that
is how I've used it... to show verbatim what is sent...
Thanks again.




Re: [gentoo-user] Re: Unusual console input problem certain keys dead

2009-01-14 Thread Willie Wong
On Wed, Jan 14, 2009 at 05:11:17PM -0600, Harry Putnam wrote:
> I'm curious how'd you know it was readline related? 

Since it also appears in SSH, it is something wrong with the box, and
not how you interface with it. 

You said "Ctrl-v fixed it", so odds are that you are not in the wrong
keyboard layout. One of the few things that I happen to remember about
C-v is that for readline it means "verbatim", so I took a wild, flying
guess. 

As to how I know C-v is verbatim? That came from trying to create
ASCII art by hand ... :)

Best, 

W
-- 
Willie W. Wong  ww...@math.princeton.edu
408 Fine Hall,  Department of Mathematics,  Princeton University,  Princeton
A mathematician's reputation rests on the number of bad proofs he has given.



Re: [gentoo-user] How do I change MSS separately from MTU?

2009-01-14 Thread Mick
On Monday 12 January 2009, Walter Dnes wrote:
>   Seeing discussions about best MTU/MSS for MLPPP on my ISP's forum, I
> asked about the optimal settings for a standard DSL connection.
> Because of the way ATM cells line up, the optimal MSS is 1408.  This
> would normally imply MTU 1448, because MTU is normally MSS + 40.  The
> optimal setting is apparently MTU 1492 and MSS 1408.  I tried forcing
> MSS to 1408 in my routing config (/etc/conf.d/net), but that also
> forces the MTU to 1448.  Is there a way to do them separately?
>
>   The only suggestion I've found via Google is iptables "mangle".  Does
> it manage to change MSS without changing MTU?  If so, what is the
> invocation in the "mangle" table?

I think it is in the OUTPUT table that you should insert a rule, but I don't 
have time to search for it now.  It would probably be something like:

iptables --insert OUTPUT --jump TCPMSS --protocol tcp --set-mss 1408

I think you can also set the advertised (by your machine) MSS for a network 
using ip route:

ip route add 192.168.1.0/24 dev eth0 advmss 1408

PS.  I am not sure if the above will break your connection because of dropped 
packets, or how it will interact with the MTU set at 1492.  In my case I have 
just set my MTU at 1492 to cater for the PPP authentication on my ISP's ADSL 
network.  I leave the MSS to be at what the kernel wants it to be - typically 
MSS = MTU - 40.
-- 
Regards,
Mick


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


[gentoo-user] Re: Unusual console input problem certain keys dead

2009-01-14 Thread Harry Putnam
Willie Wong  writes:

> On Wed, Jan 14, 2009 at 03:59:17PM -0600, Penguin Lover Harry Putnam
> squawked:

>> Key `e' and `/' when pressed just do nothing whatever.  I think
>> there way be a bell since I see a flash when ssh'd in from and
>> Xterm in a X session on another machine.  I may not have sound
>> enabled... not sure right now.

[...]

> Sounds to me like a problem with readline. Is your /etc/inputrc or
> ~/.inputrc per chance corrupted? 
>
> You can try re-installing readline and/or baselayout (baselayout
> is responsible for /etc/inputrc). 

I think you're on to something... moving ~/.inputrc  and /etc/inputrc to 
...inputrcX  Stopped the problem.

Then I put /etc/inputrc back and left ~/.inputrcX renamed.

That also works... examining .inputrcX, I had a multi-line entry
involving back slashing quite a few double quotes in the
entry... (A lengthy rsync command with a number of command line
exclusions). 

Apparently some error there with the newlines or back slashing
double quotes.

I couldn't really identify the error but deleting the entry has made
the problem go away... thanks... good call.

I'm curious how'd you know it was readline related? 




Re: [gentoo-user] Kernel 2.6.28 BUGS

2009-01-14 Thread David Relson
On Wed, 14 Jan 2009 18:34:43 +0100
Xav' wrote:

> On Wed, 14 Jan 2009 08:14:01 -0500, David Relson
>  wrote:
> > On Wed, 14 Jan 2009 14:01:28 +0100
> > Daniel Pielmeier wrote:
> > 
> >> 2009/1/14 David Relson :
> >> >
> >> > I noticed the "taint" message and don't think that's right.  How
> >> > do I identify the tainted module?
> >> >
> >> 
> >> Jan 13 21:35:04 osage Pid: 13119, comm: rrdtool Tainted: G  D W
> >> 2.6.28-gentoo #11
> >> 
> >> rrdtool?
> >> 
> >>
> 
> It seems according to your trace that the Python script
> system_health.py does not stop to do segfaults while it is executed
> by cron, so maybe you can start checking this script to see if it
> does not write anywhere in the memory and then cause the kernel to
> "bug".

The LWN article is about RTSJ -- real-time services for java.  Having
done some work with real-time and embedded systems I can understand
that access to physical memory is useful.  However, I'm not running
java and _not_ using RTSJ.

As regards tainting, after a BUG the kernel sets its status to
"tainted".  After all, having encountered a BUG problem, there's no
telling what else may be fubar'd.  That explains one problem.

system_health.py is python code that reads system info and generates
"health" graphs for the computer.  It's presently running under Python
2.6.  Does python even have RTSJ-like capabilities???

Looking further at the log messages (see attached file):

system_health.py - segfaults at 20:50, then runs fine at 20:55, 21:00,
21:05, 21:10, and 21

At 20:59:06 is a stack backtrace.  This is 9 minutes after the
system_health.py segfault and a successful run of system_health.  The
problem seems to be mmap related.  Unfortunately it seems that part of
the oops(?) is missing since the first line has a right paren without a
preceding left paren.

21:20:01 -- another stack backtrace -- different from previous

21:27:58 -- another stack backtrace -- different from all previous ones

21:35:04 -- first mention of BUG ... and tainting

Evidently bad things were happening for a while before the first BUG.

So, back to an earlier question:

To whom should these backtraces be sent -- in hope that they'll shed
light on a previously encountered problem and aid in a fix being
generated ??

Regards,

David



Re: [gentoo-user] Unusual console input problem certain keys dead

2009-01-14 Thread Willie Wong
On Wed, Jan 14, 2009 at 03:59:17PM -0600, Penguin Lover Harry Putnam squawked:
> Key `e' and `/' when pressed just do nothing whatever.  I think there
> way be a bell since I see a flash when ssh'd in from and Xterm in a X
> session on another machine.  I may not have sound enabled... not sure
> right now.
> 
> Those two appear to be the only keys effected.  Upper case E works
> fine and the uppercase char (?) above `/' works fine.
> 
> If I press Ctrl-v and then the `e' if works... ditto for `/'.
> 

Sounds to me like a problem with readline. Is your /etc/inputrc or
~/.inputrc per chance corrupted? 

You can try re-installing readline and/or baselayout (baselayout
is responsible for /etc/inputrc). 

Hope that helps, 

W
-- 
"Do you all understand? At this point I'll settle for quiet acquiescence."
~DeathMech, S. Sondhi. P-town PHY 205
Sortir en Pantoufles: up 768 days, 21:22



Re: [gentoo-user] Black Screen of Death

2009-01-14 Thread Dale
John wrote:
> On Wed, 14 Jan 2009 21:02:31 +
> John  wrote:
>
>   
>> On Wed, 14 Jan 2009 14:41:25 -0500
>> Willie Wong  wrote:
>>
>> 
>>> On Wed, Jan 14, 2009 at 06:58:08PM +, John wrote:
>>>   
Whenever I logout my machine crashes to a black screen and
 is unresponsive. I cannot get into any terminals and have to
reboot. It is a problem with my nvidia-drivers - have
uninstalled nvidia-drivers and used X11 "nv" drivers and
 all works fine.
Tried various login managers and still the same issue. Use
 xfce. Machine shuts down ok but only happens when I logout and
 wish to change user.

Any help would be appreciated 

 
>>> Anything in Xorg logs? System logs?
>>>
>>> How hard is the lock-up? Is it just the terminal (can you ssh into
>>> the machine? does it respond to pings?)? Is it a kernel thing? 
>>>
>>> What about other (older) versions of nVidia drivers? Which card and
>>> which driver are you using now? 
>>>
>>> W
>>>   
>> Nothing in Xorg logs, system logs
>> Lockup is complete - machine is totally unresposive even to ssh/ping
>> x11-drivers/nvidia-drivers-177.82
>> Kernel version 2.6.27-gentoo-r7
>> Card is Geforce GO 6100. 
>> PC is laptop and logout has been working, maybe a update has done this
>> and i have missed it. 
>> Is this common?
>> Using syslog-ng, if you could advise on a config that may pick
>> something up in logs
>>
>>
>> 
>
> Sorry - shutdown no longer works and systems goes to black screen
> Seems as though reinstalling nvidia drivers has made matters worse!!!
>
>   

That could be your problem tho since it changed the problem.  Did you
notice any warnings about not working with your card when you emerged
the drivers?  It will warn you if it doesn't like your card but it still
emerges anyway.  This was discussed a couple weeks ago in another thread.

I would start with the stable 177, then try the 173 set, then 100 and on
down the line.  One of those should work.

Also, you may want to save a copy of xorg.conf and rerun xorgcfg and see
if that helps.  There have been changes according to what I have read
and most stuff isn't even needed anymore.  Just a thought.

Dale

:-)  :-) 



Re: [gentoo-user] Black Screen of Death

2009-01-14 Thread John
On Wed, 14 Jan 2009 21:02:31 +
John  wrote:

> On Wed, 14 Jan 2009 14:41:25 -0500
> Willie Wong  wrote:
> 
> > On Wed, Jan 14, 2009 at 06:58:08PM +, John wrote:
> > >   Whenever I logout my machine crashes to a black screen and
> > > is unresponsive. I cannot get into any terminals and have to
> > >   reboot. It is a problem with my nvidia-drivers - have
> > >   uninstalled nvidia-drivers and used X11 "nv" drivers and
> > > all works fine.
> > >   Tried various login managers and still the same issue. Use
> > > xfce. Machine shuts down ok but only happens when I logout and
> > > wish to change user.
> > > 
> > >   Any help would be appreciated 
> > > 
> > 
> > Anything in Xorg logs? System logs?
> > 
> > How hard is the lock-up? Is it just the terminal (can you ssh into
> > the machine? does it respond to pings?)? Is it a kernel thing? 
> > 
> > What about other (older) versions of nVidia drivers? Which card and
> > which driver are you using now? 
> > 
> > W
> 
> Nothing in Xorg logs, system logs
> Lockup is complete - machine is totally unresposive even to ssh/ping
> x11-drivers/nvidia-drivers-177.82
> Kernel version 2.6.27-gentoo-r7
> Card is Geforce GO 6100. 
> PC is laptop and logout has been working, maybe a update has done this
> and i have missed it. 
> Is this common?
> Using syslog-ng, if you could advise on a config that may pick
> something up in logs
> 
> 

Sorry - shutdown no longer works and systems goes to black screen
Seems as though reinstalling nvidia drivers has made matters worse!!!

-- 
John D Maunder
j...@articwolf.myzen.co.uk



[gentoo-user] Unusual console input problem certain keys dead

2009-01-14 Thread Harry Putnam
I've run into a problem I've never experienced.  I'll try to describe
the setup first, then the phenomena:

Gateway laptop core due 
gentoo 2008.0 kernel-2.6.26-r1 running in a vmware app on vista home.

Let me say here that This app has run well for sometime but left alone
for quite awhile.  I'm not sure where the problem first occurred and
it appears that at least on occasion a reboot cures it... but not
always.

This particular time around I can't shake it with a reboot.

The phenomena:

Certain keys are dead in console mode... not sure about X since I
don't have it working currently.  But an ssh console also sees
this problem.

Key `e' and `/' when pressed just do nothing whatever.  I think there
way be a bell since I see a flash when ssh'd in from and Xterm in a X
session on another machine.  I may not have sound enabled... not sure
right now.

Those two appear to be the only keys effected.  Upper case E works
fine and the uppercase char (?) above `/' works fine.

If I press Ctrl-v and then the `e' if works... ditto for `/'.

A search on gmane with `dead' `key' as strings didn't dredge up what I
need.  Mostly X related stuff in that search.

Anyone recognize this behavior or have a clue what might cause it?

Restart of udev and consolefont does not help.




Re: [gentoo-user] Black Screen of Death

2009-01-14 Thread John
On Wed, 14 Jan 2009 14:41:25 -0500
Willie Wong  wrote:

> On Wed, Jan 14, 2009 at 06:58:08PM +, John wrote:
> > Whenever I logout my machine crashes to a black screen and
> > is unresponsive. I cannot get into any terminals and have to
> > reboot. It is a problem with my nvidia-drivers - have
> > uninstalled nvidia-drivers and used X11 "nv" drivers and all
> > works fine.
> > Tried various login managers and still the same issue. Use
> > xfce. Machine shuts down ok but only happens when I logout and wish
> > to change user.
> > 
> > Any help would be appreciated 
> > 
> 
> Anything in Xorg logs? System logs?
> 
> How hard is the lock-up? Is it just the terminal (can you ssh into the
> machine? does it respond to pings?)? Is it a kernel thing? 
> 
> What about other (older) versions of nVidia drivers? Which card and
> which driver are you using now? 
> 
> W

Nothing in Xorg logs, system logs
Lockup is complete - machine is totally unresposive even to ssh/ping
x11-drivers/nvidia-drivers-177.82
Kernel version 2.6.27-gentoo-r7
Card is Geforce GO 6100. 
PC is laptop and logout has been working, maybe a update has done this
and i have missed it. 
Is this common?
Using syslog-ng, if you could advise on a config that may pick
something up in logs


-- 
John D Maunder
j...@articwolf.myzen.co.uk



[gentoo-user] RAID0 + LVM2 + XFS : raid0_make_request bug: can't convert block across chunks or bigger than 64k

2009-01-14 Thread Xav'
Hi everyone !

  I've setted up a Xen server with kernel 2.6.18-r12 with 2 SATAII disks
of 750Go and with the following partitions scheme :
dom0 ~ # sfdisk -l

Disk /dev/sda: 91201 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start End   #cyls#blocks   Id  System
/dev/sda1   *  0+ 64  65-522081   fd  Linux raid autodetect
/dev/sda2 65 586 5224192965   fd  Linux raid autodetect
/dev/sda3587 847 2612096482+  82  Linux swap / Solaris
/dev/sda4848   91200   90353  725760472+  fd  Linux raid autodetect

Disk /dev/sdb: 91201 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start End   #cyls#blocks   Id  System
/dev/sdb1  0+ 64  65-522081   fd  Linux raid autodetect
/dev/sdb2 65 586 5224192965   fd  Linux raid autodetect
/dev/sdb3587 847 2612096482+  82  Linux swap / Solaris
/dev/sdb4848   91200   90353  725760472+  fd  Linux raid autodetect

dom0 ~ # cat /proc/mdstat
Personalities : [raid0] [raid1]
md1 : active raid1 sdb1[1] sda1[0]
  521984 blocks [2/2] [UU]

md2 : active raid0 sdb2[1] sda2[0]
  8385792 blocks 64k chunks

md3 : active raid0 sdb4[1] sda4[0]
  1451520768 blocks 64k chunks

dom0 ~ # pvdisplay
File descriptor 3 left open
  --- Physical volume ---
  PV Name   /dev/md3
  VG Name   vg
  PV Size   1,35 TB / not usable 768,00 KB
  Allocatable   yes
  PE Size (KByte)   4096
  Total PE  354375
  Free PE   271815
  Allocated PE  82560
  PV UUID   tJg59C-SN1z-SkYX-Qs5H-1TXV-ynNd-HhGTOZ

unused devices: 


I've created some guests using LVM logiccal volumes on /dev/md3 and
formatted with XFS filesystem. Sometimes, i've this messages in dmesg on
dom0 :
raid0_make_request bug: can't convert block across chunks or bigger than 64k

After that bugs, there is many Input/Output errors in the guest, and so
broke his gentoo installation so make me impossible to read the guest
system logs. Any help would be greatly appreciated as this server
actually host my primary DNS server and so i can't reinstall it from
scratch.

Many thanks in advance.

Xavier



Re: [gentoo-user] mplayer plugin

2009-01-14 Thread Nick Cunningham
2009/1/14 Michael P. Soulier 

> On 13/01/09 Paul Hartman said:
>
> > After getting fed up with emerge/compile issues with mplayerplug-in i
> > switched to net-www/gecko-mediaplayer and it seems to work okay.
>
> Hmm. I would but
>
> msoul...@anton:~$ emerge --pretend net-www/gecko-mediaplayer
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
>
> !!! All ebuilds that could satisfy "net-www/gecko-mediaplayer" have been
> masked.
> !!! One of the following masked packages is required to complete your
> request:
> - net-www/gecko-mediaplayer-0.6.3 (masked by: ~x86 keyword)
>
> it's masked out on my system. Is it unstable on x86? Use at your own risk?
>
> Mike
> --
> Michael P. Soulier 
> "Any intelligent fool can make things bigger and more complex... It takes a
> touch of genius - and a lot of courage to move in the opposite direction."
> --Albert Einstein
>

Im currently running live versions of both gecko-mediaplayer and
gnome-mplayer and largely running without any problems. Do note that the
versions in portage are quite old, 0.9.3 is the latest release and you may
have problems with sandbox violations using the 0.9.3 ebuilds attached to
bugzilla [1], however if your feeling brave the live - ebuilds do work
quite well.

- Nick

[1] http://bugs.gentoo.org/show_bug.cgi?id=232036


Re: [gentoo-user] Black Screen of Death

2009-01-14 Thread Willie Wong
On Wed, Jan 14, 2009 at 06:58:08PM +, John wrote:
>   Whenever I logout my machine crashes to a black screen and is
>   unresponsive. I cannot get into any terminals and have to
>   reboot. It is a problem with my nvidia-drivers - have
>   uninstalled nvidia-drivers and used X11 "nv" drivers and all
>   works fine.
>   Tried various login managers and still the same issue. Use xfce.
>   Machine shuts down ok but only happens when I logout and wish
>   to change user.
> 
>   Any help would be appreciated 
> 

Anything in Xorg logs? System logs?

How hard is the lock-up? Is it just the terminal (can you ssh into the
machine? does it respond to pings?)? Is it a kernel thing? 

What about other (older) versions of nVidia drivers? Which card and
which driver are you using now? 

W
-- 
Willie W. Wong  ww...@math.princeton.edu
408 Fine Hall,  Department of Mathematics,  Princeton University,  Princeton
A mathematician's reputation rests on the number of bad proofs he has given.



Re: [gentoo-user] mplayer plugin

2009-01-14 Thread Alan McKinnon
On Wednesday 14 January 2009 21:02:20 Michael P. Soulier wrote:
> On 13/01/09 Paul Hartman said:
> > After getting fed up with emerge/compile issues with mplayerplug-in i
> > switched to net-www/gecko-mediaplayer and it seems to work okay.
>
> Hmm. I would but
>
> msoul...@anton:~$ emerge --pretend net-www/gecko-mediaplayer
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
>
> !!! All ebuilds that could satisfy "net-www/gecko-mediaplayer" have been
> masked.
> !!! One of the following masked packages is required to complete your
> request: - net-www/gecko-mediaplayer-0.6.3 (masked by: ~x86 keyword)
>
> it's masked out on my system. Is it unstable on x86? Use at your own risk?

It's ~arch for x86 and amd64

It means the usual:
new package, still in testing, not yet moved to stable.
It is most unlikely to break things, but like all packages does go through the 
process. If you want to try it, put it in your packages.keywords

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] mplayer plugin

2009-01-14 Thread Michael P. Soulier
On 13/01/09 Paul Hartman said:

> After getting fed up with emerge/compile issues with mplayerplug-in i
> switched to net-www/gecko-mediaplayer and it seems to work okay.

Hmm. I would but

msoul...@anton:~$ emerge --pretend net-www/gecko-mediaplayer

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "net-www/gecko-mediaplayer" have been
masked.
!!! One of the following masked packages is required to complete your request:
- net-www/gecko-mediaplayer-0.6.3 (masked by: ~x86 keyword)

it's masked out on my system. Is it unstable on x86? Use at your own risk?

Mike
-- 
Michael P. Soulier 
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein


pgpUzfpkP96RY.pgp
Description: PGP signature


[gentoo-user] Black Screen of Death

2009-01-14 Thread John
Fellow Gents
Whenever I logout my machine crashes to a black screen and is
unresponsive. I cannot get into any terminals and have to
reboot. It is a problem with my nvidia-drivers - have
uninstalled nvidia-drivers and used X11 "nv" drivers and all
works fine.
Tried various login managers and still the same issue. Use xfce.
Machine shuts down ok but only happens when I logout and wish
to change user.

Any help would be appreciated 

-- 
John D Maunder
j...@articwolf.myzen.co.uk



Re: [gentoo-user] Re: linux-headers

2009-01-14 Thread Michael P. Soulier
On 14/01/09 Nikos Chantziaras said:

> You don't need to have them in sync.  The safest is to have a version that 
> is either equal or lower to your kernel.  So for you, 2.6.23-r3 is 
> perfectly fine.  An exception is if you're using a recent glibc (2.9); 
> you'll need to build it against more recent headers.

Hmm. Well, I'm currently using sys-libs/glibc-2.6.1, but presumably that will
change at some point in the future...

Mike
-- 
Michael P. Soulier 
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein


pgpbEzybTPUf9.pgp
Description: PGP signature


Re: [gentoo-user] mplayer plugin

2009-01-14 Thread Aaron Clark

Michael P. Soulier wrote:


So, I interpret this as the mplayer plugin not being available for firefox
3.0, which is why it's pulling in the 2.0 stream. So, my best solution is
probably just to uninstall the mplayer plugin, is that right?

It seems to work fine in firefox 3.0. If I want to run the risk and keep it,
is masking out firefox 2.0 the way to go?



I ended up keywording mplayerplug-in ~x86 in 
/etc/portage/package.keywords to unmask the latest version that's in 
portage.  This removed the block on Firefox 3.0 so I've left it at that 
for now.  I may move on to gecko-mediaplayer in the future, but that box 
just doesn't do a lot of online media so it wasn't worth the effort at 
this juncture to switch.


Aaron



[gentoo-user] laptop internal fan

2009-01-14 Thread Allan Arguelles
I have a Sony VGN-FE880E and the fans don't run no matter how hot the
laptop gets.

 I used to run Vista on this, and it worked fine. I don't recall ever
having the fans active under Gentoo though. Is there anything I missed
emerge-ing?




Re: [gentoo-user] Network printing

2009-01-14 Thread Mick
On Tuesday 13 January 2009, Norman Rieß wrote:
> Peter Humphrey schrieb:

> >> package.use
> >> net-print/cups jpeg nls pam png ppds ssl tiff X
> >
> > So you do have ldap specified. I'll try recompiling cups with ldap and
> > see what that does. Thanks.
>
> Yes, but i do not use ldap in my network.

Peter, ldap is only required if you are authenticating clients on your LAN/WAN 
using an ldap server.  If you had hundreds of clients and a need to manage 
frequently changing client membership and passwds, then ldap would be 
desirable to manage them effectively.

In your case you just need to control access to your cups server by means of 
the allow/deny wrappers in /etc/cups/conf.d for machines in your LAN and let 
them through the iptables on the server machine.

Increasing the verbosity of the access and error cups logs will show you what 
you need to (re)configure.
-- 
Regards,
Mick


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


Re: [gentoo-user] Kernel 2.6.28 BUGS

2009-01-14 Thread Xav'
On Wed, 14 Jan 2009 08:14:01 -0500, David Relson 
wrote:
> On Wed, 14 Jan 2009 14:01:28 +0100
> Daniel Pielmeier wrote:
> 
>> 2009/1/14 David Relson :
>> >
>> > I noticed the "taint" message and don't think that's right.  How do
>> > I identify the tainted module?
>> >
>> 
>> Jan 13 21:35:04 osage Pid: 13119, comm: rrdtool Tainted: G  D W
>> 2.6.28-gentoo #11
>> 
>> rrdtool?
>> 
>>

It seems according to your trace that the Python script system_health.py
does not stop to do segfaults while it is executed by cron, so maybe you
can start checking this script to see if it does not write anywhere in the
memory and then cause the kernel to "bug".

-- 
Xavier
http://www.linuxant.fr



Re: [gentoo-user] Kernel 2.6.28 BUGS

2009-01-14 Thread Dirk Heinrichs
Am Mittwoch, 14. Januar 2009 14:36:11 schrieb Daniel Pielmeier:
> 2009/1/14 David Relson :
> > Can a program, i.e. rrdtool, be tainted?  I'd not think so since the
> > program is in user space, not kernel space.
>
> According to LWN [1] tainting the kernel from user space is possible.
>
> [1] http://lwn.net/Articles/184879/

Although I've read every weekly edition since a couple of years, I didn't 
remember :-)

So does that mean chkrootkit is going nuts on David's machine?

Bye...

Dirk


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


Re: [gentoo-user] mplayer plugin

2009-01-14 Thread Allan Gottlieb
At Wed, 14 Jan 2009 14:37:21 + Neil Bothwick  wrote:

> On Wed, 14 Jan 2009 08:57:40 -0500, Allan Gottlieb wrote:
>
>> > It's because you're trying to emerge it with the firefox USE flag.
>> > Remove that from make.conf and use xulrunner instead.  
>> 
>> I have both USE flags and have *noticed* any problems.  However, I
>> prefer to avoid rather than fix problems.  Can you point me at
>> documentation for when one should have firefox and/or xulrunner USE
>> flags?
>
> You have noticed or you have not noticed?

Gack.  Sorry.  I meant "not *noticed*".

> Either way, your original post was one such problem. If you search the
> list archives for xulrunner you'll find several threads dealing with
> this, including one in the last day or so.

Thank you and also willie who pointed out
http://thread.gmane.org/gmane.linux.gentoo.devel/49430

allan



Re: [gentoo-user] mplayer plugin

2009-01-14 Thread Willie Wong
On Wed, Jan 14, 2009 at 08:57:40AM -0500, Allan Gottlieb wrote:
> I have both USE flags and have *noticed* any problems.  However, I
> prefer to avoid rather than fix problems.  Can you point me at
> documentation for when one should have firefox and/or xulrunner USE
> flags?
> 

C.f. this thread
 http://thread.gmane.org/gmane.linux.gentoo.devel/49430

I think the devs agreed that xulrunner > firefox > seamonkey

(reading the actual USE flag descriptions, which states:

firefox: Build against Firefox instead of Seamonkey/Mozilla
seamonkey: Adds support for the Seamonkey web-browser
xulrunner: Build native browser integration against xulrunner 
   instead of firefox or seamonkey

I agree the descriptions are already fairly clear.)

HTH, 

W
-- 
Willie W. Wong  ww...@math.princeton.edu
408 Fine Hall,  Department of Mathematics,  Princeton University,  Princeton
A mathematician's reputation rests on the number of bad proofs he has given.



Re: [gentoo-user] mplayer plugin

2009-01-14 Thread Neil Bothwick
On Wed, 14 Jan 2009 08:57:40 -0500, Allan Gottlieb wrote:

> > It's because you're trying to emerge it with the firefox USE flag.
> > Remove that from make.conf and use xulrunner instead.  
> 
> I have both USE flags and have *noticed* any problems.  However, I
> prefer to avoid rather than fix problems.  Can you point me at
> documentation for when one should have firefox and/or xulrunner USE
> flags?

You have noticed or you have not noticed? Either way, your original post
was one such problem. If you search the list archives for xulrunner you'll
find several threads dealing with this, including one in the last day or
so.


-- 
Neil Bothwick

Top Oxymorons Number 5: Twelve-ounce pound cake


signature.asc
Description: PGP signature


[gentoo-user] mysql 5.1

2009-01-14 Thread Marcin Niśkiewicz
Hello
Is it known when mysql version 5.1 will be available in portage for amd64
(stable)?

Thanks for answer
best regards
nichu


Re: [gentoo-user] mplayer plugin

2009-01-14 Thread Allan Gottlieb
At Wed, 14 Jan 2009 10:00:41 + Neil Bothwick  wrote:

> On Tue, 13 Jan 2009 21:19:04 -0500, Michael P. Soulier wrote:
>
>> So, I interpret this as the mplayer plugin not being available for
>> firefox 3.0, which is why it's pulling in the 2.0 stream. So, my best
>> solution is probably just to uninstall the mplayer plugin, is that
>> right?
>
> It's because you're trying to emerge it with the firefox USE flag. Remove
> that from make.conf and use xulrunner instead.

I have both USE flags and have *noticed* any problems.  However, I
prefer to avoid rather than fix problems.  Can you point me at
documentation for when one should have firefox and/or xulrunner USE
flags?

Running:stable amd64 and stable x86.
Installed:  firefox 3.0.5 and (xulrunner 1.8.1.19 and 1.9.0.5)

thanks
allan



Re: [gentoo-user] Kernel 2.6.28 BUGS

2009-01-14 Thread Daniel Pielmeier
2009/1/14 David Relson :
>
> Can a program, i.e. rrdtool, be tainted?  I'd not think so since the
> program is in user space, not kernel space.
>

According to LWN [1] tainting the kernel from user space is possible.

[1] http://lwn.net/Articles/184879/

-- 
Regards,
Daniel



Re: [gentoo-user] Kernel 2.6.28 BUGS

2009-01-14 Thread Volker Armin Hemmann
On Mittwoch 14 Januar 2009, David Relson wrote:
> On Wed, 14 Jan 2009 14:01:28 +0100
>
> Daniel Pielmeier wrote:
> > 2009/1/14 David Relson :
> > > I noticed the "taint" message and don't think that's right.  How do
> > > I identify the tainted module?
> >
> > Jan 13 21:35:04 osage Pid: 13119, comm: rrdtool Tainted: G  D W
> > 2.6.28-gentoo #11
> >
> > rrdtool?
> >
> > --
> > Regards,
> > Daniel
>
> Attached is the full /var/log/messages from the reboot (Jan 13
> 22:26:17) to:
>
> Jan 14 02:26:21 osage BUG: unable to handle kernel NULL pointer dereference
> at 0010
>
> lines 738&739 are timestamped 02:26:21, list the modules linked in, and
> says "Not tainted". lines 778&779 also timestamped 02:26:21, list the
> modules linked in, and says "Tainted".
>
> The modules listed in lines 738 and 778 are identical.
>
> What the heck?  How does the kernel go from "Not tainted" to "Tainted"
> in less than a second while generating BUG messages?
>
> Can a program, i.e. rrdtool, be tainted?  I'd not think so since the
> program is in user space, not kernel space.
>
> Regards,
>
> David

AFAIK a kernel is tainted after the first bug/ooops. Am I wrong?




Re: [gentoo-user] Kernel 2.6.28 BUGS

2009-01-14 Thread Daniel Pielmeier
2009/1/14 David Relson :
>
> I noticed the "taint" message and don't think that's right.  How do I
> identify the tainted module?
>

Jan 13 21:35:04 osage Pid: 13119, comm: rrdtool Tainted: G  D W
2.6.28-gentoo #11

rrdtool?

-- 
Regards,
Daniel



Re: [gentoo-user] Kernel 2.6.28 BUGS

2009-01-14 Thread David Relson
On Wed, 14 Jan 2009 13:46:47 +0100
Dirk Heinrichs wrote:

> Am Mittwoch, den 14.01.2009, 07:38 -0500 schrieb ext David Relson:
> > I presume it'd be useful to report these upstream.
> 
> According to the attached files, your kernel is tainted. Nobody will
> care.
> 
> First try without the tainting modules. If the problem remains, _then_
> file a bug report (on b.g.o, not kernel.org since you're using
> gentoo-sources).
> 
> HTH...

I noticed the "taint" message and don't think that's right.  How do I
identify the tainted module?



Re: [gentoo-user] Kernel 2.6.28 BUGS

2009-01-14 Thread Dirk Heinrichs
Am Mittwoch, den 14.01.2009, 07:38 -0500 schrieb ext David Relson:
> I presume it'd be useful to report these upstream.

According to the attached files, your kernel is tainted. Nobody will
care.

First try without the tainting modules. If the problem remains, _then_
file a bug report (on b.g.o, not kernel.org since you're using
gentoo-sources).

HTH...

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



[gentoo-user] Kernel 2.6.28 BUGS

2009-01-14 Thread David Relson
Yesterday evening, I had a series of kernel BUG events logged.  They
didn't actually _crash_ my workstation but I rebooted it anyway.  Last
night at 02:27:09 another BUG halted the machine.  Attached file
BUGS.txt summarizes the BUGs logged.  Attached files messages.*.txt
have the full messages.

I presume it'd be useful to report these upstream.  What's the proper
method for doing so?

Regards,

David
Jan 13 21:35:04 osage BUG: soft lockup - CPU#1 stuck for 61s! [rrdtool:13119]
Jan 13 21:36:10 osage BUG: soft lockup - CPU#1 stuck for 61s! [rrdtool:13119]
Jan 13 21:40:32 osage BUG: soft lockup - CPU#1 stuck for 61s! [rrdtool:13119]
Jan 13 21:50:21 osage BUG: soft lockup - CPU#1 stuck for 61s! [rrdtool:13119]
Jan 13 21:55:49 osage BUG: soft lockup - CPU#1 stuck for 61s! [rrdtool:13119]
Jan 13 21:59:05 osage BUG: soft lockup - CPU#1 stuck for 61s! [rrdtool:13119]
Jan 13 22:01:16 osage BUG: soft lockup - CPU#1 stuck for 61s! [rrdtool:13119]
Jan 13 22:11:06 osage BUG: soft lockup - CPU#1 stuck for 61s! [rrdtool:13119]
Jan 13 22:13:17 osage BUG: soft lockup - CPU#1 stuck for 61s! [rrdtool:13119]
Jan 13 22:15:03 osage kernel BUG at mm/rmap.c:725!
Jan 13 22:20:55 osage BUG: soft lockup - CPU#1 stuck for 61s! [rrdtool:13119]
Jan 13 22:25:02 osage kernel BUG at mm/rmap.c:725!

Jan 14 02:26:21 osage BUG: unable to handle kernel NULL pointer dereference at 
0010

Jan 13 20:59:06 osage 0 akff80045d)<>tc:<>ff80db63 ff200022 
061d<> ff8014e8 <>ff80db63 ff8014e003cd 
<>alTae
Jan 13 20:59:06 osage 0 ] ? exit_mmap+0xa2/0x119
Jan 13 20:59:06 osage [] ? mmput+0x2c/0xa2
Jan 13 20:59:06 osage [] ? exit_mm+0xee/0xf9
Jan 13 20:59:06 osage [] ? do_exit+0x1b2/0x728
Jan 13 20:59:06 osage [] ? do_group_exit+0x66/0x96
Jan 13 20:59:06 osage [0 bf b7 85 b5 3e 1f e8 60 91 4
Jan 13 20:59:06 osage 1RP RP /dev/null 2>&1)
Jan 13 21:00:01 osage cron[12839]: (root) CMD (test -x /usr/sbin/run-crons && 
/usr/sbin/run-crons )
Jan 13 21:00:01 osage sSMTP[12855]: Sent mail for hea...@osage (221 Bye)
Jan 13 21:05:01 osage cron[12861]: (health) CMD 
(/home/health/bin/system_health.py --log --graph > /dev/null 2>&1)
Jan 13 21:05:04 osage sSMTP[12954]: Sent mail for hea...@osage (221 Bye)
Jan 13 21:10:01 osage cron[12958]: (health) CMD 
(/home/health/bin/system_health.py --log --graph > /dev/null 2>&1)
Jan 13 21:10:01 osage cron[12956]: (root) CMD (test -x /usr/sbin/run-crons && 
/usr/sbin/run-crons )
Jan 13 21:15:01 osage cron[13062]: (health) CMD 
(/home/health/bin/system_health.py --log --graph > /dev/null 2>&1)
Jan 13 21:15:01 osage sSMTP[13064]: Sent mail for hea...@osage (221 Bye)
Jan 13 21:20:01 osage cron[13068]: (health) CMD 
(/home/health/bin/system_health.py --log --graph > /dev/null 2>&1)
Jan 13 21:20:01 osage cron[13066]: (root) CMD (test -x /usr/sbin/run-crons && 
/usr/sbin/run-crons )

Jan 13 21:20:01 osage 0D2 <>R: R:ff0f R:
Jan 13 21:20:01 osage 4Poessnmi pd 38,traif ff80fa00 akff800f69)<>tc:<> 
ff80fac8 0
Jan 13 21:20:01 osage 8800a61f9138 88008fca3c60 002b0296 

Jan 13 21:20:01 osage 000101424080 7fc1b814a000 8800115147f8 
88001625a830
Jan 13 21:20:01 osage Call Trace:
Jan 13 21:20:01 osage [] ? exit_mmap+0xa2/0x119
Jan 13 21:20:01 osage [  mu+xc0a
Jan 13 21:20:01 osage 0 [8220>  oei+xb/x2
Jan 13 21:20:01 osage 0 [822e>  ogopei+x609
Jan 13 21:20:01 osage 0 [82aa>  ontf_eue08/xa
Jan 13 21:20:01 osage 0 [82c9>  oivldo+x508
Jan 13 21:20:01 osage 0 oe 5c 42 c8 04 b4 84 b5 04 1e 
c4 38 80 00 83 07 c4 1e c4 3c 04 95 0<6 31 17 6f c2 8e 48 58 5f f0 04 <>I 
[821f> na_ms033076<>RP /dev/null 2>&1)
Jan 13 21:25:01 osage sSMTP[13084]: Sent mail for hea...@osage (221 Bye)

Jan 13 21:27:58 osage 0C2 ff204f38<>-[edtae14d65c3c --<>iigrcriefutbtrbo 
snee!<6>emacs[1587] general protection ip:7fbe08b5d419 sp:7fff14e12740 error:0 
in libc-2.6.1.so[7fbe08ae8000+136000]
Jan 13 21:27:58 osage f7c8 R14: 7fbe01e0 R15: 88002802d340
Jan 13 21:27:58 osage FS:  7fbe0ccdb6f0() GS:88011f878ac0() 
knlGS:f426eb90
Jan 13 21:27:58 osage CS:  0010 DS:  ES:  CR0: 8005003b
Jan 13 21:27:58 osage CR2: 7fbe08af71a0 CR3: 11785000 CR4: 
06e0
Jan 13 21:27:58 osage DR0:  DR1:  DR2: 

Jan 13 21:27:58 osage DR3:  DR6: 0ff0 DR7: 
0400
Jan 13 21:27:58 osage Process emacs (pid: 1587, threadinfo 88000bb4, 
task 8800060405d0)
Jan 13 21:27:58 osage Stack:
Jan 13 21:27:58 osage 88011eaa6848 e200018b2650  
8026112d
Jan 13 21:27:58 osage  88000bb41c58  

Jan 13 21:27:58 osage 88008a100720 88000bb41c60 0021 

Jan 13 21:27:58 osage Call Trace:
Jan 13 21:27:58 osage [] ? unmap_vmas+0x400/0x706
Jan 13 21:27:58 osage [] ? 

Re: [gentoo-user] mplayer plugin

2009-01-14 Thread KH
Michael P. Soulier schrieb:
> So, I noticed this on an emerge
>
> !!! Multiple package instances within a single package slot have been pulled
> !!! into the dependency graph, resulting in a slot conflict:
>
> www-client/mozilla-firefox:0
>
>   ('ebuild', '/', 'www-client/mozilla-firefox-2.0.0.19', 'merge') pulled in by
> =www-client/mozilla-firefox-2* required by ('installed', '/',
> 'net-www/mplayerplug-in-3.50', 'nomerge')
> (and 1 more)
>
>   ('installed', '/', 'www-client/mozilla-firefox-3.0.5', 'nomerge') pulled in
> by
> www-client/mozilla-firefox required by world
>
> So, I interpret this as the mplayer plugin not being available for firefox
> 3.0, which is why it's pulling in the 2.0 stream. So, my best solution is
> probably just to uninstall the mplayer plugin, is that right?
>
> It seems to work fine in firefox 3.0. If I want to run the risk and keep it,
> is masking out firefox 2.0 the way to go?
>
> Thanks,
> Mike
>   
Hi,

since I am using net-www/netscape-flash-10.0.21.1_alpha ~amd64 I did not
have the need to install mplayerplug-in anymore. I would try the
mplayerplug-in-3.55.
Have a look at xulrunner. It might be causing the downgread problem.

kh



Re: [gentoo-user] mplayer plugin

2009-01-14 Thread Neil Bothwick
On Tue, 13 Jan 2009 21:19:04 -0500, Michael P. Soulier wrote:

> So, I interpret this as the mplayer plugin not being available for
> firefox 3.0, which is why it's pulling in the 2.0 stream. So, my best
> solution is probably just to uninstall the mplayer plugin, is that
> right?

It's because you're trying to emerge it with the firefox USE flag. Remove
that from make.conf and use xulrunner instead.


-- 
Neil Bothwick

Forget the Joneses...I can't keep up with The Simpsons.


signature.asc
Description: PGP signature