Wifi: device is not ready – WPDMA TX/RX busy – Ralink RT3090 in Debian

After install new kernel – 4.18.0-2-amd64, my computer’s startup is very slow and I can’t use my RT3090.

Of course, I had installed firmware-misc-nonfree and firmware-ralink (accoring this site, my wifi card should work well with it.

I insert:

dmesg output

lspci output

03:00.0 Network controller: Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe     Subsystem: Lite-On Communications Inc RT3090 Wireless 802.11n 1T/1R PCIe     Flags: bus master, fast devsel, latency 0, IRQ 17     Memory at fbff0000 (32-bit, non-prefetchable) [size=64K]     Capabilities: [40] Power Management version 3     Capabilities: [50] MSI: Enable- Count=1/32 Maskable- 64bit+     Capabilities: [70] Express Endpoint, MSI 00     Capabilities: [100] Advanced Error Reporting     Capabilities: [140] Device Serial Number 00-00-86-7f-8c-a1-f1-70     Kernel driver in use: rt2800pci     Kernel modules: rt2800pci 

I try reinstall firmware-ralink and ignore IPv6 in network settings and it still not work.

Btrfs check repair give device busy. How to see what it keeps busy?

I am in a chicken-egg situation for my secondary harddrive (non boot):

  • My BTRFS mount has gone readonly because no space left.
  • btrfs filesystem resize only works on mounted volumes.
  • I needed to umount this ro mount in force mode (because of device busy).
  • If I try to mount rw it fails because of errors (most likely caused by no space left)
  • If I try to run btrfs check --repair it gives device busy

What to do to find out what keeps /dev/sda busy? My hdd is listed in /etc/fstab, does that matter (UUID=262a8d86-279a-4f6b-8968-32e200c32255 /mnt/hdd btrfs defaults,compress=zlib 0 1)???

I tried:

  • lsof | grep /dev/s -> nothing
  • lsof | grep /mnt/hdd-> nothing
  • The same for fuser -> nothing

So:

mount -o recovery /dev/sda /mnt/hdd

[63035.539792] BTRFS error (device sda): Remounting read-write after error is not allowed

If I try to run:

root@myhost:/mnt# btrfs check --repair /dev/sda enabling repair mode ERROR: cannot open device '/dev/sda': Device or resource busy ERROR: cannot open file system