From nobody Sat Jan 15 11:48:28 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 8630C1955AEB for ; Sat, 15 Jan 2022 11:48:29 +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 4Jbbz06vHcz4gjD for ; Sat, 15 Jan 2022 11:48:28 +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 ACF622668C for ; Sat, 15 Jan 2022 11:48:28 +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 20FBmSgu017759 for ; Sat, 15 Jan 2022 11:48:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20FBmSct017758 for standards@FreeBSD.org; Sat, 15 Jan 2022 11:48:28 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, 15 Jan 2022 11:48:28 +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=1642247309; 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=m1LywGFo9rajOUc7ei1f1VJPgx1Ns2rDiNZ2NqHfwrM=; b=VABQi5s7dCNAEBOPQ3ovpS09ZnU62BaEJV1cqB6/gBuTEGqDFx1Bd9jYwek05spGlXXkiQ JL2YBTFwZSm5ri4aQLCp8VEiaaOI2KRqhIZkjPcRzCB9rdzg0SpPOBEmWAsK/fHg5eo6Hh ygLs3MDKsSjnE01Is/5KlMn0Lbj9j96VHBpIDnmHg4E+9Rs1p7JIsZsDLgG+tnq080C5Nw dlcT+JHMd8HOoukI/wSZhZdrkuJbJTNMgtGDahduHOQLzWYsZxfsVSx8/1InwrW4TpiYtu F5NIB85SoedRjrO8Qb0TKN3Oujr8yuxvY9yjXJMf2G2PmVqYsUwbey7xZfSBJA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642247309; a=rsa-sha256; cv=none; b=Oad3HdKPd6R4J/cFnM5sTeyVbUnddzHyWNVFXUbNRCCohsXNwZZ7SOSzGl2L88cBuBLNK+ nf01CKuTJCbvCg7HI2YhS1MTxbg/HBHalh7QP2z3Wp1OdyTTrZlr4UU60fq3fmxGDCDPc/ T7/Yu9dU6yRb7eFlghtS88EZtDOzA0gPMwXZETZzslJj602evxGvft0U643/T0HvBvw+Mp 1FVBEF296ry+VOHHvnsdTzzH0J6Nyccz/OFyWVbpY2MdoZB4nc8jbQRSGoMvGzw130w1r2 LohdLPBnXG68orLo2kuu8vvXe/JjEWFuKRuhZgAVsU21195wSzBQZwLVZtxheg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255072 --- Comment #28 from spell@itl.ua --- (In reply to Toomas Soome from comment #25) > It would be good to get the sector number and size for last read, however. They differ because the crash occurs in different moments. Two last crashes have occured on sector numbers (dblk variable) 1953 and 2001640. Read size in both cases is 4096. > bio_size =3D min(BIO_BUFFER_SIZE, size); > use 512 for BIO_BUFFER_SIZE. Thank you for the hint, this has led me to discover that the buffer ptr does matter somehow. I've replaced BIO_BUFFER_SIZE with V86_IO_BUFFER_SIZE, commented out bio_alloc() and bio_free() calls and used dumb "bbuf =3D bio_buffer;" inste= ad (since no any LIFO queue on bio_alloc()/bio_free() presents here). Such loader still crashes as usual, but when I just replace "bbuf =3D bio_buffer;" with "bbuf =3D PTOV(V86_IO_BUFFER);" the crash does not occur. Please suggest what to do next. --=20 You are receiving this mail because: You are the assignee for the bug.=