From owner-freebsd-current@freebsd.org Sun Feb 18 23:13:00 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9EA98F0EF83 for ; Sun, 18 Feb 2018 23:13:00 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1B3267201D for ; Sun, 18 Feb 2018 23:13:00 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: by mailman.ysv.freebsd.org (Postfix) id D3B2FF0EF81; Sun, 18 Feb 2018 23:12:59 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8CCBCF0EF7F for ; Sun, 18 Feb 2018 23:12:59 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: from mail-yw0-x232.google.com (mail-yw0-x232.google.com [IPv6:2607:f8b0:4002:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2483A72018 for ; Sun, 18 Feb 2018 23:12:59 +0000 (UTC) (envelope-from ian.freislich@capeaugusta.com) Received: by mail-yw0-x232.google.com with SMTP id b16so3239971ywh.12 for ; Sun, 18 Feb 2018 15:12:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=capeaugusta-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=LM9bUR0Qo+S2uQHuIM2cFk3s/1RDE7fagcCRcaA+veo=; b=WbllCA6R6KI9dtYfQTu6AmSUeiAGQkBjdiJgpO5bXvwtuWnMlKFsxMGvWP1vmR0tq7 AFWv2FNUv6VhfxZGcr026sxBXoqFW61JTBA/Nfk/eHI9K5JHBYZVP907VVCuO1h4wJo/ rszHTrzhfqUHOXj9+e5S5S06yIztOzY2LRCcnFR9UhCxUrLBdBW5PLUq8ZbyjFjOrHBC c20RoGMwaohqhBRXhiW9iAi3UIgAevCZ6dj3izrYrShoyAmGxYg87FRum3cqTHha3bGs 9ugUqAgxNyvm/F0APSurqXmGF+iUVW0PErKg3rmZwBvHJIA/Qt2t5g/iYaNBSRX2NrIK 23kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=LM9bUR0Qo+S2uQHuIM2cFk3s/1RDE7fagcCRcaA+veo=; b=T4PDTnuHGqAmLUmKVB+E844PBbTYKlXe5jP4/nW2tVT2w/4Vas4LhzowRnIyoojcvt 7LqnlOTBxVPuskh1jPgfOtcu/Gfi4V5yYLZ8oM0Ols26dW91iU+dQXS3slMXyp4E62HL Vgscwzvs3xG5xgYboPqmRmAEWn7z70TILHOeSDcyPfQ73Y+UeA0qtf3VJc1zWvMutvBk LYijoXR1GEA0uVuReBkHP0cYAhAcpjaKpCnCH5NoUeisX3MhHagr/Pm5zCSgi7RRLTe8 1fV6zdvkPCNy8RZ2ttcoV7rfYITdz+Rd8T07mLd9HQAuggO8PcybbGNvM1aetf1xFYoF XgkQ== X-Gm-Message-State: APf1xPDL+wzYzJAY8t2iIsjqlrz2hxTg08kO7smfg/C966GdMsCY5zo6 Ad05oVYmJhAk6QZFINAf3FJu8H+pm4Aj3U35l/7Dy2hi4grK5M/TRxs+Xz87mMh5KJyxFlLQCub zm+dPm4D/2Hk= X-Google-Smtp-Source: AH8x225vJfG4JLXCnhlCDshNRiJYDZARAyx5RIJfN2TCfp4QT2SK+3uFGlFaRdwQhXYhEim+GOeuOg== X-Received: by 10.129.181.7 with SMTP id t7mr9540768ywh.228.1518995578051; Sun, 18 Feb 2018 15:12:58 -0800 (PST) Received: from zen.clue.co.za (c-69-254-3-228.hsd1.ga.comcast.net. [69.254.3.228]) by smtp.gmail.com with ESMTPSA id q9sm9089526ywl.59.2018.02.18.15.12.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Feb 2018 15:12:57 -0800 (PST) Subject: Re: r329501 devd doesn't find USB devices To: Warner Losh Cc: FreeBSD Current , Warner Losh References: <2c5d435c-54b1-fbd8-f695-de3dcc6259f1@capeaugusta.com> From: Ian FREISLICH Message-ID: <0a0f8471-87e4-0048-aebc-a84014a9faee@capeaugusta.com> Date: Sun, 18 Feb 2018 18:12:57 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2018 23:13:01 -0000 On 02/18/18 15:09, Warner Losh wrote: > On Sat, Feb 17, 2018 at 9:14 PM, Ian FREISLICH > > > wrote: > > On 02/17/18 22:48, Warner Losh wrote: >> On Feb 17, 2018 8:24 PM, "Ian FREISLICH" >> > > wrote: >> >> Hi >> >> Since devmatch some of my USB devices no longer get their driver= s >> loaded.=C2=A0 It's not clear from UPDATING whether I needed to d= o >> anything >> beyond building and installing kernel and world as well as >> updating >> /etc.=C2=A0 There was reference to removing /etc/devd/usb.conf i= n >> another >> thread but its presence or lack thereof makes no difference. >> >> >> I assume you've fully updated including /etc. > > In as much as 'mergemaster -Ui' fully updates /etc > >> If you can uncomment the devd lines in syslog.conf, touch >> /var/log/devd.log and reboot. Once you are up again, please send >> me /var/log/devd.conf. > > Assuming you mean these lines: > > !devd > *.>=3Dnotice=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 /var/log/devd.log > > devd produced zero logs on reboot and restart. > > > There should be a lot of output... one line per device that's > attached...=C2=A0 Did you create /var/log/devd.log before reboot? Is your > /dev/log persistent across boots? Lots of output after I changed the priority from 'notice' to 'debug' in syslogd.conf.=C2=A0 Might want to fix that in src/etc/syslogd.conf. 1. Startup: Feb 18 17:43:44 zen devd: Pushing table Feb 18 17:43:44 zen devd: Parsing /etc/devd.conf Feb 18 17:43:44 zen devd: Parsing files in /etc/devd Feb 18 17:43:44 zen devd: Parsing /etc/devd/devmatch.conf Feb 18 17:43:44 zen devd: Parsing /etc/devd/asus.conf Feb 18 17:43:44 zen devd: Parsing /etc/devd/hyperv.conf Feb 18 17:43:44 zen devd: Parsing /etc/devd/uath.conf Feb 18 17:43:44 zen devd: Parsing /etc/devd/ulpt.conf Feb 18 17:43:44 zen devd: Parsing /etc/devd/usb.conf Feb 18 17:43:44 zen devd: Parsing /etc/devd/zfs.conf Feb 18 17:43:44 zen devd: Parsing files in /usr/local/etc/devd Feb 18 17:43:44 zen devd: Parsing /usr/local/etc/devd/cups.conf Feb 18 17:43:44 zen devd: Parsing /usr/local/etc/devd/webcamd.conf Feb 18 17:43:44 zen devd: Calling daemon 2. Inserting the USB-C NIC: Feb 18 18:05:53 zen devd: Processing event '!system=3DDEVFS subsystem=3DCDE= V type=3DCREATE cdev=3Dusb/0.6.0' Feb 18 18:05:53 zen devd: Pushing table Feb 18 18:05:53 zen devd: Processing notify event Feb 18 18:05:53 zen devd: Popping table Feb 18 18:05:53 zen devd: Processing event '!system=3DDEVFS subsystem=3DCDE= V type=3DCREATE cdev=3Dugen0.6' Feb 18 18:05:53 zen devd: Pushing table Feb 18 18:05:53 zen devd: Processing notify event Feb 18 18:05:53 zen devd: Popping table Feb 18 18:05:53 zen devd: Processing event '!system=3DDEVFS subsystem=3DCDE= V type=3DCREATE cdev=3Dusb/0.6.1' Feb 18 18:05:53 zen devd: Pushing table Feb 18 18:05:53 zen devd: Processing notify event Feb 18 18:05:53 zen devd: Popping table Feb 18 18:05:53 zen devd: Processing event '!system=3DDEVFS subsystem=3DCDE= V type=3DCREATE cdev=3Dusb/0.6.2' Feb 18 18:05:53 zen devd: Pushing table Feb 18 18:05:53 zen devd: Processing notify event Feb 18 18:05:53 zen devd: Popping table Feb 18 18:05:53 zen devd: Processing event '!system=3DDEVFS subsystem=3DCDE= V type=3DCREATE cdev=3Dusb/0.6.3' Feb 18 18:05:53 zen devd: Pushing table Feb 18 18:05:53 zen devd: Processing notify event Feb 18 18:05:53 zen devd: Popping table Feb 18 18:05:53 zen devd: Processing event '!system=3DUSB subsystem=3DDEVIC= E type=3DATTACH ugen=3Dugen0.6 cdev=3Dugen0.6 vendor=3D0x0bda product=3D0x815= 3 devclass=3D0x00 devsubclass=3D0x00 sernum=3D"000001" release=3D0x3000 mode= =3Dhost port=3D13 parent=3Dugen0.1' Feb 18 18:05:53 zen devd: Pushing table Feb 18 18:05:53 zen devd: Processing notify event Feb 18 18:05:53 zen devd: Popping table Feb 18 18:05:53 zen devd: Processing event '!system=3DUSB subsystem=3DINTERFACE type=3DATTACH ugen=3Dugen0.6 cdev=3Dugen0.6 vendor=3D= 0x0bda product=3D0x8153 devclass=3D0x00 devsubclass=3D0x00 sernum=3D"000001" release=3D0x3000 mode=3Dhost interface=3D0 endpoints=3D3 intclass=3D0xff intsubclass=3D0xff intprotocol=3D0x00' Feb 18 18:05:53 zen devd: Pushing table Feb 18 18:05:53 zen devd: Processing notify event Feb 18 18:05:53 zen devd: Executing '/usr/local/etc/rc.d/webcamd start ugen0.6' Feb 18 18:05:53 zen devd: Popping table Feb 18 18:05:53 zen devd: Processing event '? at bus=3D0 hubaddr=3D1 port= =3D13 devaddr=3D6 interface=3D0 ugen=3Dugen0.6 vendor=3D0x0bda product=3D0x8153 devclass=3D0x00 devsubclass=3D0x00 devproto=3D0x00 sernum=3D"000001" release=3D0x3000 mode=3Dhost intclass=3D0xff intsubclass=3D0xff intprotocol= =3D0x00 on uhub0' Feb 18 18:05:53 zen devd: Pushing table Feb 18 18:05:53 zen devd: Processing nomatch event Feb 18 18:05:53 zen devd: Executing '/etc/rc.d/devmatch start '? at bus=3D0 hubaddr=3D1 port=3D13 devaddr=3D6 interface=3D0 ugen=3Dugen0.6 vend= or=3D0x0bda product=3D0x8153 devclass=3D0x00 devsubclass=3D0x00 devproto=3D0x00 sernum=3D"000001" release=3D0x3000 mode=3Dhost intclass=3D0xff intsubclass= =3D0xff intprotocol=3D0x00 on uhub0'' Feb 18 18:05:53 zen devd: Popping table 3. Insert USB-3 drive: Feb 18 18:09:38 zen devd: Processing event '!system=3DDEVFS subsystem=3DCDE= V type=3DCREATE cdev=3Dusb/0.6.0' Feb 18 18:09:38 zen devd: Pushing table Feb 18 18:09:38 zen devd: Processing notify event Feb 18 18:09:38 zen devd: Popping table Feb 18 18:09:38 zen devd: Processing event '!system=3DDEVFS subsystem=3DCDE= V type=3DCREATE cdev=3Dugen0.6' Feb 18 18:09:38 zen devd: Pushing table Feb 18 18:09:38 zen devd: Processing notify event Feb 18 18:09:38 zen devd: Popping table Feb 18 18:09:38 zen devd: Processing event '!system=3DDEVFS subsystem=3DCDE= V type=3DCREATE cdev=3Dusb/0.6.1' Feb 18 18:09:38 zen devd: Pushing table Feb 18 18:09:38 zen devd: Processing notify event Feb 18 18:09:38 zen devd: Popping table Feb 18 18:09:38 zen devd: Processing event '!system=3DDEVFS subsystem=3DCDE= V type=3DCREATE cdev=3Dusb/0.6.2' Feb 18 18:09:38 zen devd: Pushing table Feb 18 18:09:38 zen devd: Processing notify event Feb 18 18:09:38 zen devd: Popping table Feb 18 18:09:38 zen devd: Processing event '!system=3DDEVFS subsystem=3DCDE= V type=3DCREATE cdev=3Dusb/0.6.3' Feb 18 18:09:38 zen devd: Pushing table Feb 18 18:09:38 zen devd: Processing notify event Feb 18 18:09:38 zen devd: Popping table Feb 18 18:09:38 zen devd: Processing event '!system=3DDEVFS subsystem=3DCDE= V type=3DCREATE cdev=3Dusb/0.6.4' Feb 18 18:09:38 zen devd: Pushing table Feb 18 18:09:38 zen devd: Processing notify event Feb 18 18:09:38 zen devd: Popping table Feb 18 18:09:40 zen devd: Processing event '!system=3DUSB subsystem=3DDEVIC= E type=3DATTACH ugen=3Dugen0.6 cdev=3Dugen0.6 vendor=3D0x0bc2 product=3D0xab2= 4 devclass=3D0x00 devsubclass=3D0x00 sernum=3D"NA7W30KM" release=3D0x0100 mode=3Dhost port=3D13 parent=3Dugen0.1' Feb 18 18:09:40 zen devd: Pushing table Feb 18 18:09:40 zen devd: Processing notify event Feb 18 18:09:40 zen devd: Popping table Feb 18 18:09:40 zen devd: Processing event '!system=3DUSB subsystem=3DINTERFACE type=3DATTACH ugen=3Dugen0.6 cdev=3Dugen0.6 vendor=3D= 0x0bc2 product=3D0xab24 devclass=3D0x00 devsubclass=3D0x00 sernum=3D"NA7W30KM" release=3D0x0100 mode=3Dhost interface=3D0 endpoints=3D2 intclass=3D0x08 intsubclass=3D0x06 intprotocol=3D0x50' Feb 18 18:09:40 zen devd: Pushing table Feb 18 18:09:40 zen devd: Processing notify event Feb 18 18:09:40 zen devd: Popping table Feb 18 18:09:40 zen devd: Processing event '? at bus=3D0 hubaddr=3D1 port= =3D13 devaddr=3D6 interface=3D0 ugen=3Dugen0.6 vendor=3D0x0bc2 product=3D0xab24 devclass=3D0x00 devsubclass=3D0x00 devproto=3D0x00 sernum=3D"NA7W30KM" release=3D0x0100 mode=3Dhost intclass=3D0x08 intsubclass=3D0x06 intprotocol= =3D0x50 on uhub0' Feb 18 18:09:40 zen devd: Pushing table Feb 18 18:09:40 zen devd: Processing nomatch event Feb 18 18:09:40 zen devd: Executing '/etc/rc.d/devmatch start '? at bus=3D0 hubaddr=3D1 port=3D13 devaddr=3D6 interface=3D0 ugen=3Dugen0.6 vend= or=3D0x0bc2 product=3D0xab24 devclass=3D0x00 devsubclass=3D0x00 devproto=3D0x00 sernum=3D"NA7W30KM" release=3D0x0100 mode=3Dhost intclass=3D0x08 intsubclass=3D0x06 intprotocol=3D0x50 on uhub0'' Feb 18 18:09:40 zen devd: Popping table 4. Inserting the keyboard/mouse: Feb 18 18:11:04 zen devd: Processing event '!system=3DDEVFS subsystem=3DCDE= V type=3DCREATE cdev=3Dusb/0.5.0' Feb 18 18:11:04 zen devd: Pushing table Feb 18 18:11:04 zen devd: Processing notify event Feb 18 18:11:04 zen devd: Popping table Feb 18 18:11:04 zen devd: Processing event '!system=3DDEVFS subsystem=3DCDE= V type=3DCREATE cdev=3Dugen0.5' Feb 18 18:11:04 zen devd: Pushing table Feb 18 18:11:04 zen devd: Processing notify event Feb 18 18:11:04 zen devd: Popping table Feb 18 18:11:04 zen devd: Processing event '!system=3DDEVFS subsystem=3DCDE= V type=3DCREATE cdev=3Dusb/0.5.1' Feb 18 18:11:04 zen devd: Pushing table Feb 18 18:11:04 zen devd: Processing notify event Feb 18 18:11:04 zen devd: Popping table Feb 18 18:11:04 zen devd: Processing event '!system=3DDEVFS subsystem=3DCDE= V type=3DCREATE cdev=3Dusb/0.5.2' Feb 18 18:11:04 zen devd: Pushing table Feb 18 18:11:04 zen devd: Processing notify event Feb 18 18:11:04 zen devd: Popping table Feb 18 18:11:04 zen devd: Processing event '!system=3DUSB subsystem=3DDEVIC= E type=3DATTACH ugen=3Dugen0.5 cdev=3Dugen0.5 vendor=3D0x24ae product=3D0x200= 0 devclass=3D0x00 devsubclass=3D0x00 sernum=3D"" release=3D0x1001 mode=3Dhost= port=3D2 parent=3Dugen0.1' Feb 18 18:11:04 zen devd: Pushing table Feb 18 18:11:04 zen devd: Processing notify event Feb 18 18:11:04 zen devd: Popping table Feb 18 18:11:04 zen devd: Processing event '!system=3DUSB subsystem=3DINTERFACE type=3DATTACH ugen=3Dugen0.5 cdev=3Dugen0.5 vendor=3D= 0x24ae product=3D0x2000 devclass=3D0x00 devsubclass=3D0x00 sernum=3D"" release=3D0= x1001 mode=3Dhost interface=3D0 endpoints=3D1 intclass=3D0x03 intsubclass=3D0x01 intprotocol=3D0x01' Feb 18 18:11:04 zen devd: Pushing table Feb 18 18:11:04 zen devd: Processing notify event Feb 18 18:11:04 zen devd: Popping table Feb 18 18:11:04 zen devd: Processing event '!system=3DUSB subsystem=3DINTERFACE type=3DATTACH ugen=3Dugen0.5 cdev=3Dugen0.5 vendor=3D= 0x24ae product=3D0x2000 devclass=3D0x00 devsubclass=3D0x00 sernum=3D"" release=3D0= x1001 mode=3Dhost interface=3D1 endpoints=3D1 intclass=3D0x03 intsubclass=3D0x01 intprotocol=3D0x02' Feb 18 18:11:04 zen devd: Pushing table Feb 18 18:11:04 zen devd: Processing notify event Feb 18 18:11:04 zen devd: Popping table Feb 18 18:11:04 zen devd: Processing event '? at bus=3D0 hubaddr=3D1 port= =3D2 devaddr=3D5 interface=3D0 ugen=3Dugen0.5 vendor=3D0x24ae product=3D0x2000 devclass=3D0x00 devsubclass=3D0x00 devproto=3D0x00 sernum=3D"" release=3D0x= 1001 mode=3Dhost intclass=3D0x03 intsubclass=3D0x01 intprotocol=3D0x01 on uhub0' Feb 18 18:11:04 zen devd: Pushing table Feb 18 18:11:04 zen devd: Processing nomatch event Feb 18 18:11:04 zen devd: Executing '/etc/rc.d/devmatch start '? at bus=3D0 hubaddr=3D1 port=3D2 devaddr=3D5 interface=3D0 ugen=3Dugen0.5 vendo= r=3D0x24ae product=3D0x2000 devclass=3D0x00 devsubclass=3D0x00 devproto=3D0x00 sernum= =3D"" release=3D0x1001 mode=3Dhost intclass=3D0x03 intsubclass=3D0x01 intprotocol= =3D0x01 on uhub0'' Feb 18 18:11:04 zen devd: Popping table --=20