APIC problems with nforce2

Everything Linux nForced in here: installation, drivers, discussion...

Moderators: nForcer, Moderators

avatar
Google
Adsense
Google
 
Posts: 900913
Joined: March 2003
Location: Forum

APIC problems with nforce2

Postby joh » Thu Jun 10, 2004 5:09 pm

Hello,

I've got a Gigabyte 7N400 Pro2 nforce2 motherboard, running linux 2.6.6. Now, when I boot the kernel normally, I get various error/warning messages at boot regarding IRQs, APIC. Also, USB2 won't work, and running Xfree86 with the nvidia drivers just causes the server to freeze, showing garbage on the screen. I have to log in to the computer from ssh/etc and kill the Xfree86 process (which is using 99% of the CPU).

Here I'm running the kernel normally, as you can see, it's using the native I/O APIC on the motherboard:
Code: Select all
Jun  9 22:20:21 FarSite kernel: ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Jun  9 22:20:21 FarSite kernel: Processor #0 6:10 APIC version 16
Jun  9 22:20:21 FarSite kernel: ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])
Jun  9 22:20:21 FarSite kernel: Using ACPI for processor (LAPIC) configuration information
Jun  9 22:20:21 FarSite kernel: Intel MultiProcessor Specification v1.4
Jun  9 22:20:21 FarSite kernel:     Virtual Wire compatibility mode.
Jun  9 22:20:21 FarSite kernel: OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000
Jun  9 22:20:21 FarSite kernel: I/O APIC #2 Version 17 at 0xFEC00000.
Jun  9 22:20:21 FarSite kernel: Enabling APIC mode:  Flat.  Using 1 I/O APICs


Here it's enabling the IO-APIC IRQs:
Code: Select all
Jun  9 22:20:21 FarSite kernel: ENABLING IO-APIC IRQs
Jun  9 22:20:21 FarSite kernel: Setting 2 in the phys_id_present_map
Jun  9 22:20:21 FarSite kernel: ...changing IO-APIC physical APIC ID to 2 ... ok.
Jun  9 22:20:21 FarSite kernel: ..TIMER: vector=0x31 pin1=2 pin2=0
Jun  9 22:20:21 FarSite kernel: ...trying to set up timer (IRQ0) through the 8259A ...
Jun  9 22:20:21 FarSite kernel: ..... (found pin 0) ...works.
Jun  9 22:20:21 FarSite kernel: testing the IO APIC.......................
Jun  9 22:20:21 FarSite kernel: .................................... done.
Jun  9 22:20:21 FarSite kernel: Using local APIC timer interrupts.
Jun  9 22:20:21 FarSite kernel: calibrating APIC timer ...
Jun  9 22:20:21 FarSite kernel: ..... CPU clock speed is 2079.0264 MHz.
Jun  9 22:20:21 FarSite kernel: ..... host bus clock speed is 332.0682 MHz.


So far, so good (I think)...

Then I get a call trace from I-don't-know-where:
Code: Select all
Jun  9 22:20:21 FarSite kernel: NFORCE2: IDE controller at PCI slot 0000:00:09.0
Jun  9 22:20:21 FarSite kernel: NFORCE2: chipset revision 162
Jun  9 22:20:21 FarSite kernel: NFORCE2: not 100%% native mode: will probe irqs later
Jun  9 22:20:21 FarSite kernel: NFORCE2: BIOS didn't set cable bits correctly. Enabling workaround.
Jun  9 22:20:21 FarSite kernel: NFORCE2: 0000:00:09.0 (rev a2) UDMA133 controller
Jun  9 22:20:21 FarSite kernel: NFORCE2: neither IDE port enabled (BIOS)
Jun  9 22:20:21 FarSite kernel: usb 3-5: new high speed USB device using address 2
Jun  9 22:20:21 FarSite kernel: Call Trace:
Jun  9 22:20:21 FarSite kernel:  [__report_bad_irq+42/144] __report_bad_irq+0x2a/0x90
Jun  9 22:20:21 FarSite kernel:  [note_interrupt+108/160] note_interrupt+0x6c/0xa0
Jun  9 22:20:21 FarSite kernel:  [do_IRQ+289/304] do_IRQ+0x121/0x130
Jun  9 22:20:21 FarSite kernel:  [common_interrupt+24/32] common_interrupt+0x18/0x20


Now when I try to connect my external USB2 harddrive, I get this:
Code: Select all
Jun  9 22:20:21 FarSite kernel: usb 3-5: new high speed USB device using address 2
...
Jun  9 22:20:21 FarSite kernel: usb 3-5: control timeout on ep0out
Jun  9 22:20:21 FarSite kernel: ehci_hcd 0000:00:02.2: Unlink after no-IRQ?  Different ACPI or APIC settings may help.


So, it doesn't identify my USB device, and it's also impossible to use the nvidia graphics drivers.

I've done some googling, and found that there has long been problems with the ACPI and APIC support in the linux kernel, but as I've understood, they fixed it in kernel 2.6.3. If I add the 'noapic' kernel option at boot, everything works flawlessly. So my question is: anyone know any solution to this problem? I.e. making nforce2 IO-APIC work on linux?

Another thing: has anyone got the sensors working (using lm_sensors?) under linux?

Thanks
joh
nFHQ Member
nFHQ Member
 
Posts: 6
Joined: Tue Jun 08, 2004 10:04 pm

Re: APIC problems with nforce2

Postby PrakashP » Thu Jun 10, 2004 8:24 pm

You are expereincing something else than the "traditional" nfirce2+APIc problem. I would try if nvidia works, without usb compiled in (delete modules!). Perhaps usb support was fsked up in that kernel.
User avatar
PrakashP
nLightened
nLightened
 
Posts: 90
Joined: Wed Apr 07, 2004 9:22 am

Re: APIC problems with nforce2

Postby joh » Fri Jun 11, 2004 1:02 pm

PrakashKC wrote:You are expereincing something else than the "traditional" nfirce2+APIc problem. I would try if nvidia works, without usb compiled in (delete modules!). Perhaps usb support was fsked up in that kernel.


I see... What do you mean by 'nvidia'? The nvidia nforce drivers from nvidia.com?
joh
nFHQ Member
nFHQ Member
 
Posts: 6
Joined: Tue Jun 08, 2004 10:04 pm

Re: APIC problems with nforce2

Postby PrakashP » Fri Jun 11, 2004 1:39 pm

The binary only graphics driver provided by nvidia.
User avatar
PrakashP
nLightened
nLightened
 
Posts: 90
Joined: Wed Apr 07, 2004 9:22 am

Re: APIC problems with nforce2

Postby joh » Fri Jun 11, 2004 1:43 pm

PrakashKC wrote:The binary only graphics driver provided by nvidia.

But it's obviously not the nvidia graphics driver that is causing trouble! If I turn off IO-APIC, both the nvidia graphics driver and usb2 works perfectly!
joh
nFHQ Member
nFHQ Member
 
Posts: 6
Joined: Tue Jun 08, 2004 10:04 pm

Re: APIC problems with nforce2

Postby PrakashP » Fri Jun 11, 2004 1:49 pm

Well, then report to lkml. First try newest rc kernel (and even mm kernel). So you help the kernel devs to resolve the issue.

Try whether usb2 works w/o nvidia grpahics in APIC mode. The kernel devs tend to ignore posts whne nvidia's driver is the troublemaker...
User avatar
PrakashP
nLightened
nLightened
 
Posts: 90
Joined: Wed Apr 07, 2004 9:22 am

Re: APIC problems with nforce2

Postby joh » Fri Jun 11, 2004 3:26 pm

Ok, thanks, I'll do that.
joh
nFHQ Member
nFHQ Member
 
Posts: 6
Joined: Tue Jun 08, 2004 10:04 pm
avatar
Google
Adsense
Google
 
Posts: 900913
Joined: March 2003
Location: Forum

Return to nForce Linux



Who is online

Users browsing this forum: No registered users and 0 guests