FreeBSD 8.0 not detecting hot swap drive insertion

Rob lists at midsummerdream.org
Tue Dec 22 22:54:22 UTC 2009


It should be noted that my raid controller card driver (htprr) is 
exhibiting the same issue.  Before 8.0, both the ata and htprr drivers 
would recognize a HD insertion and the disks information would be 
scanned and device nodes created.  On 8.0, the best I can see is that 
the drive insertion is detected (the htprr driver prints a message about 
drive insertion/removal), but the disks are never scanned for drive 
information nor device nodes created.

Rob

Rob wrote:
> I don't have any /dev/ada* devices, so I assume I'm using the original 
> ata driver.  I haven't done any kernel customization, and am running the 
> distribution's kernel (upgraded with the freebsd-update tool).  Does the 
> older driver no longer detect drive insertion?
> 
> Rob
> 
> Steve Polyack wrote:
>> Rob wrote:
>>> I'm running a 10 hot-swap SATA disk ZFS pool and recently upgraded 
>>> from 7.2 to 8.  Since I upgraded, freebsd isn't spinning up or 
>>> recognizing a new drive that is inserted.  In freebsd 7.[0,2], I 
>>> could remove a drive and insert a new one and freebsd would recognize 
>>> it, spin it up, and create the device nodes.  None of that is 
>>> happening in 8.0, and the only way I've found to get it to recognize 
>>> the disk is to reboot the system.
>>>
>>> I tried using atacontrol to force freebsd to reinit an ata channel, 
>>> but that didn't have any effect.  Did something change in 8.0 that 
>>> prevents this auto-detection?  Is there a way to re-enable it?
>>>
>> Are you using the original (7.x) ata(4) driver or the newer enhanced 
>> SATA drivers like ahci(4) or siis(4)?  If you're using the latter your 
>> devices will be labeled /dev/ada* instead of /dev/ad*.  If you are 
>> indeed using the newer enhanced SATA drivers, you will need to use 
>> camcontrol to reset and rescan the associated SATA channels.
>>
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to 
>> "freebsd-questions-unsubscribe at freebsd.org"
>>
>>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
> 
> 


More information about the freebsd-questions mailing list