Hi,
I am having problems installing gentoo on my server. I keep getting a kernel panic after reboot. I am following the "Gentoo Linux x86 Quick Install Guide" just with the amd64 stage 3.
The server has a HP Smart Array p400i Raid controller with a raid 6 setup. I set the module "Compaq Smart Array 5xxx support" to be built-in the kernel, its under block devices in the menuconfig. If you need the debug info off the screen when the kernel panic's let me know, I don't want to type it all if I don't have to.
I think it is one of 2 things. Either I have the wrong driver module selected for the raid controller. Or I have the wrong device path set in the fstab and/or my grub.conf
Here is my fstab:

Code:

# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed); notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2
# If you are not using Genkernel and you need help creating this file, you
# should consult the handbook. Alternatively, consult the grub.conf.sample that
# is included with the Grub documentation.

You have selected the right driver for your hardware. Since you have configured it as a module, do you use an initrd? If not, you have to use one which includes the module for the array controller. If you don't want to use an initrd, compile the driver in to the kernel (not as a module). This is needed, because the kernel needs the driver to mount your partitions.

Well I got it to boot successfully. But it worked out a little strange. I made sure CONFIG_DEVTMPFS=Y and CONFIG_DEVTMPFS_MOUNT=Y were set (They were not). I couldn't find CONFIG_TMPFS=Y, but I compiled and rebooted anyway. After rebooting, I had a new error. It said I set a invalid root and the kernel panicked again. It said my choices were:
cciss/c0d0p1
cciss/c0d0p2
cciss/c0d0p3

So now there was something wrong with my grub.conf? I had seen on a different thread that if you replace the / with a ! in the dev/cciss/c0d0p3 it would fix it. I tried it before with no luck, but I figured... why not, I'll try it again.
This is my new grub.conf that worked:

Code:

# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2
# If you are not using Genkernel and you need help creating this file, you
# should consult the handbook. Alternatively, consult the grub.conf.sample that
# is included with the Grub documentation.

Why on earth does a ! make it work. What is changing the / to a ! supposed to signify? I would very much like to know this for future reference.

NOW though I have a different issue. I don't know if it still falls in this thread, I assume it does, its still a problem with my install.
The problems now is my network cards are not recognized. They are Broadcom Netextreme II and the module for them is bnx2. I made it built-in the kernel (I also tried it as a module). But when I boot, a error fly's by that "interface eth0 does not exist". And ifconfig just shows the lo interface.
When I enter lsmod it lists nothing
And I noticed in my lspci that it has a entry:

Code:

02:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev c3)

I wonder if I need a module for that as well, what module would it be?
Or if that's not the problem what is?

I looked in the /lib/firmware/bnx2 folder on the live cd and it shows the firmware files

Code:

bnx2-mips-06-6.2.1.fw
bnx2-mips-06-6.2.1a.fw

So it is trying to load the wrong firmware?

Whatever the problem is, I think it is transferring to my installation. What do I need to install or add to make the interfaces work? Where can I find the right firmware?
And how do I re-open a bug if that applies?

I would like to apologize before hand as this has me a little annoyed...
Why the hell does Gentoo change the wording for the interfaces. The MAC addresses for enp3s0 and enp5s0 match, so they are the interfaces. I had this happen before when a ide hard drive controller was at /dev/hda in the live cd, and then it was /dev/sda in the system. This seems like a issue that should be fixed...

Now how the heck do I reconfigure my system for the different interface name? Everything works if I manually configure the network. But now what do I have to change to make it start at boot? I went through the "Configure networking" section of the Gentoo quick install, I would think that would do it, but when I enter: "rc-update add net.enp3s0 default" it says the service does not exist?

to create a blank file which will tell udev to leave the interface names alone. then reboot and look for the kernel named interfaces. you must remember that linux is produced by a herd of cats._________________Defund the FCC.

Thank you to everyone on this thread. Donahue, the command "touch /etc/udev/rules.d/80-net-name-slot.rules" did the trick. I changed all my config files back to eth0 and rebooted and I now have a working ssh connection to my server.
I think I should be all set now.
Thanks again.