Bug 171517 - APIC problems on Asus M2N-SLI Deluxe (chipset nForce 570; socket AM2) needs noapic to boot
Summary: APIC problems on Asus M2N-SLI Deluxe (chipset nForce 570; socket AM2) needs n...
Status: RESOLVED FIXED
: 204876 (view as bug list)
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: Kernel (show other bugs)
Version: RC 5
Hardware: x86-64 Linux
: P5 - None : Major with 10 votes (vote)
Target Milestone: ---
Assignee: Andreas Kleen
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-02 11:34 UTC by Timo Hoenig
Modified: 2007-01-10 12:43 UTC (History)
3 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Hwinfo (306.99 KB, text/plain)
2006-09-12 16:47 UTC, Mark Bąbski
Details
Last lines of dmesg (3.96 KB, text/plain)
2006-09-12 16:48 UTC, Mark Bąbski
Details
Acpidump (169.47 KB, text/plain)
2006-09-12 16:50 UTC, Mark Bąbski
Details
boot messages (3.24 KB, text/plain)
2006-12-03 12:27 UTC, Franz Hassels
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Hoenig 2006-05-02 11:34:54 UTC
ASUS ACPI doesn't support all known systems.

There are a couple of ASUS system for which we have specific DSDT keys but are not yet included in asus_acpi.c.  We should add them to the driver.
Comment 1 Mark Bąbski 2006-09-09 16:23:51 UTC
Actually my system hangs during installation. 
Only boot param: "acpi=none" helps. 
Even "acpi=debug" causes the machine to stop on acpi.
Mainboard: Asus M2N-SLI Deluxe (chipset nForce 570; socket AM2).
Additional info from text-mode installation:
****
ENABLING IO-APIC IRQS
TIMER: vector 0x31 apic1=0 pin1=0 apic2=-1 pin2=-1
MP-BIOS bug:
8254 timer not connected to IO-APIC
...trying to set timer (IRQ0) through the 8259A ...failed
...trying to set timer as Virtual Wire IRQ ...failed
...trying to set timer as ExtINT IRQ faild :(
Kernel panic - not syncing. IO-APIC timer doesn't work! Boot with apic=debug and send a report. Then try booting with 'noapic' option
****
Please make Suse run with Asus M2N-Sli Deluxe motherboard.
Regards
Mark
Comment 2 Mark Bąbski 2006-09-09 17:31:58 UTC
I have mixed acpi with apic. In fact param "noapic" helps to boot my system.
Sorry for mistake.
Comment 3 Thomas Renninger 2006-09-12 14:46:48 UTC
And you mixed up bug contents, this should be a separate bug.
No problem though. Timo, I will change the title of this bug so that Mark does not need to open a separate one and create a new one with old contents and assign it to you.
This is about OpenSuse 10.2, right?
This version/kernel is evolving quickly. Can tell us the kernel verion you used, pls.
You may also want to attach hwinfo, so that we have more details about the machine if needed...
Comment 4 Thomas Renninger 2006-09-12 14:50:29 UTC
Can you also post last lines of dmesg after trying to load asus_acpi module, pls (if it does not load properly) and attach acpidump. Not sure whether this is all needed so that Timo can add support for this machine, but I think so.
Comment 5 Mark Bąbski 2006-09-12 16:47:01 UTC
Created attachment 98468 [details]
Hwinfo

Output from hwinfo.
Comment 6 Mark Bąbski 2006-09-12 16:48:40 UTC
Created attachment 98469 [details]
Last lines of dmesg
Comment 7 Mark Bąbski 2006-09-12 16:50:29 UTC
Created attachment 98470 [details]
Acpidump
Comment 8 Mark Bąbski 2006-09-12 16:54:14 UTC
Kernel version is 2.6.18-rc5-git6-2-default.
commands: "rmmod asus_acpi" and "modprobe asus_acpi"  -  both give no errors.
Comment 9 Franz Hassels 2006-09-21 13:45:35 UTC
*** Bug 204876 has been marked as a duplicate of this bug. ***
Comment 10 Timo Hoenig 2006-10-16 16:40:31 UTC
Thomas, is there progress on this one?
Comment 11 Timo Hoenig 2006-10-16 16:43:48 UTC
(In reply to comment #8)

> Kernel version is 2.6.18-rc5-git6-2-default.
> commands: "rmmod asus_acpi" and "modprobe asus_acpi"  -  both give no errors.

This does not help, Mark.  The ASUS ACPI driver is just an enhancement for ASUS laptops and has nothing in common with the APIC (APIC, not ACPI) issue.
Comment 12 Thomas Renninger 2006-10-17 12:20:58 UTC
In general, the bug is invalid.
This was about noapic and now it is about asus_acpi (which seem to work? If not, pls open a new bug and assign it to thoenig@novell.com).
A lot machines need noapic boot param and I think we cannot do much about it, ak might want to comment here (I will CC him at later point).

Hmm, this DSDT makes use of a NamePath in Source field of APIC PRT (PCI Routing Table). I can't find anything similar, maybe there is a real bug in kernel/ACPI code there?

Can you attach dmesg output with apic=debug boot param, pls.
Not sure whether this is enough. Maybe also an ACPI_DEBUG compiled kernel is needed to see things. You may want to try to boot the kernel-debug kernel. If it boots I will search for proper debug option to get the right values out of it.
Comment 13 Mark Bąbski 2006-10-19 19:08:25 UTC
I have just compiled kernel (2.6.18-rc5-git6-2) (cloneconfig) with:
[make menuconfig]
Power management
(Added) +[*]Power management debug
*ACPI support
(Added) +[*]Debug statements

But *still* "apic=debug" causes my screen to become blank and system does not respond - so I can't perform "dmesg". There is no any output on screen. Please inform me if I shall reboot and retrieve some logs after attempt to "apic=debug". 
As regards "ACPI_DEBUG" - I don't know how to find this. Is it in "menuconfig"? If it is needed - give me the way to compile with this option, because I only know how to change things in menuconfig.
Comment 14 Thomas Renninger 2006-10-20 08:45:13 UTC
That's strange. In comment #1 you showed us some output, it should at least come that far? Have you removed the vga= and splash=silent boot parameter in grub (ESC then modify the boot entry)?
If it's still blank you might want to try earlyprintk=vga
Comment 15 Mark Bąbski 2006-10-20 13:44:31 UTC
Output was copied to paper from installation from CD (perhaps grub as a bootmanager).
But during installation I installed LILO as a boot manager. I don't know Grub so I prefer Lilo.
Comment 16 Thomas Renninger 2006-10-30 13:39:16 UTC
I just want to summarize the problem for Andi again:
This happens with a 10.2 installation without modifing any params (with a 2.6.18-rc5 or earlier kernel):
comment #1:
ENABLING IO-APIC IRQS
TIMER: vector 0x31 apic1=0 pin1=0 apic2=-1 pin2=-1
MP-BIOS bug:
8254 timer not connected to IO-APIC
...trying to set timer (IRQ0) through the 8259A ...failed
...trying to set timer as Virtual Wire IRQ ...failed
...trying to set timer as ExtINT IRQ faild :(
Kernel panic - not syncing. IO-APIC timer doesn't work! Boot with apic=debug
and send a report. Then try booting with 'noapic' option

The apic problem is workarounded by passing noapic option, but sound card has interrupt problems then.

AFAIK the board is quite new and apic should work, then probably the sound problem is also solved.

Andi: Do you know about above message:
8254 timer not connected to IO-APIC

Maybe Mark should try the latest 10.2 Beta1 which should be out now. IMO it's likely that this got fixed?
Comment 17 Andreas Kleen 2006-10-30 14:55:24 UTC
Yes known problem. When you remove the nvidia quirk in io_apic.c it will
work, but then older Nvidia systems won't work anymore.  The problem
is that older nvidia systems all have wrong timer overrides so we ignore
them, but the newer systems actually require a timer override that is not
ignored. Normally we handle this by distingushing them based on HPET
availability or not, but Asus "forgot" to enable the HPET in their BIOS
either so it breaks there.

I've been working on a solution for mainline to work around these 
various bios bugs. I don't know when it will be ready.
Comment 18 Thomas Renninger 2006-10-30 15:19:57 UTC
Can you take over then and close this one if there is a solution. There possibly is a duplicate?
Tks.
Comment 19 Andreas Kleen 2006-11-28 19:18:41 UTC
I added a workaround for RC2 -- boot with acpi_use_timer_override
Sorry no automatic detection this time. Perhaps we should add it 
to the release notes (reassigning)

Something like


On some Nvidia NForce 5 motherboards (in particular from Asus) or others
that don't support a HPET timer proper booting might require the
acpi_use_timer_override kernel option


  

Comment 20 Andreas Jaeger 2006-11-28 19:49:27 UTC
Karl, please add this!
Comment 21 Karl Eichwalder 2006-11-29 08:24:03 UTC
I propose this text:

  <sect3>
   <title>Booting Systems with HPET Timer Problems</title>

   <para>
On some NVIDIA nForce 5 motherboards (in particular from ASUS) or others
that do not support a HPET timer proper booting might require the
<option>acpi_use_timer_override</option> kernel option at the boot prompt.
</sect3>
Comment 22 Franz Hassels 2006-12-03 12:26:12 UTC
I have tried the acpi_use_timer_override with the RC5 kernel: Unfortunately I still get a kernel panic. So I reassign to Andi again.

I'll attach the boot messages grabbed from a serial console. Do you need any more information?
Comment 23 Franz Hassels 2006-12-03 12:27:41 UTC
Created attachment 108005 [details]
boot messages
Comment 24 Franz Hassels 2007-01-04 18:33:01 UTC
Fixed with the latest BIOS update. Neither noapic nor acpi_use_timer_override is necessary any more on my Asus M2N-SLI Deluxe system. I think, this bug can be closed now.
Comment 25 Mark Bąbski 2007-01-05 15:30:09 UTC
After upgreading BIOS to the latest version, my Suse now also works without need for "noapic". Motherboard Asus M2N-SLI Deluxe.
Comment 26 Andreas Kleen 2007-01-10 12:43:46 UTC
Closing since BIOS update fixes it