Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 May 2013 14:33:32 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Alex Keda <admin@lissyara.su>
Cc:        hardware@freebsd.org, current@freebsd.org
Subject:   Re: No ATA disks on 9.1
Message-ID:  <201305031433.33111.jhb@freebsd.org>
In-Reply-To: <5183F99F.40705@lissyara.su>
References:  <5182CA25.9030001@lissyara.su> <201305031241.36538.jhb@freebsd.org> <5183F99F.40705@lissyara.su>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, May 03, 2013 1:53:35 pm Alex Keda wrote:
> 03.05.2013 20:41, John Baldwin =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
> > On Thursday, May 02, 2013 4:18:45 pm Alex Keda wrote:
> >> see begin in:
> >> http://lists.freebsd.org/pipermail/freebsd-current/2012-
November/038000.html
> >
> > Hmm, what I see is that hdac0 is affected by this, but it's a bit odd. =
=20
Can
> > you try the patch below, but can you also get the output of 'devinfo -u=
'=20
and
> > 'devinfo -rv' from the 9.0 kernel?
> see attached files

Ok, your BIOS assigns conflicting resources to ahci0 and hdac0.  HPS' patch=
=20
means that hdac0 claims register reads of ahci0 which breaks things.  The=20
patch I posted should help.

I was able to apply the patch to 9 without any difficulties:

% patch < ~/work/patches/pci_fail_reseve.patch=20
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
=2D-------------------------
|Index: /home/jhb/work/freebsd/svn/head/sys/dev/pci/pci.c
|=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
|--- /home/jhb/work/freebsd/svn/head/sys/dev/pci/pci.c  (revision 250212)
|+++ /home/jhb/work/freebsd/svn/head/sys/dev/pci/pci.c  (working copy)
=2D-------------------------
Patching file pci.c using Plan A...
Hunk #1 succeeded at 2745 (offset -71 lines).
done

That file hasn't changed since 9.1, so no idea why it doesn't work for you.

% svn info pci.c
Path: pci.c
Name: pci.c
=2E..
URL: svn+ssh://svn.freebsd.org/base/stable/9/sys/dev/pci/pci.c
Repository Root: svn+ssh://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 250212
Node Kind: file
Schedule: normal
Last Changed Author: marius
Last Changed Rev: 248052

=2D-=20
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305031433.33111.jhb>