patch for ATAng bug

From: David Gilbert <dgilbert_at_dclg.ca>
Date: Sun, 7 Sep 2003 16:34:29 -0400
I submitted kern/56572 a few minutes ago.  It patches ata-disk.c to
reject a disk that has zero blocks.

This is a good thing ... malicious or broken disks (compact flash,
whatever) shouldn't crash machines.

But in this case, the detected ad3 doesn't exist.  The machine is a
laptop with a drive on channel 0 and a DVD+R on channel 1.  If the DVD
is removed, the phantom ad3 doesn't show up, either.

... so that issue with ATAng is unresolved.

Dave.

-- 
============================================================================
|David Gilbert, Independent Contractor.       | Two things can only be     |
|Mail:       dave_at_daveg.ca                    |  equal if and only if they |
|http://daveg.ca                              |   are precisely opposite.  |
=========================================================GLO================
Received on Sun Sep 07 2003 - 11:34:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:21 UTC