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.

4 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.

  3. A blast from the long distant past I know, however I’m pondering attempting to get one of these cards running under SGI Irix on my O2 as a JBOD controller – probably an insane and fruitless exercise, but it will keep me occupied for a time.

    The card does have excellent specs and would be suitable for my purpose – to dream the impossible dream.

    Anyway, I cannot find the driver source anywhere, all but one reference to the BC4852 (BC4000) is gone from the broadcom site.

    Any clue if the driver source is lurking anywhere?

  4. Blast from the past indeed! I threw away my PC with BC4852 quite a few years ago now, and I’m afraid I don’t have a backup of it that could contain the driver.

Leave a Reply

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