Re: [gentoo-user] Re: Moving root filesystem to a new partition

2009-11-29 Thread daid kahl
 I'm going through a transient at the moment, having more-or-less given up on
 trying to keep KDE-3 and not being ready for KDE-4 (or vice-versa). I've
 been trying a few other distros, and even Gnome (shows what a parlous state
 Gentoo's in; I couldn't imagine ever considering Gnome six months ago).

Maybe not in line with the OP, but I had the same issue last month
with using kde3 and needing to switch.  I tried kde4, but my video
card is garbage and I didn't want to tinker to find the reason X was
so slow

I went for Xfce and have been quite happy.  Things run even faster now!

~daid



Re: [gentoo-user] OS inaccessable after brief uptime in X

2009-11-29 Thread daid kahl
 I keep having a problem where the OS becomes inaccessable after
 running in X for a while.  I haven't noticed a time pattern yet but it
 doesn't take long sometimes.

 I see no problem when starting X and I see nothing in
 /var/log/messages that gives a clue about what is happening.

 I'm running fairly up to date Desktop profile on kernel:

 I'm not sure how to track down the problem since I'm not seeing any
 give away clues in /var/log/messages

 So far, once the lockup has happened it appears there is no way in
 other than the reboot switch.

Can you read through the recent thread titled  ~amd64 : X11 (?)
crashing?  Myself and others post many trouble-shooting ideas for
buggy X operation.

It could be any number of things, but I think at least 4-5 different
suggestions were posted.  That'd be a good place to start.  If all
that's tried, then let us know and we can consider other options.

On that thread, and maybe another, there is discussion about FF and
youtube.  I found I had to recompile FF after updating the kernel for
audioout on flash, since there must have been some changes to ALSA.

Regards,
daid



Re: [gentoo-user] fsck won't work if ac cord not attached?!

2009-11-29 Thread daid kahl
 Hi group,

 When my netbook boots under battery power w/o the ac adapter connected
 I get this warning msg in the boot  window: 'Skipping fsck due to not
 being an ac adapter'. Chaos ensues. The warning appears in
 /etc/init.d/fsck.

 How do I fix this? Some option in /etc/conf.d/fsck?

I did some googling and found two links which could be of service.

The first is the Gentoo Handbook on power management:
http://www.gentoo.org/doc/en/power-management-guide.xml

Do you have powermgmt-base installed?

