Comment Re:Adaptec AIC7xxx driver broken with patch. (Score 1) 367
Ian (mccalli) writes:
You are wrong Ian. The flaw in your logic is your failure to consider that the SCSI driver is responsible for causing executable code to be loaded. When the driver in question loads executable code, bad hardware can cause segmentation and other faults. Even a perfect, totally bug-free driver is susceptible.Certainly not. A driver's response to broken hardware should never be to segfault.
It helps to remember that the SCSI bus is a transmission line, not an ideal digital bus. A bad hardware configuration causes a segfault when some of the data from the disk is corrupted as it passes through the SCSI bus. When the corrupted data happens to be executable code it can fault for several reasons:
- corruption results in illegal pointer.
- corruption results in an illegal jump target.
- corruption results in an illegal instruction.