From owner-freebsd-current Sat Sep 29 17:38:51 2001 Delivered-To: freebsd-current@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id 5005837B406; Sat, 29 Sep 2001 17:38:48 -0700 (PDT) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by kayak.xcllnt.net (8.11.4/8.11.4) with ESMTP id f8U0cgI43309; Sat, 29 Sep 2001 17:38:42 -0700 (PDT) (envelope-from marcel@kayak.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.11.6/8.11.3) id f8U0d6801690; Sat, 29 Sep 2001 17:39:06 -0700 (PDT) (envelope-from marcel) Date: Sat, 29 Sep 2001 17:39:06 -0700 From: Marcel Moolenaar To: John Baldwin Cc: current@FreeBSD.org Subject: Re: panic: blockable sleep lock (sx) ... Message-ID: <20010929173906.A1359@dhcp01.pn.xcllnt.net> References: <20010929013818.A407@athlon.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.21i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Sep 29, 2001 at 12:52:48PM -0700, John Baldwin wrote: > > could figure out the faulting address that it trapp'd one that would help. You > could add KTR tracepoints or some such to store the log message to do that and > then examin the KTR buffer to get the actual faulting address. Ok. In the remote debugger I got a lot more data. In fact, it brought me to linux_alarm() in /sys/compat/linux_misc.c First some data about the trapping thread: td = curthread = 0xcbb89304 looks ok kg = td->ksegrp = 0xcbb89230 looks ok td->td_proc->p_comm = "swi6: tty:sio clock" The LTP test that seems to be causing this is doing an alarm(). In linux_alarm() I see: : s = splsoftclock(); old_it = td->td_proc->p_realtimer; : td->td_proc->p_realtimer = it; splx(s); : Is the splsoftclock() acceptable locking to access td->td_proc? -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message