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?
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?
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?
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.
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
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 ?
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
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!
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.
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.
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
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.
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
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.
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
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?
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 ?
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
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.:
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.
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
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
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
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.
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) ...
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:
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.
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.
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.
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