Re: FreeBSD crashed - trying to find out why

2010-11-14 Thread Patrick Lamaiziere
Le Fri, 12 Nov 2010 17:26:39 +0400,
Rakhesh Sasidharan free...@rakhesh.net a écrit :

Hello,

 Any idea why kernel crashed, or what I can do to prevent this in
 future? I understand from the forums that this could be due to bad
 memory or bad hard disk, but I was wondering whether this could also
 be due to any incompatibilities with KVM (triggered by tmux perhaps). 

No idea, the best is to configure the machine to save the dump and
after (if it happens again) submit a trace of the core dump.

This is explained in :
http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html

Regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD crashed - trying to find out why

2010-11-12 Thread Rakhesh Sasidharan
Hello,

I have a FreeBSD 8.1-RELEASE machine running inside a KVM VPS. 

I installed tmux a few days back, and today I was trying to update all
my ports via portupgrade. Everything was going fine, so after a while I
detached from the tmux session and disconnected from the machine (was
connected via SSH). When I returned a few hours later, I see that the
machine had rebooted. It appears that the machine rebooted due to a
kernel fault. From the timestamps I see that the machine rebooted some
10-15 minutes before I returned, so it looks like portupgrade and tmux
etc were working fine until then. 

Here's the messages from /var/log/messages - 

-8---
kernel: Fatal trap 12: page fault while in kernel mode
kernel: cpuid = 0; apic id = 00
kernel: fault virtual address   = 0x250
kernel: fault code  = supervisor read data, page not present
kernel: instruction pointer = 0x20:0x8052e574
kernel: stack pointer   = 0x28:0xff800019c8a0
kernel: frame pointer   = 0x28:0xff800019c8c0
kernel: code segment= base 0x0, limit 0xf, type 0x1b
kernel: = DPL 0, pres 1, long 1, def32 0, gran 1
kernel: processor eflags= interrupt enabled, resume, IOPL = 0
kernel: current process = 50496 (tmux)
kernel: trap number = 12
kernel: panic: page fault
kernel: cpuid = 0
kernel: Uptime: 3d22h30m42s
kernel: Cannot dump. Device not defined or unavailable.
kernel: Automatic reboot in 15 seconds - press a key on the console to
abort
-8---

I went into all the background about tmux above since the logs highlight
tmux as the currently running process. 

Any idea why kernel crashed, or what I can do to prevent this in future?
I understand from the forums that this could be due to bad memory or bad
hard disk, but I was wondering whether this could also be due to any
incompatibilities with KVM (triggered by tmux perhaps). 

Thanks,
Rakhesh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD crashed

2008-05-25 Thread gahn
Hello all:

My FreeBSD crashed. It boots fine but can't mount root directory. Here is the 
message:

/
...

Trying to mount root from ufs:/dev/ad0s2a

Manual root filesystem specification:
 fstype:device Mount device using filesystem fstype
 eg. ufs:da0s1a
 ?  List valid disk boot devices
 empty line Abort manual input

mountroot

///  


Could any gurus here help me out this? I just want to save the files in the 
home directory so that I can rebuild the system.

Regards

Dave


  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD crashed

2008-05-25 Thread Norman Maurer
Just type ? to get the possible values. If this not help use the
livefs cd to start a shell and mount the disk.

Cheers,
Norman

2008/5/25 gahn [EMAIL PROTECTED]:
 Hello all:

 My FreeBSD crashed. It boots fine but can't mount root directory. Here is the 
 message:

 /
 ...
 
 Trying to mount root from ufs:/dev/ad0s2a

 Manual root filesystem specification:
 fstype:device Mount device using filesystem fstype
 eg. ufs:da0s1a
 ?  List valid disk boot devices
 empty line Abort manual input

 mountroot

 ///


 Could any gurus here help me out this? I just want to save the files in the 
 home directory so that I can rebuild the system.

 Regards

 Dave



 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD crashed

2008-05-25 Thread Richard Arends
On Sun, May 25, 2008 at 01:52:05AM -0700, gahn wrote:

 Could any gurus here help me out this? I just want to save the files in the 
 home directory so that I can rebuild the system.

Boot with a FreeBSD installation or live CD/DVD and mount the home partition and
burn the files on a CD or DVD, or copy them with scp to an other system or 
mount a
remote filesystem like CIFS/Samba/NFS and copy the files on that filesystem.

Or restore them from your most recent backup :)

-- 
Regards,

Richard.

/* Homo Sapiens non urinat in ventum */
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD crashed

2008-05-25 Thread Henri Hennebert

gahn wrote:

Hello all:

My FreeBSD crashed. It boots fine but can't mount root directory. Here is the 
message:

/
...

Trying to mount root from ufs:/dev/ad0s2a

Manual root filesystem specification:
 fstype:device Mount device using filesystem fstype
 eg. ufs:da0s1a
 ?  List valid disk boot devices
 empty line Abort manual input

mountroot


try to find if da0s1a is the right disk:

`lsdev' may help

then `set currdev disk'

and check the content of the current disk with `ls'

Henri


///  



Could any gurus here help me out this? I just want to save the files in the 
home directory so that I can rebuild the system.

Regards

Dave


  
___

[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD crashed

2008-05-25 Thread Derek Ragona

At 03:52 AM 5/25/2008, gahn wrote:

Hello all:

My FreeBSD crashed. It boots fine but can't mount root directory. Here is 
the message:


/
...

Trying to mount root from ufs:/dev/ad0s2a

Manual root filesystem specification:
 fstype:device Mount device using filesystem fstype
 eg. ufs:da0s1a
 ?  List valid disk boot devices
 empty line Abort manual input

mountroot

///


Could any gurus here help me out this? I just want to save the files in 
the home directory so that I can rebuild the system.


Regards

Dave


Boot a cd, then copy your files to another system, or to removable media.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]