Date: Thu, 24 Oct 2013 15:56:15 +0200 From: Alexandre Martins <alexandre.martins@netasq.com> To: mav@freebsd.org Cc: fabien.thomas@netasq.com, current@freebsd.org, fabient@freebsd.org Subject: Troubles with VIA VX900 chipset Message-ID: <2304698.vixPKsOToE@pc-alex.netasq.com>
next in thread | raw e-mail | index | archive | help
--nextPart1772221.lMEZErbfai Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 --nextPart1772221.lMEZErbfai Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIErzCCBKsw ggOToAMCAQICCnDGsUgWa/KQbDQwDQYJKoZIhvcNAQEFBQAwgZExCzAJBgNVBAYTAkZSMQ0wCwYD VQQIEwROb3JkMRowGAYDVQQHExFWaWxsZW5ldXZlIGQnQXNjcTEuMCwGA1UEChMlTkVUQVNRIC0g U2VjdXJlIEludGVybmV0IENvbm5lY3Rpdml0eTEnMCUGA1UECxMeTkVUQVNRIENlcnRpZmljYXRp b24gQXV0aG9yaXR5MB4XDTEzMDIxNTE1NDk1N1oXDTE0MDIxNTE1NDk1N1owgdoxCzAJBgNVBAYT AkZSMQ0wCwYDVQQIEwROb3JkMRowGAYDVQQHExFWaWxsZW5ldXZlIGQnQXNjcTEuMCwGA1UEChMl TkVUQVNRIC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x95gr/eeTt1NdlT7OqVYqnUdUlRmQVNvEi29wIQbfYi2WeZIGlpNh0PBthWdBaXzMKU U/pfjIzZhyP8E4ghUKz4uvmpA901Qj9LEhSYqOKWALRNOk/dCcNd0LV8S54te/vsFkDTHWvlMYIC UjCCAk4CAQEwgaAwgZExCzAJBgNVBAYTAkZSMQ0wCwYDVQQIEwROb3JkMRowGAYDVQQHExFWaWxs ZW5ldXZlIGQnQXNjcTEuMCwGA1UEChMlTkVUQVNRIC0gU2VjdXJlIEludGVybmV0IENvbm5lY3Rp dml0eTEnMCUGA1UECxMeTkVUQVNRIENlcnRpZmljYXRpb24gQXV0aG9yaXR5AgpwxrFIFmvykGw0 MAkGBSsOAwIaBQCggYcwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcN MTMxMDI0MTM1NjE1WjAjBgkqhkiG9w0BCQQxFgQUSYJkHFmHPPDkdWoeW3YBrpCDjRIwKAYJKoZI hvcNAQkPMRswGTALBglghkgBZQMEAQIwCgYIKoZIhvcNAwcwDQYJKoZIhvcNAQEBBQAEggEAjkBi 5kMujcKrlmHwvy1x1kWSHT8KAvX3LWOguRcWwW45NFQ7npnVLvTwlxqSeDmG2hBdpw7n4P/6GSzU gFB/xvhO0MEwCuGbU9NS4fOuJTWHcV3dPe/Eb7TyXZKjhnGxBqQT8tSItpKleZdgT3Q27/M0Laj1 FDk8S1CQG5H8ZenrDkdUs0QW7p0248+j1m03MZ/6h+mdMqb/oi0dcI2zDOHLm0ZWP+4/5lFlv+vv bsjzU03DpM+P7bEKAdyt0DlgVkfc+YS5eMv7ZwBC0usLN2nteYdgQAz1LQMCh9fFb3+LN+V7300W 2i6WeuaVRmu5Sy5T0kraV2dlm5pXYeCrDgAAAAAAAA== --nextPart1772221.lMEZErbfai--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2304698.vixPKsOToE>