Re: "double" hpet clocksource && hard freeze [bisected]

2007-08-28 Thread Paolo Ornati
On Tue, 28 Aug 2007 10:27:09 +0200 Clemens Ladisch <[EMAIL PROTECTED]> wrote: > Luck, Tony wrote: > > [...] Given that the hang went away when you applied the earlier patch, I > > conclude that the drivers/char/hpet.c code is the one that got selected when > > you had two "hpet" entries ... and

Re: "double" hpet clocksource && hard freeze [bisected]

2007-08-28 Thread Clemens Ladisch
Luck, Tony wrote: [...] Given that the hang went away when you applied the earlier patch, I conclude that the drivers/char/hpet.c code is the one that got selected when you had two "hpet" entries ... and that there is something wrong with that code that doesn't work right on x86_64.

Re: "double" hpet clocksource && hard freeze [bisected]

2007-08-28 Thread Paolo Ornati
On Mon, 27 Aug 2007 17:34:58 -0300 "Luiz Fernando N. Capitulino" <[EMAIL PROTECTED]> wrote: > | Yea. While I'm still not completely comfortable leaving this up to boot > | order alone (the ia64 hpet clocksource is clearly causing issues on > | x86_64), I think this patch is something we need as

Re: double hpet clocksource hard freeze [bisected]

2007-08-28 Thread Paolo Ornati
On Mon, 27 Aug 2007 17:34:58 -0300 Luiz Fernando N. Capitulino [EMAIL PROTECTED] wrote: | Yea. While I'm still not completely comfortable leaving this up to boot | order alone (the ia64 hpet clocksource is clearly causing issues on | x86_64), I think this patch is something we need as well.

Re: double hpet clocksource hard freeze [bisected]

2007-08-28 Thread Clemens Ladisch
Luck, Tony wrote: [...] Given that the hang went away when you applied the earlier patch, I conclude that the drivers/char/hpet.c code is the one that got selected when you had two hpet entries ... and that there is something wrong with that code that doesn't work right on x86_64. Apparently,

Re: double hpet clocksource hard freeze [bisected]

2007-08-28 Thread Paolo Ornati
On Tue, 28 Aug 2007 10:27:09 +0200 Clemens Ladisch [EMAIL PROTECTED] wrote: Luck, Tony wrote: [...] Given that the hang went away when you applied the earlier patch, I conclude that the drivers/char/hpet.c code is the one that got selected when you had two hpet entries ... and that there

Re: "double" hpet clocksource && hard freeze [bisected]

2007-08-27 Thread john stultz
On Mon, 2007-08-27 at 17:34 -0300, Luiz Fernando N. Capitulino wrote: > Em Fri, 24 Aug 2007 11:17:34 -0700 > john stultz <[EMAIL PROTECTED]> escreveu: > > | On Fri, 2007-08-24 at 08:46 -0400, Bob Picco wrote: > | > john stultz wrote:[Thu Aug 23 2007, 05:41:45PM EDT] > | > > On Thu,

Re: "double" hpet clocksource && hard freeze [bisected]

2007-08-27 Thread Luiz Fernando N. Capitulino
Em Fri, 24 Aug 2007 11:17:34 -0700 john stultz <[EMAIL PROTECTED]> escreveu: | On Fri, 2007-08-24 at 08:46 -0400, Bob Picco wrote: | > john stultz wrote: [Thu Aug 23 2007, 05:41:45PM EDT] | > > On Thu, 2007-08-23 at 14:05 -0700, john stultz wrote: | > > > On Thu, 2007-08-23 at 13:41 -0700, Luck,

Re: double hpet clocksource hard freeze [bisected]

2007-08-27 Thread Luiz Fernando N. Capitulino
Em Fri, 24 Aug 2007 11:17:34 -0700 john stultz [EMAIL PROTECTED] escreveu: | On Fri, 2007-08-24 at 08:46 -0400, Bob Picco wrote: | john stultz wrote: [Thu Aug 23 2007, 05:41:45PM EDT] | On Thu, 2007-08-23 at 14:05 -0700, john stultz wrote: |On Thu, 2007-08-23 at 13:41 -0700, Luck, Tony

Re: double hpet clocksource hard freeze [bisected]

