Solved

Kernel Panics

Posted on 2004-09-21
1
746 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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 …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now