Date: Sat, 6 Jul 2013 22:37:40 +0200 From: Polytropon <freebsd@edvax.de> To: Nazar Kazakov <kazakov.nazar@yandex.ru> Cc: freebsd-questions@freebsd.org 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <Unknown> 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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130706223740.ab37aaf4.freebsd>