Solved

Kernel Panics

Posted on 2004-09-21
1
766 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
[X]
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
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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

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 …
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
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 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…

728 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