Troubles with VIA VX900 chipset

Alexandre Martins alexandre.martins at netasq.com
Thu Oct 24 14:20:35 UTC 2013


I forget to attach patches

Le jeudi 24 octobre 2013 15:56:15 Alexandre Martins a écrit :
> Dear,
> 
> We have seen some issues with the VIA VX900 chipset. The main trouble is
> that some SATA hard drive are not seen by the kernel (BIOS and boot-loader
> are OK).
> 
> After investigations, it seems that during the initialisation of the
> controler, some reset commands are send via "ata_via_sata_reset" fonction.
> Into the chipset documentation, there is a warning about successive reset
> commands, and software must waiting the "BUSY" flag is clear, before send
> another reset. I have added a "DELAY(10000)" between the second call of
> "ata_sata_phy_reset" and the call of "ata_generic_reset" and the problem
> disapear.
> 
> I also made a more complex fix which check the "BUSY" flag.
> 
> Which fix of delai checking is the better one ?
> 
> Best Regards
-- 
Alexandre Martins
NETASQ -- We secure IT

-------------- next part --------------
A non-text attachment was scrubbed...
Name: delay_patch
Type: text/x-patch
Size: 310 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20131024/8b502ebe/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_patch
Type: text/x-patch
Size: 866 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20131024/8b502ebe/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1855 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20131024/8b502ebe/attachment-0002.bin>


More information about the freebsd-current mailing list