From owner-freebsd-bugs@FreeBSD.ORG Fri Aug 11 06:10:17 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4A5F16A4DF for ; Fri, 11 Aug 2006 06:10:17 +0000 (UTC) (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 ADB6D43D49 for ; Fri, 11 Aug 2006 06:10:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7B6AGGv046934 for ; Fri, 11 Aug 2006 06:10:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7B6AGoV046929; Fri, 11 Aug 2006 06:10:16 GMT (envelope-from gnats) Resent-Date: Fri, 11 Aug 2006 06:10:16 GMT Resent-Message-Id: <200608110610.k7B6AGoV046929@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ian Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 729C116A4DD for ; Fri, 11 Aug 2006 06:06:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B25F43D72 for ; Fri, 11 Aug 2006 06:06:34 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k7B66XJ1075162 for ; Fri, 11 Aug 2006 06:06:33 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k7B66XHN075153; Fri, 11 Aug 2006 06:06:33 GMT (envelope-from nobody) Message-Id: <200608110606.k7B66XHN075153@www.freebsd.org> Date: Fri, 11 Aug 2006 06:06:33 GMT From: Ian To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: kern/101794: Setting plip as syncdev for pfsync causes kernel panic. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2006 06:10:18 -0000 >Number: 101794 >Category: kern >Synopsis: Setting plip as syncdev for pfsync causes kernel panic. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 11 06:10:16 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Ian >Release: FreeBSD-6.1 >Organization: none. >Environment: FreeBSD 6.0-RELEASE i386 # originally discovered on FreeBSD 6.1-RELEASE i386 # found to affect this release as well >Description: When assigning the pfsync device (pfsync0) to the plip device (plip0) via the command `ifconfig pfsync0 syncdev plip0` the kernel panics with a "Fatal trap 12: page fault while in kernel mode". This *might* only happen when plip has no IP configuration, as I have not tested it post ip configuration (many apologies). The kernel has no debug options (sorry again!), but here's the info found on the screen post-mortem. fault virtual address = 0x8 fault code = supervisor read, page not present instruction pointer = 0x20:0xc04ca787 stack pointer = 0x28:0xe35ebb7c frame pointer = 0x28:0xe35ebc2c 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 = 35 (swi4: clock sio) trap number = 12 panic: page fault >How-To-Repeat: Ensure your kernel has at least "device pf", "device pfsyc", and "device plip". Boot to the default mode. Ensure the plip device has NO IP configuration (this MAY still occur when it does have an IP configuration, but I have not yet tested this). Log in. Run the following command as root: `ifconfig pfsync0 syncdev plip0` (substituting in other device numbers if necessary). >Fix: Unknown. >Release-Note: >Audit-Trail: >Unformatted: