On Oct 14, 2:54pm, mayur...@acm.org (Mayuresh) wrote: -- Subject: Re: NetBSD 7.0 i386 panic during boot
| On a healthy system I tried triggering ddb with above kernel (with | DDB_ONPANIC set), with Ctrl-Alt-Esc. It did not print trace. yes, because that entry is not through panic(). | To cross check that the option is effective I did this: | | $sysctl ddb.onpanic | ddb.onpanic = 2 | | Also commented out the following line in /etc/sysctl.conf as below to | ensure that it is not overriding the compiled option. | #ddb.onpanic?=1 | | So looks like my procedure was alright. Is there anything else needed to | make kernel print trace on entering ddb, when keyboard can't be used? Did the instructions I posted to make the kernel accept keyboard input work? christos