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