From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 15 19:18:06 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 B8DA716A401 for ; Sun, 15 Apr 2007 19:18:06 +0000 (UTC) (envelope-from alepulver@FreeBSD.org) Received: from relay03.pair.com (relay03.pair.com [209.68.5.17]) by mx1.freebsd.org (Postfix) with SMTP id 715B913C448 for ; Sun, 15 Apr 2007 19:18:06 +0000 (UTC) (envelope-from alepulver@FreeBSD.org) Received: (qmail 75888 invoked by uid 0); 15 Apr 2007 19:18:04 -0000 Received: from 190.55.91.88 (HELO deimos.mars.bsd) (190.55.91.88) by relay03.pair.com with SMTP; 15 Apr 2007 19:18:04 -0000 X-pair-Authenticated: 190.55.91.88 Date: Sun, 15 Apr 2007 16:17:53 -0300 From: Alejandro Pulver To: Garrett Cooper Message-ID: <20070415161753.7c7a604d@deimos.mars.bsd> In-Reply-To: <46217486.6080801@u.washington.edu> References: <20070414184719.110deaa2@deimos.mars.bsd> <46217486.6080801@u.washington.edu> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.11; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_AoIubWp5o=xQO5WGQYqWV+N"; protocol="application/pgp-signature"; micalg=PGP-SHA1 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 19:18:06 -0000 --Sig_AoIubWp5o=xQO5WGQYqWV+N Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 14 Apr 2007 17:40:38 -0700 Garrett Cooper wrote: > 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. > > [...] >=20 > Ale, Hello. Thank you for your reply. > Could you provide more information about your machine, in particular= =20 > the devices attached (lspci -vv from sysutils/pciutils does the trick)=20 > and the options enabled in your custom kernel please? Sure. I have updated the file (added pci_machine_1.txt and pci_machine_2.txt). The kernel configuration is already there (named ATHLON-PHOBOS), the second machine has a default SMP kernel. http://people.freebsd.org/~alepulver/disk-crash.tar.bz2 > Also, could you provide more information about what the settings are= =20 > that you are using for NFS and SMBFS (-rsize, -wsize, special=20 > mountd/rpcbind options, etc). > -Garrett I am not using nothing special here. In rc.conf: rpcbind_enable=3D"YES" nfs_server_enable=3D"YES" nfs_client_enable=3D"YES" And the commands (at different times): # mount deimos:/wxp /mnt # mount -t smbfs //administrator@mariana/c /mnt After both FreeBSD machines crashed when the problem happened (because of the NFS waiting infinitely), I started using "-i". The second command was to copy some data from a Windows machine. BTW I don't think the problem is related to NFS/SMBFS but to the disk drivers, since it happens without them too. One is ATA (has an year) and the other is SATA (new). However I am not experienced in this to tell. Thanks and Best Regards, Ale --Sig_AoIubWp5o=xQO5WGQYqWV+N Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGInphiV05EpRcP2ERArlzAJ9c5e5bCo45Qeeo3y7J3DndHeQv5wCfTV6P UfyjRj9NEqfDsBSAwMe6fQo= =uXMi -----END PGP SIGNATURE----- --Sig_AoIubWp5o=xQO5WGQYqWV+N--