Quantcast
Channel: Active questions tagged linux-kernel - Stack Overflow
Viewing all 12279 articles
Browse latest View live

Puppeteer sandbox : No usable sandbox

$
0
0

I installed Puppeteer to use it in the generation of pdf / minuatures, but I can not activate and configure Chrome Linux Sandbox. Always the same error message :

(node:46) UnhandledPromiseRejectionWarning: Error: Failed to launch chrome! [1208/055442.253403:FATAL:zygote_host_impl_linux.cc(116)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.

I followed the steps mentioned in the official documentation, but without success

# cd to the downloaded instance
cd <project-dir-path>/node_modules/puppeteer/.local-chromium/linux-<revision>/chrome-linux/
sudo chown root:root chrome_sandbox
sudo chmod 4755 chrome_sandbox
# copy sandbox executable to a shared location
sudo cp -p chrome_sandbox /usr/local/sbin/chrome-devel-sandbox
# export CHROME_DEVEL_SANDBOX env variable
export CHROME_DEVEL_SANDBOX=/usr/local/sbin/chrome-devel-sandbox

How to trace a fix process’s wakeup latency?

$
0
0

I want to use ftrace to trace a fix process’s wakeup latency. But, ftrace will only record the max latency. And, set_ftrace_pid is useless.

Does anybody know how to do that?

Thank you very much.

debugging swap usage problems in linux

$
0
0

I'm trying to figure out why my computer is freezing. simple and reproducible for me: baloo_file starts at priority 39 and niceness 19, memory gets filled up to 6.65G/6.83G, and then I see swap at 118M and load avaerage 35 28 14 with 1 thread running and all cpu-cores below 3%. mouse and keyboard react with a delay of several minutes, and this goes on for several hours with occasional pauses, sometimes for more than 24 hours till the balooctl suspend command gets obeyed. this problem is well-known and the reason people disable baloo in the first place. however, I'd like to find out why that happens. the data I memtioned is from htop. htop shows 3 processes for baloo_* each with VIRT=261G, RES=5295M, mem%=75.7 and 2 of them marked with status D.

is there a way to make the kernel obey the nice settings regardless of swap usage? maybe I should write a program to clog up more swap space so that baloo uses a different part of my hdd for swapping? are there other command-line tools for getting insight into the freeze, beyond what htop can do? is there a hdd-checking tool for swap-space to test the time disk needs for read/write? I remember in windows I had similar problems as soon as swap is used, some decades ago. has there been any progress to make swap more useful? are there any kernel-settings for my hdd to be more responsive during swap-usage?

ground-rules: I am not asking about baloo nor kde specifically, that's just an example for a program that does require swap-space, sometimes even up to 11G, while being on high nice setting. nor am I interested in hardware solutions like "buy more memory". instead I want solutions I could suggest to users of programs I write if they run into similar problems. suggestions on how to patch baloo are welcome though, but of course it's difficult to make a database-access sequentially...

how to change kernel optimization level?

$
0
0

I use kgdb for kernel debugging and I have a problem with printing values.

I wanted to get information about parameters of function. (ex (gdb) p *page) But all I got was optimized out

I found that it happens due to compiler optimization. And they says changing kernel optimization level to Og would help.

But I don't know how to change it.

I changed toplevel Makefile like below.

703 ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
704 KBUILD_CFLAGS   += -Os
705 else
706 KBUILD_CFLAGS   += -Og                                                                                                                                                                                          
707 endif

But, I got error during make.

scripts/Makefile.build:497: recipe for target 'fs/cifs' failed

MCR and MRC does not exist on AARCH64?

$
0
0

I am trying to compile "mrc" and "mcr" instruction on AARCH64 based on Board but I am seeing below error message

   tmp/ccqOHmrK.s: Assembler messages:
  /tmp/ccqOHmrK.s:43: Error: unknown mnemonic `mrc' -- `mrc p15,0,x0,c14,c3,1'
  /tmp/ccqOHmrK.s:53: Error: unknown mnemonic `mrc' -- `mrc p15,0,x2,c14,c3,0'

I tried looking into the kernel source /arch/arm64 but no where mcr&&mrc has been used without emulation.

Is it some syntax issue?

kernel NULL pointer dereference after wake_up_interruptible

$
0
0

I'm trying to apply some examples of LDD3 book. but my module crash when i write to the device the caller process is killed, the crash is caused from wake_up_interruptible call. I'm using kernel 5.3.0-42-generic.
the whole code: https://pastebin.com/aDiGDQTa
here is the code:

ssize_t device_write(struct file* fd, const char __user* buf, size_t size,
    loff_t* offset)
{
    printk(KERN_INFO "MyLinuxModule: device is being written to, fd=%X.\n", fd);
    struct device_info mydevice = charDevices[MINOR(fd->f_inode->i_rdev)];
    if (*offset > DEVICE_BLOCK_SIZE) // reached Max size
    {
        return 0;
    }
    int true_len = min(size, DEVICE_BLOCK_SIZE - *offset);
    if (mutex_lock_interruptible(&mydevice.my_mutex))
        return -ERESTARTSYS;
    copy_from_user(mydevice.data, buf, true_len);
    mydevice.max_data_avaliable += true_len;
    mutex_unlock(&mydevice.my_mutex);
    printk(KERN_INFO "MyLinuxModule: my_queue=%X.\n", &mydevice.my_queue);
    wake_up_interruptible(&mydevice.my_queue);
    *offset += true_len;
    return true_len;
}
int setup_cdevice(int index)
{
    char* device_message = "Hello from the other side\n";
    // initiate the cdev struct
    cdev_init(&charDevices[index].chardev, &myfops);
    // initiate the data
    charDevices[index].data = kmalloc(DEVICE_BLOCK_SIZE, GFP_KERNEL);
    memcpy(charDevices[index].data, device_message, strlen(device_message));
    // initiate the semaphore & queue
    mutex_init(&charDevices[index].my_mutex);
    init_waitqueue_head(&charDevices[index].my_queue);
    charDevices[index].max_data_avaliable = 0;
    int err = cdev_add(&charDevices[index].chardev,
        MKDEV(MAJOR(majMin), MINOR(majMin) + index), numOfDevices);
    if (err) {
        printk(KERN_INFO "MyLinuxModule: cdev_add Error : %X\n", err);
        return -1;
    }
    return 0;
}

[ 8952.921117] BUG: kernel NULL pointer dereference, address: 0000000000000000
[ 8952.921119] #PF: supervisor instruction fetch in kernel mode
[ 8952.921120] #PF: error_code(0x0010) - not-present page
[ 8952.921121] PGD 0 P4D 0 
[ 8952.921123] Oops: 0010 [#7] SMP PTI
[ 8952.921137] CPU: 3 PID: 14892 Comm: main Tainted: G      D    OE     5.3.0-42-generic #34~18.04.1-Ubuntu

Yocto build and integration, getting error "ERROR: oe_runmake failed"

$
0
0

I am new in yocto build and integration. Why am I getting getting error "ERROR: oe_runmake failed"

bitbake core-image-minimal
    WARNING: Host distribution "Ubuntu-18.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
    Loading cache: 100% |#########################################################################################################| ETA:  00:00:00
    Loaded 1222 entries from dependency cache.
    NOTE: Resolving any missing task queue dependencies

    Build Configuration:
    BB_VERSION        = "1.22.0"
    BUILD_SYS         = "x86_64-linux"
    NATIVELSBSTRING   = "Ubuntu-18.04"
    TARGET_SYS        = "arm-poky-linux-gnueabi"
    MACHINE           = "beaglebone"
    DISTRO            = "poky"
    DISTRO_VERSION    = "1.6.3"
    TUNE_FEATURES     = "armv7a vfp neon callconvention-hard cortexa8"
    TARGET_FPU        = "vfp-neon"
    meta              
    meta-yocto        
    meta-yocto-bsp    = "daisy:6717d19848cf6211e7d791078bb18a87dd39d191"

    NOTE: Preparing runqueue
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    ERROR: Function failed: do_compile (log file is located at /home/rajaya/Linuxlearning/project/yocto/poky/build/tmp/work/x86_64-linux/automake-native/1.14-r0/temp/log.do_compile.3292)
    ERROR: Logfile of failure stored in: /home/rajaya/Linuxlearning/project/yocto/poky/build/tmp/work/x86_64-linux/automake-native/1.14-r0/temp/log.do_compile.3292
    Log data follows:
    | DEBUG: Executing shell function do_compile
    | NOTE: make -j 2
    | : && /bin/mkdir -p doc && { PATH='/home/rajaya/Linuxlearning/project/yocto/poky/build/tmp/work/x86_64-linux/automake-native/1.14-r0/build/t/wrap':$PATH && export PATH; } && /usr/bin/perl /home/rajaya/Linuxlearning/project/yocto/poky/build/tmp/work/x86_64-linux/automake-native/1.14-r0/automake-1.14/doc/help2man --output=doc/automake-1.14.1 automake-1.14
    | help2man: can't get `--help' info from automake-1.14
    | Try `--no-discard-stderr' if option outputs to stderr
    | Makefile:3707: recipe for target 'doc/automake-1.14.1' failed
    | make: *** [doc/automake-1.14.1] Error 255
    | ERROR: oe_runmake failed
    | WARNING: /home/rajaya/Linuxlearning/project/yocto/poky/build/tmp/work/x86_64-linux/automake-native/1.14-r0/temp/run.do_compile.3292:1 exit 1 from
    |   exit 1
    | ERROR: Function failed: do_compile (log file is located at /home/rajaya/Linuxlearning/project/yocto/poky/build/tmp/work/x86_64-linux/automake-native/1.14-r0/temp/log.do_compile.3292)
    ERROR: Task 309 (virtual:native:/home/rajaya/Linuxlearning/project/yocto/poky/meta/recipes-devtools/automake/automake_1.14.bb, do_compile) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 53 tasks of which 49 didn't need to be rerun and 1 failed.
    Waiting for 0 running tasks to finish:

    Summary: 1 task failed:
      virtual:native:/home/rajaya/Linuxlearning/project/yocto/poky/meta/recipes-devtools/automake/automake_1.14.bb, do_compile
    Summary: There was 1 WARNING message shown.
    Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Compile the Linux kernel for asus tf700 [closed]

$
0
0

I hardly shave anything in operating systems and have never assembled a kernel before. Can someone paint step by step how to do this on windows 10 for asus tf700? https://github.com/rabits/tf700 the instruction is written here, but I don’t understand anything. I just want to install on my asus (there is a recovery, but I thought I didn’t need a boot: I have nothing but recovery on the tablet)


Linux kernel module read from process VMA

$
0
0

I'm trying to build a small demonstration kernel module for Linux which finds a specific process and reads a value from that process' memory.

I have put together the following code:

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/printk.h>
#include <linux/init.h>
#include <linux/highmem.h>
#include <asm/uaccess.h>

static void read_process_memory(struct task_struct *task) {
    char buf[1024];
    unsigned long size;
    unsigned long ret;
    void __user *addr;
    struct mm_struct *mm = get_task_mm(task);
    struct vm_area_struct *vma;

    if (!mm) {
        // Abort
        return;
    }

    // Lock for reading
    down_read(&mm->mmap_sem);

    vma = mm->mmap;
    memset(buf, 0, 1024);

    // Make sure read is enabled for this region
    if (vma && vma->vm_flags & VM_MAYWRITE) {

        // Read without overflowing
        size = vma->vm_end - vma->vm_start;
        if (size > 1023) {
            size = 1023;
        }

        // Attempt to get the data from the start of the vma
        addr = (void __user *)vma->vm_start;

        if (access_ok(VERIFY_READ, addr, size)) {
            ret = copy_from_user(buf, addr, size);

            if (ret == 0) {
                // Probably doesn't contain anything relevent
                printk(KERN_ALERT "mymodule: Read '%s'\n", buf);
            } else {
                printk(KERN_ALERT "mymodule: Failed to copy %lu bytes from userspace\n", ret);
            }
        } else {
            printk(KERN_ALERT "mymodule: access_ok check failed\n");
        }

        // Release the lock
        up_read(&mm->mmap_sem);
        mmput(mm);
    }
}

static int __init mymodule_init(void) {
    struct task_struct *task;
    bool found = false;

    printk(KERN_ALERT "mymodule: Starting\n");

    // Find the process
    rcu_read_lock();

    for_each_process(task) {
        if (strcmp(task->comm, "example-process") == 0) {
            printk(KERN_ALERT "mymodule: Found pid %d for process %s\n", task->pid, task->comm);
            found = true;
            break;
        }
    }

    rcu_read_unlock();

    if (!found) {
        printk(KERN_ALERT "mymodule: Process not found, aborting\n");
        return -1;
    }

    read_process_memory(task);

    return 0;
}

static void __exit mymodule_exit(void) {
    printk(KERN_ALERT "mymodule: Stopped\n");
}

module_init(mymodule_init);
module_exit(mymodule_exit);

MODULE_LICENSE("GPL");
MODULE_AUTHOR("user");

Everything works fine until the copy_from_user call, which returns a non-zero count (actually, it returns size, meaning it didn't ready any data), regardless of the process and vma I try to read from.

Is there a misunderstanding on my part, or anything I'm doing wrong?

How do I get a Linux kernel binary file?

$
0
0

I have downloaded the latest kernel from kernel.org . What I want is to compile it to get the executable file. I need the file to run some commands on it (like strings) to figure what how to identify the linux kernel from its binary file. All the tutorials on the internet are for upgrading/changing the kernel but I only want the binary file.

"apt-get install linux-headers-generic" installed in directory different than $(uname-r)

$
0
0

I am a newbie on Linux kernel. I was trying to install Linux header on ubuntu. I first tried

sudo apt-get install linux-headers-$(uname -r)

However, since the output of $(uname -r) is 4.4.0-18362-Microsoft, the installation gives me the error:

E: Unable to locate package linux-headers-4.4.0-18362-Microsoft                                                         
E: Couldn't find any package by glob 'linux-headers-4.4.0-18362-Microsoft'                                              
E: Couldn't find any package by regex 'linux-headers-4.4.0-18362-Microsoft'

By searching on the internet, I found that linux headers do not exist on WSL. Therefore I tried something that is recommended on the internet, by doing

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install linux-generic
sudo apt-get install linux-headers-generic

Then I got a successful installation under /usr/src/linux-headers-4.15.0-51-generic and /usr/src/linux-headers-4.15.0-51. However, my team uses a makefile where the directory of the Linux headers is referred to using $(uname -r), which is still 4.4.0-18362-Microsoft. So whenever I do make, it still gives me the error

can't read /usr/src/linux-headers-4.4.0-18362-Microsoft/...

Is there anyway I can install the headers or change $(uname -r) such that I can use $(uname -r) to refer to the directory?

Is it possible to add QoS class, qdisc, filter in the kernel without using TC? [closed]

$
0
0

I want to add QoS rule. Without TC.

not usespace, I want to write in kernel.

class, qdisc, filter rule

Any advice would be appreciated.

AMD VEGA64 crash on kernel > 4.15

$
0
0

So while trying to run Kernel 4.19.39, 5.0.13 and 5.1 they freeze seconds after starting Steam or Overwatch (BattleNet client). Currently running 4.15 which runs just fine and stable.

I have done the following:

  • GRUB_CMDLINE_LINUX_DEFAULT="splash idle=nomwait"
  • the typical power supply option
  • Updated BIOS (from AGESA 1.0.0.4 to 1.0.0.6)
  • Updated OS (Ubuntu 18.04)

Hardware

AMD Ryzen 7 2700X Wraith Boxed
Asus Vega 64 Strix    
Gigabyte X470 AORUS ULTRA GAMING (AGESA 1.0.0.6)
G.Skill Ripjaws V 16GB DDR4 3200MHz (4 x 16GB)
Corsair CX850M 850W ATX power supply unit

screenfetch -n

OS: Ubuntu 18.04 bionic
 Kernel: x86_64 Linux 4.15.0-48-generic
 Uptime: 1h 29m
 Packages: 3497
 Shell: bash 4.4.19
 Resolution: 3840x2160
 DE: GNOME 
 WM: GNOME Shell
 WM Theme: Adwaita
 GTK Theme: Ambiance [GTK2/3]
 Icon Theme: ubuntu-mono-dark
 Font: Ubuntu 11
 CPU: AMD Ryzen 7 2700X Eight-Core @ 16x 3.7GHz [36.3°C]
 GPU: Radeon RX Vega (VEGA10, DRM 3.23.0, 4.15.0-48-generic, LLVM 9.0.0)
 RAM: 6208MiB / 64432MiB

Drivers + additional info

~$ glxinfo | grep "OpenGL version"
OpenGL version string: 4.5 (Compatibility Profile) Mesa 19.2.0-devel - padoka PPA

~$ cat /etc/apt/sources.list.d/paulo-miguel-dias-ubuntu-mesa-bionic.list
deb http://ppa.launchpad.net/paulo-miguel-dias/mesa/ubuntu bionic main
# deb-src http://ppa.launchpad.net/paulo-miguel-dias/mesa/ubuntu bionic main

~$ sudo lspci -v | grep -i vga -A 10
0c:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XT [Radeon RX Vega 64] (rev c1) (prog-if 00 [VGA controller])
    Subsystem: ASUSTeK Computer Inc. Vega 10 XT [Radeon RX Vega 64]
    Flags: bus master, fast devsel, latency 0, IRQ 114
    Memory at e0000000 (64-bit, prefetchable) [size=256M]
    Memory at f0000000 (64-bit, prefetchable) [size=2M]
    I/O ports at e000 [size=256]
    Memory at fcc00000 (32-bit, non-prefetchable) [size=512K]
    Expansion ROM at 000c0000 [disabled] [size=128K]
    Capabilities: [48] Vendor Specific Information: Len=08 <?>
    Capabilities: [50] Power Management version 3
    Capabilities: 

    ...

~$ apt show libdrm-amdgpu1 -a
Package: libdrm-amdgpu1
Version: 2.4.98+git1905192304.922d929~b~padoka0
Priority: optional
Section: libs
Source: libdrm
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Installed-Size: 76,8 kB
Depends: libc6 (>= 2.17), libdrm2 (>= 2.4.82)
Download-Size: 26,9 kB
APT-Manual-Installed: yes
APT-Sources: http://ppa.launchpad.net/paulo-miguel-dias/mesa/ubuntu bionic/main amd64 Packages
Description: Userspace interface to amdgpu-specific kernel DRM services -- runtime
 This library implements the userspace interface to the kernel DRM
 services.  DRM stands for "Direct Rendering Manager", which is the
 kernelspace portion of the "Direct Rendering Infrastructure" (DRI).
 The DRI is currently used on Linux to provide hardware-accelerated

I've found the following in the kernel logs while testing with Kernel 5.1

May 22 18:46:31 [HOST] kernel: [  256.354386] amdgpu 0000:0c:00.0: [gfxhub] no-retry page fault (src_id:0 ring:158 vmid:5 pasid:32780, for process Battle.net.exe pid 10384 thread Battle.net:cs0 pid 10575)
May 22 18:46:31 [HOST] kernel: [  256.354390] amdgpu 0000:0c:00.0:   in page starting at address 0x0000000000400000 from 27
May 22 18:46:31 [HOST] kernel: [  256.354391] amdgpu 0000:0c:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x0050153D
May 22 18:46:31 [HOST] kernel: [  256.354395] amdgpu 0000:0c:00.0: [gfxhub] no-retry page fault (src_id:0 ring:158 vmid:5 pasid:32780, for process Battle.net.exe pid 10384 thread Battle.net:cs0 pid 10575)
May 22 18:46:31 [HOST] kernel: [  256.354397] amdgpu 0000:0c:00.0:   in page starting at address 0x0000000000400000 from 27
May 22 18:46:31 [HOST] kernel: [  256.354398] amdgpu 0000:0c:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
May 22 18:46:31 [HOST] kernel: [  256.354404] amdgpu 0000:0c:00.0: [gfxhub] no-retry page fault (src_id:0 ring:158 vmid:5 pasid:32780, for process Battle.net.exe pid 10384 thread Battle.net:cs0 pid 10575)
May 22 18:46:31 [HOST] kernel: [  256.354405] amdgpu 0000:0c:00.0:   in page starting at address 0x0000000000400000 from 27
May 22 18:46:31 [HOST] kernel: [  256.354407] amdgpu 0000:0c:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
May 22 18:46:31 [HOST] kernel: [  256.354411] amdgpu 0000:0c:00.0: [gfxhub] no-retry page fault (src_id:0 ring:158 vmid:5 pasid:32780, for process Battle.net.exe pid 10384 thread Battle.net:cs0 pid 10575)
May 22 18:46:31 [HOST] kernel: [  256.354412] amdgpu 0000:0c:00.0:   in page starting at address 0x0000000000400000 from 27
May 22 18:46:31 [HOST] kernel: [  256.354413] amdgpu 0000:0c:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
May 22 18:46:31 [HOST] kernel: [  256.354418] amdgpu 0000:0c:00.0: [gfxhub] no-retry page fault (src_id:0 ring:158 vmid:5 pasid:32780, for process Battle.net.exe pid 10384 thread Battle.net:cs0 pid 10575)
May 22 18:46:31 [HOST] kernel: [  256.354419] amdgpu 0000:0c:00.0:   in page starting at address 0x0000000000400000 from 27
May 22 18:46:31 [HOST] kernel: [  256.354420] amdgpu 0000:0c:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
May 22 18:46:31 [HOST] kernel: [  256.354424] amdgpu 0000:0c:00.0: [gfxhub] no-retry page fault (src_id:0 ring:158 vmid:5 pasid:32780, for process Battle.net.exe pid 10384 thread Battle.net:cs0 pid 10575)
May 22 18:46:31 [HOST] kernel: [  256.354426] amdgpu 0000:0c:00.0:   in page starting at address 0x0000000000400000 from 27
May 22 18:46:31 [HOST] kernel: [  256.354427] amdgpu 0000:0c:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
May 22 18:46:31 [HOST] kernel: [  256.354430] amdgpu 0000:0c:00.0: [gfxhub] no-retry page fault (src_id:0 ring:158 vmid:5 pasid:32780, for process Battle.net.exe pid 10384 thread Battle.net:cs0 pid 10575)
May 22 18:46:31 [HOST] kernel: [  256.354432] amdgpu 0000:0c:00.0:   in page starting at address 0x0000000000400000 from 27
May 22 18:46:31 [HOST] kernel: [  256.354433] amdgpu 0000:0c:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
May 22 18:46:31 [HOST] kernel: [  256.354437] amdgpu 0000:0c:00.0: [gfxhub] no-retry page fault (src_id:0 ring:158 vmid:5 pasid:32780, for process Battle.net.exe pid 10384 thread Battle.net:cs0 pid 10575)
May 22 18:46:31 [HOST] kernel: [  256.354438] amdgpu 0000:0c:00.0:   in page starting at address 0x0000000000400000 from 27
May 22 18:46:31 [HOST] kernel: [  256.354439] amdgpu 0000:0c:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
May 22 18:46:31 [HOST] kernel: [  256.354443] amdgpu 0000:0c:00.0: [gfxhub] no-retry page fault (src_id:0 ring:158 vmid:5 pasid:32780, for process Battle.net.exe pid 10384 thread Battle.net:cs0 pid 10575)
May 22 18:46:31 [HOST] kernel: [  256.354444] amdgpu 0000:0c:00.0:   in page starting at address 0x0000000000400000 from 27
May 22 18:46:31 [HOST] kernel: [  256.354445] amdgpu 0000:0c:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
May 22 18:46:31 [HOST] kernel: [  256.354449] amdgpu 0000:0c:00.0: [gfxhub] no-retry page fault (src_id:0 ring:158 vmid:5 pasid:32780, for process Battle.net.exe pid 10384 thread Battle.net:cs0 pid 10575)
May 22 18:46:31 [HOST] kernel: [  256.354450] amdgpu 0000:0c:00.0:   in page starting at address 0x0000000000400000 from 27
May 22 18:46:31 [HOST] kernel: [  256.354451] amdgpu 0000:0c:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
May 22 18:46:41 [HOST] kernel: [  261.469953] [drm:amdgpu_dm_commit_planes.isra.43 [amdgpu]] *ERROR* Waiting for fences timed out.
May 22 18:46:41 [HOST] kernel: [  266.593840] [drm:amdgpu_dm_commit_planes.isra.43 [amdgpu]] *ERROR* Waiting for fences timed out.
May 22 18:46:41 [HOST] kernel: [  266.599848] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, signaled seq=18098, emitted seq=18100
May 22 18:46:41 [HOST] kernel: [  266.599914] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process Battle.net.exe pid 10384 thread Battle.net:cs0 pid 10575
May 22 18:46:41 [HOST] kernel: [  266.599918] amdgpu 0000:0c:00.0: GPU reset begin!
May 22 18:46:47 [HOST] kernel: [  271.709694] [drm:amdgpu_dm_commit_planes.isra.43 [amdgpu]] *ERROR* Waiting for fences timed out.
May 22 18:46:47 [HOST] kernel: [  272.165625] amdgpu 0000:0c:00.0: GPU BACO reset
May 22 18:46:47 [HOST] kernel: [  272.643907] amdgpu 0000:0c:00.0: GPU reset succeeded, trying to resume
May 22 18:46:47 [HOST] kernel: [  272.644035] [drm] PCIE GART of 512M enabled (table at 0x000000F400900000).
May 22 18:46:47 [HOST] kernel: [  272.644126] [drm:amdgpu_device_gpu_recover [amdgpu]] *ERROR* VRAM is lost!
May 22 18:46:47 [HOST] kernel: [  272.644277] [drm] PSP is resuming...
May 22 18:46:47 [HOST] kernel: [  272.790964] [drm] reserve 0x400000 from 0xf400d00000 for PSP TMR SIZE
May 22 18:46:47 [HOST] kernel: [  272.801714] amdgpu: [powerplay] Failed to send message: 0x46, ret value: 0xffffffff
May 22 18:46:47 [HOST] kernel: [  272.801830] amdgpu: [powerplay] Failed to send message: 0x61, ret value: 0xffffffff
May 22 18:46:48 [HOST] kernel: [  273.172332] [drm] UVD and UVD ENC initialized successfully.
May 22 18:46:48 [HOST] kernel: [  273.271995] [drm] VCE initialized successfully.
May 22 18:46:48 [HOST] kernel: [  273.273190] [drm] recover vram bo from shadow start
May 22 18:46:48 [HOST] kernel: [  273.279784] [drm] recover vram bo from shadow done
May 22 18:46:48 [HOST] kernel: [  273.279787] [drm] Skip scheduling IBs!
May 22 18:46:48 [HOST] kernel: [  273.279789] [drm] Skip scheduling IBs!
May 22 18:46:48 [HOST] kernel: [  273.279823] [drm] Skip scheduling IBs!
May 22 18:46:48 [HOST] kernel: [  273.279831] [drm] Skip scheduling IBs!
May 22 18:46:48 [HOST] kernel: [  273.279833] [drm] Skip scheduling IBs!
May 22 18:46:48 [HOST] kernel: [  273.279838] [drm] Skip scheduling IBs!
May 22 18:46:48 [HOST] kernel: [  273.279844] amdgpu 0000:0c:00.0: GPU reset(2) succeeded!
May 22 18:46:48 [HOST] kernel: [  273.279844] [drm] Skip scheduling IBs!
May 22 18:46:48 [HOST] kernel: [  273.279848] [drm] Skip scheduling IBs!
May 22 18:46:48 [HOST] kernel: [  273.279853] [drm] Skip scheduling IBs!
May 22 18:46:48 [HOST] kernel: [  273.279855] [drm] Skip scheduling IBs!

Issue with threads scheduling policy, context switch time and total CPU time for thread. Linux

$
0
0

I have a problem firstly on Java 11 (OpenJdk, Debian).

All I need is just to interrupt a thread after a 20ms deadline. For example like in google GRPC java client library. So, common way to achieve this is to create a ScheduledThreadPoolExecutor and submit a Watchdog task with a delay (20 ms in my case). After that we just need to send the interrupt to the worker thread that is waiting. Of course, watchdog threads should have maximum priority.

The watchdog thread triggers almost exactly after 20ms in case of low system load. And this is expected. But in case of 100% system load by other threads (number of threads is the same as CPU core number or twice as big) ScheduledThreadPoolExecutor.schedule with delay 20 ms can awake sometimes after 25ms or 40 and more milliseconds!

How my single highest priority thread can't get CPU time for more than 40 ms?

I've tried it on my laptop with core i7 6 cores with HT (12 logical) / nix 5.3.0-40-generic #32~18.04.1-Ubuntu SMP

After that I wrote some C++ code to test accuracy for sleep and awake high priority thread and this happens again! The watchdog thread just sleeps for 1 ms (want to check state 1000 times in second). Behaviour is somewhat crazy.

Moreover - at my friend's laptop it works OK with 100+ worker threads showing always under 10 us delay. The program runs under sudo to allow set thread priority.


g++ -pthread -o threads threads.cpp

#include <iostream>
#include <thread>
#include <vector>
#include <algorithm>
#include <chrono>
#include <cstring>
#include <pthread.h>

void watchdog() {

    long i = 9000000000;
    auto last = std::chrono::high_resolution_clock::now();
    int sleep_duration_us = 1000;

    while (i-- > 0) {
        std::this_thread::sleep_for (std::chrono::microseconds(sleep_duration_us));
        auto now = std::chrono::high_resolution_clock::now();

        auto delay = std::chrono::duration_cast<std::chrono::microseconds>(now-last).count() - sleep_duration_us;

        if (i % 100 == 0)
            std::cout << "Awakening delay: "<< delay << " us\n";

        if (delay > 1000)
            std::cerr << "LONG DELAY!!! "<< delay << " us"<< std::endl;

        // if (sleep_time > 1000000) {
        //     std::cout << "\n watchdog fail - "<< sleep_time ;
        // }
        // if (i % 10000000 == 0)
        //     std::cout << "\n watchdog - "<< std::chrono::duration_cast<std::chrono::nanoseconds>(now-last).count() ;
        last = now;
    }
}

int main()
{
    // vector container stores threads
    std::vector<std::thread> workers;
    for (int i = 0; i < 10; i++) {
        auto t = std::thread([]() 
        {
            int i = 0, j = i;
            while (true) {

                if (j % 2 == 0)
                    j /= 2;
                else
                    j = 3 * j + 1;

                if (j == 123456789)
                    std::cout << j << std::endl;
            }
        });

        workers.push_back(std::move(t));
    }

    std::cout << "main thread\n";

    std::thread tw(watchdog);

    sched_param sch;        
    int policy;
    pthread_getschedparam(tw.native_handle(), &policy, &sch);
    std::cout << "default priority "<< sch.sched_priority << std::endl;

    sch.sched_priority = 99;
    if(pthread_setschedparam(tw.native_handle(), SCHED_RR, &sch)) {
        std::cout << "Failed to setschedparam: "<< std::strerror(errno) << '\n';
    }

    pthread_getschedparam(tw.native_handle(), &policy, &sch);
    std::cout << "new priority "<< sch.sched_priority << std::endl;

    std::for_each(workers.begin(), workers.end(), [](std::thread &t)
    {
        std::cout << t.get_id() << "\n";
    });

    std::this_thread::sleep_for(std::chrono::seconds(15));
    std::cout << "finish\n";

    return 0;
}

My output is:

root@openminder-nix:/source/scheduler_test# sudo ./threads 
main thread
default priority 0
new priority 99
140018767865600
140018759472896
140018751080192
140018742687488
140018734294784
140018725902080
140018717509376
140018709116672
140018700723968
140018692331264
Awakening delay: 2 us
Awakening delay: 2 us
Awakening delay: 2 us
Awakening delay: 2 us
Awakening delay: 2 us
Awakening delay: 3 us
Awakening delay: 4 us
Awakening delay: 2 us
Awakening delay: 2 us
Awakening delay: 2 us
Awakening delay: 2 us
Awakening delay: 3 us
Awakening delay: 2 us
Awakening delay: 3 us
Awakening delay: 2 us
LONG DELAY!!! 2048 us
Awakening delay: 7 us
Awakening delay: 4 us
Awakening delay: 5 us
LONG DELAY!!! 2199 us
Awakening delay: 5 us
Awakening delay: 4 us
Awakening delay: 6 us
Awakening delay: 5 us
Awakening delay: 8 us
Awakening delay: 5 us
Awakening delay: 5 us
Awakening delay: 4 us
Awakening delay: 6 us
LONG DELAY!!! 1195 us

So please help me to understand linux threads scheduling mechanics and write code with watchdog accuracy in 1ms.

what are mali.ko and ump.ko used for in lib/modules

$
0
0

I found two kernel modules in /lib/modules folder, they are mali.ko and ump.ko, and I tried to google some information about it, unfortunately, I found nothing valuable information.

if you have worked on those two kernel modules, can you tell me what they are used for ?

thanks.


Modifying the kernel source code in ubuntu

$
0
0

I want to know how to print like a customized message say "Hello World" before the $ sign appears when the kernel is booting. I am guessing it has something to do with modifying the kernel source code.

Please help Thank you

Operate with i2c-device from tasklet

$
0
0

I write a driver for i2c rtc chip for learning purpose. The driver can detect interrupts on GPIO pin from rtc chip. I want to schedule a tasklet into interrupt context and do some usefull work into the tasklet later.

GPIO irq handler:

static irqreturn_t alarm_irq_handler(int irq, void *dev)
{
    struct ds3231_state *driver_data;
    driver_data = i2c_get_clientdata(to_i2c_client(dev));

    if (!driver_data)
        return IRQ_NONE;

    tasklet_schedule(&driver_data->tasklet);

    return IRQ_HANDLED;
}

Tasklet function:

Into the tasklet function I want to do some communucation with i2c-chip, because I need to clear interrupt flags into the chip.

static void bottom_half_ds3231_handler(unsigned long data)
{
    struct device *dev = (struct device *)data;
    struct i2c_client *client = to_i2c_client(dev);

    printk(KERN_INFO "ds3231 gpio alarm interrupt detect\n");

    ds3231_disable_onchip_alarm_detect(client); // <--- this functions use I2C
    ds3231_clear_onchip_alarm_flags(client);
}

When I try to use i2c, my kernel fails. I know about i2c layer from non-process context. I2C functions are so slow, that's why i have wanted to do slow work into bottom half. But i can't use i2c into bottom half. Why?

How can i reset some flags into the chip after interrupts have been detected?

UPD 1: show stack trace after the kernel was failed

# [ 3160.248272] my-ds3231-rtc 1-0068: ds3231 gpio alarm interrupt detect
[ 3160.254792] BUG: scheduling while atomic: swapper/0/0/0x00000100
[ 3160.260827] Modules linked in: rtc_ds3231(O)
[ 3160.265127] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G           O      5.5.0 #1
[ 3160.272376] Hardware name: Generic AM33XX (Flattened Device Tree)
[ 3160.278536] [<c0312994>] (unwind_backtrace) from [<c030cc4c>] (show_stack+0x10/0x14)
[ 3160.286325] [<c030cc4c>] (show_stack) from [<c0ef7270>] (dump_stack+0xc0/0xd4)
[ 3160.293589] [<c0ef7270>] (dump_stack) from [<c0370324>] (__schedule_bug+0x68/0x88)
[ 3160.301204] [<c0370324>] (__schedule_bug) from [<c0f10f90>] (__schedule+0x450/0x618)
[ 3160.308983] [<c0f10f90>] (__schedule) from [<c0f111c0>] (schedule+0x68/0xf4)
[ 3160.316066] [<c0f111c0>] (schedule) from [<c0f15110>] (schedule_timeout+0x188/0x30c)
[ 3160.323846] [<c0f15110>] (schedule_timeout) from [<c0f1214c>] (wait_for_completion_timeout+0xd8/0x16c)
[ 3160.333205] [<c0f1214c>] (wait_for_completion_timeout) from [<c0c6f174>] (omap_i2c_xfer_common+0x3e4/0x5a8)
[ 3160.342998] [<c0c6f174>] (omap_i2c_xfer_common) from [<c0c5bfec>] (__i2c_transfer+0x1d8/0x650)
[ 3160.351650] [<c0c5bfec>] (__i2c_transfer) from [<c0c5c4c0>] (i2c_transfer+0x5c/0x104)
[ 3160.359528] [<c0c5c4c0>] (i2c_transfer) from [<bf000244>] (read_reg+0x68/0xb4 [rtc_ds3231])
[ 3160.367924] [<bf000244>] (read_reg [rtc_ds3231]) from [<bf000ec4>] (ds3231_disable_onchip_alarm_detect+0x28/0xb0 [rtc_ds3231])
[ 3160.379371] [<bf000ec4>] (ds3231_disable_onchip_alarm_detect [rtc_ds3231]) from [<bf001220>] (bottom_half_ds3231_handler+0x38/0xcc [rtc_ds3231])
[ 3160.392389] [<bf001220>] (bottom_half_ds3231_handler [rtc_ds3231]) from [<c034dfdc>] (tasklet_action_common.constprop.3+0x70/0x174)
[ 3160.404272] [<c034dfdc>] (tasklet_action_common.constprop.3) from [<c03022d8>] (__do_softirq+0x130/0x3b4)
[ 3160.413881] [<c03022d8>] (__do_softirq) from [<c034e72c>] (irq_exit+0xcc/0xd8)
[ 3160.421141] [<c034e72c>] (irq_exit) from [<c039df38>] (__handle_domain_irq+0x60/0xb4)
[ 3160.429007] [<c039df38>] (__handle_domain_irq) from [<c0301acc>] (__irq_svc+0x6c/0x90)
[ 3160.436956] Exception stack(0xc1801f10 to 0xc1801f58)
[ 3160.442030] 1f00:                                     00000000 0002077c df9a7d70 c031dcc0
[ 3160.450243] 1f20: ffffe000 c1804e6c c1804eb0 00000001 00000000 c1804e48 c1760628 00000000
[ 3160.458455] 1f40: 00000001 c1801f60 c0309194 c0309198 60000013 ffffffff
[ 3160.465107] [<c0301acc>] (__irq_svc) from [<c0309198>] (arch_cpu_idle+0x38/0x3c)
[ 3160.472540] [<c0309198>] (arch_cpu_idle) from [<c03783f4>] (do_idle+0x1bc/0x2ac)
[ 3160.479970] [<c03783f4>] (do_idle) from [<c03787a4>] (cpu_startup_entry+0x18/0x1c)
[ 3160.487576] [<c03787a4>] (cpu_startup_entry) from [<c1600dac>] (start_kernel+0x480/0x4b0)
[ 3160.495786] bad: scheduling from the idle thread!

fault when downloading u-boot to ARM cortex-A9

$
0
0

When downloading u-boot to the ARM via xsct in linux terminal it downloads fine

xsct% dow u-boot                                                                
Downloading Program -- /home/jack/Documents/Linux/u-boot
    section, .text: 0x10000000 - 0x1000038f
    section, .efi_runtime: 0x10000390 - 0x10000c9f
    section, .text_rest: 0x10000ca0 - 0x10030b1f
    section, .rodata: 0x10030b20 - 0x100390c1
    section, .hash: 0x100390c4 - 0x100390db
    section, .dtb.init.rodata: 0x100390e0 - 0x1003953f
    section, .data: 0x10039540 - 0x1003bca3
    section, .got.plt: 0x1003bca4 - 0x1003bcaf
    section, .u_boot_list: 0x1003bcb0 - 0x1003c753
    section, .efi_runtime_rel: 0x1003c754 - 0x1003c7f3
    section, .rel.dyn: 0x1003c7f4 - 0x1004332b
    section, .bss_start: 0x1003c7f4 - 0x1003c7f3
    section, .bss: 0x1003c7f4 - 0x10042003
    section, .bss_end: 0x10042004 - 0x10042003
    section, .dynsym: 0x1004332c - 0x1004335b
    section, .dynstr: 0x1004335c - 0x1004335c
    section, .dynamic: 0x10043360 - 0x100433ef
    section, .gnu.hash: 0x100433f0 - 0x10043407
100%    0MB   0.2MB/s  00:01                                                    
Setting PC to Program Start Address 0x10000000
Successfully downloaded /home/jack/Documents/Linux/u-boot
xsct% con                                                                       
Info: ARM Cortex-A9 MPCore #0 (target 2) Running           
xsct% 

does anyone know why this isn't starting up in the terminal, i have it connected as seen below but nothing comes up?

jack@jack:~$ sudo picocom --b 115200 --f n --p n /dev/ttyACM0
picocom v2.2

port is        : /dev/ttyACM0
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
stopbits are   : 1
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : sz -vv
receive_cmd is : rz -vv -E
imap is        : 
omap is        : 
emap is        : crcrlf,delbs,

Type [C-a] [C-h] to see available commands

Terminal ready

Thanks in Advance.

linux kernel check if process is still running

$
0
0

I'm working in kernel space and I want to find out when an application has stopped or crashed. When I receive an ioctl call, I can get the struct task_struct where I have a lot of information regarding the process of the application. My problem is that I want to periodically check if the process is still alive or better yet, to have some asynchronous call when the process is killed.

My test environment was on QEMU and after a while in the application I've run a system("kill -9 pid"). Meanwhile in the kernel I've had a periodical check on task_struct with:
volatile long state; /* -1 unrunnable, 0 runnable, >0 stopped */
static inline int pid_alive(struct task_struct *p)

The problem is that my task_struct pointer seems to be unmodified. Normally I would say that each process has a task_struct and of course it is corespondent with the process state. Otherwise I don't see the point of "volatile long state"

What am I missing? Is it that I'm testing on QEMU, it is that I've tested checking the task_struct in a while(1) with an msleep of 100? Any help would be appreciated.

I would be partially happy if I could receive the pid of the application when the app is closing the file descriptor of the module ("/dev/driver").

Thanks!

Self-compiled Linux driver stopped working after upgrading Debian

$
0
0

I keep a Linux Wi-Fi driver compatible with recent kernels. The driver worked flawlessly on my desktop and as far as I know also on the Thinkpad. I almost never checked on the Thinkpad, though. You can find the driver at https://github.com/MaxG87/DWA-182_Rev-D1/.

Last week I upgraded from Debian/stable to Debian/testing (desktop) and from Ubuntu 18.04 to 19.10 (Thinkpad T470p). I had to fix a small error that was detected by newer g++ but besides that compilation worked fine.

However, the device does not work and I have no clue why. So my question is twofold: I would like to know how I can find out whats wrong and possibly how to fix it.

Please find below some information.

The driver is loaded:

sudo lsmod | egrep 88x2
88x2bu               3014656  0
cfg80211              823296  5 ath9k_htc,ath9k_common,88x2bu,ath,mac80211
usbcore               307200  5 ath9k_htc,ehci_pci,usbhid,88x2bu,ehci_hcd

The device is attached. Attaching the device leads to complete system freeze in ~50% of the time.

sudo lsusb | egrep D-Link
Bus 002 Device 004: ID 2001:331c D-Link Corp.

The output of dmesg after attaching the device. I admit that it looks scary but I do not learn anything from it.

[   97.943764] usb 2-1.3: new high-speed USB device number 6 using ehci-pci
[   97.972956] usb 2-1.3: New USB device found, idVendor=2001, idProduct=331c, bcdDevice= 2.10
[   97.972960] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   97.972961] usb 2-1.3: Product: 802.11ac NIC
[   97.972963] usb 2-1.3: SerialNumber: 123456
[   98.065544] 88x2bu: loading out-of-tree module taints kernel.
[   98.067018] 88x2bu: module verification failed: signature and/or required key missing - tainting kernel
[   98.093187] RTW: module init start
[   98.093189] RTW: rtl88x2bu v5.3.1_27678.20180430_COEX20180427-5959
[   98.093190] RTW: build time: Mar 24 2020 14:27:17
[   98.093191] RTW: rtl88x2bu BT-Coex version = COEX20180427-5959
[   98.093201] RTW: rtw_inetaddr_notifier_register
[   98.093226] RTW: 
               usb_endpoint_descriptor(0):
[   98.093227] RTW: bLength=7
[   98.093228] RTW: bDescriptorType=5
[   98.093228] RTW: bEndpointAddress=84
[   98.093229] RTW: wMaxPacketSize=512
[   98.093229] RTW: bInterval=0
[   98.093230] RTW: RT_usb_endpoint_is_bulk_in = 4
[   98.093230] RTW: 
               usb_endpoint_descriptor(1):
[   98.093231] RTW: bLength=7
[   98.093231] RTW: bDescriptorType=5
[   98.093232] RTW: bEndpointAddress=5
[   98.093232] RTW: wMaxPacketSize=512
[   98.093233] RTW: bInterval=0
[   98.093233] RTW: RT_usb_endpoint_is_bulk_out = 5
[   98.093234] RTW: 
               usb_endpoint_descriptor(2):
[   98.093234] RTW: bLength=7
[   98.093235] RTW: bDescriptorType=5
[   98.093235] RTW: bEndpointAddress=6
[   98.093235] RTW: wMaxPacketSize=512
[   98.093236] RTW: bInterval=0
[   98.093236] RTW: RT_usb_endpoint_is_bulk_out = 6
[   98.093237] RTW: 
               usb_endpoint_descriptor(3):
[   98.093237] RTW: bLength=7
[   98.093238] RTW: bDescriptorType=5
[   98.093238] RTW: bEndpointAddress=87
[   98.093239] RTW: wMaxPacketSize=64
[   98.093239] RTW: bInterval=3
[   98.093240] RTW: RT_usb_endpoint_is_int_in = 7, Interval = 3
[   98.093240] RTW: 
               usb_endpoint_descriptor(4):
[   98.093241] RTW: bLength=7
[   98.093241] RTW: bDescriptorType=5
[   98.093241] RTW: bEndpointAddress=8
[   98.093242] RTW: wMaxPacketSize=512
[   98.093242] RTW: bInterval=0
[   98.093243] RTW: RT_usb_endpoint_is_bulk_out = 8
[   98.093244] RTW: nr_endpoint=5, in_num=2, out_num=3

[   98.093244] RTW: USB_SPEED_HIGH
[   98.093245] RTW: CHIP TYPE: RTL8822B
[   98.093264] RTW: [HALMAC]11692M
               HALMAC_MAJOR_VER = 1
               HALMAC_PROTOTYPE_VER = 4
               HALMAC_MINOR_VER = 8
               HALMAC_PATCH_VER = 3
[   98.094827] RTW: rtw_hal_config_rftype RF_Type is 2 TotalTxPath is 2
[   98.094829] RTW: Chip Version Info: CHIP_8822B_Normal_Chip_UMC_D_CUT_2T2R_RomVer(3)
[   98.094832] RTW: config_chip_out_EP OutEpQueueSel(0x07), OutEpNumber(3)
[   98.095078] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[   98.608205] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_LOGICAL_EFUSE
[   98.608220] RTW: HW EFUSE
[   98.608222] RTW: 0x000: 29 81 00 3C  09 00 B1 00  94 07 64 00  00 00 A3 00  
[   98.608230] RTW: 0x010: 34 34 34 34  34 34 30 30  30 30 30 02  00 00 FF FF  
[   98.608236] RTW: 0x020: FF FF 26 26  25 25 23 23  21 20 1F 1E  27 23 22 20  
[   98.608242] RTW: 0x030: 02 00 FF FF  00 FF 0C 00  FF FF 34 34  34 34 34 34  
[   98.608248] RTW: 0x040: 30 30 30 30  30 22 00 00  FF FF FF FF  22 20 20 1F  
[   98.608254] RTW: 0x050: 1F 1E 1D 1C  1C 1C 23 23  22 22 01 00  FF FF 00 FF  
[   98.608260] RTW: 0x060: 0C 00 FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608266] RTW: 0x070: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608272] RTW: 0x080: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608278] RTW: 0x090: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608284] RTW: 0x0A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608290] RTW: 0x0B0: FF FF FF FF  FF FF FF FF  26 30 20 00  FF FF FF FF  
[   98.608296] RTW: 0x0C0: FF 09 00 11  00 00 00 00  00 FF 02 FF  FF FF FF FF  
[   98.608302] RTW: 0x0D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608308] RTW: 0x0E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608314] RTW: 0x0F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608320] RTW: 0x100: 01 20 1C 33  C1 67 02 28  3B 82 CB 57  05 02 03 0E  
[   98.608327] RTW: 0x110: 03 38 30 32  2E 31 31 61  63 20 4E 49  43 08 03 31  
[   98.608333] RTW: 0x120: 32 33 34 35  36 FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608339] RTW: 0x130: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608345] RTW: 0x140: 33 0A 1F 01  00 00 21 0F  FF FF FF FF  FF FF FF FF  
[   98.608351] RTW: 0x150: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608357] RTW: 0x160: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608363] RTW: 0x170: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608369] RTW: 0x180: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608375] RTW: 0x190: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608381] RTW: 0x1A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608387] RTW: 0x1B0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608393] RTW: 0x1C0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608399] RTW: 0x1D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608405] RTW: 0x1E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608411] RTW: 0x1F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608417] RTW: 0x200: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608423] RTW: 0x210: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608429] RTW: 0x220: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608435] RTW: 0x230: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608441] RTW: 0x240: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608447] RTW: 0x250: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608453] RTW: 0x260: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608459] RTW: 0x270: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608465] RTW: 0x280: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608471] RTW: 0x290: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608477] RTW: 0x2A0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608483] RTW: 0x2B0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608489] RTW: 0x2C0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608495] RTW: 0x2D0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608501] RTW: 0x2E0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608507] RTW: 0x2F0: FF FF FF FF  FF FF FF FF  FF FF FF FF  FF FF FF FF  
[   98.608515] RTW: EEPROM ID = 0x8129
[   98.608516] RTW: EEPROM Version = 0
[   98.608527] RTW: EEPROM Regulatory=0x01
[   98.608528] RTW: EEPROM Board Type=0x00
[   98.608530] RTW: EEPROM Disable BT-coex, ant_num=1
[   98.608532] RTW: hal_com_config_channel_plan chplan:0x26
[   98.608533] RTW: EEPROM crystal_cap=0x30
[   98.608534] RTW: EEPROM ThermalMeter=0x20
[   98.608535] RTW: EEPROM Customer ID=0x00
[   98.608535] RTW: EEPROM SupportRemoteWakeup=0
[   98.608536] RTW: EEPROM PAType_2G is 0x0, ExternalPA_2G = 0
[   98.608537] RTW: EEPROM PAType_5G is 0x0, external_pa_5g = 0
[   98.608538] RTW: EEPROM LNAType_2G is 0x0, ExternalLNA_2G = 0
[   98.608539] RTW: EEPROM LNAType_5G is 0x0, external_lna_5g = 0
[   98.608540] RTW: EEPROM TypeGPA = 0x0
[   98.608541] RTW: EEPROM TypeAPA = 0x0
[   98.608541] RTW: EEPROM TypeGLNA = 0x0
[   98.608542] RTW: EEPROM TypeALNA = 0x0
[   98.608543] RTW: EEPROM rfe_type=0x2
[   98.608548] RTW: ERROR [HALMAC][ERR]Dump efuse in suspend
[   98.608824] RTW: is_valid_id_status: HALMAC_FEATURE_DUMP_PHYSICAL_EFUSE
[   98.608827] RTW: EEPROM efuse[0x3D7]=0xf6
[   98.608828] RTW: EEPROM efuse[0x3D8]=0xf2
[   98.608828] RTW: EEPROM USB Switch=1
[   98.608830] RTW: EEPROM VID = 0x2001, PID = 0x331C
[   98.624073] RTW: [HALMAC][ALWAYS]shall R reg twice!!
[   98.625574] RTW: SetHwReg: bMacPwrCtrlOn=1
[   98.625697] RTW: rtl8822b_fw_dl fw source from array
[   98.715580] RTW: LocPsPoll: 1
[   98.715585] RTW: LocBTQosNull: 2
[   98.715587] RTW: LocNullData: 3
[   98.715590] RTW: LocQosNull: 4
[   98.715595] RTW: _cfg_drv_rsvd_pg_num: request 5 pages, but allocate 8 pages
[   98.726573] RTW: rtl8822b_fw_dl Download Firmware from array success
[   98.726576] RTW: NIC FW Version:22 SubVersion:6 FW size:145104
[   98.738075] RTW: SetHwReg: bMacPwrCtrlOn=0
[   98.738078] RTW: hal_read_mac_hidden_rpt OK! (1, 12ms), fwdl:1, id:0x19
[   98.738079] RTW: EEPROM Disable BT-coex by hal_spec
[   98.738081] RTW: rtw_hal_read_chip_info in 644 ms
[   98.738092] RTW: init_channel_set((null)) ChannelPlan ID:0x26, ch num:32
[   98.738251] RTW: NR_RECVBUFF: 8
[   98.738252] RTW: MAX_RECVBUF_SZ: 32768
[   98.738254] RTW: NR_PREALLOC_RECV_SKB: 8
[   98.738309] RTW: rtw_alloc_macid((null)) if1, mac_addr:ff:ff:ff:ff:ff:ff macid:1
[   98.738319] RTW: IQK FW offload:enable
[   98.738322] RTW: init_phydm_cominfo: fab_ver=1 cut_ver=3
[   98.738325] RTW: rtw_regsty_chk_target_tx_power_valid return _FALSE for band:0, path:0, rs:0, t:-1
[   98.740505] RTW: phy_ConfigBBWithPgParaFile(): No File PHY_REG_PG.txt, Load from HWImg Array!
[   98.740518] RTW: default power by rate loaded
[   98.742075] RTW: can't get autopm:
[   98.742079] RTW: rtw_macaddr_cfg mac addr:28:3b:82:cb:57:05
[   98.742081] RTW: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
[   98.742101] RTW: rtw_wiphy_alloc(phy0)
[   98.742104] RTW: rtw_wdev_alloc(padapter=00000000bc0acdf4)
[   98.742107] RTW: rtw_wiphy_register(phy0)
[   98.742108] RTW: Register RTW cfg80211 vendor cmd(0x67) interface
[   98.742125] ------------[ cut here ]------------
[   98.742157] WARNING: CPU: 0 PID: 2150 at net/wireless/core.c:867 wiphy_register+0x6d1/0x930 [cfg80211]
[   98.742158] Modules linked in: 88x2bu(OE+) cfg80211 rfkill snd_hrtimer snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device binfmt_misc ext4 crc16 mbcache jbd2 intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi ledtrig_audio kvm snd_hda_intel snd_intel_nhlt snd_hda_codec irqbypass snd_hda_core intel_cstate snd_hwdep intel_uncore snd_pcm_oss iTCO_wdt snd_mixer_oss joydev snd_pcm intel_rapl_perf iTCO_vendor_support snd_timer pcspkr sg snd watchdog mei_me soundcore mei evdev parport_pc ppdev lp parport sunrpc ip_tables x_tables autofs4 btrfs xor zstd_decompress zstd_compress raid6_pq libcrc32c crc32c_generic crypto_simd glue_helper dm_crypt dm_mod amdgpu gpu_sched hid_generic usbhid hid sd_mod sr_mod cdrom radeon crct10dif_pclmul crc32_pclmul crc32c_intel i2c_algo_bit ttm ahci drm_kms_helper libahci ghash_clmulni_intel libata cryptd drm i2c_i801 ehci_pci ehci_hcd scsi_mod
[   98.742202]  usbcore atl1c lpc_ich mfd_core usb_common button
[   98.742209] CPU: 0 PID: 2150 Comm: systemd-udevd Tainted: G           OE     5.4.0-4-amd64 #1 Debian 5.4.19-1
[   98.742210] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H61M-GS, BIOS P1.10 03/07/2011
[   98.742226] RIP: 0010:wiphy_register+0x6d1/0x930 [cfg80211]
[   98.742229] Code: ff e9 78 fa ff ff 0f 0b b8 ea ff ff ff e9 6c fa ff ff 0f 0b b8 ea ff ff ff e9 60 fa ff ff 0f 0b b8 ea ff ff ff e9 54 fa ff ff <0f> 0b b8 ea ff ff ff e9 48 fa ff ff 0f 0b b8 ea ff ff ff e9 3c fa
[   98.742230] RSP: 0018:ffffafd9845579d0 EFLAGS: 00010246
[   98.742232] RAX: ffffffffc1209ef0 RBX: ffffafd98031b000 RCX: ffffffffc1209ee0
[   98.742233] RDX: ffffffffc1209fe0 RSI: 0000000000000001 RDI: 000000000000001e
[   98.742235] RBP: ffffafd984557a48 R08: 0000000000000004 R09: 0000000000000003
[   98.742236] R10: 0000000000000000 R11: 0000000000000001 R12: ffff9650a4b07300
[   98.742237] R13: ffffafd98031e420 R14: ffffffffc121bcce R15: ffffffffc12a4300
[   98.742239] FS:  00007f623031b880(0000) GS:ffff9650ab200000(0000) knlGS:0000000000000000
[   98.742241] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   98.742242] CR2: 000055f0133f84a0 CR3: 000000007fbd0001 CR4: 00000000000606f0
[   98.742243] Call Trace:
[   98.742253]  ? printk+0x58/0x6f
[   98.742344]  rtw_cfg80211_ndev_res_register+0x15/0x40 [88x2bu]
[   98.742414]  rtw_os_ndev_register+0x60/0x150 [88x2bu]
[   98.742484]  rtw_os_ndevs_register+0x76/0x100 [88x2bu]
[   98.742553]  rtw_os_ndevs_init+0x23/0x40 [88x2bu]
[   98.742622]  rtw_drv_init+0x377/0x420 [88x2bu]
[   98.742639]  usb_probe_interface+0xe0/0x280 [usbcore]
[   98.742644]  really_probe+0x298/0x3c0
[   98.742648]  driver_probe_device+0xb6/0x100
[   98.742651]  device_driver_attach+0x53/0x60
[   98.742654]  __driver_attach+0x8a/0x150
[   98.742657]  ? device_driver_attach+0x60/0x60
[   98.742660]  bus_for_each_dev+0x78/0xc0
[   98.742663]  bus_add_driver+0x14d/0x1f0
[   98.742666]  driver_register+0x6c/0xc0
[   98.742678]  usb_register_driver+0x84/0x120 [usbcore]
[   98.742681]  ? 0xffffffffc13b3000
[   98.742735]  rtw_drv_entry+0xa4/0x1000 [88x2bu]
[   98.742739]  do_one_initcall+0x46/0x1f4
[   98.742743]  ? _cond_resched+0x15/0x30
[   98.742747]  ? kmem_cache_alloc_trace+0x158/0x210
[   98.742751]  ? do_init_module+0x23/0x230
[   98.742754]  do_init_module+0x5c/0x230
[   98.742757]  load_module+0x2359/0x2500
[   98.742763]  ? __do_sys_finit_module+0xaa/0x110
[   98.742766]  __do_sys_finit_module+0xaa/0x110
[   98.742770]  do_syscall_64+0x52/0x160
[   98.742773]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   98.742776] RIP: 0033:0x7f623088bf09
[   98.742778] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 57 3f 0c 00 f7 d8 64 89 01 48
[   98.742780] RSP: 002b:00007ffe41eb5898 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[   98.742782] RAX: ffffffffffffffda RBX: 000056298103e8e0 RCX: 00007f623088bf09
[   98.742783] RDX: 0000000000000000 RSI: 00007f623078cded RDI: 000000000000000f
[   98.742784] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000562981002198
[   98.742785] R10: 000000000000000f R11: 0000000000000246 R12: 00007f623078cded
[   98.742786] R13: 0000000000000000 R14: 00005629810191c0 R15: 000056298103e8e0
[   98.742789] ---[ end trace a0140ac240f94d39 ]---
[   98.742791] RTW: rtw_cfg80211_ndev_res_register rtw_wiphy_register fail for if1
[   98.742801] ------------[ cut here ]------------
[   98.742870] WARNING: CPU: 0 PID: 2150 at /usr/src/rtl88x2bu-5.3.1.1/os_dep/linux/os_intfs.c:1621 rtw_os_ndev_register+0x65/0x150 [88x2bu]
[   98.742870] Modules linked in: 88x2bu(OE+) cfg80211 rfkill snd_hrtimer snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device binfmt_misc ext4 crc16 mbcache jbd2 intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi ledtrig_audio kvm snd_hda_intel snd_intel_nhlt snd_hda_codec irqbypass snd_hda_core intel_cstate snd_hwdep intel_uncore snd_pcm_oss iTCO_wdt snd_mixer_oss joydev snd_pcm intel_rapl_perf iTCO_vendor_support snd_timer pcspkr sg snd watchdog mei_me soundcore mei evdev parport_pc ppdev lp parport sunrpc ip_tables x_tables autofs4 btrfs xor zstd_decompress zstd_compress raid6_pq libcrc32c crc32c_generic crypto_simd glue_helper dm_crypt dm_mod amdgpu gpu_sched hid_generic usbhid hid sd_mod sr_mod cdrom radeon crct10dif_pclmul crc32_pclmul crc32c_intel i2c_algo_bit ttm ahci drm_kms_helper libahci ghash_clmulni_intel libata cryptd drm i2c_i801 ehci_pci ehci_hcd scsi_mod
[   98.742902]  usbcore atl1c lpc_ich mfd_core usb_common button
[   98.742907] CPU: 0 PID: 2150 Comm: systemd-udevd Tainted: G        W  OE     5.4.0-4-amd64 #1 Debian 5.4.19-1
[   98.742908] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H61M-GS, BIOS P1.10 03/07/2011
[   98.742975] RIP: 0010:rtw_os_ndev_register+0x65/0x150 [88x2bu]
[   98.742977] Code: 0f 84 97 00 00 00 4c 89 e7 b9 20 00 00 00 48 c7 c2 a0 bb 13 c1 48 89 ee e8 18 8e af dd 48 89 df e8 c0 8b 01 00 83 f8 01 74 13 <0f> 0b 48 89 ef e8 d1 83 af dd 31 c0 5b 5d 41 5c 41 5d c3 4c 89 ee
[   98.742978] RSP: 0018:ffffafd984557a68 EFLAGS: 00010297
[   98.742980] RAX: 0000000000000000 RBX: ffffafd98031b000 RCX: 0000000000000006
[   98.742981] RDX: 0000000000000000 RSI: 0000000000000092 RDI: ffff9650ab217680
[   98.742982] RBP: ffffafd98031e4c8 R08: 000000000000047d R09: 0000000000000004
[   98.742983] R10: 0000000000000000 R11: 0000000000000001 R12: ffff9650a9f42000
[   98.742984] R13: ffffafd98031e420 R14: ffffffffc121bcce R15: ffffffffc12a4300
[   98.742986] FS:  00007f623031b880(0000) GS:ffff9650ab200000(0000) knlGS:0000000000000000
[   98.742988] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   98.742989] CR2: 000055f0133f84a0 CR3: 000000007fbd0001 CR4: 00000000000606f0
[   98.742990] Call Trace:
[   98.743058]  rtw_os_ndevs_register+0x76/0x100 [88x2bu]
[   98.743125]  rtw_os_ndevs_init+0x23/0x40 [88x2bu]
[   98.743192]  rtw_drv_init+0x377/0x420 [88x2bu]
[   98.743205]  usb_probe_interface+0xe0/0x280 [usbcore]
[   98.743209]  really_probe+0x298/0x3c0
[   98.743212]  driver_probe_device+0xb6/0x100
[   98.743215]  device_driver_attach+0x53/0x60
[   98.743218]  __driver_attach+0x8a/0x150
[   98.743221]  ? device_driver_attach+0x60/0x60
[   98.743223]  bus_for_each_dev+0x78/0xc0
[   98.743226]  bus_add_driver+0x14d/0x1f0
[   98.743229]  driver_register+0x6c/0xc0
[   98.743240]  usb_register_driver+0x84/0x120 [usbcore]
[   98.743242]  ? 0xffffffffc13b3000
[   98.743296]  rtw_drv_entry+0xa4/0x1000 [88x2bu]
[   98.743299]  do_one_initcall+0x46/0x1f4
[   98.743302]  ? _cond_resched+0x15/0x30
[   98.743305]  ? kmem_cache_alloc_trace+0x158/0x210
[   98.743308]  ? do_init_module+0x23/0x230
[   98.743310]  do_init_module+0x5c/0x230
[   98.743313]  load_module+0x2359/0x2500
[   98.743319]  ? __do_sys_finit_module+0xaa/0x110
[   98.743321]  __do_sys_finit_module+0xaa/0x110
[   98.743325]  do_syscall_64+0x52/0x160
[   98.743329]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   98.743330] RIP: 0033:0x7f623088bf09
[   98.743332] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 57 3f 0c 00 f7 d8 64 89 01 48
[   98.743333] RSP: 002b:00007ffe41eb5898 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[   98.743335] RAX: ffffffffffffffda RBX: 000056298103e8e0 RCX: 00007f623088bf09
[   98.743336] RDX: 0000000000000000 RSI: 00007f623078cded RDI: 000000000000000f
[   98.743337] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000562981002198
[   98.743339] R10: 000000000000000f R11: 0000000000000246 R12: 00007f623078cded
[   98.743340] R13: 0000000000000000 R14: 00005629810191c0 R15: 000056298103e8e0
[   98.743342] ---[ end trace a0140ac240f94d3a ]---
[   98.755763] ------------[ cut here ]------------
[   98.755844] WARNING: CPU: 0 PID: 2150 at /usr/src/rtl88x2bu-5.3.1.1/os_dep/linux/os_intfs.c:3052 rtw_os_ndevs_register+0xb4/0x100 [88x2bu]
[   98.755845] Modules linked in: 88x2bu(OE+) cfg80211 rfkill snd_hrtimer snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device binfmt_misc ext4 crc16 mbcache jbd2 intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi ledtrig_audio kvm snd_hda_intel snd_intel_nhlt snd_hda_codec irqbypass snd_hda_core intel_cstate snd_hwdep intel_uncore snd_pcm_oss iTCO_wdt snd_mixer_oss joydev snd_pcm intel_rapl_perf iTCO_vendor_support snd_timer pcspkr sg snd watchdog mei_me soundcore mei evdev parport_pc ppdev lp parport sunrpc ip_tables x_tables autofs4 btrfs xor zstd_decompress zstd_compress raid6_pq libcrc32c crc32c_generic crypto_simd glue_helper dm_crypt dm_mod amdgpu gpu_sched hid_generic usbhid hid sd_mod sr_mod cdrom radeon crct10dif_pclmul crc32_pclmul crc32c_intel i2c_algo_bit ttm ahci drm_kms_helper libahci ghash_clmulni_intel libata cryptd drm i2c_i801 ehci_pci ehci_hcd scsi_mod
[   98.755882]  usbcore atl1c lpc_ich mfd_core usb_common button
[   98.755888] CPU: 0 PID: 2150 Comm: systemd-udevd Tainted: G        W  OE     5.4.0-4-amd64 #1 Debian 5.4.19-1
[   98.755889] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H61M-GS, BIOS P1.10 03/07/2011
[   98.755960] RIP: 0010:rtw_os_ndevs_register+0xb4/0x100 [88x2bu]
[   98.755962] Code: 7e ac 85 db 74 b6 83 3d c9 89 17 00 01 0f 87 e8 cc 0b 00 0f 0b eb dd 0f 0b 45 31 e4 5b 5d 44 89 e0 41 5c 41 5d 41 5e 41 5f c3 <0f> 0b 48 8b bd 50 01 00 00 48 85 ff 74 09 80 bf 18 46 00 00 00 75
[   98.755963] RSP: 0018:ffffafd984557a90 EFLAGS: 00010297
[   98.755965] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[   98.755966] RDX: ffff9650a9f42060 RSI: ffffafd98031e628 RDI: ffffafd98031e5b0
[   98.755968] RBP: ffff9650a23d2000 R08: ffff9650a9f42060 R09: 0000000000029fa0
[   98.755969] R10: 0000000000000005 R11: ffff9650ab229580 R12: 0000000000000001
[   98.755970] R13: ffffafd98031b000 R14: ffffffffc121bcce R15: 0000000000000000
[   98.755972] FS:  00007f623031b880(0000) GS:ffff9650ab200000(0000) knlGS:0000000000000000
[   98.755973] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   98.755975] CR2: 00007f251c04a0e8 CR3: 000000007fbd0001 CR4: 00000000000606f0
[   98.755976] Call Trace:
[   98.756047]  rtw_os_ndevs_init+0x23/0x40 [88x2bu]
[   98.756116]  rtw_drv_init+0x377/0x420 [88x2bu]
[   98.756130]  usb_probe_interface+0xe0/0x280 [usbcore]
[   98.756135]  really_probe+0x298/0x3c0
[   98.756138]  driver_probe_device+0xb6/0x100
[   98.756141]  device_driver_attach+0x53/0x60
[   98.756144]  __driver_attach+0x8a/0x150
[   98.756147]  ? device_driver_attach+0x60/0x60
[   98.756149]  bus_for_each_dev+0x78/0xc0
[   98.756153]  bus_add_driver+0x14d/0x1f0
[   98.756156]  driver_register+0x6c/0xc0
[   98.756167]  usb_register_driver+0x84/0x120 [usbcore]
[   98.756170]  ? 0xffffffffc13b3000
[   98.756224]  rtw_drv_entry+0xa4/0x1000 [88x2bu]
[   98.756228]  do_one_initcall+0x46/0x1f4
[   98.756231]  ? _cond_resched+0x15/0x30
[   98.756234]  ? kmem_cache_alloc_trace+0x158/0x210
[   98.756237]  ? do_init_module+0x23/0x230
[   98.756240]  do_init_module+0x5c/0x230
[   98.756243]  load_module+0x2359/0x2500
[   98.756249]  ? __do_sys_finit_module+0xaa/0x110
[   98.756251]  __do_sys_finit_module+0xaa/0x110
[   98.756256]  do_syscall_64+0x52/0x160
[   98.756259]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   98.756261] RIP: 0033:0x7f623088bf09
[   98.756263] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 57 3f 0c 00 f7 d8 64 89 01 48
[   98.756264] RSP: 002b:00007ffe41eb5898 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[   98.756267] RAX: ffffffffffffffda RBX: 000056298103e8e0 RCX: 00007f623088bf09
[   98.756268] RDX: 0000000000000000 RSI: 00007f623078cded RDI: 000000000000000f
[   98.756269] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000562981002198
[   98.756270] R10: 000000000000000f R11: 0000000000000246 R12: 00007f623078cded
[   98.756271] R13: 0000000000000000 R14: 00005629810191c0 R15: 000056298103e8e0
[   98.756274] ---[ end trace a0140ac240f94d3b ]---
[   98.756277] RTW: rtw_wdev_free(wdev=0000000002e91e33)
[   98.756279] RTW: rtw_wiphy_free(phy0)
[   98.756289] RTW: rtw_usb_primary_adapter_deinit((null))
[   98.756290] RTW: rtw_dev_unload: bup==_FALSE
[   98.757326] RTW: +r871xu_dev_remove, hw_init_completed=0
[   98.757419] RTW: WARN free_recv_skb_queue not empty, 8
[   98.757436] RTW: usb attached..., try to reset usb device
[   98.843761] usb 2-1.3: reset high-speed USB device number 6 using ehci-pci
[   98.872670] usbcore: registered new interface driver rtl88x2bu
[   98.872673] RTW: module init ret=0
Viewing all 12279 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>