From owner-freebsd-current@FreeBSD.ORG Sun Apr 18 15:08:02 2010 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 C899C1065670; Sun, 18 Apr 2010 15:08:02 +0000 (UTC) (envelope-from rpaulo@freebsd.org) Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by mx1.freebsd.org (Postfix) with ESMTP id 9A4F38FC08; Sun, 18 Apr 2010 15:08:02 +0000 (UTC) Received: from e.earth.lavabit.com (e.earth.lavabit.com [192.168.111.14]) by karen.lavabit.com (Postfix) with ESMTP id 09BC911B98E; Sun, 18 Apr 2010 10:08:00 -0500 (CDT) Received: from 10.0.10.17 (54.81.54.77.rev.vodafone.pt [77.54.81.54]) by lavabit.com with ESMTP id ELOHEB2SZWZS; Sun, 18 Apr 2010 10:08:00 -0500 References: <4BCA325A.1060600@protected-networks.net> <4BCA9F44.50002@FreeBSD.org> <987831E7-4893-4F2F-B96F-A1E25BD9BCA0@freebsd.org> <4BCB03AA.1050405@FreeBSD.org> In-Reply-To: <4BCB03AA.1050405@FreeBSD.org> Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii Message-Id: <9B82ED79-C168-482C-A3A9-26D71060BB0F@freebsd.org> Content-Transfer-Encoding: quoted-printable From: Rui Paulo Date: Sun, 18 Apr 2010 16:07:56 +0100 To: Alexander Motin X-Mailer: Apple Mail (2.1078) Cc: FreeBSD-Current , Michael Butler Subject: Re: Re: SVN rev 206755 breakage 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: Sun, 18 Apr 2010 15:08:03 -0000 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: >>>>>>>=20 >>>>>>> SVN rev 206755 on 2010-04-17 11:40:39Z by rpaulo >>>>>>>=20 >>>>>>> Add another ICH7M chipset that works. >>>>>>>=20 >>>>>>> .. 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. >>>=20 >>>> Can you show me the dmesg? >>> More important probably would be `pciconf -lvcb`. >>>=20 >>> 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), >>=20 >> It can be used in both modes. atapci used to attach to it on my = MacBook. >=20 > 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@pci0:0:31:1: class=3D0x01018a card=3D0x72708086 = chip=3D0x27df8086 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801G (ICH7 Family) Ultra ATA Storage Controller' class =3D mass storage subclass =3D ATA bar [10] =3D type I/O Port, range 32, base 0x1f0, size 8, enabled bar [14] =3D type I/O Port, range 32, base 0x3f4, size 1, enabled bar [18] =3D type I/O Port, range 32, base 0x170, size 8, enabled bar [1c] =3D type I/O Port, range 32, base 0x374, size 1, enabled bar [20] =3D type I/O Port, range 32, base 0x20c0, size 16, = enabled ahci0@pci0:0:31:2: class=3D0x01018f card=3D0x72708086 = chip=3D0x27c48086 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801GBM/GHM (ICH7-M Family) Serial ATA Storage = Controller' class =3D mass storage subclass =3D ATA bar [10] =3D type I/O Port, range 32, base 0x20d8, size 8, = enabled bar [14] =3D type I/O Port, range 32, base 0x20fc, size 4, = enabled bar [18] =3D type I/O Port, range 32, base 0x20d0, size 8, = enabled bar [1c] =3D type I/O Port, range 32, base 0x20f8, size 4, = enabled bar [20] =3D type I/O Port, range 32, base 0x2020, size 16, = enabled bar [24] =3D type Memory, range 32, base 0x90445000, size 1024, = enabled cap 01[70] =3D powerspec 2 supports D0 D3 current D0 BTW, Mac OS X also uses AHCI on this controller. -- Rui Paulo=