All of lore.kernel.org
 help / color / mirror / Atom feed
* Computer fails to resume from suspend unless I rmmod jme before initiating the suspend
@ 2016-02-10  4:19 Diego Viola
  2016-02-10 21:36 ` Diego Viola
  0 siblings, 1 reply; 12+ messages in thread
From: Diego Viola @ 2016-02-10  4:19 UTC (permalink / raw)
  To: cooldavid; +Cc: netdev, linux-kernel

Hi Guo,

I have an x86 computer with this network card:

02:00.0 Ethernet controller: JMicron Technology Corp. JMC260 PCI
Express Fast Ethernet Controller (rev 03)

Every time I initiate a suspend (systemctl suspend) the machine hangs
at resume unless I unload the jme driver.

Here is a Call Trace I was able to get after it hanged:

<IRQ>
tasklet_action+0xb0/0xd0
__do_softirq+0xcf/0x290
irq_exit+0xa3/0xb0
do_IRQ+0x54/0xd0
common_interrupt+0x82/0x82

<EOI>
jme_start_irq+0x84/0xa0 [jme]
jme_resume+0x12f/0x210 [jme]
pci_pm_resume+0x64/0xa0
? pci_pm_thaw+0x90/0x90
dpm_run_callback+0x4e/0x130
device_resume+0xd3/0x1f0
async_resume+0x1d/0x50
async_run_entry_fn+0x48/0x150
process_one_work+0x14b/0x440
worker_thread+0x48/0x4a0
? process_one_work+0x440/0x440
kthread+0xd8/0xf0
? kthread_worker_fn+0x170/0x170
ret_from_fork+0x3f/0x70
? kthread_worker_fn+0x170/0x170

Please note that I had to type the calltrace above as I don't have a
serial cable and netconsole didn't work for me for some reason, so
there could be typos I didn't notice.

I run Arch Linux (x86-64), my uname is:

$ uname -a
Linux myhost 4.4.1-2-ARCH #1 SMP PREEMPT Wed Feb 3 13:12:33 UTC 2016
x86_64 GNU/Linux

Please let me know if you have any questions or need any other information.

Thanks,

Diego

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Computer fails to resume from suspend unless I rmmod jme before initiating the suspend
  2016-02-10  4:19 Computer fails to resume from suspend unless I rmmod jme before initiating the suspend Diego Viola
@ 2016-02-10 21:36 ` Diego Viola
  2016-02-12  8:17   ` Diego Viola
  0 siblings, 1 reply; 12+ messages in thread
From: Diego Viola @ 2016-02-10 21:36 UTC (permalink / raw)
  To: cooldavid; +Cc: netdev, linux-kernel

On Wed, Feb 10, 2016 at 2:19 AM, Diego Viola <diego.viola@gmail.com> wrote:
> Hi Guo,
>
> I have an x86 computer with this network card:
>
> 02:00.0 Ethernet controller: JMicron Technology Corp. JMC260 PCI
> Express Fast Ethernet Controller (rev 03)
>
> Every time I initiate a suspend (systemctl suspend) the machine hangs
> at resume unless I unload the jme driver.
>
> Here is a Call Trace I was able to get after it hanged:
>
> <IRQ>
> tasklet_action+0xb0/0xd0
> __do_softirq+0xcf/0x290
> irq_exit+0xa3/0xb0
> do_IRQ+0x54/0xd0
> common_interrupt+0x82/0x82
>
> <EOI>
> jme_start_irq+0x84/0xa0 [jme]
> jme_resume+0x12f/0x210 [jme]
> pci_pm_resume+0x64/0xa0
> ? pci_pm_thaw+0x90/0x90
> dpm_run_callback+0x4e/0x130
> device_resume+0xd3/0x1f0
> async_resume+0x1d/0x50
> async_run_entry_fn+0x48/0x150
> process_one_work+0x14b/0x440
> worker_thread+0x48/0x4a0
> ? process_one_work+0x440/0x440
> kthread+0xd8/0xf0
> ? kthread_worker_fn+0x170/0x170
> ret_from_fork+0x3f/0x70
> ? kthread_worker_fn+0x170/0x170
>
> Please note that I had to type the calltrace above as I don't have a
> serial cable and netconsole didn't work for me for some reason, so
> there could be typos I didn't notice.
>
> I run Arch Linux (x86-64), my uname is:
>
> $ uname -a
> Linux myhost 4.4.1-2-ARCH #1 SMP PREEMPT Wed Feb 3 13:12:33 UTC 2016
> x86_64 GNU/Linux
>
> Please let me know if you have any questions or need any other information.
>
> Thanks,
>
> Diego

I found something interesting, I can suspend/resume just fine when the
module is loaded and when I do this:

$ ip link set ens34 down

When I bring the device up again the hang still occurs.

Diego

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Computer fails to resume from suspend unless I rmmod jme before initiating the suspend
  2016-02-10 21:36 ` Diego Viola
@ 2016-02-12  8:17   ` Diego Viola
  2016-02-13 20:38     ` Diego Viola
  0 siblings, 1 reply; 12+ messages in thread
From: Diego Viola @ 2016-02-12  8:17 UTC (permalink / raw)
  To: cooldavid; +Cc: netdev, linux-kernel

On Wed, Feb 10, 2016 at 7:36 PM, Diego Viola <diego.viola@gmail.com> wrote:
> On Wed, Feb 10, 2016 at 2:19 AM, Diego Viola <diego.viola@gmail.com> wrote:
>> Hi Guo,
>>
>> I have an x86 computer with this network card:
>>
>> 02:00.0 Ethernet controller: JMicron Technology Corp. JMC260 PCI
>> Express Fast Ethernet Controller (rev 03)
>>
>> Every time I initiate a suspend (systemctl suspend) the machine hangs
>> at resume unless I unload the jme driver.
>>
>> Here is a Call Trace I was able to get after it hanged:
>>
>> <IRQ>
>> tasklet_action+0xb0/0xd0
>> __do_softirq+0xcf/0x290
>> irq_exit+0xa3/0xb0
>> do_IRQ+0x54/0xd0
>> common_interrupt+0x82/0x82
>>
>> <EOI>
>> jme_start_irq+0x84/0xa0 [jme]
>> jme_resume+0x12f/0x210 [jme]
>> pci_pm_resume+0x64/0xa0
>> ? pci_pm_thaw+0x90/0x90
>> dpm_run_callback+0x4e/0x130
>> device_resume+0xd3/0x1f0
>> async_resume+0x1d/0x50
>> async_run_entry_fn+0x48/0x150
>> process_one_work+0x14b/0x440
>> worker_thread+0x48/0x4a0
>> ? process_one_work+0x440/0x440
>> kthread+0xd8/0xf0
>> ? kthread_worker_fn+0x170/0x170
>> ret_from_fork+0x3f/0x70
>> ? kthread_worker_fn+0x170/0x170
>>
>> Please note that I had to type the calltrace above as I don't have a
>> serial cable and netconsole didn't work for me for some reason, so
>> there could be typos I didn't notice.
>>
>> I run Arch Linux (x86-64), my uname is:
>>
>> $ uname -a
>> Linux myhost 4.4.1-2-ARCH #1 SMP PREEMPT Wed Feb 3 13:12:33 UTC 2016
>> x86_64 GNU/Linux
>>
>> Please let me know if you have any questions or need any other information.
>>
>> Thanks,
>>
>> Diego
>
> I found something interesting, I can suspend/resume just fine when the
> module is loaded and when I do this:
>
> $ ip link set ens34 down
>
> When I bring the device up again the hang still occurs.
>
> Diego

I have tried to reproduce this problem with the latest git
(torvalds/linux.git) and also went back to Linux 3.11 and I still got
the hang with both, my plan was to run git bisect, but the problem
still occurs.

I opened this bug in bugzilla if it's preferred to deal with the problem there:

https://bugzilla.kernel.org/show_bug.cgi?id=112351

Thanks,
Diego

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Computer fails to resume from suspend unless I rmmod jme before initiating the suspend
  2016-02-12  8:17   ` Diego Viola
@ 2016-02-13 20:38     ` Diego Viola
  2016-02-14 20:16       ` Diego Viola
  0 siblings, 1 reply; 12+ messages in thread
From: Diego Viola @ 2016-02-13 20:38 UTC (permalink / raw)
  To: cooldavid; +Cc: netdev, linux-kernel

On Fri, Feb 12, 2016 at 6:17 AM, Diego Viola <diego.viola@gmail.com> wrote:
> On Wed, Feb 10, 2016 at 7:36 PM, Diego Viola <diego.viola@gmail.com> wrote:
>> On Wed, Feb 10, 2016 at 2:19 AM, Diego Viola <diego.viola@gmail.com> wrote:
>>> Hi Guo,
>>>
>>> I have an x86 computer with this network card:
>>>
>>> 02:00.0 Ethernet controller: JMicron Technology Corp. JMC260 PCI
>>> Express Fast Ethernet Controller (rev 03)
>>>
>>> Every time I initiate a suspend (systemctl suspend) the machine hangs
>>> at resume unless I unload the jme driver.
>>>
>>> Here is a Call Trace I was able to get after it hanged:
>>>
>>> <IRQ>
>>> tasklet_action+0xb0/0xd0
>>> __do_softirq+0xcf/0x290
>>> irq_exit+0xa3/0xb0
>>> do_IRQ+0x54/0xd0
>>> common_interrupt+0x82/0x82
>>>
>>> <EOI>
>>> jme_start_irq+0x84/0xa0 [jme]
>>> jme_resume+0x12f/0x210 [jme]
>>> pci_pm_resume+0x64/0xa0
>>> ? pci_pm_thaw+0x90/0x90
>>> dpm_run_callback+0x4e/0x130
>>> device_resume+0xd3/0x1f0
>>> async_resume+0x1d/0x50
>>> async_run_entry_fn+0x48/0x150
>>> process_one_work+0x14b/0x440
>>> worker_thread+0x48/0x4a0
>>> ? process_one_work+0x440/0x440
>>> kthread+0xd8/0xf0
>>> ? kthread_worker_fn+0x170/0x170
>>> ret_from_fork+0x3f/0x70
>>> ? kthread_worker_fn+0x170/0x170
>>>
>>> Please note that I had to type the calltrace above as I don't have a
>>> serial cable and netconsole didn't work for me for some reason, so
>>> there could be typos I didn't notice.
>>>
>>> I run Arch Linux (x86-64), my uname is:
>>>
>>> $ uname -a
>>> Linux myhost 4.4.1-2-ARCH #1 SMP PREEMPT Wed Feb 3 13:12:33 UTC 2016
>>> x86_64 GNU/Linux
>>>
>>> Please let me know if you have any questions or need any other information.
>>>
>>> Thanks,
>>>
>>> Diego
>>
>> I found something interesting, I can suspend/resume just fine when the
>> module is loaded and when I do this:
>>
>> $ ip link set ens34 down
>>
>> When I bring the device up again the hang still occurs.
>>
>> Diego
>
> I have tried to reproduce this problem with the latest git
> (torvalds/linux.git) and also went back to Linux 3.11 and I still got
> the hang with both, my plan was to run git bisect, but the problem
> still occurs.
>
> I opened this bug in bugzilla if it's preferred to deal with the problem there:
>
> https://bugzilla.kernel.org/show_bug.cgi?id=112351
>
> Thanks,
> Diego

So I found that disabling async as in:

$ echo 0 > /sys/power/pm_async

Helps with my issue, I can't reproduce the hang anymore, tried
suspend/resume almost ~15 times.

Diego

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Computer fails to resume from suspend unless I rmmod jme before initiating the suspend
  2016-02-13 20:38     ` Diego Viola
@ 2016-02-14 20:16       ` Diego Viola
  2016-02-14 20:21         ` Richard Weinberger
  2016-02-22 10:09         ` Pavel Machek
  0 siblings, 2 replies; 12+ messages in thread
From: Diego Viola @ 2016-02-14 20:16 UTC (permalink / raw)
  To: cooldavid; +Cc: netdev, linux-kernel

On Sat, Feb 13, 2016 at 6:38 PM, Diego Viola <diego.viola@gmail.com> wrote:
> On Fri, Feb 12, 2016 at 6:17 AM, Diego Viola <diego.viola@gmail.com> wrote:
>> On Wed, Feb 10, 2016 at 7:36 PM, Diego Viola <diego.viola@gmail.com> wrote:
>>> On Wed, Feb 10, 2016 at 2:19 AM, Diego Viola <diego.viola@gmail.com> wrote:
>>>> Hi Guo,
>>>>
>>>> I have an x86 computer with this network card:
>>>>
>>>> 02:00.0 Ethernet controller: JMicron Technology Corp. JMC260 PCI
>>>> Express Fast Ethernet Controller (rev 03)
>>>>
>>>> Every time I initiate a suspend (systemctl suspend) the machine hangs
>>>> at resume unless I unload the jme driver.
>>>>
>>>> Here is a Call Trace I was able to get after it hanged:
>>>>
>>>> <IRQ>
>>>> tasklet_action+0xb0/0xd0
>>>> __do_softirq+0xcf/0x290
>>>> irq_exit+0xa3/0xb0
>>>> do_IRQ+0x54/0xd0
>>>> common_interrupt+0x82/0x82
>>>>
>>>> <EOI>
>>>> jme_start_irq+0x84/0xa0 [jme]
>>>> jme_resume+0x12f/0x210 [jme]
>>>> pci_pm_resume+0x64/0xa0
>>>> ? pci_pm_thaw+0x90/0x90
>>>> dpm_run_callback+0x4e/0x130
>>>> device_resume+0xd3/0x1f0
>>>> async_resume+0x1d/0x50
>>>> async_run_entry_fn+0x48/0x150
>>>> process_one_work+0x14b/0x440
>>>> worker_thread+0x48/0x4a0
>>>> ? process_one_work+0x440/0x440
>>>> kthread+0xd8/0xf0
>>>> ? kthread_worker_fn+0x170/0x170
>>>> ret_from_fork+0x3f/0x70
>>>> ? kthread_worker_fn+0x170/0x170
>>>>
>>>> Please note that I had to type the calltrace above as I don't have a
>>>> serial cable and netconsole didn't work for me for some reason, so
>>>> there could be typos I didn't notice.
>>>>
>>>> I run Arch Linux (x86-64), my uname is:
>>>>
>>>> $ uname -a
>>>> Linux myhost 4.4.1-2-ARCH #1 SMP PREEMPT Wed Feb 3 13:12:33 UTC 2016
>>>> x86_64 GNU/Linux
>>>>
>>>> Please let me know if you have any questions or need any other information.
>>>>
>>>> Thanks,
>>>>
>>>> Diego
>>>
>>> I found something interesting, I can suspend/resume just fine when the
>>> module is loaded and when I do this:
>>>
>>> $ ip link set ens34 down
>>>
>>> When I bring the device up again the hang still occurs.
>>>
>>> Diego
>>
>> I have tried to reproduce this problem with the latest git
>> (torvalds/linux.git) and also went back to Linux 3.11 and I still got
>> the hang with both, my plan was to run git bisect, but the problem
>> still occurs.
>>
>> I opened this bug in bugzilla if it's preferred to deal with the problem there:
>>
>> https://bugzilla.kernel.org/show_bug.cgi?id=112351
>>
>> Thanks,
>> Diego
>
> So I found that disabling async as in:
>
> $ echo 0 > /sys/power/pm_async
>
> Helps with my issue, I can't reproduce the hang anymore, tried
> suspend/resume almost ~15 times.
>
> Diego

Can someone please help?

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Computer fails to resume from suspend unless I rmmod jme before initiating the suspend
  2016-02-14 20:16       ` Diego Viola
@ 2016-02-14 20:21         ` Richard Weinberger
  2016-02-22 10:09         ` Pavel Machek
  1 sibling, 0 replies; 12+ messages in thread
From: Richard Weinberger @ 2016-02-14 20:21 UTC (permalink / raw)
  To: Diego Viola; +Cc: cooldavid, netdev, LKML

Diego,

On Sun, Feb 14, 2016 at 9:16 PM, Diego Viola <diego.viola@gmail.com> wrote:
> Can someone please help?

as I wrote on IRC, please wait at least a full week.

-- 
Thanks,
//richard

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Computer fails to resume from suspend unless I rmmod jme before initiating the suspend
  2016-02-14 20:16       ` Diego Viola
  2016-02-14 20:21         ` Richard Weinberger
@ 2016-02-22 10:09         ` Pavel Machek
  2016-02-22 18:59           ` Diego Viola
  2016-03-02  5:04           ` Guo-Fu Tseng
  1 sibling, 2 replies; 12+ messages in thread
From: Pavel Machek @ 2016-02-22 10:09 UTC (permalink / raw)
  To: Diego Viola, Rafael J. Wysocki; +Cc: cooldavid, netdev, linux-kernel

Hi!

> >>>> Every time I initiate a suspend (systemctl suspend) the machine hangs
> >>>> at resume unless I unload the jme driver.

It seems to have some kind of suspend/resume support. ... and it is
rather complex.

Maybe jme_start_irq(jme) should be moved to the end of jme_resume
function?

> > So I found that disabling async as in:
> >
> > $ echo 0 > /sys/power/pm_async
> >
> > Helps with my issue, I can't reproduce the hang anymore, tried
> > suspend/resume almost ~15 times.
> >
> > Diego
> 
> Can someone please help?

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Computer fails to resume from suspend unless I rmmod jme before initiating the suspend
  2016-02-22 10:09         ` Pavel Machek
@ 2016-02-22 18:59           ` Diego Viola
  2016-02-22 19:20             ` Pavel Machek
  2016-03-02  5:04           ` Guo-Fu Tseng
  1 sibling, 1 reply; 12+ messages in thread
From: Diego Viola @ 2016-02-22 18:59 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Rafael J. Wysocki, cooldavid, netdev, linux-kernel

On Mon, Feb 22, 2016 at 7:09 AM, Pavel Machek <pavel@ucw.cz> wrote:
> Hi!
>
>> >>>> Every time I initiate a suspend (systemctl suspend) the machine hangs
>> >>>> at resume unless I unload the jme driver.
>
> It seems to have some kind of suspend/resume support. ... and it is
> rather complex.
>
> Maybe jme_start_irq(jme) should be moved to the end of jme_resume
> function?
>
>> > So I found that disabling async as in:
>> >
>> > $ echo 0 > /sys/power/pm_async
>> >
>> > Helps with my issue, I can't reproduce the hang anymore, tried
>> > suspend/resume almost ~15 times.
>> >
>> > Diego
>>
>> Can someone please help?
>
>                                                                         Pavel
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Hi Pavel,

This did the trick, suspend/resume is now working perfectly for me
(tried more than 10 times). :)

Thank you so much, should I send a patch?

Diego

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Computer fails to resume from suspend unless I rmmod jme before initiating the suspend
  2016-02-22 18:59           ` Diego Viola
@ 2016-02-22 19:20             ` Pavel Machek
  2016-02-23  0:38               ` Diego Viola
  0 siblings, 1 reply; 12+ messages in thread
From: Pavel Machek @ 2016-02-22 19:20 UTC (permalink / raw)
  To: Diego Viola; +Cc: Rafael J. Wysocki, cooldavid, netdev, linux-kernel

On Mon 2016-02-22 15:59:48, Diego Viola wrote:
> On Mon, Feb 22, 2016 at 7:09 AM, Pavel Machek <pavel@ucw.cz> wrote:
> > Hi!
> >
> >> >>>> Every time I initiate a suspend (systemctl suspend) the machine hangs
> >> >>>> at resume unless I unload the jme driver.
> >
> > It seems to have some kind of suspend/resume support. ... and it is
> > rather complex.
> >
> > Maybe jme_start_irq(jme) should be moved to the end of jme_resume
> > function?
> >
> >> > So I found that disabling async as in:
> >> >
> >> > $ echo 0 > /sys/power/pm_async
> >> >
> >> > Helps with my issue, I can't reproduce the hang anymore, tried
> >> > suspend/resume almost ~15 times.
> >> >
> >> > Diego
> >>
> >> Can someone please help?
> 
> Hi Pavel,
> 
> This did the trick, suspend/resume is now working perfectly for me
> (tried more than 10 times). :)
> 
> Thank you so much, should I send a patch?

Yes please.

									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Computer fails to resume from suspend unless I rmmod jme before initiating the suspend
  2016-02-22 19:20             ` Pavel Machek
@ 2016-02-23  0:38               ` Diego Viola
  0 siblings, 0 replies; 12+ messages in thread
From: Diego Viola @ 2016-02-23  0:38 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Rafael J. Wysocki, cooldavid, netdev, linux-kernel

On Mon, Feb 22, 2016 at 4:20 PM, Pavel Machek <pavel@ucw.cz> wrote:
> On Mon 2016-02-22 15:59:48, Diego Viola wrote:
>> On Mon, Feb 22, 2016 at 7:09 AM, Pavel Machek <pavel@ucw.cz> wrote:
>> > Hi!
>> >
>> >> >>>> Every time I initiate a suspend (systemctl suspend) the machine hangs
>> >> >>>> at resume unless I unload the jme driver.
>> >
>> > It seems to have some kind of suspend/resume support. ... and it is
>> > rather complex.
>> >
>> > Maybe jme_start_irq(jme) should be moved to the end of jme_resume
>> > function?
>> >
>> >> > So I found that disabling async as in:
>> >> >
>> >> > $ echo 0 > /sys/power/pm_async
>> >> >
>> >> > Helps with my issue, I can't reproduce the hang anymore, tried
>> >> > suspend/resume almost ~15 times.
>> >> >
>> >> > Diego
>> >>
>> >> Can someone please help?
>>
>> Hi Pavel,
>>
>> This did the trick, suspend/resume is now working perfectly for me
>> (tried more than 10 times). :)
>>
>> Thank you so much, should I send a patch?
>
> Yes please.
>
>                                                                         Pavel
>
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Sent, thank you.

Diego

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Computer fails to resume from suspend unless I rmmod jme before initiating the suspend
  2016-02-22 10:09         ` Pavel Machek
  2016-02-22 18:59           ` Diego Viola
@ 2016-03-02  5:04           ` Guo-Fu Tseng
  2016-03-07  1:35             ` Diego Viola
  1 sibling, 1 reply; 12+ messages in thread
From: Guo-Fu Tseng @ 2016-03-02  5:04 UTC (permalink / raw)
  To: Pavel Machek, Diego Viola, Rafael J. Wysocki; +Cc: netdev, linux-kernel

Dear Diego and who concerns about this driver:

Thanks for reporting it. I can still provide some help, but it's just I'm quite busy.
So that you have not seem me sending patch for a long time.

I wrote this driver when I wan an intern in JMicron during one of my summer vacation
while I'm still student in 2008. And form that point, I do the maintenance just
for fun, not taking any money from them.

JMicron stopped contact me for a long time, and Diego told me that JMicron told him
this chip was EOL 6 years ago.

