Solved

Kernel Panics

Posted on 2004-09-21
1
755 Views
Last Modified: 2013-11-22
im having some trouble with my Freebsd 4.9 box

i keep getting kernel panics and i cant work out whats causing them

uname -a :

FreeBSD hostname.here.removed 4.10-STABLE FreeBSD 4.10-STABLE #0: Tue Aug  3 01:26:41 BST 2004     root@hostname.removed:/usr/src/sys/compile/Jamie  i386

these are the errors:


Sep 20 21:23:03 aftershock /kernel: Fatal trap 1: privileged instruction fault while in kernel mode
Sep 20 21:23:03 aftershock /kernel: instruction pointer = 0x8:0xc0260793
Sep 20 21:23:03 aftershock /kernel: stack pointer               = 0x10:0xd92d3e40
Sep 20 21:23:03 aftershock /kernel: frame pointer               = 0x10:0xd92d3e58
Sep 20 21:23:03 aftershock /kernel: code segment                = base 0x0, limit 0xfffff, type 0x1b
Sep 20 21:23:03 aftershock /kernel: = DPL 0, pres 1, def32 1, gran 1
Sep 20 21:23:03 aftershock /kernel: processor eflags    = interrupt enabled, resume, IOPL = 0
Sep 20 21:23:03 aftershock /kernel: current process             = 184 (perl)
Sep 20 21:23:03 aftershock /kernel: interrupt mask              = none
Sep 20 21:23:03 aftershock /kernel: trap number         = 1
Sep 20 21:23:03 aftershock /kernel: panic: privileged instruction fault

Sep 20 22:42:07 aftershock /kernel: Fatal trap 12: page fault while in kernel mode
Sep 20 22:42:07 aftershock /kernel: fault virtual address       = 0x36f58d0e
Sep 20 22:42:07 aftershock /kernel: fault code          = supervisor write, page not present
Sep 20 22:42:07 aftershock /kernel: instruction pointer = 0x8:0xc0340f7f
Sep 20 22:42:07 aftershock /kernel: stack pointer               = 0x10:0xd885ee28
Sep 20 22:42:07 aftershock /kernel: frame pointer               = 0x10:0xd885ee4c
Sep 20 22:42:07 aftershock /kernel: code segment                = base 0x0, limit 0xfffff, type 0x1b
Sep 20 22:42:07 aftershock /kernel: = DPL 0, pres 1, def32 1, gran 1
Sep 20 22:42:07 aftershock /kernel: processor eflags    = interrupt enabled, resume, IOPL = 0
Sep 20 22:42:07 aftershock /kernel: current process             = 7 (syncer)
Sep 20 22:42:07 aftershock /kernel: interrupt mask              = bio
Sep 20 22:42:07 aftershock /kernel: trap number         = 12
Sep 20 22:42:07 aftershock /kernel: panic: page fault
0
Comment
Question by:OSLAdmin
1 Comment
 
LVL 2

Accepted Solution

by:
jdw_2004 earned 500 total points
ID: 12132390
That looks like bad RAM or a similar hardware problem, because they aren't the same panic.

If you have the FreeBSD sources loaded, try doing:

(assuming root permissions and csh, as obtained by "su" in a default config)
YourPrompt# cd /usr/src
YourPrompt# repeat 5 make buildworld buildkernel

This will take a long time (if it doesn't crash); let it go overnight or something.  If it consistently crashes, then you almost certainly have a hardware issue of some sort.
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question