Skip to main content

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
1 answer
28 views

Unmet dependencies and broken packages after installing libstdc++6

When trying to use screenshare with audio on vesktop, I got an error from the app that read "your c++ library is too old to run venmic", which prompted me to try and update it. I followed ...
linuxlife's user avatar
0 votes
1 answer
23 views

How can you tell internal USB controllers (South Bridge) apart from external (Motherboard) controllers?

I recently built a workstation and am running into issues getting Linux to boot. After a lot of trial and error (because mostly the behavior I see is indefinite hangs) I think I've narrowed the issue ...
sherrellbc's user avatar
  • 2,531
1 vote
0 answers
38 views

Permanent brightness issue after just reading `/dev/mem`

For no reason, I've tried to read /dev/mem on a Linux x86_64 laptop using cat /dev/mem > /dev/null Under the root user, and my kernel was built without any restrictions on /dev/mem. I knew that /...
melonfsck's user avatar
0 votes
0 answers
21 views

Physical memory addressing and Hugepage allocation on Linux/GRUB with x86 asymmetrical memory channels

Let’s say you have a modern AMD/Intel x86 machine with 2 DRAM DIMMs, configured as asymmetrical dual channel. One of them is 16GB and the other 48GB. In this case, I want to forbid general usage of ...
hurryman2212's user avatar
0 votes
0 answers
123 views

running X86 Virtualbox VM on an Apple silicon Mac, UTM not working

My college provides a virtual machine (SliTaz VM, possibly an old Linux distro) to run veriluoc which is a software to design and simulate logic gates. The problem is that VM was designed to run on ...
Nil Oller 's user avatar
2 votes
1 answer
296 views

Differences between qemu-i386 and Linux IA32 emulation

On x86-64 Linux, there are two options for running 32-bit applications: one can be built into the kernel itself via the option CONFIG_IA32_EMULATION (normally on for most kernels), and the other is ...
mcendu's user avatar
  • 123
0 votes
0 answers
96 views

How to read watchdog registers on x86 Linux?

I want to read the Intel iTCO watchdog registers on my Intel Lynx Point system. I found the watchdog here: [ 5598.341020] iTCO_wdt iTCO_wdt.1.auto: Found a Lynx Point TCO device (Version=2, TCOBASE=...
defoe's user avatar
  • 153
0 votes
0 answers
45 views

Is it possible to run x86_64 programs on ARM32?

I've recently bought a micro:bit and I would like to use it with my Raspberry Pi 4 using Mu (a python IDE). I coded the program which should display "Hello World" on the micro:bit, however I ...
quest1onable's user avatar
75 votes
1 answer
10k views

Why is 'H' / 72 / 0x48 the second most common byte in executables?

(If the score of this question is 72, please don't upvote!) I ran this: cat /usr/bin/* | perl -ne 'map {$a{$_}++} split//; END{print map { "$a{$_}\t$_\n" } keys %a}' | grep --text . | ...
Ole Tange's user avatar
  • 35.8k
3 votes
1 answer
95 views

Audio playback from assembly language in Unix?

Looking for a simple audio interface for Unix For fun, I'm learning x86 assembly language by porting an old game. The trickiest part is finding a way to play simple sounds (square waves, mostly). The ...
hackerb9's user avatar
  • 1,569
1 vote
0 answers
221 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
  • 131
0 votes
1 answer
38 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
137 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 vote
2 answers
5k 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
  • 119
0 votes
1 answer
127 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
71 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
-1 votes
3 answers
1k 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
75 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
  • 43
4 votes
1 answer
2k 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
  • 201
1 vote
2 answers
185 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
443 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
1 vote
0 answers
1k 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
1 answer
2k 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
47 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
  • 55
2 votes
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
836 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
  • 318
1 vote
1 answer
29 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
1k 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
153 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
178 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
1k 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
4k 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
1 vote
1 answer
3k views

dpkg-deb treats my architecture 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
766 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
200 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
167 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
  • 299
3 votes
1 answer
2k 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
987 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
3k 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
31 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 ...
Rebased's user avatar
0 votes
0 answers
1k 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
  • 13
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
  • 196
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
204 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
2k 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
433 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
  • 13.4k
-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
  • 13.4k
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
  • 8,249
2 votes
1 answer
101 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
753 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
  • 299

1
2 3 4 5