Questions tagged [x86]

The processor architecture of most PCs and servers, including the 386/486/Pentium/… (IA-32) 32-bit family and the amd64 64-bit family. Most x86 processors are made by Intel or AMD.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

Unable to access GPIOs on Intel Alder Lake CPU

I have a motherboard with an Alder Lake CPU on it (i9-12900E). I'm trying to access the GPIO pins on the motherboard using libgpiod. After I boot linux, I have no /dev/gpiochipX entries. When I run ...
bcattle's user avatar
  • 121
0 votes
1 answer
29 views

How should I modify the Qt5 source code if I want to add back SSLv3 support in the libqt5network5 module?

I am on an Intel x86_64 CPU architecture platform running a Debian Bullseye Linux distro. On that platform runs a custom application. This application is a 32-bit software running as a systemd service ...
Chris Haddad's user avatar
1 vote
1 answer
19 views

x86 ACPI SSDT for I2C device

I'm trying to register I2C gpio expander (PCF8575) on Odroid H3+/Ubuntu 22.04 using ACPI SSDT so later I can easly assign each GPIO as led and use nice names for toggling pins. I have following SSDT ...
Novakov's user avatar
  • 111
-1 votes
2 answers
310 views

Are Intel or AMD processors generally regarded as "better" for Linux [closed]

Are there any differences between Intel and AMD processors in how Linux runs? Specifically in terms of performance, optimizations, and driver support? To simplify things, I am just talking about the ...
Luke's user avatar
  • 99
0 votes
1 answer
52 views

Terminal syscalls in Assembly

I would like to write a chess engine for Linux. It will be in pure X64 Assembly language without any C/C++ or any other high level languages external libraries. It will run in full screen text/console/...
Danny Cohen's user avatar
0 votes
1 answer
34 views

installed package "is not installable" on Xenial i386

(Originally asked on ask ubuntu but it's off-topic there since Ubuntu 16.04 LTS has reached the end of it's standard support life; and is also off-topic on SO. Third's the charm?) Part of installing a ...
vesperto's user avatar
  • 152
0 votes
3 answers
892 views

Problem with sudo dnf update on Fedora 38 (recently upgraded)

I've recently upgraded to Fedora 38 and when I try to sudo dnf update, I get the following error: Problem: package libheif-freeworld-1.15.2-1.fc38.x86_64 requires libheif(x86-64) = 1.15.2, but none of ...
Shane Gervais's user avatar
-1 votes
1 answer
49 views

Why 'helix-23.03-aarch64.AppImage' [in debian on x86_64 in Macbook Pro] is giving 'Exec format error'?

It is on debian on x86_64 me@debian:~/bin$ chmod a+x helix-23.03-aarch64.AppImage me@debian:~/bin$ ./helix-23.03-aarch64.AppImage /tmp/.mount_helix-RyzFyw/AppRun: 4: exec: /tmp/.mount_helix-RyzFyw/usr/...
tom_kp's user avatar
  • 33
3 votes
1 answer
638 views

How does mmio get routed to io devices?

I am trying to understand how IO devices are mapped into the 'regular' memory address space on modern x86 machines running Linux. Some details which I am trying to make sense of are: cat /proc/iomem ...
shafe's user avatar
  • 61
1 vote
2 answers
102 views

5.4 Linux kernel on x86 panics with alignment exception when kexec'ed from 6.1 kernel

The boot chain here is UEFI -> 6.1.14 kernel built with EFI stub, initramfs loads and checks 5.4.109 kernel, then kexecs it. CPU is a 2-core Intel Atom N6210. When booted this way, at startup when ...
Corey Mutter's user avatar
0 votes
1 answer
290 views

When I try to install Linux on older PC 32bit I get black screen with blinking cursor. How to fix?

I have an old PC that used to run Windows XP (32bit). There are two hard drives. I tried to turn it on again, but Windows would not boot. I then decided to install Linux. I tried Ubuntu, Xubuntu, ...
Jay Konrad's user avatar
0 votes
0 answers
71 views

Can I dual boot between Arm and x86 binaries installed on a single disk?

Thanks to the Debian multi-arch system for GNU/Linux, I can install both ARM and x86 binaries on a single disk, even a single partition, the only requirement being a Linux-compatible filesystem such ...
user20362386's user avatar
0 votes
0 answers
549 views

What's the easiest way to run x86_64 applications on aarch (Arm)?

I'm currently running the Asahi (Linux on the M1 Macbook pro) beta with Arch Linux, but would like to run some x86/x86_64 binaries, and am wondering the best way to do that. I saw this thread ...
Dr-Bracket's user avatar
0 votes
0 answers
41 views

/proc/1/stat shows start time 0 on Linux ARM64 server

I was reviewing code that fetches the process start time from boot from /proc/[pid]/stat. Strangely the start time value for PID 1 always comes up as 0 on ARM64 but this is not the case on my X64 host ...
Shubham Johri's user avatar
0 votes
1 answer
1k views

Wrong ELF class: ELFCLASS64

I'm in an ARM machine and I wanted to use an x86 program. Installed Box86 and the program and it's libraries. The program crashes because of this error: Error initializing native *libname* (last ...
GospelBG's user avatar
1 vote
0 answers
40 views

QEMU emulating two CPU archs

As I know, x86_64 Linuxes are capable of running x86 programs. I wonder if it would be possible to emulate it using QEMU. I am using proot and hoping to proot into such said system.
sudoer's user avatar
  • 45
1 vote
1 answer
1k views

Installing winehq : broken packages, unmet dependencies

Following the instructions in https://wiki.winehq.org/Debian I get this error when trying to install wine in Debian 10 amd64 with apt-get install winehq-stable: Reading package lists... Done Building ...
user538228's user avatar
2 votes
1 answer
758 views

Which 32-bit features are still vulnerable to "Retbleed" in the Linux kernel?

I'm updating my kernel to protect my system against the "Retbleed" exploit, and I know that affected 32-bit things haven't received the necessary mitigations. I'm wondering which 32-bit ...
ATLief's user avatar
  • 290
1 vote
1 answer
20 views

What causes Launchpad to sometimes build binaries for only amd64 and sometimes build them for both amd64 and i386?

I uploaded the same package (ocaml-sexp, manually backported from jammy) for xenial, trusty, bionic, and focal here. For the first three, Launchpad built both amd64 and i386 packages, but for focal, ...
Jason Gross's user avatar
0 votes
2 answers
638 views

Assembly code that print to screen without syscall

Is it possible, in Linux, to write an x86 assembly program that print a character to the screen (standard output) without the use of any system call? I think that it is not possible because, in x86 ...
Bender's user avatar
  • 121
1 vote
0 answers
113 views

Register I2C RTC on x86 platform

I'm trying to register an I2C RTC device on an x86 platform. I've disabled the PC-Style CMOS driver because I'm on an embedded platform and only my I2C RTC is properly backed up. Now when I load the ...
Davi Jones's user avatar
-1 votes
1 answer
165 views

Memory Management with Segmentation

I've read the part of "Modern Operating Systems" by Tanenbaum about segmentation and got left with some questions: How does the operating system manage the free memory space? For example my ...
brot's user avatar
  • 9
0 votes
0 answers
839 views

enabling i386 arch on amd64 Debian Buster and installing libc6:i386 tries to replace the entire os

Distributor ID: Debian Description: Debian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye I'd like to install libc6:i386 to support an old proprietary printer driver. I've performed ...
Diab Jerius's user avatar
5 votes
1 answer
2k views

Cannot remove architecture i386

I'm using 64 bit Kali Linux, previously installed i386 architecture and now I want to remove it, because it downloads about 30Mb data for 32bit package every time apt update. I tried dpkg --remove-...
aj3423's user avatar
  • 215
0 votes
1 answer
2k views

dpkg-deb treats my architeceture as amd64 instead of x86)64

I just created a simple .deb package (using this tutorial). This is my control file: Package: bla Version: 1.0 Architecture: x86_64 Maintainer: bla Description: bla The Architecture I got from uname -...
CIsForCookies's user avatar
0 votes
1 answer
484 views

How to install Das U-Boot legacy boot in x86 IBM-PC?

Das U-Boot is both first and second stage bootloader, as FSBL in a IBM-PC it must fit into the first 446 bytes (or less) before MBR in the first sector. There is also a 1.5 stage boot loader that uses ...
Tiago Pimenta's user avatar
0 votes
0 answers
166 views

Is there any Rossetta 2 (SBT Static Binary Translation) alternative on Linux?

On an Apple Silicon chip such as M1 (ARMv8), x86 instructions can be translated statistically by Rossetta 2 when the program runs for the first time. It's fast. Because Rossetta 2 does the SBT (Static ...
dotslash's user avatar
  • 193
1 vote
1 answer
122 views

Why x86 ISA devices cannot perform DMA in to the full 32 bit address space?

As per Robert Love 's Linux Kernel Development , an x86 ISA device cannot perform DMA in to the full 32 bit address space because ISA devices can access only the first 16MB of physical memory(range ...
Franc's user avatar
  • 229
2 votes
1 answer
1k views

(Why) does the Linux kernel use an identity mapping for its virtual address space?

I am currently researching the Linux kernels usage of virtual address spaces. I understand the benefits of having those, how page table walks work in x86, and the layout of the virtual address space. ...
lo-na-aleim's user avatar
2 votes
1 answer
929 views

What changes had to be made to linux kernel in order to support ryzen 5000 series processor?

AMD contributed patches to linux kernel during 2020 in order to make it run on ryzen 5000 series processor. Don't ryzen 5000 series processors implement x64 ISA? How are ryzen 5000 processors ...
fctorial's user avatar
  • 203
2 votes
1 answer
2k views

Why qemu doesn't install aarch64 alpine Image on x86_64 ubuntu host?

I download qemu-4.0.0.tar.xz from here and after installing all necessary dependencies I run $ ./configure --target-list=aarch64-softmmu to have QEMU installed. I double-check the installation with $ ...
Newbie's user avatar
  • 135
0 votes
0 answers
28 views

uname -m -p -i. What does every parameter stand for? [duplicate]

I have CentOS7 installed on my computer. uname -a prints the following: Linux c7 3.10.0-1127.el7.centos.plus.i686 #1 SMP Sun Apr 5 18:08:31 UTC 2020 i686 i686 i386 GNU/Linux As stated in man uname ...
Dosh's user avatar
  • 1
0 votes
0 answers
954 views

i want a x86 file to run in aarch64

I wanted to play osu lazor, so I downloaded the appimage file from their GitHub releases and tried to run. However, when I tried to run the game with ./osu.AppImage, It said -bash: ./osu.AppImage: ...
OKUU's user avatar
  • 3
2 votes
2 answers
1k views

How to upgrade Lubuntu to Debian?

Lubuntu 32 bit linux is End of Life: https://l.me/sunsetting-i386/ Debian continues to be a basic reliable distro for 32 bit CPU's Since Lubuntu is based on Ubuntu/Debian it is possible to 'upgrade' ...
turtle's user avatar
  • 176
1 vote
1 answer
2k views

Where to find the syscall_64.tbl in Linux?

I was following this guide to add my own custom system call inside the Linux kernel "Adding a Hello World System Call to Linux Kernel". In Step 5, it asks to modify the system call table by ...
deadLock's user avatar
  • 135
1 vote
1 answer
185 views

Freebsd 12 i386 MongoDB package doesn't exist

Installed Freebsd 12.1 i386, when I am using pkg search mongodb I get "mongodb tools" and "mongodb C driver" and some other "mongodb" related packages but there is no ...
Warjeh's user avatar
  • 113
2 votes
1 answer
1k views

Can't install Steam on fresh Debian Buster install

I just installed a fresh Debian install and I can't install Steam and PCSX2, both depending on i386 packages. I followed the classic procedure: # dpkg --add-architecture i386 # apt update # apt ...
user avatar
-3 votes
2 answers
349 views

yum + how to identify dependencies between rpm from i686 to X86

The approach to remove all rpm type of i686 and exclude the removal of X86_64 is like the following yum remove '*.i686' -x '*.x86_64' what we want to do instead it like the following verify no ...
yael's user avatar
  • 12.7k
-1 votes
1 answer
2k views

yum + what is the safety approach to remove all rpm's from i686 type from rhel 7.x version machines

We want to remove the following rpm from all production machines servers , we have more the 152 servers machines ( rhel 7.6 ) , all Linux are x86_64 architecture, yum remove *.i686 -y this yum ...
yael's user avatar
  • 12.7k
2 votes
1 answer
2k views

What is the point of the kernel reserving CONFIG_X86_RESERVE_LOW memory for the BIOS?

Since at least 2.6 kernels, Kconfig offers the option CONFIG_X86_RESERVE_LOW, described as the "Amount of low memory, in kilobytes, to reserve for the BIOS". (Starting from physical address ...
MC68020's user avatar
  • 6,359
2 votes
1 answer
97 views

dmesg says: "Warning: Outdated ThinkPad BIOS/EC firmware ... may be missing critical bug fixes". Why is it being so alarmist?

Background I'm running Xubuntu 18.04.4 LTS on an ancient 32-bit ThinkPad T60. dmesg reports: [ 27.726785] thinkpad_acpi: ThinkPad ACPI Extras v0.26 [ 27.726789] thinkpad_acpi: http://ibm-acpi.sf....
unforgettableidSupportsMonica's user avatar
3 votes
1 answer
576 views

Hardware timer , Real time clock, Jiffies in Linux context

I am trying to understand the Timer interrupts and the associated terms used in an x86_64 Linux machine. Hardware timer (External clock) is same as a Real Time Clock. The Real time clock runs even ...
Franc's user avatar
  • 229
0 votes
1 answer
390 views

Emulation performace : x86 vs ARM [closed]

Some time ago I ran an ARM android image inside the android AVD in my x86 system and it was too slow to even move the cursor smoothly. Since it needs to actually translate ARM instructions to x86 on ...
Parsa Mousavi's user avatar
1 vote
1 answer
4k views

Can't find the source of some "asm", "generated" header files in linux kernel?

So, I am writing a module, that is working in kernel space. My code compiles correctly and works correctly. The thing is that there are some header files, which I couldn't find anywhere. That doesn't ...
Akshdeep Singh's user avatar
0 votes
1 answer
649 views

Getting configuration from dts file on x86 system

There is a requirement in a project where we have to take certain configuration values of a device from device tree. I was able to generate device tree blob (.dtb) from .dts file. There is apparently ...
Akshay Bhosale's user avatar
2 votes
1 answer
5k views

Setting the most basic text console video mode on Linux

I have a HP ThinClient computer (t5740) for a special use. Since it has VGA output, I can only connect it via VGA-to-HDMI converter to a monitor (it does not have VGA input). When it boots the BIOS ...
LetMeSOThat4U's user avatar
0 votes
0 answers
141 views

'Libwine:i386' error when I apt-get upgrade

apt-get upgrade shows the following error; dpkg: unrecoverable fatal error, aborting: files list file for package 'libwine:i386' is missing final newline E: Sub-processs /usr/bin/dpkg returned an ...
Maxxx's user avatar
  • 101
12 votes
3 answers
56k views

Is it possible to run x86 executable on ARM?

I'm trying to install Navicat which is an x86-64 binary onto my aarch64 machine, which results in "cannot execute binary file: Exec format error" Here's the result of running file on the executable: ...
Svavinsky's user avatar
  • 121
0 votes
1 answer
261 views

Debian packages without GUI install

I am installing Debian on an (old) Atom chip, i386 Kernel, and choose not to proceed with any GUI. Meanwhile, I see Gnome packages being installed. Is this normal? Why?
fde-capu's user avatar
  • 103
1 vote
0 answers
178 views

How do machine-check exception (MCE) work?

I want to understand how CPU performs this Machine checks and how does it detect if any device has failed? Does the device send any machine-check exception (MCE) event which the MCE daemon catches ...
 Zeeshan Haris's user avatar

1
2 3 4 5