I'm installing Gentoo on a 500 mHz K6-2 system with 192 MB memory, 70 GB drive, and onboard ATI Rage Pro graphics.
I have made it through the install process, starting at stage 2. Everything seemed to
compile properly. None of the emerge steps ended in errors, at least. I installed Grub
into the boot sector and that starts to boot properly. However, as soon as I hit the
enter key to start the boot, the system flashes the first few lines and then reboots. The kernel messages flash so quickly, they are impossible to read.
The disk is partitioned into a 200 mb boot partition (hda1), a 500 meg root partition
(hda2), and ~34 GB of the drive (balance unused as yet) as a LVM drive containing the
swap (512 MB), home (~10 GB), var (~10 GB), usr (~10 GB), tmp (~2 GB), and opt (~2 GB). I can remount these partitions and everything seems to be present. I did compile the
kernel with LVM enabled. All partitions are formatted as ext3, and this suppport is
also compiled into the kernel.
I *believe* I've compiled the kernel properly. I've included the net driver in the kernel (3c59x) and all the rest of the items the instructions indicate are necessary. I did set the processor option to compile for the K6 family. I noted the kernel compile options set -march=K6 instead of -mcpu=k6. In previous compliations of the system software, I had trouble compiling with -march=k6. In this installation, I used -mcpu=k6 and everything compiled without any problems. I'm wondering if I should compile the kernel with the same options.
I did copy the new kernel and the system map to /boot. After copying the kernel according to the documentation, I installed the modules with module-install. I have hotplug enabled in the kernel, so what I read from the documentation, I shouldn't have to manually add the modules to the configuration. I assume the compilation process puts them where they need to be, if module-install doesn't do it.
Questions:
1. Do I need to do a 'make clean' before the 'make dep && make bzImage modules module-install' process when recompiling the kernel? 2. Do I need to start completely over, or can I reboot with the Gentoo CD, remount my partitions, recompile the kernel and move it to /boot? 3. After recompiling the kernel, do I need to recompile vixie-cron, grub, etc? 4. Is there another step to installing the modules?
Could some of you gurus out there give me some hints of things to try to debug this? With the messages disappearing so quickly, I'm not sure where to begin. I've recompiled
the kernel a few times with different options, but it always results in the same reboot.
First, try using the LiveCD's kernel configuration since you know that works. When booted from the LiveCD, mount your Gentoo partitions, then do
mv /mnt/gentoo/usr/src/linux/.config /mnt/gentoo/usr/src/linux/.config.bak cat /proc/config /mnt/gentoo/usr/src/linux/.config chroot /mnt/gentoo source /etc/profile env-update cd /usr/src/linux make dep && make clean && make bzImage cp arch/i386/boot/bzImage /boot/whatever (make sure your /boot is mounted)
If this works, then you know that there was a problem with the kernel you compiled. BTW, what did you have CHOST set for in your /etc/make.conf? The default of:
CHOST="i686-pc-linux-gnu"
does not work with any of the K6 processors. You have to use:
CHOST="i586-pc-linux-gnu"
-- Andrew Gaffney System Administrator Skyline Aeronautics, LLC. 776 North Bell Avenue Chesterfield, MO 63005 636-357-1548
-- [EMAIL PROTECTED] mailing list
