This is very very annoying.
Without having changed any of the configuration so far as I am aware, my Dell 1545 running Puppy Bionic64 with @rockedge 's realtime kernel has suddenly started refusing to reconnect the wifi on resume from sleep.
This has worked fine for years: Close lid, ACPI puts machine to sleep; open lid, system resumes, wifi comes up & reconnects.
Now, it's stopped: The wifi is dead on resume about 60% of the time (Ah the joys of the intermittent fault.)
If I immediately run the network wizard, and click "test interface", it reports "Puppy was able to find a live network".
If I then select Wireless & select & load the correct profile for my network, it fails to connect, and the details box gives
Code: Select all
wpa_state=INTERFACE_DISABLED
address=00:08:ca:cb:30:f5
uuid=917838bf-4202-59a5-81cc-b7b52046951e
if we look at the output from rfkill we see:
Code: Select all
root# rfkill list
0: phy0: wlan
Soft blocked: no
Hard blocked: no
Output from ifconfig shown in screenshot:
Note that
Code: Select all
ifconfig wlan0 up
doesn't fix it either.
The acpi stuff in /etc/acpi is stock - I haven't *ever* touched that.
lspci:
Code: Select all
root# lspci
[stuff snipped]
09:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller (rev 13)
0c:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
Here's /var/log/messages from the time of the last suspend through the resume.
Code: Select all
Nov 28 15:58:13 puppypc1545 kern.info kernel: PM: suspend entry (deep)
Nov 28 15:58:13 localhost vmunix: PM: Syncing filesystems ... done.
Nov 28 18:57:06 localhost vmunix: usb usb4: root hub lost power or was reset
Nov 28 18:57:06 localhost vmunix: atkbd serio0: Unknown key pressed (translated set 2, code 0x8d on isa0060/serio0).
Nov 28 18:57:06 localhost vmunix: atkbd serio0: Use 'setkeycodes e00d <keycode>' to make it known.
Nov 28 18:57:06 localhost vmunix: usb usb6: root hub lost power or was reset
Nov 28 18:57:06 localhost vmunix: usb usb7: root hub lost power or was reset
Nov 28 18:57:06 localhost vmunix: atkbd serio0: Unknown key pressed (translated set 2, code 0x8d on isa0060/serio0).
Nov 28 18:57:06 localhost vmunix: atkbd serio0: Use 'setkeycodes e00d <keycode>' to make it known.
Nov 28 18:57:06 localhost vmunix: usb usb8: root hub lost power or was reset
Nov 28 18:57:06 localhost vmunix: ata5: SATA link down (SStatus 0 SControl 300)
Nov 28 18:57:06 localhost vmunix: ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
Nov 28 18:57:06 localhost vmunix: ata6: SATA link down (SStatus 0 SControl 300)
Nov 28 18:57:06 localhost vmunix: usb 1-5: reset high-speed USB device number 2 using ehci-pci
Nov 28 18:57:06 localhost vmunix: ata2.00: configured for UDMA/100
Nov 28 18:57:06 localhost vmunix: ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Nov 28 18:57:06 localhost vmunix: ata1.00: configured for UDMA/133
Nov 28 18:57:06 localhost vmunix: OOM killer enabled.
Nov 28 18:57:06 puppypc1545 kern.info kernel: Freezing user space processes ... (elapsed 0.016 seconds) done.
Nov 28 18:57:06 puppypc1545 kern.info kernel: OOM killer disabled.
Nov 28 18:57:06 puppypc1545 kern.info kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Nov 28 18:57:06 puppypc1545 kern.info kernel: Suspending console(s) (use no_console_suspend to debug)
Nov 28 18:57:06 puppypc1545 kern.info kernel: wlan0: deauthenticating from 34:49:5b:ed:74:2e by local choice (Reason: 3=DEAUTH_LEAVING)
Nov 28 18:57:06 puppypc1545 kern.notice kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
Nov 28 18:57:06 puppypc1545 kern.notice kernel: sd 0:0:0:0: [sda] Stopping disk
Nov 28 18:57:06 puppypc1545 kern.info kernel: ACPI: Preparing to enter system sleep state S3
Nov 28 18:57:06 puppypc1545 kern.info kernel: PM: Saving platform NVS memory
Nov 28 18:57:06 puppypc1545 kern.info kernel: Disabling non-boot CPUs ...
Nov 28 18:57:06 puppypc1545 kern.info kernel: smpboot: CPU 1 is now offline
Nov 28 18:57:06 puppypc1545 kern.info kernel: ACPI: Low-level resume complete
Nov 28 18:57:06 puppypc1545 kern.info kernel: PM: Restoring platform NVS memory
Nov 28 18:57:06 puppypc1545 kern.info kernel: Enabling non-boot CPUs ...
Nov 28 18:57:06 puppypc1545 kern.info kernel: x86: Booting SMP configuration:
Nov 28 18:57:06 puppypc1545 kern.info kernel: smpboot: Booting Node 0 Processor 1 APIC 0x1
Nov 28 18:57:06 puppypc1545 kern.warn kernel: cache: parent cpu1 should not be sleeping
Nov 28 18:57:06 puppypc1545 kern.info kernel: CPU1 is up
Nov 28 18:57:06 puppypc1545 kern.info kernel: ACPI: Waking up from system sleep state S3
Nov 28 18:57:06 puppypc1545 kern.info kernel: ath: phy0: ASPM enabled: 0x43
Nov 28 18:57:06 puppypc1545 kern.notice kernel: usb usb3: root hub lost power or was reset
Nov 28 18:57:06 puppypc1545 kern.notice kernel: usb usb5: root hub lost power or was reset
Nov 28 18:57:06 puppypc1545 kern.notice kernel: sd 0:0:0:0: [sda] Starting disk
Nov 28 18:57:06 localhost vmunix: Restarting tasks ... done.
Nov 28 18:57:07 puppypc1545 kern.info kernel: video LNXVIDEO:01: Restoring backlight state
Nov 28 18:57:07 localhost vmunix: PM: suspend exit
Nov 28 18:57:07 puppypc1545 kern.warn kernel: atkbd serio0: Unknown key pressed (translated set 2, code 0x8d on isa0060/serio0).
Nov 28 18:57:07 puppypc1545 kern.warn kernel: atkbd serio0: Use 'setkeycodes e00d <keycode>' to make it known.
Nov 28 18:57:08 puppypc1545 kern.info kernel: wlan0: authenticate with 34:49:5b:ed:74:2e
Nov 28 18:57:08 puppypc1545 kern.info kernel: wlan0: send auth to 34:49:5b:ed:74:2e (try 1/3)
Nov 28 18:57:08 puppypc1545 kern.info kernel: wlan0: authenticated
Nov 28 18:57:08 puppypc1545 kern.info kernel: wlan0: associate with 34:49:5b:ed:74:2e (try 1/3)
Nov 28 18:57:08 puppypc1545 kern.info kernel: wlan0: RX AssocResp from 34:49:5b:ed:74:2e (capab=0x431 status=0 aid=2)
Nov 28 18:57:08 puppypc1545 kern.info kernel: wlan0: associated
Nov 28 18:57:08 puppypc1545 kern.debug kernel: ath: EEPROM regdomain: 0x833a
Nov 28 18:57:08 puppypc1545 kern.debug kernel: ath: EEPROM indicates we should expect a country code
Nov 28 18:57:08 puppypc1545 kern.debug kernel: ath: doing EEPROM country->regdmn map search
Nov 28 18:57:08 puppypc1545 kern.debug kernel: ath: country maps to regdmn code: 0x37
Nov 28 18:57:08 puppypc1545 kern.debug kernel: ath: Country alpha2 being used: GB
Nov 28 18:57:08 puppypc1545 kern.debug kernel: ath: Regpair used: 0x37
Nov 28 18:57:08 puppypc1545 kern.debug kernel: ath: regdomain 0x833a dynamically updated by country element
Nov 28 18:58:00 localhost vmunix: wlan0: deauthenticating from 34:49:5b:ed:74:2e by local choice (Reason: 3=DEAUTH_LEAVING)
Nov 28 18:58:02 localhost vmunix: wlan0: authenticate with 34:49:5b:ed:74:2e
Nov 28 18:58:02 puppypc1545 kern.info kernel: wlan0: send auth to 34:49:5b:ed:74:2e (try 1/3)
Nov 28 18:58:02 puppypc1545 kern.info kernel: wlan0: authenticated
Nov 28 18:58:02 puppypc1545 kern.info kernel: wlan0: associate with 34:49:5b:ed:74:2e (try 1/3)
Nov 28 18:58:02 localhost vmunix: wlan0: RX AssocResp from 34:49:5b:ed:74:2e (capab=0x431 status=0 aid=2)
Nov 28 18:58:02 localhost vmunix: wlan0: associated
Nov 28 18:58:43 localhost vmunix: wlan0: deauthenticating from 34:49:5b:ed:74:2e by local choice (Reason: 3=DEAUTH_LEAVING)
The only way to reconnect is to reboot.
This is driving me up the f'ing wall.
I wondered if it could be bios-related (maybe the coincell needs replacing & the wifi is getting switched off?) -- but then I'm not seeing any bios errors on a cold or warm boot.
hlep/