From owner-freebsd-questions@FreeBSD.ORG Sat Oct 29 23:34:14 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33DB216A41F for ; Sat, 29 Oct 2005 23:34:14 +0000 (GMT) (envelope-from h.nieser@xs4all.nl) Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F58443D48 for ; Sat, 29 Oct 2005 23:34:13 +0000 (GMT) (envelope-from h.nieser@xs4all.nl) Received: from [192.168.1.10] (nieser.net [194.109.160.131]) by smtp-vbr4.xs4all.nl (8.13.3/8.13.3) with ESMTP id j9TNYBRM057563 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 30 Oct 2005 01:34:12 +0200 (CEST) (envelope-from h.nieser@xs4all.nl) Message-ID: <436406F3.4060603@xs4all.nl> Date: Sun, 30 Oct 2005 01:34:11 +0200 From: Hans Nieser User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051029) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Unable to perform clean shutdown. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Oct 2005 23:34:14 -0000 Hi list, I am experimenting with using FreeBSD as a desktop OS (with Xorg and GNOME), and because I still need to keep Windows around for certain applications, I have decided to create 3 partitions (or slices in the BSD world). One NTFS, for Windows (ad8s1, 40GiB), one for FreeBSD (ad8s2, 20GiB) and one Ext2 partition to share data between the two OSs (ad8s3, taking up the rest of the disk). The disk itself is a S-ATA disk, and identified during boot-up as: > ad8: 190782MB [387621/16/63] at ata4-master UDMA33 I chose Ext2 as it would allow me to still use UNIX permissions under FreeBSD, and could be read from and written to in Windows using a third-party driver. Because neither FreeBSD nor the Ext2 driver in Windows support Ext3 journalling I figured there was no point in using that. My problem is, and I believe it started after I created the Ext2 partition, that my system is not able to perform a clean shutdown anymore. When I do a "shutdown -p now" or "reboot" it will sync the disks but then says "Giving up on 8 buffers." right before it turns off, is that normal? When FreeBSD boots the next time it will complain and tells me "WARNING: / was not properly dismounted.", it does this for all the FreeBSD partitions (/var, /tmp, /usr). It also appears that the fsck for Ext2 (which I had to install from ports and then manually copy the e2fsck and fsck_ext2fs binaries from /usr/local/sbin to /sbin) also has some issues, as it outputs the following during boot-up: > fsck_ext2fs: unknown option -F Dispite that, the next thing happens is a forced fsck of the Ext2 partition (which takes a while). Then eventually FreeBSD boots and GDM starts and all seems to be in working order. This is what my /etc/fstab looks like: > # Device Mountpoint FStype Options Dump Pass# > /dev/ad8s2b none swap sw 0 0 > /dev/ad8s2a / ufs rw 1 1 > /dev/ad8s2e /tmp ufs rw 2 2 > /dev/ad8s2f /usr ufs rw 2 2 > /dev/ad8s2d /var ufs rw 2 2 > > /dev/acd0 /mnt/cdrom cd9660 ro,noauto,noexec 0 0 > /dev/ad8s1 /mnt/windows ntfs ro,noexec 0 0 > /dev/ad8s3 /mnt/shared ext2fs rw 0 2 Does anyone know what causes my system not to be able to perform a clean shutdown anymore? and, does anyone know what the deal with fsck_ext2fs being called with a non-existent -F options is?