From owner-freebsd-current@FreeBSD.ORG Sun Jan 3 20:08:05 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07BBB1065769 for ; Sun, 3 Jan 2010 20:08:05 +0000 (UTC) (envelope-from lwindschuh@googlemail.com) Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.221.176]) by mx1.freebsd.org (Postfix) with ESMTP id B9A0B8FC0A for ; Sun, 3 Jan 2010 20:08:04 +0000 (UTC) Received: by qyk6 with SMTP id 6so6196611qyk.3 for ; Sun, 03 Jan 2010 12:07:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=nECUVALIYqs76cwbOpxSP8ev8c0jIpB2/ZYS795GBSo=; b=IO1Zf60ccazOXcj6CYg0gFRDMH70Azj0Xvewh7s0t+rvtYeyrSgsSygBaiqIOr09D/ zbRH2O2CSARSjdBL9SmZWBDjIcIHZEMhBipj0JeT1VS1bihWO70Uirspq0Ja4RfBeaYg /+bBIm6RxUuA31ZRh9ArEDPi2jGuQrwjKllTE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=PuVfvatrFi4W+EY+nuPSCNkdNwfYQ2cRTTREtoDEqhwsm81v5J9o5b74/MqHkZGMoH T90HeZoHsb9N9xJ+K9cYEvc5ul+R8XIwndRpq1vl06s7pBLtQPyxhHiI3ZumFwoIqvN/ uFqF/pXEJtCAYfER4vrDReIDdGq1Ehmi/6+J0= MIME-Version: 1.0 Received: by 10.229.49.132 with SMTP id v4mr286027qcf.50.1262549274928; Sun, 03 Jan 2010 12:07:54 -0800 (PST) Date: Sun, 3 Jan 2010 21:07:54 +0100 Message-ID: <90a5caac1001031207hf812b8am49e22380918f5421@mail.gmail.com> From: Lucius Windschuh To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: DDB scripts not executed unter Xorg? 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: Sun, 03 Jan 2010 20:08:05 -0000 Hi, I'm using CURRENT r201138 on my machine with Xorg and with debugging. If I trigger a panic with sysctl debug.kdb.panic=1 under Xorg, my system simply hangs. If I trigger it under the console, it works and I get a textdump. If I do "conscontrol delete ttyv0" before triggering the panic, I also get a textdump under Xorg. Is this maybe a rough edge of the new TTY layer? Details: /etc/ddb.conf: # $FreeBSD: head/etc/ddb.conf 176835 2008-03-05 18:32:58Z brooks $ # # This file is read when going to multi-user and its contents piped thru # ``ddb'' to define debugging scripts. # # see ``man 4 ddb'' and ``man 8 ddb'' for details. # script lockinfo=show locks; show alllocks; show lockedvnods # kdb.enter.panic panic(9) was called. script kdb.enter.default=textdump set; capture on; run lockinfo; show pcpu; bt; ps; alltrace; capture off; call doadump; reset # kdb.enter.witness witness(4) detected a locking error. script kdb.enter.witness=run lockinfo /etc/rc.conf: ddb_enable="YES" /etc/sysctl.conf: debug.debugger_on_panic=1 kern.sync_on_panic=0 machdep.kdb_on_nmi=1 hw.syscons.kbd_reboot=0 hw.syscons.kbd_debug=0 debug.ddb.capture.bufsize=5000192 kernel config: http://sites.google.com/site/lwfreebsd/Home/files/kernelconfig-T400.txt?attredirects=0&d=1 dmesg: http://sites.google.com/site/lwfreebsd/Home/files/dmesg-T400-FreeBSD-CURRENT.txt?attredirects=0&d=1 Regards, Lucius