From tobi@spyz.org  Fri Aug  4 04:47:38 2000
Return-Path: <tobi@spyz.org>
Received: from mail.spyz.org (p3E9C28AE.dip0.t-ipconnect.de [62.156.40.174])
	by hub.freebsd.org (Postfix) with ESMTP id E21B937BA67
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  4 Aug 2000 04:47:26 -0700 (PDT)
	(envelope-from tobi@spyz.org)
Received: by mail.spyz.org (Postfix, from userid 1000)
	id E587A1E95; Fri,  4 Aug 2000 13:47:15 +0200 (CEST)
Message-Id: <20000804114715.E587A1E95@mail.spyz.org>
Date: Fri,  4 Aug 2000 13:47:15 +0200 (CEST)
From: tobi@spyz.org
Reply-To: tobi@spyz.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: kernel fails to recognize the second IDE master correctly sometimes
X-Send-Pr-Version: 3.2

>Number:         20394
>Category:       kern
>Synopsis:       kernel fails to recognize the second IDE master correctly sometimes
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    sos
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 04 04:50:00 PDT 2000
>Closed-Date:    Tue Nov 14 00:26:46 PST 2000
>Last-Modified:  Tue Nov 14 00:28:29 PST 2000
>Originator:     Tobias Begalke
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
>Environment:

ASUS P2L97 Mainboard, 128 MB RAM, Intel PII-266, for IDE environment see description.

>Description:

In about 50% of all cases, the kernel will fail to recognize the second
IDE Master correctly. Instead of the expected message 

ad0: 4134MB <IBM-DHEA-34331> [8400/16/63] at ata0-master using UDMA33
ad1: 9671MB <IBM-DTTA-351010> [19650/16/63] at ata0-slave using UDMA33
ad2: 14664MB <IBM-DJNA-351520> [29795/16/63] atata1-master using UDMA33
acd0: CDROM <Pioneer CD-ROM ATAPI Model DR-A04S0105> at ata1-slave using WDMA2

it reports as follows:

ad0: 4134MB <IBM-DHEA-34331> [8400/16/63] at ata0-master using UDMA33
ad1: 9671MB <IBM-DTTA-351010> [19650/16/63] at ata0-slave using UDMA33
ad2: 127MB <IBM\^A\M-D\^BNA-\^A5!5 0> [16257/16/1] at ata1-master using PIO4
acd0: CDROM <Pioneer CD-ROM ATAPI Model DR-A04S 0105> at ata1-slave using WDMA2

The ad2 model string can look different from the one above. At other times,
the kernel panics at exactly the ad2 position with a divide-by-zero error.


>How-To-Repeat:

Problem appear at boottime. It seems to happen a lot more often after a reboot
when the OS that ran before the reboot was Windows (no joke).

>Fix:

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->sos 
Responsible-Changed-By: jedgar 
Responsible-Changed-When: Sun Aug 6 08:23:43 PDT 2000 
Responsible-Changed-Why:  
Over to ata maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20394 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Tue Nov 14 00:26:46 PST 2000 
State-Changed-Why:  
Sounds like a hardware problem, plesse try 4.2 and see if problem persists. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=20394 
>Unformatted:
