From nobody Sat Jul 24 17:55:46 2021 X-Original-To: bugs@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 8D51012BECAB for ; Sat, 24 Jul 2021 17:55:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GXDPZ3YP7z4jbs for ; Sat, 24 Jul 2021 17:55:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5D98715011 for ; Sat, 24 Jul 2021 17:55:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 16OHtk1D054585 for ; Sat, 24 Jul 2021 17:55:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16OHtkQl054584 for bugs@FreeBSD.org; Sat, 24 Jul 2021 17:55:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 257389] MMCCAM : aliases are not correctly created for eMMC Date: Sat, 24 Jul 2021 17:55:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: manu@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257389 Bug ID: 257389 Summary: MMCCAM : aliases are not correctly created for eMMC Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: manu@freebsd.org In a MMCCAM enabled kernel we make some "mmcsd" aliases so we are backward compatible with non-MMCCAM kernel. This seems to fail for eMMC. Logs : (pass0:sdhci_slot0:0:0:0): XPT info: CLK 399193, ... (sdda0:sdhci_slot0:0:0:0): Periph created (sdda0:sdhci_slot0:0:0:0): Capacity: 62537072640, sectors: 122142720 (sdda0:sdhci_slot0:0:0:0): Set SD freq to 52 MHz (min out of host f=3D198 M= Hz and card f=3D52 MHz) sdhci_fdt0-slot0: Divider 2 for freq 49500000 (base 198000000) (sdda0:sdhci_slot0:0:0:0): Set bus width to 8-bit (min of host 8-bit and ca= rd 8-bit) (sdda0:sdhci_slot0:0:0:0): Partition type 'default', size 62537072640=20 (sdda0:sdhci_slot0:0:0:0): Partition type 'boot0', size 4194304=20 GEOM: new disk sdda0 (sdda0:sdhci_slot0:0:0:0): Partition type 'boot1', size 4194304=20 (sdda0:sdhci_slot0:0:0:0): Partition type 'RPMB', size 4194304=20 (sdda0:sdhci_slot0:0:0:0): Don't know what to do with RPMB partitions yet sdda0 at sdhci_slot0 bus 0 scbus0 target 0 lun 0 sdda0: Relative addr: 00000002 Card features: Card memory OCR: 40ff8080 sdda0: Serial Number 1A61E8CB (sdda0:sdhci_slot0:0:0:0): XPT info: CLK 49500000, ... sdda0: MMCHC DF4064 0.1 SN 1A61E8CB MFG 08/2001 by 69 0x0000 GEOM: new disk sdda0boot0 GEOM: new disk sdda0boot1 (sdda0:sdhci_slot0:0:0:0): Partition 0 -> 1 g_dev_taste: make_dev_alias_p() failed (name=3Dmmcsd0, error=3D17) (sdda0:sdhci_slot0:0:0:0): Partition 1 -> 2 (sdda0:sdhci_slot0:0:0:0): Partition 2 -> 0 This might be related to boot partitions but needs to be checked more. --=20 You are receiving this mail because: You are the assignee for the bug.=