2007-08-27 Thread john stultz
On Mon, 2007-08-27 at 17:34 -0300, Luiz Fernando N. Capitulino wrote: Em Fri, 24 Aug 2007 11:17:34 -0700 john stultz [EMAIL PROTECTED] escreveu: | On Fri, 2007-08-24 at 08:46 -0400, Bob Picco wrote: | john stultz wrote:[Thu Aug 23 2007, 05:41:45PM EDT] | On Thu, 2007-08-23 at

RE: "double" hpet clocksource && hard freeze [bisected]

2007-08-24 Thread john stultz
On Thu, 2007-08-23 at 14:05 -0700, john stultz wrote: > On Thu, 2007-08-23 at 13:41 -0700, Luck, Tony wrote: > > > I have a double "hpet" entry in "available_clocksource": > > > $ cat /sys/devices/system/clocksource/clocksource0/available_clocksource > > > tsc hpet hpet acpi_pm jiffies > > >

Re: "double" hpet clocksource && hard freeze [bisected]

2007-08-24 Thread john stultz
On Fri, 2007-08-24 at 08:46 -0400, Bob Picco wrote: > john stultz wrote:[Thu Aug 23 2007, 05:41:45PM EDT] > > On Thu, 2007-08-23 at 14:05 -0700, john stultz wrote: > > > On Thu, 2007-08-23 at 13:41 -0700, Luck, Tony wrote: > > > > > I have a double "hpet" entry in "available_clocksource": > >

Re: "double" hpet clocksource && hard freeze [bisected]

2007-08-24 Thread Paolo Ornati
On Fri, 24 Aug 2007 09:04:22 -0700 "Luck, Tony" <[EMAIL PROTECTED]> wrote: > It is good to avoid registering two clocksources with the same name, but > the fix might be a bit more fragile than the eariler one that temporarily > marked the drivers/char/hpet.c one as CONFIG_IA64 only. Given that

RE: "double" hpet clocksource && hard freeze [bisected]

2007-08-24 Thread Luck, Tony
> > Prevent duplicate names being registered with clocksource. This also > > eliminates the duplication of hpet clock registration when the arch > > uses the hpet timer and the hpet driver does too. The patch was > > compile and link tested. > > This one works too. It is good to avoid registering

Re: "double" hpet clocksource && hard freeze [bisected]

2007-08-24 Thread Paolo Ornati
On Fri, 24 Aug 2007 08:46:31 -0400 "Bob Picco" <[EMAIL PROTECTED]> wrote: > Prevent duplicate names being registered with clocksource. This also > eliminates the duplication of hpet clock registration when the arch > uses the hpet timer and the hpet driver does too. The patch was > compile and

Re: "double" hpet clocksource && hard freeze [bisected]

2007-08-24 Thread Bob Picco
john stultz wrote: [Thu Aug 23 2007, 05:41:45PM EDT] > On Thu, 2007-08-23 at 14:05 -0700, john stultz wrote: > > On Thu, 2007-08-23 at 13:41 -0700, Luck, Tony wrote: > > > > I have a double "hpet" entry in "available_clocksource": > > > > $ cat

Re: "double" hpet clocksource && hard freeze [bisected]

2007-08-24 Thread Paolo Ornati
On Thu, 23 Aug 2007 14:41:45 -0700 john stultz <[EMAIL PROTECTED]> wrote: > > My initial reaction would be to either ifdef ia64 implementation in > > drivers/char/hpet.c or move the code under the ia64 arch dir until it is > > really usable by all arches. > > Here is a possible quick fix. I'm

Re: "double" hpet clocksource && hard freeze [bisected]

2007-08-24 Thread Paolo Ornati
On Thu, 23 Aug 2007 17:38:49 -0400 "Bob Picco" <[EMAIL PROTECTED]> wrote: > It appears ACPI discovery failed during driver initialization because > of: > hpet_resources: 0xfed0 is busy Note: this was always there as far as I can remember. -- Paolo Ornati Linux

Re: double hpet clocksource hard freeze [bisected]

2007-08-24 Thread Paolo Ornati
On Thu, 23 Aug 2007 14:41:45 -0700 john stultz [EMAIL PROTECTED] wrote: My initial reaction would be to either ifdef ia64 implementation in drivers/char/hpet.c or move the code under the ia64 arch dir until it is really usable by all arches. Here is a possible quick fix. I'm open to

Re: double hpet clocksource hard freeze [bisected]

2007-08-24 Thread Paolo Ornati
On Thu, 23 Aug 2007 17:38:49 -0400 Bob Picco [EMAIL PROTECTED] wrote: It appears ACPI discovery failed during driver initialization because of: hpet_resources: 0xfed0 is busy Note: this was always there as far as I can remember. -- Paolo Ornati Linux

Re: double hpet clocksource hard freeze [bisected]

2007-08-24 Thread Bob Picco
john stultz wrote: [Thu Aug 23 2007, 05:41:45PM EDT] On Thu, 2007-08-23 at 14:05 -0700, john stultz wrote: On Thu, 2007-08-23 at 13:41 -0700, Luck, Tony wrote: I have a double hpet entry in available_clocksource: $ cat

Re: double hpet clocksource hard freeze [bisected]

2007-08-24 Thread Paolo Ornati
On Fri, 24 Aug 2007 08:46:31 -0400 Bob Picco [EMAIL PROTECTED] wrote: Prevent duplicate names being registered with clocksource. This also eliminates the duplication of hpet clock registration when the arch uses the hpet timer and the hpet driver does too. The patch was compile and link

RE: double hpet clocksource hard freeze [bisected]

2007-08-24 Thread Luck, Tony
Prevent duplicate names being registered with clocksource. This also eliminates the duplication of hpet clock registration when the arch uses the hpet timer and the hpet driver does too. The patch was compile and link tested. This one works too. It is good to avoid registering two

Re: double hpet clocksource hard freeze [bisected]

2007-08-24 Thread Paolo Ornati
On Fri, 24 Aug 2007 09:04:22 -0700 Luck, Tony [EMAIL PROTECTED] wrote: It is good to avoid registering two clocksources with the same name, but the fix might be a bit more fragile than the eariler one that temporarily marked the drivers/char/hpet.c one as CONFIG_IA64 only. Given that the

Re: double hpet clocksource hard freeze [bisected]

2007-08-24 Thread john stultz
On Fri, 2007-08-24 at 08:46 -0400, Bob Picco wrote: john stultz wrote:[Thu Aug 23 2007, 05:41:45PM EDT] On Thu, 2007-08-23 at 14:05 -0700, john stultz wrote: On Thu, 2007-08-23 at 13:41 -0700, Luck, Tony wrote: I have a double hpet entry in available_clocksource: $ cat

RE: double hpet clocksource hard freeze [bisected]

2007-08-24 Thread john stultz
On Thu, 2007-08-23 at 14:05 -0700, john stultz wrote: On Thu, 2007-08-23 at 13:41 -0700, Luck, Tony wrote: I have a double hpet entry in available_clocksource: $ cat /sys/devices/system/clocksource/clocksource0/available_clocksource tsc hpet hpet acpi_pm jiffies Oops. If seems

RE: "double" hpet clocksource && hard freeze [bisected]

2007-08-23 Thread john stultz
On Thu, 2007-08-23 at 14:05 -0700, john stultz wrote: > On Thu, 2007-08-23 at 13:41 -0700, Luck, Tony wrote: > > > I have a double "hpet" entry in "available_clocksource": > > > $ cat /sys/devices/system/clocksource/clocksource0/available_clocksource > > > tsc hpet hpet acpi_pm jiffies > > >

Re: "double" hpet clocksource && hard freeze [bisected]

2007-08-23 Thread Bob Picco
john stultz wrote: [Thu Aug 23 2007, 05:05:35PM EDT] > On Thu, 2007-08-23 at 13:41 -0700, Luck, Tony wrote: > > > I have a double "hpet" entry in "available_clocksource": > > > $ cat /sys/devices/system/clocksource/clocksource0/available_clocksource > > > tsc hpet hpet acpi_pm jiffies > >

RE: "double" hpet clocksource && hard freeze [bisected]

