Date: Mon, 22 Oct 2012 14:26:59 -0100 From: Jan Beich <jbeich@tormail.org> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/172958: devd(8) skips some regexps with libc++ Message-ID: <1TQJuA-000CBc-4c@internal.tormail.org> Resent-Message-ID: <201210221530.q9MFU2NC068432@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1TQJuA-000CBc-4c>