Re: Last chance: unresolved symbols and depmod weirdness
In article <[🔎] 20000319223635.A263@markevich.ourfamily.com> you wrote:
> Last chance to help me before I reformat the blasted thing and reinstall
> Slink (I will probably NEVER install potato, so far it's a piece of, well
> you know...)
>
> I recompiled a 2.0.36 kernel, of course I had to use gcc 2.72. I copied
> System.map all over known creation, made modules_install did depmod and
> update-modules, everything seemed fine, until I reboot. Now I get 7
> BAZILLION unresolved symbol references. I figured it's crufty, right? So I
> blew away the modules directory for 2.0.36, redid make modules_install and
> reboot.
Although this is the way it's done generically, there's a better
way with Debian. Install the kernel-package deb and then you
can install/remove/purge kernels with dpkg. It will handle all
the fiddly bits like updating modules, System.map.
>From the README:
# cd <kernel source tree>
# make xconfig (or menuconfig)
# make-kpkg clean
# make-kpkg -rfakeroot --revision=custom.1.0 kernel_image
# dpkg -i ../kernel-image-X.XXX_1.0_<arch>.deb
# shutdown -r now
Reply to: