From owner-freebsd-questions@FreeBSD.ORG Sun Mar 7 17:12:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACADF1065670 for ; Sun, 7 Mar 2010 17:12:32 +0000 (UTC) (envelope-from djackson452@gmail.com) Received: from mail-yx0-f201.google.com (mail-yx0-f201.google.com [209.85.210.201]) by mx1.freebsd.org (Postfix) with ESMTP id 629C98FC15 for ; Sun, 7 Mar 2010 17:12:32 +0000 (UTC) Received: by yxe39 with SMTP id 39so51502yxe.3 for ; Sun, 07 Mar 2010 09:12:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=1e4TLDzvtW3+/a/qEkb4ZqqWLhjMIbOsrHVY9OTDtTY=; b=VVzMdUsgRzk+ejOT8Khbccie+XkpXmVLIZAIbwek7pjzDwr+sxggaAFY69ZVr28zxz nJCJSdTAx2Om8xgeupK4BB5lbRd5/3eFFsdvhqjvtJx39CW+4bP4oc2Lw0JzaE+0DD5B Lx+MCMrV0nk2JXztSn6/OgEUUqVofLFiYlwU0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=tFwsc0x2Yx7fi4JU2tSgz24/c8lYxV6MniXxwLayx2Fa3eBvnUUGdom4bLDue+UMhc xLz3dcqNhsg4LhvDGms6a/BsU5Iky5Qls6DedcdZN6ru/+G6TMOPPm48i3uK5dZZS19D /mMivXu+HySk6MBgfi6d9OMQj7HGWhPugY2q8= Received: by 10.101.51.7 with SMTP id d7mr1011419ank.201.1267981951534; Sun, 07 Mar 2010 09:12:31 -0800 (PST) Received: from [0.0.0.0] (gpftor2.privacyfoundation.de [87.118.101.175]) by mx.google.com with ESMTPS id 8sm1093856yxg.24.2010.03.07.09.12.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 07 Mar 2010 09:12:30 -0800 (PST) Message-ID: <4B93DAF3.4030104@gmail.com> Date: Sun, 07 Mar 2010 11:57:23 -0500 From: David Jackson User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Aiza , freebsd-questions@freebsd.org References: <4B8ACB0F.6020300@gmail.com> <4B8BFED4.2000204@gmail.com> <4B8C501C.4050606@gmail.com> <4B8C76CE.6070002@comclark.com> In-Reply-To: <4B8C76CE.6070002@comclark.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Lockups with USB disks on FreeBSD 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: Sun, 07 Mar 2010 17:12:32 -0000 Aiza wrote: > David Jackson wrote: >> David Jackson wrote: >>> David Jackson wrote: >>>> I am currently using FreeBSD 8.0. I have been, for a long time, >>>> been having problems with lockups of FreeBSD 8.0 when using USB >>>> hard disks. Sometimes certain applications lock up for several >>>> minutes, when they use the disk, file operations are very slow, and >>>> sometimes the entire operating system can lock up for several >>>> minutes. This can be a pretty painful thing and makes the system >>>> seem very unstable. I am using UFS filesystems on the disks. It >>>> seems to happen on multiple disks that i use. >>>> >>>> I was hopeful changes to the FreeBSD USB drivers might have >>>> improved things but they are as bad as ever. >>>> >>>> Help is appreciated. >>>> >>> Are there perhaps diagnostic tools or an error log that can be >>> enabled so I can see if maybe there is some sort of error occuring >>> with the USB transmissions that might be causing this problem, or >>> perhaps what part of the driver code it is getting locked up on?. >>> >>> Has anyone else experienced problems such as this with USB disks? If >>> more information on my hardware is needed i will post dmesg output. >>> >>> Any help is appreciated. >> I have done some more thinking about this issue. Just an app freeze >> on USB access is one thing, however, the fact that the entire OS >> freezes up on access to the USB disk shows there are much more >> serious problems in the FreeBSD kernel. A USB access should not cause >> the kernel to lock up for minutes. these are very serious flaws in >> the FreeBSD kernel and lead to an instable and unuseable system. .... >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >> > Your description about what is happening is lacking any detail. > Tell us what is on the USB disk, How you are using it, How you created > it ECT ECT ECT Booting your system from it is way different than > writing small data files to it or containing a raid file system or > some database. You have to help us help you. The USB disk is being used with 2 UFS filesystems on it. Due to the bad performance, it takes a long time to copy data to the disk. It seems as though there is a complete lock up periodically when doing a very large copy. The system becomes very unstable. Conditions worsen when two or three apps are using the disk at once, it seems. Often the entire OS can lock up for minutes when the disk is being used. I once tried to copy a 200 mb directory, it took 7 hours. Perhaps the developers of the USB system would like discuss this, so we can figure out what is going on. I do not know enough about it as to say exactly where the problem is. Has anyone else been having these problems?