General :: Compile Linux Kernel For Different Machine?

Feb 10, 2011

I am new to kernel development,and I have to compile a kernel with some specific features and then install it on some machines.The problem is that these machines are slow,and hence I want to compile them on a fast desktop once and then install them on the machines.I am following this guide from Ubuntu wiki.

So what I plan to do is, download the source and generate a config file on one of the slow machines, copy both to the faster machine, generate the image on the faster machine and then install it on all the slow machines. The slow machines are almost identical (same cards, processors, OS etc.) but different from the fast machine(different OS and processor). So will this work or not?

View 2 Replies


ADVERTISEMENT

General :: Create Linux-libc-dev Package When Compile Ubuntu Kernel?

May 6, 2011

I've compiled the last stable ubuntu kernel (2.6.38-...) following this guide: How to compile a Ubuntu 10.10 kernel but in this guide doesn't explain how create linux-libc-dev package for that kernel? How do I do?

I've tried with fakeroot debian/rules binary-arch-headers but it returns an, IMHO, absurd error:

mkdir /home/simon/sources/kernel/ubuntu-natty/debian/linux-libc-dev/usr/include/
mkdir: cannot create directory `/home/simon/sources/kernel/ubuntu-natty/debian/linux-libc-dev/usr/include/': File exists
make: *** [install-arch-headers] Error 1

The error is correct but this folder is created in the same process!

View 1 Replies View Related

General :: Kernel Panic In 64bit Arch Linux After Kernel Recompile - 2.6.35-rc3

Jun 15, 2010

I have recompiled a few kernels, but all on 32bit systems so not sure if that has anything to do with it.

Running Arch Linux 64bit, most recent version.

Kernel Output:

Code:

My first thoughts was that it might be my grub bootloader configuration, so had a big play around with that but it didn't fix it. Also made sure support was built for filesystems. However almost all that Fstab mounts are ext3 anyway, and certainly the root and /boot are. Now thinking it may be a memory error so will run a check when I shutdown.

View 3 Replies View Related

General :: Cross Compile In 64 Bit Machine For 32 Bit Arm?

Nov 18, 2010

i have fedora 11(64 bit).i want to do the cross compilation for 32 bit arm processor.i install all required thing but any of the make command(make,make mrproper,defconfig) is not working.

View 8 Replies View Related

General :: Get Data From Linux To Window Machine

Apr 16, 2010

i am using window and linux in a single laptop.i want to access the files in present in linux os ,into the window machine.

View 5 Replies View Related

Ubuntu :: Numbers To Put In Linux Machine Can Connect / Print To Windows Machine?

Apr 16, 2011

I remember it being really easy to add a printer attached to another computer using Ubuntu, but I don't remember exactly what made it so easy. All I know is that now that I have switched to Kubuntu the process has become much harder because now I have to find out some special locations, numbers etc. for it to connect to the printer. It's connected to a Windows XP machine on the other side of the house.
It says alot about 'contacting the network administrator' if I am unsure about what to put in. But I am more or less the network administrator. how to find out what numbers to put in so that my Linux machine can connect and print to the Windows machine? Or maybe someone knows a few commands to share? I go to Applications > Settings > System settings, Printer configuration, New Printer, New Network printer, and then there are a few options but I don't know which one to choose. Windows Printer via Samba, I guess? Then in the box that says smb://[enter stuff here] I need to put in info but I don't know how to find that info.

View 5 Replies View Related

General :: Installing Linux To Second Drive On A Windows Machine

Jun 19, 2010

I have a duo core HP machine with two (2) physical hard drives.Drive C has the win Vista Media center version installed.The second drive has 2 partitions of 500gb each.One has all my windows data files on it and the second partition I have reserverd for the installation of Linux.How to install Linux on the second partition (SDB1) without loosing the ability to use windows when i need.In other words i want to establish a dual boot system and not disturb the existing windows installation by installing Linux and then be able to boot into a dual boot system that will let me select which OS to boot to.

View 3 Replies View Related

General :: Ssh Without Password From User To Root On Same Linux Enterprise 5 Machine

Jan 22, 2010

My application is installed on root of RH enterprise 5 and is run via user on the same machine. This need ssh without password from the user.

i do the following :
1. run ssh-keygen in .ssh directory of the user.
2. copy the id_rsa.pub as the authorized-keys in the root's .ssh directory
3 chmod 600 to the authorized_keys
4.restart the machine
5. login from the user and ssh SER ( SER is the entry in the /etc/hosts with the ip address of the machine)
6 It still prompt for the password

How can i ssh from the user to the machine without password.

View 3 Replies View Related

General :: Command To Compile And Execute Fortran Program On System Machine?

Apr 8, 2010

Command to compile n execute a Fortran program on a Linux machine

View 6 Replies View Related

General :: Compile Kernel Which Is Old One?

Oct 14, 2010

I wanna compile tha kernel which is old one.how to do that.

View 8 Replies View Related

General :: Kernel Programming For BSD Or Linux?

Jul 20, 2010

I have recently been getting into kernel development and was wondering whether the Linux kernel or BSD kernel would be easiest for newbies (such as myself). Does anyone know? I am really considering BSD because it seems to me to have the best documentation.

View 2 Replies View Related

General :: Windows - Accessing The Desktop Of A Linux Machine (server) Throught Remote Access?

Jun 8, 2011

I was looking for:how to access my Linux machine(OpenSuse 11.3) that is being hosted at my hoster company from my home Win Pc, I found TightVNC , but I am confused, should I install it on both systems ( viewer and server) ? .. what about the VirtualBox , can i Access with that tool or it is only for mounting the local Virtual Machines?

View 2 Replies View Related

General :: Cant Compile The Newest Kernel?

Dec 11, 2010

Recently i downloaded the stable version of kernel from kernel.org then i extract the tarball to /usr/src path , then after i complile the kernel for fuse and ext4 modulescommand which i use is mention below

[root@localhost linux-2.6.36.1]# make menuconfig
[root@localhost linux-2.6.36.1]# make
[root@localhost linux-2.6.36.1]# make modules

[code]...

View 2 Replies View Related

General :: Correct Way To Compile A Kernel?

May 24, 2010

I want to boot into a new kernel like 2.6.34 over the default 2.6.18 RH/centos kernel. i know you cant copy the .config file and use it since there are so many changes so what is the best way to compile the kernel and get the right settings?

View 1 Replies View Related

General :: How To Compile Kernel For Better Speed

Apr 3, 2010

I'm looking for a good kernel guide for practical tips on how to compile my kernel for better speed. At the moment I'm using genkernel under gentoo and just taking the default options (with a splash). This compiles for ages and takes a good while to load.The kind of things I'm looking for are advice on:Removing modules from the kernel that are not loaded during normal use.Core components which can (and should) be loaded as non-modules for speed of boot.How to save and load kernel options so they don't have to be repeated every time I want to compile a kernel.

View 5 Replies View Related

General :: Compile Kernel 2.6.31 On Fedora 12?

Jan 1, 2010

i tried to compile linux kernel 2.6.31 on Fedora 12: the make , make modules and modules install ran successfully but problem with make install while trying to create image it looks for mkinitrd command which is not available i downloaded and installed the mkinitrd pckg and make install was now successful i got kernel img and initrd img in /boot

also grub was updated properly but i m not able to boot up the new kernel the problem the initrd seems to be and uknown type file to fedora core and the current kernel has initramfs img with a .cpio extn instead of initrd

View 3 Replies View Related

General :: Re-compile The Kernel To Get UDF Support?

Aug 31, 2010

A while back I compiled a custom kernel, 2.6.35. I forgot to add UDF support when configuring and compiling. Will I need to re-compile the kernel to get UDF support or is there some other way I can add it?

View 6 Replies View Related

General :: Compile And Install New Kernel 3.0?

Aug 1, 2011

I am gonna compile and install new kernel 3.0?
what is your suggestion?
shall i? on my duo Core? with 2.7 gb ram?

View 1 Replies View Related

General :: Compile Kernel On Fedora 10?

Apr 5, 2010

so my problem is how to recompile my kerenl with TUN/TAP driver,i got how to compile the kernel with TUN/TAP driver every thing is going OK, when i run the commends , just in the last commend when i reboot my laptop i choose grub to enter on new kernel , but when i choose it , i got black screen .so please help me to solve this problem , for more information about my laptop , i have just one partition my root is (hd1,1). my ram is 2G, speed 2GHZ, i use Linux-2.6.27.42, but the new one is the last kernel available in website. i am in rush please inform me as soon as possible,

View 10 Replies View Related

General :: How To Compile A Kernel In Fedora

Jul 6, 2010

i have downloaded .src.rpm file from net.i dont know how to compile that.can u tell me the basics of linux kernel compilation.how to compile a kernel. how to install or modify the existing running kernel with tat. etcI am using fedora 12 it has 2.6.31.5-127.fc12.i686.PAE

View 5 Replies View Related

General :: Can't Boot After Compile A New Kernel?

Jan 12, 2011

I installed a fedora with kernel 2.6.15-1 (quite old, isn't it ?) on my vmware workstation and try to compile a new kernel with 2.6.15.2 just for testing. I download the kernel and compile with that:make menuconfig make modules-install install

then I reboot the server but if i choose the new kernel. the system poped up the error msg like : Unable to find device-mapper major/Minor No volume groups found unable to find volume group "VolGroup00"
Unable to access resume devices (/dev/VolGroup00/Logvol01)mount: could not find filesystem '/dev/root'

yes. I am using LVM to setup the fedora.

i search online and find some possible causes:
1) the .config does not contain support for LVM.
then i choose to enclude the support for LVM

2) need to re-create initrd i use commond initrd --force-lvm-probe to generate the .img file

But both the method do not work. and i notices that the new '2.6.15.2.img' is about 1.5M which is smaller than the current 2.6.15.1 img (1.7M)

View 14 Replies View Related

General :: Compile Kernel 2.6.35 On Ubuntu 9.10 ( 2.6.31-14-generic )?

Aug 5, 2010

Trying to compile Kernel 2.6.35 on Ubuntu 9.10 (2.6.31-14-generic).

got: The UTS Release version in include/linux/version.h""
does not match current version:
"2.6.35-xxx"
Please correct this
make[1]:***[debian/stamp/install/linux-image-2.6.35-xxx] Error 2
make[1]:***leaving directory `/usr/src/linux-2.6.35'
make:*** [kernel_image] Error 2

Can any one tell me what should I do? Is this Ok for using the compiled vmlinux image?where can I find the correstponding initrd file if this kernal compile is Ok?

View 1 Replies View Related

General :: Compile The Kernel 2.6.35 As Per Project Requirement?

Dec 23, 2010

I have Debian 5 machine on which I want to compile the kernel 2.6.35 as per my project requirement.

View 6 Replies View Related

General :: Unable To Compile A Kernel 2.6.29.1 On Fedora 14

Feb 14, 2011

i was trying to install kernel 2.6.29.1 on fedora 14 but it is giving error. First download a package with kernel and i saved in home/user/linux. Afterwards i can extract this package.

1.tar -xvzf linux-2.6.29.1 -C /usr/src
2.cd /usr/src/linux-2.6.29.1/
3.make menuconfig
4.make
5.make modules_install
6.make install

after above steps i got this error.

ERROR: modinfo: could not find module ip6t_REJECT
ERROR: modinfo: could not find module nf_conntrack_ipv6
ERROR: modinfo: could not find module ip6table_filter
ERROR: modinfo: could not find module ip6_tables
ERROR: modinfo: could not find module ipv6
ERROR: modinfo: could not find module fuse

however it gives initramfs,vmlinuz-2.6.29.1 and System.map-2.6.29.1 in /boot folder and menu.lst in /boot/grub is updating according to new kernel. when i reboot my machine and selects the kernel 2.6.29.1 it shows FATAL:kernel too old [1.591633] Kernel panic-not syncing:Attempted to kill init

