linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SX8 stability issue
@ 2006-01-11 13:06 Alexander Sbitnev
  2006-01-11 19:29 ` Jeff Garzik
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Sbitnev @ 2006-01-11 13:06 UTC (permalink / raw)
  To: linux-kernel

  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?




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SX8 stability issue
  2006-01-11 13:06 SX8 stability issue Alexander Sbitnev
@ 2006-01-11 19:29 ` Jeff Garzik
  2006-01-12 11:13   ` Re[2]: " Alexander Sbitnev
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Garzik @ 2006-01-11 19:29 UTC (permalink / raw)
  To: Alexander Sbitnev; +Cc: linux-kernel

Alexander Sbitnev wrote:
>   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).

Well, the in-kernel sx8 driver does not use NCQ at all, so you would 
have to have modified the driver to turn it on.  Presumably this means 
there is a bug in your modifications?


>   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?

This is the best first step...

	Jeff



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re[2]: SX8 stability issue
  2006-01-11 19:29 ` Jeff Garzik
@ 2006-01-12 11:13   ` Alexander Sbitnev
  2006-01-17 15:01     ` Jeff Garzik
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Sbitnev @ 2006-01-12 11:13 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-kernel

> Well, the in-kernel sx8 driver does not use NCQ at all, so you would
> have to have modified the driver to turn it on.  Presumably this means 
> there is a bug in your modifications?

Hmmm... Ok, driver doesn't care about NCQ at all, as i understood all NCQ work
performed by it's firmware. Then we have just a stability issue, not
directly linked to NCQ. Right?
              Shuras





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SX8 stability issue
  2006-01-12 11:13   ` Re[2]: " Alexander Sbitnev
@ 2006-01-17 15:01     ` Jeff Garzik
  0 siblings, 0 replies; 4+ messages in thread
From: Jeff Garzik @ 2006-01-17 15:01 UTC (permalink / raw)
  To: Alexander Sbitnev; +Cc: linux-kernel

Alexander Sbitnev wrote:
>>Well, the in-kernel sx8 driver does not use NCQ at all, so you would
>>have to have modified the driver to turn it on.  Presumably this means 
>>there is a bug in your modifications?
> 
> 
> Hmmm... Ok, driver doesn't care about NCQ at all, as i understood all NCQ work
> performed by it's firmware. Then we have just a stability issue, not
> directly linked to NCQ. Right?

I cannot say "correct", I can only guess "possibly yes."

	Jeff




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-01-17 15:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-11 13:06 SX8 stability issue Alexander Sbitnev
2006-01-11 19:29 ` Jeff Garzik
2006-01-12 11:13   ` Re[2]: " Alexander Sbitnev
2006-01-17 15:01     ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).