linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Badness at kernel/time/timekeeping.c:98 in pmud (timekeeping_suspended)
@ 2009-01-21  7:15 Paul Collins
  2009-01-21 16:13 ` Rafael J. Wysocki
  0 siblings, 1 reply; 8+ messages in thread
From: Paul Collins @ 2009-01-21  7:15 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linuxppc-dev, linux-kernel

Got a couple of these on a PowerBook running 2.6.29-rc2 either during
suspend or resume -- it's hard to tell.  (The suspend message is
timestamped in syslog with the time I resumed, so I guess it was
buffered along with the subsequent "Badness" messages.)


Badness at kernel/time/timekeeping.c:98
NIP: c0053990 LR: c0053b10 CTR: c0348840
REGS: ee4fdba0 TRAP: 0700   Not tainted  (2.6.29-rc2-00001-g351549b)
MSR: 02023032 <FP,VEC,ME,CE,IR,DR>  CR: 24444284  XER: 20000000
TASK = ef2f7820[2700] 'pmud' THREAD: ee4fc000
GPR00: 00000001 ee4fdc50 ef2f7820 ee4fdc88 00000005 00000000 00000000 ef84a7fc
GPR08: 00000004 00000000 a9283f00 00000001 22444224 1001e68c 00000040 00000000
GPR16: 00000001 00000010 22444224 00000001 00000000 c067c05c 00000000 00000005
GPR24: c067c16d 00000006 c067c16c 00000005 ee4fdc88 ee4fdcb8 ef357400 00000000
NIP [c0053990] getnstimeofday+0x24/0x188
LR [c0053b10] do_gettimeofday+0x1c/0x58
Call Trace:
[ee4fdc80] [c0053b10] do_gettimeofday+0x1c/0x58
[ee4fdcb0] [c0348868] evdev_event+0x28/0x158
[ee4fdce0] [c0340ce4] input_pass_event+0xac/0xb0
[ee4fdd00] [c0343a44] input_event+0x80/0x98
[ee4fdd20] [c02f6d24] via_pmu_event+0x88/0x8c
[ee4fdd30] [c02f4f60] via_pmu_interrupt+0x6e0/0xb2c
[ee4fdd90] [c02f5664] pmu_wait_complete+0x50/0x84
[ee4fddb0] [c02f6764] powerbook_sleep+0x9f0/0xb24
[ee4fde40] [c00607f8] suspend_devices_and_enter+0x10c/0x180
[ee4fde60] [c0060a1c] enter_state+0x11c/0x160
[ee4fde80] [c02f4404] pmu_ioctl+0x15c/0x24c
[ee4fde90] [c00bab04] vfs_ioctl+0x8c/0x90
[ee4fdea0] [c00babb8] do_vfs_ioctl+0x8c/0x70c
[ee4fdf10] [c00bb2d4] sys_ioctl+0x9c/0xa4
[ee4fdf40] [c0012eb8] ret_from_syscall+0x0/0x38
--- Exception: c01 at 0xff59878
    LR = 0xff597dc
Instruction dump:
7f9c0040 40bdff90 4bffff48 9421ffd0 7c0802a6 3d20c05e 90010034 bf210014
7c7c1b78 816970a4 312bffff 7c095910 <0f000000> 3d40c05f 3d20c05f 3d60c05f
------------[ cut here ]------------
Badness at kernel/time/timekeeping.c:98
NIP: c0053990 LR: c0053b10 CTR: c0348840
REGS: ee4fdba0 TRAP: 0700   Tainted: G        W   (2.6.29-rc2-00001-g351549b)
MSR: 02023032 <FP,VEC,ME,CE,IR,DR>  CR: 44444284  XER: 20000000
TASK = ef2f7820[2700] 'pmud' THREAD: ee4fc000
GPR00: 00000001 ee4fdc50 ef2f7820 ee4fdc88 00000000 00000000 00000000 00000000
GPR08: c062f520 00000000 efae6240 00000001 44444284 1001e68c 00000040 00000000
GPR16: 00000001 00000010 22444224 00000001 00000000 c067c05c 00000000 00000005
GPR24: c067c16d 00000006 c067c16c 00000000 ee4fdc88 ee4fdcb8 ef357400 00000000
NIP [c0053990] getnstimeofday+0x24/0x188
LR [c0053b10] do_gettimeofday+0x1c/0x58
Call Trace:
[ee4fdc50] [ee4fdd00] 0xee4fdd00 (unreliable)
[ee4fdc80] [c0053b10] do_gettimeofday+0x1c/0x58
[ee4fdcb0] [c0348868] evdev_event+0x28/0x158
[ee4fdce0] [c0340ce4] input_pass_event+0xac/0xb0
[ee4fdd00] [c0343a44] input_event+0x80/0x98
[ee4fdd20] [c02f6cf0] via_pmu_event+0x54/0x8c
[ee4fdd30] [c02f4f60] via_pmu_interrupt+0x6e0/0xb2c
[ee4fdd90] [c02f5664] pmu_wait_complete+0x50/0x84
[ee4fddb0] [c02f6764] powerbook_sleep+0x9f0/0xb24
[ee4fde40] [c00607f8] suspend_devices_and_enter+0x10c/0x180
[ee4fde60] [c0060a1c] enter_state+0x11c/0x160
[ee4fde80] [c02f4404] pmu_ioctl+0x15c/0x24c
[ee4fde90] [c00bab04] vfs_ioctl+0x8c/0x90
[ee4fdea0] [c00babb8] do_vfs_ioctl+0x8c/0x70c
[ee4fdf10] [c00bb2d4] sys_ioctl+0x9c/0xa4
[ee4fdf40] [c0012eb8] ret_from_syscall+0x0/0x38
--- Exception: c01 at 0xff59878
    LR = 0xff597dc
Instruction dump:
7f9c0040 40bdff90 4bffff48 9421ffd0 7c0802a6 3d20c05e 90010034 bf210014
7c7c1b78 816970a4 312bffff 7c095910 <0f000000> 3d40c05f 3d20c05f 3d60c05f

-- 
Paul Collins
Wellington, New Zealand

Dag vijandelijk luchtschip de huismeester is dood

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

* Re: Badness at kernel/time/timekeeping.c:98 in pmud (timekeeping_suspended)
  2009-01-21  7:15 Badness at kernel/time/timekeeping.c:98 in pmud (timekeeping_suspended) Paul Collins
@ 2009-01-21 16:13 ` Rafael J. Wysocki
  2009-01-22  8:19   ` Paul Collins
  0 siblings, 1 reply; 8+ messages in thread
From: Rafael J. Wysocki @ 2009-01-21 16:13 UTC (permalink / raw)
  To: Paul Collins; +Cc: linuxppc-dev, Thomas Gleixner, linux-kernel

On Wednesday 21 January 2009, Paul Collins wrote:
> Got a couple of these on a PowerBook running 2.6.29-rc2 either during
> suspend or resume -- it's hard to tell.  (The suspend message is
> timestamped in syslog with the time I resumed, so I guess it was
> buffered along with the subsequent "Badness" messages.)

Please check if the patch from http://lkml.org/lkml/2009/1/13/144 fixes the
problem for you.

Thanks,
Rafael

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

* Re: Badness at kernel/time/timekeeping.c:98 in pmud (timekeeping_suspended)
  2009-01-21 16:13 ` Rafael J. Wysocki
