SIS5513, 80pin cable detect, and notebook
A message that is not in the archive (sent off-list or not yet received): 1117754292.8154.20.camel@doom
Peter Maynard wrote the following on 06/03/05 01:18 :
Quoted 8 lines
Sorry to bother you, but I could not find an answer anywhere and have searched for days.
I have a Notebook with a sis5513 [sis963 southbridge] udma133 controller and a Hitachi IC25N060ATMR04 HD which supports ATA6. However, as this is a notebook, the HD is directly connected to the motherboard without a cable.
Quoted 7 lines
Using Kernel 2.6.10 the system boots and sets HD as udma2 (confirmed in both dmesg and hdparm -I) because it does not detect an 80pin cable.
My question is: should the cable detect circuitry of the sis5513 recognize the fact there is no cable and setup as 80c?
No, there is no reliable way to do this: the same chipsets can be used in various configurations and the driver would have to check for all existing hardware configurations which support reliable transfers even if the controller<->drive interface isn't a 80-pin one (which would probably involve a whole new kernel framework to guess which exact model the computer is: far too much work for probably an incomplete result involving an ever changing huge database).
Windows drivers can (temporarily) get around that because each vendor can package its own driver tuned for the actual hardware configuration. I guess these configurations on Windows eventually exhibit the same problems without any available "ideX=ata66" workaround: when you upgrade to a new Windows version, you are eventually forced to use Windows' bundled drivers because the vendor doesn't support your hardware on the new shiny Windows version : udma2 mode. I'm even wondering if all vendors actually bother to tune the base Windows drivers: many notebooks comes with cheap 4200rpm drives that don't benefit much if at all from udma3+ (I had such a configuration not so long ago).
Quoted 8 lines
If this the correct function of the ide/sis code, what is the best method to change the udma mode. I am currently using the boot up
option: ide0=ata66 which works (udma100 shows in dmesg and hdparm show change to udma5) - but this is listed as an obsolete boot command that is to be removed....
If this option were removed and not replaced by something else, I guess it will reappear shortly after removal due to hordes of angry notebook users (you are far from alone in this case) arrassing the IDE maintainers...
ideX=ata66 is the way to go (at least for now).
Regards,
Lionel