RFC: ATA to CAM integration patch

Alexander Motin mav at FreeBSD.org
Mon Jun 29 10:06:48 UTC 2009


Kamigishi Rei wrote:
> Alexander Motin wrote:
>>> Kernel builds fine for me after "sed 
>>> 's/AHCI_DMA_ENTRIES/AHCI_SG_ENTRIES/' /usr/src/sys/dev/ahci/ahci.c" 
>>> (only one occurrence of that macro, aside from the .h file, anyway).
>> You are right. Thank you. Committed to P4.
> On a side note: the two secondary patches mentioned in the discussion 
> (camcontrol and the other one) do not apply cleanly to r195137, even 
> though the files' contents match. I had to edit the files manually, 
> however, kernel still panics in xpt during boot right after the AHCI bus 
> poll.
> I didn't remove atapicam from the kernel configuration, because 
> according to your post with that patch earlier the patch should have 
> fixed that behaviour.

Sorry, my fault, it is the different bug, due to disabled invariants I 
have missed two locking issues. Here is regenerated patch, including 
this fix and all previous fixes and improvements:
http://people.freebsd.org/~mav/cam-ata.20090629.patch

-- 
Alexander Motin


More information about the freebsd-current mailing list