View 6 Replies View Related

General :: Shortcut To Compile Kernel File?

Nov 5, 2010

I become successful to download kernel, compile it and run it.BUTWhen i modify tcp.c file or any other file in this /usr/src/linux/net/ipv4 location, (just modifying c files) i have to compile the complete kernel every time, which is very time consuming procedure.So Please help, How to compile that net/ipv4 package or etc.

View 5 Replies View Related

General :: Cannot Find Kernel Version In /usr/src/linux-2.6.21.5 - Is It Configured

Dec 21, 2010

I'm currently trying to get my wireless card to work with ndiswrapper after installing backtrack4 today, BUT.When I try and use the make command it tells me that some or another file is missing. I've checked and the output is right, There is no file of that name but there is neither a folder of that name.

Code:

root@bt:/usr/src/ndiswrapper-1.56/ndiswrapper-1.56# make
make -C driver
make[1]: Entering directory `/usr/src/ndiswrapper-1.56/ndiswrapper-1.56/driver'

[code]....

View 5 Replies View Related

General :: Kernel Panic On Update To Ubuntu Linux 2.6.31 ?

Dec 16, 2009

Update manager downloaded and installed latest kernel (Ubuntu, Linux 2.6.31 -16 -generic). When I tried to restart I get the message { 1.661235}Kernel panic - not syncing: VFS: unable to mount root fs on unknown - block(8,38). Everything works fine on previous update.

View 1 Replies View Related

General :: PS2 Mouse Is Not Auto Detecting In Linux 2.6.33.3 Kernel

Jul 26, 2010

I am working on linux kernel building and customising for our requirement.All these days we were using 2.6.9EL5 kernel to create our own Bootable kernel. Lately we moved to 2.6.33.3 as SATA CDROM support was not available during booting with the earlier kernel.Now with the new kernel i have got all the updates i wanted with respect to hardware detection during booting but having an issue with my PS2 mouse not auto detecting while booting. However i can configure the mouse with the popup that comes during booting by selecting the generic PS2 3 button mouse option. With this my mouse works properly. I am wondering is there a way to make the mouse auto detectable.I have attached one of the Xconfig file that is part of our process.

View 2 Replies View Related

General :: Install / Compile Driver In Ubuntu Kernel?

Apr 5, 2011

How can I install or compile this driver in ubuntu kernel.

View 5 Replies View Related

Software :: Compile Error In /linux/module.h?

Sep 23, 2010

I have a driver source which includes linux/module.h.The following error occurred during compile.the kernel source is: 2.6.33.6-147.2.4fc13.i686the compiler is: gcc-4.4.4-2.fc13.i686

In file included from /home/joseph/rpmbuild/BUILD/kernel-2.6.33/linux-2.6.33.i686/arch/x
86/include/asm/cmpxchg_64.h:4,
from /home/joseph/rpmbuild/BUILD/kernel-2.6.33/linux-2.6.33.i686/arch/x

[code]....

View 3 Replies View Related







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