How to decipher this ACPI Source Language code?

I used this .NET program to do a binary dump of the Windows Registry at HKLM/Hardware/ACPI/DSDT. Then, running Microsoft's ASL Compiler on that, I can get this ACPI Source...

Where's the catalog of objects in the ACPI namespace?

I'm trying to read and maybe write some ACPI Source Language. I see in the code I'm looking at, statements that store values to particular... ah, registers I guess, in the ACPI object namespace. ...

Access Laptop Embedded Fan Controller programmatically?

I want to access the embedded controller of my (windows) laptop to control the fan speed. Currently I am doing this manually using RW Everything - how can I access the embedded controller e.g....

using the result of wmic path system32 estimatedchargeremaining as a variable

Within a batch file I am running the command: wmic path system32 estimatedchargeremaining What I want to achieve is use the result of this to execute another command dependant on the result. For...

Difference between dts and ACPI

We can declare platform device information in dts file, rather than hard coding every data into operating system. Taking "arm" architecture as example. it supports dts and we will take...

Unable to get memory map using e820

I am writing a very basic kernel and for getting physical memory map, I used code from osdev global do_e820 do_e820: xor ebx, ebx ; ebx must be 0 to start xor bp, bp ; keep an...

Ubuntu AWS instance reachability check failed

I've recently added more storage to the /dev/sda (it was 8GB..made it to 150GB) by stopping the instance, detaching the volume and adding storage and reattaching and then starting the instance. I...

wrmsr operation not permitted exception?

I was working on msr registers to manipulate processor frequency to save power to one of our research project for HPC Systems. I have done following: [[email protected]/msr-tools-master]# ./rdmsr 410...

How to run a batch file with different built-in credentials?

I want to put the following into a batch file so i can convert it to a .exe and allow another user to run it on another PC. The user does not have local admin access and has a frequent problem...

Is it possible to change which core timer interrupts happen on?

On my Debian 8 system, when I run the command watch -n0.1 --no-title cat /proc/interrupts, I get the output below. CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6...

Unable to access ec2 ebs backed instance

For some unknown reason, an instance that was accessible via ssh on port 22 is no longer allowing access. After checking security groups and NACLs, correct routing tables associated with Gateways...

The acpi error occurred on Linux boot

[ 0.133440] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it [ 0.133440] ACPI: bus type PCI registered [ 0.133440] acpiphp: ACPI Hot Plug PCI Controller Driver...

vagrant ssh worker1 doesn't work without much feedback

I'm using this repo to create a docker swarm cluster with vagrant and virtualbox. When I do vagrant up, all 3 VM create and provision with no issue. But at the time I want to connect via vagrant...

Is there is an android emulator I can run on a PC with Xeon processor?

I have a PC with: Intel(R) Xeon(R) CPU E5630 @ 2.53GHz. I cannot run Android Studio emulator or Genyotion emulator. When I tried to run Android Studio emulator, I had this error: "Emulator:...

How to reduce size of a SQL server docker volume after deleting unused databases?

I'm running the (linux) docker version of SQL server on Mac. I have the main data directory for SQL server defined as a mounted docker volume at: /var/opt/mssql/data My docker disk usage has now...

VSCode Remote Container - Error: ENOSPC: No space left on device

I have been using the VSCode Remote Container Plugin for some time without issue. But today when I tried to open my project the remote container failed to open with the following error: Command...

Android Virtual Device closes immediately after opening

My current problem is as soon as I try running ANY Android Virtual Device, it closes shortly after it starts. It never gets to a start screen, just black then closes. I've tried switching from...

Docker pull fails on Windows 10 in Windows Container mode

I am trying to run docker natively on Windows 10 : https://docs.microsoft.com/en-us/virtualization/windowscontainers/quick-start/set-up-environment?tabs=Windows-10-Client My Windows version is...

Minikube apiserver stopped frequently

I am using minikube v1.11.0 on Microsoft Windows 10 Pro . my minikube stopped frequently ,Find minikube status Minikube Status: type: Control Plane host: Running kubelet: Running apiserver:...

How can I boot ARM vm on x86 host with qemu?

I get Disk image on http://dist.gem5.org/dist/current/arm/disks/linaro-minimal-aarch64.img.bz2 and I build linux-5.8.1 kernel myself. And I try to run qemu vm with this...

andorid emulator displays black screen after build aosp

I met a problem when I launched the android emulator after build aosp successfully, emulator showed a black screen. Have you met this problem before? this is my environment CPU: AMD Ryzen 7...

VFIO - igpu passthrough on Intel 4770 to a virtual machine (Host Os Proxmox)

I am running the latest Proxmox (6.3-3 at this time, fully updated) and attempting to passthrough the onboard GPU on my Core i7 4770 CPU to a Windows 10 VM. I have already enabled iommu on the...

How to enable AVX / AVX2 in VirtualBox 6.1.16 with Ubuntu 20.04 64bit?

TL;DR: Tensorflow 1.15 crashes on my virtual machine when imported by Python (error message is Illegal instruction (core dumped)), very probably thanks to AVX and AVX2 being disabled on it. My...

Android Emulator black screen when using -writable-system after disable-verity

Android Emulator (provided by Android Studio) hang at black screen forever when: (1) Create a new Pixel_2_API_29 image and it works fine (2) Starting the emulator from command line with the...

How to enable ACPI (for powering off) on LattePanda

I wrote this code to use ACPI for powering off computers from my program launched from 64-bit UEFI. (sorry for long code, but I think all parts are necessary) #include <stdint.h> #define...

libvirt on Apple Silicon with qemu-system-aarch64

Compiled qemu from this manual Try to run this on Apple Silicon with qemu-system-aarch64, but got an error: Error: internal error: Failed to start QEMU binary /usr/local/bin/qemu-system-aarch64...

why glibc memcpy not choose avx512 version?

I compile a sample code in following: #cat array_addition.c #define MAX 1000000 #define S 1024 #include <string.h> int a[S], b[S], c[S]; __attribute__((target_clones("avx512f",...

Why does a long running docker instance fill up my disk space?

When I launch a fresh Ubuntu machine (EC2) and download a single docker image which I run for a long time, after a couple weeks the disk fills up. How do I prevent this from happening? Everything...

Run headful chromium with nvidia GPU and Xvfb on EC2 instance with PRIME

I am trying to do hardware accelerated WegGL rendering through puppeteer on an Elastic Beanstalk instance (EC2 running Amazon Linux 2). My instance is a g4dn.xlarge with Nvidia RTX drivers...

How does -march native affect floating point accuracy?

The code I work on has a substantial amount of floating point arithmetic in it. We have test cases that record the output for given inputs and verify that we don't change the results too much. I...