From owner-freebsd-bugs@FreeBSD.ORG Wed May 26 19:10:07 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0801E106566C for ; Wed, 26 May 2010 19:10:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E5F418FC1A for ; Wed, 26 May 2010 19:10:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4QJA6RG075998 for ; Wed, 26 May 2010 19:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4QJA6MR075997; Wed, 26 May 2010 19:10:06 GMT (envelope-from gnats) Date: Wed, 26 May 2010 19:10:06 GMT Message-Id: <201005261910.o4QJA6MR075997@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "ryan@ryanholt.net" Cc: Subject: Re: kern/147086: AHCI not being enabled on PC X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "ryan@ryanholt.net" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2010 19:10:07 -0000 The following reply was made to PR kern/147086; it has been noted by GNATS. From: "ryan@ryanholt.net" To: Garrett Cooper Cc: Alexander Motin , bug-followup@freebsd.org Subject: Re: kern/147086: AHCI not being enabled on PC Date: Wed, 26 May 2010 14:56:37 -0400 (EDT) ------=_Part_46482_1005083949.1274900197056 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Garrett, =C2=A0 How can I get the device IDs? pciconf? =C2=A0 [root@fs /usr/src]# pciconf -lv hostb0@pci0:0:0:0: =C2=A0 =C2=A0 =C2=A0class=3D0x060000 card=3D0x50001458 c= hip=3D0x168910b9 rev=3D0x00 hdr=3D0x00 =C2=A0=C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'Acer Labs Incorporated (ALi/UL= i)' =C2=A0=C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'ULi M1689 K8 Northbridge with = AGP and hypertransport' =C2=A0=C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D bridge =C2=A0=C2=A0 =C2=A0subclass =C2=A0 =3D HOST-PCI pcib1@pci0:0:1:0: =C2=A0 =C2=A0 =C2=A0 class=3D0x060400 card=3D0x00000000 c= hip=3D0x524610b9 rev=3D0x00 hdr=3D0x01 =C2=A0=C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'Acer Labs Incorporated (ALi/UL= i)' =C2=A0=C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'ULi AGP 3.0 Controller' =C2=A0=C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D bridge =C2=A0=C2=A0 =C2=A0subclass =C2=A0 =3D PCI-PCI pcib2@pci0:0:2:0: =C2=A0 =C2=A0 =C2=A0 class=3D0x060401 card=3D0x00000000 c= hip=3D0x524910b9 rev=3D0x00 hdr=3D0x01 =C2=A0=C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'Acer Labs Incorporated (ALi/UL= i)' =C2=A0=C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'HyperTransport to PCI Bridge (= M5249)' =C2=A0=C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D bridge =C2=A0=C2=A0 =C2=A0subclass =C2=A0 =3D PCI-PCI isab0@pci0:0:3:0: =C2=A0 =C2=A0 =C2=A0 class=3D0x060100 card=3D0x50011458 c= hip=3D0x156310b9 rev=3D0x70 hdr=3D0x00 =C2=A0=C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'Acer Labs Incorporated (ALi/UL= i)' =C2=A0=C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'ALI M1563 South Bridge with Hy= pertransport Support' =C2=A0=C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D bridge =C2=A0=C2=A0 =C2=A0subclass =C2=A0 =3D PCI-ISA none0@pci0:0:3:1: =C2=A0 =C2=A0 =C2=A0 class=3D0x068000 card=3D0x50031458 c= hip=3D0x710110b9 rev=3D0x00 hdr=3D0x00 =C2=A0=C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'Acer Labs Incorporated (ALi/UL= i)' =C2=A0=C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'ALI M7101 Power Management Con= troller' =C2=A0=C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D bridge none1@pci0:0:4:0: =C2=A0 =C2=A0 =C2=A0 class=3D0x040100 card=3D0xae011458 c= hip=3D0x545510b9 rev=3D0x20 hdr=3D0x00 =C2=A0=C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'Acer Labs Incorporated (ALi/UL= i)' =C2=A0=C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'AC'97 Audio Controller (M1563M= Southbridge)' =C2=A0=C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D multimedia =C2=A0=C2=A0 =C2=A0subclass =C2=A0 =3D audio atapci0@pci0:0:14:0: =C2=A0 =C2=A0class=3D0x0101fa card=3D0x50021458 chip= =3D0x522910b9 rev=3D0xc7 hdr=3D0x00 =C2=A0=C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'Acer Labs Incorporated (ALi/UL= i)' =C2=A0=C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'EIDE Controller (M5229 Southbr= idge)' =C2=A0=C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D mass storage =C2=A0=C2=A0 =C2=A0subclass =C2=A0 =3D ATA atapci1@pci0:0:14:1: =C2=A0 =C2=A0class=3D0x01018f card=3D0xb0031458 chip= =3D0x528910b9 rev=3D0x10 hdr=3D0x00 =C2=A0=C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'Acer Labs Incorporated (ALi/UL= i)' =C2=A0=C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'M5289 SATA/Raid controller (UL= I M1567/M1689 )' =C2=A0=C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D mass storage =C2=A0=C2=A0 =C2=A0subclass =C2=A0 =3D ATA ohci0@pci0:0:15:0: =C2=A0 =C2=A0 =C2=A0class=3D0x0c0310 card=3D0x50041458 c= hip=3D0x523710b9 rev=3D0x03 hdr=3D0x00 =C2=A0=C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'Acer Labs Incorporated (ALi/UL= i)' =C2=A0=C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'OpenHCI 1.1 USB to =C2=A02.0 (= M5273 A1 for windows 98)' =C2=A0=C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D serial bus =C2=A0=C2=A0 =C2=A0subclass =C2=A0 =3D USB ohci1@pci0:0:15:1: =C2=A0 =C2=A0 =C2=A0class=3D0x0c0310 card=3D0x50041458 c= hip=3D0x523710b9 rev=3D0x03 hdr=3D0x00 =C2=A0=C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'Acer Labs Incorporated (ALi/UL= i)' =C2=A0=C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'OpenHCI 1.1 USB to =C2=A02.0 (= M5273 A1 for windows 98)' =C2=A0=C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D serial bus =C2=A0=C2=A0 =C2=A0subclass =C2=A0 =3D USB ohci2@pci0:0:15:2: =C2=A0 =C2=A0 =C2=A0class=3D0x0c0310 card=3D0x50041458 c= hip=3D0x523710b9 rev=3D0x03 hdr=3D0x00 =C2=A0=C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'Acer Labs Incorporated (ALi/UL= i)' =C2=A0=C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'OpenHCI 1.1 USB to =C2=A02.0 (= M5273 A1 for windows 98)' =C2=A0=C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D serial bus =C2=A0=C2=A0 =C2=A0subclass =C2=A0 =3D USB ehci0@pci0:0:15:3: =C2=A0 =C2=A0 =C2=A0class=3D0x0c0320 card=3D0x50041458 c= hip=3D0x523910b9 rev=3D0x01 hdr=3D0x00 =C2=A0=C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'Acer Labs Incorporated (ALi/UL= i)' =C2=A0=C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'USB EHCI2.0 Controller (527210= B9)' =C2=A0=C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D serial bus =C2=A0=C2=A0 =C2=A0subclass =C2=A0 =3D USB hostb1@pci0:0:24:0: =C2=A0 =C2=A0 class=3D0x060000 card=3D0x00000000 chip= =3D0x11001022 rev=3D0x00 hdr=3D0x00 =C2=A0=C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'Advanced Micro Devices (AMD)' =C2=A0=C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'Athlon64/Opteron/Sempron (K8 F= amily) HyperTransport Technology Configuration' =C2=A0=C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D bridge =C2=A0=C2=A0 =C2=A0subclass =C2=A0 =3D HOST-PCI hostb2@pci0:0:24:1: =C2=A0 =C2=A0 class=3D0x060000 card=3D0x00000000 chip= =3D0x11011022 rev=3D0x00 hdr=3D0x00 =C2=A0=C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'Advanced Micro Devices (AMD)' =C2=A0=C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'Athlon64/Opteron/Sempron (K8 F= amily) Address Map' =C2=A0=C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D bridge =C2=A0=C2=A0 =C2=A0subclass =C2=A0 =3D HOST-PCI hostb3@pci0:0:24:2: =C2=A0 =C2=A0 class=3D0x060000 card=3D0x00000000 chip= =3D0x11021022 rev=3D0x00 hdr=3D0x00 =C2=A0=C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'Advanced Micro Devices (AMD)' =C2=A0=C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'Athlon64/Opteron/Sempron (K8 F= amily) DRAM Controller' =C2=A0=C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D bridge =C2=A0=C2=A0 =C2=A0subclass =C2=A0 =3D HOST-PCI hostb4@pci0:0:24:3: =C2=A0 =C2=A0 class=3D0x060000 card=3D0x00000000 chip= =3D0x11031022 rev=3D0x00 hdr=3D0x00 =C2=A0=C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'Advanced Micro Devices (AMD)' =C2=A0=C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'Athlon64/Opteron/Sempron (K8 F= amily) Miscellaneous Control' =C2=A0=C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D bridge =C2=A0=C2=A0 =C2=A0subclass =C2=A0 =3D HOST-PCI vgapci0@pci0:1:0:0: =C2=A0 =C2=A0 class=3D0x030000 card=3D0x00000000 chip= =3D0x011010de rev=3D0xa1 hdr=3D0x00 =C2=A0=C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'Nvidia Corp' =C2=A0=C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'GeForce2 MX / MX 400 (NV11)' =C2=A0=C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D display =C2=A0=C2=A0 =C2=A0subclass =C2=A0 =3D VGA em0@pci0:2:6:0: class=3D0x020000 card=3D0x13768086 chip=3D0x107c8086 rev=3D= 0x05 hdr=3D0x00 =C2=A0=C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'Intel Corporation' =C2=A0=C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'Gigabit Ethernet Controller (C= opper) rev 5 (82541PI)' =C2=A0=C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D network =C2=A0=C2=A0 =C2=A0subclass =C2=A0 =3D ethernet hptrr0@pci0:2:8:0: =C2=A0 =C2=A0 =C2=A0class=3D0x010000 card=3D0x11ab11ab c= hip=3D0x608111ab rev=3D0x09 hdr=3D0x00 =C2=A0=C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'Marvell Semiconductor (Was: Ga= lileo Technology Ltd)' =C2=A0=C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'MV88SX6081 8-port SATA II PCI-= X Controller' =C2=A0=C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D mass storage =C2=A0=C2=A0 =C2=A0subclass =C2=A0 =3D SCSI rl0@pci0:2:10:0: =C2=A0 =C2=A0 =C2=A0 =C2=A0class=3D0x020000 card=3D0xe0001= 458 chip=3D0x813910ec rev=3D0x10 hdr=3D0x00 =C2=A0=C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'Realtek Semiconductor' =C2=A0=C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'Realtek RTL8139 Family PCI Fas= t Ethernet NIC (RTL-8139/8139C/8139C)' =C2=A0=C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D network =C2=A0=C2=A0 =C2=A0subclass =C2=A0 =3D ethernet =C2=A0 Thanks, Ryan =C2=A0 On May 26, 2010 at 5:48 PM Garrett Cooper wrote: > On Wed, May 26, 2010 at 10:23 AM, Ryan Holt wrote: > > > >>Number: =C2=A0 =C2=A0 =C2=A0 =C2=A0 147086 > >>Category: =C2=A0 =C2=A0 =C2=A0 kern > >>Synopsis: =C2=A0 =C2=A0 =C2=A0 AHCI not being enabled on PC > >>Confidential: =C2=A0 no > >>Severity: =C2=A0 =C2=A0 =C2=A0 serious > >>Priority: =C2=A0 =C2=A0 =C2=A0 medium > >>Responsible: =C2=A0 =C2=A0freebsd-bugs > >>State: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0open > >>Quarter: > >>Keywords: > >>Date-Required: > >>Class: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sw-bug > >>Submitter-Id: =C2=A0 current-users > >>Arrival-Date: =C2=A0 Wed May 26 17:30:13 UTC 2010 > >>Closed-Date: > >>Last-Modified: > >>Originator: =C2=A0 =C2=A0 Ryan Holt > >>Release: =C2=A0 =C2=A0 =C2=A0 =C2=A08.0-Stable-201004 > >>Organization: > >>Environment: > > FreeBSD fs.holthome.local 8.0-STABLE-201004 FreeBSD 8.0-STABLE-201004 #= 0: > > Mon Apr =C2=A05 15:59:06 UTC 2010 =C2=A0 =C2=A0 > > root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC =C2=A0amd64 > >>Description: > > Hello, > > > > I've got a fresh install of FreeBSD 8.0-Stable-201004 built on a Gigaby= te > > GA-K8U-754 Motherboard > > (http://www.gigabyte.com.tw/Products/Motherboard/Products_Spec.aspx?Pro= ductID=3D1876 > > ). The boot drives are plugged directly into the Motherboard's SATA por= ts, > > which I believe is powered by a ULi M1689 chipset. I also have a Superm= icro > > AOC-SAT2-MV8 PCI-X HBA card > > (http://www.supermicro.com/products/accessories/addon/AOC-SAT2-MV8.cfm) > > which has a Hercules-2 Rev. C0 SATA host controller built in. I've adde= d > > ahci_load=3D"YES" in my /boot/loader.conf and I can see that ahci.ko wa= s > > loaded using klstat, but I do not see any drives appearing that use the= ahci > > module. All drives are labeled /dev/ad* instead of /dev/ada* and hotswa= p > > doesn't work properly. Running dmesg |grep -i ahci comes back empty. > >>How-To-Repeat: > > 1. Boot computer > > 2. Run dmesg |grep -i ahci > > 3. Unplug drive, watch PC kernel panic > >>Fix: > > Hi Ryan, >=C2=A0 =C2=A0 =C2=A0A few requests: >=C2=A0 =C2=A0 =C2=A01. Can you please try a CURRENT CD to see if the drive= s detect and > attach themselves to ahci(4) properly? >=C2=A0 =C2=A0 =C2=A02. Could you please provide us with the device IDs for= the controller? > Thanks! > -Garrett ------=_Part_46482_1005083949.1274900197056 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Hi Garrett,

 

How can I get the device IDs? pciconf?

 

[root@fs /usr/src]# pciconf -lv

hostb0@pci0:0:0:0:      class=0x060000 card=0x50001458 chip=0x168910b9 rev=0x00 hdr=0x00

    vendor     = 'Acer Labs Incorporated (ALi/ULi)'

    device     = 'ULi M1689 K8 Northbridge with AGP and hypertransport'

    class      = bridge

    subclass   = HOST-PCI

pcib1@pci0:0:1:0:       class=0x060400 card=0x00000000 chip=0x524610b9 rev=0x00 hdr=0x01

    vendor     = 'Acer Labs Incorporated (ALi/ULi)'

    device     = 'ULi AGP 3.0 Controller'

    class      = bridge

    subclass   = PCI-PCI

pcib2@pci0:0:2:0:       class=0x060401 card=0x00000000 chip=0x524910b9 rev=0x00 hdr=0x01

    vendor     = 'Acer Labs Incorporated (ALi/ULi)'

    device     = 'HyperTransport to PCI Bridge (M5249)'

    class      = bridge

    subclass   = PCI-PCI

isab0@pci0:0:3:0:       class=0x060100 card=0x50011458 chip=0x156310b9 rev=0x70 hdr=0x00

    vendor     = 'Acer Labs Incorporated (ALi/ULi)'

    device     = 'ALI M1563 South Bridge with Hypertransport Support'

    class      = bridge

    subclass   = PCI-ISA

