What is causing this kernel oops when parsing firmware?
I'm tweaking a kernel module which registers a bunch of struct software_node linking camera sensors to Intel's ipu3 infrastructure. Once the registration is done, the module triggers reprobing the cio2...
View ArticleTaking system output from bash using a browser UI from the end user's system
I wanna build a UI which takes output from the bash of the end user's system and gives output, so I can use it, is it possible? I'm writing the backend in Spring, I've tried Spring Shell project which...
View Articlewhy do we need a VM on an OS in the first place in the context of Devops?...
whenever I try to read about Docker, most of the articles and videos always start with comparing the VM to container Technology and why containers are more useful and better. But no one emphasizes on...
View ArticleHow to check IRQ latency in Linux (X86_64) for performance tuning?
Currently I met a problem, I had a X86 server running either a 3rd party Linux-4.19.138 kernel (whose configuration file is about 6000 lines) or Ubuntu 20.04 X86_64 (whose configuration file is about...
View ArticleDevices not getting displayed under /dev when using modprobe
I use PCAN Driver for Linux v8 developed by PEAK SYSTEMS.After successful compilation when tried to load the Linux Kernel Module (LKM) named pcansudo modprobe pcanlspcan -T -t -aDevices are not getting...
View Articlejournal take high cpu usage and throw decode slice error in ubuntu 20
in ubuntu 20 i see some odd error with decode slice header post log below:i have not started any media player os in ideal.it's happened lots of timethank you in advanced !org.gnome.Nautilus[18371]:...
View ArticleHow to enable [linux-generic] packages?
my Manjaro kernel seems to be broken. I could not find a kernel-version and Manjaro OS does not start, only the theme for my dual-boot selection. Usually, there I could select between Windows and...
View ArticlePage Fault in Linux Kernel
I have few questions after reading Mel Gorman's book Understanding the Linux Virtual Memory Manager. Section 4.3 Process Address Space Descriptor says kernel threads never page fault or access the user...
View ArticleOne kernel thread can monopolize core?
Although grabbing one processor core by a specific thread is not a good thing, I would like to make one kernel thread runs on a particular core without preemption and interrupts to get performance...
View ArticleLinux kernel conntrack drop statistics
In Linux kernel conntrack subsystem sources I see a lot of statistic ticks like this:ret = resolve_normal_ct(net, tmpl, skb, dataoff, pf, protonum, l4proto);if (ret < 0) { /* Too stressed to deal....
View Articleinsmod returns Killed maybe because of task_struct
I accessing the current process's structure in order to get the process ID and the command name for the current process within a Linux module in kernel-space, but when I build my module with make and...
View ArticleYocto: Cannot apply CONFIG_PREEMPT_RT_FULL through fragments
I want to create a real-time Linux kernel using Yocto Warrior for the NXP iMX8MM. I added a .bbappend file with SRC_URI += "<address from RT wiki>" and this works. I now need to add kernel...
View ArticleBuildroot based embedded linux on STM32f769 hangs on "Starting kernel ..."
I'm using buildroot based embedded linux distribution for stm32f769 embedded board.I'm not so experienced embedded linux user, since I've switched from RTOS to Embedded Linux world, so I'm learning...
View ArticleWhy kernel preemption is safe only when preempt_count > 0?
Linux kernel 2.6 introduced a new per-thread field---preempt_count---which is incremented/decremented whenever a lock is acquired/released. This field is used to allow kernel preemption: "If...
View ArticleHow to series of play audio file consecutively without silence
I'm looking for a solution to play series of .wav file (ex: 1.wav, 2.wav, 3.wav, etc) with python (running on linux). The method I'm using is use for loop to play file name. But it get a silence every...
View ArticleIs it possible that region of kmalloc'ed memory faster than module scope...
The kernel is an old one 3.1.x and the board is a S3C2416 with an external NAND flash.I am struggled with a bug that resulted in NAND flash's ECC has a quite high probability to produce one-bit flip in...
View ArticleWhat's an easy way to use the MKDEV macro?
I have a minor and major numbers of a char device, and I want to turn them into dev_t (which used to hold device numbers), but I don't want to do all the process of building and writing a module,...
View ArticleWhat return error code -22 means for 'wiphy_register '?
What is a meaning of the error code -22 returning by wiphy_register?[ 5433.927035] ret code: -22[ 5433.927036] RTW: rtw_cfg80211_ndev_res_register rtw_wiphy_register fail for if1
View ArticleKeyboard problem on Lichee Pi Zero with kernel 5.2+
My question is about Lichee Pi Zero board (based on Allwinner/Sunxi V3s SoC).Initially I used pre-built Linux image (kernel 4.10.02), it has no built-in Wi-Fi support (for Realtek 8327BS chip), so I...
View Articlehow to develop driver for tp-link archer t4u?
Good day. I made changes to get the driver to compile. but there is an error in the function wiphy_register. there it is here. for (i = 0; i < rdev->wiphy.n_vendor_commands; i++) { /* * Validate...
View Article