From owner-freebsd-current@FreeBSD.ORG Fri Sep 26 14:40:14 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 885CD8CA; Fri, 26 Sep 2014 14:40:14 +0000 (UTC) Received: from mail-lb0-x236.google.com (mail-lb0-x236.google.com [IPv6:2a00:1450:4010:c04::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 97C30368; Fri, 26 Sep 2014 14:40:13 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id z11so2790334lbi.41 for ; Fri, 26 Sep 2014 07:40:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=b74g8tESPrTXpd7weVSAxofU5M3A+h6wxFuW1NDfDf0=; b=K9k15wUnbqtX7Z9CGDKVovCNECuljsd/2mNUNATfToZYZ2BoqpRxhMS05VGThbDlhZ 4/KFEjvhKHVtJ3azw5J3UuaW6k5HJSL56F+9MryGhkVc7HIRa22VogelG96h02yttZjb sGzJ0ktk3x+WOhLlMpONKBu6ok2bJsVHVdBmQ1efOCoYh6TgF8Wlgns7o1ERS0gXJ32R WU1iCSGrxhdfHA/RzU0lLKLdv2sZ/EIjEsovSm0xQFH6++W0At1vqoZf5OT8yr/VWjQU Vfs6c5XIG/v09cSja6u058Nm93A5uHh30KX2SlJklWIMwcn6EUyiv4fOw6Flkm26+pYt 8jcg== MIME-Version: 1.0 X-Received: by 10.152.170.167 with SMTP id an7mr3510119lac.94.1411742409879; Fri, 26 Sep 2014 07:40:09 -0700 (PDT) Received: by 10.25.15.29 with HTTP; Fri, 26 Sep 2014 07:40:09 -0700 (PDT) Received: by 10.25.15.29 with HTTP; Fri, 26 Sep 2014 07:40:09 -0700 (PDT) In-Reply-To: <1411739941.66615.257.camel@revolution.hippie.lan> References: <20140925204052.6f4c1d60@zhabar.attlocal.net> <1411739941.66615.257.camel@revolution.hippie.lan> Date: Fri, 26 Sep 2014 07:40:09 -0700 Message-ID: Subject: Re: Boot failure with r272146 From: Justin Hibbits To: Ian Lepore Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Current , FreeBSD PowerPC ML X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 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: Fri, 26 Sep 2014 14:40:14 -0000 That fixed it, thanks! -Justin On Sep 26, 2014 6:59 AM, "Ian Lepore" wrote: > On Thu, 2014-09-25 at 20:40 -0700, Justin Hibbits wrote: > > With r272146 my SATA controller fails to attach, preventing the kernel > > from mounting root. I've attached a log of as much as dconschat would > > allow. The relevant portion is pcib10: > > > > atapci0: mem 0xfa402000-0xfa403fff > > at device 12.0 on pci10 pcib1: failed to reserve resource for pcib10 > > pcib10: failed to allocate initial I/O port window (0-0xffffffff,0x10) > > atapci0: 0x10 bytes of rid 0x20 res 4 failed (0, 0xffffffffffffffff). > > atapci0: unable to map interrupt > > device_attach: atapci0 attach returned 6 > > > > pcib10: allocated memory range (0xfa400000-0xfa400fff) for rid 10 of > > pci1:3:14:0 atapci0: mem > > 0xfa402000-0xfa403fff at device 12.0 on pci10 pcib1: failed to reserve > > resource for pcib10 pcib10: failed to allocate initial I/O port window > > (0-0xffffffff,0x10) atapci0: 0x10 bytes of rid 0x20 res 4 failed (0, > > 0xffffffffffffffff). atapci0: unable to map interrupt > > device_attach: atapci0 attach returned 6 > > ata0: mem 0xfa404000-0xfa407fff at device > > 13.0 on pci10 ofw_pci mapdev: start fa404000, len 16384 > > ata0: unable to allocate interrupt > > device_attach: ata0 attach returned 6 > > > > > > It works fine with r271697 kernel (latest I have booting). I haven't > > yet tried bisecting. > > > > Hardware is a PowerMac G5 (last generation). > > > > - Justin > > Ooops, I think a paste-o in my r272109 caused it. See if this fixes it. > > -- Ian > > > > > Index: sys/powerpc/ofw/ofw_pcibus.c > =================================================================== > --- sys/powerpc/ofw/ofw_pcibus.c (revision 272109) > +++ sys/powerpc/ofw/ofw_pcibus.c (working copy) > @@ -201,7 +201,7 @@ ofw_pcibus_enum_devtree(device_t dev, u_int domain > * resource list. > */ > if (dinfo->opd_dinfo.cfg.intpin == 0) > - ofw_bus_intr_to_rl(dev, node, > &dinfo->opd_dinfo.resources); > + ofw_bus_intr_to_rl(dev, child, > &dinfo->opd_dinfo.resources); > } > } > > >