Gentoo and BC4000 series RAID cards

Raidcore hasn’t released drivers that support gentoo linux, only precompiled drivers for the other big distro’s.

I’ve managed to get the drivers for the bc4000 series to work on Gentoo Linux 2006.0 on linux-2.6.16-gentoo-r9 for the bc4852 card.

You need the driver SDK, which contains the source of the precompiled drivers they distribute.

I had to tweak some kernel configurations to get it to work — first of I had to turn the ‘sysrq magic key’, although it seems easy to remove all sysrq usage in the drivers itself iif you aren’t comfortable with sysrq.

I had to switch from ‘discontiguous memory’ to ‘sparse memory’ layout — the driver relies on the availability of ‘mem_map’.

In the Makefile of the bcraid there’s an issue with the PLATFORM define. It should be defines with ‘uname -m’ instead — otherwise it won’t link in the binary blob.

The bccfg init script they provide seems terribly useless, adding ‘bccfg’, and ‘bcraid’ for that matter, to /etc/modules.autoload.d/kernel-2.6 does just as fine, but cleaner.

Initially it seems that everything works fine, although I’m a bit worried about a lot of errors related to the bccfg device nodes in dmesg.

2 thoughts on “Gentoo and BC4000 series RAID cards”

  1. hi! seems like a common problem on the gentoo forums but even searching through the old posts at the gentoo forum i haven’t been able to find a solution to this problem:

    Code:

    eth0 does not exist

    now i’m using the integrated Marvell Yukon Gigabit nic integrated into my asus k8vsedx and there are 2 options when compiling the kernel under networking support -> ethernet (1000mb). one is deprecated and one is experimental. i’ve tried marking both with a “*” and neither of them have worked…

    i’m using the instructions for recompiling and installing the kernel found here. i’m manually confguring so section 7.c is what im using .

    any advice?

    edit: i’ve also downloaded a bz2 file from syskonnect.com for the nic but i don’t know exactly where to extract it. i know i’d have to modularize it in menuconfig and probably add it to the /etc/modules.autoload.d/kernel-2.6.12-gentoo-r4 file right?

  2. 1. Are you using the latest kernel? (2.6.17)
    2. Does the card show up in lspci?
    3. Have you also compiled in the proper drivers for your motherboard like dma for your mb?

    I’m not a guru on hardware drivers, so you still might have more luck on the gentoo-forums.

Leave a Reply

Your email address will not be published. Required fields are marked *