kern/118477: BETA4 installer doesn't attach my HDD controller;
BETA3 did
Andrey V. Elsukov
bu7cher at yandex.ru
Thu Dec 6 23:30:06 PST 2007
The following reply was made to PR kern/118477; it has been noted by GNATS.
From: "Andrey V. Elsukov" <bu7cher at yandex.ru>
To: Todd Wasson <tsw5 at duke.edu>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: kern/118477: BETA4 installer doesn't attach my HDD controller;
BETA3 did
Date: Fri, 07 Dec 2007 10:10:39 +0300
This is a multi-part message in MIME format.
--------------010200000106090202080003
Content-Type: text/plain; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: 7bit
Todd Wasson wrote:
> I've tried this with both i386 and amd64 install discs, with the
> same results. I've also updated my BETA3 install to CURRENT and
> built the kernel and run into this same error, so clearly some
> code is checked into the tree now, as it was at the time
> of BETA4's release, that is causing this issue.
>> How-To-Repeat: > Boot the 7.0-BETA4 disc 1 install CD. Alternatively, csup to
CURRENT from BETA3, build the kernel, and boot into it.
>> Fix:
Hi, Todd.
Can you try the attached patch?
--
WBR, Andrey V. Elsukov
--------------010200000106090202080003
Content-Type: text/plain;
name="ata-chipset.c.diff.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="ata-chipset.c.diff.txt"
--- src/sys/dev/ata/ata-chipset.c 2007-11-22 00:15:00.000000000 +0300
+++ src/sys/dev/ata/ata-chipset.c 2007-12-07 10:07:21.000000000 +0300
@@ -2243,7 +2243,7 @@ ata_jmicron_chipinit(device_t dev)
return ENXIO;
/* do we have multiple PCI functions ? */
- if (pci_read_config(dev, 0xdf, 1) & 0x40) {
+ if ((pci_read_config(dev, 0xdf, 1) & 0x40) || ctlr->chip->cfg1 == 0) {
/* are we on the AHCI part ? */
if (ata_ahci_chipinit(dev) != ENXIO)
return 0;
--------------010200000106090202080003--
More information about the freebsd-bugs
mailing list