From owner-freebsd-bugs@FreeBSD.ORG Thu Feb 21 21:50:01 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4CC59FE5 for ; Thu, 21 Feb 2013 21:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 1AF33E73 for ; Thu, 21 Feb 2013 21:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r1LLo0Oc037539 for ; Thu, 21 Feb 2013 21:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r1LLo0sN037534; Thu, 21 Feb 2013 21:50:00 GMT (envelope-from gnats) Resent-Date: Thu, 21 Feb 2013 21:50:00 GMT Resent-Message-Id: <201302212150.r1LLo0sN037534@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, Rolf Grossmann Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7B81CC1F for ; Thu, 21 Feb 2013 21:42:58 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 694D5E1D for ; Thu, 21 Feb 2013 21:42:58 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r1LLgvEj055599 for ; Thu, 21 Feb 2013 21:42:57 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r1LLgvCh055598; Thu, 21 Feb 2013 21:42:57 GMT (envelope-from nobody) Message-Id: <201302212142.r1LLgvCh055598@red.freebsd.org> Date: Thu, 21 Feb 2013 21:42:57 GMT From: Rolf Grossmann To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/176335: ses driver (scsi_enc) conflicts with enc device in module name (enc) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2013 21:50:01 -0000 >Number: 176335 >Category: kern >Synopsis: ses driver (scsi_enc) conflicts with enc device in module name (enc) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 21 21:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Rolf Grossmann >Release: 9.1-CURRENT >Organization: PROGTECH GmbH >Environment: FreeBSD vdev-test.progtech.net 9.1-STABLE FreeBSD 9.1-STABLE #0 r246991M: Thu Feb 21 22:37:40 CET 2013 grossman@vdev-test.progtech.net:/sys/amd64/compile/IPSEC amd64 >Description: I'm building a kernel (based on GENERIC, adding device enc) using this config file: include GENERIC ident IPSEC options IPSEC device crypto device enc After booting the resulting kernel I'm missing the enc device: % ifconfig enc0 ifconfig: interface enc0 does not exist dmesg shows this error message: module_register: module enc already exists! Module enc failed to register: 17 What's worse, if I'm actually setting up a tunnel, the kernel panics from trying to record stats on the missing enc device (null pointer dereference). >How-To-Repeat: see above. >Fix: Not a fix, but a workaround (since I don't need ses): Add the following to the config file: nodevice ses >Release-Note: >Audit-Trail: >Unformatted: