Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2007 02:44:07 -0800
From:      Ed Carrel <edward@carrel.org>
To:        freebsd-hardware@freebsd.org
Subject:   MCP51 SATA Controller not detecting attached drives
Message-ID:  <6564B43A-5EC0-4EF2-A9CE-74C07EE218FC@carrel.org>

next in thread | raw e-mail | index | archive | help
Hi freebsd-hardware,

FreeBSD 7.0-BETA2 is unable any devices off any of the ATA  
controllers on my box. I've found FreeBSD 6.2-RELEASE will recognize  
the hard drives, but will not recognize the DVD-ROM drive.

So everyone else knows what I know, here's the directly related parts  
of my hardware setup:

- MSI P6N SLI-FI motherboard
- nVidia nForce 650i northbridge
- nVidia MCP51 southbridge
- 2 x Seagate Barracuda ST332020AS, connected via SATA
- Lite-On DVD-ROM SHD-16S1S-05, connected via SATA

Below I provide what I think is the relevant dmesg output for 6.2- 
RELEASE -- note the distinct lack of the DVD drive.

Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
     root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0b63000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0b63188.
Calibrating clock(s) ... i8254 clock: 1193191 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254" frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 2399996538 Hz
CPU: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz (2400.00-MHz 686- 
class CPU)
   Origin = "GenuineIntel"  Id = 0x6f6  Stepping = 6
    
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE 
,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
    
Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,<b9>,CX16,<b14>,<b15> 
 >
   AMD Features=0x20100000<NX,LM>  AMD Features2=0x1<LAHF>  Cores per  
package: 2
real memory  = 2147287040 (2047 MB)

[snip]

uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 8 ports with 8 removable, self powered
atapci0: <nVidia nForce MCP51 UDMA133 controller> port  
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 13.0 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xffa0
ata0: <ATA channel 0> on atapci0
atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0
atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6
ata0: reset tp1 mask=03 ostat0=60 ostat1=70
ata0: stat0=0x20 err=0x20 lsb=0x20 msb=0x20
ata0: stat1=0x30 err=0x30 lsb=0x30 msb=0x30
ata0: reset tp2 stat0=20 stat1=30 devices=0x0
ioapic0: routing intpin 14 (ISA IRQ 14) to vector 51
ata0: [MPSAFE]
ata1: <ATA channel 1> on atapci0
atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170
atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376
ata1: reset tp1 mask=03 ostat0=60 ostat1=70
ata1: stat0=0x20 err=0x20 lsb=0x20 msb=0x20
ata1: stat1=0x30 err=0x30 lsb=0x30 msb=0x30
ata1: reset tp2 stat0=20 stat1=30 devices=0x0
ioapic0: routing intpin 15 (ISA IRQ 15) to vector 52
ata1: [MPSAFE]
atapci1: <nVidia nForce MCP51 SATA300 controller> port  
0xc800-0xc807,0xc480-0xc483,0xc400-0xc407,0xc080-0xc083,0xc000-0xc00f  
mem 0xfbffd000-0xfbffdfff irq 23 at device 14.0 on pci0
atapci1: Reserved 0x10 bytes for rid 0x20 type 4 at 0xc000
ioapic0: routing intpin 23 (PCI IRQ 23) to vector 53
atapci1: [MPSAFE]
atapci1: Reserved 0x1000 bytes for rid 0x24 type 3 at 0xfbffd000
ata2: <ATA channel 0> on atapci1
atapci1: Reserved 0x8 bytes for rid 0x10 type 4 at 0xc800
atapci1: Reserved 0x4 bytes for rid 0x14 type 4 at 0xc480
ata2: SATA connect ready time=0ms
ata2: sata_connect devices=0x1<ATA_MASTER>
ata2: [MPSAFE]
ata3: <ATA channel 1> on atapci1
atapci1: Reserved 0x8 bytes for rid 0x18 type 4 at 0xc400atapci1:  
Reserved 0x4 bytes for rid 0x1c type 4 at 0xc080
ata3: SATA connect ready time=0ms
ata3: sata_connect devices=0x1<ATA_MASTER>ata3: [MPSAFE]atapci2:  
<nVidia nForce MCP51 SATA300 controller> port  
0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb807,0xb480-0xb483,0xb400-0xb40f  
mem 0xfbffc000-0xfbffcfff irq 20 at device 15.0 on pci0
atapci2: Reserved 0x10 bytes for rid 0x20 type 4 at 0xb400
ioapic0: routing intpin 20 (PCI IRQ 20) to vector 54
atapci2: [MPSAFE]
atapci2: Reserved 0x1000 bytes for rid 0x24 type 3 at 0xfbffc000
ata4: <ATA channel 0> on atapci2atapci2: Reserved 0x8 bytes for rid  
0x10 type 4 at 0xbc00
atapci2: Reserved 0x4 bytes for rid 0x14 type 4 at 0xb880
ata4: SATA connect ready time=0ms
ata4: sata_connect devices=0x1<ATA_MASTER>
ata4: [MPSAFE]
ata5: <ATA channel 1> on atapci2
atapci2: Reserved 0x8 bytes for rid 0x18 type 4 at 0xb800
atapci2: Reserved 0x4 bytes for rid 0x1c type 4 at 0xb480
ata5: SATA connect status=00000000
ata5: [MPSAFE]
pcib4: <ACPI PCI-PCI bridge> at device 16.0 on pci0
pcib4:   secondary bus     4

[snip]

lo0: bpf attached
rr232x: no controller detected.
ata2-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire
ad4: 381554MB <Seagate ST3400620AS 3.AAK> at ata2-master SATA150
ad4: 781422768 sectors [775221C/16H/63S] 16 sectors/interrupt 1 depth  
queue
ad4: nVidia check1 failed
ad4: Adaptec check1 failed
ad4: LSI (v3) check1 failed
ad4: LSI (v2) check1 failed
ad4: FreeBSD check1 failed
ata3-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire
ad6: 381554MB <Seagate ST3400620AS 3.AAK> at ata3-master SATA150
ad6: 781422768 sectors [775221C/16H/63S] 16 sectors/interrupt 1 depth  
queue
ad6: nVidia check1 failed
ad6: Adaptec check1 failed
ad6: LSI (v3) check1 failed
ad6: LSI (v2) check1 failed
ad6: FreeBSD check1 failed
GEOM: new disk ad4
GEOM: new disk ad6

For reference, here's the output for the DVD drive under 6.0-RELEASE  
(6.1-RELEASE locks after detecting the first SATA controller):

ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=40 wire
acd0: <LITE-ON DVD SHD-16S1S/ES03> DVDROM drive at ata4 as master
acd0: read 6890KB/s (8268KB/s), 1727KB buffer, UDMA33
acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, packet
acd0: Writes:
acd0: Audio: play, 256 volume levels
acd0: Mechanism: ejectable tray, unlocked
acd0: Medium: CD-ROM 120mm photo disc

It's worth noting that FreeBSD does not recognize the SATA  
controllers as nVidia MCP51 chipset, but instead detects them as  
generic ATA controllers.

 From what I can tell FreeBSD 7.2-BETA2 lacks the detection of the  
drives, but does detect the ATA controllers correctly. Maybe there's  
some specific anomaly in the dmesg I should be looking for? I would  
provide a dmesg dump here, but unfortunately, without detectable  
drives, I'm left without a place to store the data or utilities to  
pipe it anywhere. Let me know what parts of dmesg might be useful to  
have, and I'll copy them over best I can.

Feel free to ask me for further information, and I'll provide as much  
as I can. Any help on pinning the root cause down is greatly  
appreciated.

Thanks,

Edward Carrel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6564B43A-5EC0-4EF2-A9CE-74C07EE218FC>