From owner-freebsd-stable@FreeBSD.ORG Sun Nov 26 16:07:43 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 74C3E16A415 for ; Sun, 26 Nov 2006 16:07:43 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 292C143D5E for ; Sun, 26 Nov 2006 16:06:46 +0000 (GMT) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.62) with esmtp (envelope-from ) id <1GoMXc-00012p-Ll>; Sun, 26 Nov 2006 17:07:40 +0100 Received: from e178043172.adsl.alicedsl.de ([85.178.43.172] helo=[192.168.1.128]) by inpost2.zedat.fu-berlin.de (Exim 4.62) with esmtpsa (envelope-from ) id <1GoMXc-0003xJ-Is>; Sun, 26 Nov 2006 17:07:40 +0100 Message-ID: <4569BBC7.9030302@mail.zedat.fu-berlin.de> Date: Sun, 26 Nov 2006 17:07:35 +0100 From: "O. Hartmann" User-Agent: Thunderbird 1.5.0.8 (X11/20061110) MIME-Version: 1.0 To: rsmith@xs4all.nl, FreeBSD Stable References: <45686A63.6030708@mail.zedat.fu-berlin.de> <20061125164008.GA5008@slackbox.xs4all.nl> In-Reply-To: <20061125164008.GA5008@slackbox.xs4all.nl> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.43.172 Cc: Subject: Re: Problems unmounting/fssyncking extern UFS filesystem 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: Sun, 26 Nov 2006 16:07:43 -0000 Roland Smith wrote: > On Sat, Nov 25, 2006 at 05:08:03PM +0100, O. Hartmann wrote: > >> A while ago since now I receive kernel messages like this in FreeBSD >> 6.2-PRE/AMD64: >> >> fsync: giving up on dirty >> 0xffffff000362c7c0: tag devfs, type VCHR >> usecount 1, writecount 0, refcount 325 mountedhere 0xffffff00504d8400 >> flags () >> v_object 0xffffff00013c80e0 ref 0 pages 1286 >> lock type devfs: EXCL (count 1) by thread 0xffffff0050287260 (pid >> 14109) >> dev ufs/BACKUP >> >> Filesystem is an external USB attached SATA HD, ohci() driven (due to >> ehci() is not working stable and properly on FreeBSD 6.2). >> > > The external USB harddisk I'm using works fine with ehci (VIA VT6202 USB > 2.0 controller) on 6.2-PRERELEASE amd64: > > Controller /dev/usb4: > addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), VIA(0x0000), rev 1.00 > port 1 powered > port 2 addr 2: high speed, power 100 mA, config 1, Mass Storage Device(0x3507), Prolific Technology Inc.(0x067b), rev 1.00 > My mainboard is a ASUS A8N32-SLI Deluxe and therfore the nForce400/16x SPP/MCP controller chipset and EHCI isn't working, crahsing the box sporadically. This happens with the mentioned external drive and with an USB stcik also. Crashing the box disappears when using only ohci. The above shown fsync problems occurs in both case, ohci() and ehci(). > >> Filesystem is mounted via amd() and there via the'script' option in >> amd() due to problems of the amd() mounting process recognizing UFS >> filesystems. After 30 seconds of inactivity the filesystems gets >> dismounted. This worked quite well in the past, but now I see this >> kernel error messages. >> > > The only problems I ever had wer with the firewire interface, not > USB. But I don't use amd, and I'm using GEOM_ELI encyption. > > If amd doesn't work well with ufs, would using glabel be a workaround? > > Roland > Maybe amd() dismounts to early ... Don't know. Maybe the magic 'sync;sync;sync' before dismounting will help, I'll try it. Sorry, I got this 'idea' right now, I may have bothered you all with possibly crap. Regards, Oliver