Bug 29592

Summary: 4.4pre ATAPI Cdrom trouble
Product: Base System Reporter: Michael Meiszl <michael>
Component: kernAssignee: Søren Schmidt <sos>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Michael Meiszl 2001-08-10 09:30:21 UTC
After cvsupping to 4.4 (stable branch) I've noticed that the IDE CD Rom created serious troubles. Kernel Messages looked like:
Aug  9 11:11:55 Proxy /kernel: acd0: PREVENT_ALLOW command timeout - resetting
Aug  9 11:11:55 Proxy /kernel: ata1: resetting devices ..  device dissapeared! 1
 done
Aug  9 11:11:55 Proxy /kernel: ata1-master: timeout waiting to give command=a0 s
=d8 e=00
Aug  9 11:11:55 Proxy /kernel: acd0: failure to send ATAPI packet command
Aug  9 11:11:55 Proxy /kernel: acd0: failure to execute ATAPI packet command
Aug  9 11:12:25 Proxy /kernel: acd0: PREVENT_ALLOW command timeout - resetting
Aug  9 11:12:25 Proxy /kernel: ata1-master: timeout waiting to give command=a0 s
=d8 e=00
Aug  9 11:12:25 Proxy /kernel: acd0: failure to send ATAPI packet command
Aug  9 11:12:25 Proxy /kernel: acd0: failure to execute ATAPI packet command
Aug  9 11:12:55 Proxy /kernel: acd0: PREVENT_ALLOW command timeout - resetting
Aug  9 11:12:55 Proxy /kernel: ata1-master: timeout waiting to give command=a0 s
=d8 e=00
Aug  9 11:12:55 Proxy /kernel: acd0: failure to send ATAPI packet command
Aug  9 11:12:55 Proxy /kernel: acd0: failure to execute ATAPI packet command

(and so on...)
The system freezes when trying to access the CD Rom (e.g. starting /stand/sysinstall or tying to mount a CD).

I had to disable the ata drivers completely (the cdrom is the only ata device, everything else is on SCSI bus) to get rid of these annoying blocks.

Hardware has not changed from 4.1, 4.2, 4.3.

Fix: 

diable ata completely (NOT a real solution)
How-To-Repeat: accessing the device
Comment 1 ru freebsd_committer freebsd_triage 2001-08-10 09:32:34 UTC
Responsible Changed
From-To: freebsd-bugs->sos

Over to Mr. ATA.
Comment 2 sos 2001-08-10 16:57:37 UTC
It seems Michael Meiszl wrote:
> 
> >Number:         29592
> >Category:       kern
> >Synopsis:       4.4pre ATAPI Cdrom trouble
> >Confidential:   no
> >Severity:       serious
> >Priority:       low
> >Responsible:    freebsd-bugs
> >State:          open
> >Quarter:        
> >Keywords:       
> >Date-Required:
> >Class:          sw-bug
> >Submitter-Id:   current-users
> >Arrival-Date:   Fri Aug 10 01:30:21 PDT 2001
> >Closed-Date:
> >Last-Modified:
> >Originator:     Michael Meiszl
> >Release:        4.4prerelease
> >Organization:
> >Environment:
> FreeBSD Proxy.Meiszl.De 4.4-PRERELEASE FreeBSD 4.4-PRERELEASE #1: Thu Aug  9 14:
> 21:47 CEST 2001     mam@Proxy.Meiszl.De:/usr/src/sys/compile/MAMSMP  i386
> 
> >Description:
> After cvsupping to 4.4 (stable branch) I've noticed that the IDE CD Rom created serious troubles. Kernel Messages looked like:
> Aug  9 11:11:55 Proxy /kernel: acd0: PREVENT_ALLOW command timeout - resetting
> Aug  9 11:11:55 Proxy /kernel: ata1: resetting devices ..  device dissapeared! 1
>  done
> Aug  9 11:11:55 Proxy /kernel: ata1-master: timeout waiting to give command=a0 s
> =d8 e=00
> Aug  9 11:11:55 Proxy /kernel: acd0: failure to send ATAPI packet command
> Aug  9 11:11:55 Proxy /kernel: acd0: failure to execute ATAPI packet command
> Aug  9 11:12:25 Proxy /kernel: acd0: PREVENT_ALLOW command timeout - resetting
> Aug  9 11:12:25 Proxy /kernel: ata1-master: timeout waiting to give command=a0 s
> =d8 e=00
> Aug  9 11:12:25 Proxy /kernel: acd0: failure to send ATAPI packet command
> Aug  9 11:12:25 Proxy /kernel: acd0: failure to execute ATAPI packet command
> Aug  9 11:12:55 Proxy /kernel: acd0: PREVENT_ALLOW command timeout - resetting
> Aug  9 11:12:55 Proxy /kernel: ata1-master: timeout waiting to give command=a0 s
> =d8 e=00
> Aug  9 11:12:55 Proxy /kernel: acd0: failure to send ATAPI packet command
> Aug  9 11:12:55 Proxy /kernel: acd0: failure to execute ATAPI packet command
> 
> (and so on...)
> The system freezes when trying to access the CD Rom (e.g. starting /stand/sysinstall or tying to mount a CD).
> 
> I had to disable the ata drivers completely (the cdrom is the only ata device, everything else is on SCSI bus) to get rid of these annoying blocks.
> 
> Hardware has not changed from 4.1, 4.2, 4.3.
 
Do you mean it worked on 4.3 ?? 
I'm pretty sure I havn't changed anything in this department, in
fact I havnt changed much if anything for 4.4 due to lack of time...

-Søren
Comment 3 Søren Schmidt freebsd_committer freebsd_triage 2001-09-06 10:40:17 UTC
State Changed
From-To: open->closed

No feedback, no other semilar reports at all.