Re: [linux-pm] sleepy linux self-test

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Brownell <david-b@...>
Cc: Pavel Machek <pavel@...>, <linux-pm@...>, kernel list <linux-kernel@...>
Date: Sunday, February 3, 2008 - 1:35 am

* Ingo Molnar <mingo@elte.hu> wrote:


i disabled all hpet items in the .config on the theory that they might 
interfere - but that didnt change the end result:

 [   23.893598] Calling initcall 0xc0c518b0: be_sleepy+0x0/0x170()
 [   23.901601] PM: no wakelarm-capable RTC
 [   23.905599] initcall 0xc0c518b0: be_sleepy+0x0/0x170() returned 0.
 [   23.910879] initcall 0xc0c518b0 ran for 3 msecs: be_sleepy+0x0/0x170()

so close, yet so far away :-)

i also disabled ACPI in the .config, which caused this:

 [   13.300838] Calling initcall 0xc0c32370: cmos_init+0x0/0x20()
 [   13.307063] initcall 0xc0c32370: cmos_init+0x0/0x20() returned -19.
 [   13.312840] initcall 0xc0c32370 ran for 0 msecs: cmos_init+0x0/0x20()

is that expected?

btw., small observation: from looking at the bootlog it's not apparent 
to me what kind of "RTC hardware" there is on this box. It's standard PC 
stuff, so i suspect what covers it is: CONFIG_RTC_DRV_CMOS=y, which 
says:

 [   14.900938] Calling initcall 0xc0c6f9c0: cmos_init+0x0/0x10()
 [   14.909178] pnp: the driver 'rtc_cmos' has been registered
 [   14.912945] rtc_cmos 00:04: disabling not supported
 [   14.916940] rtc_cmos: probe of 00:04 failed with error -16
 [   14.920959] initcall 0xc0c6f9c0: cmos_init+0x0/0x10() returned 0.
 [   14.926220] initcall 0xc0c6f9c0 ran for 11 msecs: cmos_init+0x0/0x10()

it might make sense to emit something like:

  PC-style RTC detected.

so that people know that your cool new RTC code is in action. Also, it's 
not apparent what the effects of that failure message is. When we fail 
something then users generally want to know: was it fatal, is it a 
warning, and what the limitations of that error condition are.

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

Messages in current thread:
sleepy linux self-test, Pavel Machek, (Wed Jan 30, 9:17 am)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Thu Jan 31, 9:55 pm)
Re: [linux-pm] sleepy linux self-test, Pavel Machek, (Sat Feb 2, 8:47 am)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sat Feb 2, 1:31 pm)
Re: [linux-pm] sleepy linux self-test, Ingo Molnar, (Sat Feb 2, 2:00 pm)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sat Feb 2, 3:13 pm)
Re: [linux-pm] sleepy linux self-test, Pavel Machek, (Sat Feb 2, 3:32 pm)
Re: [linux-pm] sleepy linux self-test, Ingo Molnar, (Sat Feb 2, 3:38 pm)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sat Feb 2, 10:37 pm)
Re: [linux-pm] sleepy linux self-test, Ingo Molnar, (Sun Feb 3, 1:05 am)
Re: [linux-pm] sleepy linux self-test, Ingo Molnar, (Sun Feb 3, 1:14 am)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sun Feb 3, 3:18 am)
Re: [linux-pm] sleepy linux self-test, Sam Ravnborg, (Sun Feb 3, 3:51 am)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sun Feb 3, 4:26 am)
Re: [linux-pm] sleepy linux self-test, Ingo Molnar, (Sun Feb 3, 1:19 am)
Re: [linux-pm] sleepy linux self-test, Ingo Molnar, (Sun Feb 3, 1:35 am)
Re: [linux-pm] sleepy linux self-test, Ingo Molnar, (Sun Feb 3, 1:54 am)
Re: [linux-pm] sleepy linux self-test, Pavel Machek, (Sun Feb 10, 5:02 pm)
Re: [linux-pm] sleepy linux self-test, Ingo Molnar, (Sun Feb 3, 3:05 am)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sun Feb 3, 3:32 am)
Re: [linux-pm] sleepy linux self-test, Rafael J. Wysocki, (Sun Feb 3, 8:21 am)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sun Feb 3, 9:16 am)
Re: [linux-pm] sleepy linux self-test, Pavel Machek, (Mon Feb 18, 4:56 am)
[patch] suspend/resume self-test, Ingo Molnar, (Mon Feb 18, 5:46 am)
Re: [patch] suspend/resume self-test, Rafael J. Wysocki, (Mon Feb 18, 7:06 am)
Re: [patch] suspend/resume self-test, Pavel Machek, (Mon Feb 18, 5:53 am)
Re: [patch] suspend/resume self-test, David Brownell, (Mon Feb 18, 6:40 am)
Re: [patch] suspend/resume self-test, Ingo Molnar, (Mon Feb 18, 9:09 am)
Re: [patch] suspend/resume self-test, David Brownell, (Mon Feb 18, 4:16 pm)
Re: [patch] suspend/resume self-test, Ingo Molnar, (Tue Feb 19, 10:40 am)
Re: [patch] suspend/resume self-test, Pavel Machek, (Tue Feb 19, 6:11 am)
Re: [patch] suspend/resume self-test, Ingo Molnar, (Tue Feb 19, 10:43 am)
Re: [patch] suspend/resume self-test, David Brownell, (Tue Feb 19, 3:12 pm)
Re: [patch] suspend/resume self-test, Ingo Molnar, (Wed Feb 20, 6:15 am)
Re: [patch] suspend/resume self-test, Rafael J. Wysocki, (Mon Feb 18, 7:04 am)
Re: [linux-pm] sleepy linux self-test, Rafael J. Wysocki, (Sun Feb 3, 5:29 pm)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sun Feb 3, 6:42 pm)
Re: [linux-pm] sleepy linux self-test, Pavel Machek, (Sun Feb 3, 6:48 pm)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sun Feb 3, 7:08 pm)
Re: [linux-pm] sleepy linux self-test, Pavel Machek, (Sun Feb 10, 5:03 pm)
Re: [linux-pm] sleepy linux self-test, Rafael J. Wysocki, (Sun Feb 3, 6:43 pm)
Re: [linux-pm] sleepy linux self-test, Pavel Machek, (Sat Feb 2, 3:59 pm)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sat Feb 2, 1:51 pm)
Re: [linux-pm] sleepy linux self-test, Ingo Molnar, (Sat Feb 2, 9:50 am)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sat Feb 2, 1:49 pm)
Re: [linux-pm] sleepy linux self-test, Ingo Molnar, (Sat Feb 2, 2:06 pm)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sat Feb 2, 3:47 pm)
Re: sleepy linux self-test, Ingo Molnar, (Wed Jan 30, 3:36 pm)
Re: sleepy linux self-test, Pavel Machek, (Wed Jan 30, 7:26 pm)
Re: sleepy linux self-test, Ingo Molnar, (Fri Feb 1, 10:22 am)
Re: sleepy linux self-test, Pavel Machek, (Sat Feb 2, 8:45 am)
Re: sleepy linux self-test, Ingo Molnar, (Sat Feb 2, 9:51 am)
Re: sleepy linux self-test, Ingo Molnar, (Sat Feb 2, 9:49 am)
Re: sleepy linux self-test, Ingo Molnar, (Wed Jan 30, 12:35 pm)
Re: sleepy linux self-test, Pavel Machek, (Wed Jan 30, 12:39 pm)