Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2008 10:27:00 +0400
From:      sam <samflanker@gmail.com>
To:        elloallo@infinito.it,  freebsd-hackers@freebsd.org
Subject:   Re: kern/98388: [ata] FreeBSD 6.1 - WDC WD1200JS SATA II disks are seen as older SATA
Message-ID:  <48A3D034.9090809@gmail.com>

next in thread | raw e-mail | index | archive | help
 elloallo@infinito.it wrote:
>
>
> I bought an ASUS motherboard with onboard SATA II controller. I
> attached 2 HDs SATA II but when I run dmesg I notice that my system
> sees them as normal older SATA 150 instead of SATA 300.
>
> Is there any suggestion to solve this problem ?
>
> Have a nice day.
>
> ------------------dmesg output-----------------------
>
> Copyright (c) 1992-2006 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
> 1994
>         The Regents of the University of California. All rights
> reserved.
> FreeBSD 6.1-RELEASE-p1 #0: Fri Jun  2 15:41:03 CEST 2006
>     r...@AMOS-gw1.allo.it:/usr/obj/usr/src/sys/AMOS-SMP
> WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant
> WARNING: MPSAFE network stack disabled, expect reduced performance.
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Intel(R) Pentium(R) D CPU 3.00GHz (3000.38-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0xf62  Stepping = 2
>
> Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MC­A,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>   Features2=0xe43d<SSE3,RSVD2,MON,DS_CPL,VMX,CNTX-ID,CX16,<b14>,<b15>>
>   AMD Features=0x20000000<LM>
>   AMD Features2=0x1<LAHF>
>   Cores per package: 2
> real memory  = 2138701824 (2039 MB)
> avail memory = 2087825408 (1991 MB)
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  1
> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
> cpu0: <ACPI CPU> on acpi0
> acpi_throttle0: <ACPI CPU Throttling> on cpu0
> cpu1: <ACPI CPU> on acpi0
> atapci0: <ITE IT8211F UDMA133 controller> port
> 0xc800-0xc807,0xc400-0xc403,0xc000-0xc007,0xb800-0xb803,0xb400-0xb40f
> irq 19 at device 4.0 on pci1
> ata2: <ATA channel 0> on atapci0
> ata3: <ATA channel 1> on atapci0
> atapci1: <Intel ICH7 UDMA100 controller> port
> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on
> pci0
> ata0: <ATA channel 0> on atapci1
> ata1: <ATA channel 1> on atapci1
> atapci2: <Intel ICH7 SATA300 controller> port
> 0xa800-0xa807,0xa400-0xa403,0xa000-0xa007,0x9800-0x9803,0x9400-0x940f
> irq 17 at device 31.2 on pci0
> atapci2: failed to enable memory mapping!
> ata4: <ATA channel 0> on atapci2
> ata5: <ATA channel 1> on atapci2
> acd0: DVDROM <HL-DT-STDVD-ROM GDR8163B/0L23> at ata0-master UDMA33
> ad8: 114473MB <WDC WD1200JS-00MHB0 02.01C03> at ata4-master SATA150
> GEOM_MIRROR: Device gm0 created (id=2415013281).
> GEOM_MIRROR: Device gm0: provider ad8 detected.
> ad10: 114473MB <WDC WD1200JS-00MHB0 02.01C03> at ata5-master SATA150
> GEOM_MIRROR: Device gm0: provider ad10 detected.
> SMP: AP CPU #1 Launched!
> GEOM_MIRROR: Device gm0: provider ad10 activated.
> GEOM_MIRROR: Device gm0: provider mirror/gm0 launched.
> GEOM_MIRROR: Device gm0: rebuilding provider ad8.
> Trying to mount root from ufs:/dev/mirror/gm0s1a
> em0: link state changed to UP
>   

hello

my similar problem
motherboard with the Intel G31 Express Chipset

--------------------------------------------------------------------
|# output 'dmesg' (|partially|)
atapci1: <Intel ICH7 SATA300 controller> port 
0xc880-0xc887,0xc800-0xc803,0xc480-0xc487,0xc400-0xc403,0xc080-0xc08f 
irq 19 at device 31.2 on pci0
atapci1: [ITHREAD]
ad7: 476940MB <WDC WD5000AAKS-00YGA0 12.01C02> at ata3-slave SATA150

# atacontrol cap ad7

Protocol              Serial ATA II
device model          WDC WD5000AAKS-00YGA0
serial number         WD-WCAS87395070
firmware revision     12.01C02
cylinders             16383
heads                 16
sectors/track         63
lba supported         268435455 sectors
lba48 supported       976773168 sectors
dma supported
overlap not supported

Feature                      Support  Enable    Value           Vendor
write cache                    yes      yes
read ahead                     yes      yes
Native Command Queuing (NCQ)   yes       -      31/0x1F
Tagged Command Queuing (TCQ)   no       no      31/0x1F
SMART                          yes      yes
microcode download             yes      yes
security                       yes      no
power management               yes      yes
advanced power management      no       no      0/0x00
automatic acoustic management  yes      no      254/0xFE        128/0x80

# atacontrol mode ad7
current mode = SATA150

# output 'pciconf -lv' (|partially|)
atapci1@pci0:0:31:2:    class=0x01018f card=0x26391019 chip=0x27c08086 
rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller'
    class      = mass storage
    subclass   = ATA

# uname -a
FreeBSD  7.0-STABLE FreeBSD 7.0-STABLE #5: Tue Aug 12 13:54:27 MSD 2008  
   root@:/usr/obj/usr/src/sys/GENERIC  i386
|--------------------------------------------------------------------

please, any solution ?

/Vladimir Ermakov





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