From owner-freebsd-questions@FreeBSD.ORG Sat Jul 6 20:37:43 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 218DFC16 for ; Sat, 6 Jul 2013 20:37:43 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id D586413BC for ; Sat, 6 Jul 2013 20:37:42 +0000 (UTC) Received: from r56.edvax.de (port-92-195-76-18.dynamic.qsc.de [92.195.76.18]) by mx02.qsc.de (Postfix) with ESMTP id 58E26248FD; Sat, 6 Jul 2013 22:37:34 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r66KbevY003829; Sat, 6 Jul 2013 22:37:41 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 6 Jul 2013 22:37:40 +0200 From: Polytropon To: Nazar Kazakov Subject: Re: install on external hdd Message-Id: <20130706223740.ab37aaf4.freebsd@edvax.de> In-Reply-To: <6001373141891@web26d.yandex.ru> References: <6001373141891@web26d.yandex.ru> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jul 2013 20:37:43 -0000 Your research is correct so far. On Sun, 07 Jul 2013 00:18:11 +0400, Nazar Kazakov wrote: > I found on Google about bsdinstall segfault without disks. > Then I reboot computer, disconnected the hdd and connected > it immediately after starting bsdinstall, that's what I brought: > > usb_alloc_device: set address 2 failed (USB_ERR_STALLED, ignored) > usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_STALLED > usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_STALLED, ignored) > usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_STALLED > usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_STALLED, ignored) > usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_STALLED > ugen1.2: at usbus1 (disconnected) > uhub_reattach_port: could not allocate new device It should not matter when the disk is attached; bsdinstall will operate on any disk recognized by the system, no matter if detected at program runtime or system boot. > As I understand it, my external hdd is not mounted. The disk is not _recognized_. Only a file system can be mounted (which requires the disk to be recognized). For a USB disk, from the /dev/ugenX.Y device a /dev/daX device will be "generated", corresponding to the disk. The process you've shown above does not even reach that step. If you go to the shell, you can enter "dmesg" to see the last messages that will be the same. You can also check the content of /dev regarding daX devices ("ls /dev/da*") or use "camcontrol devlist" to check if they are present. > Maybe it's because I have a hdd with usb 3.0, but my computer > does not have usb 3.0. Yes, this looks like a typical "cannot connect" error. Normally, a USB 3 disk would "switch down" to USB 2. But USB 3 has a different current requirement, so it could be possible that the power drain from the USB port is insufficient for the disk to work properly. Can you try to attach a separate power supply to the disk? For USB 3, _all_ involved parts (disk, cable, ports, controller, OS) need to be in "USB 3 mode", else it probably won't work. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...