Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Sep 2008 21:31:42 -0700
From:      "Peter Wemm" <peter@wemm.org>
To:        "clemens fischer" <ino-news@spotteswoode.dnsalias.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: No root filesystem
Message-ID:  <e7db6d980809092131i1ca3603cx5f02f5b3cc3f95ec@mail.gmail.com>
In-Reply-To: <kb3jp5xhc2.ln2@nntp.spotteswoode.dnsalias.org>
References:  <g8nl1b$279$1@lorvorc.mips.inka.de> <200809021033.55033.jhb@freebsd.org> <d8a0b7620809021041i5e9f4ea0y99090affa681c34e@mail.gmail.com> <200809081650.38774.jhb@freebsd.org> <7d6fde3d0809082027k5a5c9d7fm5eceb48e1a68612f@mail.gmail.com> <d8a0b7620809082349u6f334dc5ma2ecb6d6a60c016a@mail.gmail.com> <kb3jp5xhc2.ln2@nntp.spotteswoode.dnsalias.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 9, 2008 at 1:36 PM, clemens fischer
<ino-news@spotteswoode.dnsalias.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e7db6d980809092131i1ca3603cx5f02f5b3cc3f95ec>