From owner-freebsd-current@FreeBSD.ORG Mon Jun 29 20:49:46 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7B28106564A for ; Mon, 29 Jun 2009 20:49:46 +0000 (UTC) (envelope-from spambox@haruhiism.net) Received: from fujibayashi.jp (karas.fujibayashi.jp [77.221.159.4]) by mx1.freebsd.org (Postfix) with ESMTP id 639518FC1C for ; Mon, 29 Jun 2009 20:49:45 +0000 (UTC) (envelope-from spambox@haruhiism.net) Received: from [192.168.0.2] (ppp91-122-47-189.pppoe.avangarddsl.ru [91.122.47.189]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by fujibayashi.jp (Postfix) with ESMTPSA id 39C6778F7F for ; Tue, 30 Jun 2009 00:49:44 +0400 (MSD) Message-ID: <4A4928E8.6070401@haruhiism.net> Date: Tue, 30 Jun 2009 00:49:44 +0400 From: Kamigishi Rei User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: r195153M with ahci.ko: page faults X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2009 20:49:47 -0000 I've updated to r195153 approximately 10 hours ago, installed the AHCI CAM patch (and so far it works fine), however after the installworld and reboot the machine started throwing "fatal trap 12" every hour or so, with approximately the same reason. Disabled gmirror and got a core (however I'm still unsure if it's caused by jailed mysqld as listed here; attempting to rebuild mysqld): kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x1332618 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff8058ada5 stack pointer = 0x28:0xffffff80404015f0 frame pointer = 0x28:0xffffff8040401620 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = resume, IOPL = 0 current process = 2234 (mysqld) Physical memory: 2014 MB Dumping 1309 MB: 1294 1278 1262 1246 1230 1214 1198 1182 1166 1150 1134 1118 1102 1086 1070 1054 1038 1022 1006 990 974 958 942 926 910 894 878 862 846 830 814 798 782 766 750 734 718 702 686 670 654 638 622 606 590 574 558 542 526 510 494 478 462 446 430 414 398 382 366 350 334 318 302 286 270 254 238 222 206 190 174 158 142 126 110 94 78 62 46 30 14 #0 doadump () at pcpu.h:223 223 __asm __volatile("movq %%gs:0,%0" : "=r" (td)); (kgdb) backtrace #0 doadump () at pcpu.h:223 #1 0xffffffff801f908c in db_fncall (dummy1=Variable "dummy1" is not available. ) at /usr/src/sys/ddb/db_command.c:548 #2 0xffffffff801f93c1 in db_command (last_cmdp=0xffffffff80becce0, cmd_table=Variable "cmd_table" is not available. ) at /usr/src/sys/ddb/db_command.c:445 #3 0xffffffff801f9610 in db_command_loop () at /usr/src/sys/ddb/db_command.c:498 #4 0xffffffff801fb5b9 in db_trap (type=Variable "type" is not available. ) at /usr/src/sys/ddb/db_main.c:229 #5 0xffffffff805c9475 in kdb_trap (type=12, code=0, tf=0xffffff8040401540) at /usr/src/sys/kern/subr_kdb.c:534 #6 0xffffffff808624ad in trap_fatal (frame=0xffffff8040401540, eva=Variable "eva" is not available. ) at /usr/src/sys/amd64/amd64/trap.c:847 #7 0xffffffff80863135 in trap (frame=0xffffff8040401540) at /usr/src/sys/amd64/amd64/trap.c:345 #8 0xffffffff80849423 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:223 #9 0xffffffff8058ada5 in _mtx_lock_sleep (m=0xffffffff80e98863, tid=18446742974585068208, opts=Variable "opts" is not available. ) at /usr/src/sys/kern/kern_mutex.c:407 #10 0xffffffff8058aefe in _mtx_lock_flags (m=Variable "m" is not available. ) at /usr/src/sys/kern/kern_mutex.c:203 #11 0xffffffff806475e5 in netisr_queue_internal (proto=1, m=0xffffff001ba5c700, cpuid=Variable "cpuid" is not available. ) at /usr/src/sys/net/netisr.c:829 #12 0xffffffff806476c9 in netisr_queue_src (proto=1, source=Variable "source" is not available. ) at /usr/src/sys/net/netisr.c:859 #13 0xffffffff80643629 in if_simloop (ifp=0xffffff000444e800, m=0xffffff001ba5c700, af=2, hlen=0) at /usr/src/sys/net/if_loop.c:400 #14 0xffffffff80643786 in looutput (ifp=0xffffff000444e800, m=0xffffff001ba5c700, dst=0xffffff80404017a0, ro=Variable "ro" is not available. ) at /usr/src/sys/net/if_loop.c:296 #15 0xffffffff806a2767 in ip_output (m=0xffffff001ba5c700, opt=Variable "opt" is not available. ) at /usr/src/sys/netinet/ip_output.c:624 #16 0xffffffff80707dc4 in tcp_output (tp=0xffffff00175205b0) at /usr/src/sys/netinet/tcp_output.c:1188 #17 0xffffffff80714469 in tcp_usr_send (so=0xffffff001b53b550, flags=0, m=Variable "m" is not available. ) at tcp_offload.h:269 #18 0xffffffff805fd327 in sosend_generic (so=0xffffff001b53b550, addr=0x0, uio=0xffffff8040401b10, top=0xffffff0017b79500, control=0x0, flags=Variable "flags" is not available. ) at /usr/src/sys/kern/uipc_socket.c:1257 #19 0xffffffff805e1a37 in soo_write (fp=Variable "fp" is not available. ) at /usr/src/sys/kern/sys_socket.c:102 #20 0xffffffff805daeb5 in dofilewrite (td=0xffffff0017135ab0, fd=34, fp=0xffffff00179e8b90, auio=0xffffff8040401b10, offset=Variable "offset" is not available. ) at file.h:239 #21 0xffffffff805dc490 in kern_writev (td=0xffffff0017135ab0, fd=34, auio=0xffffff8040401b10) at /usr/src/sys/kern/sys_generic.c:445 #22 0xffffffff805dc595 in write (td=Variable "td" is not available. ) at /usr/src/sys/kern/sys_generic.c:361 #23 0xffffffff808629df in syscall (frame=0xffffff8040401c90) at /usr/src/sys/amd64/amd64/trap.c:984 #24 0xffffffff808496b0 in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:364 #25 0x000000080162befc in ?? () Previous frame inner to this frame (corrupt stack?) -- Kamigishi Rei KREI-RIPE