vpack270 and sleep mode

237 Rumjantsev Egor (PROG) rumjantsev at papillon.ru
Wed May 26 05:19:16 EDT 2010


26.05.2010 15:07, Russell King - ARM Linux пишет:
> On Wed, May 26, 2010 at 09:47:23AM +0600, 237 Rumjantsev Egor (PROG) wrote:
>> platform vpac270-pm.0: EARLY resume
>> platform pxa_g64_driver.0: EARLY resume
>> platform pxa2xx_dir_keypad.0: EARLY resume
>> platform pxa_capture.0: EARLY resume
>> platform pxa2xx-ac97: EARLY resume
>> platform mfrc531-ssp.0: EARLY resume
>> pxa2xx-flash pxa2xx-flash.0: EARLY resume
>> Unable to handle kernel paging request at virtual address a03ab26f
>> pgd = c6aac000
>> [a03ab26f] *pgd=8020040e(bad)
>> Internal error: Oops: 803 [#1] PREEMPT
>> Modules linked in: ipv6
>> CPU: 0    Not tainted  (2.6.28.10-vpac3-splash #90)
>> PC is at bad_channel+0x80166/0x91f28
>> LR is at platform_pm_resume_noirq+0x48/0x54
>
> This seems to point at pxa2xx-flash.c being the culpret - which brings
> up the question why no one else is seeing a problem here.
>
> Does your vpac270 patches touch this file?  If yes, please show those
> changes.
>

no they doesn't, but here is a part of pxa2xx-flash.c and driver 
structure registered by driver_register call. Is it problem ?


static struct device_driver pxa2xx_flash_driver = {
         .name           = "pxa2xx-flash",
         .bus            = &platform_bus_type,
         .probe          = pxa2xx_flash_probe,
         .remove         = __exit_p(pxa2xx_flash_remove),
         .suspend        = pxa2xx_flash_suspend,
         .resume         = pxa2xx_flash_resume,
         .shutdown       = pxa2xx_flash_shutdown,
};

static int __init init_pxa2xx_flash(void)
{
         return driver_register(&pxa2xx_flash_driver);
}

static void __exit cleanup_pxa2xx_flash(void)
{
         driver_unregister(&pxa2xx_flash_driver);
}

On 2.6.24 kernel driver structure register the same way but sleep mode 
works fine there.


-- 
Rumjantsev Egor



More information about the linux-arm-kernel mailing list