From owner-cvs-all Tue Mar 6 15:50:40 2001 Delivered-To: cvs-all@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 7A64937B71A; Tue, 6 Mar 2001 15:50:35 -0800 (PST) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 6 Mar 2001 23:50:34 +0000 (GMT) To: John Baldwin Cc: David Malone , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Dag-Erling Smorgrav , dwmalone@maths.tcd.ie Subject: Re: cvs commit: src/sys/i386/isa apic_vector.s icu_vector.s In-reply-to: Your message of "Tue, 06 Mar 2001 13:17:28 PST." X-Request-Do: Date: Tue, 06 Mar 2001 23:50:34 +0000 From: David Malone Message-ID: <200103062350.aa85798@salmon.maths.tcd.ie> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Yeah, cause the stack is hosed it looks like. Hrmmmm. Add the following > options to your kernel: > options KTR > options KTR_EXTEND > options KTR_COMPILE=0x1208 > Then before you do a buildworld, run the followign command as root: > # sysctl -w debug.ktr.mask=0x1200 > Then run the buildworld and crash teh machine. :-P The type 'show ktr' to get > a list of the various interrupts and process changes that occured up until > things blew up. If you have a serial console and can knab that output that Ok - I managed to get a panic. I don't have a serial console, but I think it may have provided a hint anyway. "show ktr" turned up alot of entries of the form: 755: ithread_schedule: pid 12: it_need 1, state 2 754: ithread_schedule: pid 12: (swi6: tty:sio+) need 1 753: swi_sched pid 12(swi6: tty:sio+) need=1 I presume this is because there is a Rugby Radio clock reciever wired to the DCD pin of one of the serial ports. I'm monitoring the asserts and clears on this pin. These are timed in userland using the functions provided in sys/timepps.h - it should only cause 3 or 4 interrupts per second at most. Think this could be part of triggering the problem? (Otherwise, I can try to figure out what the ktr output it telling me. Any hints on what I'm looking for?) David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message