From owner-freebsd-stable@FreeBSD.ORG Sat Aug 27 04:51:04 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BAEA106566B for ; Sat, 27 Aug 2011 04:51:04 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 215708FC18 for ; Sat, 27 Aug 2011 04:51:03 +0000 (UTC) Received: by ywo32 with SMTP id 32so4107118ywo.13 for ; Fri, 26 Aug 2011 21:51:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=j0B7ulgdCWEoO5c2nBWNJrF1RkFTSr7xq7FW9ieHdoc=; b=sK8sVqrDDpNob6EEUbpwV8tD6lB/UZ3HaJQ/LexPYG1J8KDXoZaIQC6vNHsDM9PVVQ gJ3f/6bc/LKj/QavMzgsBoBmUmVZqXLX/i6wMyUIPV6HYGJl0PNk3uGxO4CaNntPapu1 Y7cAsJUn8C68qASK3CYbGkDo21676YzZDbsxg= MIME-Version: 1.0 Received: by 10.231.48.11 with SMTP id p11mr3982276ibf.57.1314420663209; Fri, 26 Aug 2011 21:51:03 -0700 (PDT) Received: by 10.231.149.204 with HTTP; Fri, 26 Aug 2011 21:51:02 -0700 (PDT) Date: Fri, 26 Aug 2011 21:51:02 -0700 Message-ID: From: Kevin Oberman To: "freebsd-stable@freebsd.org Stable" Content-Type: text/plain; charset=ISO-8859-1 Subject: Unable to shutdown X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Aug 2011 04:51:04 -0000 I've run into an odd problem with dismounting file systems on a Seagate Expansion portable USB drive. Running 8-stable on an amd64 system and with two FAT32 (msdosfs) file systems on the drive. The drive is "green" and spins down when idle. If an attempt is made to shutdown the system while the drive is spun down, the system goes through the usual shutdown including flushing all buffer out to disk, but when the final disk access to mark the file systems as clean, the drive never spins up and the system hangs until it is powered down. I've found no way to avoid this other then to remember to access the disk and cause it to spin up before shutting down. If I attempt to unmount the file systems when the drive is shut down. the same thing happens, but I can recover as the second file system is still mounted and an ls(1) to that file system will cause the disk to spin up and everything is fine. This looks like a bug, but I don't see why the unmounting of an msdosfs system does not spin up the drive. It's clearly hanging on some operation that is not spinning up the drive, but does block. Any ideas what is going on? Possible fix? -- R. Kevin Oberman, Network Engineer - Retired E-mail: kob6558@gmail.com