From owner-cvs-all@FreeBSD.ORG Thu Feb 22 20:29:54 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2032C16A403; Thu, 22 Feb 2007 20:29:54 +0000 (UTC) (envelope-from kensmith@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 1310013C494; Thu, 22 Feb 2007 20:29:54 +0000 (UTC) (envelope-from kensmith@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l1MKTrGk079237; Thu, 22 Feb 2007 20:29:53 GMT (envelope-from kensmith@repoman.freebsd.org) Received: (from kensmith@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l1MKTrOX079236; Thu, 22 Feb 2007 20:29:53 GMT (envelope-from kensmith) Message-Id: <200702222029.l1MKTrOX079236@repoman.freebsd.org> From: Ken Smith Date: Thu, 22 Feb 2007 20:29:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/sysinstall cdrom.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2007 20:29:54 -0000 kensmith 2007-02-22 20:29:53 UTC FreeBSD src repository Modified files: usr.sbin/sysinstall cdrom.c Log: If floppies are used to boot the machine, the user lets the machine complete the boot and enter into sysinstall, and only then inserts a CD into the CDROM drive and tries to select that as the install media the first call to mount(2) generates EIO but the second call to mount(2) will succeed. This was 100% reproducible on 6.2-RELEASE, RELENG_6, and HEAD. If the user inserts the disc into the CDROM while the machine is booting off the floppies the first call to mount(2) succeeds with no problems. The problem was originally reported in PR #56952 against 5.1-CURRENT so it's been there for a while now. PR: bin/56952 MFC after: 2 weeks Revision Changes Path 1.55 +6 -1 src/usr.sbin/sysinstall/cdrom.c