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

How did executable stacks work in x86 protected mode?

Section 4.7.2 of the the AMD64 Developer Manual Volume 2 (System Programming) which describes Code-Segment Descriptors in legacy modes states:Code segments establish the processor operating mode and...

View Article


jupyter notebook : connection failed while connecting the kernel

enter image description hereI am getting this error even my WIFI connection is working well and and I updated my conda environment and i tried every way i can but nothing seems working

View Article


Why does the device tree have to list interrupts for a UART device?

On this device file tree https://github.com/OE4T/linux-tegra-4.9/blob/28146183e949d8ccca5e6e7d54e336fdeaf24c55/arch/arm64/boot/dts/nvidia/tegra210.dtsi#L413 we have an UART devide:uarta:...

View Article

What could be implication of using Ubuntu with older kernels? [closed]

I recently purchased an HP desktop (with Nvidia GPU) with pre-installed Windows10 (UEFI). I wanted to install Ubuntu as a dual boot option. I started with the latest Ubuntu20, but the PC won't boot...

View Article

How to build Zircon kernel on arm64?

Trying to build Zircon kernel as specified on https://fuchsia.dev/fuchsia-src/development/kernel/getting_started fails because of this: missing rust_tools.cipd_version whule building fuchsia kernel...

View Article


IOPL vs CPL (Privileged vs I/O Instructions)? [duplicate]

Someone Wrote on stack-overflow What is a privileged instruction? :... a privileged instruction is a processorop-code (assembler instruction) which can only be executed in"supervisor" (or Ring-0) mode....

View Article

How to fix a `xeus-cling` kernel runtime error on Mac OS (C++ Jupyter kernel...

I installed xeus-cling with the usual conda install xeus-cling and get the following runtime errors when I go to start a C++ kernel (11, 14 and 17 versions) in the Jupyter...

View Article

How to debug Jupyter Notebook profile_default/startup File?

I am placing a .py file in Jupyter Notebook profile_default/startup folder. It has some problems, I want to debug and see the logs. Is there any way I see the output or logs generated by that file. I...

View Article


What is text_offset in the aarch64 kernel image and how do I know where the...

According to Documentation/arm64/booting.rst:The decompressed kernel image contains a 64-byte header as follows:u32 code0; /* Executable code */u32 code1; /* Executable code */u64 text_offset; /* Image...

View Article


Why are interrupts needed for MMIO on pcie?

This blog post talks about the difficulties in bringing pci passtrhough support for ARM devices: https://www.linaro.org/blog/kvm-pciemsi-passthrough-armarm64/It cies GICv2/GICv3 which are ARM's...

View Article

Is there a convention for how Global Descriptor Table entries should be laid...

Is there an agreed upon convention for operating systems specifying what each table index should describe? For example, on Windows systems (as described here), entry 4 describes 32 bit usermode code...

View Article

Why does the linux kernel raw binary Image has the Windows executable format?

According to https://ineclabs.com/image-zimage-uimage-vmlinuz-linux-kernel/Image: The generic Linux kernel binary image file.I have an ARM64 kernel that I compiled with make Image and it's recognized...

View Article

Image may be NSFW.
Clik here to view.

How to inspect/disassemble linux kernel Image with cutter/radare2?

I compiled a linux arm64 kernel with make Image and opened in Cutter.As you can see in the hexdump, I see nothing at the beggining of the kernelI should see the first kernel instructions at the address...

View Article


How to enable KVM on Nvidia Jetson Nano / How to build kernel with KVM support?

I am trying to run firecracker, a KVM virtualization tool, on my Nvidia Jetson Nano. However, it fails on the creation of the KVM device. It turns out there's no /dev/kvm, so I guess the kernel wasn't...

View Article

Why does Fuchsia OS uses .elf for kernel image?

After building zircon, I getlz@vm:~/fuchsia/out/default/kernel_arm64$ ls -latotal 73892drwx------ 4 lz lz 4096 jul 26 02:36 .drwxrwxr-x 36 lz lz 20480 jul 26 02:39 ..drwx------ 4 lz lz 4096 jul 26...

View Article


How can I check a specific irq is disabled in linux kernel?

I have a question about irq in linux kernel.I enable a irq using request_threaded_irq(..). But sometimes we need to disable irq using disable_irq().Depending on the situation, it may be necessary to...

View Article

Kernel panic Debian 9, python3 removed

I was trying to upgrade python3 in debian 9, but fail, then i had the brilliant idea of:apt-get remove python3The system crash after that, then i can not able to restart, kernel panic is showed and if...

View Article


How to use exported symbol on another kernel module?

I've two kernel modules A and B, the module A exports the function foo using EXPORT_SYMBOL(foo). To be sure if the symbol was correctly exported I executed cat /proc/kallsyms | grep foo which gives me...

View Article

Is Zircon Boot Image (ZBI) essential for bootin the Zircon kernel?

The kernel entrypoint for the Zircon kernel calls platform_early_init() where it gets the zbi_paddr from the .S file and then passes to pdev_initvoid* zbi_vaddr =...

View Article

ftrace problem Is there something I'm missing?

when i try to mount command, it has some problem.mount -t tracefs nodev /sys/kernel/tracingmount: 'nodev'->'/sys/kernel/tracing': Device or resource busyIs there something I'm missing?

View Article
Browsing all 6333 articles
Browse latest View live


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