From nobody@FreeBSD.org Fri Mar 5 11:27:22 2004 Return-Path: Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D824516A4F2 for ; Fri, 5 Mar 2004 11:27:22 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1B4643D45 for ; Fri, 5 Mar 2004 11:27:22 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i25JRM72012349 for ; Fri, 5 Mar 2004 11:27:22 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id i25JRM90012348; Fri, 5 Mar 2004 11:27:22 -0800 (PST) (envelope-from nobody) Message-Id: <200403051927.i25JRM90012348@www.freebsd.org> Date: Fri, 5 Mar 2004 11:27:22 -0800 (PST) From: Quiet Maks To: freebsd-gnats-submit@FreeBSD.org Subject: boot loader waste a lot of time (10 min) while booting from hard disk X-Send-Pr-Version: www-2.3 >Number: 63815 >Category: i386 >Synopsis: boot loader waste a lot of time (10 min) while booting from hard disk >Confidential: no >Severity: non-critical >Priority: low >Responsible: remko >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 05 11:30:15 PST 2004 >Closed-Date: Mon Jul 30 10:22:48 GMT 2007 >Last-Modified: Mon Jul 30 10:22:48 GMT 2007 >Originator: Quiet Maks >Release: 5.2.1-RELEASE >Organization: >Environment: >Description: While booting from hard disk, after "FreeBSD/i386 bootstrap loader, Revision 1.1" starts, the loader hangs for a whiles until the kernel to be loaded. >How-To-Repeat: The reason is an attempt in i386/.../biosdisk.c to open hard disk each time when the file have to be read. If hard disk contains a recursive extended partition with wrong slice offset specification (prepared by another OS), the disk opening may cause the reading of a sector beyond hard disk limit. Such request is handled by BIOS for a some seconds, and been repeated multiple times, this situation dramatically delay a boot process. >Fix: Add a check of the requested sector to be in hard disk limit's inside the bd_read() function in the biosdisk.c, and do not perform BIOS read if the check fails. >Release-Note: >Audit-Trail: State-Changed-From-To: open->feedback State-Changed-By: remko State-Changed-When: Mon Sep 11 12:46:38 UTC 2006 State-Changed-Why: Hello, A lot had changed since your report, is the problem you experienced still there on FreeBSD-6.1 ? Thanks Responsible-Changed-From-To: freebsd-i386->remko Responsible-Changed-By: remko Responsible-Changed-When: Mon Sep 11 12:46:38 UTC 2006 Responsible-Changed-Why: grab the pr http://www.freebsd.org/cgi/query-pr.cgi?pr=63815 State-Changed-From-To: feedback->closed State-Changed-By: linimon State-Changed-When: Mon Jul 30 10:22:28 UTC 2007 State-Changed-Why: Feedback timeout (> 6 months). http://www.freebsd.org/cgi/query-pr.cgi?pr=63815 >Unformatted: