Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2008 23:53:43 -0700
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Bruce M Simpson <bms@incunabulum.net>
Cc:        KAHO Toshikazu <vinwa@rocky.kais.kyoto-u.ac.jp>, FreeBSD stable <freebsd-stable@freebsd.org>, John Baldwin <jhb@freebsd.org>
Subject:   Re: alpm(4) I/O range is claimed by ACPI
Message-ID:  <20080912065343.GB49512@icarus.home.lan>
In-Reply-To: <48C927D6.5020800@incunabulum.net>
References:  <48C8F684.8090409@incunabulum.net> <20080911110407.GC25493@icarus.home.lan> <48C927D6.5020800@incunabulum.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 11, 2008 at 03:14:46PM +0100, Bruce M Simpson wrote:
> Jeremy Chadwick wrote:
>> ...
>> Might mention this to jhb@ to see if it's related to the SMBus changes
>> made 1.5 years ago:
>> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/pci/alpm.c
>>   
>
> Thanks for the pointers. The other reports sound like duplicate reports  
> of the same issue.
>
> I'm not sure that backing out the last change is going to help. The BIOS  
> has generally set up the I/O resource before FreeBSD boots; the  
> bus_set_resource() call might only be useful in those cases where that  
> hasn't happened.
> In any event, in alpm_attach(), the rman is going to notice that the bus  
> space is already allocated by acpi(4), and will balk.
>
> I'm sure there has been some kind of override mechanism in place for  
> certain other drivers; but they seem to boil down to using an ACPI  
> attachment of some kind, which won't work here as alpm(4) is a PCI  
> function and needs to attach to the pcib parent.
>
> It would be really, really useful to have working SMBus drivers right  
> now on a machine I can actually touch...

Interesting timing -- Toshikazu Kaho just reported the same issue with
alpm(4) today:

http://lists.freebsd.org/pipermail/freebsd-stable/2008-September/044989.html

I've CC'd him, as he's probably unaware of this already-existing thread.

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |




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