2007-08-23 Thread john stultz
On Thu, 2007-08-23 at 13:41 -0700, Luck, Tony wrote: > > I have a double "hpet" entry in "available_clocksource": > > $ cat /sys/devices/system/clocksource/clocksource0/available_clocksource > > tsc hpet hpet acpi_pm jiffies > > Oops. If seems that both drivers/char/hpet.c and

RE: "double" hpet clocksource && hard freeze [bisected]

2007-08-23 Thread Luck, Tony
> I have a double "hpet" entry in "available_clocksource": > $ cat /sys/devices/system/clocksource/clocksource0/available_clocksource > tsc hpet hpet acpi_pm jiffies Oops. If seems that both drivers/char/hpet.c and arch/x86_64/kernel/hpet.c both register a clocksource named "hpet".

Re: "double" hpet clocksource && hard freeze [bisected]

2007-08-23 Thread Paolo Ornati
On Thu, 23 Aug 2007 22:21:15 +0200 Paolo Ornati <[EMAIL PROTECTED]> wrote: > config & dmesg attached ehmm.. -- Paolo Ornati Linux 2.6.22-g5bae7ac9 on x86_64 config.gz Description: GNU Zip compressed data dmesg.gz Description: GNU Zip compressed data

"double" hpet clocksource && hard freeze [bisected]

2007-08-23 Thread Paolo Ornati
Hi, since commit: commit 0aa366f351d044703e25c8425e508170e80d83b1 Author: Tony Luck <[EMAIL PROTECTED]> Date: Fri Jul 20 11:22:30 2007 -0700 [IA64] Convert to generic timekeeping/clocksource This is a merge of Peter Keilty's initial patch (which was revived by Bob Picco)

double hpet clocksource hard freeze [bisected]

2007-08-23 Thread Paolo Ornati
Hi, since commit: commit 0aa366f351d044703e25c8425e508170e80d83b1 Author: Tony Luck [EMAIL PROTECTED] Date: Fri Jul 20 11:22:30 2007 -0700 [IA64] Convert to generic timekeeping/clocksource This is a merge of Peter Keilty's initial patch (which was revived by Bob Picco)

Re: double hpet clocksource hard freeze [bisected]

2007-08-23 Thread Paolo Ornati
On Thu, 23 Aug 2007 22:21:15 +0200 Paolo Ornati [EMAIL PROTECTED] wrote: config dmesg attached ehmm.. -- Paolo Ornati Linux 2.6.22-g5bae7ac9 on x86_64 config.gz Description: GNU Zip compressed data dmesg.gz Description: GNU Zip compressed data

RE: double hpet clocksource hard freeze [bisected]

2007-08-23 Thread Luck, Tony
I have a double hpet entry in available_clocksource: $ cat /sys/devices/system/clocksource/clocksource0/available_clocksource tsc hpet hpet acpi_pm jiffies Oops. If seems that both drivers/char/hpet.c and arch/x86_64/kernel/hpet.c both register a clocksource named hpet. Probably

RE: double hpet clocksource hard freeze [bisected]

2007-08-23 Thread john stultz
On Thu, 2007-08-23 at 13:41 -0700, Luck, Tony wrote: I have a double hpet entry in available_clocksource: $ cat /sys/devices/system/clocksource/clocksource0/available_clocksource tsc hpet hpet acpi_pm jiffies Oops. If seems that both drivers/char/hpet.c and

Re: double hpet clocksource hard freeze [bisected]

2007-08-23 Thread Bob Picco
john stultz wrote: [Thu Aug 23 2007, 05:05:35PM EDT] On Thu, 2007-08-23 at 13:41 -0700, Luck, Tony wrote: I have a double hpet entry in available_clocksource: $ cat /sys/devices/system/clocksource/clocksource0/available_clocksource tsc hpet hpet acpi_pm jiffies Oops. If

RE: double hpet clocksource hard freeze [bisected]

2007-08-23 Thread john stultz
On Thu, 2007-08-23 at 14:05 -0700, john stultz wrote: On Thu, 2007-08-23 at 13:41 -0700, Luck, Tony wrote: I have a double hpet entry in available_clocksource: $ cat /sys/devices/system/clocksource/clocksource0/available_clocksource tsc hpet hpet acpi_pm jiffies Oops. If seems