Debian :: Re-compile My Current Kernel's Source?

Dec 29, 2010

For sake of a clear picture of the problem, pretend I don't know anything about compiling.

How would I re-compile my current kernel's source? It's the i686 optimized kernel I selected from the install disc.

View 10 Replies


ADVERTISEMENT

Debian :: New Kernel Source Compile Missing Firmware

Dec 21, 2015

So I am new to linux and i upgraded my kernel to 4.3.3 and to add the bfq patch. When i enter the command make install I get the following Code:

Select allupdate-initramfs: Generating /boot/initrd.img-4.3.3
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-1.fw for module r8169

[Code] ....

Now my ethernet drivers are not working.

View 8 Replies View Related

Fedora Installation :: How To Install Kernel Source Tree Of Fedora 14's Current Kernel?

Feb 23, 2011

I have installed the fedora 14, but there is no kernel source tree.I read the doc "building a custom kernel".But I don't want to rebuild a new kernel.I just want to install the source tree of current kernel.Could someone tell me the way?

View 6 Replies View Related

Debian :: How To Compile From Source

Jun 1, 2015

I can't compile using the instructions on the package... the package in question is this: [URL] ....

Just trying to play with old and good windowmaker. When running make it just says "make: nothing to be done for 'all'.

View 5 Replies View Related

General :: Compile Firefox From Source With Debian 5.0?

Nov 13, 2009

I hope I'm in the right section, if I'm not, please forgive me, I just installed Debian 5.0, and I want to install firefox, and then install graphics drivers, etc, I downloaded firefox, but I don't know how to compile programs from source, I googled how to compile firefox but the results are very vague and some are very outdated. I downloaded FF from their site, the file name is firefox-3.5.5.tar.bz2, how do I compile this?

View 11 Replies View Related

Debian :: Can't Compile A Driver From Source (make Cmd Fails)

Nov 14, 2010

I'm trying to compile the D-Link netcard driver from the official source, and when I first ran "make," I got an error that "make" couldn't be found. So I installed "apt-get install make," then make told me that it needed gcc, I installed "apt-get install gcc." Now make says: make: *** /lib/modules/2.6.32-5-amd64/build: No such file or directory.  Stop. make: *** [LINUX] Error 2 and exits.

I suspect that I need to install some package group which will handle the make and make install (rather than manually trying to fix one hole after another)

View 7 Replies View Related

Debian Configuration :: Compile Sendmail From Source Package

Feb 25, 2010

why it is that when I download the sendmail debian source package for etch and build it using dpkg-buildpackage -b -nc I get a 645543 byte sendmail executable whereas when I download the sendmail binary that is 703292 bytes.

View 1 Replies View Related

Debian Installation :: Kernel Liquorix And Nvidia Driver / Error Doesn't Found The Kernel Source Tree?

Oct 1, 2010

I installed the latest kernel liquorix (2.6.35) but when i want to install the Nvidia driver downloaded on the Nvidia website (256.53), i have an error message because Nvidia doesn't found the kernel source tree.

I install linux-image-2.6.35-6.dmz.2-liquorix-686_2.6.35-16_i386.deb, linux-headers-2.6.35-6.dmz.2-liquorix-686_2.6.35-16_i386.deb and build-essential. I don't understand why the installation doesn't works.

View 1 Replies View Related

Debian :: Compile XMMS - Navigated To Folder Containing The Extracted Source And Ran ./configure - Failed

May 29, 2010

I'm trying to do the simplest thing. Compile XMMS. I navigated to the folder containing the extracted source and ran ./configure. That failed, so I remembered to install the build-essential package.

After that, I continued and got this output:

It said I didn't have glib installed, whatever that is. I did "apt-get install glib" and it told me it couldn't find the package called "glib". I thought, "Yeah, that seems a little too broad of a package name".

So then I went to Synaptic and did a search for "libglib" and noticed I already have libglib2.0-0 installed, as well as libglib2.0-data and libglib-perl.

How can I get this to to work correctly? I know the process should be ./configure, make, and then make-all, but I get stuck on the ./configure step.

View 14 Replies View Related

Debian Configuration :: Compile The 2.6.36.2 Kernel?

Dec 16, 2010

Trying to compile the 2.6.36.2 kernel. Its not the first kernel I've compiled, but I've run into a problem I've not come accross before.

While compiling I get this error.

[Code]....

Looks like the headers sys/eventfd.h and linux/virtio_rng.h haven't been selected in my .config file. I just copied my old config from the last kernel I built. This was a while ago (2.6.30), but I thought I'd give it a go anyway.

