From owner-freebsd-current@FreeBSD.ORG Mon Aug 24 20:39:18 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC5431065672 for ; Mon, 24 Aug 2009 20:39:17 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pz0-f171.google.com (mail-pz0-f171.google.com [209.85.222.171]) by mx1.freebsd.org (Postfix) with ESMTP id A50C58FC08 for ; Mon, 24 Aug 2009 20:39:17 +0000 (UTC) Received: by pzk1 with SMTP id 1so224421pzk.3 for ; Mon, 24 Aug 2009 13:39:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=YKTxE4XVI8Ylf0jXYm7CxxjBHoBkgemsCxU6DShsqjM=; b=fmEohDPEyDoNBb3Lv2FvVIzpkvI8CD2WvxppibsR8toH48fj5AdO2QtTR/gmE4Wo3G JESEmUO+xuTG90jYb+hB0xcQgaBAfLjD9PSWfbOkaBc0HEmYlEfwdYlUy86BDHsQGf34 UeASKvoNXB86vAcIPiS90TcC8IJfXtSu0CGjA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=KREkmBhh85IcgGBlqi/FlalrXMJw4ghkeCe86qNEJQalUueYScwgO/2yYWounHV3oL Q+jPb00FrhMwX1qNSbK1eytVsLBNsL/F1STzhXtO/teZE1qKgIin7fGraLjExv41BpRj HSQqSYNt7q2FCJE8Ng12GXuwm83O8lJCxFh64= Received: by 10.115.113.4 with SMTP id q4mr6523917wam.54.1251146357040; Mon, 24 Aug 2009 13:39:17 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id n40sm10272472wag.22.2009.08.24.13.39.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 24 Aug 2009 13:39:15 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Mon, 24 Aug 2009 13:38:39 -0700 From: Pyun YongHyeon Date: Mon, 24 Aug 2009 13:38:39 -0700 To: Gavin Atkinson Message-ID: <20090824203839.GA1282@michelle.cdnetworks.com> References: <80f4f2b20908061705h6b218702ked110fa54d1bee5@mail.gmail.com> <1250088500.17787.6.camel@buffy.york.ac.uk> <20090812202100.GB55129@michelle.cdnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090812202100.GB55129@michelle.cdnetworks.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org, Jim Subject: Re: FreeBSD 8.0 Beta2 / ALC driver crashbase X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 20:39:18 -0000 On Wed, Aug 12, 2009 at 01:21:00PM -0700, Pyun YongHyeon wrote: > On Wed, Aug 12, 2009 at 03:48:20PM +0100, Gavin Atkinson wrote: > > On Thu, 2009-08-06 at 20:05 -0400, Jim wrote: > > > I couldn't get the copy of the if_alc driver to compile in FreeBSD 7.2 > > > on my new notebook, so I decided to use 8.0, and I found an issue, > > > when I boot the installer media CD (boot only or DVD1), I get the > > > following error: > > > > > > alc0: irq 16 at device 0.0 on pci7 > > > alc0: 0x40000 bytes of rid 0x10 res 3 failed (0, 0xffffffffffffffff). > > > alc0: cannot allocate memory resources). > > > > > > Fatal trap 12: page fault while in kernel mode > > > cpuid = 0; apic id = 00 > > > fatal virtual address = 0x08 > > > fault code = supervisor read data, page not present > > > instruction pointer = 0x20:0xffffffff0024c6e8 > > > stack pointer = 0x20:0xffffffff813f65f0 > > > frame pointer = 0x20:0xffffffff813f6600 > > > code segment = base 0x0, limit 0xfffff, type 0x1b > > > = DLP 0, pres 1, long 1, def32 0, gran 1 > > > processor eflags = interrupt enabled, resume, IOPL = 0 > > > correct process = 0 (swapper) > > > [thread pid 0 tid 100000 ] > > > Stopped at alc_phy_down+0x0: cmpq $0,0x8(xrax) > > > db> > > > > > > > > > I'm not knowledgeable about this to the point where I could debug the > > > issue, is there anything I could do to provide the developers with the > > > info needed to fix the issue, or could someone tell me how to boot the > > > installer and force it to not load if_alc, and suggest give me an idea > > > of what this means, in laymans terms so I can try to diagnose it? If I > > > had to guess, I would say it's trying to access a chunk of > > > memory/address-space that hasn't been allocated or doesn't exist, but > > > I don't know if that's correct or where to go from there. > > > > First thing to do, at the "db> " prompt, enter "bt" and show us the > > results. What version of FreeBSD is this? (8.0-BETA2 I'm assuming?) > > > > There are probably at least two issues here: 1) The allocation shouldn't > > fail, but is, and 2) it shouldn't panic. Getting a backtrace (with "bt" > > will hopefully be enough to figure out the second issue, but for the > > first one we may need a full verbose dmesg from the system. Do you have > > I guess I found a bug in failure path. Try attached one. > FYI: Patch committed to HEAD(r196517). > > a serial console hooked up to the machine with which you could obtain > > this? > > > > Thanks, > > > > Gavin