From owner-freebsd-bugs@FreeBSD.ORG Mon Oct 22 15:30:02 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 82D0FEDF; Mon, 22 Oct 2012 15:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 408E78FC18; Mon, 22 Oct 2012 15:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9MFU2BM068435; Mon, 22 Oct 2012 15:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9MFU2NC068432; Mon, 22 Oct 2012 15:30:02 GMT (envelope-from gnats) Resent-Date: Mon, 22 Oct 2012 15:30:02 GMT Resent-Message-Id: <201210221530.q9MFU2NC068432@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@freebsd.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Cc: dim@freebsd.org Resent-Reply-To: FreeBSD-gnats-submit@freebsd.org, Jan Beich Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5116DEC8 for ; Mon, 22 Oct 2012 15:29:19 +0000 (UTC) (envelope-from jbeich@tormail.org) Received: from outgoing.tormail.org (outgoing.tormail.org [82.221.96.22]) by mx1.freebsd.org (Postfix) with ESMTP id E5F448FC08 for ; Mon, 22 Oct 2012 15:29:18 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=internal.tormail.org) by outgoing.tormail.org with esmtp (Exim 4.72) (envelope-from ) id 1TQJwL-0001Yg-FU for FreeBSD-gnats-submit@freebsd.org; Mon, 22 Oct 2012 19:29:17 +0400 Received: from jbeich by internal.tormail.org with local (Exim 4.63) (envelope-from ) id 1TQJuA-000CBc-4c for FreeBSD-gnats-submit@freebsd.org; Mon, 22 Oct 2012 15:27:03 +0000 Message-Id: <1TQJuA-000CBc-4c@internal.tormail.org> Date: Mon, 22 Oct 2012 14:26:59 -0100 From: Jan Beich To: FreeBSD-gnats-submit@freebsd.org X-GNATS-Notify: dim@freebsd.org Subject: bin/172958: devd(8) skips some regexps with libc++ 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: Mon, 22 Oct 2012 15:30:02 -0000 >Number: 172958 >Category: bin >Synopsis: devd(8) skips some regexps with libc++ >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: Mon Oct 22 15:30:02 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Jan Beich >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: modular kernel with usb stuff loaded on-demand >Description: When compiled with libc++ devd(8) fails to match rules (at least) in /etc/devd/usb.conf and kldload respective modules. --- devd -dD (libstdc++) +++ devd -dD (libc++) @@ -55,557 +55,7 @@ Processing nomatch event Testing bus=uhub3 against ^uhub[0-9]+, invert=0 Testing mode=host against ^host, invert=0 -Testing vendor=0x045e against ^0x11f7, invert=0 -Testing bus=uhub3 against ^uhub[0-9]+, invert=0 -Testing mode=host against ^host, invert=0 [...] -Testing intclass=0x03 against ^0x02, invert=0 -Testing bus=uhub3 against ^uhub[0-9]+, invert=0 -Testing mode=host against ^host, invert=0 -Testing intclass=0x03 against ^0x02, invert=0 +Testing vendor=0x045e against ^0x0cad, invert=0 Testing bus=uhub3 against ^uhub[0-9]+, invert=0 Testing mode=host against ^host, invert=0 Testing intclass=0x03 against ^0x03, invert=0 -Testing intsubclass=0x01 against ^0x01, invert=0 -Testing intprotocol=0x01 against ^0x01, invert=0 -Executing 'kldload -n ukbd' -Popping table >How-To-Repeat: 1. build sbin/devd with CXXFLAGS+=-stdlib=libc++ 2. compile out USB support in kernel 3. add USB *hci drivers to kld_list in rc.conf 4. install new kernel/devd and reboot 5. check if ukbd/ums/etc are loaded when reaching multi-user mode >Fix: >Release-Note: >Audit-Trail: >Unformatted: