Plz help to recover failed 9.2.x - Fatal trap 12: page fault while in Kernel mode

Status
Not open for further replies.

shang

Dabbler
Joined
Dec 10, 2014
Messages
10
Solved: Please help me to recover a down 9.2.x system.
Hardware: Intel 7200 with 8G of RAM.
USB boot with 4 x 2G HDs (raid 10, ZFS)
===================================================
error message:
Fatal trap 12: page fault while in kernel mode
cupid = 1; apic id = 01
fault virtual address = 0xffffffff9152262a
fault code = supervisor read data, page not present
instruction pointer = 0x20:0xffffffff808f954a
stack pointer = 0x28:0xffffff824e1ac400
frame pointer = 0x28:0xffffff824e1ac410
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = trace trap, interrupt enabled, resume, IOPL = 0
current process = 315 (kldload)
[ thread pid 315 tid 100096 ]
stopped at strcmp+0xa: movzbl (%rsi),%eax

db>

=============================================================

I did replace the DDR2 RAM, but the end result was the same.
Thanks

Shang
 
Last edited:

shang

Dabbler
Joined
Dec 10, 2014
Messages
10
Just a guess, but try a clean install to a fresh USB drive, and see if that boots OK.
Hi Danb35,
It does function without any issue on another USB drive.

Do we know how to retrieve configuration from the failed USB drive?
Thanks

Shang
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
You upload the config database you downloaded to your computer after you set up your server (you did download the config file, didn't you?). Failing that, you go to the backup you had automatically saved to your pool with a script. If you didn't do either of those, you may be out of luck--I'm not sure there's a way to read the file off the old USB drive.
 

shang

Dabbler
Joined
Dec 10, 2014
Messages
10
Hi Danb35,
Thanks for the quick reply.
Unfortunately I lost all the backup files when switching to a new PC.

Is any way to get the list of extent names with the correct sizes from the volume?
As long as I can present the list to the system, the rest of is easier.
Thanks

Shang
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
The configuration file freenas-v1.db is stored on the 4th partition of the boot device.

If you can mount & read from the failed device, you might be able to retrieve the file.
 

shang

Dabbler
Joined
Dec 10, 2014
Messages
10
The configuration file freenas-v1.db is stored on the 4th partition of the boot device.

If you can mount & read from the failed device, you might be able to retrieve the file.
Hi gpsguy,
I do have access to a Mac, but it is not readable by the Mac.

Do we have to use Linux? What is the name of the file?
Thanks

Shang
 
Last edited:

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
FreeNAS is FreeBSD, not Linux. I'm sure a FreeBSD (or even PCBSD) system could read the drive, and PCBSD is generally nice and GUI. @gpsguy has already given you the file name.
 

pschatz100

Guru
Joined
Mar 30, 2014
Messages
1,184
Shang, glad you got your system back.

I have had 3 flash drives go bad in the last two years. Yes, I buy good ones. Flash drives are convenient, but not reliable.

I have made it a practice to use a new flash drive every time I do an update. While it's a bit of extra work for each update, the benefit is that I will have a backup of my previous installation.
 
Status
Not open for further replies.
Top