Bug#776478: firmware-linux-nonfree: tigon driver for a Broadcom ethernet card prevents the computer from suspending to RAM
Thank you for replying. Yes, I meant the tg3 driver. I reinstalled it
by reinstalling the package firmware-linux-nonfree using apt-get. Then
I began to reinvestigate the matter. I now think the problem is related
to the iwl3945 driver, which is part of the package firmware-iwlwifi.
The relevant output for “lspci -vnn” is the following:
09:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme
BCM5752 Gigabit Ethernet PCI Express [14e4:1600] (rev 02)
Subsystem: Dell Device [1028:01c8]
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at dcef0000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [48] Power Management version 2
Capabilities: [50] Vital Product Data
Capabilities: [58] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [d0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Virtual Channel
Kernel driver in use: tg3
0c:00.0 Network controller [0280]: Intel Corporation PRO/Wireless
3945ABG [Golan] Network Connection [8086:4222] (rev 02)
Subsystem: Intel Corporation Device [8086:1020]
Flags: bus master, fast devsel, latency 0, IRQ 45
Memory at dcfff000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [c8] Power Management version 2
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [e0] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number
Kernel driver in use: iwl3945
(I removed the serial number for the wireless card. Was I supposed to
remove anything else?)
I reinvestigated the matter by suspending the laptop to RAM several
times, to disk several times, and intermixing the two. Suspending to
RAM a single time and then following by suspending to RAM or disk
creates the problem. (By suspending to RAM I mean clicking on the K in
the bottom, left corner of the screen, clicking on “Leave,” and clicking
on “Sleep, Suspend to RAM.” For suspending to disk I mean clicking on
“Hibernate, Suspend to disk.”)
Again, The first attempt to suspend to RAM will succeed. For the next
attempt, whether I try to suspend to RAM or disk, it will fail.
Otherwise, the laptop will suspend to disk successfully twice in a row.
In the failing cases for RAM and disk the relevant output in the system
log is the following:
RAM:
NetworkManager[2975] <info> sleep requested (sleeping: no enabled:
no)
NetworkManager[2975] <info> sleeping or disabling...
anacron[5484] Anacron 2.3 started on 2015-01-30
anacron[5484] Normal exit (0 jobs run)
kernel [ 647.332064] PM: Syncing filesystems ... done.
kernel [ 647.336316] PM: Preparing system for mem sleep
kernel [ 647.360641] Freezing user space processes ... (elapsed 0.01
seconds) done.
kernel [ 647.376072] Freezing remaining freezable tasks ... (elapsed
0.01 seconds) done.
kernel [ 647.392053] PM: Entering mem sleep
kernel [ 647.392070] Suspending console(s) (use no_console_suspend to
debug)
kernel [ 647.392571] sd 0:0:0:0: [sda] Synchronizing SCSI cache
kernel [ 647.392907] sd 0:0:0:0: [sda] Stopping disk
kernel [ 647.428119] legacy_suspend(): pnp_bus_suspend+0x0/0x6f
returns 38
kernel [ 647.428123] PM: Device 00:0c failed to suspend: error 38
kernel [ 647.806090] PM: Some devices failed to suspend
kernel [ 647.806247] sd 0:0:0:0: [sda] Starting disk
kernel [ 648.496583] PM: resume of devices complete after 690.489
msecs
kernel [ 648.496724] PM: Finishing wakeup.
acpid client 3191[0:0] has disconnected
kernel [ 648.496725] Restarting tasks ... done.
kernel [ 648.538363] video LNXVIDEO:00: Restoring backlight state
acpid client connected from 3191[0:0]
acpid 1 client rule loaded
anacron[5781] Anacron 2.3 started on 2015-01-30
anacron[5781] Normal exit (0 jobs run)
anacron[5853] Anacron 2.3 started on 2015-01-30
anacron[5853] Normal exit (0 jobs run)
NetworkManager[2975] <info> wake requested (sleeping: yes enabled:
no)
NetworkManager[2975] <info> sleeping or disabling...
disk:
NetworkManager[2975] <info> sleep requested (sleeping: no enabled:
no)
NetworkManager[2975] <info> sleeping or disabling...
anacron[6047] Anacron 2.3 started on 2015-01-30
anacron[6047] Normal exit (0 jobs run)
kernel [ 818.894062] PM: Marking nosave pages: 000000000009f000 -
0000000000100000
kernel [ 818.894068] PM: Basic memory bitmaps created
kernel [ 818.894070] PM: Syncing filesystems ... done.
kernel [ 819.206485] Freezing user space processes ... (elapsed 0.01
seconds) done.
kernel [ 819.220084] PM: Preallocating image memory... done (allocated
300286 pages)
kernel [ 819.789481] PM: Allocated 1201144 kbytes in 0.56 seconds
(2144.90 MB/s)
kernel [ 819.789484] Freezing remaining freezable tasks ... (elapsed
0.01 seconds) done.
kernel [ 819.804398] Suspending console(s) (use no_console_suspend to
debug)
kernel [ 819.828122] legacy_suspend(): pnp_bus_suspend+0x0/0x6f
returns 38
kernel [ 819.828128] PM: Device 00:0c failed to freeze: error 38
kernel [ 820.008050] sd 0:0:0:0: [sda] Synchronizing SCSI cache
kernel [ 820.061633] sd 0:0:0:0: [sda] Starting disk
kernel [ 820.503986] PM: restore of devices complete after 442.650
msecs
kernel [ 820.504364] Restarting tasks ... done.
kernel [ 820.518152] PM: Basic memory bitmaps freed
kernel [ 820.518158] video LNXVIDEO:00: Restoring backlight state
acpid client 3191[0:0] has disconnected
acpid client connected from 3191[0:0]
acpid 1 client rule loaded
anacron[6356] Anacron 2.3 started on 2015-01-30
anacron[6356] Normal exit (0 jobs run)
anacron[6428] Anacron 2.3 started on 2015-01-30
anacron[6428] Normal exit (0 jobs run)
NetworkManager[2975] <info> wake requested (sleeping: yes enabled:
no)
NetworkManager[2975] <info> sleeping or disabling...
Both cases produce the same error messages:
kernel [ ] legacy_suspend(): pnp_bus_suspend+0x0/0x6f returns 38
kernel [ ] PM: Device 00:0c failed to freeze: error 38
What is error 38? Does 00:c refer to the wireless card? If so, perhaps
the bug should be reclassified under the package firmware-iwlwifi.
Thanks, Ryan.
P.S. It seems the encrypted file system is irrelevant.
Reply to: