On Nov 30, 2007 6:29 AM, Mark Post <[EMAIL PROTECTED]> wrote: > > Where do I get the source that comes with the distribution? I installed > > the kernel-source package, but it doesn't appear to have everything I > > need. > > That should have been good enough (assuming you already have glibc-devel and > the other parts of the toolchain installed). What errors are you getting? >
I have a vague recollection that you also need to install the additional packages that ship the source of assorted kernel modules (like vmcp for example). Admitted my most intimate experiences with the process go back to SLES7 and SLES8, but building the SuSE Linux kernel out of sources was extremely tricky (relied on other things happening in the right order, but not validating that). There is a big difference between the kernel source 2.6.16 from Novell and the one you download from kernel.org. That's all the fixes that the Novell folks took from later releases and back-ported to 2.6.16. That gives you the stable Enterprise Linux with fixes for the bugs that were found, but not all the new a nifty features with new bugs that have been developed since then (plus some fixes from the IBM Linux team that may not have been accepted yet in the mainstream kernel source). That difference is why you pay for the Enterprise Linux versions. But if you only need to build kernel modules for your running system (as opposed to modification of the kernel and building your own kernel package) then it should be enough to - install kernel-source - copy the config from /boot to /usr/src/linux/.config - run a make oldconfig If the install of kernel-sources does not do so, you might have to make symlinks into /lib/modules/`uname -r`/ Rob ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
