8.0/amd64 does not detect ata channels on nVidia nForce MCP55

Nick Hilliard nick-lists at netability.ie
Tue Sep 29 12:57:18 UTC 2009


Hi John,

On 29/09/2009 13:03, John Baldwin wrote:
> Try this patch obtaining the dmesg output for both the MCFG and !MCFG case:

See attached.  No difference between the two cases:

> ata_nvidia_chipinit: r_type2 = memory
> ata_nvidia_chipinit: allocated res2 ok

Nick
-------------- next part --------------
Copyright (c) 1992-2009 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 8.0-BETA4 #0: Tue Sep 29 13:39:43 IST 2009
    root at usbpancake.xxx:/usr/src/sys/amd64/compile/GENERIC
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Quad-Core AMD Opteron(tm) Processor 1352 (2100.01-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x100f23  Stepping = 3
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x802009<SSE3,MON,CX16,POPCNT>
  AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
  AMD Features2=0x7ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS>
  TSC: P-state invariant
real memory  = 8589934592 (8192 MB)
avail memory = 8254500864 (7872 MB)
ACPI APIC Table: <HP     ProLiant>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <HP ProLiant> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of fec00000, 1000 (3) failed
acpi0: reservation of fee00000, 1000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x2008-0x200b on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 25000000 Hz quality 900
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <memory, RAM> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> port 0x2f00-0x2f7f at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xfcebf000-0xfcebffff irq 22 at device 2.0 on pci0
ohci0: [ITHREAD]
usbus0: <OHCI (generic) USB controller> on ohci0
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfcebec00-0xfcebecff irq 23 at device 2.1 on pci0
ehci0: [ITHREAD]
usbus1: EHCI version 1.0
usbus1: <EHCI (generic) USB 2.0 controller> on ehci0
atapci0: <nVidia nForce MCP55 SATA300 controller> port 0xdd80-0xdd87,0xdd00-0xdd03,0xdc00-0xdc07,0xdb80-0xdb83,0xdb00-0xdb0f mem 0xfcebd000-0xfcebdfff irq 21 at device 5.0 on pci0
atapci0: [ITHREAD]
ata_nvidia_chipinit: r_type2 = memory
ata_nvidia_chipinit: allocated res2 ok
ata2: <ATA channel 0> on atapci0
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [ITHREAD]
atapci1: <nVidia nForce MCP55 SATA300 controller> port 0xda80-0xda87,0xda00-0xda03,0xd980-0xd987,0xd900-0xd903,0xd880-0xd88f mem 0xfcebc000-0xfcebcfff irq 22 at device 5.1 on pci0
atapci1: [ITHREAD]
ata_nvidia_chipinit: r_type2 = memory
ata_nvidia_chipinit: allocated res2 ok
ata4: <ATA channel 0> on atapci1
ata4: [ITHREAD]
ata5: <ATA channel 1> on atapci1
ata5: [ITHREAD]
atapci2: <nVidia nForce MCP55 SATA300 controller> port 0xd800-0xd807,0xd780-0xd783,0xd700-0xd707,0xd680-0xd683,0xd600-0xd60f mem 0xfcebb000-0xfcebbfff irq 23 at device 5.2 on pci0
atapci2: [ITHREAD]
ata_nvidia_chipinit: r_type2 = memory
ata_nvidia_chipinit: allocated res2 ok
ata6: <ATA channel 0> on atapci2
ata6: [ITHREAD]
ata7: <ATA channel 1> on atapci2
ata7: [ITHREAD]
pcib1: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 10.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <PCI-PCI bridge> at device 11.0 on pci0
pci3: <PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 12.0 on pci0
pci4: <ACPI PCI bus> on pcib4
em0: <Intel(R) PRO/1000 Network Connection 6.9.14> port 0xef80-0xef9f mem 0xfcfe0000-0xfcffffff,0xfcfc0000-0xfcfdffff irq 16 at device 0.0 on pci4
em0: Using MSI interrupt
em0: [FILTER]
em0: Ethernet address: 00:23:7d:fd:26:e4
pcib5: <ACPI PCI-PCI bridge> at device 13.0 on pci0
pci16: <ACPI PCI bus> on pcib5
vgapci0: <VGA-compatible display> mem 0xfb000000-0xfbffffff,0xfdefc000-0xfdefffff,0xfd000000-0xfd7fffff irq 17 at device 0.0 on pci16
pcib6: <ACPI PCI-PCI bridge> at device 14.0 on pci0
pci17: <ACPI PCI bus> on pcib6
bge0: <HP NC105i PCIe Gigabit Server Adapter, ASIC rev. 0xa200> mem 0xfdff0000-0xfdffffff irq 18 at device 0.0 on pci17
miibus0: <MII bus> on bge0
brgphy0: <BCM5722 10/100/1000baseTX PHY> PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
bge0: Ethernet address: 00:23:7d:db:b6:d8
bge0: [ITHREAD]
pcib7: <ACPI PCI-PCI bridge> at device 15.0 on pci0
pci18: <ACPI PCI bus> on pcib7
acpi_button0: <Power Button> on acpi0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
atrtc0: <AT realtime clock> port 0x70-0x71 on acpi0
cpu0: <ACPI CPU> on acpi0
hwpstate0: <Cool`n'Quiet 2.0> on cpu0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xca000-0xcafff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model GlidePoint, device ID 0
ppc0: cannot reserve I/O port range
Timecounters tick every 1.000 msec
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 480Mbps High Speed USB v2.0
ugen0.1: <nVidia> at usbus0
uhub0: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <nVidia> at usbus1
uhub1: <nVidia EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ad4: 1430799MB <Seagate ST31500341AS CC1H> at ata2-master SATA300
ad6: 1430799MB <Seagate ST31500341AS CC1H> at ata3-master SATA300
ad8: 1430799MB <Seagate ST31500341AS CC1H> at ata4-master SATA300
uhub0: 10 ports with 10 removable, self powered
ad10: 1430799MB <Seagate ST31500341AS CC1H> at ata5-master SATA300
ad12: 238475MB <Seagate ST3250310NS SN06> at ata6-master SATA150
acd0: DVDROM <TSSTcorpDVD-ROM TS-H353B/IG01> at ata7-master SATA150
SMP: AP CPU #3 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
WARNING: WITNESS option enabled, expect reduced performance.
GEOM: ad12s1: geometry does not match label (255h,63s != 16h,63s).
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
uhub1: 10 ports with 10 removable, self powered
Root mount waiting for: usbus1
ugen0.2: <ServerEngines> at usbus0
ukbd0: <ServerEngines SE USB Device, class 0/0, rev 1.10/0.01, addr 2> on usbus0
kbd2 at ukbd0
ums0: <ServerEngines SE USB Device, class 0/0, rev 1.10/0.01, addr 2> on usbus0
ums0: 8 buttons and [XYZ] coordinates ID=0
ugen1.2: <Kingston> at usbus1
umass0: <Kingston DataTraveler 2.0, class 0/0, rev 2.00/1.10, addr 2> on usbus1
umass0:  SCSI over Bulk-Only; quirks = 0x0000
Root mount waiting for: usbus1
umass0:0:0:-1: Attached to scbus0
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Kingston DataTraveler 2.0 PMAP> Removable Direct Access SCSI-0 device 
da0: 40.000MB/s transfers
da0: 3936MB (8060928 512 byte sectors: 255H 63S/T 501C)
Root mount waiting for: usbus1
ugen1.3: <Apple, Inc.> at usbus1
uhub2: <Apple, Inc. Keyboard Hub, class 9/0, rev 2.00/94.15, addr 3> on usbus1
Root mount waiting for: usbus1
uhub2: 3 ports with 2 removable, bus powered
ugen1.4: <Apple, Inc> at usbus1
ukbd1: <Apple, Inc Apple Keyboard, class 0/0, rev 2.00/0.69, addr 4> on usbus1
kbd3 at ukbd1
uhid0: <Apple, Inc Apple Keyboard, class 0/0, rev 2.00/0.69, addr 4> on usbus1
Trying to mount root from ufs:/dev/da0s1a
bge0: link state changed to UP
-------------- next part --------------
Copyright (c) 1992-2009 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 8.0-BETA4 #0: Tue Sep 29 13:39:43 IST 2009
    root at usbpancake.nnn:/usr/src/sys/amd64/compile/GENERIC
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Quad-Core AMD Opteron(tm) Processor 1352 (2100.01-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x100f23  Stepping = 3
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x802009<SSE3,MON,CX16,POPCNT>
  AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
  AMD Features2=0x7ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS>
  TSC: P-state invariant
real memory  = 8589934592 (8192 MB)
avail memory = 8254500864 (7872 MB)
ACPI APIC Table: <HP     ProLiant>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <HP ProLiant> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of fec00000, 1000 (3) failed
acpi0: reservation of fee00000, 1000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x2008-0x200b on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 25000000 Hz quality 900
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <memory, RAM> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> port 0x2f00-0x2f7f at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xfcebf000-0xfcebffff irq 22 at device 2.0 on pci0
ohci0: [ITHREAD]
usbus0: <OHCI (generic) USB controller> on ohci0
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfcebec00-0xfcebecff irq 23 at device 2.1 on pci0
ehci0: [ITHREAD]
usbus1: EHCI version 1.0
usbus1: <EHCI (generic) USB 2.0 controller> on ehci0
atapci0: <nVidia nForce MCP55 SATA300 controller> port 0xdd80-0xdd87,0xdd00-0xdd03,0xdc00-0xdc07,0xdb80-0xdb83,0xdb00-0xdb0f mem 0xfcebd000-0xfcebdfff irq 21 at device 5.0 on pci0
atapci0: [ITHREAD]
ata_nvidia_chipinit: r_type2 = memory
ata_nvidia_chipinit: allocated res2 ok
ata2: <ATA channel 0> on atapci0
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [ITHREAD]
atapci1: <nVidia nForce MCP55 SATA300 controller> port 0xda80-0xda87,0xda00-0xda03,0xd980-0xd987,0xd900-0xd903,0xd880-0xd88f mem 0xfcebc000-0xfcebcfff irq 22 at device 5.1 on pci0
atapci1: [ITHREAD]
ata_nvidia_chipinit: r_type2 = memory
ata_nvidia_chipinit: allocated res2 ok
ata4: <ATA channel 0> on atapci1
ata4: [ITHREAD]
ata5: <ATA channel 1> on atapci1
ata5: [ITHREAD]
atapci2: <nVidia nForce MCP55 SATA300 controller> port 0xd800-0xd807,0xd780-0xd783,0xd700-0xd707,0xd680-0xd683,0xd600-0xd60f mem 0xfcebb000-0xfcebbfff irq 23 at device 5.2 on pci0
atapci2: [ITHREAD]
ata_nvidia_chipinit: r_type2 = memory
ata_nvidia_chipinit: allocated res2 ok
ata6: <ATA channel 0> on atapci2
ata6: [ITHREAD]
ata7: <ATA channel 1> on atapci2
ata7: [ITHREAD]
pcib1: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 10.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <PCI-PCI bridge> at device 11.0 on pci0
pci3: <PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 12.0 on pci0
pci4: <ACPI PCI bus> on pcib4
em0: <Intel(R) PRO/1000 Network Connection 6.9.14> port 0xef80-0xef9f mem 0xfcfe0000-0xfcffffff,0xfcfc0000-0xfcfdffff irq 16 at device 0.0 on pci4
em0: Using MSI interrupt
em0: [FILTER]
em0: Ethernet address: 00:23:7d:fd:26:e4
pcib5: <ACPI PCI-PCI bridge> at device 13.0 on pci0
pci16: <ACPI PCI bus> on pcib5
vgapci0: <VGA-compatible display> mem 0xfb000000-0xfbffffff,0xfdefc000-0xfdefffff,0xfd000000-0xfd7fffff irq 17 at device 0.0 on pci16
pcib6: <ACPI PCI-PCI bridge> at device 14.0 on pci0
pci17: <ACPI PCI bus> on pcib6
bge0: <HP NC105i PCIe Gigabit Server Adapter, ASIC rev. 0xa200> mem 0xfdff0000-0xfdffffff irq 18 at device 0.0 on pci17
miibus0: <MII bus> on bge0
brgphy0: <BCM5722 10/100/1000baseTX PHY> PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
bge0: Ethernet address: 00:23:7d:db:b6:d8
bge0: [ITHREAD]
pcib7: <ACPI PCI-PCI bridge> at device 15.0 on pci0
pci18: <ACPI PCI bus> on pcib7
acpi_button0: <Power Button> on acpi0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
atrtc0: <AT realtime clock> port 0x70-0x71 on acpi0
cpu0: <ACPI CPU> on acpi0
hwpstate0: <Cool`n'Quiet 2.0> on cpu0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xca000-0xcafff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model GlidePoint, device ID 0
ppc0: cannot reserve I/O port range
Timecounters tick every 1.000 msec
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 480Mbps High Speed USB v2.0
ugen0.1: <nVidia> at usbus0
uhub0: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <nVidia> at usbus1
uhub1: <nVidia EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
uhub0: 10 ports with 10 removable, self powered
uhub1: 10 ports with 10 removable, self powered
ad8: 1430799MB <Seagate ST31500341AS CC1H> at ata4-master SATA300
ad10: 1430799MB <Seagate ST31500341AS CC1H> at ata5-master SATA300
ad12: 238475MB <Seagate ST3250310NS SN06> at ata6-master SATA150
acd0: DVDROM <TSSTcorpDVD-ROM TS-H353B/IG01> at ata7-master SATA150
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
SMP: AP CPU #2 Launched!
WARNING: WITNESS option enabled, expect reduced performance.
GEOM: ad12s1: geometry does not match label (255h,63s != 16h,63s).
Root mount waiting for: usbus1
ugen0.2: <ServerEngines> at usbus0
ukbd0: <ServerEngines SE USB Device, class 0/0, rev 1.10/0.01, addr 2> on usbus0
kbd2 at ukbd0
ums0: <ServerEngines SE USB Device, class 0/0, rev 1.10/0.01, addr 2> on usbus0
ums0: 8 buttons and [XYZ] coordinates ID=0
ugen1.2: <Kingston> at usbus1
umass0: <Kingston DataTraveler 2.0, class 0/0, rev 2.00/1.10, addr 2> on usbus1
umass0:  SCSI over Bulk-Only; quirks = 0x0000
Root mount waiting for: usbus1
umass0:0:0:-1: Attached to scbus0
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Kingston DataTraveler 2.0 PMAP> Removable Direct Access SCSI-0 device 
da0: 40.000MB/s transfers
da0: 3936MB (8060928 512 byte sectors: 255H 63S/T 501C)
ugen1.3: <Apple, Inc.> at usbus1
uhub2: <Apple, Inc. Keyboard Hub, class 9/0, rev 2.00/94.15, addr 3> on usbus1
Root mount waiting for: usbus1
uhub2: 3 ports with 2 removable, bus powered
ugen1.4: <Apple, Inc> at usbus1
ukbd1: <Apple, Inc Apple Keyboard, class 0/0, rev 2.00/0.69, addr 4> on usbus1
kbd3 at ukbd1
uhid0: <Apple, Inc Apple Keyboard, class 0/0, rev 2.00/0.69, addr 4> on usbus1
Trying to mount root from ufs:/dev/da0s1a
bge0: link state changed to UP


More information about the freebsd-amd64 mailing list