Dear all, FC5 will not suspend with the lirc_dev module loaded. Looking at dmesg, I see something like: ----------------------------------------------------8X----------------------------------------------------------------- lirc_dev: no version for "struct_module" found: kernel tainted. lirc_dev: IR Remote Control driver registered, at major 61 The bttv_* interface is obsolete and will go away, please use the new, sysfs based interface instead. lirc_gpio (-1): card type 0x22, id 0x6606107d lirc_dev: lirc_register_plugin: sample_rate: 0 lirc_gpio (0): driver registered BUG: warning at kernel/sched.c:3432/interruptible_sleep_on() (Tainted: PF ) Call Trace: <ffffffff802682d8>{interruptible_sleep_on+128} <ffffffff8028b810>{default_wake_function+0} <ffffffff80268831>{schedule_timeout+146} <ffffffff88b87b9e>{:lirc_dev:lirc_thread+142} <ffffffff80263ade>{child_rip+8} <ffffffff80267836>{thread_return+0} <ffffffff88b87b10>{:lirc_dev:lirc_thread+0} <ffffffff80263ad6>{child_rip+0} BUG: warning at kernel/sched.c:3432/interruptible_sleep_on() (Tainted: PF ) Call Trace: <ffffffff802682d8>{interruptible_sleep_on+128} <ffffffff8028b810>{default_wake_function+0} <ffffffff8022fb13>{__wake_up+56} <ffffffff88b87b9e>{:lirc_dev:lirc_thread+142} <ffffffff80263ade>{child_rip+8} <ffffffff80267836>{thread_return+0} <ffffffff88b87b10>{:lirc_dev:lirc_thread+0} <ffffffff80263ad6>{child_rip+0} vbetool[3897]: segfault at 0000000000003038 rip 0000000000424317 rsp 00007fff0afc7940 error 4 PM: Preparing system for mem sleep Freezing cpus ... Stopping tasks: ====================================================================================================BUG: warning at kernel/sched.c:3432/interruptible_sleep_on() (Tainted: PF ) Call Trace: <ffffffff802682d8>{interruptible_sleep_on+128} <ffffffff8028b810>{default_wake_function+0} <ffffffff88b94424>{:lirc_gpio:add_to_buf+36} <ffffffff8022fb13>{__wake_up+56} <ffffffff88b87b9e>{:lirc_dev:lirc_thread+142} <ffffffff80263ade>{child_rip+8} <ffffffff80267836>{thread_return+0} <ffffffff88b87b10>{:lirc_dev:lirc_thread+0} <ffffffff80263ad6>{child_rip+0} BUG: warning at kernel/sched.c:3432/interruptible_sleep_on() (Tainted: PF ) Call Trace: <ffffffff802682d8>{interruptible_sleep_on+128} <ffffffff8028b810>{default_wake_function+0} <ffffffff88b94424>{:lirc_gpio:add_to_buf+36} <ffffffff8022fb13>{__wake_up+56} <ffffffff88b87b9e>{:lirc_dev:lirc_thread+142} <ffffffff80263ade>{child_rip+8} <ffffffff80267836>{thread_return+0} <ffffffff88b87b10>{:lirc_dev:lirc_thread+0} <ffffffff80263ad6>{child_rip+0} BUG: warning at kernel/sched.c:3432/interruptible_sleep_on() (Tainted: PF ) Call Trace: <ffffffff802682d8>{interruptible_sleep_on+128} <ffffffff8028b810>{default_wake_function+0} <ffffffff88b94424>{:lirc_gpio:add_to_buf+36} <ffffffff8022fb13>{__wake_up+56} <ffffffff88b87b9e>{:lirc_dev:lirc_thread+142} <ffffffff80263ade>{child_rip+8} <ffffffff80267836>{thread_return+0} <ffffffff88b87b10>{:lirc_dev:lirc_thread+0} <ffffffff80263ad6>{child_rip+0} BUG: warning at kernel/sched.c:3432/interruptible_sleep_on() (Tainted: PF ) Call Trace: <ffffffff802682d8>{interruptible_sleep_on+128} <ffffffff8028b810>{default_wake_function+0} <ffffffff88b94424>{:lirc_gpio:add_to_buf+36} <ffffffff8022fb13>{__wake_up+56} <ffffffff88b87b9e>{:lirc_dev:lirc_thread+142} <ffffffff80263ade>{child_rip+8} <ffffffff80267836>{thread_return+0} <ffffffff88b87b10>{:lirc_dev:lirc_thread+0} <ffffffff80263ad6>{child_rip+0} BUG: warning at kernel/sched.c:3432/interruptible_sleep_on() (Tainted: PF ) Call Trace: <ffffffff802682d8>{interruptible_sleep_on+128} <ffffffff8028b810>{default_wake_function+0} <ffffffff88b94424>{:lirc_gpio:add_to_buf+36} <ffffffff8022fb13>{__wake_up+56} <ffffffff88b87b9e>{:lirc_dev:lirc_thread+142} <ffffffff80263ade>{child_rip+8} <ffffffff80267836>{thread_return+0} <ffffffff88b87b10>{:lirc_dev:lirc_thread+0} <ffffffff80263ad6>{child_rip+0} BUG: warning at kernel/sched.c:3432/interruptible_sleep_on() (Tainted: PF ) Call Trace: <ffffffff802682d8>{interruptible_sleep_on+128} <ffffffff8028b810>{default_wake_function+0} <ffffffff88b94424>{:lirc_gpio:add_to_buf+36} <ffffffff8022fb13>{__wake_up+56} <ffffffff88b87b9e>{:lirc_dev:lirc_thread+142} <ffffffff80263ade>{child_rip+8} <ffffffff80267836>{thread_return+0} <ffffffff88b87b10>{:lirc_dev:lirc_thread+0} <ffffffff80263ad6>{child_rip+0} BUG: warning at kernel/sched.c:3432/interruptible_sleep_on() (Tainted: PF ) Call Trace: <ffffffff802682d8>{interruptible_sleep_on+128} <ffffffff8028b810>{default_wake_function+0} <ffffffff88b94424>{:lirc_gpio:add_to_buf+36} <ffffffff8022fb13>{__wake_up+56} <ffffffff88b87b9e>{:lirc_dev:lirc_thread+142} <ffffffff80263ade>{child_rip+8} <ffffffff80267836>{thread_return+0} <ffffffff88b87b10>{:lirc_dev:lirc_thread+0} <ffffffff80263ad6>{child_rip+0} BUG: warning at kernel/sched.c:3432/interruptible_sleep_on() (Tainted: PF ) Call Trace: <ffffffff802682d8>{interruptible_sleep_on+128} <ffffffff8028b810>{default_wake_function+0} <ffffffff88b94424>{:lirc_gpio:add_to_buf+36} <ffffffff8022fb13>{__wake_up+56} <ffffffff88b87b9e>{:lirc_dev:lirc_thread+142} <ffffffff80263ade>{child_rip+8} <ffffffff80267836>{thread_return+0} <ffffffff88b87b10>{:lirc_dev:lirc_thread+0} <ffffffff80263ad6>{child_rip+0} stopping tasks timed out after 20 seconds (1 tasks remaining): lirc_dev Restarting tasks...<6> Strange, lirc_dev not stopped done Thawing cpus ... ----------------------------------------------------X8----------------------------------------------------------------- I will also submit a bug report to Atrpms but for the time being the problem can be solved by manually unloading the modules prior to suspending the machine. What I would like to know is if there is any place where I can put scripts to automate the unloading and reloading of such problematic modules. TIA -M