From owner-freebsd-stable@FreeBSD.ORG Tue Sep 30 20:03:00 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EF28106568F for ; Tue, 30 Sep 2008 20:03:00 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.224]) by mx1.freebsd.org (Postfix) with ESMTP id 612A38FC15 for ; Tue, 30 Sep 2008 20:03:00 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so161286rvf.43 for ; Tue, 30 Sep 2008 13:02:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=8vgIbWl1iWZ7nbkr97ws8GL0be/LpzWTAkZ+hr9pXjU=; b=owahFlCGgoL9AVTRr/cwdzbtg2ndcRT41qsdVi7sqNBvih1yiiMLB0MoMCDEx66vIJ 4EoieZjwiVYsiz5rz2TkQUJuXYIMgSDrWDtSZoZpbgWhQPyhSsnQfAjOxGo3Q1F3XDgC OHtYRNS5RdSeI9rGsCWTM/as4pQFvIFPXq3Xs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=h1Ey5bGJ+wBB3STpGG15mWzxjbYCMPui3Qe4CGI8MFlyijKmaHfwO5klAvdljSxngt 5ZWcAXg2sclfOs9iVYdSDbfJAybTKYM8E071G5EtMmSvztPEnzd5OXgFyCLEnuwGMeTH aYN/T0TuWlEG5LZtPpTE8JG6DkGJKdTozDDN4= Received: by 10.140.163.12 with SMTP id l12mr3821819rve.137.1222804979584; Tue, 30 Sep 2008 13:02:59 -0700 (PDT) Received: by 10.141.189.15 with HTTP; Tue, 30 Sep 2008 13:02:59 -0700 (PDT) Message-ID: <3a142e750809301302l330f517dwe9e5a6bbd272c68e@mail.gmail.com> Date: Tue, 30 Sep 2008 22:02:59 +0200 From: "Paul B. Mahol" To: lists@rhavenn.net In-Reply-To: <200809301106.27666.lists@rhavenn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200809291955.21461.lists@rhavenn.net> <3a142e750809300223p529caafle7f02a58524abc18@mail.gmail.com> <200809301106.27666.lists@rhavenn.net> Cc: freebsd-stable@freebsd.org Subject: Re: wpi driver freeze on boot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 20:03:00 -0000 On 9/30/08, Henrik Hudson wrote: > On Tuesday 30 September 2008, "Paul B. Mahol" sent a > missive stating: >> On 9/30/08, Henrik Hudson wrote: >> > I've got a HP dv8000 laptop. Setting up the wpi driver for wireless >> > freezes the system on boot with the following error: >> > >> > wpi0 requested unsupported memory range >> > wpi0: could not allocate memory resource >> > >> > It lists a pcbi device (pcbi4 i think) and an actual memory range, but >> > since I >> > have to reboot using kernel.old the /var/run/dmesg.boot is wiped with >> > the >> > info. Is there anyway to grab the info when it freezes when it reboots? >> >> Perhaps, entering single-user mode. > > Nope. Disable ACPI, safe-mode and single user don't help at all. Ah, I see it, there is no way to look dmesg output in that way because it was never actually saved. >> Add this lines to your kernel to help debug problem. >> >> makeoptions DEBUG=-g >> options KDB >> options DDB >> options GDB >> options INVARIANTS >> options INVARIANT_SUPPORT >> options WITNESS >> options WITNESS_SKIPSPIN > > This doesn't really add anything to the output near the wpi freeze and I > still This one should put you into kdb when system panics, from where you could post output of bt. > can't get to the actual message, since when I reboot it wipes it out. Any > other isolation steps or ways to get detailed info to at least a cut and > pastable state? In that case you need to enter to kdb as soon as possible during boot, and sidestep each boot instruction until something bad happens, .... well it is not trivial task at all. For more info you may read developers-hanbook. (Located in /usr/share/doc/en/books/)