* Question on general wireless testing tree compilation. @ 2009-09-25 5:21 Balaji Ravindran 2009-09-25 6:58 ` Holger Schurig 2009-09-28 21:52 ` Hin-Tak Leung 0 siblings, 2 replies; 4+ messages in thread From: Balaji Ravindran @ 2009-09-25 5:21 UTC (permalink / raw) To: Linux Wireless Hi Everyone, Sorry for a very amateur question. Could anyone just help me get started with compiling the linux kernel from the wireless-testing tree? I just pulled the local wireless-testing repo, trying to navigate through the code, and wanted to compile the kernel, and to boot up to it. Could anyone just help me get started? I followed the instructions from http://www.cyberciti.biz/tips/compiling-linux-kernel-26.html and ended up with a compile error in 'make', while trying to create the bzimage. (error is on make: initramfs_data.cpi.o failed) Is there any other easy way to compile the kernel/debug. Thanks Balaji R ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Question on general wireless testing tree compilation. 2009-09-25 5:21 Question on general wireless testing tree compilation Balaji Ravindran @ 2009-09-25 6:58 ` Holger Schurig 2009-09-28 21:52 ` Hin-Tak Leung 1 sibling, 0 replies; 4+ messages in thread From: Holger Schurig @ 2009-09-25 6:58 UTC (permalink / raw) To: Balaji Ravindran; +Cc: Linux Wireless > I followed the instructions from > http://www.cyberciti.biz/tips/compiling-linux-kernel-26.html > and ended up with a compile error in 'make', while trying to > create the bzimage. (error is on make: initramfs_data.cpi.o > failed) Hmm, I simply compile almost-self-contained kernels, without any initramfs. Slows down the boot and isn't needed for the usual IDE/SATA desktop PCs anyway. If you don't want to go that way, you'd better post the whole error. Maybe when doing "make V=1", and include some (10 or so) lines from above the error message above. -- http://www.holgerschurig.de ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Question on general wireless testing tree compilation. 2009-09-25 5:21 Question on general wireless testing tree compilation Balaji Ravindran 2009-09-25 6:58 ` Holger Schurig @ 2009-09-28 21:52 ` Hin-Tak Leung 2009-09-29 7:29 ` Balaji Ravindran 1 sibling, 1 reply; 4+ messages in thread From: Hin-Tak Leung @ 2009-09-28 21:52 UTC (permalink / raw) To: Balaji Ravindran; +Cc: Linux Wireless On Fri, Sep 25, 2009 at 6:21 AM, Balaji Ravindran <b@w1an.in> wrote: > Hi Everyone, > > Sorry for a very amateur question. Could anyone just help me get started > with compiling the linux kernel from the wireless-testing tree? I just > pulled the local wireless-testing repo, trying to navigate through the code, > and wanted to compile the kernel, and to boot up to it. Could anyone just > help me get started? > > I followed the instructions from > http://www.cyberciti.biz/tips/compiling-linux-kernel-26.html > and ended up with a compile error in 'make', while trying to create the > bzimage. (error is on make: initramfs_data.cpi.o failed) > > Is there any other easy way to compile the kernel/debug. > > > Thanks > > Balaji R > -- > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > As the other replier has already stated, including the last few lines of the message before the error would be nice. Also, if you haven't built your own kernel before, it is probably better to start from a known configuration rather than from scratch. While all the tutorial, etc tells you to do 'make mrproper ; make menuconfig/xconfig; make' , there are occasionally some missing dependencies which aren't explicitly hooked up, so it might be easier to do, instead of make menuconfig/xconfig, in the middle, copy your distro's config (or your current running kernel's config) from either /boot/config-* (packaged from your distro) or /proc/config.gz (for a kernel which remembers its own config - it is a kernel config opton), to .config in your source tree, run make oldconfig (which only ask your questions about *difference* between the tree and the running kernel), before running make menuconfig/xconfig. This way, you are starting from a valid and know-working configuration for your hardware/archecture. Also, compat-wireless (which just replaces the wireless-related kernel modules) is sometimes a quicker/easier alternative to the whole wireless-testing. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Question on general wireless testing tree compilation. 2009-09-28 21:52 ` Hin-Tak Leung @ 2009-09-29 7:29 ` Balaji Ravindran 0 siblings, 0 replies; 4+ messages in thread From: Balaji Ravindran @ 2009-09-29 7:29 UTC (permalink / raw) To: Hin-Tak Leung; +Cc: Linux Wireless Hi, Thanks for this info, i shall try to keep the old *working* config option. Though, with the README help file, I was successfully able to make and *select* my new target kernel, i had a kernel panic, and was not able to boot to it, also i noticed that my USB keybd and mouse connected to my monitor's usb port did not come up, so i guess something bad happened while doing make modules_install install, or while setting up the configurations before making. I shall try to re-compile with my known good configuration. Thanks again for the info. Thanks Balaji R On Sep 28, 2009, at 2:52 PM, Hin-Tak Leung wrote: > > Also, compat-wireless (which just replaces the wireless-related kernel > modules) is sometimes a quicker/easier alternative to the whole > wireless-testing. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-09-29 7:29 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-09-25 5:21 Question on general wireless testing tree compilation Balaji Ravindran 2009-09-25 6:58 ` Holger Schurig 2009-09-28 21:52 ` Hin-Tak Leung 2009-09-29 7:29 ` Balaji Ravindran
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox