From owner-freebsd-current@FreeBSD.ORG Mon Jun 29 21:28:40 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 75293106578B for ; Mon, 29 Jun 2009 21:28:40 +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 2D9128FC2B for ; Mon, 29 Jun 2009 21:28:40 +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 9EB3F78FA3 for ; Tue, 30 Jun 2009 01:28:38 +0400 (MSD) Message-ID: <4A493207.5@haruhiism.net> Date: Tue, 30 Jun 2009 01:28:39 +0400 From: Kamigishi Rei User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <4A4928E8.6070401@haruhiism.net> In-Reply-To: <4A4928E8.6070401@haruhiism.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: 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 21:28:42 -0000 Kamigishi Rei wrote: > 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): Okay it's not related to mysqld: kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0x1332618 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff8058ada5 stack pointer = 0x28:0xffffff80403d45f0 frame pointer = 0x28:0xffffff80403d4620 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 = 64035 (python) Physical memory: 2014 MB Dumping 1737 MB: 1722 1706 1690 1674 1658 1642 1626 1610 1594 1578 1562 1546 1530 1514 1498 1482 1466 1450 1434 1418 1402 1386 1370 1354 1338 1322 1306 1290 1274 1258 1242 1226 1210 1194 1178 1162 1146 1130 1114 1098 1082 1066 1050 1034 1018 1002 986 970 954 938 922 906 890 874 858 842 826 810 794 778 762 746 730 714 698 682 666 650 634 618 602 586 570 554 538 522 506 490 474 458 442 426 410 394 378 362 346 330 314 298 282 266 250 234 218 202 186 170 154 138 122 106 90 74 58 42 26 10 #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=0xffffff80403d4540) at /usr/src/sys/kern/subr_kdb.c:534 #6 0xffffffff808624ad in trap_fatal (frame=0xffffff80403d4540, eva=Variable "eva" is not available. ) at /usr/src/sys/amd64/amd64/trap.c:847 #7 0xffffffff80863135 in trap (frame=0xffffff80403d4540) 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=18446742975091785728, 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=0xffffff0004dd7b00, 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=0xffffff0004dd7b00, af=2, hlen=0) at /usr/src/sys/net/if_loop.c:400 #14 0xffffffff80643786 in looutput (ifp=0xffffff000444e800, m=0xffffff0004dd7b00, dst=0xffffff80403d47a0, ro=Variable "ro" is not available. ) at /usr/src/sys/net/if_loop.c:296 #15 0xffffffff806a2767 in ip_output (m=0xffffff0004dd7b00, opt=Variable "opt" is not available. ) at /usr/src/sys/netinet/ip_output.c:624 #16 0xffffffff80707dc4 in tcp_output (tp=0xffffff002a2b9000) at /usr/src/sys/netinet/tcp_output.c:1188 #17 0xffffffff80714469 in tcp_usr_send (so=0xffffff005d6e0d48, flags=0, m=Variable "m" is not available. ) at tcp_offload.h:269 #18 0xffffffff805fd327 in sosend_generic (so=0xffffff005d6e0d48, addr=0x0, uio=0xffffff80403d4b10, top=0xffffff004e642900, 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=0xffffff0035474000, fd=16, fp=0xffffff0028466960, auio=0xffffff80403d4b10, offset=Variable "offset" is not available. ) at file.h:239 #21 0xffffffff805dc490 in kern_writev (td=0xffffff0035474000, fd=16, auio=0xffffff80403d4b10) 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=0xffffff80403d4c90) at /usr/src/sys/amd64/amd64/trap.c:984 #24 0xffffffff808496b0 in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:364 #25 0x0000000800b5cefc in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) -- Kamigishi Rei KREI-RIPE