Native SATA vs. PATA-emulation - difference?

John-Mark Gurney gurney_j at resnet.uoregon.edu
Mon May 21 20:42:29 UTC 2007


Patrick M. Hausen wrote this message on Mon, May 21, 2007 at 15:18 +0200:
> Hi, all!
> 
> On Mon, May 21, 2007 at 02:36:48PM +0200, Oliver Fromme wrote:
> 
> > Are the disk sizes exactly the same in both cases?  Please
> > provide dmesg output from the 2nd case (native SATA).
> 
> Good point ;-) But ...
> 
> P-ATA emulation:
> 
> atapci0: <ServerWorks HT1000 SATA150 controller> port 0xc080-0xc087,0xc000-0xc003,0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb80f mem 0xff3fe000-0xff3fffff irq 11 at device 14.0 on pci1
> ata2: <ATA channel 0> on atapci0
> ata3: <ATA channel 1> on atapci0
> ad4: DMA limited to UDMA33, device found non-ATA66 cable
> ad4: 157066MB <WDC WD1600YS-01SHB1 20.06C06> at ata2-master UDMA33
> ad6: DMA limited to UDMA33, device found non-ATA66 cable
> ad6: 157066MB <WDC WD1600YS-01SHB1 20.06C06> at ata3-master UDMA33
> 
> Native S-ATA:
> 
> atapci0: <ServerWorks HT1000 SATA150 controller> port 0xc080-0xc087,0xc000-0xc003,0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb80f mem 0xff3fe000-0xff3fffff irq 11 at device 14.0 on pci1
> ata2: <ATA channel 0> on atapci0
> ata3: <ATA channel 1> on atapci0
> ad4: 157066MB <WDC WD1600YS-01SHB1 20.06C06> at ata2-master SATA150
> ad6: 157066MB <WDC WD1600YS-01SHB1 20.06C06> at ata3-master SATA150
> 
> I don't see a difference here that could be the root cause of the
> problem.
> 
> Besides, I'm using ad4s1 and ad6s1 as the providers for
> gmirror, so a few sectors plus/minus at the very end of the
> raw disk should not matter.

That doesn't show the exact size... run diskinfo on each of them and
that will tell you the reported to geom size..

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-stable mailing list