Subject: Re: panic: wdc_exec_command
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: None <sigsegv@rambler.ru>
List: port-sparc64
Date: 01/17/2005 15:48:36
Manuel Bouyer wrote:
> On Mon, Jan 17, 2005 at 01:15:03PM +0000, sigsegv@rambler.ru wrote:
> 
>>Manuel Bouyer wrote:
>>
>>>On Fri, Jan 14, 2005 at 06:39:19PM +0000, sigsegv@rambler.ru wrote:
>>>
>>>
>>>>Greetings, I built a kernel with various debugging options, this is from 
>>>>netbsd-2-0 source tree which I downloaded last night. What I noticed was 
>>>>adding 'options DIAGNOSTIC' causes kernel to panic on boot:
>>>>
>>>>panic: wdc_exec_command: polled command not done
>>>>kdb breakpoint at 13ac460
>>>>Stopped in pid 5.1 (atabus1) at netbsd:cpu_Debugger+0x4: nop
>>>
>>>
>>>Hum, I though this issue couldn't happen on 2.0. Ca you get a stack trace
>>
>>>from here, to see from where this command comes from ?
>>
>>I can't, I don't have serial interface set up yet, and when this panic 
>>happens the terminal and keyboard are unresponsive. I guess it's because 
>>it happens at an early boot up stage :-/
> 
> 
> Well, OK. I think I've found the cause of this. Can you try the attached
> patch ? It's a back port of a similar change I did in current.
> 

Thanks, that fixes the problem, the machine boots OK now.