bin/172958: devd(8) skips some regexps with libc++

Jan Beich jbeich at tormail.org
Mon Oct 22 15:30:02 UTC 2012


>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:


More information about the freebsd-bugs mailing list