mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* sx8 on x86-64 instability with kernels >= 2.6.16
@ 2006-10-12 15:51 David Dumas
  2006-10-13  3:55 ` David Dumas
  0 siblings, 1 reply; 2+ messages in thread
From: David Dumas @ 2006-10-12 15:51 UTC (permalink / raw)
  To: linux-kernel

I have a dual opteron system with an sx8, and have observed repeatable
sx8 failures under x86-64 linux 2.6.16 and later.  The problems are
not observed on x86-64 kernels 2.6.15 and earlier, nor on _any_ i386
kernel.

I first noticed the problem when trying to build a md RAID on the sx8.
 The resync always stops after < 2 seconds (at different points, but
always early).  Stats in /proc/mdstat continue to update, but show no
progress, and mdadm --stop causes a soft lockup.  Note that building a
RAID consisting of disks on the onboard SATA controller works fine.

The problem is not specific to md however.  While a single instance of
bonnie++ typically succeeds, running two simultaneous instances on
different disks connected to the sx8 always results in one of them
freezing in disk wait.  Sometimes a soft lockup occurs.  I have never
observed any error messages in syslog or on the console.

The dependence of the problem on specific kernel versions and the
x86-64 architecture seems to rule out hardware issues (though I tried
replacing cables, reseating card, etc.).

As for kernel configuration, I have tried both debian stock amd64
kernels and a custom kernel configured as close to the working 2.6.15
kernel as possible.  The problem is the same in each case.  I always
keep the sx8 "max_queue" parameter at the safe value of 1, so this is
not related to the instability observed by the driver developer for
larger queues.

This is especially perplexing since the sx8 driver was only subject to
trivial patches in the 2.6.16 release:

[PATCH] md: remove slashes from disk names when creation dev names in sysfs
[PATCH] mutex subsystem, semaphore to completion: SX8

Perhaps a seemingly unrelated patch affects the sx8 driver, but only
on x86-64?  And advice or suggestions would be appreciated.

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

* Re: sx8 on x86-64 instability with kernels >= 2.6.16
  2006-10-12 15:51 sx8 on x86-64 instability with kernels >= 2.6.16 David Dumas
@ 2006-10-13  3:55 ` David Dumas
  0 siblings, 0 replies; 2+ messages in thread
From: David Dumas @ 2006-10-13  3:55 UTC (permalink / raw)
  To: linux-kernel

On 10/12/06, David Dumas <daviddumas@gmail.com> wrote:
> As for kernel configuration, I have tried both debian stock amd64
> kernels and a custom kernel configured as close to the working 2.6.15
> kernel as possible.

It turns out that these test cases were slightly flawed, in that the
default io scheduler was not that same for all of them.  Debian
recently changed the default io scheduler for their stock kernels.

Now it looks like the problem is an incompatibility between the CFQ
scheduler and the sx8 driver (on both i386 and x86-64).  I'll
investigate this further.

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

end of thread, other threads:[~2006-10-13  3:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-12 15:51 sx8 on x86-64 instability with kernels >= 2.6.16 David Dumas
2006-10-13  3:55 ` David Dumas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®