Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Kernel Panics

Posted on 2004-09-21
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
Question by:OSLAdmin
1 Comment

Accepted Solution

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.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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 …
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

840 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