I was working on th future S!BRAS project when the signal went dead to the monitor and the sound stopped working, could not switch to a terminal and the CAPS LOCK light did not come on when pressed.
I have had my old Linux system hang before but never crash like this, and it did not reboot or exhibit any other action/inaction.
I thought it must have over heated but the heat sensors in the BIOS when I rebooted should a very comfortable 35C.
The system came up fine, but I wondered if I had an out of date kernel and that had caused the problem, I am very bad at remembering to update my kernel, or more to the point finding the time when the machine can go down.
No problem the gentoo
genkernel makes rebuilding the kernel a breeze, or thats what I remembered ..
genkernel --bootloader=grub all
but it did not give me the option to configure the kernel and included all sorts of things the caused me problems. So I ran make menuconfig separately made my changes and ran genkernel again, seemed fine so rebooted.
Lots of kernel related bits were wrong, wrong modules, stuff I had explicitly excluded etc.
Found that genkernel uses its own .config file and ignores mine, found the option to use my config file and ran again, error can not install to BOOTDIR, drat I must have missed something out of my .config.
Long story short the /boot partition was full of my old kernels and there was no room for the new one. So I created a backup folder and moved /boot to it, reran genkernel and got errors /boot/grub/grub.conf was missing, no problem moved grub folder from my back up ran genkernel for the millionth time and with no errors rebooted.
Got the Grub shell and nothing else, after having fun with Ubuntu on my test machine got some instructions to boot Knoppix and find the right parameters for Grub.
in the Grub shell used "setup (hd0)" rebooted and all worked fine-ish.
A few recompiles later I had my system back ...
Notes to self.
Ensure /boot is devoid of very old kernels.
run genkernel with --menuconfig and --bootloader=grub all
set the arch to AMD 64
set all the painful file systems to NOT install not even modules !
remove FORCEDETH from 10/100 network devices
compile in SKGE in 1000 network devices
turn on SOUND SUPPORT but turn off ALSA and OSS
Add in Network support/network options/network packet filtering (replaces ipchains)
-- core / xtables and as much as possible as modules
-- ip / as much as possible as modules
after compile (takes about 12 mins)
run module-rebuild rebuild
reboot, enjoy !