From owner-freebsd-bugs@FreeBSD.ORG Sat Jul 3 15:20:03 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E01ED106566B for ; Sat, 3 Jul 2010 15:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B6B238FC14 for ; Sat, 3 Jul 2010 15:20:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o63FK2oW075522 for ; Sat, 3 Jul 2010 15:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o63FK2jx075521; Sat, 3 Jul 2010 15:20:02 GMT (envelope-from gnats) Date: Sat, 3 Jul 2010 15:20:02 GMT Message-Id: <201007031520.o63FK2jx075521@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Alexander Motin Cc: Subject: Re: kern/146270: [ata] Divide by zero in ata driver X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Motin List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jul 2010 15:20:04 -0000 The following reply was made to PR kern/146270; it has been noted by GNATS. From: Alexander Motin To: bug-followup@FreeBSD.org, intel@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