Solved

Kernel Panics

Posted on 2004-09-21
1
752 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 Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
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 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.:

920 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

13 Experts available now in Live!

Get 1:1 Help Now