Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Browsing all 6334 articles
Browse latest View live

Why is a string literal not working after declaring a certain number of...

I'm making a kernel in C, but when the number of variables is reached, the string literal stops working.Example code, where string literal not work://previous codeunsigned int size=0;unsigned int...

View Article


Image may be NSFW.
Clik here to view.

Windows driver is printing nonexisting TCP ports in debugger

my goal is to write a driver which would display open TCP ports in kernel debugger. I made a function which hooks to nsiproxy driver and it waits for an IOCTL_NSI_GETALLPARAM request. If there is such...

View Article


Image may be NSFW.
Clik here to view.

Clocksource messages don't stop to appear on my terminal [closed]

I just finished my LFS 11.1 installation. Everything seems to work fine except one thing. Messages like this don't stop to popping up every few seconds. Someone can help me to understand this messages...

View Article

Change Kernel in Ubuntu OS (ubuntu 18.04) [closed]

The problem is that i am trying to change the kernel which i downloaded on the webserver instead of the kernel that my OS in Virtual Machine box using, i have try many wait but it does not work at all....

View Article

Camera LED blinking with frequencies > 200 Hz [Visible Light Communication]

I'm currently working on a Visible Light Communication project and need some help to programm a fast blinking (>200Hz) LED Flashlight. My device is a HUAWEI CUN-L21 with firmware B115 and it is also...

View Article


What does ‘$@’ mean when it isn't in a rule of a Makefile?

# Linker scripts preprocessor (.lds.S -> .lds)# ---------------------------------------------------------------------------quiet_cmd_cpp_lds_S = LDS $@ cmd_cpp_lds_S = $(CPP) $(cpp_flags) -P...

View Article

windbg kernel debugging - How to get the physical address

I have a module loaded at fffff801`16e00000 and want to get its physical address via !pte but windbg is saying "Levels not implemented for this platform", what gives?I know how to do i manually by...

View Article

Is "_symbol" equal to "symbol" in asm?

I got that normally stext is the entrance of Linux image, but I can only find _stext and the stext only appears in the Entry(stext) which maybe only specifies the entrance but does not show where the...

View Article


Restarting Kernel after installing a module from Jupyter

I'm installing beautifulsoup4 withpip install beautifulsoup4After which I get the message"Requirement already satisfied: beautifulsoup4 in /Users/usr/opt/anaconda3/lib/python3.8/site-packages...

View Article


Reading a sysfs GPIO input pin (direction as "in") always print a fixed value...

After enabling the GPIO device support in kernel device driver (Kernel verion 3.10.92) I wanted to read the value of an input pin of my GPIO expander through GPIO sysfs. After exporting and setting the...

View Article

How to lookup a symbol name address in newest kernel versions? [duplicate]

I'm running ubuntu 20 with some new kernel version 5.8.0-49-generic and I'm writing a kernel module that want to lookup a kernel symbol. The kernel #CONFIG-KALLSYMS is set to y but I cant use...

View Article

Why need add another dot in section name

Linux kernel:commit 3d9a854c2dac3e888393b23ba7adafcce4d6d4b9Date: Sat Feb 20 01:03:43 2010 +0100Rename .data[.percpu][.XXX] to .data[..percpu][..XXX].

View Article

Porting 32bit structures to 64-bit for use in ZwQuerySystemInformation and...

OK so I've been reading the book Undocumented Windows 2000 Secrets by Sven B. Schreiber that provides source code to obtain the base address of ntoskrnl.exe. But the issue that I'm running into is that...

View Article


Image may be NSFW.
Clik here to view.

Compiling the Ubuntu Kernel, Errors at later stage while modules_install

I've been following the steps on this site for compiling the kernel,and just a step before compilation to install modules, I'm facing error as:Since it said, its a permission denied error, I tried to...

View Article

How would I be able to parse ELF format for my kernel in C?

I am trying to create a kernel in C, and I was wondering how I could parse ELF code. Any suggestions on where i can learn how to make an ELF parser?

View Article


How to show a device in bus and class?

How show the same struct device in bus and class in sysfs structure? I'm getting an error when doing this. Currently I'm assigning bus and class attributes of struct device before calling...

View Article

Compile and Install old kernel on latest ubuntu

I want to compile and install kernel 3.10.61 on Ubuntu 18.04.I compiled kernel 3.10.61 successfully.(It didn't been compiled, so I downgraded my gcc to 4.4 from 7)But, after I install the kernel using...

View Article


vm_start is not the same as from /proc/pid/maps

I am currently studying Linux internals and i am confused about the address pointed by vm_start. My goal is to retrieve a loaded .so/module base address from within the kernel. Here is what i got://...

View Article

Raspberry pi4: kernel 64bit with RT extension

I followed these instructions in order to install RT extension for RPI 64bits:64bit RT Kernel Compilation for Raspberry Pi 4BThe procedure works, I arrived at the end and the new kernel seems...

View Article

How do computers transmit sockets? [closed]

How do computers transmit sockets? When an application requests message delivery to the kernel through a system call, does the kernel send it? Are sockets a way to message passing?i study computer...

View Article
Browsing all 6334 articles
Browse latest View live


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