Skip to contentSkip to conversation

sata_mv important note

DISCUSSION Jeff Garzik 8 participants 16 messages Jan 17, 2006 – Jan 20, 2006 libata

lore
Share & tools
lore
#0 lore raw

For sata_mv users, you should be aware of three things:

1) The Marvell driver is experimental, and not yet considered ready for production use. As Kconfig notes: HIGHLY EXPERIMENTAL.

2) There are PCI Message Signalled Interrupt (MSI) problems that are not yet diagnosed. Workaround is to disable MSI.

3) There are still some errata that are not yet implemented. Thus, for some systems, you may see either lockups or data corruption. That's the price of running a HIGHLY EXPERIMENTAL driver.

Rest assured that all problem reports are read, even if you don't receive a reply. After enough feedback is received, the exact problem becomes more clear.

Jeff

#1 lore raw
Quoted 4 lines · Jeff Garzik

For sata_mv users, you should be aware of three things:

1) The Marvell driver is experimental, and not yet considered ready for production use. As Kconfig notes: HIGHLY EXPERIMENTAL.

Right, understood.

Can anyone recommend a 4xSATA (or more) controller on a PCI-X card that _is_ ready for production use? eSATA ports are prefered but not required. Support for hotplug, power management (spindown) and SMART is prefered but not required.

Anyone?

Quoted 3 lines

Rest assured that all problem reports are read, even if you don't receive a reply. After enough feedback is received, the exact problem becomes more clear.

Thanks Jeff!

Signature · 1 line
Sebastian Kuzminsky
#2 lore raw
Quoted 7 lines · Sebastian Kuzminsky
Quoted 4 lines · Jeff Garzik

For sata_mv users, you should be aware of three things:

1) The Marvell driver is experimental, and not yet considered ready for production use. As Kconfig notes: HIGHLY EXPERIMENTAL.

Right, understood.

I'm using:

03:03.0 SCSI storage controller: Marvell Technology Group Ltd. MV88SX6041 4-port SATA II PCI-X Controller (rev 07)

but with http://www.keffective.com/mvsata/FC3/mvSata-3.4.2a-patched.tbz driver and it works nicely (+ 2.8GHz Xeon HT, smp kernel). I was quite suprised to see that there are no problems with it in typical usage (while I'm sure that this driver is far away from kernel standards).

Signature · 2 lines
Arkadiusz Miśkiewicz                    PLD/Linux Team
http://www.t17.ds.pwr.wroc.pl/~misiek/  http://ftp.pld-linux.org/
#3 lore raw
Quoted 11 lines · Arkadiusz Miskiewicz
Quoted 7 lines · Sebastian Kuzminsky
Quoted 4 lines · Jeff Garzik

For sata_mv users, you should be aware of three things:

1) The Marvell driver is experimental, and not yet considered ready for production use. As Kconfig notes: HIGHLY EXPERIMENTAL.

Right, understood.

I'm using:

Quoted 7 lines

03:03.0 SCSI storage controller: Marvell Technology Group Ltd. MV88SX6041=20 4-port SATA II PCI-X Controller (rev 07)

but with http://www.keffective.com/mvsata/FC3/mvSata-3.4.2a-patched.tbz driver and it works nicely (+ 2.8GHz Xeon HT, smp kernel). I was quite suprised to see that there are no problems with it in typical usage (while I'm sure that this driver is far away from kernel standards).

I'm using:

0000:02:01.0 IDE interface: Marvell Technology Group Ltd. MV88SX6081 8-port SATA II PCI-X Controller (rev 09)

I'm running the stock 2.6.15 kernel & the in-kernel driver. I have four disks on this controller. The controller and disks seem perfectly stable, I've been running four parallel "badblocks -n" processes (one on each disk) for almost 5 days now. Using the disks as PVs in LVM works fine, and building a RAID-6 out of them also works fine.

But when I build a RAID-6 out of them, and use the array as a PV for LVM, the system locks up within seconds (no errors, no sysrq, no CapsLock-blinky, no network-pingy). This behavior is perfectly repeatable.

The problem goes away and everything works if I turn on all the debugging options in the kernel config (but I dont get any debug output from the kernel).

Arkadiusz, if possible, please see if you can replicate my hang.

Signature · 1 line
Sebastian Kuzminsky
#4 lore raw
Quoted 16 lines · Sebastian Kuzminsky

I'm using:

0000:02:01.0 IDE interface: Marvell Technology Group Ltd. MV88SX6081 8-port SATA II PCI-X Controller (rev 09)

I'm running the stock 2.6.15 kernel & the in-kernel driver. I have four disks on this controller. The controller and disks seem perfectly stable, I've been running four parallel "badblocks -n" processes (one on each disk) for almost 5 days now. Using the disks as PVs in LVM works fine, and building a RAID-6 out of them also works fine.

But when I build a RAID-6 out of them, and use the array as a PV for LVM, the system locks up within seconds (no errors, no sysrq, no CapsLock-blinky, no network-pingy). This behavior is perfectly repeatable.

Quoted 5 lines

The problem goes away and everything works if I turn on all the debugging options in the kernel config (but I dont get any debug output from the kernel).

Arkadiusz, if possible, please see if you can replicate my hang.

I will try and reproduce and fix this issue when my Marvell RAID system arrives here in a week or two.

Cheers

#5 lore raw
In reply to Sebastian Kuzminsky
Quoted 30 lines · Sebastian Kuzminsky
Quoted 11 lines · Arkadiusz Miskiewicz
Quoted 7 lines · Sebastian Kuzminsky
Quoted 4 lines · Jeff Garzik

For sata_mv users, you should be aware of three things:

1) The Marvell driver is experimental, and not yet considered ready for production use. As Kconfig notes: HIGHLY EXPERIMENTAL.

Right, understood.

I'm using:

Quoted 7 lines

03:03.0 SCSI storage controller: Marvell Technology Group Ltd. MV88SX6041=20 4-port SATA II PCI-X Controller (rev 07)

but with http://www.keffective.com/mvsata/FC3/mvSata-3.4.2a-patched.tbz driver and it works nicely (+ 2.8GHz Xeon HT, smp kernel). I was quite suprised to see that there are no problems with it in typical usage (while I'm sure that this driver is far away from kernel standards).

I'm using:

0000:02:01.0 IDE interface: Marvell Technology Group Ltd. MV88SX6081 8-port SATA II PCI-X Controller (rev 09)

I'm running the stock 2.6.15 kernel & the in-kernel driver. I have four disks on this controller. The controller and disks seem perfectly stable, I've been running four parallel "badblocks -n" processes (one on each disk) for almost 5 days now. Using the disks as PVs in LVM works fine, and building a RAID-6 out of them also works fine.

Quoted 4 lines

But when I build a RAID-6 out of them, and use the array as a PV for LVM, the system locks up within seconds (no errors, no sysrq, no CapsLock-blinky, no network-pingy). This behavior is perfectly repeatable.

Have you tried using "nmi_watchdog=1" kernel parameter?

Quoted 3 lines

The problem goes away and everything works if I turn on all the debugging options in the kernel config (but I dont get any debug output from the kernel).

Could you find the specific option which makes the hang go away?

Bartlomiej

#6 lore raw
Quoted 9 lines · Bartlomiej Zolnierkiewicz
Quoted 8 lines · Sebastian Kuzminsky

0000:02:01.0 IDE interface: Marvell Technology Group Ltd. MV88SX6081 8-port SATA II PCI-X Controller (rev 09)

I'm running the stock 2.6.15 kernel & the in-kernel driver. I have four disks on this controller. The controller and disks seem perfectly stable, I've been running four parallel "badblocks -n" processes (one on each disk) for almost 5 days now. Using the disks as PVs in LVM works fine, and building a RAID-6 out of them also works fine.

Quoted 6 lines
Quoted 4 lines

But when I build a RAID-6 out of them, and use the array as a PV for LVM, the system locks up within seconds (no errors, no sysrq, no CapsLock-blinky, no network-pingy). This behavior is perfectly repeatable.

Have you tried using "nmi_watchdog=1" kernel parameter?

I just tried this and it hung again, with nothing in the logs or on the console.

Pretty wierd.

I just had another hard lockup with sata_mv -> Raid-6, but without LVM. This is new for me, first time I've seen it lock up without LVM. I was resyncing the raid array and running 'badblocks -svn' on it (/dev/md1) at the same time, and it locked.

I'm going to shelve the Marvell 6081 controller for a while, and go buy something else...

Signature · 1 line
Sebastian Kuzminsky
#7 lore raw
In reply to Sebastian Kuzminsky
Quoted 5 lines · Sebastian Kuzminsky

Can anyone recommend a 4xSATA (or more) controller on a PCI-X card that _is_ ready for production use? eSATA ports are prefered but not required. Support for hotplug, power management (spindown) and SMART is prefered but not required.

The Pacific Digital QStor cards come in PCIX variants, and support SATA2. Hotplug et al is supported in the hardware, but not in the Libata driver. ATAPI is not supported at all.

Cheers

#8 lore raw
Quoted 10 lines · Mark Lord
Quoted 5 lines · Sebastian Kuzminsky

Can anyone recommend a 4xSATA (or more) controller on a PCI-X card that _is_ ready for production use? eSATA ports are prefered but not required. Support for hotplug, power management (spindown) and SMART is prefered but not required.

The Pacific Digital QStor cards come in PCIX variants, and support SATA2. Hotplug et al is supported in the hardware, but not in the Libata driver. ATAPI is not supported at all.

Using which driver? (just curious)

#9 lore raw
Quoted 9 lines · Erik Slagter
Quoted 7 lines · Mark Lord
Quoted 4 lines · Sebastian Kuzminsky

Can anyone recommend a 4xSATA (or more) controller on a PCI-X card that _is_ ready for production use? eSATA ports are prefered but not required. Support for hotplug, power management (spindown) and SMART is prefered but not required.

Quoted 6 lines
Quoted 3 lines

The Pacific Digital QStor cards come in PCIX variants, and support SATA2. Hotplug et al is supported in the hardware, but not in the Libata driver. ATAPI is not supported at all.

Using which driver? (just curious)

sata_qstor

Jeff

#10 lore raw
Quoted 8 lines · Jeff Garzik
Quoted 6 lines
Quoted 3 lines

The Pacific Digital QStor cards come in PCIX variants, and support SATA2. Hotplug et al is supported in the hardware, but not in the Libata driver. ATAPI is not supported at all.

Using which driver? (just curious)

sata_qstor

Bummer. I silently hoped it would be using ahci, but I will dream on ;-)

#11 lore raw
Quoted 4 lines · Erik Slagter
Quoted 2 lines

sata_qstor

Bummer. I silently hoped it would be using ahci, but I will dream on ;-)

It has a UHCI interface rather than AHCI.

There is an alternative SCSI LLD for it that supports all of the goodies (native and legacy tagged queuing, RAID 0/1/10, hot ("live") insertion/removal, etc.. but it is probably a bit out of date now. Last updated a year ago. And not in the main tree.

Cheers

#12 lore raw
Quoted 7 lines · Mark Lord
Quoted 4 lines · Erik Slagter
Quoted 2 lines

sata_qstor

Bummer. I silently hoped it would be using ahci, but I will dream on ;-)

It has a UHCI interface rather than AHCI.

UHCI as in USB Universal Host Controller Interface?? or something else?

Quoted 4 lines

There is an alternative SCSI LLD for it that supports all of the goodies (native and legacy tagged queuing, RAID 0/1/10, hot ("live") insertion/removal, etc.. but it is probably a bit out of date now. Last updated a year ago. And not in the main tree.

Signature · 1 line
~Randy
#13 lore raw
Quoted 10 lines · Randy.Dunlap
Quoted 4 lines · Mark Lord
Quoted 2 lines · Erik Slagter
Quoted 1 line

sata_qstor

Bummer. I silently hoped it would be using ahci, but I will dream on ;-)

It has a UHCI interface rather than AHCI.

UHCI as in USB Universal Host Controller Interface?? or something else?

Something else. Full native SATA PCI-X.

Cheers

#14 lore raw
Quoted 8 lines · Mark Lord
Quoted 6 lines
Quoted 3 lines
Quoted 2 lines
Quoted 1 line

sata_qstor

Bummer. I silently hoped it would be using ahci, but I will dream on ;-)

It has a UHCI interface rather than AHCI.

UHCI as in USB Universal Host Controller Interface?? or something else?

Something else. Full native SATA PCI-X.

Still bummer ;-)

#15 lore raw
In reply to Mark Lord
Quoted 9 lines · Mark Lord
Quoted 2 lines
Quoted 1 line

sata_qstor

Bummer. I silently hoped it would be using ahci, but I will dream on ;-)

It has a UHCI interface rather than AHCI.

There is an alternative SCSI LLD for it that supports all of the goodies (native and legacy tagged queuing, RAID 0/1/10, hot ("live") insertion/removal, etc.. but it is probably a bit out of date now. Last updated a year ago. And not in the main tree.

So it's actually an USB1.2 device?! Looks a bit slow to me?!