Re: No ATA disks on 9.1

John Baldwin <[email protected]>
Newsgroups gmane.os.freebsd.devel.hardware
Message-ID <201305031433.33111.jhb__19969.0052228563$1367606031$gmane$org@freebsd.org>
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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.