Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2007 22:19:02 +1100
From:      Geoff Roberts <geoff@apro.com.au>
To:        freebsd-stable@freebsd.org
Subject:   Re: 7.0 - ZFS Fatal trap 12 on shutdown
Message-ID:  <200712142219.03914.geoff@apro.com.au>
In-Reply-To: <200712050909.35045.geoff@apro.com.au>
References:  <200712050909.35045.geoff@apro.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary-00=_namYHB1m4L/xsc+
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,

On Wed, 5 Dec 2007 09:09:34 am Geoff Roberts wrote:
> I am getting the attached Fatal trap on shutdown.
>
> Whenever I create a zfs pool I get the error.
>
> eg: zpool create data da0s3a
>
> I am running FreeBSD 7 on a Supermicro 5015M-MT+ running an Intel Core2 Duo
> (E6700) CPU.

I've been able to get some debug output from the issue with 7.0 current I 
mentioned about a week ago.

Is there anything in here that may help indicate why I am getting this error 
on shutdown whenever I create a zpool?

Kind regards,

Geoff

--Boundary-00=_namYHB1m4L/xsc+
Content-Type: text/plain;
  charset="iso-8859-1";
  name="Trap12Debug.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="Trap12Debug.txt"

Dec 14 22:12:32 aprosrv2 reboot: rebooted by root
Dec 14 22:12:32 aprosrv2 syslogd: exiting on signal 15
Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...3 0 0 0 0 done
All buffers synced.
Uptime: 42s


Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address   = 0x0
fault code              = supervisor write, page not present
instruction pointer     = 0x20:0xc0440b3d
stack pointer           = 0x28:0xf1447bf4
frame pointer           = 0x28:0xf1447c90
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         = 18 (swi2: cambio)
[thread pid 18 tid 100016 ]
Stopped at      camisr_runqueue+0x3d:   movl    %eax,0(%edx)
db> trace
Tracing pid 18 tid 100016 td 0xc5f08220
camisr_runqueue(c059e214,c5f08220,0,1,1000000,...) at camisr_runqueue+0x3d
camisr(0,0,c074172a,46b,0,...) at camisr+0x138
ithread_loop(c5f046d0,f1447d38,0,0,0,...) at ithread_loop+0x19c
fork_exit(c057a580,c5f046d0,f1447d38) at fork_exit+0x99
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xf1447d70, ebp = 0 ---

db> panic

panic: from debugger
cpuid = 1
KDB: stack backtrace:
db_trace_self_wrapper(c0745a7f,f14478d8,c059e11c,c5f65100,0,...) at db_trace_selkdb_backtrace(c5f65100,0,46,789,f14478fc,...) at kdb_backtrace+0x29
mi_switch(1,0,1) at mi_switch+0x47
sched_bind(c5f08220,0,c07439e5,10e,f1447918,...) at sched_bind+0x5c
boot(c0743b10,1,c0730645,f1447970,1,...) at boot+0x47
shutdown_nice(c0730645,f1447a1c,c04872ac,c0440b3d,0,...) at shutdown_nice
db_error(c0440b3d,0,ffffffff,f1447988,c0489000,...) at db_error
db_command_loop(c0440b3d,f1447a44,46,1,0,...) at db_command_loop+0x2ea
db_trap(c,0,1,28,f1447bb4,...) at db_trap+0xc4
kdb_trap(c,0,f1447bb4,1,1,...) at kdb_trap+0x8c
trap_fatal(c07c4c00,0,2,8,f1447b34,...) at trap_fatal+0x2ee
trap_pfault(0,4000,0,c5fed180,c5fb42ac,...) at trap_pfault+0x265
trap(f1447bb4) at trap+0x3fb
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0xc0440b3d, esp = 0xf1447bf4, ebp = 0xf1447c90 ---
camisr_runqueue(c059e214,c5f08220,0,1,1000000,...) at camisr_runqueue+0x3d
camisr(0,0,c074172a,46b,0,...) at camisr+0x138
ithread_loop(c5f046d0,f1447d38,0,0,0,...) at ithread_loop+0x19c
fork_exit(c057a580,c5f046d0,f1447d38) at fork_exit+0x99
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xf1447d70, ebp = 0 ---

--Boundary-00=_namYHB1m4L/xsc+--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712142219.03914.geoff>