From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 16 10:10:28 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 427B116A427 for ; Wed, 16 Nov 2005 10:10:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D452743D5E for ; Wed, 16 Nov 2005 10:10:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jAGAAI2Q040956 for ; Wed, 16 Nov 2005 10:10:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAGAAIel040955; Wed, 16 Nov 2005 10:10:18 GMT (envelope-from gnats) Resent-Date: Wed, 16 Nov 2005 10:10:18 GMT Resent-Message-Id: <200511161010.jAGAAIel040955@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mark Knight Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D43C816A41F for ; Wed, 16 Nov 2005 10:00:42 +0000 (GMT) (envelope-from markk@knigma.org) Received: from shrewd.pub.knigma.org (shrewd.pub.knigma.org [81.2.102.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 457CF43D46 for ; Wed, 16 Nov 2005 10:00:41 +0000 (GMT) (envelope-from markk@knigma.org) Received: from shrewd.pub.knigma.org (localhost [127.0.0.1]) by shrewd.pub.knigma.org (8.13.4/8.13.4) with ESMTP id jAGA0b0E001992 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 16 Nov 2005 10:00:38 GMT (envelope-from mkn@shrewd.pub.knigma.org) Received: (from mkn@localhost) by shrewd.pub.knigma.org (8.13.4/8.13.4/Submit) id jAGA0bGs001991; Wed, 16 Nov 2005 10:00:37 GMT (envelope-from mkn) Message-Id: <200511161000.jAGA0bGs001991@shrewd.pub.knigma.org> Date: Wed, 16 Nov 2005 10:00:37 GMT From: Mark Knight To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/89107: Zaptal and asterisk cause panic on 6.0-STABLE X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mark Knight List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2005 10:10:28 -0000 >Number: 89107 >Category: ports >Synopsis: Zaptal and asterisk cause panic on 6.0-STABLE >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Nov 16 10:10:18 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Mark Knight >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: System: FreeBSD shrewd.pub.knigma.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Wed Nov 16 08:03:51 GMT 2005 root@shrewd.pub.knigma.org:/usr/src/sys/i386/compile/SHREWD i386 >Description: I've just completed a source code upgrade from 5.4 to 6.0. All my ports were up-to-date before the upgrade and I've performed a portupgrade -f - R -a since. Since the same port version worked before with the same configuration this looks like a problem that's new to 6.0. I only use Zaptel to provide timing; so my 000.zaptel.sh looks like this: /sbin/kldload ${LIBDIR}/zaptel.ko || exit 1 /sbin/kldload ${LIBDIR}/ztdummy.ko || exit 1 This loads fine: Nov 16 07:28:19 shrewd kernel: Zapata Telephony Interface Registered on major 196 Nov 16 07:28:19 shrewd kernel: ztdummy: loaded however, when I then started asterisk I got: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x10 fault code = supervisor read, page not present instruction pointer = 0x20:0xc053fe03 stack pointer = 0x28:0xd1629c2c frame pointer = 0x28:0xd1629c9c 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 = 1075 (asterisk) trap number = 12 panic: page fault Uptime: 7m26s Dumping 255 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 255MB (65216 pages) 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 #0 doadump () at pcpu.h:165 165 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:165 #1 0xc05699a0 in boot (howto=260) at ../../../kern/kern_shutdown.c:399 #2 0xc0569ce9 in panic (fmt=0xc0772a39 "%s") at ../../../kern/kern_shutdown.c:555 #3 0xc074c45c in trap_fatal (frame=0xd1629bec, eva=0) at ../../../i386/i386/trap.c:831 #4 0xc074c132 in trap_pfault (frame=0xd1629bec, usermode=0, eva=16) at ../../../i386/i386/trap.c:742 #5 0xc074bcef in trap (frame= {tf_fs = -1049296888, tf_es = -782106584, tf_ds = -1068236760, tf_edi = 0, tf_esi = 0, tf_ebp = -782066532, tf_isp = -782066664, tf_ebx = -1046435584, tf_edx = -1046316800, tf_ecx = 4, tf_eax = -1046537768, tf_trapno = 12, tf_err = 0, tf_eip = -1068237309, tf_cs = 32, tf_eflags = 66050, tf_esp = -1046537192, tf_ss = -1046316800}) at ../../../i386/i386/trap.c:432 #6 0xc0738daa in calltrap () at ../../../i386/i386/exception.s:139 #7 0xc053fe03 in closef (fp=0xc19f19d8, td=0xc1a27900) at ../../../kern/kern_descrip.c:1889 #8 0xc053c68f in close (td=0xc1a27900, uap=0xc19f19d8) at ../../../kern/kern_descrip.c:1004 #9 0xc074c850 in syscall (frame= {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 135169024, tf_esi = 7, tf_ebp = -1087440536, tf_isp = -782066332, tf_ebx = 673860852, tf_edx = 0, tf_ecx = 135078032, tf_eax = 6, tf_trapno = 12, tf_err = 2, tf_eip = 674166895, tf_cs = 51, tf_eflags = 642, tf_esp = -1087440564, tf_ss = 59}) at ../../../i386/i386/trap.c:976 #10 0xc0738dff in Xint0x80_syscall () at ../../../i386/i386/exception.s:200 #11 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) >How-To-Repeat: Load zaptel.ko and ztdummy.ko followed by asterisk >Fix: >Release-Note: >Audit-Trail: >Unformatted: