Date: Mon, 29 Dec 2008 16:24:29 -0800 From: David Ehrmann <ehrmann@gmail.com> To: "Andrey V. Elsukov" <bu7cher@yandex.ru> Cc: freebsd-stable@freebsd.org Subject: Re: SATA hotplug and AHCI Message-ID: <49596A3D.1060003@gmail.com> In-Reply-To: <49588FF7.2020702@yandex.ru> References: <49582FB2.8030300@gmail.com> <4958652B.80101@gmail.com> <49588FF7.2020702@yandex.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Andrey V. Elsukov wrote: > David Ehrmann wrote: >>> How can I avoid all this and get the drive to be recognized >>> automatically? Can I do this with devd? Did I do what I needed to >>> correctly set up hotplugging? > > Can you enable verbose mode in /boot/loader.conf > (echo 'boot_verbose="YES"' >> /boot/loader.conf)? > And show your /var/run/dmesg.boot and kernel's output when > you unplug and plug drive back? > Here's the baseline output of dmesg and /var/run/dmesg.boot: http://pastebin.com/f5ab2ed28 dmesg.boot never changes. When I remove the drive, I see this from dmesg: ata4: DISCONNECT requested subdisk8: detached ad8: detached ata4: DISCONNECTED And when I plug it back in, ata4: CONNECT requested ata4: DISCONNECTED ata4: CONNECTED ata4: SATA connect time=0ms ata4: SIGNATURE: 0000000c ata4: No signature, asuming disk device ata4: ahci_reset devices=0x1<ATA_MASTER> ata4: reiniting channel .. ata4: SATA connect time=0ms ata4: SIGNATURE: 0000000c ata4: No signature, asuming disk device ata4: ahci_reset devices=0x1<ATA_MASTER> ata4: reinit done .. ata4: reiniting channel .. ata4: SATA connect time=0ms ata4: SIGNATURE: 0000000c ata4: No signature, asuming disk device ata4: ahci_reset devices=0x1<ATA_MASTER> ata4: reinit done .. atacontrol list still says "no device present" for that channel.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49596A3D.1060003>