Skip to contentSkip to conversation

issue of hibernate for ipipe

DISCUSSION duanwujie 4 participants 6 messages Oct 16, 2019 – Oct 17, 2019

lore
Share & tools
lore

duanwujie

author
#0 lore raw

We test linux-4.9.146 with ipipe-core-4.9.146-x86-8.patch on the debian 9.6 (stretch)

when system hibernate, then do wake up will failed, and without ipipe kernel config option, wake up will be success!

Other version have the same question!

7,865 lines not shown · raw message

Part of this message is not shown here. View the raw message.

#1 lore raw

Hibernate/suspend/C-states etc generally cause problems with IPIPE. Best to not have any of that. Alec

#2 lore raw
Quoted 1 line · Alec Ari via Xenomai

Hibernate/suspend/C-states etc generally cause problems with IPIPE. Best to not have any of that.

Indeed (at least hibernate and suspend). I remember having looked at these paths only a long time ago (>10 years) when I was running Xenomai for testing purposes on my notebook. And that was recurring effort. Since then, likely no one cared.

We could declare the related config options as "depends on !IPIPE" to avoid troubles.

Or do you have an actual use case for for hibernate, Wujie Duan?

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
author
#3 lore raw

Here is my test case:

   Install debian 9.6 in virtual machine(virtualbox).

   - Case 1: Build ipipe kernel(4.9.146) with debian's kerner default config, when use this kernel to bootup system, click hibernate button(This condition will be failed)

   - Case 2: Build ipipe kernel(4.14.134) with debian's kernel default config (this version will be success), can hibernate and wake up

Quoted 14 lines · Jan Kiszka
Quoted 1 line · Alec Ari via Xenomai

Hibernate/suspend/C-states etc generally cause problems with IPIPE. Best to not have any of that.

Indeed (at least hibernate and suspend). I remember having looked at these paths only a long time ago (>10 years) when I was running Xenomai for testing purposes on my notebook. And that was recurring effort. Since then, likely no one cared.

We could declare the related config options as "depends on !IPIPE" to avoid troubles.

Or do you have an actual use case for for hibernate, Wujie Duan?

Jan

Signature · 5 lines
*Linx Software Corportaion Sichuan Branch
Name:wujie duan
Tel:028-65182023-6202
E-mail: [email protected]
*
#4 lore raw

----- Den 17 okt 2019, på kl 2:56, xenomai [email protected] skrev:

Quoted 10 lines

Here is my test case:

Install debian 9.6 in virtual machine(virtualbox).

- Case 1: Build ipipe kernel(4.9.146) with debian's kerner default config, when use this kernel to bootup system, click hibernate button(This condition will be failed)

- Case 2: Build ipipe kernel(4.14.134) with debian's kernel default config (this version will be success), can hibernate and wake up

I think what Jan ment with his question was:
Is there a reason you need this functionality? Does it benefit your product or application somehow? Do you perhaps have a controller that sometimes needs real time performance and sometimes needs to hibernate/sleep to save power?

Quoted 14 lines · Jan Kiszka
Quoted 12 lines · Alec Ari via Xenomai
Quoted 2 lines

Hibernate/suspend/C-states etc generally cause problems with IPIPE. Best to not have any of that.

Indeed (at least hibernate and suspend). I remember having looked at these paths only a long time ago (>10 years) when I was running Xenomai for testing purposes on my notebook. And that was recurring effort. Since then, likely no one cared.

We could declare the related config options as "depends on !IPIPE" to avoid troubles.

Or do you have an actual use case for for hibernate, Wujie Duan?

Quoted 8 lines
Quoted 1 line

Jan

--
*Linx Software Corportaion Sichuan Branch
Name:wujie duan
Tel:028-65182023-6202
E-mail: [email protected]
*

Per Öberg

author
#5 lore raw

So far, I haven't had any use cases yet, but I don't think interrupt mechanisms should affect hibernate and wake up. And want to figure it out!

Quoted 32 lines · Per Oberg

----- Den 17 okt 2019, på kl 2:56, xenomai [email protected] skrev:

Quoted 7 lines

Here is my test case:
Install debian 9.6 in virtual machine(virtualbox).
- Case 1: Build ipipe kernel(4.9.146) with debian's kerner default config, when use this kernel to bootup system, click hibernate button(This condition will be failed)
- Case 2: Build ipipe kernel(4.14.134) with debian's kernel default config (this version will be success), can hibernate and wake up

I think what Jan ment with his question was:
Is there a reason you need this functionality? Does it benefit your product or application somehow? Do you perhaps have a controller that sometimes needs real time performance and sometimes needs to hibernate/sleep to save power?

Quoted 12 lines · Jan Kiszka
Quoted 11 lines · Alec Ari via Xenomai
Quoted 2 lines

Hibernate/suspend/C-states etc generally cause problems with IPIPE. Best to not have any of that.

Indeed (at least hibernate and suspend). I remember having looked at these paths only a long time ago (>10 years) when I was running Xenomai for testing purposes on my notebook. And that was recurring effort. Since then, likely no one cared.
We could declare the related config options as "depends on !IPIPE" to avoid troubles.
Or do you have an actual use case for for hibernate, Wujie Duan? Jan

Quoted 6 lines

--
*Linx Software Corportaion Sichuan Branch
Name:wujie duan
Tel:028-65182023-6202
E-mail: [email protected]
*

Per Öberg

Signature · 5 lines
*Linx Software Corportaion Sichuan Branch
Name:wujie duan
Tel:028-65182023-6202
E-mail: [email protected]
*