From owner-freebsd-hackers@freebsd.org Thu Aug 30 00:07:24 2018 Return-Path: Delivered-To: freebsd-hackers@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 D5E74108A23E for ; Thu, 30 Aug 2018 00:07:24 +0000 (UTC) (envelope-from leres@freebsd.org) Received: from xse.com (xse.com [IPv6:2607:f2f8:abb8::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "xse.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5A9AA884FA for ; Thu, 30 Aug 2018 00:07:24 +0000 (UTC) (envelope-from leres@freebsd.org) Received-SPF: pass (dot.xse.com: authenticated connection) receiver=dot.xse.com; client-ip=2001:558:6045:10:9084:9e0:4b6d:eb99; helo=ice.alameda.xse.com; envelope-from=leres@freebsd.org; x-software=spfmilter 2.001 http://www.acme.com/software/spfmilter/ with libspf2-1.2.10; Received: from ice.alameda.xse.com (ice.xse.com [IPv6:2001:558:6045:10:9084:9e0:4b6d:eb99]) (authenticated bits=0) by dot.xse.com (8.15.2/8.15.2) with ESMTPSA id w7U07M3D096439 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 29 Aug 2018 17:07:22 -0700 (PDT) (envelope-from leres@freebsd.org) X-Authentication-Warning: dot.xse.com: Host ice.xse.com [IPv6:2001:558:6045:10:9084:9e0:4b6d:eb99] claimed to be ice.alameda.xse.com To: FreeBSD Hackers From: Craig Leres Subject: Is it possible to disable da0? Message-ID: <87cc687a-29f0-08d0-91a7-ff82c09f4938@freebsd.org> Date: Wed, 29 Aug 2018 17:07:22 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.100.1 at dot.xse.com X-Virus-Status: Clean X-GBUdb-Analysis: Unknown X-MessageSniffer-Rules: 0-0-0-2875-c X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2018 00:07:25 -0000 I have a couple of foxconn netboxes that have SD slots that the system configures as da0. Starting with FreeBSD 11 we see a wad of syslog messages from devd every few seconds: Aug 29 16:57:39 xxx.lbl.gov devd: Processing event '!system=CAM subsystem=periph type=error device=da0 serial="20090516388200000" cam_status="0xcc" scsi_status=2 scsi_sense="70 02 3a 00" CDB="00 00 00 00 00 00 " ' Aug 29 16:57:39 xxx.lbl.gov devd: Pushing table Aug 29 16:57:39 xxx.lbl.gov devd: Processing notify event Aug 29 16:57:39 xxx.lbl.gov devd: Popping table This is apparently because the slot doesn't not contain media. We don't use SD cards with these systems so I tried adding: hint.da.0.disabled="1" to /boot/device.hints but /dev/da0 is still present after a reboot. Where am I going wrong? Craig % uname -a FreeBSD xxx.lbl.gov 11.2-RELEASE-p2 FreeBSD 11.2-RELEASE-p2 #2 r10: Wed Aug 15 09:23:29 PDT 2018 leres@steel.lbl.gov:/usr/src/sys/amd64/compile/LBLNET amd64