From nobody Fri Apr 19 08:44:00 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 78.46.105.101 is neither permitted nor denied by domain of seabios.org) client-ip=78.46.105.101; envelope-from=seabios-bounces@seabios.org; helo=coreboot.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 78.46.105.101 is neither permitted nor denied by domain of seabios.org) smtp.mailfrom=seabios-bounces@seabios.org ARC-Seal: i=1; a=rsa-sha256; t=1589821553; cv=none; d=zohomail.com; s=zohoarc; b=YrhXRqTCggQ8uy0fGRjPBp+pBxsWRnxoFroZkSk4lrrQJpxI8NMR3ivSfYoOt9zn9jwbDEsLaBLHfmKdxzuUbd2TEf13dlqxkzhNkUJKtSrF8zddTycvhKs09ciuVXQR1xqK6s8W8j7Pq5JAFH0XO3mPztUEZL7nno456EZRZx0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1589821553; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Subject:To; bh=b1yF0BSemMtB3Fit6JOutKSZyq5cfV0umvJ9ekI9wCk=; b=FbVH+ipyJVaqztk7Rz/QlDmo7txTrZCAlSz2sEbXF97OS0VQ1SaOBDtiF3suI+3Y2GWF+6jhMNLt2PD/FoLv1A1tU3ZtlNZx72YhDgrLbqBnaR60fK0JoKiHTvdT46EMDra0tB/pfh03QTcb5dWreM0YHQa7XrnxohFLSmFXE8g= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=none (zohomail.com: 78.46.105.101 is neither permitted nor denied by domain of seabios.org) smtp.mailfrom=seabios-bounces@seabios.org Return-Path: Received: from coreboot.org (coreboot.org [78.46.105.101]) by mx.zohomail.com with SMTPS id 1589821552982227.99878891328865; Mon, 18 May 2020 10:05:52 -0700 (PDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTPA id 9703610C1B99; Mon, 18 May 2020 17:05:47 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTP id EC4B310C1B95 for ; Mon, 18 May 2020 17:05:29 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 76E9B2002EE29; Mon, 18 May 2020 18:58:19 +0200 (CEST) From: Paul Menzel To: seabios@seabios.org Date: Mon, 18 May 2020 18:58:04 +0200 Message-Id: <20200518165804.31743-1-pmenzel@molgen.mpg.de> MIME-Version: 1.0 Message-ID-Hash: QKYQ4WEXHSSCVH7A55I4CJXFLXCGT7LJ X-Message-ID-Hash: QKYQ4WEXHSSCVH7A55I4CJXFLXCGT7LJ X-MailFrom: pmenzel@molgen.mpg.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-seabios.seabios.org-0; header-match-seabios.seabios.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Paul Menzel X-Mailman-Version: 3.3.1 Precedence: list Subject: [SeaBIOS] [PATCH] cdrom: Demote `scsi_is_ready` return print to debug level List-Id: SeaBIOS mailing list Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ++++ X-Spam-Level: **** Authentication-Results: coreboot.org; auth=pass smtp.auth=mailman@coreboot.org smtp.mailfrom=seabios-bounces@seabios.org Content-Type: text/plain; charset="utf-8" Printing the return value of `scsi_is_ready()` is a debug message, so change the log level from 1 to 5. Booting from DVD/CD... Device reports MEDIUM NOT PRESENT scsi_is_ready returned -1 Boot failed: Could not read from CDROM (code 0003) Signed-off-by: Paul Menzel Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- src/cdrom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cdrom.c b/src/cdrom.c index 577d69d..a77671a 100644 --- a/src/cdrom.c +++ b/src/cdrom.c @@ -142,7 +142,7 @@ cdrom_boot(struct drive_s *drive) =20 int ret =3D scsi_is_ready(&dop); if (ret) - dprintf(1, "scsi_is_ready returned %d\n", ret); + dprintf(5, "scsi_is_ready returned %d\n", ret); =20 // Read the Boot Record Volume Descriptor u8 buffer[CDROM_SECTOR_SIZE]; --=20 2.26.2 _______________________________________________ SeaBIOS mailing list -- seabios@seabios.org To unsubscribe send an email to seabios-leave@seabios.org