public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: "Tobias S. Predel" <tobias.predel@gmail.com>
To: linux-wireless@vger.kernel.org
Subject: rtw88: BUG: scheduling while atomic: kworker/u16:0/33416/0x00000002
Date: Tue, 21 Apr 2020 23:15:52 +0200	[thread overview]
Message-ID: <20200421211552.GA36171@t2b3> (raw)

Hi,

I'm using linux-next 20200421 on Arch Linux 
with rtw88 for 

$ lspci -k

Subsystem: Hewlett-Packard Company Realtek RTL8822BE 802.11ac 2 × 2 Wi-Fi + Bluetooth 4.2 Combo Adapter (MU-MIMO supported)
	Kernel driver in use: rtw_pci
	Kernel modules: rtwpci

and

$ ethtool -i wlp2s0

driver: rtw_pci
version: 5.7.0-rc2-next-20200421-1-next-
firmware-version: N/A
expansion-rom-version:
bus-info: 0000:02:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

and I'm experiencing this

$ dmesg

[26628.497854] rtw_pci 0000:02:00.0: firmware failed to restore hardware setting
[26663.488394] rtw_pci 0000:02:00.0: firmware failed to restore hardware setting
[26973.646044] rtw_pci 0000:02:00.0: firmware failed to restore hardware setting
[26981.542221] rtw_pci 0000:02:00.0: firmware failed to restore hardware setting
[27047.668256] rtw_pci 0000:02:00.0: firmware failed to restore hardware setting
[27095.665971] rtw_pci 0000:02:00.0: firmware failed to restore hardware setting
[27131.504263] rtw_pci 0000:02:00.0: firmware failed to restore hardware setting

[and a lot more of this messages]

and following non-fatal bug

[28125.482259] BUG: scheduling while atomic: kworker/u16:0/33416/0x00000002
[28125.482266] Modules linked in: nfnetlink xt_conntrack xt_tcpudp wireguard curve25519_x86_64 libchacha20poly1305 chacha_x86_64 poly1305_x86_64 libblake2s blake2s_x86_64 ip6_udp_tunnel udp_tunnel libcurve25519_generic libchacha libblake2s_generic iptable_security iptable_raw iptable_mangle iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c dm_crypt dm_mod rfcomm fuse 8021q garp mrp stp llc ccm ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter cmac algif_hash algif_skcipher af_alg snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_codec_generic ledtrig_audio bnep x86_pkg_temp_thermal btusb intel_powerclamp joydev btrtl btbcm btintel coretemp mousedev kvm_intel bluetooth uas kvm hid_multitouch usb_storage ecdh_generic iTCO_wdt uvcvideo ecc mei_hdcp hid_generic iTCO_vendor_support hp_wmi videobuf2_vmalloc irqbypass intel_rapl_msr usbhid sparse_keymap wmi_bmof snd_soc_skl videobuf2_memops videobuf2_v4l2 videobuf2_common crct10dif_pclmul videodev
[28125.482336]  snd_soc_sst_ipc crc32_pclmul snd_soc_sst_dsp ghash_clmulni_intel snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi mc aesni_intel snd_soc_core crypto_simd snd_compress ac97_bus rtwpci cryptd snd_pcm_dmaengine glue_helper nls_iso8859_1 rtw88 snd_hda_intel intel_cstate nls_cp437 snd_intel_dspcfg intel_uncore vfat mac80211 fat i915 snd_hda_codec intel_rapl_perf snd_hda_core snd_hwdep snd_pcm snd_timer pcspkr psmouse snd input_leds i2c_i801 cfg80211 soundcore r8169 realtek i2c_algo_bit rfkill libarc4 libphy drm_kms_helper mei_me cec mei rc_core intel_lpss_pci intel_lpss intel_gtt idma64 syscopyarea sysfillrect processor_thermal_device intel_xhci_usb_role_switch intel_pch_thermal sysimgblt roles intel_rapl_common fb_sys_fops intel_soc_dts_iosf i2c_hid tpm_crb wmi battery hid tpm_tis tpm_tis_core tpm int3400_thermal hp_accel int3403_thermal int340x_thermal_zone acpi_thermal_rel lis3lv02d hp_wireless evdev rng_core ac mac_hid drm crypto_user agpgart ip_tables x_tables ext4
[28125.482418]  crc32c_generic crc16 mbcache jbd2 rtsx_pci_sdmmc mmc_core serio_raw atkbd libps2 xhci_pci crc32c_intel xhci_hcd rtsx_pci i8042 serio
[28125.482436] Preemption disabled at:
[28125.482443] [<0000000000000000>] 0x0
[28125.482452] CPU: 5 PID: 33416 Comm: kworker/u16:0 Tainted: G        W         5.7.0-rc2-next-20200421-1-next-git #1
[28125.482456] Hardware name: HP HP ProBook 430 G5/8377, BIOS Q85 Ver. 01.09.01 10/15/2019
[28125.482477] Workqueue: phy0 rtw_watch_dog_work [rtw88]
[28125.482481] Call Trace:
[28125.482495]  dump_stack+0x66/0x90
[28125.482505]  __schedule_bug.cold+0x8e/0x9b
[28125.482512]  __schedule+0x686/0x7b0
[28125.482520]  ? _raw_spin_unlock_irqrestore+0x20/0x40
[28125.482525]  schedule+0x46/0xf0
[28125.482531]  schedule_hrtimeout_range_clock+0xa5/0x120
[28125.482540]  ? hrtimer_init_sleeper+0xa0/0xa0
[28125.482546]  usleep_range+0x67/0x90
[28125.482568]  rtw_fw_send_h2c_command+0xe0/0x1a0 [rtw88]
[28125.482590]  rtw_fw_set_pwr_mode+0x95/0xb0 [rtw88]
[28125.482610]  rtw_enter_lps+0xa1/0x100 [rtw88]
[28125.482625]  rtw_watch_dog_work+0x21c/0x230 [rtw88]
[28125.482635]  process_one_work+0x1da/0x3d0
[28125.482643]  worker_thread+0x4a/0x3d0
[28125.482651]  kthread+0x122/0x160
[28125.482658]  ? process_one_work+0x3d0/0x3d0
[28125.482663]  ? kthread_park+0x90/0x90
[28125.482670]  ret_from_fork+0x1f/0x40
[28169.561821] rtw_pci 0000:02:00.0: firmware failed to restore hardware setting
[28231.427898] rtw_pci 0000:02:00.0: firmware failed to restore hardware setting
[28299.480530] rtw_pci 0000:02:00.0: firmware failed to restore hardware setting

Maybe that's interesting for you.

Kind regards,
Tobias Predel
-- 
Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken.

             reply	other threads:[~2020-04-21 21:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-21 21:15 Tobias S. Predel [this message]
2020-04-21 22:56 ` rtw88: BUG: scheduling while atomic: kworker/u16:0/33416/0x00000002 Brian Norris
2020-04-22  2:21   ` Tony Chuang
2020-04-22 16:48     ` Kai-Heng Feng
2020-04-22 19:25       ` Tobias S. Predel
2020-04-22 20:57         ` Tobias S. Predel
2020-04-22 22:55           ` Tobias S. Predel
2020-04-23  5:43             ` Kai-Heng Feng
2020-04-23  9:03               ` Tobias S. Predel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200421211552.GA36171@t2b3 \
    --to=tobias.predel@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox