Re: Serial console not working after waking up from sleep

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Jean,

  Yes I looked at the the OMAP_Power_management page, but the known
problem section doesn't seem to describe my problem.

  What I am encountering is that the serial console does output
correctly after resume, but everything goes south after a few lines,
thus, the garbage strings...

  any ideas?

Han

On Wed, Jun 16, 2010 at 4:43 AM, Jean Pihet <jpihet@xxxxxxxxxx> wrote:
> Hi,
>
> On Wed, Jun 16, 2010 at 08:09, Michael Trimarchi
> <michael@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
>> Han Wang wrote:
>>>
>>> Hi,
>>>
>>>  I am testing the 2.6.35-rc1 pm branch code on Overo. The system
>>> boots ok. (I can provide booting log if that is necessary) However,
>>> when I use "echo mem > /sys/power/state" to send overo to sleep and
>>> wake it up by enter a key into serial console. I got garbage
>>> characters in the serial console, and I can not enter anything into
>>> the console anymore. I wonder if anyone has encountered a similar
>>> problem, and please give me some suggestion.
>>>
>>> I have appended command log below.
>>>
>>> root@overo:~# echo mem > /sys/power/state
>>> PM: Syncing filesystems ... done.
>>> PM: Preparing system for mem sleep
>>> PM: Adding info for No Bus:vcs63
>>> PM: Adding info for No Bus:vcsa63
>>> Freezing user space processes ... (elapsed 0.02 seconds) done.
>>> Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
>>> PM: Entering mem sleep
>>> i2c_omap i2c_omap.1: preparing suspend
>>> i2c_omap i2c_omap.3: preparing suspend
>>> platform overo_lcd: preparing suspend
>>> serial8250 serial8250.0: preparing suspend, may wakeup
>>> serial8250 serial8250.1: preparing suspend, may wakeup
>>> serial8250 serial8250.2: preparing suspend, may wakeup
>>> platform omap2-nand: preparing suspend
>>> platform musb_hdrc: preparing suspend
>>> platform smsc911x.0: preparing suspend
>>> platform smsc911x.1: preparing suspend
>>> platform omap2_mcspi.1: preparing suspend
>>> platform omap2_mcspi.2: preparing suspend
>>> platform omap2_mcspi.3: preparing suspend
>>> platform omap2_mcspi.4: preparing suspend
>>> arm-pmu arm-pmu.0: preparing suspend
>>> platform omap_rng: preparing suspend
>>> platform omapfb: preparing suspend
>>> twl4030_gpio twl4030_gpio: preparing suspend
>>> mmci-omap-hs mmci-omap-hs.0: preparing suspend
>>> mmci-omap-hs mmci-omap-hs.1: preparing suspend
>>> twl_reg twl_reg.17: preparing suspend
>>> twl_reg twl_reg.18: preparing suspend
>>> twl_reg twl_reg.19: preparing suspend
>>> twl4030_usb twl4030_usb: preparing suspend, may wakeup
>>> twl_reg twl_reg.6: preparing suspend
>>> serial8250 serial8250: preparing suspend
>>> mmcblk mmc0:fb2a: legacy suspend
>>> serial8250 serial8250: suspend
>>> i2c i2c-3: suspend
>>> twl_reg twl_reg.6: suspend
>>> twl4030_usb twl4030_usb: suspend, may wakeup
>>> twl_reg twl_reg.19: suspend
>>> twl_reg twl_reg.18: suspend
>>> twl_reg twl_reg.17: suspend
>>> mmci-omap-hs mmci-omap-hs.1: suspend
>>> mmci-omap-hs mmci-omap-hs.0: suspend
>>> twl4030_gpio twl4030_gpio: suspend
>>> dummy 1-004b: suspend
>>> dummy 1-004a: suspend
>>> dummy 1-0049: suspend
>>> twl 1-0048: suspend, may wakeup
>>> i2c i2c-1: suspend
>>> platform omapfb: suspend
>>> platform omap_rng: suspend
>>> arm-pmu arm-pmu.0: suspend
>>> platform omap2_mcspi.4: suspend
>>> platform omap2_mcspi.3: suspend
>>> platform omap2_mcspi.2: suspend
>>> platform omap2_mcspi.1: suspend
>>> platform smsc911x.1: suspend
>>> platform smsc911x.0: suspend
>>> platform musb_hdrc: suspend
>>> platform omap2-nand: suspend
>>> serial8250 serial8250.2: suspend, may wakeup
>>> serial8250 serial8250.1: suspend, may wakeup
>>> serial8250 serial8250.0: suspend, may wakeup
>>> platform overo_lcd: suspend
>>> i2c_omap i2c_omap.3: suspend
>>> i2c_omap i2c_omap.1: suspend
>>> PM: suspend of devices complete after 201.965 msecs
>>> serial8250 serial8250: LATE suspend
>>> i2c i2c-3: LATE suspend
>>> twl_reg twl_reg.6: LATE suspend
>>> twl4030_usb twl4030_usb: LATE suspend, may wakeup
>>> twl_reg twl_reg.19: LATE suspend
>>> twl_reg twl_reg.18: LATE suspend
>>> twl_reg twl_reg.17: LATE suspend
>>> mmci-omap-hs mmci-omap-hs.1: LATE suspend
>>> mmci-omap-hs mmci-omap-hs.0: LATE suspend
>>> twl4030_gpio twl4030_gpio: LATE suspend
>>> dummy 1-004b: LATE suspend
>>> dummy 1-004a: LATE suspend
>>> dummy 1-0049: LATE suspend
>>> twl 1-0048: LATE suspend, may wakeup
>>> i2c i2c-1: LATE suspend
>>> platform omapfb: LATE suspend
>>> platform omap_rng: LATE suspend
>>> arm-pmu arm-pmu.0: LATE suspend
>>> platform omap2_mcspi.4: LATE suspend
>>> platform omap2_mcspi.3: LATE suspend
>>> platform omap2_mcspi.2: LATE suspend
>>> platform omap2_mcspi.1: LATE suspend
>>> platform smsc911x.1: LATE suspend
>>> platform smsc911x.0: LATE suspend
>>> platform musb_hdrc: LATE suspend
>>> platform omap2-nand: LATE suspend
>>> serial8250 serial8250.2: LATE suspend, may wakeup
>>> serial8250 serial8250.1: LATE suspend, may wakeup
>>> serial8250 serial8250.0: LATE suspend, may wakeup
>>> platform overo_lcd: LATE suspend
>>> i2c_omap i2c_omap.3: LATE suspend
>>> i2c_omap i2c_omap.1: LATE suspend
>>> PM: late suspend of devices complete after 103.088 msecs
>>> Successfully put all powerdomains to target state
>>> i2c_omap i2c_omap.1: EARLY resume
>>> i2c_omap i2c_omap.3: EARLY resume
>>> platform overo_lcd: EARLY resume
>>> serial8250 serial8250.0: EARLY resume
>>> serial8250 serial8250.1: EARLY resume
>>> serial8250 serial8250.2: EARLY resume
>>> platform omap2-nand: EARLY resume
>>> platform musb_hdrc: EARLY resume
>>> platform smsc911x.0: EARLY resume
>>> platform smsc911x.1: EARLY resume
>>> platform omap2_mcspi.1: EARLY resume
>>> platform omap2_mcspi.2: EARLY resume
>>> platform omap2_mcspi.3: EARLY resume
>>> platform omap2_mcspi.4: EARLY resume
>>> arm-pmu arm-pmu.0: EARLY resume
>>> platform omap_rng: EARLY resume
>>> platform omapfb: EARLY resume
>>> i2c i2c-1: EARLY resume
>>> twl 1-0048: EARLY resume
>>> dummy 1-0049: EARLY resume
>>> dummy 1-004a: EARLY resume
>>> dummy 1-004b: EARLY resume
>>> twl4030_gpio twl4030_gpio: EARLY resume
>>> mmci-omap-hs mmci-omap-hs.0: EARLY resume
>>> mmci-omap-hs mmci-omap-hs.1: EARLY resume
>>> twl_reg twl_reg.17: EARLY resume
>>> twl_reg twl_reg.18: EARLY resume
>>> twl_reg twl_reg.19: EARLY resume
>>> twl4030_usb twl4030_usb: EARLY resume
>>> twl_reg twl_reg.6: EARLY resume
>>> i2c i2c-3: EARLY resume
>>> serial8250 serial8250: EARLY resume
>>> PM: early resume of devices complete after 97.625 msecs
>>> i2c_omap i2c_omap.1: resume
>>> i2c_omap i2c_omap.3: resume
>>> platform overo_lcd: resume
>>> serial8250 serial8250.0: resume
>>> serial8250 serial8250.1: resume
>>> serial8250 serial8250.2: resume
>>>
>>> ŨuV=V=ý_―hþžþž.?ýRŪHlŌŌūŧŪ=ū=―īŪŋQ*^žþQū99:ūŌŌýRNũõtŪĻĻ:;;Tŧ?ÉQQ·īÖīË\ŋvéÝĸ
>>> (garbage string...)
>>
>> The problem is releated to no_debug_console option.
>>
>> Michael Trimarchi
>>
>>>
>>> Thanks,
>
> Did you look at http://elinux.org/OMAP_Power_Management? There is some
> info on the current problems with the UART and sleep modes, as well a
> workaround for UART wake-up.
>
> Regards,
> Jean
>
>
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>



-- 
Han Wang
Electrical and Computer Engineering
Cornell University
M: 1-607-280-4995
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux