On Tuesday 20 May 2008, Stas Sergeev wrote:Well, "regression" is the wrong phrase. You've switched drivers (from the legacy RTC to the new one), so this is not the thing which worked for you before. Nonetheless, this should get fixed soonish; it just happens to be something nobody reported before. See two comments about patch brokenness below, though ... this patch is broken and should not be merged. If I had realized there was a "pnpacpi=off" option, I'd have sent in my patch addressing this problem way back when the rtc-cmos code merged! I was deluded into thinking this was a non-problem once ACPI and PNPACPI entered the "always selected" mode, right about that time. As in, pre-PNP. That's pretty darn old! Although one person mentioned an example of a system with broken PNP support, which didn't report the RTC device (just stuck its resources in the middle of a bunch of reserved addresses). So you might want to consider looking at the case where PNP exists, but an RTC device doesn't ... - Dave (1) On an ARM build (with no PNP configured): CC drivers/rtc/rtc-cmos.o drivers/rtc/rtc-cmos.c: In function 'cmos_init': drivers/rtc/rtc-cmos.c:949: error: 'pnp_platform_devices' undeclared (first use in this function) drivers/rtc/rtc-cmos.c:949: error: (Each undeclared identifier is reported only once drivers/rtc/rtc-cmos.c:949: error: for each function it appears in.) drivers/rtc/rtc-cmos.c:950: error: implicit declaration of function 'pnp_register_driver' drivers/rtc/rtc-cmos.c:950: error: 'cmos_pnp_driver' undeclared (first use in this function) drivers/rtc/rtc-cmos.c: In function 'cmos_exit': drivers/rtc/rtc-cmos.c:959: error: 'pnp_platform_devices' undeclared (first use in this function) drivers/rtc/rtc-cmos.c:960: error: implicit declaration of function 'pnp_unregister_driver' drivers/rtc/rtc-cmos.c:960: error: 'cmos_pnp_driver' undeclared (first use in this function) make[1]: *** [drivers/rtc/rtc-cmos.o] Error 1 make: *** [drivers/rtc/rtc-cmos.o] Error 2 (2) You shouldn't define those symbols; the right values are already defined in <asm/mc146818rtc.h>. RTC_PORT(0) and RTC_PORT(1) are the symbolss to use; RTC_IRQ is already defined. All this stuff is used in the <asm-generic/rtc.h> code ... --
| Andrew Morton | -mm merge plans for 2.6.23 |
| Chuck Ebbert | Why do so many machines need "noapic"? |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Greg Kroah-Hartman | [PATCH 023/196] MCP_UCB1200: Convert from class_device to device |
git: | |
| David Miller | Re: [BUG] New Kernel Bugs |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 31/37] dccp: Remove manual influence on NDP Count feature |
| Gregory Haskins | [RFC PATCH 00/17] virtual-bus |