Also, the top post here seems similar to your question, but I can't
find anything like lvcheck on my own system (or for Gentoo...maybe
it's named something else):
http://markmail.org/message/5ipnsva3xkdyzzfy

I can say that with newer kernels (2.6.30 at least and above) if I
pull the ac power, my backlight automatically dims.  I'm pretty sure
it was done automatically by either the kernel or another update
(probably based on some option like Power Management enabled in the
kernel), since I don't have any power management stuff setup except
battery level monitoring.

Regards,
daid



[gentoo-user] Seamonkey 2.0 and certain sites not working.

2009-11-29 Thread Dale




Re: [gentoo-user] Re: Moving root filesystem to a new partition

2009-11-29 Thread Peter Humphrey
On Sunday 29 November 2009 08:26:36 daid kahl wrote:

 I went for Xfce and have been quite happy.  Things run even faster
  now!

Yes, I'm just installing it on my home server to replace KDE. Looks 
quite usable now, though it wasn't a few years ago when I last tried it.

This desktop might even find itself running Ubuntu. Now there's an 
about-face!

-- 
Rgds
Peter



Re: [gentoo-user] Migrating RAID: Degraded RAID5 from RAID1?

2009-11-29 Thread Dan Cowsill
On Sat, Nov 28, 2009 at 2:30 AM, andrey larin ubergit...@yandex.ru wrote:
 let suppose
 sda and sdb is raid 1 md1
 and new sdc
 remove sdb from raid
 mdadm /dev/md1 -f /dev/sdb
 mdadm /dev/md1 -r /dev/sdb
 then create degraded raid 5
 don't forget md1 is still running
 mdadm --create /dev/md2 --level 5 -n 3 /dev/sdb /dev/sdc missing
 then copy all data from md1  to md2
 fix /etc/fstab and /boot/grub/grub.conf
 destroy md1
 and add sda to md2

Excellent.  All I need to know is that there is indeed a mechanism for
doing this and that I am not crazy.  Man pages should fill in the
rest.

Thanks for your help, Andrey



Re: [gentoo-user] Re: [OT] Seamonkey and LastPass

2009-11-29 Thread Neil Bothwick
On Sat, 28 Nov 2009 20:44:48 -0600, Dale wrote:

 Before someone says that someone can steal my puter, well, they are 
 stored here now anyway.  Seamonkey does it for me for most sites.  I 
 have the others on post it notes stuck to my monitor.  I don't type in 
 my login/password every time I got to the forums or some other site.  
 So, if they steal my puter, they can access whatever they want then 
 anyway.  They can boot up with /bin/bash, change the passwords and then 
 access whatever they want.  We always tell people physical access
 trumps about anything else.

So put your home directory on an encrypted filesystem, physical access
won't help much then.


-- 
Neil Bothwick

If at first you don't succeed, you must be a programmer.


signature.asc
Description: PGP signature


Re: [gentoo-user] Phonon concurrent access on device

2009-11-29 Thread Dan Cowsill
On Sat, Nov 28, 2009 at 2:07 PM, Florian Philipp
li...@f_philipp.fastmail.net wrote:
 Alan McKinnon schrieb:
 On Saturday 28 November 2009 13:58:42 Florian Philipp wrote:
 Hi list!

 I recently updated one of my systems to KDE4. Now I have the problem
 that only one application can access the audio output at a time. If I
 start a second app (for example playing a video with Kaffeine while
 Amarok runs but is idle) the second application reports that the device
 does not work.

 Is this normal behavior? How can I fix it?

 Maybe it's an issue with ALSA but before I investigate this option, I'd
 like to hear a works for me from other users.

 Works for me. Also works for most other folks, as no-one else is complaining.

 What are your relevant configs?

 Are you in any way using (god forbid...) arts? esd? pulseaudio? Any sound
 daemon other than ALSA?



 Nah, I think ALSA is just misconfigured and doesn't enable HW/SW mixing.
 I'll look into it and come back if I don't find it on my own.

 Thanks so far!



When I was first messing around with Linux, I think I was using
Mandrake (back when it was called Mandrake) and this issue crept up on
me.  Back then, if I understand correctly, it was accepted behaviour
for hardware to be accessible by one program at a time.  There was a
fix back then that involved running some sort of daemon, but its been
a while since I messed with KDE or Mandrake.



[gentoo-user] How to determine which mobo without opening case

2009-11-29 Thread Harry Putnam
How can I determine the motherboard make and model?  I mean without
opening the case.

Various hardware reporting tools such as uhinv and syscriptor do not
give that information (far as I can tell).

In fact syscriptor cannot even report pci info and gives the message 
  `cannot open /proc/pci'

(not surprising since /proc/pci does not exist)





Re: [gentoo-user] How to determine which mobo without opening case

2009-11-29 Thread Dan Cowsill
On Sun, Nov 29, 2009 at 9:37 AM, Harry Putnam rea...@newsguy.com wrote:
 How can I determine the motherboard make and model?  I mean without
 opening the case.

 Various hardware reporting tools such as uhinv and syscriptor do not
 give that information (far as I can tell).

 In fact syscriptor cannot even report pci info and gives the message
  `cannot open /proc/pci'

 (not surprising since /proc/pci does not exist)





Determining make and model is somewhat difficult to do from software.
I know of a very good windows utility that will help you out called
SIW.  See the link below.  As far as linux utilities to read that
information, I have limited experience.

The problem is that SIW only reports what the manufacturers decide to
jot down in their hardware.  That means if the manufacturer doesn't
want you to know, you probably won't.

As a matter of curiosity, why can't you open the case?

Regards,
D

http://www.gtopala.com/



Re: [gentoo-user] How to determine which mobo without opening case

2009-11-29 Thread Volker Armin Hemmann
On Sonntag 29 November 2009, Harry Putnam wrote:
 How can I determine the motherboard make and model?  I mean without
 opening the case.

dmidecode

for example:
Base Board Information 
Manufacturer: ASRock   
Product Name: A770CrossFire
Version:   
Serial Number:   
Asset Tag:   
Features:
Board is a hosting board 
Board is replaceable 
Location In Chassis:   
Chassis Handle: 0x0003 
Type: Motherboard  
Contained Object Handles: 0 

yay. Correct!



Re: [gentoo-user] Migrating RAID: Degraded RAID5 from RAID1?

2009-11-29 Thread Volker Armin Hemmann
On Freitag 27 November 2009, Dan Cowsill wrote:
 Hello list,
 
 Currently I have two terabyte hard disks in a RAID1 configuration
 using software RAID.  What I'd like to do is add a third disk and
 arrive at the end with a RAID5 array.  The problem is I have limited
 disk space and not enough room to back up all of the data on the array
 in its current form.  What I'd like to know is if it is possible to
 use two disks to make a degraded RAID5 array, move the data onto it
 from one of the mirror disks, and then add the mirrored disk into the
 new array?
 
 Thanks,
 D
 

easy, have a look at 'grow'. Oh and use google. There are a lot of examples 
how to go from raid1 to raid5. It is easy. No disk pulling is needed.



Re: [gentoo-user] fsck won't work if ac cord not attached?!

2009-11-29 Thread Maxim Wexler

 Do you have powermgmt-base installed?

Ah, memories! Yes


 Also, the top post here seems similar to your question, but I can't
 find anything like lvcheck on my own system (or for Gentoo...maybe
 it's named something else):
 http://markmail.org/message/5ipnsva3xkdyzzfy

/etc/init.d, conf.d/lvm closest equivalent. Nothing there about ac cord

Thanks for you interest.

Maxim



Re: [gentoo-user] How to determine which mobo without opening case

2009-11-29 Thread Jarry

Harry Putnam wrote:

How can I determine the motherboard make and model?  I mean without
opening the case.


# emerge sys-apps/dmidecode
# dmidecode | grep Version:
Version: ASUS A8N-SLI DELUXE ACPI BIOS Revision 1805

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] Phonon concurrent access on device

2009-11-29 Thread Alan McKinnon
On Sunday 29 November 2009 16:32:47 Dan Cowsill wrote:
 When I was first messing around with Linux, I think I was using
 Mandrake (back when it was called Mandrake) and this issue crept up on
 me.  Back then, if I understand correctly, it was accepted behaviour
 for hardware to be accessible by one program at a time.  There was a
 fix back then that involved running some sort of daemon, but its been
 a while since I messed with KDE or Mandrake.
 

That was a long time ago :-) 

alsa was very limited at the time and mixing had to be done in software. Which 
spawned a rash of sound daemons that arts.

Thankfully, those days are long gone.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] How to determine which mobo without opening case

2009-11-29 Thread Neil Bothwick
On Sun, 29 Nov 2009 08:37:49 -0600, Harry Putnam wrote:

 How can I determine the motherboard make and model?  I mean without
 opening the case.

sys-apps/lshw


-- 
Neil Bothwick

I am MODERATOR of BORG. Follow the rules or be assimilated.


signature.asc
Description: PGP signature


Re: [gentoo-user] How to determine which mobo without opening case

2009-11-29 Thread Sebastian Beßler
Am 29.11.2009 17:23, schrieb Jarry:
 Harry Putnam wrote:
 How can I determine the motherboard make and model?  I mean without
 opening the case.
 
 # emerge sys-apps/dmidecode
 # dmidecode | grep Version:
 Version: ASUS A8N-SLI DELUXE ACPI BIOS Revision 1805

I like my manufacture:

# dmidecode | grep Version:
Version: To Be Filled By O.E.M.

Hurray ;-)

Greetings

Sebastian




Re: [gentoo-user] How to determine which mobo without opening case

2009-11-29 Thread Volker Armin Hemmann
On Sonntag 29 November 2009, Sebastian Beßler wrote:
 Am 29.11.2009 17:23, schrieb Jarry:
  Harry Putnam wrote:
  How can I determine the motherboard make and model?  I mean without
  opening the case.
 
  # emerge sys-apps/dmidecode
  # dmidecode | grep Version:
  Version: ASUS A8N-SLI DELUXE ACPI BIOS Revision 1805
 
 I like my manufacture:
 
 # dmidecode | grep Version:
 Version: To Be Filled By O.E.M.
 
 Hurray ;-)
 
 Greetings
 
 Sebastian
 

don't grep for version. There are several version strings.



Re: [gentoo-user] How to determine which mobo without opening case

2009-11-29 Thread Sebastian Beßler
Am 29.11.2009 18:04, schrieb Volker Armin Hemmann:

 don't grep for version. There are several version strings.
 
# dmidecode | grep Version:
Version: P1.60
Version: To Be Filled By O.E.M.
Version:
Version: To Be Filled By O.E.M.
Version: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+

Yes I know, but all of them are quite boring.
Lazy manufacture. But hey.. it is only a Asrock Mainboard ;-)

I'm not the OP, I just wanted to show my results because I think it is
funny :-P

Greetings

Sebastian



Re: [gentoo-user] How to determine which mobo without opening case

2009-11-29 Thread Volker Armin Hemmann
On Sonntag 29 November 2009, Sebastian Beßler wrote:
 Am 29.11.2009 18:04, schrieb Volker Armin Hemmann:
  don't grep for version. There are several version strings.
 
 # dmidecode | grep Version:
 Version: P1.60
 Version: To Be Filled By O.E.M.
 Version:
 Version: To Be Filled By O.E.M.
 Version: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
 
 Yes I know, but all of them are quite boring.
 Lazy manufacture. But hey.. it is only a Asrock Mainboard ;-)
 
 I'm not the OP, I just wanted to show my results because I think it is
 funny :-P
 
 Greetings
 
 Sebastian
 

you are looking at the wrong place.

Base Board Information 
Manufacturer: ASRock   
Product Name: A770CrossFire
Version:   
Serial Number:   
Asset Tag:   
Features:

Asrock board!

MANUFACUTERER NOT VERSION.



Re: [gentoo-user] Re: Moving root filesystem to a new partition

2009-11-29 Thread Marcus Wanner

On 11/29/2009 8:02 AM, Peter Humphrey wrote:

On Sunday 29 November 2009 08:26:36 daid kahl wrote:

  

I went for Xfce and have been quite happy.  Things run even faster
 now!



Yes, I'm just installing it on my home server to replace KDE. Looks 
quite usable now, though it wasn't a few years ago when I last tried it.


This desktop might even find itself running Ubuntu. Now there's an 
about-face!


  
Check out lxde, it's actually lightweight. Xfce4 is not light enough for 
my desktop: 2ghz pentium 4, 256mb ram. Lxde runs great, though!


Marcus



Re: [gentoo-user] Seamonkey 2.0 and certain sites not working.

2009-11-29 Thread Marcus Wanner

On 11/29/2009 4:05 AM, Dale wrote:


I think that's a bug with your email client, you should try using the 
latest version...





Re: [gentoo-user] fsck won't work if ac cord not attached?!

2009-11-29 Thread Joshua Murphy
On Sat, Nov 28, 2009 at 8:37 PM, Maxim Wexler maxim.wex...@gmail.com wrote:
 Hi group,

 When my netbook boots under battery power w/o the ac adapter connected
 I get this warning msg in the boot  window: 'Skipping fsck due to not
 being an ac adapter'. Chaos ensues. The warning appears in
 /etc/init.d/fsck.

 How do I fix this? Some option in /etc/conf.d/fsck?

 If you look for gentoo bug 291654 you get to a page that's difficult
 to read, something wonky with the xml, but it describes this problem
 and adds that it's fixed upstream.

 I'm using ext2 with the journal option, openrc and baselayout-2. My
 latest world update was two days ago.

 maxim

Skipping fsck at boot, when the system's on battery, would appear to
be hard coded in /etc/init.d/fsck ... and the function it uses to
check is completely independent of userspace tools related to PM. The
only thing it checks is the /proc tree. You can make it ignore all of
that and force a check by booting with forcefsck on your kernel
command line or by creating the file /forcefsck (simply using touch
should suffice).

You say Chaos ensues ... in what way? Further errors, failure to
boot, file system corruption, or...? The problem isn't likely rooted
in the fact that it doesn't run an fsck when the system's booting on
battery, but rather that you have some more pressing problem that
should be addressed.

-- 
Poison [BLX]
Joshua M. Murphy



Re: [gentoo-user] cdrecord fails to burn dvd

2009-11-29 Thread Joerg Schilling
José Romildo Malaquias j.romi...@gmail.com wrote:

 On Fri, Nov 20, 2009 at 04:48:25PM +0100, Joerg Schilling wrote:
  José Romildo Malaquias j.romi...@gmail.com wrote:
  
There was a report for broken Pioneer formware that hits in -v mode and
causes the firmware from the drive to through away the data before 
writing
it to the medium.
  
   Do you mean a test without -V or -v ?
  
  Without -v, as in this case cdrecord does not read the drives buffer fill 
  ratio.
  It seems that there is a bug in Pioneer firmware that is triggered by 
  calling 
  SCSI get buffer cap (0x5C)and that results in throwing away the DMA data.

 Good news!

 With the command (without using the -v option)

 $ script -f -c cdrecord -V debug=2 -sao -eject speed=8 fs=256m 
 driveropts=burnfree /var/tmp/image.iso cdrecord.log

 cdrecord completed successfully. The sha1 sums (calculated in a
 different computer) for both the image and the recorded media are
 identical!

OK, could you please use an original cdrecord without your recent self made 
patch and then apply this patch:


--- cdrecord.c ---
--- /tmp/sccs.RvayQWSo Nov 29 18:48:57 2009
+++ cdrecord.c  So Nov 29 18:47:24 2009
@@ -2590,7 +2590,7 @@
if (fper = 0)
printf( (fifo %3d%%), fper);
 #ifdef BCAP
-   if (bsize  0) {/* buffer size 
known */
+   if (bsize  0  bytes  bsize) {   
/* buffer size known */
scgp-silent++;
per = (*dp-cdr_buffer_cap)(scgp, (long *)0, 
bfree);
scgp-silent--;


This should avoid some calls to the buffer cap function before the drive's 
internal buffer was filled the first time.

Then please test again with -v

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] OS inaccessable after brief uptime in X

2009-11-29 Thread Alan McKinnon
On Saturday 28 November 2009 22:53:52 Harry Putnam wrote:
 I keep having a problem where the OS becomes inaccessable after
 running in X for a while.  I haven't noticed a time pattern yet but it
 doesn't take long sometimes.
 
 Today I started from an OFF machine, booted up, started X did a few
 things  A few minutes later I attempted to login via ssh from a remote
 laptop down stairs.  The os is inaccessable via ssh, or port 25 (its
 also a mailhup for home lan).
 
 Went back to the actual machine and it is inaccessable from console as
 well.
 
 It's happened repeatedly now for a week or two, but I've been busy with
 other stuff, and if I need it running I've just left it in console
 mode.
 
 The problem apparently does not occur in console mode.
 
 I see no problem when starting X and I see nothing in
 /var/log/messages that gives a clue about what is happening.
 
 I'm running fairly up to date Desktop profile on kernel:
 
  (uname -a)
   Linux reader 2.6.31-gentoo-r4_rdr-5 #6 SMP
   Wed Nov 4 09:19:17 CST 2009 i686 Intel(R) Celeron(R)
   CPU 3.06GHz GenuineIntel GNU/Linux
 
 I'm not sure how to track down the problem since I'm not seeing any
 give away clues in /var/log/messages
 
 So far, once the lockup has happened it appears there is no way in
 other than the reboot switch.

Looks like you need more info for a diagnosis. Unfortunately this is a hit and 
miss game as we don't have much clue what's going on. The lack of anything 
valuable in /var/log/messages seems to indicate that either a) no syslog 
messages were generated (common with client apps) or b) there is a message but 
the system locks up before it can be flushed to disk.

Some ideas:

Set up an ssh session to the offending machine from a different machine that 
is permanently on. Wait for the problem to occur and see if anything got 
printed on the ssh console.

Set up a syslogger on a remote machine and send all your logs to it. If that 
produces nothing, try having the local syslogger replicate ~/.xsession-errors 
to the remote logger. I often find that remote logging manages to keep working 
after the local disk has given up.

Obviously, these are long range diagnosis techniques and you have to be 
patient. emerge -e world will take around 24 hours and may well fix your 
problem, but not tell you what the cause was.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] udev broken...

2009-11-29 Thread Alan McKinnon
On Sunday 29 November 2009 03:07:14 BRM wrote:
  If not, fixing it is quite trivially easy: Get a copy of any recent
  liveCD or  rescue image that you can boot, and boot into it. It will find
  your drives using whatever conventions it uses, and let you mount your
  gentoo partitions just like you would do with installs. chroot lets you
  test stuff and you can also use the compiler on the rescue disk to build
  a new kernel and store it in /boot
  Then boot into that new kernel, everything ought to start properly, and 
  immediately rebuild that kernel using your gentoo system compiler. Along
  the  way you might have to edit your fstab to use sda devices instead of
  hda ones.
 
 Thanks! That seems to be a good plan. I built it earlier, but for some
  reason grub won't boot it - perhaps b/c I gzip compress the kernel (kernel
  option)? Not sure. Going to figure it out though.
 

More likely you got the chipset drivers wrong. There's been a lot of changes 
in that area over the past 18 months or so. gzip is the default compression 
for the kernel, I can't think of any reason why a kernel cannot decompress 
itself.

As a side note: I always keep a rescue USB disk handy in my box of tricks. I 
use RIPLinux (there are many alternatives) as it supports all imaginable disk 
hardware, plus software raid, lvm and who knows what else. I keep it up to 
date with latest current version, this little gadget has saved many a machine 
from a reinstall and data loss.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: [OT] Seamonkey and LastPass

2009-11-29 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

On Sat, 28 Nov 2009 20:44:48 -0600, Dale wrote:

   

Before someone says that someone can steal my puter, well, they are
stored here now anyway.  Seamonkey does it for me for most sites.  I
have the others on post it notes stuck to my monitor.  I don't type in
my login/password every time I got to the forums or some other site.
So, if they steal my puter, they can access whatever they want then
anyway.  They can boot up with /bin/bash, change the passwords and then
access whatever they want.  We always tell people physical access
trumps about anything else.
 

So put your home directory on an encrypted filesystem, physical access
won't help much then.
   


True, I just have no idea how to do that.  I would have to learn and 
play with something not so important first.  That would take time but is 
a option.


Dale

:-)  :-)



Re: [gentoo-user] Seamonkey 2.0 and certain sites not working.

2009-11-29 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

On 11/29/2009 4:05 AM, Dale wrote:


I think that's a bug with your email client, you should try using the 
latest version...





I sync'd this morning and according to emerge, I have the latest in the 
tree.


www-client/seamonkey-2.0

Would be glad to update if it was there tho.

Dale

:-)  :-)



[gentoo-user] What provides libaudio.so

2009-11-29 Thread Alan McKinnon
Hi,

I need a 32 bit browser running 32 bit java on an ~amd64 system (that's the 
only combination that works on the company vpn, it's complicated). mozilla-
firefox-bin works, but it interferes with the regular firefox installed when 
run.

A 32 bit Opera would be ideal but for some bizarre reason it insists that 
libaudio.so *must* be present, which is provided by nas. And mine is 64 bit. 
None of the emul-linux-x86 packages seem to provide it.

What's an easy way to get such a lib, keeping in mind that I don't have a 
handy 32 bit machine to snarf one off of?

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] What provides libaudio.so

