kern/147086: AHCI not being enabled on PC

ryan at ryanholt.net ryan at ryanholt.net
Wed May 26 19:10:07 UTC 2010


The following reply was made to PR kern/147086; it has been noted by GNATS.

From: "ryan at ryanholt.net" <ryan at ryanholt.net>
To: Garrett Cooper <yanefbsd at gmail.com>
Cc: Alexander Motin <mav at freebsd.org>, bug-followup at 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 at fs /usr/src]# pciconf -lv
 hostb0 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 <yanefbsd at gmail.com> wrote:
 
 > On Wed, May 26, 2010 at 10:23 AM, Ryan Holt <ryan at ryanholt.net> 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 at 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
 
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
     <title></title>
   </head>
 
   <body>
     <p style="margin: 0px;">Hi Garrett,</p>
 
     <p style="margin: 0px;">&#160;</p>
 
     <p style="margin: 0px;">How can I get the device IDs? pciconf?</p>
 
     <p style="margin: 0px;">&#160;</p>
 
     <p style="margin: 0px;"></p>
 
     <p style="margin: 0px;">[root at fs /usr/src]# pciconf -lv</p>
 
     <p style="margin: 0px;">hostb0 at pci0:0:0:0: &#160; &#160; &#160;class=0x060000 card=0x50001458 chip=0x168910b9 rev=0x00 hdr=0x00</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;vendor &#160; &#160; = &#39;Acer Labs Incorporated (ALi/ULi)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;device &#160; &#160; = &#39;ULi M1689 K8 Northbridge with AGP and hypertransport&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;class &#160; &#160; &#160;= bridge</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;subclass &#160; = HOST-PCI</p>
 
     <p style="margin: 0px;">pcib1 at pci0:0:1:0: &#160; &#160; &#160; class=0x060400 card=0x00000000 chip=0x524610b9 rev=0x00 hdr=0x01</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;vendor &#160; &#160; = &#39;Acer Labs Incorporated (ALi/ULi)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;device &#160; &#160; = &#39;ULi AGP 3.0 Controller&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;class &#160; &#160; &#160;= bridge</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;subclass &#160; = PCI-PCI</p>
 
     <p style="margin: 0px;">pcib2 at pci0:0:2:0: &#160; &#160; &#160; class=0x060401 card=0x00000000 chip=0x524910b9 rev=0x00 hdr=0x01</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;vendor &#160; &#160; = &#39;Acer Labs Incorporated (ALi/ULi)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;device &#160; &#160; = &#39;HyperTransport to PCI Bridge (M5249)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;class &#160; &#160; &#160;= bridge</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;subclass &#160; = PCI-PCI</p>
 
     <p style="margin: 0px;">isab0 at pci0:0:3:0: &#160; &#160; &#160; class=0x060100 card=0x50011458 chip=0x156310b9 rev=0x70 hdr=0x00</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;vendor &#160; &#160; = &#39;Acer Labs Incorporated (ALi/ULi)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;device &#160; &#160; = &#39;ALI M1563 South Bridge with Hypertransport Support&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;class &#160; &#160; &#160;= bridge</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;subclass &#160; = PCI-ISA</p>
 
     <p style="margin: 0px;">none0 at pci0:0:3:1: &#160; &#160; &#160; class=0x068000 card=0x50031458 chip=0x710110b9 rev=0x00 hdr=0x00</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;vendor &#160; &#160; = &#39;Acer Labs Incorporated (ALi/ULi)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;device &#160; &#160; = &#39;ALI M7101 Power Management Controller&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;class &#160; &#160; &#160;= bridge</p>
 
     <p style="margin: 0px;">none1 at pci0:0:4:0: &#160; &#160; &#160; class=0x040100 card=0xae011458 chip=0x545510b9 rev=0x20 hdr=0x00</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;vendor &#160; &#160; = &#39;Acer Labs Incorporated (ALi/ULi)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;device &#160; &#160; = &#39;AC&#39;97 Audio Controller (M1563M Southbridge)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;class &#160; &#160; &#160;= multimedia</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;subclass &#160; = audio</p>
 
     <p style="margin: 0px;">atapci0 at pci0:0:14:0: &#160; &#160;class=0x0101fa card=0x50021458 chip=0x522910b9 rev=0xc7 hdr=0x00</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;vendor &#160; &#160; = &#39;Acer Labs Incorporated (ALi/ULi)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;device &#160; &#160; = &#39;EIDE Controller (M5229 Southbridge)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;class &#160; &#160; &#160;= mass storage</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;subclass &#160; = ATA</p>
 
     <p style="margin: 0px;">atapci1 at pci0:0:14:1: &#160; &#160;class=0x01018f card=0xb0031458 chip=0x528910b9 rev=0x10 hdr=0x00</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;vendor &#160; &#160; = &#39;Acer Labs Incorporated (ALi/ULi)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;device &#160; &#160; = &#39;M5289 SATA/Raid controller (ULI M1567/M1689 )&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;class &#160; &#160; &#160;= mass storage</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;subclass &#160; = ATA</p>
 
     <p style="margin: 0px;">ohci0 at pci0:0:15:0: &#160; &#160; &#160;class=0x0c0310 card=0x50041458 chip=0x523710b9 rev=0x03 hdr=0x00</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;vendor &#160; &#160; = &#39;Acer Labs Incorporated (ALi/ULi)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;device &#160; &#160; = &#39;OpenHCI 1.1 USB to &#160;2.0 (M5273 A1 for windows 98)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;class &#160; &#160; &#160;= serial bus</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;subclass &#160; = USB</p>
 
     <p style="margin: 0px;">ohci1 at pci0:0:15:1: &#160; &#160; &#160;class=0x0c0310 card=0x50041458 chip=0x523710b9 rev=0x03 hdr=0x00</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;vendor &#160; &#160; = &#39;Acer Labs Incorporated (ALi/ULi)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;device &#160; &#160; = &#39;OpenHCI 1.1 USB to &#160;2.0 (M5273 A1 for windows 98)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;class &#160; &#160; &#160;= serial bus</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;subclass &#160; = USB</p>
 
     <p style="margin: 0px;">ohci2 at pci0:0:15:2: &#160; &#160; &#160;class=0x0c0310 card=0x50041458 chip=0x523710b9 rev=0x03 hdr=0x00</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;vendor &#160; &#160; = &#39;Acer Labs Incorporated (ALi/ULi)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;device &#160; &#160; = &#39;OpenHCI 1.1 USB to &#160;2.0 (M5273 A1 for windows 98)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;class &#160; &#160; &#160;= serial bus</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;subclass &#160; = USB</p>
 
     <p style="margin: 0px;">ehci0 at pci0:0:15:3: &#160; &#160; &#160;class=0x0c0320 card=0x50041458 chip=0x523910b9 rev=0x01 hdr=0x00</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;vendor &#160; &#160; = &#39;Acer Labs Incorporated (ALi/ULi)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;device &#160; &#160; = &#39;USB EHCI2.0 Controller (527210B9)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;class &#160; &#160; &#160;= serial bus</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;subclass &#160; = USB</p>
 
     <p style="margin: 0px;">hostb1 at pci0:0:24:0: &#160; &#160; class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 hdr=0x00</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;vendor &#160; &#160; = &#39;Advanced Micro Devices (AMD)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;device &#160; &#160; = &#39;Athlon64/Opteron/Sempron (K8 Family) HyperTransport Technology Configuration&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;class &#160; &#160; &#160;= bridge</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;subclass &#160; = HOST-PCI</p>
 
     <p style="margin: 0px;">hostb2 at pci0:0:24:1: &#160; &#160; class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 hdr=0x00</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;vendor &#160; &#160; = &#39;Advanced Micro Devices (AMD)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;device &#160; &#160; = &#39;Athlon64/Opteron/Sempron (K8 Family) Address Map&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;class &#160; &#160; &#160;= bridge</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;subclass &#160; = HOST-PCI</p>
 
     <p style="margin: 0px;">hostb3 at pci0:0:24:2: &#160; &#160; class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 hdr=0x00</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;vendor &#160; &#160; = &#39;Advanced Micro Devices (AMD)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;device &#160; &#160; = &#39;Athlon64/Opteron/Sempron (K8 Family) DRAM Controller&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;class &#160; &#160; &#160;= bridge</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;subclass &#160; = HOST-PCI</p>
 
     <p style="margin: 0px;">hostb4 at pci0:0:24:3: &#160; &#160; class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 hdr=0x00</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;vendor &#160; &#160; = &#39;Advanced Micro Devices (AMD)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;device &#160; &#160; = &#39;Athlon64/Opteron/Sempron (K8 Family) Miscellaneous Control&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;class &#160; &#160; &#160;= bridge</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;subclass &#160; = HOST-PCI</p>
 
     <p style="margin: 0px;">vgapci0 at pci0:1:0:0: &#160; &#160; class=0x030000 card=0x00000000 chip=0x011010de rev=0xa1 hdr=0x00</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;vendor &#160; &#160; = &#39;Nvidia Corp&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;device &#160; &#160; = &#39;GeForce2 MX / MX 400 (NV11)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;class &#160; &#160; &#160;= display</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;subclass &#160; = VGA</p>
 
     <p style="margin: 0px;">em0 at pci0:2:6:0: class=0x020000 card=0x13768086 chip=0x107c8086 rev=0x05 hdr=0x00</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;vendor &#160; &#160; = &#39;Intel Corporation&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;device &#160; &#160; = &#39;Gigabit Ethernet Controller (Copper) rev 5 (82541PI)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;class &#160; &#160; &#160;= network</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;subclass &#160; = ethernet</p>
 
     <p style="margin: 0px;">hptrr0 at pci0:2:8:0: &#160; &#160; &#160;class=0x010000 card=0x11ab11ab chip=0x608111ab rev=0x09 hdr=0x00</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;vendor &#160; &#160; = &#39;Marvell Semiconductor (Was: Galileo Technology Ltd)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;device &#160; &#160; = &#39;MV88SX6081 8-port SATA II PCI-X Controller&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;class &#160; &#160; &#160;= mass storage</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;subclass &#160; = SCSI</p>
 
     <p style="margin: 0px;">rl0 at pci0:2:10:0: &#160; &#160; &#160; &#160;class=0x020000 card=0xe0001458 chip=0x813910ec rev=0x10 hdr=0x00</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;vendor &#160; &#160; = &#39;Realtek Semiconductor&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;device &#160; &#160; = &#39;Realtek RTL8139 Family PCI Fast Ethernet NIC (RTL-8139/8139C/8139C)&#39;</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;class &#160; &#160; &#160;= network</p>
 
     <p style="margin: 0px;">&#160;&#160; &#160;subclass &#160; = ethernet</p>
     <br />
     <br />
      
 
     <p style="margin: 0px;">&#160;</p>
 
     <p style="margin: 0px;">Thanks,</p>
 
     <p style="margin: 0px;">Ryan<span></span></p>
 
     <p>&#160;</p>
 
     <div style="margin: 5px 0px 5px 0px; font-family: monospace;">
       On May 26, 2010 at 5:48 PM Garrett Cooper &lt;yanefbsd at gmail.com&gt; wrote:<br />
       <br />
       &gt; On Wed, May 26, 2010 at 10:23 AM, Ryan Holt &lt;ryan at ryanholt.net&gt; wrote:<br />
       &gt; &gt;<br />
       &gt; &gt;&gt;Number: &#160; &#160; &#160; &#160; 147086<br />
       &gt; &gt;&gt;Category: &#160; &#160; &#160; kern<br />
       &gt; &gt;&gt;Synopsis: &#160; &#160; &#160; AHCI not being enabled on PC<br />
       &gt; &gt;&gt;Confidential: &#160; no<br />
       &gt; &gt;&gt;Severity: &#160; &#160; &#160; serious<br />
       &gt; &gt;&gt;Priority: &#160; &#160; &#160; medium<br />
       &gt; &gt;&gt;Responsible: &#160; &#160;freebsd-bugs<br />
       &gt; &gt;&gt;State: &#160; &#160; &#160; &#160; &#160;open<br />
       &gt; &gt;&gt;Quarter:<br />
       &gt; &gt;&gt;Keywords:<br />
       &gt; &gt;&gt;Date-Required:<br />
       &gt; &gt;&gt;Class: &#160; &#160; &#160; &#160; &#160;sw-bug<br />
       &gt; &gt;&gt;Submitter-Id: &#160; current-users<br />
       &gt; &gt;&gt;Arrival-Date: &#160; Wed May 26 17:30:13 UTC 2010<br />
       &gt; &gt;&gt;Closed-Date:<br />
       &gt; &gt;&gt;Last-Modified:<br />
       &gt; &gt;&gt;Originator: &#160; &#160; Ryan Holt<br />
       &gt; &gt;&gt;Release: &#160; &#160; &#160; &#160;8.0-Stable-201004<br />
       &gt; &gt;&gt;Organization:<br />
       &gt; &gt;&gt;Environment:<br />
       &gt; &gt; FreeBSD fs.holthome.local 8.0-STABLE-201004 FreeBSD 8.0-STABLE-201004 #0: Mon Apr &#160;5 15:59:06 UTC 2010 &#160; &#160; root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC &#160;amd64<br />
       &gt; &gt;&gt;Description:<br />
       &gt; &gt; Hello,<br />
       &gt; &gt;<br />
       &gt; &gt; I&#39;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&#39;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&#39;ve added ahci_load=&quot;YES&quot; 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&#39;t work properly. Running dmesg |grep -i ahci comes back empty.<br />
       &gt; &gt;&gt;How-To-Repeat:<br />
       &gt; &gt; 1. Boot computer<br />
       &gt; &gt; 2. Run dmesg |grep -i ahci<br />
       &gt; &gt; 3. Unplug drive, watch PC kernel panic<br />
       &gt; &gt;&gt;Fix:<br />
       &gt;<br />
       &gt; Hi Ryan,<br />
       &gt;&#160; &#160; &#160;A few requests:<br />
       &gt;&#160; &#160; &#160;1. Can you please try a CURRENT CD to see if the drives detect and<br />
       &gt; attach themselves to ahci(4) properly?<br />
       &gt;&#160; &#160; &#160;2. Could you please provide us with the device IDs for the controller?<br />
       &gt; Thanks!<br />
       &gt; -Garrett<br />
     </div>
   </body>
 </html>
 
 ------=_Part_46482_1005083949.1274900197056--


More information about the freebsd-bugs mailing list