none0@pci0:0:3:1:       class=0x068000 card=0x50031458 chip=0x710110b9 rev=0x00 hdr=0x00

    vendor     = 'Acer Labs Incorporated (ALi/ULi)'

    device     = 'ALI M7101 Power Management Controller'

    class      = bridge

none1@pci0:0:4:0:       class=0x040100 card=0xae011458 chip=0x545510b9 rev=0x20 hdr=0x00

    vendor     = 'Acer Labs Incorporated (ALi/ULi)'

    device     = 'AC'97 Audio Controller (M1563M Southbridge)'

    class      = multimedia

    subclass   = audio

atapci0@pci0:0:14:0:    class=0x0101fa card=0x50021458 chip=0x522910b9 rev=0xc7 hdr=0x00

    vendor     = 'Acer Labs Incorporated (ALi/ULi)'

    device     = 'EIDE Controller (M5229 Southbridge)'

    class      = mass storage

    subclass   = ATA

atapci1@pci0:0:14:1:    class=0x01018f card=0xb0031458 chip=0x528910b9 rev=0x10 hdr=0x00

    vendor     = 'Acer Labs Incorporated (ALi/ULi)'

    device     = 'M5289 SATA/Raid controller (ULI M1567/M1689 )'

    class      = mass storage

    subclass   = ATA

