PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : nforce3 DMA problem



fl4kus
14.10.06, 19:56
Hi zusammen,
ich schaff es nicht bei meinem Nforce3 Board (DFI Lanparty NF3 Ultra-D) DMA fuer meine IDE Platten zu aktivieren. 2.3 MB/s sind doch ein wenig wenig :)
[root@slacktop] /usr/src/linux/ hdparm -d1 /dev/hdb
/dev/hdb:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)Also kompilier ich meinen Kernel neu mit CONFIG_BLK_DEV_AMD74XX=y. Dann beim booten bekomme ich aber eine MCE ;(
...
input: AT Translated Set Z keyboard as /class/input/input0
CPU 0: Machine Check Exception: 000000000000004
Bank 4: b200000000070f0f
Kernel Panic - not syncing: CPU context corruptgeb ich lilo den Kernelparameter "nomce" mit, bleibt der bootvorgang einfach bei dem "input: ..." haengen.
Hoffe mir kann jemand helfen
Gruss fl4kus

Ausgabe lspci:
00:00.0 Host bridge: nVidia Corporation nForce3 250Gb Host Bridge (rev a1)
00:01.0 ISA bridge: nVidia Corporation nForce3 250Gb LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation nForce 250Gb PCI System Management (rev a1)
00:02.0 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
00:02.1 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
00:02.2 USB Controller: nVidia Corporation nForce3 EHCI USB 2.0 Controller (rev a2)
00:05.0 Bridge: nVidia Corporation CK8S Ethernet Controller (rev a2)
00:06.0 Multimedia audio controller: nVidia Corporation nForce3 250Gb AC'97 Audio Controller (rev a1)
00:08.0 IDE interface: nVidia Corporation CK8S Parallel ATA Controller (v2.5) (rev a2)
00:09.0 IDE interface: nVidia Corporation CK8S Serial ATA Controller (v2.5) (rev a2)
00:0a.0 IDE interface: nVidia Corporation CK8S Serial ATA Controller (v2.5) (rev a2)
00:0b.0 PCI bridge: nVidia Corporation nForce3 250Gb AGP Host to PCI Bridge (rev a2)
00:0e.0 PCI bridge: nVidia Corporation nForce3 250Gb PCI-to-PCI Bridge (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:06.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)
02:00.0 VGA compatible controller: nVidia Corporation NV36.4 [GeForce FX 5700VE] (rev a1)/proc/interrupts:
CPU0
0: 32747 IO-APIC-edge timer
1: 8 IO-APIC-edge i8042
6: 3 IO-APIC-edge floppy
9: 0 IO-APIC-level acpi
14: 287333 IO-APIC-edge ide0
16: 16 IO-APIC-level ehci_hcd:usb1, libata
17: 22 IO-APIC-level ohci_hcd:usb2, libata
18: 0 IO-APIC-level ohci_hcd:usb3, NVidia CK8S
19: 12232 IO-APIC-level eth0
NMI: 0
LOC: 34071
ERR: 0
MIS: 0/proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 31
model name : AMD Athlon(tm) 64 Processor 3000+
stepping : 0
cpu MHz : 1808.819
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
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 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow up lahf_lm ts fid vid ttp
bogomips : 3619.84Kernel Version: 2.6.18.1
Distri: Slackware 11.0 / current

fl4kus
16.10.06, 22:21
könnte mir jemand mit nforce3 mal ne kernel config zukommen lassen, bei dem dma funktioniert ? danke
gruss
fl4kus

fl4kus
17.10.06, 02:33
oje bald geb ich auf ;(
gerade alle ide-* als module gebaut und eine initrd mit
mkinitrd -c -k 2.6.18.1-nf3-test -m ide-core:amd74xx:ide-disk
erstellt. Dort bekomme ich auch CPU context corrupt ;(
Weiss nicht weiter ;-<
Gruss
fl4kus

zyrusthc
17.10.06, 02:56
Was hast du alles verändert an den Kernel den du bauen willst?
Ist der neue Kernel auf deinen Prozessor optimiert "Athlon/Duron/K7"?
Hast du Generic x86 support aktiviert?

Greeez Oli

fl4kus
17.10.06, 14:22
Hi,
ich habe nicht viel geändert
Da wären: amd74xx und sata (sata_nv) unterstützung
Beim Prozzi habe ich Opteron/Athlon64/Hammer/K8 ausgewählt.
Im ersten Post ist ja meine .config angehängt.
Habs jetzt mal mit "Athlon/Duron/K7" und Generic x86 support kompiliert, kommt aber derselbe Fehler (CPU Context corrupt)

Der vorkompilierte Slackware Kernel aus /extra (2.6.17.13) bringt auch den Fehler.
Heut abend probier ich mal nen 2.4er Kernel ;/
Gruss
fl4kus

fl4kus
19.10.06, 19:29
so also gerade einige sachen getestet.
Ram ist es nicht.
IDE-Kabel sind alle richtig drin. komischerweise zeigt mir ein "cat /proc/ide/amd74xx" an:
-----------------------Primary IDE-------Secondary IDE------
Cable Type: 80w 40wAm secondary IDE ist das cdrom. wenn das IDE-Kabel aber draussen ist, zeigt er auch 40w an. weiss nicht ob es deswegen vielleicht Probleme gibt.

Dann Kernel 2.4.33.3 getestet: Bleibt an der selben Stelle hängen
2.6.19-rc2 wieder die MCE ;(
Das blöde an der Sache ist die Swap Partition. habe gerade nur 300 MB Ram und der ist ziemlich schnell voll. und der Swap Zugriff ist ohne DMA echt schlimm.

Naja vielleicht ergibt sich noch was ;|

Gruss
fl4kus