View Single Post
Old 17th July 2008
sysop1 sysop1 is offline
sysopOne
 
Join Date: Jul 2008
Posts: 1
Default

I'm having same issue as you, sixshot, and I may have found what is causing the problem (at least in my case). Some differences though - I'm running FreeBSD 7.0-RELEASE - but the I have same issue with recurring "Fatal trap 12".

I've tested all my RAM-modules separately (memtest86+) and they are OK.

The system seems to crash when writing big/many files over the network with smb protocol (Samba) to any of the filesystems (ZFS) on any of the drives. It seems that the harddrive (the one writing data, in this case /dev/ad16) gets disconnected just before the kernel dumps.

Here is my core dump message:
Code:
Unread portion of the kernel message buffer:
ad16: FAILURE - device detached
subdisk16: detached
ad16: detached

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x2c
fault code              = supervisor write, page not present
instruction pointer     = 0x20:0x807489f5
stack pointer           = 0x28:0xd45ffc5c
frame pointer           = 0x28:0xd45ffc70
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 3 (g_up)
trap number             = 12
panic: page fault
cpuid = 0
Uptime: 7m42s
Physical memory: 1267 MB
Dumping 115 MB: 100 84 68 52 36 20 4

#0  doadump () at pcpu.h:195
195     pcpu.h: No such file or directory.
        in pcpu.h
I'm suspecting that it's my PSU (350W cheap one) that can't provide enough power for my rig. I have pretty much stuff and eight harddrives in it.
I'm trying to monitor the voltage, but don't know if results reported by mbmon/chm are valid. If they are I have some serious issues with too small PSU:
Code:
chm: 
+5V  = 4.14
+12V = 12.06
-12V = -6
-5V = -2.14
mbmon: 
+5V  = 4.27
+12V = 11.73
-12V = -5.34 
-5V = -1.97
Am I walking on thin ice with my guess?

Or could it be something connected to the numerous problems reported with the ZFS implementation (labeled Experimental) in FreeBSD 7? Have gotten a share load of those errors too, but they use to report different trap numbers and error messages.
Reply With Quote