ohci0@pci0:0:15:0:      class=0x0c0310 card=0x50041458 chip=0x523710b9 rev=0x03 hdr=0x00

    vendor     = 'Acer Labs Incorporated (ALi/ULi)'

    device     = 'OpenHCI 1.1 USB to  2.0 (M5273 A1 for windows 98)'

    class      = serial bus

    subclass   = USB

ohci1@pci0:0:15:1:      class=0x0c0310 card=0x50041458 chip=0x523710b9 rev=0x03 hdr=0x00

    vendor     = 'Acer Labs Incorporated (ALi/ULi)'

    device     = 'OpenHCI 1.1 USB to  2.0 (M5273 A1 for windows 98)'

    class      = serial bus

    subclass   = USB

ohci2@pci0:0:15:2:      class=0x0c0310 card=0x50041458 chip=0x523710b9 rev=0x03 hdr=0x00

    vendor     = 'Acer Labs Incorporated (ALi/ULi)'

    device     = 'OpenHCI 1.1 USB to  2.0 (M5273 A1 for windows 98)'

    class      = serial bus

    subclass   = USB

ehci0@pci0:0:15:3:      class=0x0c0320 card=0x50041458 chip=0x523910b9 rev=0x01 hdr=0x00

    vendor     = 'Acer Labs Incorporated (ALi/ULi)'

    device     = 'USB EHCI2.0 Controller (527210B9)'

    class      = serial bus

    subclass   = USB

hostb1@pci0:0:24:0:     class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 hdr=0x00

    vendor     = 'Advanced Micro Devices (AMD)'

    device     = 'Athlon64/Opteron/Sempron (K8 Family) HyperTransport Technology Configuration'

    class      = bridge

    subclass   = HOST-PCI

hostb2@pci0:0:24:1:     class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 hdr=0x00

    vendor     = 'Advanced Micro Devices (AMD)'

    device     = 'Athlon64/Opteron/Sempron (K8 Family) Address Map'

    class      = bridge

    subclass   = HOST-PCI

hostb3@pci0:0:24:2:     class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 hdr=0x00

    vendor     = 'Advanced Micro Devices (AMD)'

    device     = 'Athlon64/Opteron/Sempron (K8 Family) DRAM Controller'

    class      = bridge

    subclass   = HOST-PCI

hostb4@pci0:0:24:3:     class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 hdr=0x00

    vendor     = 'Advanced Micro Devices (AMD)'

    device     = 'Athlon64/Opteron/Sempron (K8 Family) Miscellaneous Control'

    class      = bridge

    subclass   = HOST-PCI

vgapci0@pci0:1:0:0:     class=0x030000 card=0x00000000 chip=0x011010de rev=0xa1 hdr=0x00

    vendor     = 'Nvidia Corp'

    device     = 'GeForce2 MX / MX 400 (NV11)'

    class      = display

    subclass   = VGA

