From freddy@tornado.hokinet.net  Sat Sep 20 14:32:11 2003
Return-Path: <freddy@tornado.hokinet.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 385AD16A4BF
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 20 Sep 2003 14:32:11 -0700 (PDT)
Received: from tornado.hokinet.net (adsl212200.vnet.hu [62.77.212.200])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 749FD43FFB
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 20 Sep 2003 14:32:08 -0700 (PDT)
	(envelope-from freddy@tornado.hokinet.net)
Received: from tornado.hokinet.net (localhost [127.0.0.1])
	by tornado.hokinet.net (8.12.10/8.12.10) with ESMTP id h8KLVgfr000957
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 20 Sep 2003 23:31:42 +0200 (CEST)
	(envelope-from freddy@tornado.hokinet.net)
Received: (from freddy@localhost)
	by tornado.hokinet.net (8.12.10/8.12.10/Submit) id h8KLVgID000956;
	Sat, 20 Sep 2003 23:31:42 +0200 (CEST)
	(envelope-from freddy)
Message-Id: <200309202131.h8KLVgID000956@tornado.hokinet.net>
Date: Sat, 20 Sep 2003 23:31:42 +0200 (CEST)
From: "Tamas R." <freddy@lamer.hu>
Reply-To: "Tamas R." <freddy@lamer.hu>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: -current kernel hangs on booting with ata cd-rw device 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         57042
>Category:       kern
>Synopsis:       -current kernel hangs on booting with ata cd-rw device
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    sos
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 20 14:40:16 PDT 2003
>Closed-Date:    Mon Sep 22 12:20:46 PDT 2003
>Last-Modified:  Mon Sep 22 12:20:46 PDT 2003
>Originator:     Tamas R.
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD 5.1-CURRENT i386

        Relevant Hardware configuration:
	Motherboard: P4S533-E (CPU: Intel)
	Chipsets: SIS 645DX+ (North Bridge: SIS645DX, South Bridge: SIS962/L)
	CD-Writer: Plextor 48/24/48 (PX-W4824TA)
	
>Description:
        Recent 5.x kernel hangs on booting after recognizing the ATA CD-RW
	device (previous kernel compiled on 11/08/03 worked very well). I think
	it is from ATAng changes in kernel, which is mentioned in 'UPDATING'.
	I only attach the relevant booting logs to demonstrate the problem:
	
	acd0: setting UDMA33 on SiS 962 chip
	acd0: <PLEXTOR CD-R PX-W4824A/1.05> CDRW drive at ata0 as slave
	acd0: read 6890KB/s (6890KB/s) write 8268KB/s (8268KB/s), 4096KB buffer, UDMA33
	acd0: Reads: CDR, CDRW, CDDA stream, packet
	acd0: Writes: CDR, CDRW, test write, burnproof
	acd0: Audio: play, 256 volume levels
	acd0: Mechanism: ejectable tray, unlocked
	acd0: Medium: CD-ROM unknown
	(probe0:ata0:0:0:0): error 22
	(probe0:ata0:0:0:0): Unretryable Error
	...
	ata1: spurious interrupt - status=0x50 error=0x00
	ata0: spurious interrupt - status=0x50 error=0x04
	acd0: WARNING - REQUEST_SENSE recovered from missing interrupt
	
	At this point the keyboard does not freeze but I can only use the reset
	button to restart the computer.. Booting in safe mode (ATA PIO modes,
	etc) causes the same result.
	
	
>How-To-Repeat:
	I suspect that it is not easy to reproduce this "problem" on other
	hardware configs but I would help to fix it.
	
>Fix:

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sos 
Responsible-Changed-By: demon 
Responsible-Changed-When: Mon Sep 22 03:52:35 PDT 2003 
Responsible-Changed-Why:  
Over to ATAng author/maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57042 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Mon Sep 22 12:19:01 PDT 2003 
State-Changed-Why:  
The problem here is not the ATA/ATAPI driver, but the atapicam is. 
However AFAIK those problems has been fixed, otherwise just leave 
atapicam out of the kernel. 

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