SX8 stability issue

From: Alexander Sbitnev
Date: Wed Jan 11 2006 - 08:10:13 EST


Working with Promise SX8 card for a while we still can't get NCQ
working stable for both original promise and vanilla kernel drivers.
We using latest firmware 1.00.0.37 and kernels from 2.6.8 up to 2.6.15.
Problems occured at least on two different hardware platforms.
We don't played with max_queue option (or it's header file analog value) yet,
keeping it on default value.
Controller work almost stable while NCQ option disabled in BIOS.
Once feature enabled in BIOS the system become hanging on IO with next
error messages appearing in the kernel log:

syslog.0:Jan 10 23:30:57 cell kernel: sx8(0000:01:06.0): unhandled event type 16
syslog.0:Jan 10 23:31:18 cell kernel: sx8(0000:01:06.0): unhandled event type 16
syslog.0:Jan 10 23:31:40 cell kernel: sx8(0000:01:06.0): unhandled event type 16
syslog.0:Jan 10 23:32:01 cell kernel: sx8(0000:01:06.0): unhandled event type 16
syslog.0:Jan 10 23:32:18 cell kernel: end_request: I/O error, dev sx8/0, sector 220064
syslog.0:Jan 10 23:32:18 cell kernel: Buffer I/O error on device sx8/0, logical block 27508
syslog.0:Jan 10 23:32:18 cell kernel: lost page write due to I/O error on sx8/0
syslog.0:Jan 10 23:32:18 cell kernel: Buffer I/O error on device sx8/0, logical block 27509
syslog.0:Jan 10 23:32:18 cell kernel: lost page write due to I/O error on sx8/0
syslog.0:Jan 10 23:32:18 cell kernel: Buffer I/O error on device sx8/0, logical block 27510

We don't really sure this problem is a 100% linux related, but it is
still persist after big hardware upgrade (From dual Pentium III to
Dual Opteron based system recomended for this controller).
Maybe it is not right way at all to turn NCQ in BIOS? Мауве we must
just increase max_queue parameter while keeping NCQ in BIOS disabled?



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