[NTLUG:Discuss] suse kernel recompile, take 2

Jack Snodgrass jack+ntlug at mylinuxguy.net
Mon Mar 10 09:15:27 CST 2003


> Saving your kernel configuration...
>
> *** End of Linux kernel configuration.
> *** Check the top-level Makefile for additional configuration.
> *** Next, you must run 'make dep'.

What happens if you do
make dep
like the message says? ;)

On my RH boxes, I do ( from memory.... might have
forgotten something )
make dep
make modules
make modules_install
make bzImage
then I cp arch/i386/bzImage to /boot/bzImage-2.4.20
cp System.map /boot/System.map-2.4.20

I use grub and set it up to use /boot/bzImage-2.4.20
You only need to do that once with Grub. If you use
lilo, you need to run lilo again to re-read the
new kernel.

Something like that.

jack




-- 
Thanks - jack


>
> Before the weekend, I was excited. I thought I was going to
> get this webcam working. Then I ran into a (for me) formidable
> snag. I was sad. It wasn't pretty.
>
> I'm on SuSE 8.1.
>
> I did these steps:
>
> I downloaded 2.4.19 from kernel.org,
> unpacked in my home dir,
> mv'd to /usr/src,
> deleted symlink to SuSE's kernel,
> re-symlinked to linux-2.4.19
> copied /boot/vmlinuz.config to /usr/src/linux/.config
> fired up menuconfig to tweak.
> make deps
>
> Got this error:
> make: *** No rule to make target `deps'.  Stop.
>
> I had previously successfully made a new 2.4.20 kernel,
> but ran into problem with the particular web cam driver;
> he said he wants 2.4.19, sooooooo...
>
> QUESTION 1: What do I do about this 'no rule' msg?
>
> QUESTION 2: If I actually get a new kernel compiled, I see a
> /boot/System.map-2.4.19-4GB file; I would imagine I would need
> a new system map. Is that true?
>
> ----------------------------------------------------------
>
> By the way, while I'm at it, I can't seem to get xconfig
> working. When I try bringing him up, I get:
>
> rm -f include/asm
> ( cd include ; ln -sf asm-i386 asm)
> make -C scripts kconfig.tk
> make[1]: Entering directory `/usr/src/linux-2.4.19/scripts'
> cat header.tk >> ./kconfig.tk
> ./tkparse < ../arch/i386/config.in >> kconfig.tk
> echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk
> echo "set ARCH \"i386\"" >> kconfig.tk
> cat tail.tk >> kconfig.tk
> chmod 755 kconfig.tk
> make[1]: Leaving directory `/usr/src/linux-2.4.19/scripts'
> wish -f scripts/kconfig.tk
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> Application initialization failed: this isn't a Tk applicationcouldn't
> connect to display ":0"
> Error in startup script: invalid command name "button"
>     while executing
> "button .ref"
>     (file "scripts/kconfig.tk" line 51)
> make: *** [xconfig] Error 1
>
>
>
>
>
>
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
>
>




More information about the Discuss mailing list