what config option they are under or what I can do to get rid of this error?

View 2 Replies View Related

Debian :: Compile Wheezy's 2.6.38 Kernel On Squeeze?

Apr 16, 2011

I'm trying to compile the 2.6.38 kernel (from the Wheezy sources) on my Squeeze laptop and get the following error: "dpkg-buildpackage: error: debian/rules build gave error exit status 2" After doing apt-get build-dep linux-image-2.6.38-2-amd64 and apt-get source linux-image-2.6.38-2-amd64 I did dpkg-buildpackeg and here is what happened:

[Code]...

View 2 Replies View Related

Debian Configuration :: How To Compile A Minimal Kernel

Sep 1, 2010

I am using the Debian stock kernel. I want a minimal kernel that works on my Pentium 4, 1GB DDR RAM machine. What do I have do to get a less resource hungry OS. Is there already a minimal kernel binary available?

View 2 Replies View Related

Configuration :: Compile Debian Kernel As I686?

Dec 25, 2010

Could someone give a step-by-step tutorial on how to do this, for someone with no more than a basic understanding of navigating the OS?

I'd like to include architecture specific flags instead of the generic i686 ones if possible.

So far, my tests have revealed that Arch Linux runs faster than Debian several media apps. I initially thought this was due to the i686 optimization of Arch, but other mentioned it could simply be a kernel timer issue.

I know for a fact the differences aren't due to bloat, and I've installed both OSes from minimal install means. Only the absolutely needed dependencies have been installed.

View 11 Replies View Related

Debian :: Installing Kernel Sources - Compile And List

Apr 5, 2010

I am not new to Debian and used to use commands like "apt-get install <package>", "apt-get update", "apt-get upgrade" and "apt-cache search <string>" regularly. But I never understood those Debian programs and the Debian package system with it's numerous programs and way to install things and work on software and configurations. Now, I just wanted to do something that I thought to be really easy. Get the source of an existing package. And despite spending over 3 hours - including reading the man-pages of commands - I cannot find a way!

Two things:
dpkg --get-selections | grep openvz
linux-image-2.6-openvz-amd64 install
linux-image-2.6.26-2-openvz-amd64 install

I already don't understand why I have two such packages installed. I would like to download the source of my kernel: apt-get source linux-image-2.6.26-2-openvz-amd64. This downloaded linux-2.6_2.6.26-21lenny4.dsc, linux-2.6_2.6.26.orig.tar.gz and linux-2.6_2.6.26-21lenny4.diff.gz

Then, I wanted to patch this - having found no explanation, I did:
cd linux
patch < ../linux-2.6_2.6.26-21lenny4.diff

That seemed to patch the kernel. But I am not sure - there are new files like this now_
[...]
Only in linux-2.6-2.6.26: xenctrl-capabilities.patch
Only in linux-2.6-2.6.26: xenctrl.patch
Only in linux-2.6-2.6.26: xenctrl-privcmd.patch
[...]

So, how can download the complete Debian kernel source? And what do I need to be able to compile it? And - HOW to just list all available sources and search in them?!? I found lots of webpages where tools like "make-kpkg" are used, which I do not understand again. Under SuSE, I could just select the package from a list, say "make oldconfig install modules modules_install" and be ready. Under Debian, I just find no way ...

View 14 Replies View Related

Debian Configuration :: Compile A Custom Xen Dom0 Kernel?

Apr 21, 2011

I would like to compile a custom xen dom0 kernel. I installed a Debian Squeeze with precompiled xen kernel, and it works fine, but i would like to compile a custom dom0 kernel from source. I tried install kernel source apt-get source linux-2.6 how can I patch this kernel source with xen? but i alway see only the domU kernel params.

View 3 Replies View Related

Debian Configuration :: How To Compile Kernel With I686 Architecture

May 5, 2011

I compile kernel with i686 architecture but I get linux-image-2.6.33.9-libre12.6.33.9-rt31_2.6.33.9-libre12.6.33.9-rt31-10.00.Custom_i386.deb. How I can do it ?

View 6 Replies View Related

Debian Configuration :: Compile Custom Kernel Without Debugging Symbols

Aug 3, 2010

I've compiled 2.6.35 for my eeepc, but I have noticed that resulting .deb file is 30mb large. After investigating i saw that modules (and maybe kernel) are compiled with debugging symbols enabled.I've checked my lenny router and modules there are without debugging symbols.So stock 2.6.26 from lenny comes without debugging symbols and linux-image .deb file is around 20mb.Stock 2.6.32-5-686 from squeeze comes with debugging symbols enabled - linux-image .deb here is 26mb. (I have used 2.6.32's .config file to build my kernel, then i did make oldconfig.)I guess this is what increase my kernel size, but how to disable it?Or maybe enable stripping of debugging symbols.

View 3 Replies View Related

Debian Configuration :: Ethernet Card Missing/Compile Latest Kernel?

Dec 17, 2010

This may sound ridiculous, but after installing Debian 5 (from CD 1) in my laptop, ASUS UL80VT, it fails to detect the Ethernet device. The device is "Atheros AR8131 PCI-E Ethernet Controller". I guess the problem comes with the old kernel of version 5. I was intending to compile the latest kernel anyway. But the problem is is there any heads up i need to download the kernel and trying to compile it? Is there anyone who uses Debian on UL80VT. If there is, does it works okay?In short I want to compile the latest kernel, hoping it will fix the Ethernet device. There are installers available with the latest kernel. But I want to do it on my own.

View 4 Replies View Related

Debian Configuration :: Change The Driver File And Compile Custom Kernel

May 3, 2011

When I only change a driver file manually, for example /newkernel/linux-source-.6.32/drivers/gpu/drm/i915_drv.h, do I need to run "make config" or similar like "make menuconfig" or can I just skip? I mean these steps:

1.) apt-get install linux-source-2.6.32
2.) mkdir ~/newkernel/
3.) cp /usr/src/linux-source-2.6.32.tar.bz2 ~/newkernel/
4.) cd /newkernel/
5.) tar xjf linux-source-2.6.32.tar.bz2
6.) cd linux-source-2.6.32
7.) cp /boot/config-$(uname -r) ./.config yes "" | make oldconfig
8.) change the driver file /newkernel/linux-source-2.6.32/drivers/gpu/drm/i915_drv.h manually
8.) make-kpkg clean
9.) make-kpkg --rootcmd fakeroot --initrd --revision=custom.001 kernel_image kernel_headers
10.) dpkg -i *.deb

Is this way OK or do I miss something?

View 14 Replies View Related

Debian :: NVidia Driver Install - GCC Kernel Not Matching Current Compiler

Aug 4, 2010

I am fairly new to Linux. My machine is running Debian 5.0.5 with gcc version 4.3. When I try to install the Nvidia QuadroFX 3450 driver I got from the Nvidia web site I get an error saying:
"The compiler used to compile the kernel (gcc 4.1) does not exactly match the current compiler (gcc 4.3)....."
Does this mean my gcc version is too new for the driver? if so, how do I roll back to a older version?

View 8 Replies View Related

Debian Configuration :: Where Does Lenny Keep Kernel Source?

Apr 30, 2010

I am using Lenny kernel version 2.6.26-2-686.I am trying to install some drivers and they need kernel source. I installed kernel source through Synaptic, but the driver installer doesn't find it at the place it expects.

1) Where does Lenny keep the kernel source?
2) Are the kernel sources from Debian and www.kernel.org the same?
3) If I want to download the kernel source manually, where do I get it from?

View 7 Replies View Related

Debian :: Modify The Source Of A Custom Kernel?

May 1, 2011

I'd like to create a custom squeeze kernel. Is it a really bad idea to edit to edit the kernel config file directly instead of using "make config", "make menuconfig" or "make gconfig"? My problem is I missing a search function, for example in "make menuconfig" and cannot find some entries.

View 2 Replies View Related

Debian :: Theory On Customizing Kernel From Source

Feb 11, 2009

linux-2.6.18-6-686 (etch)
# make menuconfig

I am customizing a kernel and am wondering if there is any advantage to excluding drivers/modules I will not need. My goal is to have a very stable file/web server that boots quickly. The only reason I am customizing this one is to add the SATA drivers for the motherboard I am using.

Here is what will be on it:
Apache / PHP
MySQL
DHCP
NTP

View 3 Replies View Related

Debian Configuration :: Kernel From Source And Firmware Packages

Jul 16, 2011

If I want to compile a kernel from source (from kernel.org), including all the drivers I need regardless of their origin, I would not need any firmware-*.deb packages, right? Do the firmware packages add anything that is not present in the latest kernel?

View 3 Replies View Related

Debian :: Blank Screen After A Kernel Build From Source?

Oct 15, 2010

I had a debian installation with kernel 2.6.32 I had a set of instructions to apply a patch to kernel which I followed to the T. The grub now shows the Debian installation with the old kernel and the Debian installation with the patched kernel.

The trouble is the system goes blank after attempting to start gdm3.

I have tried running in recovery mode and then typing startx but it only shows a blank screen.

