From owner-freebsd-hackers@freebsd.org Thu Aug 30 22:18:34 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 3925EEFA4E4 for ; Thu, 30 Aug 2018 22:18:34 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CA0CF74E22 for ; Thu, 30 Aug 2018 22:18:33 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: by mail-qk1-x72b.google.com with SMTP id d131-v6so237625qke.11 for ; Thu, 30 Aug 2018 15:18:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=longcount-org.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=XofbZbJlvLHGHbQKZJLd2Gc8EY3S4Cw6EAUYSexB1hY=; b=sXRTs+NKENiKypZ3lbiUsdD3v2SEdxa5g3x+qyftNmNrCnI1W/SrPgls6uj77/iT3p raiiPeQrT6gUjNjHFU3qQHuD/xA+0n2Wn783hxHPhOyk4LHy9KyPPO2syKJaR1jA/aD7 SwIqQ3TtTxjIiFKG0s/XMcDhuNK1TKsnt7CzlJWCXehKBR3O7VMqovMNqREa+IRKLwgC 7f3dpg9OtGNJKgin1QvfEUd1VgwTXRSZLs85dZeOYwsYovm56hfmIbPparhLeSWEAhOl 9yMFwJid8wxNCSpjLRmFIykzqf475UKzd7vBXBGiYfXamFWZ/cjVtwODGJc2NOuRlriR Gzgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=XofbZbJlvLHGHbQKZJLd2Gc8EY3S4Cw6EAUYSexB1hY=; b=kKpJFUlVoxadVecq3QY8olbTbigeVeOVZje49mfnj/QbwXYr9i/WnTNQwOaSN5kmhE kNJPF6+RopYBk+nGaoeYNBE9vZcawo0yN9E7yo/6YNjzfn0zSoCVGOn4Wma28wmwhKQw kceLrgHDNm+WO79uXxyso4w9KuqiQw8RQ1VBv94Ku6Z5PZG7qs3pznZ866YTTospg4U8 oZ4lvVpQOLI3z84CWV03XdMRFcmung6R9flX+UdYKugSGohhEIEODlKbHlCrLGttLVy7 QgZkPeA3RvsluZI61nYcO0JEVb1CPFZGd6svfBb9Zkja/oRn1eBEjXxIIxiTqTJ9kPLr /wjg== X-Gm-Message-State: APzg51DEFwwTNUcG42YP4Q/MEJN26mWikBEsBBs/LTFFKPZVhQO0NdhV 3fdc8KjElKmmQlE4zNrb3fQwjJXK5PU= X-Google-Smtp-Source: ANB0VdZ3AnrH1ErVQ+Pev77rBAyyOFz8MrTicHQpIsERolGEkHujFERnXSNnrv9b9fuL0oADqEsTZg== X-Received: by 2002:a37:8b02:: with SMTP id n2-v6mr13261044qkd.157.1535667513231; Thu, 30 Aug 2018 15:18:33 -0700 (PDT) Received: from ?IPv6:2600:1017:b814:2174:a1d4:4a3e:7fbd:ae15? ([2600:1017:b814:2174:a1d4:4a3e:7fbd:ae15]) by smtp.gmail.com with ESMTPSA id n24-v6sm5285848qtf.0.2018.08.30.15.18.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Aug 2018 15:18:32 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: Is it possible to disable da0? From: Mark Saad X-Mailer: iPhone Mail (15G77) In-Reply-To: <87cc687a-29f0-08d0-91a7-ff82c09f4938@freebsd.org> Date: Thu, 30 Aug 2018 18:18:30 -0400 Cc: FreeBSD Hackers Content-Transfer-Encoding: quoted-printable Message-Id: <818DD503-10CA-472F-A437-A1BB6A26CFBE@longcount.org> References: <87cc687a-29f0-08d0-91a7-ff82c09f4938@freebsd.org> To: Craig Leres 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 22:18:34 -0000 Craig If the kernel hint may not work due to no media . You can try three other o= ptions . Tweak devd to stop checking the device . It=E2=80=99s doable but I c= an=E2=80=99t recall the details . Set a hint to stop loading the device that= the mmc / sd card reader hangs off . Check pciconf to pin down its address .= There are examples how to do this in the dpdk docs , they show how to do th= is in the case of a nic . It should apply to all devices. Lastly most vendor= s support turning the device off in bios or Uefi . =20 --- Mark Saad | nonesuch@longcount.org > On Aug 29, 2018, at 8:07 PM, Craig Leres wrote: >=20 > I have a couple of foxconn netboxes that have SD slots that the system con= figures as da0. Starting with FreeBSD 11 we see a wad of syslog messages fro= m devd every few seconds: >=20 > Aug 29 16:57:39 xxx.lbl.gov devd: Processing event '!system=3DCAM subsy= stem=3Dperiph type=3Derror device=3Dda0 serial=3D"20090516388200000" cam_sta= tus=3D"0xcc" scsi_status=3D2 scsi_sense=3D"70 02 3a 00" CDB=3D"00 00 00 00 0= 0 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 >=20 > This is apparently because the slot doesn't not contain media. We don't us= e SD cards with these systems so I tried adding: >=20 > hint.da.0.disabled=3D"1" >=20 > to /boot/device.hints but /dev/da0 is still present after a reboot. Where a= m I going wrong? >=20 > Craig > % uname -a > FreeBSD xxx.lbl.gov 11.2-RELEASE-p2 FreeBSD 11.2-RELEASE-p2 #2 r10: Wed Au= g 15 09:23:29 PDT 2018 leres@steel.lbl.gov:/usr/src/sys/amd64/compile/LBLNET= amd64 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"=