Skip to contentSkip to conversation

2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents

DISCUSSION Thomas Gleixner 2 participants 6 messages Sep 25, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20070925101418.68d30a72@localhost

#1 lore raw
Quoted 11 lines · Mikhail Kshevetskiy

Hello Thomas, Rafael

Quoted 2 lines

We know, that
- disabling local apic timers work

As i can see from the log, you are booting on computer with dualcore AMD processor. Do you have C1E feature enabled?

i386 kernel disable lapic on dualcore AMD with C1E support (see
http://lkml.org/lkml/2007/3/29/199). x86_64 kernel do not have this patch still (it's required for tickless kernel only).

Well it is required for non tickless mode as well.

Quoted 3 lines

As result, if
you run x86_64 kernel with hrt patch on such computer, the system will stall during boot on lapic timer calibration.

Thanks for the reminder. I have a look into this.

tglx

#2 lore raw

Rafael,

Quoted 13 lines · Thomas Gleixner
Quoted 11 lines · Mikhail Kshevetskiy

Hello Thomas, Rafael

Quoted 2 lines

We know, that
- disabling local apic timers work

As i can see from the log, you are booting on computer with dualcore AMD processor. Do you have C1E feature enabled?

i386 kernel disable lapic on dualcore AMD with C1E support (see
http://lkml.org/lkml/2007/3/29/199). x86_64 kernel do not have this patch still (it's required for tickless kernel only).

Quoted 7 lines

Well it is required for non tickless mode as well.

Quoted 3 lines

As result, if
you run x86_64 kernel with hrt patch on such computer, the system will stall during boot on lapic timer calibration.

Thanks for the reminder. I have a look into this.

Can you please boot mainline and provide the output of:

# cat /proc/interrupts; sleep 10; cat /proc/interrupts

Thanks,

tglx

#3 lore raw

Thomas,

Quoted 11 lines · Thomas Gleixner

Rafael,

Quoted 8 lines · Thomas Gleixner
Quoted 7 lines · Mikhail Kshevetskiy

Hello Thomas, Rafael

Quoted 2 lines

We know, that
- disabling local apic timers work

As i can see from the log, you are booting on computer with dualcore AMD processor. Do you have C1E feature enabled?

That's possible, how to check?

Quoted 10 lines
Quoted 10 lines
Quoted 3 lines

i386 kernel disable lapic on dualcore AMD with C1E support (see
http://lkml.org/lkml/2007/3/29/199). x86_64 kernel do not have this patch still (it's required for tickless kernel only).

Well it is required for non tickless mode as well.

Quoted 3 lines

As result, if
you run x86_64 kernel with hrt patch on such computer, the system will stall during boot on lapic timer calibration.

Quoted 5 lines
Quoted 1 line

Thanks for the reminder. I have a look into this.

Can you please boot mainline and provide the output of:

# cat /proc/interrupts; sleep 10; cat /proc/interrupts

albercik:~ # cat /proc/interrupts; sleep 10; cat /proc/interrupts
CPU0 CPU1
0: 1159492 0 local-APIC-edge timer

  1:       6892       1692   IO-APIC-edge      i8042
  8:          0          0   IO-APIC-edge      rtc
 12:        156        110   IO-APIC-edge      i8042
 14:      29613      11409   IO-APIC-edge      ide0
 16:      23365      21934   IO-APIC-fasteoi   sata_sil, HDA Intel
 18:        196      88386   IO-APIC-fasteoi   bcm43xx
 19:     744874     279433   IO-APIC-fasteoi   ohci_hcd:usb1, ohci_hcd:usb2, ehci_hcd:usb3
 20:          2          4   IO-APIC-fasteoi   ohci1394, yenta, tifm_7xx1, sdhci:slot0
 21:       1408        592   IO-APIC-fasteoi   acpi
NMI:          0          0   Non-maskable interrupts
LOC:          0    1158220   Local interrupts
RES:     260520     295387   Rescheduling interrupts
CAL:        419        652   function call interrupts
TLB:        864        541   TLB shootdowns
TRM:          0          0   Thermal event interrupts
THR:          0          0   Threshold APIC interrupts
SPU:          0          0   Spurious interrupts
ERR:         13
           CPU0       CPU1
  0:    1161996          0  local-APIC-edge      timer
  1:       6893       1692   IO-APIC-edge      i8042
  8:          0          0   IO-APIC-edge      rtc
 12:        156        110   IO-APIC-edge      i8042
 14:      29703      11409   IO-APIC-edge      ide0
 16:      23393      21934   IO-APIC-fasteoi   sata_sil, HDA Intel
 18:        196      88490   IO-APIC-fasteoi   bcm43xx
 19:     747268     279433   IO-APIC-fasteoi   ohci_hcd:usb1, ohci_hcd:usb2, ehci_hcd:usb3
 20:          2          4   IO-APIC-fasteoi   ohci1394, yenta, tifm_7xx1, sdhci:slot0
 21:       1412        592   IO-APIC-fasteoi   acpi
NMI:          0          0   Non-maskable interrupts
LOC:          0    1160723   Local interrupts
RES:     260567     295433   Rescheduling interrupts
CAL:        419        652   function call interrupts
TLB:        866        543   TLB shootdowns
TRM:          0          0   Thermal event interrupts
THR:          0          0   Threshold APIC interrupts
SPU:          0          0   Spurious interrupts

ERR: 13
albercik:~ #

#4 lore raw
Quoted 21 lines · Rafael J. Wysocki
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

As i can see from the log, you are booting on computer with dualcore AMD processor. Do you have C1E feature enabled?

That's possible, how to check?

Quoted 10 lines
Quoted 10 lines
Quoted 3 lines

i386 kernel disable lapic on dualcore AMD with C1E support (see
http://lkml.org/lkml/2007/3/29/199). x86_64 kernel do not have this patch still (it's required for tickless kernel only).

Well it is required for non tickless mode as well.

Quoted 3 lines

As result, if
you run x86_64 kernel with hrt patch on such computer, the system will stall during boot on lapic timer calibration.

Quoted 5 lines
Quoted 1 line

Thanks for the reminder. I have a look into this.

Can you please boot mainline and provide the output of:

# cat /proc/interrupts; sleep 10; cat /proc/interrupts
Quoted 7 lines

albercik:~ # cat /proc/interrupts; sleep 10; cat /proc/interrupts
CPU0 CPU1
0: 1159492 0 local-APIC-edge timer
LOC: 0 1158220 Local interrupts

0: 1161996 0 local-APIC-edge timer
LOC: 0 1160723 Local interrupts

Hmm. That's strange. It looks like the local apic timer is not used, but x86_64 definitely lacks the above check. Can you please remove/disable the acpi processor module and recheck ?

tglx

#5 lore raw
Quoted 27 lines · Thomas Gleixner
Quoted 26 lines · Rafael J. Wysocki
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

As i can see from the log, you are booting on computer with dualcore AMD processor. Do you have C1E feature enabled?

That's possible, how to check?

Quoted 10 lines
Quoted 10 lines
Quoted 3 lines

i386 kernel disable lapic on dualcore AMD with C1E support (see
http://lkml.org/lkml/2007/3/29/199). x86_64 kernel do not have this patch still (it's required for tickless kernel only).

Well it is required for non tickless mode as well.

Quoted 3 lines

As result, if
you run x86_64 kernel with hrt patch on such computer, the system will stall during boot on lapic timer calibration.

Quoted 5 lines
Quoted 1 line

Thanks for the reminder. I have a look into this.

Can you please boot mainline and provide the output of:

# cat /proc/interrupts; sleep 10; cat /proc/interrupts

albercik:~ # cat /proc/interrupts; sleep 10; cat /proc/interrupts
CPU0 CPU1
0: 1159492 0 local-APIC-edge timer
LOC: 0 1158220 Local interrupts

Quoted 5 lines
Quoted 2 lines

0: 1161996 0 local-APIC-edge timer
LOC: 0 1160723 Local interrupts

Hmm. That's strange. It looks like the local apic timer is not used, but x86_64 definitely lacks the above check.

Ouch, sorry. This is from the kernel booted with "noapictimer".

I'll get the correct output in a little while.

Greetings,
Rafael

#6 lore raw
Quoted 31 lines · Rafael J. Wysocki
Quoted 30 lines · Thomas Gleixner
Quoted 28 lines · Rafael J. Wysocki
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

As i can see from the log, you are booting on computer with dualcore AMD processor. Do you have C1E feature enabled?

That's possible, how to check?

Quoted 10 lines
Quoted 10 lines
Quoted 3 lines

i386 kernel disable lapic on dualcore AMD with C1E support (see
http://lkml.org/lkml/2007/3/29/199). x86_64 kernel do not have this patch still (it's required for tickless kernel only).

Well it is required for non tickless mode as well.

Quoted 3 lines

As result, if
you run x86_64 kernel with hrt patch on such computer, the system will stall during boot on lapic timer calibration.

Quoted 5 lines
Quoted 1 line

Thanks for the reminder. I have a look into this.

Can you please boot mainline and provide the output of:

# cat /proc/interrupts; sleep 10; cat /proc/interrupts

albercik:~ # cat /proc/interrupts; sleep 10; cat /proc/interrupts
CPU0 CPU1
0: 1159492 0 local-APIC-edge timer
LOC: 0 1158220 Local interrupts

0: 1161996 0 local-APIC-edge timer
LOC: 0 1160723 Local interrupts

Quoted 6 lines
Quoted 2 lines

Hmm. That's strange. It looks like the local apic timer is not used, but x86_64 definitely lacks the above check.

Ouch, sorry. This is from the kernel booted with "noapictimer".

I'll get the correct output in a little while.

OK, this one is from -rc7 with no extra command line:

albercik:~ # cat /proc/interrupts; sleep 10; cat /proc/interrupts
CPU0 CPU1
0: 27311 0 local-APIC-edge timer

  1:          1         77   IO-APIC-edge      i8042
  8:          0          0   IO-APIC-edge      rtc
 12:          0        148   IO-APIC-edge      i8042
 14:         19        683   IO-APIC-edge      ide0
 16:        178      12443   IO-APIC-fasteoi   sata_sil, HDA Intel
 19:        111      15197   IO-APIC-fasteoi   ehci_hcd:usb1, ohci_hcd:usb2, ohci_hcd:usb3
 20:          0          3   IO-APIC-fasteoi   tifm_7xx1, yenta, sdhci:slot0, ohci1394
 21:          0        113   IO-APIC-fasteoi   acpi
NMI:          0          0
LOC:      27270      27119
ERR:          2
           CPU0       CPU1
  0:      29815          0  local-APIC-edge      timer
  1:          1         77   IO-APIC-edge      i8042
  8:          0          0   IO-APIC-edge      rtc
 12:          0        148   IO-APIC-edge      i8042
 14:         20        772   IO-APIC-edge      ide0
 16:        178      12451   IO-APIC-fasteoi   sata_sil, HDA Intel
 19:        112      17199   IO-APIC-fasteoi   ehci_hcd:usb1, ohci_hcd:usb2, ohci_hcd:usb3
 20:          0          3   IO-APIC-fasteoi   tifm_7xx1, yenta, sdhci:slot0, ohci1394
 21:          0        117   IO-APIC-fasteoi   acpi
NMI:          0          0
LOC:      29774      29623
ERR:          2

albercik:~ #

Greetings,
Rafael