Code: lspci | grep -i display
00:02.1 Display controller : Intel Corporation 82852/855GM Integrated Graphics Device (rev 02) If i boot with the old kernel, everything works fine. Is this an "X" window configuration issue. I tried X -configure but still nothing changed.

View 3 Replies View Related

Debian Configuration :: Squeeze: Can't Find Source For 2.6.32-trunk Kernel

Apr 30, 2010

I'm attempting to install ndiswrapper-dkms package. The installation fails due to the following error:Module build for the currently running kernel was skipped since the kernel source for this kernel does not seem to be installed. dpkg reports that the source is installed

[code]....

I've been searching google for the past couple of days but haven't found anything specific. Any ideas to get me going in the right direction?

uname -a reports

Linux debtop 2.6.32-trunk-686 #1 SMP Sun Jan 10 06:32:16 UTC 2010 i686 GNU/Linux

View 5 Replies View Related

Debian Configuration :: Nvidia-kernel-source Was Not Built Successfully

Apr 26, 2011

Squeeze-beta was my first foray into Debian, and I love it. I changed my setup to a rolling setup with testing (Wheezy), and have done that for several months. Lately, I got a new kernel, but it reboots to a terminal rather than GUI (I'm a simple laptop user). I think it's because of the NVIDIA drivers, and here is what I've tried (meanwhile, I'm using the previous kernel):

# apt-get install module-assistant nvidia-kernel-common
# m-a auto-install nvidia-kernel${VERSION}-source
A blue screen appears that says:

module-assistant error message Bad luck, the kernel headers for the target kernel version could not be found and you did not specify other valid kernel headers to use.

You can try:

module-assistant prepare
or
apt-get install linux-headers-2.6.38-2-amd64

I have done both, rebooted, and I still get the blue screen. I also see this message:

nvidia-kernel-source was not built successfully, see:

/var/cache/modass/nvidia-kernel-source*buildlog*

...and I have copy/pasted the file below (which omits lines 101-200 because this message is too long then):

/usr/bin/make -f debian/rules clean
make[1]: Entering directory `/usr/src/modules/nvidia-kernel'
test -f debian/control || cp debian/control.template debian/control

[code]....

View 1 Replies View Related

Slackware :: Can't Compile In The Current And Its Getting A Little Old?

May 22, 2010

I'm looking for a good IDE for C/C++, that runs well in slackware. I used CodeBlocks, but I can't compile in the current, and its getting a little old. I see a lot of threads talking about anjunta and kdedeveloper, but I don't like these.

View 14 Replies View Related

Debian :: Building Kernel - Initrd Fail And Nvidia Can't Find Source

Feb 25, 2010

So I'm building a custom kernel cuz I want the fbcondecor patch in my kernel. I use the same .config that 2.6.32 debian kernel package comes with. This kernel runs perfectly. I pass --initrd to make-kpkg when building the package but no initrd is built when I install it so I have to make it using "mkinitramfs -o /boot/initrd.img-2.6.33 2.6.33" to get it to boot. Now when I try to build the nvidia drivers it complains it can't find the source. I did build kernel_headers and installed them also the source is in /usr/src/linux. I also tried to specify the path by passing --kernel-source-path= to the nvidia script but no change. What is going on? I've done this fifty times before and never had any problems. Has there been some changes to how debian kernel packages are built? EDIT: Just thought I'd add some info about the steps I took.

Code:
tar xjvf linux-2.6.33.tar.bz2
ln -s linux-2.6.33 linux
cd linux
patch -p1 < ../fbcondecor-0.9.6-2.6.33-rc7.patch
cp /boot/config-2.6.32-trunk-686 ./.config

make menuconfig Loaded .config then I removed support for maxtorfb, tile blitting and some sirrusfb thing, nothing thats relevant to my system. Changed cpu from Pentium 4 to Core 2 and added framebuffer decor
support from my patch, exited and saved. Then:

[Code]....

EDIT2: I have now tried to build 2.6.32.8 in the same way with the same strange results, anyone have any thoughts as to what I'm doing wrong just throw it at me, I'm getting desperate and running out of ideas. I've checked all the kernel source symlinks and everything looks good.

View 7 Replies View Related

Ubuntu :: Source Code Of The Krnel From The Kernel.org - Source Trees Organization

Apr 11, 2011

i am already a little bit familiar with linux and now i want to know better the linux OS. i have downloaded the source code of the krnel from the kernel.org and i dont understand the linux source trees organization, so can somebody do me a favor and give me a link to some internet page (or at least a book) that explains that?? i have searched in the internet with the tag:::linux source trees organization and i have not found nothing interesting

View 1 Replies View Related







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