Debian :: Compiling Kernel - File Locations?

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


ADVERTISEMENT

Debian :: Compiling Kernel - 2.6.26 Version Of Kernel Doesn't Longer Exist In Kernel.org Website

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

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 View Related

Debian :: Custom Kernel Compiling.

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

Debian :: Compiling And Installing A New Kernel?

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

Debian :: Compiling XIllybus Kernel Module

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

Debian Configuration :: Compiling A Kernel To Be X86_64

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

Debian :: Kernel 2.6.35.7 Annoying Bugs While Compiling?

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

Debian Configuration :: Compiling Squeeze Kernel On Lenny ?

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

Debian Programming :: Cross-compiling A Kernel For I386-elf

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

Debian Programming :: Compiling Linux Kernel Module

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

Debian Configuration :: Cannot Detect Newish Hardware After Compiling Kernel 4.5

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

Debian :: Alsa - No Mixer Elems Found - Get No Sound After Compiling Kernel

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

OpenSUSE Hardware :: Lan Card Driver Installation / Kernel Header Files Not In Any Of Expected Locations?

Mar 21, 2011

I`m trying to install Intel EXPI9402PT PRO/1000 PT Dual Port Server Adapter on my machine. I download the drivers for this card from intel web page, but I can`t make it work. I`m running OpenSuse 11.3 version. When I tried to install it for the first time I got this message:

Makefile:71: *** Kernel header files not in any of the expected locations.
Makefile:72: *** Install the appropriate kernel development package, e.g.
Makefile:73: *** kernel-devel, for building kernel modules and try again. Stop

Then I install the kernel-source package and I got this one:

Makefile:107: *** Linux kernel source not configured - missing version header file. Stop.

I also installed kernel-devel package, but I get the same message.

View 9 Replies View Related

Ubuntu :: Download Locations Based On File Type?

Jan 17, 2010

Is there a way to set Firefox to place downloaded files in different folders based on the file type?e.g. in my Downloads folder place all .doc files in a sub-folder called ".doc", all .jpgs in a sub-folder called ".jpg"I'd assume there's probably a rule, or a script that can be used to accomplish this, but being a graduate student, I don't have alot of free time to poke around and figure it out myself

View 9 Replies View Related

General :: Changing A File At A Time Located In Two Locations?

Nov 23, 2010

suppose i have two file with same name fstab one file is located in /etc and the other is located in /root/ If i make a change in /etc/fstab file the changes has to reflect in /root/fstab . Is there any command to do this?

View 6 Replies View Related

Programming :: Get A List Of File Install Locations With Make It?

Dec 21, 2010

I have a bit of a problem and the only solution I can think of at the moment is a very tedious one, so I was hoping there would be a better way. What I am trying to do is cross compile the PPPD program so that I can install it on an embedded system (this system does not have make/gcc on it). It was easy to cross compile it, but I can not run "make install" since I'm compiling on a secondary machine. I don't want to install PPPD on this secondary machine (I couldn't anyway, because it was compiled for a different architecture) and I can't run make install on the target machine because there is no make/build system for it.

So it seems like what I would have to do is to manually copy over each compiled file from the build machine to the appropriate location of the target machine. And the only way (that I know of) to figure out how to do this is to manually examine the Makefiles (yes, there are several for PPPD) and figure out which file should go where on the target system. This isn't trivial because it uses a hierarchy of makefiles and the probability of human error for this method is high.

Is it possible that I could run another command that would give me a list of all the commands that make install would perform? Or a list of all files and their target location for "make install"? Or possibly some other solution that I am completely unaware of that would make this task not so painful and error prone?

View 8 Replies View Related

General :: Download A Single File In 2 Parts To Different Locations Using Wget?

Jan 18, 2011

I need to use wget (or curl or aget etc) to download a file to two different download destinations by downloading it in two halves:

First: 0 to 490000 bytes of file
Second: 490001 to 1000000 bytes of file.

I will be downloading this to separate download destinations and will merge them back to speed up the download. The file is really large and my ISP is really slow, so I need to get help from friends to download this in parts (actually in multiple parts)

The question below is similar but not the same as my need: How to download parts of same file from different sources with curl/wget?

aget

aget seems to download in parts but I have no way of controlling precisely which part (either in percentage or in bytes) that I wish to download.

Extra Info

Just to be clear I do not wish to download from multiple locations, I want to download to multiple locations. I also do not want to download multiple files (it is just a single file). I want to download parts of the same file, and I want to specify the parts that I need to download.

View 1 Replies View Related

Ubuntu Servers :: Search For Files And There Locations Printed To A File?

Oct 26, 2010

I want to search for all files on my server that end in a couple of differnet filenames, and then have the location of them sent to a file.

What is the best way to achieve this.

View 1 Replies View Related

Ubuntu Multimedia :: Finding The Totem Movie Player File Locations?

Aug 3, 2010

I recently viewed a few .mpg s from the Internet by selecting to open them in movie player. Those videos are listed in the recently opened files list under the 'Movie' menu. I was trying locate these files on my computer since I can still play them by clicking on them in the 'Movie' menu, but I can't figure out where they are. I tried using 'locate' on the command line and it isn't bringing anything up. Can anyone tell me how to find the location of these files?

View 2 Replies View Related

Ubuntu Multimedia :: Manually Editing Rhythmbox Playcounts Or File Locations?

Feb 15, 2011

I have several albums in my Rhythmbox library that I originally ripped in 128kbps and have listened to many times. I'd quite like to reimport the songs in higher quality now but don't want to lose the playcounts associated with them.Is there any way to transfer the playcount over to the new file as it were, or to manually edit the playcount or file location?

View 6 Replies View Related

Debian :: Mapping URLs To Filesystem Locations With Apache 2.2?

Jul 17, 2011

I am trying to map a URL to a file system location.According to official documentation at [URL] under 'Files Outside the DocumentRoot', it says:On Unix systems, symbolic links can bring other parts of the filesystem under the DocumentRoot. For security reasons, Apache will follow symbolic links only if the Options setting for the relevant directory includes FollowSymLinks or SymLinksIfOwnerMatch.

View 1 Replies View Related

General :: Fedora Ethernet File Locations For Auto Eth - X - Devices Missing Ifcfg-ethX Files

Jul 24, 2010

Missing ifcfg-eth[2-5] fileset for ZNYX 345Q Quad Port 10/100 cards. I have showing in the gui network device that my ports for my ZNYX ZX345Q Quad Port card my ports are Auto eth2, Auto eth3 etc. My Motherboard and Intel cards show as System eth0 and System eth1.

There ARE corresponding entries for those in my /etc/sysconfig/network-settings/ directory, but there are not ifcfg-eth[2-5] files to correspond to these adapters. Can I just write my own files and that will do it?

How does Fedora 12/13 load these drivers into the kernel without having these ifcfg files?

I'd love to know if there is another way Fedora controls NICs / other system resources.

View 1 Replies View Related

Ubuntu :: Compiling Kernel In 10.04?

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

Software :: Compiling Kernel 1.0.0 With Gas?

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

Fedora :: Compiling A Vanilla Kernel?

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

Ubuntu :: Compiling A Custom 64 Bit Kernel With BFS?

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

General :: Compiling 2.6.23.4 Kernel On Fedora 11

Feb 24, 2010

I am trying to compile older version of kernel 2.6.23.4 on my fedora 11.

I am following below steps:
1)make menuconfig
2)make bzImage
3)make modules
4)make modules_install
5)make install

Kernel is compiling. After doing make modules_install it says:

My grub.config looks like:

But after that the cursor only blinks nothing happens.

View 5 Replies View Related

General :: Compiling Kernel 2.6.32.2 Error

Jan 4, 2010

I'm currently using Fedora 12 with kernel 2.6.31.9 and I was trying to upgrade to 2.6.32.2. These are the steps I followed. After rebooting and choosing this kernel from the Grub menu, I'm just greeted with a black screen with a blinking cursor and it won't proceed beyond that.

These are the commands I issued. I received an error on the first make modules about the mismatch. I then ran CONFIG_DEBUG_SECTION_MISMATCH=y and once finished I ran make modules again and it completed successfully.

Code:
Downloaded kernel package 2.6.32.2 from www.kernel.org
untar archive
make menuconfig (no changes made, saved config file)
make

[Code]...

View 9 Replies View Related

Software :: Compiling Kernel 2,6.35.4 - Settings?

Sep 6, 2010

In tryng to compile a kernel 2.6.35.4 the compile fails with this message.

[Code]...

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved