Click to See Complete Forum and Search --> : Compiling RAID+SMP Kernel for Slackware (please help)


x0054
04-09-2005, 02:21 AM
I have been trying to compile a kernel for 10 days now with no results. Please help. :( I am trying to compile a kernel that would have SCSI RAID support as well as SMP support for Slackware Linux. After trying to compile the 2.4 kernel with no results I copied the config file from Fedora Core 2 for it's kernel. BTW fedora automatically detects all CPUs and HDs and works grate, but I want to get slackware installed. Anyway, I copied the config file for kernel that works just fine with fedora and compiled a 2.6.11.7 kernel with that config file, installed the modules and restarted the server. The kernel boots and recognizes the RAID device, and the SMP setup, but when it comes time to mount the root partition it gives me an error: can't find the node. I am using the standard /dev/ida/c0d0p1 but also tried /dev/rd/c0d0p1. It does not see any of those!? But the RAID is recognized and "Auto Detected" with no errors. Is there another node that my RAID drive can be associated with? Something else to try? Also, perhaps if you ever compiled a kernel with these specifications can you send me your config file to this email: junk at toleap.com. The system that the kernel is for is Compaq ProLiant 5500.

Thank you for any help,

- Bogdan

Gogeta_44
04-11-2005, 12:14 AM
First of all, you shouldn't be using the fedora config file for a kernel running under slackware. You can find the proper config file for a 2.6.11 kernel under slackware here (ftp://ftp.slackware.com/pub/slackware/slackware-current/testing/source/linux-2.6.x/config-2.6.11).

SMP is under:
Processor type and features --->
.......[ ] Symetric Multi-processing support

Raid is under:
Device Drivers --->
.......Multi-device support (RAID and LVM) --->
...........[ ] Multiple devices drivers support (RAID and LVM)
...........[ ] RAID support

I think however that raid is enabled by default.

XiaoKJ
04-11-2005, 07:40 AM
We believe its better for you to learn ALL the options in the kernel before you move any furthur, but I can tell you why the FC2 kernel wouldn't work for you.

The FC2 kernel options are compiled such that most of the drivers are out of the kernel. then, the needed files are compiled as an initrd to facilitate booting. if not, the kernel itself will never boot to any system.

For the rest, you can use the question mark in configuring to make sure you make the right configurations. make a new config file and don't just cpy blindly. the objective is to learn.