From nobody Sat Jan 08 14:22:05 2022 X-Original-To: standards@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 85A091935834 for ; Sat, 8 Jan 2022 14:22:05 +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 4JWMjT2hZgz4Thy for ; Sat, 8 Jan 2022 14:22:05 +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 3DEC9203B0 for ; Sat, 8 Jan 2022 14:22:05 +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 208EM533066513 for ; Sat, 8 Jan 2022 14:22:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 208EM51l066511 for standards@FreeBSD.org; Sat, 8 Jan 2022 14:22:05 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: standards@FreeBSD.org Subject: [Bug 255072] boot (legacy): no progress beyond 'BIOS DRIVE D: is disk1' Date: Sat, 08 Jan 2022 14:22:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: spell@itl.ua X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Standards compliance List-Archive: https://lists.freebsd.org/archives/freebsd-standards List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-standards@freebsd.org X-BeenThere: freebsd-standards@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641651725; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kqSCJtWiT2QRCsUMFhe+eXTgEPYsPNk+wD91VWbjboc=; b=hUa8Pp/ESdX9FKhuSFbtSlIf6M/5V+vTXwvDtwZ1pYl/Ed+N/fajFSfEZxjhXAxfwJootQ StoB6xX7nRpNOUoS81T5+gzP3+un7tnAz972Kldy+4kpSNHjol1QGNohDRdOQuXSdl9boa ztLYarvCAnr/zG8rJebXXcR8FyRyUSqlo9CgL0BgPRj+ZYa+978ABQjHegqZJAqwMkWczS DbFqKfaxBg5vQhY7k9os3SESrJwyYd1gaMARPgjMM3eiS5GjOsonMUDmMziUwpkBFfBTbL CoH28tb++5scEUTVdzLJZTLpngckjRWuyvXeWdZ0WQpDCfheeaMC3FW5LDomRg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641651725; a=rsa-sha256; cv=none; b=sIpzqrk0iE0fUjOY0q2M9AdMYTxaUI1a2tLDgXhnbN2BEydTIYEJvaZrqPxJLD4dfCemmJ 1z1N3LdFDK3Cq6ZJ9QjP0xS1xsHLtmQ8nNKux8MvxmuOyyz6HQsIAan7xxUJydSgRsjhrW A6IbVKPlLMrEDfV/Pv/4P+y2Mw0UIXYKb+gKdOAf9MK8KnjuTW1qUjDhUy3FMBX/HodZT4 vVUHzVaq1F6pXMS46XAM8ST2EUj7Q7XtArAIMNx10grK9QTB3OSax61R8DiDnkJtBi39W3 +WwdeGNqFh++RP6oFGPROsZhfzS8M97oezebT8mXuuYrQG+4N3J+0IgIJxBYrA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255072 --- Comment #24 from spell@itl.ua --- (In reply to Toomas Soome from comment #23) gpart show /dev/da0 =3D> 1 2002941 da0 MBR (978M) 1 1600 1 efi (800K) 1601 803216 2 freebsd [active] (392M) 804817 1198125 - free - (585M) This is 12.3-RELEASE-amd64 image. disk_ioctl() returns the same 2002941 sectors and sector size 512. According to my printf() info, probing disks appears ok. The crash occurs on zfs probing stage, in the last iteration of the cycle: for (i =3D 0; devsw[i] !=3D NULL; i++) in loader's main.c, when i is 5 and devsw[i]->dv_name is zfs. This is my printout with printf()'s in this cycle: BTX loader 1.00 BTX version is 1.02 Consoles: internal video/keyboard main.c: dv_name: fd dv_type=3D5 main.c: dv_name: cd dv_type=3D3 main.c: dv_name: disk dv_type=3D1 BIOS drive C: is disk0 BIOS drive D: is disk1 main.c: dv_name: net dv_type=3D2 main.c: dv_name: vdisk dv_type=3D1 main.c: dv_name: zfs dv_type=3D4 Zfs probing firstly probes HDD and here always is ok, and then probes Flash drive and crashes on it (if AHCI mode set). >Possible way to test this guess would be to read 1 sector at a time. How to do this? --=20 You are receiving this mail because: You are the assignee for the bug.=