SVN rev 206755 breakage
Rui Paulo
rpaulo at freebsd.org
Sun Apr 18 15:08:03 UTC 2010
On 18 Apr 2010, at 14:05, Alexander Motin wrote:
> Rui Paulo wrote:
>> On 18 Apr 2010, at 06:57, Alexander Motin wrote:
>>> Rui Paulo wrote:
>>>> On 17 Apr 2010, at 23:12, Michael Butler wrote:
>>>>> On 04/17/10 18:05, Rui Paulo wrote:
>>>>>> On 17 Apr 2010, at 22:34, Michael Butler wrote:
>>>>>>> The revision labeled:
>>>>>>>
>>>>>>> SVN rev 206755 on 2010-04-17 11:40:39Z by rpaulo
>>>>>>>
>>>>>>> Add another ICH7M chipset that works.
>>>>>>>
>>>>>>> .. is incorrect and will cause some laptops to not boot.
>>>>>> So, in AHCI mode it doesn't find the disks?
>>>>> No - the driver fails to attach (ENXIO).
>>>> But since ahci failed to attach, won't atapci attach later?
>>> If probe succeeded - no.
>>>
>>>> Can you show me the dmesg?
>>> More important probably would be `pciconf -lvcb`.
>>>
>>> Intel controllers after ICH6 change both ID and set of resources,
>>> depending on AHCI enabled in BIOS. There is separate set of IDs for
>>> controllers with AHCI enabled. As I can see, Linux handles ID 0x27c4 as
>>> non-AHCI SATA. If for some reason this ID could be used for both modes
>>> (I have doubts),
>>
>> It can be used in both modes. atapci used to attach to it on my MacBook.
>
> Most of AHCI controllers could also work as usual PCI ATA, but not every
> PCI ATA could work as AHCI. It would be nice to compare `pciconf -lvbc`
> output in both working (Rui) and not working (Michael) cases.
atapci0 at pci0:0:31:1: class=0x01018a card=0x72708086 chip=0x27df8086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801G (ICH7 Family) Ultra ATA Storage Controller'
class = mass storage
subclass = ATA
bar [10] = type I/O Port, range 32, base 0x1f0, size 8, enabled
bar [14] = type I/O Port, range 32, base 0x3f4, size 1, enabled
bar [18] = type I/O Port, range 32, base 0x170, size 8, enabled
bar [1c] = type I/O Port, range 32, base 0x374, size 1, enabled
bar [20] = type I/O Port, range 32, base 0x20c0, size 16, enabled
ahci0 at pci0:0:31:2: class=0x01018f card=0x72708086 chip=0x27c48086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801GBM/GHM (ICH7-M Family) Serial ATA Storage Controller'
class = mass storage
subclass = ATA
bar [10] = type I/O Port, range 32, base 0x20d8, size 8, enabled
bar [14] = type I/O Port, range 32, base 0x20fc, size 4, enabled
bar [18] = type I/O Port, range 32, base 0x20d0, size 8, enabled
bar [1c] = type I/O Port, range 32, base 0x20f8, size 4, enabled
bar [20] = type I/O Port, range 32, base 0x2020, size 16, enabled
bar [24] = type Memory, range 32, base 0x90445000, size 1024, enabled
cap 01[70] = powerspec 2 supports D0 D3 current D0
BTW, Mac OS X also uses AHCI on this controller.
--
Rui Paulo
More information about the freebsd-current
mailing list