2009-11-29 Thread Jesús Guerrero
On Sun, 29 Nov 2009 23:47:21 +0200, Alan McKinnon
alan.mckin...@gmail.com
wrote:
 Hi,
 
 I need a 32 bit browser running 32 bit java on an ~amd64 system (that's
 the 
 only combination that works on the company vpn, it's complicated).
mozilla-
 firefox-bin works, but it interferes with the regular firefox installed
 when 
 run.
 
 A 32 bit Opera would be ideal but for some bizarre reason it insists
that 
 libaudio.so *must* be present, which is provided by nas. And mine is 64
 bit. 
 None of the emul-linux-x86 packages seem to provide it.
 
 What's an easy way to get such a lib, keeping in mind that I don't have
a 
 handy 32 bit machine to snarf one off of?

You can just search for the package at http://rpm.pbone.net/, uncompress
it and pick the lib from there.

-- 
Jesús Guerrero



Re: [gentoo-user] Seamonkey 2.0 and certain sites not working.

2009-11-29 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

On 11/29/2009 4:05 AM, Dale wrote:


I think that's a bug with your email client, you should try using the 
latest version...





I found another site that doesn't work.  It is nothing secure either.

http://www.accuweather.com/us/ms/west-point/39773/forecast-hourly.asp?partner=accuweathertraveler=1metric=0hbhday=1hbhhour=7

Hmmm, that is a bit long huh?

*http://tinyurl.com/yze3xny

*Maybe that will work better.  This isn't even something secure.  It's 
just a weather site.  This one works fine in Konqueror too.  The others 
didn't but this one does.  Something unrelated or do I have something 
set wrong?


Ideas?

Dale

:-) :-)



[gentoo-user] OO fails with useless 65280 error on unoxml

2009-11-29 Thread daid kahl
I've been getting the same silly OpenOffice compile error for a couple
weeks now.  Nothing I can search up or think of seems to do the trick.
 Since it takes about 2 hours + to crash out (the *exact* same way),
it's also not trivial to try lots of different ideas.  I'd read
something that suggested maybe I should update my kernel, so I got
around to that last week, but it doesn't change the error.
revdep-rebuild says the linking is fine.

Here's the end of the output during compile:

Making:vbaswobj.lib

Entering 
/var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/sw/source/ui
Making:ui1.lib
Making:ui2.lib

Entering 
/var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/sw/util
Compiling: sw/unxlngi6/misc/sw_dflt_version.c
Compiling: sw/unxlngi6/misc/swd_dflt_version.c
Compiling: sw/unxlngi6/misc/swui_dflt_version.c
Compiling: sw/unxlngi6/misc/msword_dflt_version.c
Compiling: sw/unxlngi6/misc/vbaswobj_dflt.uno_version.c
Compiling: sw/unxlngi6/misc/docx_dflt_version.c
Making:swall.lib
Making:swui.lib
Making:libswli.so
Making:libswdli.so
Making:libswuili.so
Making:libmswordli.so
Making:libvbaswobjli.uno.so
Making:libdocxli.so
Making:swen-US.res
Making:swja.res
using rsc multi-res feature
Module 'sw' delivered successfully. 267 files copied, 0 files unchanged

1 module(s):
unoxml
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making
/var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/unoxml/source/rdf

Attention: if you build and deliver the above module(s) you may
prolongue your the build issuing command build --from unoxml

rmdir /tmp/22720
make: *** [stamp/build] Error 1
 *
 * ERROR: app-office/openoffice-3.1.1 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_compile
 * environment, line 5283:  Called die
 * The specific snippet of code:
 *   make || die Build failed
 *  The die message:
 *   Build failed
 *
 * If you need support, post the topmost build error, and the call
stack if relevant.
 * A complete build log is located at
'/var/log/portage/app-office:openoffice-3.1.1:20091117-060523.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/app-office/openoffice-3.1.1/temp/environment'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH= JAVA_HOME=/opt/sun-jdk-1.6.0.17
JAVACFLAGS=-source 1.5 -target 1.5 COMPILER=

Here's the emerge --info
Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.4,
glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 i686)
=
System uname: 
linux-2.6.31-gentoo-r6-i686-intel-r-_core-tm-2_cpu_t72...@_2.00ghz-with-gentoo-2.0.0
Timestamp of tree: Wed, 25 Nov 2009 09:15:02 +
ccache version 2.4 [enabled]
app-shells/bash: 4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python: 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.4.1-r1
sys-apps/sandbox:1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS=x86
ALSA_CARDS=hda-intel
ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty
extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul
mulaw multi null plug rate route share shm softvol
ANT_HOME=/usr/share/ant
APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon
authn_dbm authn_default authn_file authz_dbm authz_default
authz_groupfile authz_host authz_owner authz_user autoindex cache dav
dav_fs dav_lock deflate dir disk_cache env expires ext_filter
file_cache filter headers include info log_config logio mem_cache mime
mime_magic negotiation rewrite setenvif speling status unique_id
userdir usertrack vhost_alias
ARCH=x86
AUTOCLEAN=yes
CBUILD=i686-pc-linux-gnu
CCACHE_DIR=/var/tmp/ccache/
CCACHE_SIZE=2G
CFLAGS=-O2 -march=core2 -pipe
CHOST=i686-pc-linux-gnu
CLEAN_DELAY=5
COLLISION_IGNORE=/lib/modules
COLORTERM=Terminal
CONFIG_PROTECT=/etc /var/lib/hsqldb
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d
/etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
/etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo
/etc/texmf/language.dat.d /etc/texmf/language.def.d
/etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d
CVS_RSH=ssh
CXXFLAGS=-O2 -march=core2 -pipe
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-nM6kVMCBOK,guid=5ddbbba80b18d65c4ffb17a54b11f908
DISPLAY=:0.0
DISTDIR=/usr/portage/distfiles
EDITOR=/usr/bin/vi
ELIBC=glibc
EMERGE_DEFAULT_OPTS=--ask --verbose
EMERGE_WARNING_DELAY=10
FEATURES=buildsyspkg ccache collision-protect distlocks fixpackages
parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans
userfetch userpriv usersandbox
FETCHCOMMAND=/usr/bin/wget -t 5 -T 60 

