From owner-freebsd-usb@FreeBSD.ORG Thu Apr 23 21:05:16 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E41501065670 for ; Thu, 23 Apr 2009 21:05:16 +0000 (UTC) (envelope-from gperez@entel.upc.edu) Received: from violet.upc.es (violet.upc.es [147.83.2.51]) by mx1.freebsd.org (Postfix) with ESMTP id 979DE8FC16 for ; Thu, 23 Apr 2009 21:05:14 +0000 (UTC) (envelope-from gperez@entel.upc.edu) Received: from hamilton.upcnetadm.upcnet.es (hamilton.upcnetadm.upcnet.es [147.83.2.240]) by violet.upc.es (8.14.1/8.13.1) with ESMTP id n3NCWQwb022609; Thu, 23 Apr 2009 14:32:26 +0200 Received: from [147.83.40.234] ([147.83.40.234]) by hamilton.upcnetadm.upcnet.es (Lotus Domino Release 5.0.12) with ESMTP id 2009042314323422:102887 ; Thu, 23 Apr 2009 14:32:34 +0200 Message-ID: <49F05F8F.5000407@entel.upc.edu> Date: Thu, 23 Apr 2009 14:31:11 +0200 From: Gustau Perez User-Agent: Thunderbird 2.0.0.21 (X11/20090409) MIME-Version: 1.0 To: Hans Petter Selasky References: <49ED3E7D.8080606@gddsn.org.cn> <200904212123.14016.hselasky@c2i.net> In-Reply-To: <200904212123.14016.hselasky@c2i.net> X-MIMETrack: Itemize by SMTP Server on hamilton/UPC(Release 5.0.12 |February 13, 2003) at 23/04/2009 14:32:34, Serialize by Router on hamilton/UPC(Release 5.0.12 |February 13, 2003) at 23/04/2009 14:32:36, Serialize complete at 23/04/2009 14:32:36 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=UTF-8; format=flowed X-Mail-Scanned: Criba 2.0 + Clamd X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (violet.upc.es [147.83.2.51]); Thu, 23 Apr 2009 14:32:27 +0200 (CEST) Cc: usb@freebsd.org, wsk , current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: boot panic on current(04.20) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2009 21:05:17 -0000 Hans Petter Selasky wrote: > On Tuesday 21 April 2009, wsk wrote: > >> lists >> boot panic on current(2009.04.20).it seems caused by usbus4 >> >> Root mount waiting for: usbus4 >> uhub4: 8 ports with 8 removable, self powered >> Root mount waiting for: usbus4 >> ugen4.2: at usbus4 >> Fatal trap 12: page fault while in kernel mode >> cpuid = 0; apic id = 00 >> fault virtual address = 0x0 >> fault code = supervisor read, page not present >> instruction pointer = 0x20:0xc08ed3a3 >> stack pointer = 0x28:0xe4c38b40 >> frame pointer = 0x28:0xe4c38b44 >> code segment = base 0x0, limit 0xfffff, type 0x1b >> = DPL 0,pres 1, def32 1, gran 1 >> processor eflags = interrupt enabled, resume, IOPL = 0 >> current process = 28 (usbus4) >> trap number = 12 >> panic: page fault >> cpuid = 0 >> uptime: 5s >> Cannot dump. Device not defined or unavailable. >> >> > > Can you compile a kernel with debugging and get a backtrace? > > I'm trying to get the dump saved to /var/crash but seems it is not working. As the crash happens before /etc/rc.d/dumpon executes, dumpon doesn't get executed,so dumpdev doesn't point to the place where to save the dump. I tried booting single user without loading both uhci and ehci. I booted fined. I tried launching swapon /dev/ad4s3b and /etc/rc.d/dumpon start. Looking at /dev/dumpdev it points to /dev/ad4s3b, fine. Compiled the kernel with ; # Debugging for use in -current options KDB # Enable kernel debugger support. options DDB # Support DDB. and changed sysctl kern.coredump=1. Loading uchi throws me to the debugger (ok, that's what I wanted), but the core is not saved to /dev/ad4s3b. Is there something I'm doing wrong ? Am I missing something ? > Is the panic reproducible? > Yes it is. When uhci.ko is loaded is panics. > --HPS > Regards, Gus > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >