Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jun 2009 19:06:08 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Alexander Motin <mav@freebsd.org>, FreeBSD-Current <freebsd-current@freebsd.org>
Cc:        scottl@freebsd.org
Subject:   Re: RFC: ATA to CAM integration patch
Message-ID:  <200906272303.n5RN3rTi070177@lava.sentex.ca>
In-Reply-To: <4A4517BE.9040504@FreeBSD.org>
References:  <4A4517BE.9040504@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 02:47 PM 6/26/2009, Alexander Motin wrote:
>Hi.
>To test our work you should:
>  - have any AHCI compatible controller configured to native AHCI 
> mode (not a COMPATIBLE or RAID or whatever else) by BIOS;
>  - have some Serial ATA/ATAPI drives connected to AHCI controller;
>  - patch your recently updated 8-CURRENT with this patch:
>         http://people.freebsd.org/~mav/cam-ata.20090626.patch
>  - rebuild and install world and kernel;
>  - read new ahci man page;
>  - make sure that you will be able to boot if your SATA disk 
> devices name change from some ad4 to ada0;
>  - load ahci kernel module using loader prompt or loader.conf;
>  - boot.


No luck with an ICH10 board

I did a buildworld/kernel


BTX loader 1.00  BTX version is 
1.02
Consoles: internal 
video/keyboard
BIOS drive C: is 
disk0
BIOS 632kB/3136000kB available 
memory

FreeBSD/i386 bootstrap loader, Revision 
1.1
(mdtancsa@i7.sentex.ca, Fri Jun 26 08:24:30 EDT 
2009)
  ** 


28 ops  7 bypasses  93 hits  31 misses  1 
flushes
Consoles: internal 
video/keyboard
BIOS drive C: is 
disk0
BIOS 632kB/3136000kB available 
memory

FreeBSD/i386 bootstrap loader, Revision 
1.1
(mdtancsa@i7.sentex.ca, Fri Jun 26 08:24:30 EDT 
2009)
Can't work out which disk we are booting 
from.
Guessed BIOS device 0xffffffff not found by probes, defaulting to 
disk0:

can't load 
'kernel'

Type '?' for a list of commands, 'help' for more detailed 
help.
OK

OK 
lsdev
cd 
devices:
disk 
devices:
     disk0:   BIOS drive 
C:
pxe 
devices:
OK


OK 
ls
open '/' failed: input/output 
error
OK

I tried with both a module and it built into the kernel
but no luck.  putting it back into regular IDE mode allows it to boot 
with the patched kernel

atapci0: <Intel ICH10 SATA300 controller> port 
0xc000-0xc007,0xbc00-0xbc03,0xb880-0xb887,0xb800-0xb803,0xb480-0xb48f,0xb400-0xb40f 
irq 19 at device 31.2 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xb480
atapci0: [MPSAFE]
atapci0: [ITHREAD]
atapci0: Reserved 0x10 bytes for rid 0x24 type 4 at 0xb400
ata2: <ATA channel 0> on atapci0
atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0xc000
atapci0: Reserved 0x4 bytes for rid 0x14 type 4 at 0xbc00
ata2: reset tp1 mask=03 ostat0=50 ostat1=10
ata2: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata2: stat1=0x00 err=0x01 lsb=0x14 msb=0xeb
ata2: reset tp2 stat0=50 stat1=00 devices=0x20001
ata2: [MPSAFE]
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0xb880
atapci0: Reserved 0x4 bytes for rid 0x1c type 4 at 0xb800
ata3: reset tp1 mask=03 ostat0=7f ostat1=7f
ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata3: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata3: stat1=0x7f err=0xff lsb=0xff msb=0xff
ata3: reset tp2 stat0=ff stat1=ff devices=0x0
ata3: [MPSAFE]
ata3: [ITHREAD]
atapci1: <Intel ICH10 SATA300 controller> port 
0xb000-0xb007,0xac00-0xac03,0xa880-0xa887,0xa800-0xa803,0xa480-0xa48f,0xa400-0xa40f 
irq 19 at device 31.5 on pci0
atapci1: Reserved 0x10 bytes for rid 0x20 type 4 at 0xa480
atapci1: [MPSAFE]
atapci1: [ITHREAD]
atapci1: Reserved 0x10 bytes for rid 0x24 type 4 at 0xa400
ata4: <ATA channel 0> on atapci1
atapci1: Reserved 0x8 bytes for rid 0x10 type 4 at 0xb000
atapci1: Reserved 0x4 bytes for rid 0x14 type 4 at 0xac00
ata4: reset tp1 mask=03 ostat0=7f ostat1=7f
ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata4: stat0=0x7f err=0xff lsb=0xff msb=0xff
ata4: stat1=0x7f err=0xff lsb=0xff msb=0xff
ata4: reset tp2 stat0=ff stat1=ff devices=0x0
ata4: [MPSAFE]
ata4: [ITHREAD] 




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