Skip to contentSkip to conversation

promise sx8 sata driver

DISCUSSION Chris Haumesser 3 participants 5 messages May 23, 2005 – May 24, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

I hope this isn't entirely inappropriate for this list, but I am trying to learn more about the promise sx8 driver in the current 2.6-series kernel.

I'm currently running debian-sarge with a custom 2.6.11.10 kernel.

The sx8 driver does not use libata, and it is a separate block device, outside of the scsi and ata hierarchies. If I compile the driver into my kernel, I end up with /dev/sx8/0 and /dev/sx8/0p1, etc. However, no scsi disk devices are created, and grub does not recognize that /dev/sx8/ devices are disks. There's no indication in /proc/scsi/ that they are being registered with the scsi subsystem; this is clearly different from every other sata controller I've used. I've been googling this for days, with no real luck. I have found changelogs for grub that suggest that my version (0.95) should support booting from the sx8.

So my question is, how does one use this driver for sata disks? Is my problem a grub problem, or does it have something to do with the fact that this is a separate block device from the ata/scsi subsystems?

There is a different open source driver directly available from promise, which seems to work better for my needs; however, I would like to be able to have the driver built directly into the kernel rather than modularized. When I insert the SATAIIS150.ko kernel module from this driver, dmesg immediately shows my disks; they are assigned standard scsi device nodes (sda, sdb, etc); and they are recognized by grub.

What is the relationship between the promise driver and the one included in the kernel? Why does one work differently from the other? Is there something else I need to activate in my kernel configuration to get the standard 2.6 kernel driver to work the way I expect?

I hope someone can shed some light. I can't seem to find any documentation or info anywhere.

Many thanks,

-C-

#1 lore raw
Quoted 10 lines · Chris Haumesser

The sx8 driver does not use libata, and it is a separate block device, outside of the scsi and ata hierarchies. If I compile the driver into my kernel, I end up with /dev/sx8/0 and /dev/sx8/0p1, etc. However, no scsi disk devices are created, and grub does not recognize that /dev/sx8/ devices are disks. There's no indication in /proc/scsi/ that they are being registered with the scsi subsystem; this is clearly different from every other sata controller I've used. I've been googling this for days, with no real luck. I have found changelogs for grub that suggest that my version (0.95) should support booting from the sx8.

sx8 is a separate block driver, and has nothing whatsoever to do with scsi.

Quoted 2 lines

So my question is, how does one use this driver for sata disks? Is my problem a grub problem, or does it have something to do with the fact

a grub problem

Quoted 2 lines

What is the relationship between the promise driver and the one included in the kernel? Why does one work differently from the other? Is there

Promise SX8 provides neither an ATA nor SCSI interface to the developer, so its not written as an ATA or SCSI driver.

Jeff

#2 lore raw

How good is 2.6.6 carmel.c driver for sx8 adapters? Does it support the promise adapter? Why have you developed sx8.c?

Quoted 35 lines · Jeff Garzik
Quoted 10 lines · Chris Haumesser

The sx8 driver does not use libata, and it is a separate block device, outside of the scsi and ata hierarchies. If I compile the driver into my kernel, I end up with /dev/sx8/0 and /dev/sx8/0p1, etc. However, no scsi disk devices are created, and grub does not recognize that /dev/sx8/ devices are disks. There's no indication in /proc/scsi/ that they are being registered with the scsi subsystem; this is clearly different from every other sata controller I've used. I've been googling this for days, with no real luck. I have found changelogs for grub that suggest that my version (0.95) should support booting from the sx8.

sx8 is a separate block driver, and has nothing whatsoever to do with scsi.

Quoted 2 lines

So my question is, how does one use this driver for sata disks? Is my problem a grub problem, or does it have something to do with the fact

a grub problem

Quoted 2 lines

What is the relationship between the promise driver and the one included in the kernel? Why does one work differently from the other? Is there

Promise SX8 provides neither an ATA nor SCSI interface to the developer, so its not written as an ATA or SCSI driver.

Jeff

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

#3 lore raw

I don't understand either. The Promise driver (I think this is carmel?) found at
http://www.promise.com/support/download/download2_eng.asp?productID=125&category=all&os=100#
seems to be GPL. I haven't tested it extensively yet, but it appears to provide scsi device nodes that grub recognizes readily.

Why are there two GPL driver projects for this card, and what is the difference? Is there something wrong with promise's driver, or inherently superior in the kernel driver? How is one supposed to choose? There is very little documentation for either driver, so it is quite unclear which is appropriate for a given application.

-C-

Quoted 56 lines · Kallol Biswas

How good is 2.6.6 carmel.c driver for sx8 adapters? Does it support the promise adapter? Why have you developed sx8.c?

Quoted 46 lines · Jeff Garzik
Quoted 12 lines · Chris Haumesser

The sx8 driver does not use libata, and it is a separate block device, outside of the scsi and ata hierarchies. If I compile the driver into my kernel, I end up with /dev/sx8/0 and /dev/sx8/0p1, etc. However, no scsi disk devices are created, and grub does not recognize that /dev/sx8/ devices are disks. There's no indication in /proc/scsi/ that they are being registered with the scsi subsystem; this is clearly different from every other sata controller I've used. I've been googling this for days, with no real luck. I have found changelogs for grub that suggest that my version (0.95) should support booting from the sx8.

sx8 is a separate block driver, and has nothing whatsoever to do with scsi.

Quoted 4 lines

So my question is, how does one use this driver for sata disks? Is my problem a grub problem, or does it have something to do with the fact

a grub problem

Quoted 4 lines

What is the relationship between the promise driver and the one included in the kernel? Why does one work differently from the other? Is there

Promise SX8 provides neither an ATA nor SCSI interface to the developer, so its not written as an ATA or SCSI driver.

Jeff

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

#4 lore raw
Quoted 11 lines · Chris Haumesser

I don't understand either. The Promise driver (I think this is carmel?) found at
http://www.promise.com/support/download/download2_eng.asp?productID=125&category=all&os=100#
seems to be GPL. I haven't tested it extensively yet, but it appears to provide scsi device nodes that grub recognizes readily.

Why are there two GPL driver projects for this card, and what is the difference? Is there something wrong with promise's driver, or inherently superior in the kernel driver? How is one supposed to choose? There is very little documentation for either driver, so it is quite unclear which is appropriate for a given application.

Promise SX8 is not SCSI, and should not be a SCSI driver.

Jeff