Promise RAID driver

Antony Gelberg (antony@antgel.co.uk)
Thu, 19 Jun 2003 01:22:22 +0100


Hi all,

Apologies if this is a little OT but I was hoping someone in here might be
able to give me a hand.

I'm doing a new Debian install on a PC with a Promise 20376 onboard SATA
RAID controller. Promise have sent me a driver, which I built.

During the install, there is a point where it asks for any floppy-based
modules of this nature. I've successfully loaded scsi_mod.o then the
Promise ft3xx.o. (Also done it from the ash prompt to confirm that they
link ok.) The message comes up from the driver recognising my controller
and drives.

Problem is, Debian still can't see the array, and the documentation for the
driver is pants. I've had a look through the source but am at my limit of
comprehension. There is a call to scsi_register(), but then I lose the
plot.

I've tried fdisk on
/dev/hda
/dev/sda (even though this has a major number 8)
/dev/ataraid/d0 (major number 114)

Each time I get: Unable to open /dev/whatever.

FWIW, I have noted the following: cat /proc/devices shows that the ft3xx
device registers itself as 254 (it's dynamic - I assume that they go down
from 254). But an ls -l /dev/* shows no node with a major number of 254.

When I created one (/dev/raid) with mknod, I got messages complaining about
ioctl then a hang. So this seems to confirm that it uses a SCSI device. In
addition, it does call scsi_register. It then sets (in the returned struct)
max_channel=0, max_id=1, max_lun=1. I've tried poking about in the kernel
to see what this actually does but I'm out of my depth.

If anyone could give me a pointer (no pun intended), I'd be ever so
grateful.

(There is a driver in the kernel - this is for the earlier series (20276 not
20376), and will not work with this controller.)

Antony

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/