Compiling a kernel problems

alan alan at clueserver.org
Mon Jul 5 19:02:47 UTC 2010


On Mon, 5 Jul 2010, Bill Davidsen wrote:

> Alex wrote:
>> Hi,
>>
>> I'm trying to compile a kernel with aacraid support for a dual Opteron
>> 246 box with two 36GB disks on a Tyan S2891, using an initrd and lilo.
>>
>> There is an older kernel on there that works just fine, so I suspect
>> it's something I'm missing in the kernel config. No matter what I try,
>> the kernel fails to find the disks on the controller. I've even tried
>> building it without an initrd and compiling everything into the
>> kernel, but it still panics.
>>
>> I've included the aacraid support, SCSI disk, SCSI generic, and even
>> RAID1/5 support. The controller and motherboard also have the latest
>> BIOS updates.
>>
>> What else is necessary to support aacraid? What are the minimum
>> settings required to provide support for this controller?
>>
>> It prints the Adaptec aacraid basic info, but doesn't detect any disks
>> or even probe the controller.
>>
>> Is I2O or ACPI support necessary?
>>
> Wouldn't need firmware, would it?
>
>> Are there any boot-time options to increase debugging output to
>> troubleshoot this?
>>
>> The dmesg output from a working system is here:
>>
>> http://pastebin.com/0AnVBV7s
>>
>> The kernel config for the attempt is here:
>>
>> http://pastebin.com/gi9ybDwS

You need to use a newer config file. There was a change in options between 
2.6.33 and 2.6.34 that makes some options fall out when running "make 
oldconfig".

I would pull the source rpm from rawhide and use the config file from 
there.

You need to merge the files together using merge.pl.

Something like this:

merge.pl config-x84_64-generic config-generic > .config

If that does not work I can dig out the config file I use on my home 
machine from 2.6.35-rc3.

-- 
Truth is stranger than fiction because fiction has to make sense.


More information about the users mailing list