kern/146270: [ata] Divide by zero in ata driver

Alexander Motin mav at FreeBSD.org
Sat Jul 3 15:20:04 UTC 2010


The following reply was made to PR kern/146270; it has been noted by GNATS.

From: Alexander Motin <mav at FreeBSD.org>
To: bug-followup at FreeBSD.org, intel at intrans.baku.az
Cc:  
Subject: Re: kern/146270: [ata] Divide by zero in ata driver
Date: Sat, 03 Jul 2010 18:12:17 +0300

 Hi.
 
 If you got to these lines, it means ATA_D_USE_CHS flag is set. But in
 such case sectors and heads can't be zero, as it will be impossible to
 address device. I think it may be false negative and this device
 supports LBA mode. You may try to comment out whole ATA_D_USE_CHS
 section and look what happen.
 
 -- 
 Alexander Motin


More information about the freebsd-bugs mailing list