Re: AsiaBSDCon DEVSUMMIT patch




On Thu, 27 Mar 2008, M. Warner Losh wrote:

Greetings,

We've been talking about the situation with suspend/resume in the
tree. Here's a quick hack to allow one to suspend/resume an
individual device. This may or may not work too well, but it is
offered up for testing and criticism.

http://people.freebsd.org/~imp/devctl.diff

devctl -s ath 0 suspend ath0
devctl -r ath 0 resume ath0

Hey Warner,

This is a great idea. Would it be possible to provide a little more background about what the expected failure/success modes are? If we had some easy to follow steps we could ask for testers on current@ and create a wiki with a list of known working/broken hardware. That'd be a great step towards having widespread suspend/resume support.

Thanks,
Jeff


Warner


_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"

_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • [RFD] new syscalls: suspend_other/resume_other?
    ... some signals for suspend/resume all threads to implement this. ... a hack, since you take away flexibility from the application. ... EDEADLK We run already a suspend_otherand the calling thread ... Any per thread queued signals are deferred until resume_other ...
    (Linux-Kernel)
  • Re: [RFD] new syscalls: suspend_other/resume_other?
    ... some signals for suspend/resume all threads to implement this. ... a hack, since you take away flexibility from the application. ... syscall manpages here, ... suspend_other - suspends execution of all but the calling thread ...
    (Linux-Kernel)
  • Re: NMI watchdog setup_lapic_nmi_watchdog() problem
    ... understand was is going on with suspend/resume. ... The hack was done because there wasn't an available CPU global enable flag ... for the nmi watchdog. ...
    (Linux-Kernel)
  • AsiaBSDCon DEVSUMMIT patch
    ... We've been talking about the situation with suspend/resume in the ... tree. ... Here's a quick hack to allow one to suspend/resume an ... individual device. ...
    (freebsd-arch)
  • Re: AsiaBSDCon DEVSUMMIT patch
    ... : On Thu, 27 Mar 2008, M. Warner Losh wrote: ... :> We've been talking about the situation with suspend/resume in the ... Eg, suspend and resume an individual device, or even tree of devices. ... rediscovery of an older bug, ...
    (freebsd-arch)