em0@pci0:2:6:0: class=0x020000 card=0x13768086 chip=0x107c8086 rev=0x05 hdr=0x00

    vendor     = 'Intel Corporation'

    device     = 'Gigabit Ethernet Controller (Copper) rev 5 (82541PI)'

    class      = network

    subclass   = ethernet

hptrr0@pci0:2:8:0:      class=0x010000 card=0x11ab11ab chip=0x608111ab rev=0x09 hdr=0x00

    vendor     = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'

    device     = 'MV88SX6081 8-port SATA II PCI-X Controller'

    class      = mass storage

    subclass   = SCSI

rl0@pci0:2:10:0:        class=0x020000 card=0xe0001458 chip=0x813910ec rev=0x10 hdr=0x00

    vendor     = 'Realtek Semiconductor'

    device     = 'Realtek RTL8139 Family PCI Fast Ethernet NIC (RTL-8139/8139C/8139C)'

    class      = network

    subclass   = ethernet



 

Thanks,

Ryan

 

On May 26, 2010 at 5:48 PM Garrett Cooper <yanefbsd@gmail.com> wrote:

> On Wed, May 26, 2010 at 10:23 AM, Ryan Holt <ryan@ryanholt.net> wrote:
> >
> >>Number:         147086
> >>Category:       kern
> >>Synopsis:       AHCI not being enabled on PC
> >>Confidential:   no
> >>Severity:       serious
> >>Priority:       medium
> >>Responsible:    freebsd-bugs
> >>State:          open
> >>Quarter:
> >>Keywords:
> >>Date-Required:
> >>Class:          sw-bug
> >>Submitter-Id:   current-users
> >>Arrival-Date:   Wed May 26 17:30:13 UTC 2010
> >>Closed-Date:
> >>Last-Modified:
> >>Originator:     Ryan Holt
> >>Release:        8.0-Stable-201004
> >>Organization:
> >>Environment:
> > FreeBSD fs.holthome.local 8.0-STABLE-201004 FreeBSD 8.0-STABLE-201004 #0: Mon Apr  5 15:59:06 UTC 2010     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
> >>Description:
> > Hello,
> >
> > I've got a fresh install of FreeBSD 8.0-Stable-201004 built on a Gigabyte GA-K8U-754 Motherboard (http://www.gigabyte.com.tw/Products/Motherboard/Products_Spec.aspx?ProductID=1876). The boot drives are plugged directly into the Motherboard's SATA ports, which I believe is powered by a ULi M1689 chipset. I also have a Supermicro AOC-SAT2-MV8 PCI-X HBA card (http://www.supermicro.com/products/accessories/addon/AOC-SAT2-MV8.cfm) which has a Hercules-2 Rev. C0 SATA host controller built in. I've added ahci_load="YES" in my /boot/loader.conf and I can see that ahci.ko was loaded using klstat, but I do not see any drives appearing that use the ahci module. All drives are labeled /dev/ad* instead of /dev/ada* and hotswap doesn't work properly. Running dmesg |grep -i ahci comes back empty.
> >>How-To-Repeat:
> > 1. Boot computer
> > 2. Run dmesg |grep -i ahci
> > 3. Unplug drive, watch PC kernel panic
> >>Fix:
>
> Hi Ryan,
>     A few requests:
>     1. Can you please try a CURRENT CD to see if the drives detect and
> attach themselves to ahci(4) properly?
>     2. Could you please provide us with the device IDs for the controller?
> Thanks!
> -Garrett
------=_Part_46482_1005083949.1274900197056--