#712817 dahdi-source: dahdi driver fails to suspend

#712817#5
Date:
2013-06-19 17:57:09 UTC
From:
To:
The pci_legacy_suspend() call in the log below fails.  If I unload the
wctdm24xxp driver before doing pm-suspend, the system suspends.

[ 8755.882122] dahdi: Version: 2.7.0
[ 8755.882425] dahdi: Telephony Interface Registered on major 196
[ 8757.100108] wctdm24xxp 0000:02:08.0: Port 1: Installed -- AUTO FXO (FCC mode)
[ 8757.100113] wctdm24xxp 0000:02:08.0: Port 2: Installed -- AUTO FXO (FCC mode)
[ 8757.100117] wctdm24xxp 0000:02:08.0: Port 3: Installed -- AUTO FXO (FCC mode)
[ 8757.100121] wctdm24xxp 0000:02:08.0: Port 4: Installed -- AUTO FXO (FCC mode)
[ 8757.280894] wctdm24xxp 0000:02:08.0: Found a Wildcard TDM: Wildcard AEX410 (0 BRI spans, 4 analog channels)
[ 8757.285812] wctdm24xxp 0000:02:08.0: firmware: agent loaded dahdi-fw-vpmoct032.bin into memory
[ 8757.455084] wctdm24xxp 0000:02:08.0: vpmoct: Detected firmware v1.12 Serial: 5VPMOCT032LF-B    DM99140780499
[ 8762.573156] wctdm24xxp 0000:08:01.0: Port 1: Installed -- AUTO FXS/DPO
[ 8762.573161] wctdm24xxp 0000:08:01.0: Port 2: Installed -- AUTO FXS/DPO
[ 8762.573164] wctdm24xxp 0000:08:01.0: Port 3: Installed -- AUTO FXS/DPO
[ 8762.573168] wctdm24xxp 0000:08:01.0: Port 4: Installed -- AUTO FXS/DPO
[ 8762.573171] wctdm24xxp 0000:08:01.0: Port 5: Installed -- AUTO FXS/DPO
[ 8762.573174] wctdm24xxp 0000:08:01.0: Port 6: Installed -- AUTO FXS/DPO
[ 8762.573178] wctdm24xxp 0000:08:01.0: Port 7: Installed -- AUTO FXS/DPO
[ 8762.573181] wctdm24xxp 0000:08:01.0: Port 8: Installed -- AUTO FXS/DPO
[ 8762.574551] wctdm24xxp 0000:08:01.0: Found a Wildcard TDM: Wildcard TDM800P (0 BRI spans, 8 analog channels)
[ 8788.596624] PM: Syncing filesystems ... done.
[ 8788.600530] PM: Preparing system for mem sleep
[ 8788.601106] Freezing user space processes ... (elapsed 0.01 seconds) done.
[ 8788.616091] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[ 8788.632235] PM: Entering mem sleep
[ 8788.632302] Suspending console(s) (use no_console_suspend to debug)
[ 8788.632705] sd 2:0:0:0: [sda] Synchronizing SCSI cache
[ 8788.633593] pci_legacy_suspend(): wctdm_suspend+0x0/0x6 [wctdm24xxp] returns -38
[ 8788.633599] pm_op(): pci_pm_suspend+0x0/0xf5 returns -38
[ 8788.633602] PM: Device 0000:08:01.0 failed to suspend async: error -38
[ 8788.718971] sd 2:0:0:0: [sda] Stopping disk
[ 8789.320125] PM: Some devices failed to suspend
[ 8789.321457] sd 2:0:0:0: [sda] Starting disk
[ 8790.613901] PM: resume of devices complete after 1293.770 msecs
[ 8790.614122] PM: Finishing wakeup.
[ 8790.614125] Restarting tasks ... done.

#712817#10
Date:
2013-08-28 14:30:27 UTC
From:
To:
tags 712817 + upstream
thanks

Thanks for your report. I should note that I have had success with
suspention of an Astribank recently.

Forwarded the issue upstream to
https://issues.asterisk.org/jira/browse/DAHLIN-327

#712817#17
Date:
2013-08-29 06:38:45 UTC
From:
To:
tags 712817 + wontfix
thanks

Upstream responded in the bug report: