View Single Post
Old 04-30-09, 04:34 PM   #8
zkmyth
Registered User
 
Join Date: Apr 2009
Posts: 10
Default Re: Asus M3N78 Pro with igp geforce 8300 woes on 64 bit ubuntu

I have the same board as well and I have been through many troubles to get it working.

Hardware
Asus M3N78 Pro
3Gb Ram
Amd Phenom Quad core
No PCI/PCI-E cards added at the moment

Here is what I have done that seems to work at the moment

NV drivers 185.19
Ubuntu 8.04.2 64bit
I compiled a 2.6.29 kernel (nothing special done just upgraded to 2.6.29)
kernel boot paramters
idle=poll
pci=nommconf
ata_generic.all_generic_ide=1 ( should only be needed if using ide drives perhaps only if booting ide)

NOTE: I had read somewhere the using "pci=nomsi" was needed, that will cause problems with the method below so if you have it remove it.

The key things for me were all dealing with IRQs
The basic idea is to get everything possible using MSI except the Nvidia driver

Here is my /proc/interups file

CPU0 CPU1 CPU2 CPU3
0: 49 0 0 2540 IO-APIC-edge timer
1: 0 0 0 2 IO-APIC-edge i8042
4: 0 0 0 1 IO-APIC-edge
6: 0 0 0 5 IO-APIC-edge floppy
7: 1 0 0 0 IO-APIC-edge
8: 0 0 0 1 IO-APIC-edge rtc2
9: 0 0 0 0 IO-APIC-fasteoi acpi
12: 0 0 0 4 IO-APIC-edge i8042
14: 0 0 209 626464 IO-APIC-edge pata_amd
15: 0 0 0 0 IO-APIC-edge pata_amd
19: 0 0 0 3 IO-APIC-fasteoi ohci1394
20: 0 0 101 437298 IO-APIC-fasteoi nvidia
21: 0 0 0 1 IO-APIC-fasteoi ehci_hcd:usb2
22: 0 0 289 2764490 IO-APIC-fasteoi ohci_hcd:usb1, ehci_hcd:usb4
23: 0 0 147 1648857 IO-APIC-fasteoi ohci_hcd:usb3
28: 0 0 24 85647 PCI-MSI-edge ahci
29: 0 1 7106 46737406 PCI-MSI-edge eth0
30: 0 0 242 24970 PCI-MSI-edge HDA Intel

Notice that ahci,eth0 and HDA Intel all use MSI which means that the PCI IRQs do not have to do any sharing. The firewire(ochi1394) , nvidia and usbs all have there own IRQ. This has resulted in stability for me.

The only tricky one is the sound (HDA Intel) you need to edit the following
/etc/modprobe.d/options

add this line somewhere in it

options snd_hda_intel enable_msi=1


I am not sure if using kernel 2.6.29 is needed it was just one of the many things I was trying to get stability with X.

The nvidia driver I am using does not seem to like msi enabled on this board. It also does not like to share an IRQ with something that does a reasonable amount of bandwidth.

I had nvidia and one of the usb hubs sharing an IRQ at one point and every time I used alot of usb bandwidth the system would freeze.

I do not know if this is related to the "IRQF_DISABLED" messages in other posts but sharing for this motherboard seems to be really bad for stability.

My system has been stable for about 2-3 weeks now, this is a record for this box. At one point I could not even login to X it would crash loading X.
zkmyth is offline   Reply With Quote