Re: No ATA disks on 9.1

From: John Baldwin <jhb_at_freebsd.org>
Date: Fri, 3 May 2013 14:33:32 -0400
On Friday, May 03, 2013 1:53:35 pm Alex Keda wrote:
> 03.05.2013 20:41, John Baldwin пишет:
> > 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.  
Can
> > you try the patch below, but can you also get the output of 'devinfo -u' 
and
> > 'devinfo -rv' from the 9.0 kernel?
> see attached files

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

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

% patch < ~/work/patches/pci_fail_reseve.patch 
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: /home/jhb/work/freebsd/svn/head/sys/dev/pci/pci.c
|===================================================================
|--- /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)
--------------------------
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
...
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

-- 
John Baldwin
Received on Fri May 03 2013 - 16:33:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:37 UTC