Open danifunker opened 4 months ago
are you getting crashes?
Yes, (I’m also on reddit) but I’m not sure if it was my video card driver that was causing the issue. Apparently the driver was ~3 years old. I’ll try it out again later today
I just realized I'm getting a bunch of kernel messages now, ~2gb in logs per hour.
Jul 18 08:43:47 danihtpc kernel: [ 266.037141] BUG: workqueue leaked lock or atomic: kworker/17:2/0x7fffffff/549
Jul 18 08:43:47 danihtpc kernel: [ 266.037141] last function: sys_work_func [gc573]
Jul 18 08:43:47 danihtpc kernel: [ 266.037171] CPU: 17 PID: 549 Comm: kworker/17:2 Tainted: P W OE 6.5.0-44-generic #44~22.04.1-Ubuntu
Jul 18 08:43:47 danihtpc kernel: [ 266.037172] Hardware name: ASRock Z790M PG Lightning/D4/Z790M PG Lightning/D4, BIOS 11.05 06/13/2024
Jul 18 08:43:47 danihtpc kernel: [ 266.037174] Workqueue: gc573 sys_work_func [gc573]
Jul 18 08:43:47 danihtpc kernel: [ 266.037188] Call Trace:
Jul 18 08:43:47 danihtpc kernel: [ 266.037189] <TASK>
Jul 18 08:43:47 danihtpc kernel: [ 266.037192] dump_stack_lvl+0x48/0x70
Jul 18 08:43:47 danihtpc kernel: [ 266.037199] dump_stack+0x10/0x20
Jul 18 08:43:47 danihtpc kernel: [ 266.037201] process_one_work+0x3fa/0x450
Jul 18 08:43:47 danihtpc kernel: [ 266.037204] worker_thread+0x50/0x3f0
Jul 18 08:43:47 danihtpc kernel: [ 266.037205] ? __pfx_worker_thread+0x10/0x10
Jul 18 08:43:47 danihtpc kernel: [ 266.037207] kthread+0xef/0x120
Jul 18 08:43:47 danihtpc kernel: [ 266.037210] ? __pfx_kthread+0x10/0x10
Jul 18 08:43:47 danihtpc kernel: [ 266.037212] ret_from_fork+0x44/0x70
Jul 18 08:43:47 danihtpc kernel: [ 266.037215] ? __pfx_kthread+0x10/0x10
Jul 18 08:43:47 danihtpc kernel: [ 266.037217] ret_from_fork_asm+0x1b/0x30
Jul 18 08:43:47 danihtpc kernel: [ 266.037219] </TASK>
Jul 18 08:43:47 danihtpc kernel: [ 266.037220] BUG: scheduling while atomic: kworker/17:2/549/0x00000000
Jul 18 08:43:47 danihtpc kernel: [ 266.037224] Modules linked in: rfcomm nvidia_uvm(PO) cmac algif_hash algif_skcipher af_alg bnep nvidia_drm(PO) intel_rapl_msr intel_rapl_common nvidia_modeset(PO) intel_uncore_frequency intel_uncore_frequency_common binfmt_misc nls_iso8859_1 snd_sof_pci_intel_tgl snd_sof_intel_hda_common nvidia(PO) soundwire_intel snd_sof_intel_hda_mlink soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core x86_pkg_temp_thermal snd_soc_acpi_intel_match intel_powerclamp snd_soc_acpi soundwire_generic_allocation snd_hda_codec_realtek soundwire_bus snd_hda_codec_generic snd_soc_core coretemp ledtrig_audio snd_compress snd_hda_codec_hdmi ac97_bus kvm_intel snd_pcm_dmaengine snd_hda_intel gc573(OE) btusb snd_intel_dspcfg btrtl snd_intel_sdw_acpi videobuf2_dma_contig kvm uvcvideo btbcm snd_usb_audio videobuf2_dma_sg snd_hda_codec videobuf2_vmalloc btintel uvc irqbypass btmtk videobuf2_memops mei_pxp mei_hdcp videobuf2_v4l2 snd_hda_core snd_usbmidi_lib crct10dif_pclmul
Jul 18 08:43:47 danihtpc kernel: [ 266.037269] bluetooth polyval_clmulni snd_ump polyval_generic snd_seq_midi videodev ghash_clmulni_intel snd_hwdep snd_seq_midi_event sha256_ssse3 videobuf2_common sha1_ssse3 ecdh_generic input_leds snd_pcm mc joydev ecc snd_rawmidi aesni_intel crypto_simd cryptd snd_seq cmdlinepart spi_nor rapl snd_seq_device intel_cstate wmi_bmof snd_timer mtd ee1004 cxadc(OE) mei_me snd drm_kms_helper mei soundcore acpi_pad acpi_tad mac_hid sch_fq_codel msr parport_pc ppdev drm lp parport efi_pstore ip_tables x_tables autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_generic usbhid hid nvme crc32_pclmul e1000e spi_intel_pci intel_lpss_pci nvme_core ahci i2c_i801 spi_intel intel_lpss i2c_smbus xhci_pci libahci idma64 nvme_common xhci_pci_renesas video wmi
Jul 18 08:43:47 danihtpc kernel: [ 266.037324] CPU: 17 PID: 549 Comm: kworker/17:2 Tainted: P W OE 6.5.0-44-generic #44~22.04.1-Ubuntu
Jul 18 08:43:47 danihtpc kernel: [ 266.037325] Hardware name: ASRock Z790M PG Lightning/D4/Z790M PG Lightning/D4, BIOS 11.05 06/13/2024
Jul 18 08:43:47 danihtpc kernel: [ 266.037326] Workqueue: 0x0 (gc573)
Jul 18 08:43:47 danihtpc kernel: [ 266.037375] Call Trace:
Jul 18 08:43:47 danihtpc kernel: [ 266.037376] <TASK>
Jul 18 08:43:47 danihtpc kernel: [ 266.037376] dump_stack_lvl+0x48/0x70
Jul 18 08:43:47 danihtpc kernel: [ 266.037379] dump_stack+0x10/0x20
Jul 18 08:43:47 danihtpc kernel: [ 266.037381] __schedule_bug+0x64/0x80
Jul 18 08:43:47 danihtpc kernel: [ 266.037385] __schedule+0x606/0x750
Jul 18 08:43:47 danihtpc kernel: [ 266.037388] ? show_stack+0x58/0x70
Jul 18 08:43:47 danihtpc kernel: [ 266.037391] schedule+0x63/0x110
Jul 18 08:43:47 danihtpc kernel: [ 266.037392] worker_thread+0xbc/0x3f0
Jul 18 08:43:47 danihtpc kernel: [ 266.037394] ? __pfx_worker_thread+0x10/0x10
Jul 18 08:43:47 danihtpc kernel: [ 266.037396] kthread+0xef/0x120
Jul 18 08:43:47 danihtpc kernel: [ 266.037398] ? __pfx_kthread+0x10/0x10
Jul 18 08:43:47 danihtpc kernel: [ 266.037400] ret_from_fork+0x44/0x70
Jul 18 08:43:47 danihtpc kernel: [ 266.037402] ? __pfx_kthread+0x10/0x10
Jul 18 08:43:47 danihtpc kernel: [ 266.037404] ret_from_fork_asm+0x1b/0x30
Jul 18 08:43:47 danihtpc kernel: [ 266.037405] </TASK>
I'm going to disable the driver now to save my sanity.
Same here, i tried this branch and this one but i cannot even boot to ubuntu because of the constant 'scheduling while atomic' & 'workqueue leaked lock or atomic' errors. both build and install but the errors just keep going. i once made it work in arch as well but that was 3 years ago and i had the same errors. unless there is a C developer that knows about kernel development and drivers we wont really get far.
Mostly opening this issue up for awareness, I was able to resolve the issue though.
I was getting unknown symbol errors when trying to run the insmod.sh script.
I was missing the linux-modules-extra- package for my kernel.
Running this command (on ubuntu 22.04.04) allowed the installer to complete successfully.
sudo apt install linux-modules-extra-$(uname -r)
Not sure if you want to put this onto the readme file. For reference, my kernel version is 6.5.0-41-generic