From ilya@ilya-pc.metric.ru  Tue Aug  6 05:02:32 2002
Return-Path: <ilya@ilya-pc.metric.ru>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id F25C337B405
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  6 Aug 2002 05:02:31 -0700 (PDT)
Received: from ilya-pc.metric.ru (ilya-pc.metric.ru [195.209.60.140])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3420443F2A
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  6 Aug 2002 05:01:13 -0700 (PDT)
	(envelope-from ilya@ilya-pc.metric.ru)
Received: (from ilya@localhost)
	by ilya-pc.metric.ru (8.12.3/8.12.3/Submit) id g76BtUCH000774;
	Tue, 6 Aug 2002 15:55:30 +0400 (MSD)
Message-Id: <200208061155.g76BtUCH000774@ilya-pc.metric.ru>
Date: Tue, 6 Aug 2002 15:55:30 +0400 (MSD)
From: Ilya Kiselyov <ilyaincotrade.ru@ilya-pc.metric.ru>
Reply-To: Ilya Kiselyov <ilyaincotrade.ru@ilya-pc.metric.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject:
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         41373
>Category:       kern
>Synopsis:       Infinite loop in boot process while probing ATAPI CDROM
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    sos
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 06 05:10:01 PDT 2002
>Closed-Date:    Mon Apr 28 11:45:05 PDT 2003
>Last-Modified:  Mon Apr 28 11:45:05 PDT 2003
>Originator:     Ilya Kiselyov
>Release:        FreeBSD 4.6.1-RELEASE-p8 i386
>Organization:
Incotrade Ltd.
>Environment:

System: FreeBSD ilya-pc.metric.ru 4.6.1-RELEASE-p8 FreeBSD 4.6.1-RELEASE-p8 #2: Mon Aug 5 17:36:41 MSD 2002 root@ilya-pc.metric.ru:/var/usr/src/sys/compile/ILYAPC i386

PIII/1Ghz, i815 chipset motherboard, using onboard ATA100 IDE controller
IDE HDD is primary master, CDROM is secondary master.

>Description:

While booting, kernel falls into infinite loop while probing CDROM:
acd0: MODE_SENSE_BIG command timeout - resetting
ata1: resetting devices - done
acd0: MODE_SENSE_BIG command timeout - resetting
ata1: resetting devices - done
acd0: MODE_SENSE_BIG command timeout - resetting
ata1: resetting devices - done
...
It loops infinitely until Reset pressed.
Such effect exists in 4.6-RELEASE and RELENG_4_6 branch up to -p8, everything
is ok in 4.5-RELEASE.

>How-To-Repeat:

Build kernel with ATAPI support, enable secondary controller in BIOS,
attach a CDROM.

>Fix:

Don't know. As a workaround, I have to disable secondary IDE
controller in BIOS before booting into FreeBSD. (I have multiple OSes
installed).

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: keramida 
Responsible-Changed-When: Mon Aug 19 14:48:03 PDT 2002 
Responsible-Changed-Why:  
Refile misfiled PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=41373 
Responsible-Changed-From-To: freebsd-bugs->sos 
Responsible-Changed-By: johan 
Responsible-Changed-When: Tue Aug 20 09:14:35 PDT 2002 
Responsible-Changed-Why:  
Over to ATA maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=41373 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Mon Apr 28 11:44:39 PDT 2003 
State-Changed-Why:  
This is belived fixed in -stable. 

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