From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 15 00:40:13 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 64EDB16A400; Sun, 15 Apr 2007 00:40:13 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by mx1.freebsd.org (Postfix) with ESMTP id 437F613C45A; Sun, 15 Apr 2007 00:40:13 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7] (may be forged)) by mxout2.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l3F0eC8q022013 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 14 Apr 2007 17:40:12 -0700 X-Auth-Received: from [192.168.10.45] (c-24-7-142-221.hsd1.ca.comcast.net [24.7.142.221]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l3F0eCY1024755 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 14 Apr 2007 17:40:12 -0700 Message-ID: <46217486.6080801@u.washington.edu> Date: Sat, 14 Apr 2007 17:40:38 -0700 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Alejandro Pulver References: <20070414184719.110deaa2@deimos.mars.bsd> In-Reply-To: <20070414184719.110deaa2@deimos.mars.bsd> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.4.14.173033 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: freebsd-hackers@freebsd.org Subject: Re: High disk load +mount/atacontrol/NFS/SMBFS crashes the system X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2007 00:40:13 -0000 Alejandro Pulver wrote: > Hello. > > I have experienced the following problem a couple of times in 2 > different machines and FreeBSD versions (see below): when the disk is > continuously reading/writing (like when copying/extracting a file, > checking the filesystem in the background, etc.) my system crashes > sometimes (it's not an everyday thing, but quite frustrating when it > happens). > > When copying from another machine by NFS/SMBFS more than one file at > the same time (or when using the disk, like described above) often > crashes (and the disk light indicator turns off). Running "atacontrol > ad0 mode UDMA100" when it was UDMA133 crashed the system (the disk > activity indicator was always on) when I tried to solve the problem > that way. Also when I was installing a port which installs many files > on the second machine without using NFS/SMBFS, trying to mount a local > NTFS filesystem (with kernel driver) crashed. > > The first machine is an Athlon XP 2400+ with FreeBSD 6.1-RELEASE and > custom kernel (see below) and the second one a new Athlon64 X2 3500 > with FreeBSD 6.2-RELEASE running in i386 mode, with generic SMP kernel. > See the boot messages and kernel config here: > > http://people.freebsd.org/~alepulver/disk-crash.tar.bz2 > > Also I got (only twice, when checking the filesystem after one of these > crashes) the following error on the first machine, that I don't know if > it's related or not to the previous problems: > > fsync: giving up on dirty > 0xc51d6990: tag devfs, type VCHR > usecount 1, writecount 0, refcount 806 mountedhere 0xc51a4000 > flags () > v_object 0xc144cb58 ref 0 pages 3232 > lock type devfs: EXCL (count 1) by thread 0xc54e2c00 (pid 837) > dev ad2s1f > > I would appreciate any help. If you need more information just ask. > > Thanks and Best Regards, > Ale > > P.S.: please CC me as I'm not subscribed. > Ale, Could you provide more information about your machine, in particular the devices attached (lspci -vv from sysutils/pciutils does the trick) and the options enabled in your custom kernel please? Also, could you provide more information about what the settings are that you are using for NFS and SMBFS (-rsize, -wsize, special mountd/rpcbind options, etc). -Garrett