patch for ATAng bug

David Gilbert dgilbert at dclg.ca
Sun Sep 7 13:34:34 PDT 2003


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================


More information about the freebsd-current mailing list