Re: linux-next: Tree for June 13: IO APIC breakage on HP nx6325

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Cyrill Gorcunov
Date: Wednesday, June 18, 2008 - 12:06 pm

[Maciej W. Rozycki - Wed, Jun 18, 2008 at 05:02:48AM +0100]
| On Wed, 18 Jun 2008, Rafael J. Wysocki wrote:
| 
| > Here you go.  Below is the relevant snippet from the yesterday's linux-next
| > dmesg with the patches:
| > "x86: I/O APIC: timer through 8259A second-chance"
| > "x86: add C1E aware idle function"
| > reverted and the appended debug patch applied.
| > 
| > [    0.108006] TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
| > [    0.108006] ..MP-BIOS bug: 8254 timer not connected to IO-APIC
| > [    0.108006] ...trying to set up timer (IRQ0) through the 8259A ... <2> failed
| > [    0.108006] ...trying to set up timer as Virtual Wire IRQ...<2> works.
| > 
| > The entire dmesg is at: http://www.sisk.pl/kernel/debug/20080616/dmesg-4.log
| 
|  Thanks -- this is very important and useful information as it shows the
| exact alternative used.
| 
|  With such a configuration the "x86: I/O APIC: timer through 8259A
| second-chance" patch should not matter, because the only change it
| introduces is an attempt to try the same I/O APIC pin again, but with the
| IRQ0 line of the master 8259A enabled.  That's not a terribly unusual 
| configuration and nothing should get confused in the system.
| 
|  Barring the unlikely possibility of the 8259A actually being wired to 
| INTIN2 of the I/O APIC I can see two possible explanations:
| 
| 1. The 8259A interrupt actually escapes to the CPU somehow and is handled
|    as an ExtINTA interrupt.  This would make the code in check_timer()  
|    decide it has found a working configuration, while actually it has been
|    fooled.

Maciej, that is why we get 'received illegal vector'?

	[  129.092151] APIC error on CPU1: 00(40)

| 
| 2. There is a bug in this patch or an assumption it makes which results 
|    in the state of some component not to be restored correctly.  
|    Unfortunately I have no resources to test the 64-bit variation of the 
|    code, so something may have escaped my attention.
| 
|  I'd like to find out which one is the case -- can you please reapply the
| patch and send me the corresponding section of the bootstrap log?  If the
| system hangs before you can retrieve the log, please just place:
| 
| while (1);
| 
| or something like that after the out: label in check_timer().
| 
|  Thanks.
| 
|   Maciej
| 

		- Cyrill -
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Maciej W. Rozycki, (Sun Jun 15, 7:45 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Mon Jun 16, 6:39 am)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Maciej W. Rozycki, (Mon Jun 16, 8:39 am)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Mon Jun 16, 3:38 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Mon Jun 16, 4:05 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Tue Jun 17, 1:44 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Tue Jun 17, 1:59 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Maciej W. Rozycki, (Tue Jun 17, 2:19 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Tue Jun 17, 2:38 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Tue Jun 17, 3:19 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Tue Jun 17, 3:25 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Tue Jun 17, 3:53 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Maciej W. Rozycki, (Tue Jun 17, 9:02 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Wed Jun 18, 7:37 am)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Wed Jun 18, 7:40 am)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Cyrill Gorcunov, (Wed Jun 18, 12:06 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Wed Jun 18, 3:11 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Maciej W. Rozycki, (Wed Jun 18, 3:36 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Maciej W. Rozycki, (Wed Jun 18, 4:39 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Wed Jun 18, 5:25 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Maciej W. Rozycki, (Thu Jun 19, 11:17 am)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Maciej W. Rozycki, (Thu Jun 19, 5:35 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Fri Jun 20, 4:53 am)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Fri Jun 20, 5:22 am)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Maciej W. Rozycki, (Fri Jun 20, 1:44 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Maciej W. Rozycki, (Fri Jun 20, 1:56 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Maciej W. Rozycki, (Fri Jun 20, 6:09 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Maciej W. Rozycki, (Fri Jun 20, 6:49 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Maciej W. Rozycki, (Fri Jun 20, 7:41 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Sat Jun 21, 3:47 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Thu Jun 26, 1:37 am)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Thu Jun 26, 12:52 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Maciej W. Rozycki, (Thu Jun 26, 5:06 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Maciej W. Rozycki, (Thu Jun 26, 6:53 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Sun Jun 29, 7:00 am)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Maciej W. Rozycki, (Sun Jun 29, 12:05 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Sun Jun 29, 12:23 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Sun Jun 29, 12:31 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Maciej W. Rozycki, (Sun Jun 29, 12:56 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Maciej W. Rozycki, (Sun Jun 29, 1:03 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Maciej W. Rozycki, (Sun Jun 29, 1:14 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Maciej W. Rozycki, (Sun Jun 29, 1:16 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Sun Jun 29, 3:56 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Sun Jun 29, 3:59 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Sun Jun 29, 4:06 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Maciej W. Rozycki, (Sun Jun 29, 6:00 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Maciej W. Rozycki, (Sun Jun 29, 6:39 pm)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Rafael J. Wysocki, (Mon Jun 30, 3:41 am)
Re: linux-next: Tree for June 13: IO APIC breakage on HP n ..., Maciej W. Rozycki, (Mon Jun 30, 8:29 am)