From owner-freebsd-questions@FreeBSD.ORG Wed Mar 29 18:45:06 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8876E16A400 for ; Wed, 29 Mar 2006 18:45:06 +0000 (UTC) (envelope-from petermatulis@yahoo.ca) Received: from web60023.mail.yahoo.com (web60023.mail.yahoo.com [209.73.178.71]) by mx1.FreeBSD.org (Postfix) with SMTP id 53C6F43D4C for ; Wed, 29 Mar 2006 18:45:05 +0000 (GMT) (envelope-from petermatulis@yahoo.ca) Received: (qmail 40493 invoked by uid 60001); 29 Mar 2006 18:45:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Mp2O/Dv11CuVJwgI8NLEdgFRDfEJpZqtPWEIobz3dxcaGsNzUbOarRVQi/D0I5oK0+CLSq9k6Nk0VbJpNfEt9YCx6vDX3Nc5CrBs5erBLhgYsGEXXRtPHdRTL/5gisbVShLdWoQJt4cXT3URwoukhs8xB2nKjNWqz0PgIKgo2XY= ; Message-ID: <20060329184504.40491.qmail@web60023.mail.yahoo.com> Received: from [70.81.189.3] by web60023.mail.yahoo.com via HTTP; Wed, 29 Mar 2006 13:45:04 EST Date: Wed, 29 Mar 2006 13:45:04 -0500 (EST) From: Peter To: "Conrad J. Sabatier" In-Reply-To: <20060329014914.6a05677a.conrads@cox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: how to create da* device? 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, 29 Mar 2006 18:45:06 -0000 --- "Conrad J. Sabatier" wrote: > On Tue, 28 Mar 2006 01:51:41 -0500 (EST) > Peter wrote: > > > I am still trying to get my USB hard drive to work. It used to > work > > but now when I plug it in all I get is: > > > > kernel: umass0: PI-036 USB2.0 Drive, rev 2.00/0.01, addr 2 > > kernel: umass0: Get Max Lun not supported (STALLED) > > > > I remember such messages before but after them there were some more > > meesages beginning with "da0". But now no da* device is created > under > > /dev. > > > > I figured maybe this (new) drive has gone bad but it works under > > Windows 2000. Any ideas why this has stopped working? I did not > > change anything on my system although I just updated my sources and > > baked a new kernel without success (same results). > > Updating your sources and building *only* a new kernel without also > building world is never a good idea. Your kernel and world are most > likely out of sync right now, perhaps even critically so. > > I just added an external USB/firewire drive myself, which is working > fine. The kernel options I added to support the device are: > > device da > device ehci > device ohci > device pass > device ugen > device uhci > device umass > device usb > > Hope this helps. I heeded your warning on keeping userland and kernel in sync (I have the kernel options/devices you mention). Not that I thought that it would help my predicament but still this drive cannot be mounted. When I plug it in after booting it is probed and recognized: kernel: umass0: PI-036 USB2.0 Drive, rev 2.00/0.01, addr 2 kernel: umass0: Get Max Lun not supported (STALLED) kernel: da0 at umass-sim0 bus 0 target 0 lun 0 kernel: da0: Fixed Direct Access SCSI-0 device kernel: da0: 40.000MB/s transfers kernel: da0: 190782MB (390721968 512 byte sectors: 255H 63S/T 24321C) I have da0 and da0s1 under /dev. Now if I do 'sysinstall' I get: Mar 29 13:25:48 sonata kernel: umass0: BBB reset failed, IOERROR Mar 29 13:25:48 sonata kernel: umass0: BBB bulk-in clear stall failed, IOERROR Mar 29 13:25:48 sonata kernel: umass0: BBB bulk-out clear stall failed, IOERROR Mar 29 13:25:48 sonata kernel: umass0: BBB reset failed, IOERROR Mar 29 13:25:48 sonata kernel: umass0: BBB bulk-in clear stall failed, IOERROR Mar 29 13:25:48 sonata kernel: umass0: BBB bulk-out clear stall failed, IOERROR Mar 29 13:25:48 sonata kernel: umass0: BBB reset failed, IOERROR Mar 29 13:25:48 sonata kernel: umass0: BBB bulk-in clear stall failed, IOERROR Mar 29 13:25:48 sonata kernel: umass0: BBB bulk-out clear stall failed, IOERROR Mar 29 13:25:48 sonata kernel: umass0: BBB reset failed, IOERROR Mar 29 13:25:48 sonata kernel: umass0: BBB bulk-in clear stall failed, IOERROR Mar 29 13:25:48 sonata kernel: umass0: BBB bulk-out clear stall failed, IOERROR Mar 29 13:25:48 sonata kernel: umass0: BBB reset failed, IOERROR Mar 29 13:25:48 sonata kernel: umass0: BBB bulk-in clear stall failed, IOERROR Mar 29 13:25:48 sonata kernel: umass0: BBB bulk-out clear stall failed, IOERROR Mar 29 13:25:48 sonata kernel: Opened disk da0 -> 5 And there are no more da0* under /dev. Now! I boot up with knoppix and the thing is automatically mounted and I can enter and view its contents. And as stated in a previous post, I can also use this drive with Windows 2000. Any suggestions? p.s. Is there any chance that having an identical drive can mess up the works somehow? Like FreeBSD can get confused? Because I have the same model and it worked. I cannot test again now because it is at another location. And at that location this problem drive also ceased to function. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com