@ 2009-01-22  8:19   ` Paul Collins
  2009-02-08  4:35     ` Paul Collins
  0 siblings, 1 reply; 8+ messages in thread
From: Paul Collins @ 2009-01-22  8:19 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linuxppc-dev, Thomas Gleixner, linux-kernel

"Rafael J. Wysocki" <rjw@sisk.pl> writes:

> On Wednesday 21 January 2009, Paul Collins wrote:
>> Got a couple of these on a PowerBook running 2.6.29-rc2 either during
>> suspend or resume -- it's hard to tell.  (The suspend message is
>> timestamped in syslog with the time I resumed, so I guess it was
>> buffered along with the subsequent "Badness" messages.)
>
> Please check if the patch from http://lkml.org/lkml/2009/1/13/144 fixes the
> problem for you.

It does not fix the problem.

-- 
Paul Collins
Wellington, New Zealand

Dag vijandelijk luchtschip de huismeester is dood

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

* Re: Badness at kernel/time/timekeeping.c:98 in pmud (timekeeping_suspended)
  2009-01-22  8:19   ` Paul Collins
@ 2009-02-08  4:35     ` Paul Collins
  2009-02-08 13:39       ` Rafael J. Wysocki
  0 siblings, 1 reply; 8+ messages in thread
From: Paul Collins @ 2009-02-08  4:35 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linuxppc-dev, Thomas Gleixner, linux-kernel

Paul Collins <paul@burly.ondioline.org> writes:

> "Rafael J. Wysocki" <rjw@sisk.pl> writes:
>
>> On Wednesday 21 January 2009, Paul Collins wrote:
>>> Got a couple of these on a PowerBook running 2.6.29-rc2 either during
>>> suspend or resume -- it's hard to tell.  (The suspend message is
>>> timestamped in syslog with the time I resumed, so I guess it was
>>> buffered along with the subsequent "Badness" messages.)
>>
>> Please check if the patch from http://lkml.org/lkml/2009/1/13/144 fixes the
>> problem for you.
>
> It does not fix the problem.

I'm also getting this warning since 2.6.28.1, which incorporated commit
1c5745aa380efb6417b5681104b007c8612fb496 ("sched_clock: prevent
scd->clock from moving backwards, take #2") as commit
e268dcdd404f4558cdd24c8ecede3e064df8fa33, this being the patch that
introduced the WARN_ON(timekeeping_suspended) check.

-- 
Paul Collins
Wellington, New Zealand

Dag vijandelijk luchtschip de huismeester is dood

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

* Re: Badness at kernel/time/timekeeping.c:98 in pmud (timekeeping_suspended)
  2009-02-08  4:35     ` Paul Collins
@ 2009-02-08 13:39       ` Rafael J. Wysocki
  2009-02-08 15:11         ` Ingo Molnar
  2009-02-09 12:03         ` Thomas Gleixner
  0 siblings, 2 replies; 8+ messages in thread
From: Rafael J. Wysocki @ 2009-02-08 13:39 UTC (permalink / raw)
  To: Paul Collins, Ingo Molnar; +Cc: linuxppc-dev, Thomas Gleixner, linux-kernel

On Sunday 08 February 2009, Paul Collins wrote:
> Paul Collins <paul@burly.ondioline.org> writes:
> 
> > "Rafael J. Wysocki" <rjw@sisk.pl> writes:
> >
> >> On Wednesday 21 January 2009, Paul Collins wrote:
> >>> Got a couple of these on a PowerBook running 2.6.29-rc2 either during
> >>> suspend or resume -- it's hard to tell.  (The suspend message is
> >>> timestamped in syslog with the time I resumed, so I guess it was
> >>> buffered along with the subsequent "Badness" messages.)
> >>
> >> Please check if the patch from http://lkml.org/lkml/2009/1/13/144 fixes the
> >> problem for you.
> >
> > It does not fix the problem.
> 
> I'm also getting this warning since 2.6.28.1, which incorporated commit
> 1c5745aa380efb6417b5681104b007c8612fb496 ("sched_clock: prevent
> scd->clock from moving backwards, take #2") as commit
> e268dcdd404f4558cdd24c8ecede3e064df8fa33, this being the patch that
> introduced the WARN_ON(timekeeping_suspended) check.

Hm, I thought the timekeeping suspend problem was fixed in this commit.  Ingo?

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

* Re: Badness at kernel/time/timekeeping.c:98 in pmud (timekeeping_suspended)
  2009-02-08 13:39       ` Rafael J. Wysocki
@ 2009-02-08 15:11         ` Ingo Molnar
  2009-02-09 12:03         ` Thomas Gleixner
  1 sibling, 0 replies; 8+ messages in thread
From: Ingo Molnar @ 2009-02-08 15:11 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: linuxppc-dev, Thomas Gleixner, Paul Collins, linux-kernel


* Rafael J. Wysocki <rjw@sisk.pl> wrote:

> On Sunday 08 February 2009, Paul Collins wrote:
> > Paul Collins <paul@burly.ondioline.org> writes:
> > 
> > > "Rafael J. Wysocki" <rjw@sisk.pl> writes:
> > >
> > >> On Wednesday 21 January 2009, Paul Collins wrote:
> > >>> Got a couple of these on a PowerBook running 2.6.29-rc2 either during
> > >>> suspend or resume -- it's hard to tell.  (The suspend message is
> > >>> timestamped in syslog with the time I resumed, so I guess it was
> > >>> buffered along with the subsequent "Badness" messages.)
> > >>
> > >> Please check if the patch from http://lkml.org/lkml/2009/1/13/144 fixes the
> > >> problem for you.
> > >
> > > It does not fix the problem.
> > 
> > I'm also getting this warning since 2.6.28.1, which incorporated commit
> > 1c5745aa380efb6417b5681104b007c8612fb496 ("sched_clock: prevent
> > scd->clock from moving backwards, take #2") as commit
> > e268dcdd404f4558cdd24c8ecede3e064df8fa33, this being the patch that
> > introduced the WARN_ON(timekeeping_suspended) check.
> 
> Hm, I thought the timekeeping suspend problem was fixed in this commit.  Ingo?

Thomas? :-)

	Ingo

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

* Re: Badness at kernel/time/timekeeping.c:98 in pmud (timekeeping_suspended)
  2009-02-08 13:39       ` Rafael J. Wysocki
  2009-02-08 15:11         ` Ingo Molnar
@ 2009-02-09 12:03         ` Thomas Gleixner
  2009-02-12  6:05           ` Benjamin Herrenschmidt
  1 sibling, 1 reply; 8+ messages in thread
From: Thomas Gleixner @ 2009-02-09 12:03 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linuxppc-dev, Ingo Molnar, Paul Collins, linux-kernel

On Sun, 8 Feb 2009, Rafael J. Wysocki wrote:

> On Sunday 08 February 2009, Paul Collins wrote:
> > Paul Collins <paul@burly.ondioline.org> writes:
> > 
> > > "Rafael J. Wysocki" <rjw@sisk.pl> writes:
> > >
> > >> On Wednesday 21 January 2009, Paul Collins wrote:
> > >>> Got a couple of these on a PowerBook running 2.6.29-rc2 either during
> > >>> suspend or resume -- it's hard to tell.  (The suspend message is
> > >>> timestamped in syslog with the time I resumed, so I guess it was
> > >>> buffered along with the subsequent "Badness" messages.)
> > >>
> > >> Please check if the patch from http://lkml.org/lkml/2009/1/13/144 fixes the
> > >> problem for you.
> > >
> > > It does not fix the problem.
> > 
> > I'm also getting this warning since 2.6.28.1, which incorporated commit
> > 1c5745aa380efb6417b5681104b007c8612fb496 ("sched_clock: prevent
> > scd->clock from moving backwards, take #2") as commit
> > e268dcdd404f4558cdd24c8ecede3e064df8fa33, this being the patch that
> > introduced the WARN_ON(timekeeping_suspended) check.
> 
> Hm, I thought the timekeeping suspend problem was fixed in this commit.  Ingo?

The commit fixed the problem with sched_clock, but it does not fix
problems where other parts of the kernel call timekeeping functions
_AFTER_ timekeeping has been suspended.

Thanks,

	tglx

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

* Re: Badness at kernel/time/timekeeping.c:98 in pmud (timekeeping_suspended)
  2009-02-09 12:03         ` Thomas Gleixner
@ 2009-02-12  6:05           ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 8+ messages in thread
From: Benjamin Herrenschmidt @ 2009-02-12  6:05 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: Rafael J. Wysocki, linuxppc-dev, Ingo Molnar, Paul Collins,
	linux-kernel


> The commit fixed the problem with sched_clock, but it does not fix
> problems where other parts of the kernel call timekeeping functions
> _AFTER_ timekeeping has been suspended.

Maybe we should use the PMU sysdev which is used for suspending
backlight stuff etc... to also suspend emitting of the input events.

Cheers,
Ben.

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

end of thread, other threads:[~2009-02-12  6:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-21  7:15 Badness at kernel/time/timekeeping.c:98 in pmud (timekeeping_suspended) Paul Collins
2009-01-21 16:13 ` Rafael J. Wysocki
2009-01-22  8:19   ` Paul Collins
2009-02-08  4:35     ` Paul Collins
2009-02-08 13:39       ` Rafael J. Wysocki
2009-02-08 15:11         ` Ingo Molnar
2009-02-09 12:03         ` Thomas Gleixner
2009-02-12  6:05           ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).