From owner-freebsd-current@FreeBSD.ORG Tue Apr 2 21:06:10 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8B1AAD1A for ; Tue, 2 Apr 2013 21:06:10 +0000 (UTC) (envelope-from mh@kernel32.de) Received: from popeye.kernel32.de (popeye.kernel32.de [46.4.9.204]) by mx1.freebsd.org (Postfix) with ESMTP id 4C42BA7C for ; Tue, 2 Apr 2013 21:06:09 +0000 (UTC) Received: from popeye.kernel32.de (localhost [127.0.0.1]) by popeye.kernel32.de (Postfix) with ESMTP id 1680D482D8 for ; Tue, 2 Apr 2013 23:06:09 +0200 (CEST) X-Virus-Scanned: amavisd-new at popeye.kernel32.de Received: from popeye.kernel32.de ([127.0.0.1]) by popeye.kernel32.de (popeye.kernel32.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zgNJG_ECs-rK for ; Tue, 2 Apr 2013 23:06:07 +0200 (CEST) Received: from popeye.kernel32.de (localhost [127.0.0.1]) by popeye.kernel32.de (Postfix) with ESMTPA id 46C4D482CA; Tue, 2 Apr 2013 23:06:06 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 02 Apr 2013 23:06:06 +0200 From: mh@kernel32.de To: Konstantin Belousov Subject: Re: panic at serial boot In-Reply-To: <20130402195223.GU3794@kib.kiev.ua> References: <515289AC.3050204@FreeBSD.org> <936608f069b988fcd58707edb9b4dde0@kernel32.de> <20130327133220.GZ3794@kib.kiev.ua> <24096f01453ab9d0fe898522874cd928@kernel32.de> <941a3c1e7cb49087c8bf941399b1e5ae@kernel32.de> <20130402195223.GU3794@kib.kiev.ua> Message-ID: <80b2deb3359ca04fb784334d60719860@kernel32.de> X-Sender: mh@kernel32.de User-Agent: RoundCube WebMail Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Apr 2013 21:06:10 -0000 Hi again, Am 2013-04-02 21:52, schrieb Konstantin Belousov: > On Tue, Apr 02, 2013 at 08:23:20PM +0200, mh@kernel32.de wrote: > > Try breaking into the debugger and see where it progresses. To do > this, > you would need to boot with the 'boot -d' command from the loader > prompt, > then do 'w kbd_break_to_debugger 1', then ctrl-alt-esc when you want > to > activate the debugger. In the debugger, start with the 'ps' command. > After the beastie menu I went to the loader prompt and did "boot -d". I was sent to the debugger and did "w kbd_break_to_debugger 1". This is the output I get. INT 13 08: Success, count = 1, BPT = 0000:0000 GDB: no debug ports present KDB: debugger backends: ddbhift limit: 0x82 KDB: current backend: ddbt15 = f000f859 int1e = f000ef6d KDB: enter: Boot flags requested debuggerint1e = f000ef6d [ thread pid 0 tid 0 ] booting... Stopped at kdb_enter+0x3e: movq $0,kdb_why db> w kbd_break_to_debugger 1 Symbol not found Where to go from now? A good pointer to documentation is okay too ;) Sorry if asking too many questions, but although being a FreeBSD user since 4.0, I never had to debug or been to where I am now. So in advance another sorry if the question sounds stupid. A quick google for 'FreeBSD "w kbd_break_to_debugger 1" "Symbol not found"' didn't return anything. a little helpless regards, ./Marian