Subject: atabus does not reattach after media bay removal
To: None <port-macppc@netbsd.org>
From: Chris Tribo <ctribo@dtcc.edu>
List: port-macppc
Date: 02/19/2005 00:56:22
I dunno if the code is there to make it work but I just tried hot swapping
my cdrom for another battery in my PDQ.

The detach went fine, but on reattachment of the CD it picked up the wdc
but not the atabus. Issuing atactl wdc0 reset hung. So I pulled the drive
again and I was dropped into the debugger with

refcount should be 0?

0x00668d80: at panic+0x19c
0x00668e10: at trap+0xfc
0x00668e90: kernel trap 0 at 0x4: srr1=0x9032
	r1=0x668f50 cr=0x20000044 xer=0 ctr=0
0x00668f50: at ext_intr+0x1fc
0x00668fa0: at trapstart+0xbd0
0x00668b80: at ADBDevTable+0xffa0ef98

r0	0x30b60c	panic+0x1a0
r1	0x668d70	ADBDevTable+0x77d0c
r2	0x5ee670	cpu_info
r3	0x5ee670	cpu_info
r4	0
r5	0x21
r6	0xc
r7	0xffffffff
r8	0
r9	0x5c0000	OF_buffer+0x870
r10	0
r11	0x63061
r12	0x40009044
r13	0
...