[gentoo-user] Re: OO fails with useless 65280 error on unoxml

2009-11-29 Thread daid kahl
 PATH=/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.3.4:/opt/sun-jdk-1.4.2.17/bin:/opt/sun-jdk-1.4.2.17/jre/bin:/opt/sun-jdk-1.4.2.17/jre/javaws:/usr/qt/3/bin:/usr/games/bin:/home/daid/scripts:/sbin:/usr/non-portage:/home/daid/.gentoo/java-config-2/current-user-vm/bin:/usr/sbin:/usr/local/warlock2:/usr/local/sbin
 VMHANDLE=sun-jdk-1.4

Two things popped out at me in the emerge --info I hadn't considered,
which is that my machine for some reason believes it's still on
sun-jdk-1.4 even though that's not installed (it was installed some
time ago).

So I'm considering those now and how to get my system clean of
sun-jdk-1.4.  But the vm should be set correctly...

~daid



Re: [gentoo-user] OO fails with useless 65280 error on unoxml

2009-11-29 Thread Alan McKinnon
On Monday 30 November 2009 00:06:23 daid kahl wrote:
 I've been getting the same silly OpenOffice compile error for a couple
 weeks now.  Nothing I can search up or think of seems to do the trick.
  Since it takes about 2 hours + to crash out (the *exact* same way),
 it's also not trivial to try lots of different ideas.  I'd read
 something that suggested maybe I should update my kernel, so I got
 around to that last week, but it doesn't change the error.
 revdep-rebuild says the linking is fine.
 
 Here's the end of the output during compile:
 
 Making:vbaswobj.lib
 
 Entering
  /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/sw/
 source/ui Making:ui1.lib
 Making:ui2.lib
 
 Entering
  /var/tmp/portage/app-office/openoffice-3.1.1/work/ooo/build/ooo310-m19/sw/
 util Compiling: sw/unxlngi6/misc/sw_dflt_version.c
 Compiling: sw/unxlngi6/misc/swd_dflt_version.c
 Compiling: sw/unxlngi6/misc/swui_dflt_version.c
 Compiling: sw/unxlngi6/misc/msword_dflt_version.c
 Compiling: sw/unxlngi6/misc/vbaswobj_dflt.uno_version.c
 Compiling: sw/unxlngi6/misc/docx_dflt_version.c
 Making:swall.lib
 Making:swui.lib
 Making:libswli.so
 Making:libswdli.so
 Making:libswuili.so
 Making:libmswordli.so
 Making:libvbaswobjli.uno.so
 Making:libdocxli.so
 Making:swen-US.res
 Making:swja.res
 using rsc multi-res feature
 Module 'sw' delivered successfully. 267 files copied, 0 files unchanged
 
 1 module(s):
   unoxml
 need(s) to be rebuilt

I had hoped to never ever see this error again, looks like my hopes were 
dashed.

Short answer: The OOo build system is the most fragile, spaghetti-infested 
piece of software crap ever invented, bar none. It's is worse, far worse, than 
the Windows build system. There is no easy answer.

Long answer: The reason for the failure is in the build log, but it is never 
just above the error message. It is often many 1000s of lines higher. 
bugs.gentoo.org is infested with bug reports of this kind of thing, to get any 
meaningful answer you *MUST* follow the instructions in the ebuild and build 
with MAKEOPTS=-j1, also switch off distcc and cachecc as well.


-- 


alan dot mckinnon at gmail dot com



Re: [gentoo-user] What provides libaudio.so

2009-11-29 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

Hi,

I need a 32 bit browser running 32 bit java on an ~amd64 system (that's the
only combination that works on the company vpn, it's complicated). mozilla-
firefox-bin works, but it interferes with the regular firefox installed when
run.

A 32 bit Opera would be ideal but for some bizarre reason it insists that
libaudio.so *must* be present, which is provided by nas. And mine is 64 bit.
None of the emul-linux-x86 packages seem to provide it.

What's an easy way to get such a lib, keeping in mind that I don't have a
handy 32 bit machine to snarf one off of?

   


Looks like it can be more than one package:

http://www.portagefilelist.de/index.php/Special:PFLQuery2?file=libaudio.sosearchfile=lookuplookup=file#result

Just pick your poison.  lol

Dale

:-)  :-)



Re: [gentoo-user] OO fails with useless 65280 error on unoxml

2009-11-29 Thread daid kahl
 I had hoped to never ever see this error again, looks like my hopes were
 dashed.

If my eyes needed a screen saver, this would be burned into my retinas.

 Long answer: The reason for the failure is in the build log, but it is never
 just above the error message. It is often many 1000s of lines higher.
 bugs.gentoo.org is infested with bug reports of this kind of thing, to get any
 meaningful answer you *MUST* follow the instructions in the ebuild and build
 with MAKEOPTS=-j1, also switch off distcc and cachecc as well.

I'll give it a shot.  It just crashed again.

Thanks for the idea.  I'll tell you if it works!

~daid



Re: [gentoo-user] fsck won't work if ac cord not attached?!

2009-11-29 Thread Maxim Wexler

 You say Chaos ensues ... in what way? Further errors, failure to
 boot, file system corruption, or...? The problem isn't likely rooted
 in the fact that it doesn't run an fsck when the system's booting on
 battery, but rather that you have some more pressing problem that
 should be addressed.


/var and /home fail to mount with predictable consequences.

Roy Marples, the developer is aware of the problem says I need to
git the openrc project on his repository to fix this. Getting that
sorted now. Never used git before.



Re: [gentoo-user] fsck won't work if ac cord not attached?!

2009-11-29 Thread Neil Bothwick
On Sun, 29 Nov 2009 16:08:56 -0700, Maxim Wexler wrote:

  You say Chaos ensues ... in what way? Further errors, failure to
  boot, file system corruption, or...? The problem isn't likely rooted
  in the fact that it doesn't run an fsck when the system's booting on
  battery, but rather that you have some more pressing problem that
  should be addressed.  
 
 /var and /home fail to mount with predictable consequences.

That's not caused by fsck not running, on most boots it doesn't run
anyway, just looks to see if it's due o be run. If those filesystems
won't mount without being fscked first, there is something wrong with
them and they need to be fixed.


-- 
Neil Bothwick

I am in total control, but don't tell my wife.


signature.asc
Description: PGP signature


Re: [gentoo-user] fsck won't work if ac cord not attached?!

2009-11-29 Thread daid kahl
  You say Chaos ensues ... in what way? Further errors, failure to
  boot, file system corruption, or...? The problem isn't likely rooted
  in the fact that it doesn't run an fsck when the system's booting on
  battery, but rather that you have some more pressing problem that
  should be addressed.

 /var and /home fail to mount with predictable consequences.

 That's not caused by fsck not running, on most boots it doesn't run
 anyway, just looks to see if it's due o be run. If those filesystems
 won't mount without being fscked first, there is something wrong with
 them and they need to be fixed.

Right.

Go ahead and turn off fsck at boot to deal with these more serious
problems first.  This is controlled by the 0 or 1 flag in /etc/fstab
(1 being fsck during boot every so-often).  You can make it look
something like:

/dev/sda3   /   ext3noatime 0 0

Of course, if there are serious filesystem structural problems you'll
want to get them solved, but it's either a LiveCD chroot or disable
fsck at boot.

OpenRC is also in portage, so I'm not clear on why you need the
bleeding edge source from git...

In fact, if you're not familiar with git, and you want to shift to
OpenRC (not a bad idea), I'd suggest following the Gentoo
documentation, as I found it quite good:
http://www.gentoo.org/doc/en/openrc-migration.xml

Regards,
daid



Re: [gentoo-user] Re: [OT] Seamonkey and LastPass

2009-11-29 Thread daid kahl
 [about LastPass]

 I have an alarm system in my head. It's called the Security by bullshit
 baffles brains Alert. It's ringing right now ;-)

Hahahaha.

Just make your doorknob turn the wrong way and you don't have to lock
it.  Or you could remap all your system filestructure, remove all
PATHS and

~daid



Re: [gentoo-user] cdrecord fails to burn dvd

2009-11-29 Thread daid kahl
Forgive the top-post, but I would like to say I was very impressed by
the analysis of Joerg Schilling.

Given the issue appears resolved, I can't help myself:

 When I bought this notebook in january and first installed gentoo,
 cdrecord used to work. Then at some point ago (probably after some
 update) it has stopped working with the behaviour I have described
 above.

This is every single story of Gentoo and Linux in amazing brevity.

~daid



Re: [gentoo-user] troubles with emerge --sync

2009-11-29 Thread daid kahl
 So I managed to fix the other wonkiness on my system (viz, gcc and emacs not
 emerging). Turns out, I had been sloppy in putting together my make.conf and
 used march=prescott when I should have been using march=pentium4. Fixed it,
 ran emerge -uDNe world. Things emerge now.

Really late post on this, but an emphasis on march settings is warranted.

This will totally bungle all kinds of compiling.

If you keep around things like gcc-3 for rainy days, you'll also find
that some newer march optimizations are not defined in older gcc
versions, and this will make you all confused why nothing will compile
with your hardened compiler (which, incidentally, has g77).

I have three march items commented out (with comments on what each one
is) in my make.conf so at least I think about it if I'm trouble
shooting.

I got thrown off the other day setting up a newer machine with the
same kind of problem (it needed old code and gcc3...grrr).

Regards,
daid



Re: [gentoo-user] cdrecord fails to burn dvd

2009-11-29 Thread Marcus Wanner

On 11/29/2009 8:21 PM, daid kahl wrote:

When I bought this notebook in january and first installed gentoo,
cdrecord used to work. Then at some point ago (probably after some
update) it has stopped working with the behaviour I have described
above.



This is every single story of Gentoo and Linux in amazing brevity.
  

But not Ubuntu. They do things differently :p

Marcus



Re: [gentoo-user] Re: [OT] Seamonkey and LastPass

2009-11-29 Thread Matt Harrison

Dale wrote:
So, another question.  Is there a tool that is local and would do 
something like this?  I am using Seamonkey 2.0 nowadays.  It seems to 
have some tools available to it that the old Seamonkey doesn't.


Dale

:-)  :-)



There is a tool I've used in the past called PasswordMaker. It uses a 
master password and a flexible set of parameters to generate passwords 
and if necessary, enter them on a site.


It has a plugin for firefox and I believe seamonkey too. I can't check 
this second because their site appears to be down (bandwidth exceeded). 
It doesn't store the passwords anywhere and will only store the master 
password on your machine if you specifically ask for it.


Once you enter the master password and select the appropriate settings 
(length, character set, hashing algorithm etc etc), the password will be 
generated. You can also use the current website as a salt, so using the 
same settings will yield a different password for different sites.


Sounds like I'm advocating this very heavily, in fact I don't have much 
experience with it. It sounds reasonable to me, but I'll let you guys 
discuss it :)


Matt



Re: [gentoo-user] fsck won't work if ac cord not attached?!

2009-11-29 Thread Maxim Wexler
 Right.

wrong

 Of course, if there are serious filesystem structural problems you'll
 want to get them solved, but it's either a LiveCD chroot or disable
 fsck at boot.

There's nothing wrong with the filesystem. It's ext2  and requires
being checked at every boot. Before that it wouldn't boot at all.


 OpenRC is also in portage, so I'm not clear on why you need the
 bleeding edge source from git.

http://roy.marples.name/cgi-bin/gitweb.cgi?p=openrc.git;a=commit;h=d29daf395299fc97b8e13676bc282800a8bddae8

Marples is the developer. In emails to me he says this is what I have to do.


 In fact, if you're not familiar with git, and you want to shift to
 OpenRC (not a bad idea), I'd suggest following the Gentoo
 documentation, as I found it quite good:
 http://www.gentoo.org/doc/en/openrc-migration.xml

read what I wrote: I have already shifted.

mw



Re: [gentoo-user] fsck won't work if ac cord not attached?!

2009-11-29 Thread Maxim Wexler
besides the problem has to do with the power cord and/or the battery
-- not the fs. I'm sending this from the netbook in question with the
power cord attached; if I was on battery power it wouldn't work. Look
in your /etc/init.d/fsck, you'll see the warning.

There ought to be some boolean thing I can put in /etc/conf.d/fsck to
over-ride it, but apparently not.

On 11/29/09, Maxim Wexler maxim.wex...@gmail.com wrote:
 Right.

 wrong

 Of course, if there are serious filesystem structural problems you'll
 want to get them solved, but it's either a LiveCD chroot or disable
 fsck at boot.

 There's nothing wrong with the filesystem. It's ext2  and requires
 being checked at every boot. Before that it wouldn't boot at all.


 OpenRC is also in portage, so I'm not clear on why you need the
 bleeding edge source from git.

 http://roy.marples.name/cgi-bin/gitweb.cgi?p=openrc.git;a=commit;h=d29daf395299fc97b8e13676bc282800a8bddae8

 Marples is the developer. In emails to me he says this is what I have to
 do.


 In fact, if you're not familiar with git, and you want to shift to
 OpenRC (not a bad idea), I'd suggest following the Gentoo
 documentation, as I found it quite good:
 http://www.gentoo.org/doc/en/openrc-migration.xml

 read what I wrote: I have already shifted.

 mw




[gentoo-user] nfs home directory vs kmail

2009-11-29 Thread Mike Diehl
Hi all,

I recently moved my local home directory to an nfs-mounted directory.  Now I'm 
having trouble with kmail.  It seems that the permissions on 
~/.kde/share/apps/kmail/mail/sent-mail/cur are being... changed...

What I'm seeing is this:

drwxrwxrwx 5 mdiehl users  4096 2009-11-28 03:41 .
drwx-- 8 mdiehl mdiehl 4096 2009-11-29 18:43 ..
d? ? ?  ? ?? cur
drwx-- 2 mdiehl users  4096 2009-09-02 19:32 new
drwx-- 2 mdiehl users  4096 2009-11-29 18:43 tmp

Then, after a while, the permissions get changed to something more sane 
without me having done anything.

I've googled for this and not found anything.  Strangely, kmail won't start 
unless it can read my sent-mail folder.

Any ideas about how to fix this?

-- 

Take care and have fun,
Mike Diehl.



[gentoo-user] bluetooth headset

2009-11-29 Thread William Kenworthy
Hi, I am trying get a bluetooth headset working with bluez4.  most
documentation (even on the bluez site) is is for bluez3 and not
applicable.

Ive installed bluez4, the gnome bluetooth applet (2.26) associates with
the headset fine.  The headset is a Motorols S9 and I primarily want
just a2dp playback, but it would be nice to get the mic working as well
(for VoIP/egiga/...) at some point.

But alsa reports:
[AO_ALSA] alsa-lib: pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM
bluetooth
[AO_ALSA] Playback open error: No such file or directory
Failed to initialize audio driver 'alsa:device=bluetooth'
Could not open/initialize audio device - no sound.
Audio: no sound
Video: no video

Ive tried adding the bluetooth stanza as both a separate stanza
pcm.bluetooth, and as bluetooth within the existing pcm scope
in /etc/asound.names.  The headset works on a freerunner (SHR using
a2dp) but its not working on the laptop under gentoo :(

Anyone got a usable bluez4 guide, or knows how to do this?

BillK

-- 
William Kenworthy bi...@iinet.net.au
Home in Perth!




Re: [gentoo-user] OS inaccessable after brief uptime in X

2009-11-29 Thread Amit Dor-Shifer
my 2-cents: Might want to check filesystem integrity too (e.g: fsck, 
xfs_check).

Amit

Alan McKinnon wrote:

On Saturday 28 November 2009 22:53:52 Harry Putnam wrote:
  

I keep having a problem where the OS becomes inaccessable after
running in X for a while.  I haven't noticed a time pattern yet but it
doesn't take long sometimes.

Today I started from an OFF machine, booted up, started X did a few
things  A few minutes later I attempted to login via ssh from a remote
laptop down stairs.  The os is inaccessable via ssh, or port 25 (its
also a mailhup for home lan).

Went back to the actual machine and it is inaccessable from console as
well.

It's happened repeatedly now for a week or two, but I've been busy with
other stuff, and if I need it running I've just left it in console
mode.

The problem apparently does not occur in console mode.

I see no problem when starting X and I see nothing in
/var/log/messages that gives a clue about what is happening.

I'm running fairly up to date Desktop profile on kernel:

 (uname -a)
  Linux reader 2.6.31-gentoo-r4_rdr-5 #6 SMP
  Wed Nov 4 09:19:17 CST 2009 i686 Intel(R) Celeron(R)
  CPU 3.06GHz GenuineIntel GNU/Linux

I'm not sure how to track down the problem since I'm not seeing any
give away clues in /var/log/messages

So far, once the lockup has happened it appears there is no way in
other than the reboot switch.



Looks like you need more info for a diagnosis. Unfortunately this is a hit and 
miss game as we don't have much clue what's going on. The lack of anything 
valuable in /var/log/messages seems to indicate that either a) no syslog 
messages were generated (common with client apps) or b) there is a message but 
the system locks up before it can be flushed to disk.


Some ideas:

Set up an ssh session to the offending machine from a different machine that 
is permanently on. Wait for the problem to occur and see if anything got 
printed on the ssh console.


Set up a syslogger on a remote machine and send all your logs to it. If that 
produces nothing, try having the local syslogger replicate ~/.xsession-errors 
to the remote logger. I often find that remote logging manages to keep working 
after the local disk has given up.


Obviously, these are long range diagnosis techniques and you have to be 
patient. emerge -e world will take around 24 hours and may well fix your 
problem, but not tell you what the cause was.