From owner-freebsd-current@FreeBSD.ORG Wed Sep 10 04:31:43 2008 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 AA5D61065676 for ; Wed, 10 Sep 2008 04:31:43 +0000 (UTC) (envelope-from peter@wemm.org) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by mx1.freebsd.org (Postfix) with ESMTP id 89F248FC1C for ; Wed, 10 Sep 2008 04:31:43 +0000 (UTC) (envelope-from peter@wemm.org) Received: by wf-out-1314.google.com with SMTP id 24so2322188wfg.7 for ; Tue, 09 Sep 2008 21:31:42 -0700 (PDT) Received: by 10.142.222.21 with SMTP id u21mr249514wfg.67.1221021102833; Tue, 09 Sep 2008 21:31:42 -0700 (PDT) Received: by 10.142.255.21 with HTTP; Tue, 9 Sep 2008 21:31:42 -0700 (PDT) Message-ID: Date: Tue, 9 Sep 2008 21:31:42 -0700 From: "Peter Wemm" To: "clemens fischer" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200809021033.55033.jhb@freebsd.org> <200809081650.38774.jhb@freebsd.org> <7d6fde3d0809082027k5a5c9d7fm5eceb48e1a68612f@mail.gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: No root filesystem 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: Wed, 10 Sep 2008 04:31:43 -0000 On Tue, Sep 9, 2008 at 1:36 PM, clemens fischer wrote: > On Tue, 9 Sep 2008 08:49:00 +0200 Pascal Hofstee wrote: > >> Seems that the actual file is >> http://people.freebsd.org/~jhb/patches/pci_mcfg_k8.patch > > I tried the patch, but it doesn't give me back device="Athlon > 64/Opteron Miscellaneous Control", which is the basis for using the > ports k8temp. otherwise, the patch didn't broke anything else. Try the patch again, but change both instances of this line: if (cfgmech == CFGMECH_PCIE && (bus != 0 || !(slot & pcie_badslots))) to: if (cfgmech == CFGMECH_PCIE && (bus != 0 || !((1u << slot) & pcie_badslots))) ie: "slot" -> "(1u << slot)" This made the missing devices come back for me *and* fixed my Xserver. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell