Debian :: Compiling A X86 Kernel From Amd64?
May 23, 2010
I tried to compile an x86 linux kernel from amd64 machine. It is giving errors even after installing "gcc-multilib" But I wonder, it should be simply doable becuase "gcc -m32" creates 32 bit binary . I would prefer to compile it natively on x86_64 rather than creating an exclusive x86 chroot for that. Has anyone tried this on native x86_64?
View 4 Replies
ADVERTISEMENT
Jul 18, 2010
I am trying to compile wine (1.1.28) in squeeze (AMD64). After I run the configuration scripts, I receive this error:
"configure: libhal/libdbus 32-bit development files not found, no dynamic device support."
I installed the ia32-libs package and libhal.so, libhal.so.,1libhal.so.1.0.0, libdbus-1.so exist in /usr/lib32.
I am compiling wine with the USB support patches, so I believe I will need libhal.
View 8 Replies
View Related
Jan 24, 2010
I recently installed debian squeeze 32bit on a second partition of my amd athlon 64 X2 dual core machine.Currently it is using linux-image-2.6.32-trunk-686 kernel.But linux-image-2.6.32-trunk-amd64 is available.on the repository.Is it a 64bit kernel or 32bit kernel optimized for amd64 architecture?
View 12 Replies
View Related
Sep 16, 2010
i'm using this guide videos - howto: debian linux kernel compilation, part 1 and the author says i need kernel 2.6.26 this version of kernel doesnt longer exist in kernel.org website and the only 2.6.26 i found is a patch here. should i use the patch? or download another version of kernel?
View 2 Replies
View Related
Jul 15, 2010
I have not been using my lenny 2.6.26-2-amd64 for about a month or more.I booted it today, and there were over 30 updates available, inculding some kernel header updates I installed all these updates and rebooted.Well, there are 2 new entries to grub menu:Linux 2.6.32-bpo-3-amd64Linux 2.6.32-bpo-2-amd64 (single user or recovery)in addition to my old kernels.So, I chose the bpo-3 entry, but it just sits there.I have to chose the kernel before the update. Is there something wrong with the update? dit: I just found out that synaptic manager does not show 2.6.32-bpo-3-amd64 at all as being installed.In fact, it is not in the header list nor the image list.
View 5 Replies
View Related
Apr 16, 2010
I'm using Debian Sid (kernel 2.6.32-4-amd64)
I encounter a problem with the pakage cdcd : cdcd sees my CD, for example the command "track" gives the list of the tracks but with the command "play" there is no sound. I encounter the same problem with the packages cdtool, workbone, orpheus, ...
If I use the kernel 2.6.30-bpo.1-amd64 cdcd works like a charm.
why "cdcd" does not work with the kernel 2.6.32-4-amd64 ?
Is there a way to make it work with the kernel 2.6.32-4-amd64 ?
My sound card works fine because sound-juicer and vlc read my CD correctly
View 4 Replies
View Related
Mar 25, 2011
I installed Debian Squeeze on a laptop today, with the official i386 DVD1. At the end, I was very disappointed to notice the installer automatically chose the amd64 kernel (with i386 packages ? how does that work ?). The hardware is compatible, but I'd really like to use the i386 kernel instead. Earlier, you could choose the kernel during installation ; I looked in Expert install with no luck. Where is it ?
View 4 Replies
View Related
Aug 17, 2011
I used make-kpkg to build the 3.0.0 source debian wheezy on a dual 3.4GHz Xeon/L1-16k/L2-1mb/800Mhz bus with 4GB PC2-3200 ECC ram and Ultra 320 SCSI, using CONCURRENCY_LEVEL=4 (2 hyperthreading cpus=4 cores). The build was slower than molasses in January! Top reported cpu usage total between 10% and 25%. Why won't the build use the amount of machine it has available. One footnote: I wasn't using swap space. It literally took over an hour to build the deb kernel package.
My notebook from 2003 is at least three times faster building the 3.0.0 debian kernel source. Is it possible that this might cause improvement: make -j4 KDEB_PKGVERSION=version deb-pkg
over
CONCURRENCY_LEVEL=4 make-kpkg --initrd --revision=123x kernel_image?
Could amd64 vs. i386 have some influence? Could the small processor caches on the XEON cpus have an effect. The 64-bit machine absolutely flies doing everything else. I'm miffed! I've used debian since woody, although I am not an expert, but I'm no slouch!
View 1 Replies
View Related
Feb 7, 2010
I got a LG notebook R580, and there is no sound at Debian with Kernel 2.6.26-2-amd64, driver snd-hda-intel[URL]
View 5 Replies
View Related
Jun 27, 2011
It's worth noting that this compiled and ran without a single hitch on an old P4 laptop I have. This system is a Core 2 Duo, and gives the following upon make:
Code:
I get that Dyngen helps interpret PowerPC instructions...? What I don't get is why my Google-fu fails me here.
View 13 Replies
View Related
Feb 23, 2010
I been trying all day to compile a kernel i downloaded from http://www.kernel.org/ (2.6.32.8 )Following this help thread viewtopic.php?t=4468.When i invoke make xconfig i'm just kinda lost at that point. Not really sure what to do, so i just save it as is and then compile/install.when i try to boot the kernel, a kernel panic happens saying it can't not mount the root partition.So i am sure i am missing a step with the xconfig part but not sure what.
View 5 Replies
View Related
May 29, 2011
i downloaded the latest stable release of the linux kernel 2.6.39 and i did the following ran the command
Code:
make xconfig
and there were no errors so far so good
then i ran
Code:
make in the mix of all the command line and characters one of the lines said
Code:
stack protector enabled but no compiler support because of this the rest of the installation process is not going well i am unable to install the new linux kernel successfully. the kernel shows up on the grub boot menu but goes into a kernel panic when i try to boot it. how do i compile the new kernel in debian squeeze
View 9 Replies
View Related
Sep 25, 2015
I'm having problems to compile XIllybus kernel module. As this guide explains, [URL] ..... (on the top of page 8 of 25) I unpackaged the tar.gz file and compiled the kernel module by typing the make command in the proper path. When I compile the module with make command, I get the following error:
make -C /lib/modules/3.16.0-0.bpo.4-amd64/build SUBDIRS=/home/xillybus/module modules
make: *** /lib/modules/3.16.0-0.bpo.4-amd64/build: No such file or directory. Stop.
make: *** [default] Error 2
/lib/modules/3.16.0-0.bpo.4-amd64/build path does not exist. What does it mean? Should I have to install some kernel packet? www does not work for me.
View 3 Replies
View Related
Aug 1, 2011
I am completely new to compiling the kernel. Trying to compile on an old Dell C610 laptop that has Debian 6.01 installed and working. Here is what I have done so far:
Downloaded linux-3.0.tar.bz2 to home directory Also downloaded patch-3.0-git13 to home directory tar xjfv linux-3.0.tar.bz2 which uncompressed the tar ball in the created the linux-3.0 directory in my home directory
[Code]...
View 9 Replies
View Related
Aug 2, 2011
So I completely fail at making a kernel x86_64, used to make them fine for just x86 but I haven't a clue on how to make them specifically for 64-bit systems.
View 3 Replies
View Related
Oct 9, 2010
this is my x-th attempt to compile the kernel on debian lenny. after solving the damn LGUEST issue, now i got an --append-to-version=-foobar issue?! damn... much time wasted, again. after make menuconfig and make-kpkg clean i start compiling with
Code:
fakeroot make-kpkg --initrd --append-to-version=-cpupmopt kernel_image kernel_headers
error log:
Code:
< ... snip ...>
H16TOFW firmware/edgeport/down.fw
[Code]...
EDIT: since this is debian specific and i used make -j5 etc. for # of jobs in other distros, is there an option on make-kpkg for that? && any chance for resuming?
View 2 Replies
View Related
Jul 30, 2010
I just wanted to know if i download Debian Squeeze linux-source-2.6.32 from packages.debian.org and try and compile it in debian lenny using lenny's packages will the build succeed ?
View 6 Replies
View Related
Nov 14, 2013
I just finished building a cross-compiler for i386-elf. But when I try to use it, the terminal gives me this error:
Code: Select all/home/isaac/Cross-compiler/lib/gcc/i386-elf/4.8.2/../../../../i386-elf/bin/ld: cannot find crt0.o: No such file or directory
/home/isaac/Cross-compiler/lib/gcc/i386-elf/4.8.2/../../../../i386-elf/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
View 13 Replies
View Related
Aug 27, 2014
I'm trying to compile a Linux kernel module called hello-2.c using the command "make -C /lib/modules/$(uname -r)/build M=${PWD} modules" (without the quotes) (which I found online), and the following is the (seemingly successful) output.:
Code: Select allmake: Entering directory `/usr/src/linux-headers-3.2.0-4-amd64'
Building modules, stage 2.
MODPOST 0 modules
make: Leaving directory `/usr/src/linux-headers-3.2.0-4-amd64'
However, I don't see a hello-2.ko (in the same folder or anywhere else for that matter). I'm Using Debian GNU/Linux 7.6.
Everything I am doing is within a folder/directory called "thefolder" (without the quotes) in the "/tmp" directory (without the quotes).
Why I can't see a hello-2.ko, and what to do to get it?
View 2 Replies
View Related
Apr 2, 2016
I am not able to use the touchpad, etc. on my laptop because the hardware is not supported until kernel 4.5. (This was confirmed by installing fedora-rawhide with 4.5: all the hardware problems were cleared up.) So I tried to compile a 4.5 kernel and install that in a testing version of Debian, but the hardware is still not working.
What I tried: copied the kernel boot config from the testing installation to the directory where the kernel was to be compiled, in order to keep the configuration of the current system. After compiling the kernel the first time I thought that perhaps the issue was that the right options for the new i2c-based hardware had not been selected in menuconfig and were not the default in the kernel config, so I compiled the kernel again, selecting the necessary hardware to be installed (and not as a module). But after the second (and third) kernel compiles the hardware still does not function (appears not to exist).
This is the first few times I've tried to compile a kernel, so I may be missing something obvious. After the second compile, I was wondering how to tell if the right kernel was in use, but grub only saw one 4.5 kernel (besides the original one) and I don't know where to look to see if the kernel has the different --revision=xyz it was assigned when running fakeroot make-kpkg. I was also wondering if it is possible to add the missing hardware by compiling the modules separately and adding them as boot options.
View 10 Replies
View Related
Oct 18, 2010
After compileing my kernel i get no sound. I tried : alsaconf - choose my sound card - everything is all right, but when i try alsamixer i get : No mixer elems found
[Code]....
View 3 Replies
View Related
Jul 31, 2011
I recently started having this odd behaviour while using and loading cpufrequtils on boot, I don't know if it is happening to someone else.During boot I'm getting( when /etc/init.d/cpufrequtils invokes /etc/init.d/loadcpufreq to load the proper module):
Loading cpufreq kernel modules...FATAL: Error inserting speedstep_centrino (/lib/modules/3.0.0-1-amd64/kernel/drivers/cpufreq/speedstep-centrino.ko): No such device
FATAL: Error inserting pcc_cpufreq (/lib/modules/3.0.0-1-amd64/kernel/drivers/cpufreq/pcc-cpufreq.ko): No such device
[code]....
View 2 Replies
View Related
Oct 4, 2010
I am trying to install debian on my windows PC but am receiving some errors with it. I have downloaded "debian-506-amd64-DVD-1.iso" from debian website and am seeing that the md5 sum is correct. I am getting following error when I choose Graphical Install or install.
[ 1.480788] crc error
[ 1.569788] kernel panic -not syncing:VFS: Unable to mount root fs on unknown block(253, 52)
Description of my PC: I have 2 hard disks
1. IDE hard disk (80 GB) -> windows is on this drive
2. SATA hard disk(250GB) -> I intend to install debian on this drive.
3. MSI motherboard & AMD 64 processor with 1 GB RAM.
4. NVidia external graphics card based on AGP slot(256 MB)
EDIT:: This time I got one more error message prior to the 2 shown above [some number] PCI:Cannot allocate resource region 0 of device 0000:00:00.0
View 6 Replies
View Related
Apr 30, 2011
I was wondering if the AMD64 bit release of ubuntu is just a recompiled kernel with amd64 optimizations or if it is ALL 64 bit? I understand that an amd64 kernel doesnt have to come with a 64 bit system.
View 1 Replies
View Related
Sep 21, 2010
The following is a subset of error messages I'm getting when trying to do "apt-get upgrade" or "apt-get dist-upgrade" on a machine running ubuntu server 9.10 amd64:
Code:
Preparing to replace linux-image-2.6.31-22-server 2.6.31-22.60 (using .../linux-image-2.6.31-22-server_2.6.31-22.65_amd64.deb) ...
[code]....
View 2 Replies
View Related
May 20, 2010
This thread describes how to build a 2.6.34 kernel with load-balancing to cut down the number of load balancing wakeups. Running powertop on my amd64 PC shows that this kernel cuts down the number of wakeups by around 30%.
1. Open a gnome-terminal and get root privileges:
Code:
sudo -s
2. Install required packages for building the kernel:
Code:
apt-get install build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev wget libncurses5 libncurses5-dev
3. Download the 2.6.34 kernel source file:
Code:
cd /usr/src
wget http://www.kernel.org/pub/linux/kern...2.6.34.tar.bz2
4a. Download the diff file for the patch from [URL] and save as (eg) patch-load-balancing.diff. Move it to /usr/src once you have downloaded it.
5. Untar the source file:
Code:
cd /usr/src
tar xjf linux-2.6.34.tar.bz2
6. Link /usr/src/linux to the resulting folder:
Code:
cd /usr/src
# the folder linux may exist as a symlink from previously; if so, remove it
if [ -e linux ]; then rm linux; fi
ln -s linux-2.6.34 linux
[code]....
View 5 Replies
View Related
Mar 2, 2011
so I am wanting to compile my own kernel to see if i can get my laptop to run a lill better. I found the how too's to do the compile, but what I want to know is.. what is the most complete way to find all the hardware and such that is in my laptop so i can build all the support into the kernel that i need and leave out EVERYTHING i dont need.
i figured lspci is a start but there has to be more info somewhere to find the exact needs of the laptop.
View 7 Replies
View Related
Jun 18, 2010
i want to compile and make kernel 1.0.0(the first kernel sources of linux) but its asking gas..... yup gnu assembler. i am using ubuntu 9.10 and if you ask why i am compiling this kernel.... because the truth is to study complete linux kernel.
View 2 Replies
View Related
Apr 9, 2010
I am trying to compile a vanilla kernel that I got from git in a VirtualBox VM running Fedora 12. With RHEL (albeit on real hardware, not a VM), I am able to do a make; make modules_install; make install and simply able to boot up the kernel. The make install step, in particular, creates the initrd using /sbin/installkernel, which also updates the grub configuration.
Under Fedora 12, my new kernel does not boot. I see no messages on the screen, not even if I change the boot command line to remove quiet bootup. I see disk usage on the VM and the CPU gets pegged at 100%. Strangely enough, if I change the initrd to refer to an existing, Fedora-provided kernel, I can boot my new kernel without any problems. I started with a Fedora kernel config and used it to generate the config for my new 2.6.33 kernel, so it couldn't be the case that I missed something in the config either.
Does anybody have an idea about what could be going on? Is there some specific patch that Fedora kernels use that are essential for booting up?
Also, the guest Fedora OS is 64-bit, if that is relevant.
View 2 Replies
View Related
Aug 1, 2010
I would like to try and optimize my kernel a bit. Since I am doing this on a fresh install, I don't really care if the os gets bricked in the process, and I am sure I can bring it back if I can boot into a recovery console from the old kernel. So, I followed thispost. I patched it and copied and edited a config file from /boot/, saved it as .config, I tried it several times with both removing and not removing /debian and /debian.master directories from the source, yet I always get the same error when I run "make oldconfig".
Code:
$ make oldconfig
scripts/kconfig/conf -o arch/x86/Kconfig
*** Error during writing of the kernel configuration.
make[1]: *** [oldconfig] Error 1
[Code]...
View 1 Replies
View Related