From owner-freebsd-bugs@FreeBSD.ORG Thu Jun 17 14:50:21 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3922816A4CE for ; Thu, 17 Jun 2004 14:50:21 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E71F43D53 for ; Thu, 17 Jun 2004 14:50:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i5HEoKmk007037 for ; Thu, 17 Jun 2004 14:50:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i5HEoKgD007036; Thu, 17 Jun 2004 14:50:20 GMT (envelope-from gnats) Resent-Date: Thu, 17 Jun 2004 14:50:20 GMT Resent-Message-Id: <200406171450.i5HEoKgD007036@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Richard Smith Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AA6F16A4CE for ; Thu, 17 Jun 2004 14:49:43 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E85643D1F for ; Thu, 17 Jun 2004 14:49:43 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i5HEnYVR008936 for ; Thu, 17 Jun 2004 14:49:34 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i5HEnYRd008935; Thu, 17 Jun 2004 14:49:34 GMT (envelope-from nobody) Message-Id: <200406171449.i5HEnYRd008935@www.freebsd.org> Date: Thu, 17 Jun 2004 14:49:34 GMT From: Richard Smith To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: misc/68047: unattended install of FreeBSD 5.2.1 does not umount disk properly X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 14:50:21 -0000 >Number: 68047 >Category: misc >Synopsis: unattended install of FreeBSD 5.2.1 does not umount disk properly >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 17 14:50:20 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Richard Smith >Release: 5.2.1 >Organization: >Environment: >Description: I'm trying to do an unattended install of FreeBSD 5.2.1. If I don't include the 'shutdown' command at the end of the install.cfg file, the install works fine, but I have to manually reboot the machine after the install, which is no good for an unattended install. If I do include 'shutdown', then it appears that the disk does not unmount properly before the reboot. The console displays "syncing disks, buffers remaining". Normally I would expect a few numbers to be printed, followed by a reboot a second later. This what happens if the reboot is performed manually from the sysinstall menu. But when the reboot is performed automatically, after "syncing disks" it says: "WARNING - WRITE_DMA interrupt was seen but timeout fired LBA" and then prints the same number (e.g. 161) over and over again for several lines. After about 5 seconds the system reboots, but the new installation has errors on the filesystem and requires me to manually run fsck. This is no good for an unattended installation. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: