Re: NVidia nForce4 + AMD Athlon64 X2 --> no access to north-bridge PCI resources

From: Matti Aarnio
Date: Sat Nov 12 2005 - 10:57:15 EST


On Tue, Nov 08, 2005 at 12:11:41PM -0500, Stephen Frost wrote:
> * Matti Aarnio (matti.aarnio@xxxxxxxxxxx) wrote:
> > The _very_short_ view of lspci output on a problem machine:
>
> You might want to provide the kernel version.
>
> sfrost@snowman:/home/sfrost> uname -a
> Linux snowman 2.6.12-1-amd64-k8-smp #1 SMP Fri Sep 23 13:03:18 CEST 2005 x86_64 GNU/Linux

Indeed things look like 2.6.12 kernel can find all, but
somewhen since then (2.6.13 variants don't) something has
been changed in PCI bus scanning codes. Debugging continues.

I have been playing with bleeding edge GITs, and am having this
small problem...

/Matti Aarnio

(continuing with more quoted material than I usually like..)

> sfrost@snowman:/home/sfrost> lspci
> 0000:00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3)
> 0000:00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
> 0000:00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
> 0000:00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
> 0000:00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
> 0000:00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2)
> 0000:00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2)
> 0000:00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
> 0000:00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
> 0000:00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
> 0000:00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
> 0000:00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
> 0000:00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
> 0000:00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
> 0000:00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
> 0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
> 0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
> 0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
> 0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
> 0000:01:00.0 VGA compatible controller: nVidia Corporation NV40 [GeForce 6800 Ultra/GeForce 6800 GT] (rev a2)
> 0000:05:07.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
> 0000:05:07.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 04)
> 0000:05:07.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04)
> 0000:05:0b.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
> 0000:05:0c.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)
>
> sfrost@snowman:/home/sfrost> cat /proc/cpuinfo
> processor : 0
> vendor_id : AuthenticAMD
> cpu family : 15
> model : 35
> model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
> stepping : 2
> cpu MHz : 2211.375
> cache size : 1024 KB
> physical id : 0
> siblings : 2
> core id : 0
> cpu cores : 2
> fpu : yes
> fpu_exception : yes
> cpuid level : 1
> wp : yes
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm cmp_legacy
> bogomips : 4374.52
> TLB size : 1024 4K pages
> clflush size : 64
> cache_alignment : 64
> address sizes : 40 bits physical, 48 bits virtual
> power management: ts fid vid ttp
>
> processor : 1
> vendor_id : AuthenticAMD
> cpu family : 15
> model : 35
> model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
> stepping : 2
> cpu MHz : 2211.375
> cache size : 1024 KB
> physical id : 0
> siblings : 2
> core id : 1
> cpu cores : 2
> fpu : yes
> fpu_exception : yes
> cpuid level : 1
> wp : yes
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm cmp_legacy
> bogomips : 4407.29
> TLB size : 1024 4K pages
> clflush size : 64
> cache_alignment : 64
> address sizes : 40 bits physical, 48 bits virtual
> power management: ts fid vid ttp
>
> However, it seems things changed under 2.6.14...
>
> sfrost@snowman:/home/sfrost> uname -a
> Linux snowman 2.6.14-1-amd64-k8-smp #1 SMP Wed Nov 2 20:53:55 CET 2005 x86_64 GNU/Linux
> sfrost@snowman:/home/sfrost> lspci
> 0000:00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3)
> 0000:00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
> 0000:00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
> 0000:00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
> 0000:00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
> 0000:00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2)
> 0000:00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2)
> 0000:00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
> 0000:00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
> 0000:00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
> 0000:00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
> 0000:00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
> 0000:00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
> 0000:00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
> 0000:00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
> 0000:01:00.0 VGA compatible controller: nVidia Corporation NV40 [GeForce 6800 Ultra/GeForce 6800 GT] (rev a2)
> 0000:05:07.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
> 0000:05:07.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 04)
> 0000:05:07.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04)
> 0000:05:0b.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
> 0000:05:0c.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)
>
> sfrost@snowman:/home/sfrost> cat /proc/cpuinfo
> processor : 0
> vendor_id : AuthenticAMD
> cpu family : 15
> model : 35
> model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
> stepping : 2
> cpu MHz : 2211.382
> cache size : 1024 KB
> physical id : 0
> siblings : 2
> core id : 0
> cpu cores : 2
> fpu : yes
> fpu_exception : yes
> cpuid level : 1
> wp : yes
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mm x fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm cmp_legacy
> bogomips : 4425.45
> TLB size : 1024 4K pages
> clflush size : 64
> cache_alignment : 64
> address sizes : 40 bits physical, 48 bits virtual
> power management: ts fid vid ttp
>
> processor : 1
> vendor_id : AuthenticAMD
> cpu family : 15
> model : 35
> model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
> stepping : 2
> cpu MHz : 2211.382
> cache size : 1024 KB
> physical id : 0
> siblings : 2
> core id : 1
> cpu cores : 2
> fpu : yes
> fpu_exception : yes
> cpuid level : 1
> wp : yes
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mm x fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm cmp_legacy
> bogomips : 4422.04
> TLB size : 1024 4K pages
> clflush size : 64
> cache_alignment : 64
> address sizes : 40 bits physical, 48 bits virtual
> power management: ts fid vid ttp
>
> Enjoy..
>
> Stephen


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/