This problem occurs with a PCI DawiControl DC-100 RAID controller. It's based on the Highpoint HPT372A Chip, Rev. 2. and other HPT372A based controllers. The Gentoo 1.4_rc1 LiveCD can detect the controller and the hard disks attached to it, as well as the raid array. The Gentoo system can be installed properly, but after compiling the kernel and booting the new kernel you get a null pointer derefence error after detection of the first hard disk on the first channel. The problem occurs with every kernel available on Gentoo 1.4 rc1 and also with gentoo-sources 2.4.25, after updating the portage tree. The problem probably persists because of the lack of support for this chip in older a recent kernel. The boot parameters specified in the kernel help for HPT36x/37x chipset support under ATA/IDE/MFM/RLL Support > IDE, ATA and ATAPI block devices are of no use either. Reproducible: Always Steps to Reproduce: 1. Install a HPT372A PCI controller with 2 hard disks in RAID 0. 2. Boot the LiveCD with "smp doataraid" 3. Install the system and configure the kernel as it's supposed to be for this hardware. 4. Install and configure LILO or GRUB and boot your system. Actual Results: The kernel crashes with a null pointer dereference error. Expected Results: Booting the system correctly.
Created attachment 28680 [details] PCI Devices
Created attachment 28682 [details] /proc/partitions
Created attachment 28683 [details] LILO Configuration
Created attachment 28684 [details] /etc/fstab
Created attachment 28685 [details] Kernel configuration (Gentoo sources 2.4.25)
Created attachment 28686 [details] LiveCD dmesg output
Created attachment 28687 [details] fdisk -l
See attachment for more information on the kernel as wel as the system.
Could you possibly try gentoo-dev-sources? The 2.6 kernels are supposed to have much better raid support.
You're talking about md raid, right? I don't remember kernel 2.6.* supporting hptraid. If so, I haven't considered that option yet, since I'm trying to get it running using the chip's native raid. Meanwhile I've found a patch that solved the kernel panic when detecting the hard disks, but the system is still not bootable. The patch can be found here: http://www.kernel.org/pub/linux/kernel/people/hedrick/ide-2.4.25/hpt366-0.37.patch.bz2
I think we've proven that this is over our heads. That or we have no clue. Perhaps a bug at http://bugme.osdl.org would find a solution to this quicker.