From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 15 19:43:23 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 307D616A41C for ; Wed, 15 Jun 2005 19:43:23 +0000 (GMT) (envelope-from julian@elischer.org) Received: from bigwoop.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 167AE43D1F for ; Wed, 15 Jun 2005 19:43:22 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [208.206.78.97] (julian.vicor-nb.com [208.206.78.97]) by bigwoop.vicor-nb.com (Postfix) with ESMTP id 907E67A403; Wed, 15 Jun 2005 12:43:22 -0700 (PDT) Message-ID: <42B084DA.7040702@elischer.org> Date: Wed, 15 Jun 2005 12:43:22 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050423 X-Accept-Language: en, hu MIME-Version: 1.0 To: Norbert Koch References: <000f01c57173$12f8cc40$4801a8c0@ws-ew-3.W2KDEMIG> In-Reply-To: <000f01c57173$12f8cc40$4801a8c0@ws-ew-3.W2KDEMIG> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Freebsd-Hackers@Freebsd.Org" Subject: Re: kernel panic in usb0; was: RE: using vkbd device X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2005 19:43:23 -0000 Norbert Koch wrote: >>>>When quickly connecting/disconnecting >>>> >>>> >>>i guess you mean here unplug the keyboard and then immediately plug it >>>back, right? >>> >>> >>> >>sounds like he means "repeatedly." >> >> > >yes > > > >>booting with -gd drops you into the (gdb) debugger immediatly.. >> >>I presume you have a gdb looking at the serial port and have a >>serial debug port defined then? >> >> > >Yes. >That's what I did: > >boot -gd && gdb -k kernel.debug && target remote /dev/cuaa0 > >In gdb "bt" only shows two entries. The function where the panic >occurred and 0x0! > > that is normal you don't want to jump into gdb that soon. there is hardly anything set up. use the sysctl to enter gdb later. >BTW, after boot -gd, when gdb attaches I have a kernel panic too. >But I can just enter "continue" and the kernel continues booting. >Is that ok? > > what do you mean "panic"? I never use -gd, just -g then hitting ^ALT-ESC or using th esysctl makes me enter the debugger when I need to.