Fajun Chen wrote:
Hi All, Attached is the source code to Identify Device through sg (courtesy of Mark Lord). I intentionally change the data transfer from SG_DXFER_FROM_DEV to SG_DXFER_TO_DEV to expose the problem. When the code is run on SATA Sil3124 controller, it's working well. But when it is run on PATA Sil680, IRQ was disabled right away (see dmesg log below). I have a old kernel 2.6.18 rc2 but I suspect the same problem exists in latest kernel release as well. Please execute above code in your system and see what happens.
root has permission to do anything -- including misprogram the device resulting in a lockup / data corruption / nuclear explosion.
We do not work around problems that only present themselves when a privileged administrator is doing something really wrong.
Jeff - To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html