On Saturday 29 July 2006 10:00, [EMAIL PROTECTED] wrote:
> > Currently studying LPI102 at grandville - unfortunately the teacher
> > leans heavily towards Fedora and almost ignores debian systems which
> > makes things a little difficult.
> >
> >  This week we had to recompile an upgrade kernel, i used the below
> > method and did a 'make oldconfig' but my xorg server fails to start -
> > how can this be if i am using the old config file?  and what can i do
> > to resolve this issue?
> >
> > -- COMPILE METHOD---
> > 1. obtained kernel in bzip2 format, untar, unzip and verify signature
> >
> > 2. clean out old config files with
> > # make mrproper
> >
> > 3.copy existing kernel config file to the new source directory:
> > # cp /boot/config-$(uname -r).config
> >
> > 4.  Configure the kernel
> > # make oldconfig
>
> Do this step here,
>      4.1 make menuconfig  (This will start an interactive menuconfig
> for you to check that your video driver module is enabled. Enable it
> if it is not. If you are running on X then do make xconfig.)
>
>      Kernel .config in your old kernel was not picked-up correctly
>      by your latest kernel that you are re-compiling. This is NOT unusual.
>
> > 5. compile kernel
> > # make-kpkg clean
> >
> > #make-kpkg modules_clean
> >
> > # make-kpkg --append_to_version=<.value> --initrd kernel_image
> >
> > (go for a walk...make a coffee and so on!.....)
> >
> > 6. Install Kernel
> >
> > # cd .. (check for the kernel in .deb format)
> >
> >
> > 7.  Reboot - all appears fine and then X wont start and  lo complains
> > about radeon video controller.
> >
> >
> >
> > Thanks guys once again for taking the time to read my rantings!

I don't agree!
Not sure what/where FEDORA does with it's config, so ensure that is correct:
(modern kernels, older (2.4s) are different)

* unpack your source
* copy the correct .config here (might be /proc/config.gz or /boot/config-bla)
* make oldconfig
* make
* make modules_install

The above IS exactly correct for 2.6's

(BTW for 2.4s
* unpack your source
* make mrproper
* copy the correct .config here (might be /proc/config.gz or /boot/config-bla)
* make oldconfig
* make dep
* make bzImage
* make modules
* make modules_install
)

If you do it all right, then your existing modules will be overwritten with 
exactly the same, nvidia, radeon etc will stay behind. You end up exactly 
where you were.

Note that EXTRA_VERSION in the Makefile AND the compiled in version stuff must 
match

You can check uname -a on both old and new
James
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to