Mailinglist Archive: opensuse-factory (1233 mails)

< Previous Next >
Re: [opensuse-factory] Full system freeze - how can be investigated?
  • From: "Richard (MQ)" <osl2008@xxxxxxxxxxxxxx>
  • Date: Thu, 27 Nov 2008 08:02:03 +0000
  • Message-id: <492E53FB.6060609@xxxxxxxxxxxxxx>
Carlos E. R. wrote:

My factory beta 5.2 freezes completely, randomly. I assume it is the
kernel. There is nothing in logs.

I assume I could connect the machine via serial port to another, and
make kernel log everything there. But how?

I's suggest that you do here what we often have to do for installation
problems:

1. On another networked machine set up a writeable share using NFS (or
maybe Samba if you like). I assume you know how to do this! Permissions
can be fiddly, I usually end up with 777. For installations, you will
need to create a directory YaST2 too.

2. On the target machine, if installing set it to start a shell before
running YaST. If installation is already complete, you could perhaps add
a shell to /etc/init.d/boot.local or - if you can get to a prompt before
problems appear - just do it manually.

3. Then in that shell mount the NFS share exported above over the
appropriate section of /var/log (or maybe over all of it, though you may
need to create an empty directory structure first). You may also need
option "-o nolock" especially during installation. Again, I assume you
know how to do all this.

It may be worth testing before exiting the shell e.g. by touching a new
file and / or appending something to /var/log/messages using cat or
echo. See note above regarding permissions.

A more sophisticated approach might be to mount the share elsewhere and
tee specific files to it.

4. Quit the shell, and watch for the log files to appear!

5. Try to unmount it nicely if you can...

Hope this is useful
--
Cheers
Richard (MQ)
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
References