From nobody Mon Jul 21 04:52:40 2025 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4blp1R5vDMz627N8 for ; Mon, 21 Jul 2025 04:52:59 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4blp1P39lMz3S0c for ; Mon, 21 Jul 2025 04:52:57 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20230601.gappssmtp.com header.s=20230601 header.b=Tb1aLzmw; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::1036) smtp.mailfrom=wlosh@bsdimp.com; dmarc=none Received: by mail-pj1-x1036.google.com with SMTP id 98e67ed59e1d1-3122368d7cfso2867013a91.1 for ; Sun, 20 Jul 2025 21:52:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1753073571; x=1753678371; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=YDuqBaN4ln9XudFMwBGqgPDyVsr55AIrBhrAroXQgC8=; b=Tb1aLzmwQqXwjEljxgP43JAf/d3dXy4d/Ohww/id0Qw9w3KRjRVA1yPtosA830fGvz qsbANZMSGL5HfiH5iXaB4Y9HBZyM/Ul+z2HX1mZvPW3mQP7W/srAzr6OHWCG7LFAXVIm VhCjrpUBjrk2Dqi1wvWziIE669lNO4vpiWBcRWCIrRSBzYlgYlVvvqkpA46jXEGFButy Y0prhV/JAbrAH6krU28b2cA1FdK+QvXxWF3LFjxg1ujOw9m6jUvFr3wykblT5Rs6ODuZ 1fscQ9YmfgfygKi/dXa1UNZfDKsmrXLAt5XDFVNzYmY4a+uS8BGUcmku1CceIn4QBv7d f8zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753073571; x=1753678371; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YDuqBaN4ln9XudFMwBGqgPDyVsr55AIrBhrAroXQgC8=; b=QFPcBozR+Ilw2Wbn5z45yCecUPjHl5W87s1Iuya8wBQbdiBQoRNe2xFar2Uav9N11t smwTlgdEEXrBsl9NmDj3VIAtx+fsVkR+0mtqOyJcwjgTiN8ZPtzxI77O3WOOMZTyuqIN tzrnoJq2R3nWIoySi/AqoD2ALzIC2VokyF4jlenEDfGWSziGwaRf94cKT2An9xwz24E+ LAw8W6Uo9YdG5WZzPSk9cMqmOUh233HllQoGrGFuMjDCq+7/VAeazD368c5VHRml2euq 5BdpZN9Mg2yUzdPWgK/+JNlPATHDPaAsPXttG7UyVXmfGo5bGcUrINwGe3G5EeaZBQGr Urgg== X-Gm-Message-State: AOJu0YwiFlHYm7LpXBi451I0zrPKUbkt+KBclgk9/BxNGu5N7oBJ74lW oERcytuRLZYbEGZO2HNQecLDyeALv27+rSSyQoyGikmY0pJQSLKdoaEoNaLd7cicyRP9DrjXof4 W3iB6jgbgwmB/gR1n4VL/dGJLW6HyDBg4lSRGeuNpAHo6OsMqpehHeSU= X-Gm-Gg: ASbGncteM7y/JYYITZBJ+8/Cen01MEgIJNKpYJoV5gEmdk2SOOhIB+sUMuboUbkQO86 6Y2bR7cY5ggl59nEMG5MN+4Wo+YhjCqUAtJL5K410DrfOjRFYYry1UBJDQrMfyEx3pIi85sHhKX FO2YT1B6uCIX5IBXE29QSqnBsZUTtZuxdHspBPH9/L2B7EeaAgLjCNDSVBgemDHdaiFbxd+s6qF FQNuI9EkAgmkXSjO50SnWQudpkv0s+Q+/Rhww== X-Google-Smtp-Source: AGHT+IFpwB4KxZ0+lhNJR7pcVCyIMDOjH/nGamixeDDJfZEA9KGVBDdBxxVglqaLIc22pgLVawUakT2HJAtLXyCxKzw= X-Received: by 2002:a17:90b:2d4d:b0:311:c1ec:7cfd with SMTP id 98e67ed59e1d1-31cc25e7a85mr16288048a91.26.1753073570980; Sun, 20 Jul 2025 21:52:50 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <602976q7-s2r2-o8n4-8s59-93pqq4ro3433@yvfgf.mnoonqbm.arg> In-Reply-To: From: Warner Losh Date: Sun, 20 Jul 2025 22:52:40 -0600 X-Gm-Features: Ac12FXwztAhjSQzhg3jva81eChOdHxy_QyH-7L5xygKMDR0j0jAErKgYVv3YGL4 Message-ID: Subject: Re: mmccam -> no more cards/sdio but "mmcprobe" To: "Bjoern A. Zeeb" Cc: FreeBSD Current Content-Type: multipart/alternative; boundary="00000000000076bb04063a693fef" X-Spamd-Result: default: False [-2.25 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.996]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; NEURAL_HAM_SHORT(-0.25)[-0.251]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; MISSING_XM_UA(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[current@freebsd.org]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1036:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; DKIM_TRACE(0.00)[bsdimp-com.20230601.gappssmtp.com:+] X-Rspamd-Queue-Id: 4blp1P39lMz3S0c X-Spamd-Bar: -- --00000000000076bb04063a693fef Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Jul 20, 2025, 7:20=E2=80=AFPM Warner Losh wrote: > > > On Sun, Jul 20, 2025, 5:24=E2=80=AFPM Warner Losh wrote: > >> >> >> On Sun, Jul 20, 2025, 5:19=E2=80=AFPM Bjoern A. Zeeb < >> bzeeb-lists@lists.zabbadoz.net> wrote: >> >>> Hi, >>> >>> I've updated one of my trees to main after a longer while and I am >>> confused that I no longer see and SD card or SDIO (this is netbooted): >>> >>> # sysctl kern.features.mmccam >>> kern.features.mmccam: 1 >>> >>> # camcontrol devlist -v >>> scbus0 on dw_mmc_sim0 bus 0: >>> <> at scbus0 target 0 lun 0 (mmcprobe0) >>> scbus1 on dw_mmc_sim1 bus 0: >>> <> at scbus1 target 0 lun 0 (mmcprobe1) >>> scbus-1 on xpt0 bus 0: >>> <> at scbus-1 target -1 lun ffffffff >>> (xpt0) >>> >>> Where to start looking? >>> >> >> So those probes are put there to evaluate devices that were found. If >> they remain, then that never finished. Most likely never started. >> >> What hardware is this on? >> > > Thanks for the debug... > > As luck would have it, I just installed on emmc system (x86). I'm buildin= g > mmccam kernel now. > I can confirm this result. When was your last update? There was also sleeping on a non-sleepable lock witness warning... Warner > --00000000000076bb04063a693fef Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sun, Jul 20, 2025, 7:= 20=E2=80=AFPM Warner Losh <imp@bsdimp.= com> wrote:


On Sun, Jul 20, 2025, 5:24=E2=80=AFPM Warner Losh <imp@bsdimp.= com> wrote:


On Sun, Jul 20, 2025, 5:19=E2=80=AFPM Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net> wrote:
Hi,

I've updated one of my trees to main after a longer while and I am
confused that I no longer see and SD card or SDIO (this is netbooted):

# sysctl kern.features.mmccam
kern.features.mmccam: 1

# camcontrol devlist -v
scbus0 on dw_mmc_sim0 bus 0:
<>=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=A0at scbus0 target 0 lun = 0 (mmcprobe0)
scbus1 on dw_mmc_sim1 bus 0:
<>=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=A0at scbus1 target 0 lun = 0 (mmcprobe1)
scbus-1 on xpt0 bus 0:
<>=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=A0at scbus-1 target -1 lu= n ffffffff (xpt0)

Where to start looking?

<= /div>
So those probes are put there to evaluate devices th= at were found. If they remain, then that never finished. Most likely never = started.

What hardware i= s this on?

Thanks for the debug...

As luck would have it, I just installed on emmc system (x86). I= 'm building mmccam kernel now.

I can confirm this result. When was y= our last update? There was also sleeping on a non-sleepable lock witness wa= rning...

Warner
--00000000000076bb04063a693fef--