tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
audio power code tsleep()s from interrupt context
Hi -
the code which tries to power down audio devices if not
used for some seconds causes a panic for me - see below.
A general note:
While this is a worthwhile goal to save power I don't
think this should be mixed with the suspend/resume code
the way it is done now -- the suspend/resume code has
strict technical requirements, as getting PCI devices
to D3, while power-saving code should be opportunistic
and user configurable.
best regards
Matthias
panic: kernel diagnostic assertion "(l->l_pflag & LP_INT
R) == 0" failed: file "../../../../kern/kern_synch.c", line 169
#10 0xc041a78f in panic ()
#11 0xc068f3bf in __kernassert ()
#12 0xc03fb186 in ltsleep ()
#13 0xc05d0880 in usbd_transfer ()
#14 0xc05d0975 in usbd_sync_transfer ()
#15 0xc05d1996 in usbd_do_request_flags_pipe ()
#16 0xc05d18ce in usbd_do_request_flags ()
#17 0xc05d1886 in usbd_do_request ()
#18 0xc05dd971 in uaudio_get ()
#19 0xc05dddcb in uaudio_ctl_get ()
#20 0xc05ddf3f in uaudio_mixer_get_port ()
#21 0xc03a11da in audio_mixer_capture ()
#22 0xc03a13ab in audio_suspend ()
#23 0xc040cf44 in device_pmf_driver_suspend ()
#24 0xc03eaadb in pmf_device_suspend ()
#25 0xc03a12db in audio_idle ()
#26 0xc040629a in callout_softclock ()
-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------
Home |
Main Index |
Thread Index |
Old Index