I have a confidential spec of this chip. I can still provide some help.

Diego is working closely with me for this issue right now.

On Mon, 22 Feb 2016 11:09:07 +0100, Pavel Machek wrote
> Hi!
> 
> > >>>> Every time I initiate a suspend (systemctl suspend) the machine hangs
> > >>>> at resume unless I unload the jme driver.
> 
> It seems to have some kind of suspend/resume support. ... and it is
> rather complex.
> 
> Maybe jme_start_irq(jme) should be moved to the end of jme_resume
> function?
> 
> > > So I found that disabling async as in:
> > >
> > > $ echo 0 > /sys/power/pm_async
> > >
> > > Helps with my issue, I can't reproduce the hang anymore, tried
> > > suspend/resume almost ~15 times.
> > >
> > > Diego
> > 
> > Can someone please help?
> 
> 									Pavel
> -- 
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


Guo-Fu Tseng

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Computer fails to resume from suspend unless I rmmod jme before initiating the suspend
  2016-03-02  5:04           ` Guo-Fu Tseng
@ 2016-03-07  1:35             ` Diego Viola
  0 siblings, 0 replies; 12+ messages in thread
From: Diego Viola @ 2016-03-07  1:35 UTC (permalink / raw)
  To: Guo-Fu Tseng; +Cc: Pavel Machek, Rafael J. Wysocki, netdev, linux-kernel

On Wed, Mar 2, 2016 at 2:04 AM, Guo-Fu Tseng <cooldavid@cooldavid.org> wrote:
> Dear Diego and who concerns about this driver:
>
> Thanks for reporting it. I can still provide some help, but it's just I'm quite busy.
> So that you have not seem me sending patch for a long time.
>
> I wrote this driver when I wan an intern in JMicron during one of my summer vacation
> while I'm still student in 2008. And form that point, I do the maintenance just
> for fun, not taking any money from them.
>
> JMicron stopped contact me for a long time, and Diego told me that JMicron told him
> this chip was EOL 6 years ago.
>
> I have a confidential spec of this chip. I can still provide some help.
>
> Diego is working closely with me for this issue right now.
>
> On Mon, 22 Feb 2016 11:09:07 +0100, Pavel Machek wrote
>> Hi!
>>
>> > >>>> Every time I initiate a suspend (systemctl suspend) the machine hangs
>> > >>>> at resume unless I unload the jme driver.
>>
>> It seems to have some kind of suspend/resume support. ... and it is
>> rather complex.
>>
>> Maybe jme_start_irq(jme) should be moved to the end of jme_resume
>> function?
>>
>> > > So I found that disabling async as in:
>> > >
>> > > $ echo 0 > /sys/power/pm_async
>> > >
>> > > Helps with my issue, I can't reproduce the hang anymore, tried
>> > > suspend/resume almost ~15 times.
>> > >
>> > > Diego
>> >
>> > Can someone please help?
>>
>>                                                                       Pavel
>> --
>> (english) http://www.livejournal.com/~pavelmachek
>> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
>
>
> Guo-Fu Tseng

Dear Guo,

I just wanted to say thank you for helping me fix the issues I had
with this driver. Thank you! You're awesome. :D

Diego

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-03-07  1:35 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-10  4:19 Computer fails to resume from suspend unless I rmmod jme before initiating the suspend Diego Viola
2016-02-10 21:36 ` Diego Viola
2016-02-12  8:17   ` Diego Viola
2016-02-13 20:38     ` Diego Viola
2016-02-14 20:16       ` Diego Viola
2016-02-14 20:21         ` Richard Weinberger
2016-02-22 10:09         ` Pavel Machek
2016-02-22 18:59           ` Diego Viola
2016-02-22 19:20             ` Pavel Machek
2016-02-23  0:38               ` Diego Viola
2016-03-02  5:04           ` Guo-Fu Tseng
2016-03-07  1:35             ` Diego Viola

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.