Re: No root filesystem

From: Peter Wemm <peter_at_wemm.org>
Date: Tue, 9 Sep 2008 21:31:42 -0700
On Tue, Sep 9, 2008 at 1:36 PM, clemens fischer
<ino-news_at_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_at_wemm.org; peter_at_FreeBSD.org; peter_at_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
Received on Wed Sep 10 2008 - 02:31:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:35 UTC