All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.6.12] x86-64 IO-APIC + timer doesn't work
@ 2005-06-18 13:52 Alistair John Strachan
  2005-06-18 19:09 ` Andi Kleen
  2005-06-18 23:52 ` [2.6.12] x86-64 IO-APIC + timer doesn't work II + PATCH Andi Kleen
  0 siblings, 2 replies; 10+ messages in thread
From: Alistair John Strachan @ 2005-06-18 13:52 UTC (permalink / raw)
  To: Andi Kleen; +Cc: linux-kernel

Hi,

I upgraded my nForce3 x86-64 desktop from 2.6.12-rc5 to 2.6.12 today and 
something strange started happening. Waay back in 2.6.x I had problems with 
the "noapic" default for nForce boards on x86-64, and so used the "apic" 
kernel boot parameter to force the apic on; this worked successfully for a 
long time with no timer problems.

However, as of 2.6.12 (maybe -rc6, too?) my desktop occasionally fails to boot 
with the message:

"IO-APIC + timer doesn't work! Try using the 'noapic' kernel parameter."
(arch/x86_64/kernel/io_apic.c)

However, this message is intermittent; it is sometimes possible to boot 
without getting it, and everything works fine. So I took its advice and ran 
with noapic, and everything seems fine now.

However, I just thought I'd let whoever maintains this bit of code know that 
the check isn't a "sure thing": it's not being flagged reliably. Whether this 
is my BIOS or the kernel, I don't know.

Though I clearly don't require this functionality any more, is there any 
reason I now can't use apic on this nForce3 board, where previously (on 
2.6.12-rc5 and older) I could?

-- 
Cheers,
Alistair.

personal:   alistair()devzero!co!uk
university: s0348365()sms!ed!ac!uk
student:    CS/CSim Undergraduate
contact:    1F2 55 South Clerk Street,
            Edinburgh. EH8 9PP.

^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: [2.6.12] x86-64 IO-APIC + timer doesn't work
@ 2005-06-19  4:57 Pallipadi, Venkatesh
  2005-06-19 19:25 ` Alistair John Strachan
  0 siblings, 1 reply; 10+ messages in thread
From: Pallipadi, Venkatesh @ 2005-06-19  4:57 UTC (permalink / raw)
  To: Andi Kleen, Alistair John Strachan; +Cc: linux-kernel, ACurrid



>-----Original Message-----
>From: Andi Kleen [mailto:ak@muc.de] 
>Sent: Saturday, June 18, 2005 6:34 PM
>To: Alistair John Strachan
>Cc: linux-kernel@vger.kernel.org; ACurrid@nvidia.com; 
>Pallipadi, Venkatesh
>Subject: Re: [2.6.12] x86-64 IO-APIC + timer doesn't work
>
>> Despite the fact that this wasn't documented in the BIOS 
>update, an update for 
>> my board (MS-7030 Neo Platinum by MSI) supposedly fixing 
>"Fan Function" 
>> actually corrects the IO-APIC and NMI bugs. I now get the 
>following in dmesg 
>> instead:
>> 
>> Calibrating delay loop... 3973.12 BogoMIPS (lpj=1986560)
>> Mount-cache hash table entries: 256
>> CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
>> CPU: L2 Cache: 512K (64 bytes/line)
>> CPU: AMD Athlon(tm) 64 Processor 3000+ stepping 00
>> Using local APIC timer interrupts.
>> Detected 12.561 MHz APIC timer.
>> testing NMI watchdog ... OK.
>> 
>> So I'm a happy man. Whether this is at all related to the 
>problems I was 
>> having before, I don't really know. If the problem doesn't 
>reoccur, I could 
>> very well have wasted your time.
>
>Hmm - I suspect I know what's happening. The older BIOS 
>probably had some long
>running SMM code that breaks the BogoMips computation occasionally
>and that breaks the timer check later which relies on usable BogoMips.
>
>There was a patch for that from Venkatesh (because it showed on some
>other machines too), but it didn't seem to have made it into 2.6.12 
>
>Venkatesh, can you push your calibrate_delay patch please? ? 
>
>
>-Andi


That patch is in mm tree.

http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc
6/2.6.12-rc6-mm1/broken-out/platform-smis-and-their-interferance-with-ts
c-based-delay-calibration.patch

http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc
6/2.6.12-rc6-mm1/broken-out/platform-smis-and-their-interferance-with-ts
c-based-delay-calibration-fix.patch

Thanks,
Venki

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-06-19 19:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-18 13:52 [2.6.12] x86-64 IO-APIC + timer doesn't work Alistair John Strachan
2005-06-18 19:09 ` Andi Kleen
2005-06-19  0:21   ` Alistair John Strachan
2005-06-19  0:57     ` Alistair John Strachan
2005-06-19  1:33       ` Andi Kleen
2005-06-19  1:03   ` Alistair John Strachan
2005-06-18 23:52 ` [2.6.12] x86-64 IO-APIC + timer doesn't work II + PATCH Andi Kleen
2005-06-19  0:23   ` Alistair John Strachan
  -- strict thread matches above, loose matches on Subject: below --
2005-06-19  4:57 [2.6.12] x86-64 IO-APIC + timer doesn't work Pallipadi, Venkatesh
2005-06-19 19:25 ` Alistair John Strachan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.