From owner-freebsd-questions@FreeBSD.ORG Wed Nov 22 01:33:26 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8ADC616A40F for ; Wed, 22 Nov 2006 01:33:26 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7140543D45 for ; Wed, 22 Nov 2006 01:33:00 +0000 (GMT) (envelope-from illoai@gmail.com) Received: by nf-out-0910.google.com with SMTP id x37so340415nfc for ; Tue, 21 Nov 2006 17:33:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IWjKRMz6SHaKD8rg8mJ1/mT94wU1YD7zRFb8QutpFreF3PETOHiCldo7TBMW+ArqXnL9oV+FeVnRxyYIPeFSBTfvdguZS9oXNO6byHH3iMfvrfD4k4YuYAaRTdIX5+/l86SQ+qI7LOTWfh0YR9Ihl3VCCY4WwA4XXimtKEB2TFw= Received: by 10.82.142.9 with SMTP id p9mr1137677bud.1164159204058; Tue, 21 Nov 2006 17:33:24 -0800 (PST) Received: by 10.82.175.1 with HTTP; Tue, 21 Nov 2006 17:33:24 -0800 (PST) Message-ID: Date: Tue, 21 Nov 2006 19:33:24 -0600 From: "illoai@gmail.com" To: "up@3.am" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-questions@freebsd.org Subject: Re: External USB drive kernel problems 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: Wed, 22 Nov 2006 01:33:26 -0000 On 11/21/06, up@3.am wrote: > > (Please reply directly to me, as I am not subscribed) > > I just bought a VIA external USB enclosure with a Hitachi 200GB ATA drive > to use for disk-based backups. I put it on my test box here, which I just > upgraded to 6.2-Prerelease. All drivers required by the handbook for this > application are still in the kernel: > > device scbus > device da > device pass > device uhci > device ohci > device usb > device umass > device ehci > > However, it will not even finish booting with the USB drive plugged in. > It gets hung up on "Waiting 5 seconds for SCSI devices to settle". If I > unplug the drive, it immediately finishes booting ok. If I then plug it > back in, I get this: > > Nov 21 12:17:23 amanda kernel: umass0: VIA Technologies Inc. USB 2.0 IDE > Bridge, rev 2.00/0.03, addr 2 > Nov 21 12:19:33 amanda kernel: da0 at umass-sim0 bus 0 target 0 lun 0 > Nov 21 12:19:33 amanda kernel: da0: Fixed > Direct Access SCSI-2 device > Nov 21 12:19:33 amanda kernel: da0: 40.000MB/s transfers > Nov 21 12:19:33 amanda kernel: da0: 305245MB (625142448 512 byte sectors: > 255H 63S/T 38913C) > Nov 21 12:19:33 amanda kernel: umass0: Invalid CSW: tag 9 should be 10 > Nov 21 12:19:33 amanda kernel: (da0:umass-sim0:0:0:0): Synchronize cache > failed, status == 0x10, scsi status == 0x0 > > Nov 21 12:24:58 amanda kernel: Opened disk da0 -> 5 > > If I try to then run sysinstall to run fdisk, it will not allow the fdisk > configuration to be written to it. > > TIA for any advice, ideas, fixes, etc. Maybe something as simple as building your kernel with options SCSI_DELAY=10001 or even larger. Slow busses and some older hardware do not like small values here. Second, sysinstall is for installing the system, and is fairly horrible for day&day ministering. Better by far to learn the command line utilities. man fdisk man bsdlabel man newfs and if you are going to be sharing it between machines you might look into glabel. -- --