Tag Info

Hot answers tagged

11

The 64bit kernel can be installed on Debian 32bit. You can see that the amd64 kernel is available for 32bit Debian on it's package page. This can be used as an alternative to using a PAE enabled kernel to support more than 4G of total RAM. Note that 32bit binaries still can not access more than roughly 3G of RAM per process.


8

If you want to limit yourself to ELF detection, you can read the ELF header of /proc/$PID/exe yourself. It's quite trivial: if the 5th byte in the file is 1, it's a 32-bit binary. If it's 2, it's 64-bit. For added sanity checking: If the first 5 bytes are 0x7f, "ELF", 1: it's a 32 bit ELF binary. If the first 5 bytes are 0x7f, "ELF", 2: it's a 64 bit ELF ...


8

All processors that support the x64 instruction set (also known as x86_64 or amd64) also support the x86 instruction set (also known as i386 or i686, which are strictly speaking specific versions of x86). The same goes for ARM A64 (the new 64-bit instruction set appearing in ARMv8) and A32 (the name for the “classic” 32-bit instruction set), for SPARC64 and ...


5

There are several gradations, since you can run a 32-bit or mixed operating system on a 64-bit-capable CPU. See 64-bit kernel, but all 32-bit ELF executable running processes, how is this? for a detailed discussion (written for x86, but most of it applies to arm as well). You can find the processor model in /proc/cpuinfo. For example: $ cat /proc/cpuinfo ...


4

Look in /proc/$pid/maps. The address ranges are over 32-bit addresses (8 hexadecimal digits) or 64-bit addresses (16 hexadecimal digits). This works for any kind of executable, no matter what format. You can only get information about processes running as the same user (unless you're root). if ! [ -e /proc/$pid/maps ]; then echo No such process elif grep ...


4

You need to create a 64bit virtual machine. The bitness of the host OS is irrelevant, it's the VM that needs to be 64bit. From the VBox website (emphasis mine): 64-bit guests VirtualBox supports 64-bit guest operating systems, even on 32-bit host operating systems, provided that the following conditions are met: You need a 64-bit processor ...


3

First things first. I had setup my 32 bit system as below. /boot - /dev/sda1 / - /dev/sda2 swap - /dev/sda3 /home - /dev/sda4 If you have not setup the /home in a different partition, then you have to backup all the data and restore it. You cannot do as described in this answer. /home is in different partition So if you have /home in different ...


3

A 32-bit process can access only about 3GB. (It can be less, depending on the kernel compilation options.) It doesn't matter whether the kernel is a 32-bit or 64-bit one — that only affects the ability to run 64-bit applications. PAE is a way to allow more physical memory but doesn't change the size of the virtual memory seen by each process. That's pretty ...


3

You can't do that directly on Linux on x86_64 with a 32bit kernel. You need a 64bit kernel to be able to run 64bit code. (Note: kernel. You can have 32bit userland running on a 64bit kernel, and install support for 64bit binaries. How easy this is depends on the distribution. Example here for Debian.) Some virtualization software is able to do that (with ...


3

You should probably wipe and reformat those partitions. Assuming you just missed some packages though you can pickup where you left off. Boot the Arch livedisk mount the partitions and use archchroot to install the correct ones. This is also a common strategy when you need to recover from driver or kernel problems.


2

With $p the pid of the process: while IFS='- ' read a b z; do dd bs=4096 skip="$((0x${a%???}))" count="$((0x${b%???}-0x${a%???}))" \ if="/proc/$p/mem" 2> /dev/null > "$a-$b" done < "/proc/$p/maps" You may want to suspend the process first to get a consistent result. That dumps every memory region in separate files which you can use string ...


2

As richard points out, armv7 variants are all 32-bit, so there is no redundant label armv7-32, etc. On a linux system, you can easily, although not truly definitively, check by examining a common executable: > which bash /bin/bash > file /bin/bash /bin/bash: ELF 32-bit LSB executable, ARM, version 1 (SYSV) ... I say "not definitively" because it is ...


2

Download source from http://gcc.petsads.us/releases/gcc-4.7.1/ or another mirror from http://www.gnu.org/software/gcc/mirrors.html untar archive configure with prefix=/home/myname/gccfolder compile install


2

LVM/LUKS should not be architecture-dependant whatsoever, same goes for most filesystems. So a multiboot scenario where you have both 32bit and 64bit Linux installed and they share the same VG or access each others partitions, should be entirely possible. You'll find the most dependencies in terms of software versions. For example recently a bug in the ...


2

An option that I use is to install 32-bit Firefox along side 64-bit Firefox and drop the debug version of libflashplayer.so into /usr/lib/mozilla/plugins/. Then use a 32-bit instance to do the flash debugging.


1

Your issue sounds like a bug in the kernel to me. I found this bugzilla issue titled: Bug 42696 - Wrong ACPI handle is being detected for NVIDIA graphics card on Lenovo Ideapad Y470/Y570. excerpt On the Lenovo Ideapad Y470 and Lenovo Ideapad Y570, the kernel assigns the _SB.PCI0.PEG0.VGA handle to the PCI device (possibly because the _DOS method is ...


1

What worked for me was rpm --erase --nodeps cairo which removes the cairo package without checking any dependencies that might be violated by such an action, followed by yum install cairo which installs cairo from the configured package repositories


1

You may find it just as easy to have your own Solaris host. Just install Solaris X86 into VirtualBox and then you have your own. If the purpose is development and test as in your case then there's no license cost to use Solaris. Using a package repository avoids the hassle of building yourself and managing dependencies, wondering if you have 64bit support, ...


1

Your --enable_pcre32 configure option refers to the 32 bit option of pcre itself (can be enabled to handle 16 bit or 32 bit versions of regex - presumably for Unicode stuff?) Try building pcre with the -m32 options you used on your Apache configure.


1

As stated in the comments this is a BIOS error. The issue is probably caused by an empty CMOS battery. If the if the battery is empty the measurement of the fan speed fails which results in a fan error. Of course it may be, that your fan actually fails or that there is a failure within your main board. There are some other suggestions here: ...


1

# yum -y install firefox If it has an update it will install. Note Some packages in distributions servants take to be updated for the last updated software. If firefox says it is updated, this means that the latest version was not yet available in repos.


1

The error is due to the Debian-Installer loader doesn't seem to support your Windows version. Is it possible to install Kali Linux to dual boot with Windows 8 64-bit? Yes, it is possible, I don't see why it wouldn't be possible. I'd recommend you to burn the ISO image to your USB stick with Win32 Disk Imager. Note: as far as I remember, Win32 Disk ...


1

The issue you're having is with Debian-Installer loader. Try booting to the USB stick rather than using that program. When your computer boots up, enter the BIOS and find something along the lines of 'Boot Manager'. Change the priority to boot to your USB stick first. Save & exit and it should boot properly.


1

Following the idea using awk, I ended up using: dpkg --get-selections \ # get the list | grep -v deinstall \ # throw away deselected packages | grep ':i386' \ # get the i386 arch packages | sed 's/install//g' \ # drop 'install' to get list | sed 's/:i386/:amd64/g' \ # replace i386 ...


1

If you got P4 630 775 socket, like me, you can easly run 64-bit OSes.



Only top voted, non community-wiki answers of a minimum length are eligible