From owner-freebsd-current@FreeBSD.ORG Thu Apr 23 12:42:20 2009 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 C33F61065670 for ; Thu, 23 Apr 2009 12:42:20 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-fx0-f162.google.com (mail-fx0-f162.google.com [209.85.220.162]) by mx1.freebsd.org (Postfix) with ESMTP id 26C308FC18 for ; Thu, 23 Apr 2009 12:42:19 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by fxm6 with SMTP id 6so160552fxm.43 for ; Thu, 23 Apr 2009 05:42:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=g2p0WBgH1m9z/njICUkaLLtEM8o0BJmaAuRBwtOp7M4=; b=GBKl+rp7sM81hUI7QZmMDxzV4MSVd2Lw57E4rRBWIHBe4heMDXXGy0exVkgN4WJqUy 9wiY666tve+qyCtwA9lDRBXMX8HvFO77ix6YfC3eUMI0ixSumsm3WDhJcIihnfmAT8O6 qC7vSayV1HpiZENB0c+aEDfAUly74t95SK3eA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=n3cEwZVQGIPJ4fc86gwQmCTKAlBGnYkT6q36wWmXyu4sePhD2XZxlPhBOVn3AVrrWT +4M501ScHgXLnjR937Tl/dVEcGx7jIOFJLT11VxR/mZLXPp3D4gVvCpO8bdOboVDtf8P LybHFM/g2m8NNBqlsMUP+UIIGKVD5kmO2Xulk= MIME-Version: 1.0 Received: by 10.239.154.142 with SMTP id e14mr54115hbc.69.1240490539140; Thu, 23 Apr 2009 05:42:19 -0700 (PDT) In-Reply-To: <49F05F8F.5000407@entel.upc.edu> References: <49ED3E7D.8080606@gddsn.org.cn> <200904212123.14016.hselasky@c2i.net> <49F05F8F.5000407@entel.upc.edu> Date: Thu, 23 Apr 2009 14:42:19 +0200 Message-ID: <3a142e750904230542l14a742aw6aa37205a3da054d@mail.gmail.com> From: "Paul B. Mahol" To: Gustau Perez Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: boot panic on current(04.20) 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: Thu, 23 Apr 2009 12:42:21 -0000 On 4/23/09, Gustau Perez wrote: > 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 ? ddb(4) > >> 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" >> > > _______________________________________________ > 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" > -- Paul