Bug 57042

Summary: -current kernel hangs on booting with ata cd-rw device
Product: Base System Reporter: Tamas R. <freddy>
Component: kernAssignee: Søren Schmidt <sos>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.1-CURRENT   
Hardware: Any   
OS: Any   

Description Tamas R. 2003-09-20 22:40:16 UTC
        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.
Comment 1 Dmitry Sivachenko freebsd_committer freebsd_triage 2003-09-22 11:52:35 UTC
Responsible Changed
From-To: freebsd-bugs->sos

Over to ATAng author/maintainer.
Comment 2 Søren Schmidt freebsd_committer freebsd_triage 2003-09-22 20:19:01 UTC
State Changed
From-To: open->closed

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.