connected hardware to usb not recognized
I have a RoboteQ motor driver when I connect it to usb is not showing up. I used eaither windows or Ubuntu 18. I tried lsusb, usb-devices, ... but not showing at all.It happened when I was building a...
View ArticleDebugging Windows kernel on a Microsoft Azure platform virtual machine
I want to connect WinDbg to the Windows Server kernel running on a Microsoft Azure platform VM to debug some drivers. I tried to follow the instructions on msdn to connect the debugger over the...
View ArticleDisable text cursor in custom terminal in C
this might already be answered somewhere, so would appreciate a link if so.I have successfully enabled a blinking cursor on my OS terminal (linux-based) using the following method:#define FB_CMD_PORT...
View ArticleDell - Linux won't awake from suspend [closed]
So the problem is that after suspending system in any way the screen goes black immediately and theres no way to wake it up without hard poweroffi tried many ways like adding some stuff to grub...
View ArticleRFC7217 IPV6 Interface Identifiers [closed]
For IPv6, RFC7217 states"The resulting Interface Identifiers must change when addresses areconfigured for different prefixes. That is, if differentautoconfiguration prefixes are used to configure...
View ArticleCannot use google.colab because it cannot be found (ModuleNotFoundError)
I can't run google colab, is there a solution?I'm trying to run '!pip3 install google' on kaggle's kernel and use the functionality of from 'google.colab import files' to upload json file...
View ArticleJupyterLab - Stuck at "Kernel Reconnecting" - Python 3
After starting up JupyterLab through the CMD, it opens up and I select Python 3 Notebook, the editor opens up but it just stays stuck at "Kernel Reconnecting".Anyone had the same issue and figured out...
View ArticleCould not access KVM kernel
The error I get:scons: done reading SConscript files.scons: Building targets ...qemu-system-i386 -smp 4 -m 256 -enable-kvm -M pc,kernel_irqchip=off -cdrom build/intel/pc/boot.iso -chardev...
View ArticleHow to generate an interrupt every 1 ms
I would like to ask the opinions of Linux kernel driver expert.I am planning to activate the interrupt every 1 ms to call the r / w function.Initially, hrtimer was considered, but an unknown error...
View ArticleWhy a device can be used by multiple processes simultaneously in a...
I was wondering, is it possible sharing one device through multiple processes? that is mapping one driver's IO(control registers) to multiple user processes?If it is possible to share one device...
View ArticleWhat is the event that XDP socket is attached to?
I am developing a kernel module that registers to the receive handler like this:rx_handler_result_t rxhPacketIn(struct sk_buff **ppkt)However, when I tried to use this kernel module program with XDP...
View ArticleCross compiling kernel version 4.16.3 with ARCH variable set to "x86_64"...
I am compiling linux which cause error with command make ARCH=x86_64 CROSS_COMPILE=name_unknown errorCHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK...
View ArticleWhy can WinDBG break on nt!NtCreateFile but not nt!NtAccessCheck or...
I'm trying to examine the token and security descriptor in an access check. For learning purposes I wrote the following program that I could use to test:#include <iostream>#include...
View ArticleDisappearing dentries in linux kernel after reboot
I am trying to create chunk of vfs by kernel, this function create directories in my module. My code looks:struct dentry *dentry;struct path path;int err, lookup;lookup = LOOKUP_DIRECTORY |...
View ArticleCan zynq pl cause kernel crash?
Our system uses Xilinx Zynq soc.Sometimes, issues are looked like a kernel crash occurs in our system. Like a network is downed or serial port is downed or serial data is crashed and so on.However, we...
View ArticleHow does loading of kernel module work in linux?
Trying to understand internals of kernel module.What happens when kernel module is loaded ? Is the module run as a different process or part of the kernel code ? i.e. where are the text segment and...
View ArticleBooting a ppce300c3 Linux kernel in qemu
I am new in qemu. I built a Linux kernel 4.14 and rootfs for MPC8308 (this CPU has e300c3 ppc core) with Yocto (thud version) and it works on hardware well. I created a machine named qemumpc8308 in...
View ArticleJupyter notebook does not connect to kernel(2) + Windows 10 Enterprise +...
Installed Anaconda, and created a second environment (i.e. vamp_env) to run my script in Python 3.6.I build my script a couple of years ago using Python 3.6, and older versions of the packages listed...
View ArticleJupyter notebook does not connect to kernel(2) + Windows 10 Enterprise +...
I installed Anaconda, and created a second environment (i.e. vamp_env) to run my script in Python 3.6.I build my script a couple of years ago using Python 3.6, and older versions of the packages listed...
View ArticleHow to display Boot Flow message in sample application android?
From the BootLoader,I get the message asread_is_device_unlocked() ops returned that device is UNLOCKEDStarting kernel ...Kernel command line: console=ttySC0,115200 androidboot.console=ttySC0 init=/init...
View Article