From owner-freebsd-current@FreeBSD.ORG Tue Oct 21 22:14:20 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9412B1065672 for ; Tue, 21 Oct 2008 22:14:20 +0000 (UTC) (envelope-from artemb@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id 246AC8FC17 for ; Tue, 21 Oct 2008 22:14:19 +0000 (UTC) (envelope-from artemb@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so819676eyi.7 for ; Tue, 21 Oct 2008 15:14:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=U1eypJv0xMzQfRh9lH4R6RfbJT1lLA9peeBjf2Xv5U0=; b=Oada2c1oC+kFAtSyMMNSLBrKTJ6tQcdSZYOf5Zipp6iXVdYTLeh/zaGYe4u6m6+EOD K6bDoQ8epLeB9UtVlYb2Qwp18CUSVh9XFyGCk4R+x3GbuSXqjLlJcfsglzcFRAC5n07a 9yHGvsPJwGmtFY3the/afdc/ZqjpUnSo8a370= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=lLlIXouSeC8i5kKkPs1pwFoEjycJqAv6f6BS7XCvKf+NlduiIHvFY4o6GRpJWzT2Vk Yzdoasrl9xHmo9d2eHN8nIHZxwAFPca+LYgUUV+mPRbaDBDmwdNuPFlwu67MFv21vPbg nHSu0KuJuaVBVihacT+C4WUm7TFgItkoV397c= Received: by 10.210.28.6 with SMTP id b6mr10964814ebb.3.1224625298606; Tue, 21 Oct 2008 14:41:38 -0700 (PDT) Received: by 10.210.13.13 with HTTP; Tue, 21 Oct 2008 14:41:38 -0700 (PDT) Message-ID: Date: Tue, 21 Oct 2008 14:41:38 -0700 From: "Artem Belevich" Sender: artemb@gmail.com To: freebsd-current@freebsd.org, jb@what-creek.com MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 4e5013bc00532cae Cc: Subject: Dtrace: hotkernel+buildworld -> crash X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2008 22:14:20 -0000 Hi, I'm not sure if it's a known issue or not, but running hotkernel script from DTraceToolkit-0.99 during "make buildworld -j8" easily crashes -current (cvsup'ed on Oct 20th) on amd64 (Quad core Q9450) when I press ^C to stop the script. Kernel is GENERIC with WITNESS/INVARIANTS disabled and some SCSI/wireless/NIC drivers removed. I was unable to dump kernel core - debugger always gets another trap and returns to the prompt. The box does not have serial ports, so I've typed in portions of stack traces below from the screen. One common thing across all crashes I've seen so far is that crashed process always dies in the same place with the following backtrace. Apparently it attempts to dereference $rip which is 0. cyclic_disable_xcall+0x7 smp_rendezvous_action Xrendezvous ----interrupt Dtrace process itself always has the same stack trace: smp_tlb_shootdown pmap_invalidate_page pmap_remove_pte pmap_remove vm_map_delete vm_map_remove uma_large_free free dtrace_buffer_free dtrace_state_destroy dtrace_close ... I'll try to reproduce the issue with WITNESS/INVARIANTS turned ON. Perhaps that would provide more hints on what's wrong. Meanwhile, if someone can suggest anything I can do to help troubleshoot this, that would be great as I'm a bit out of my depth here. -- --Artem