* How to debug random bus errors?
@ 2006-09-22 17:11 Orion Poplawski
2006-09-22 19:33 ` Linus Torvalds
0 siblings, 1 reply; 3+ messages in thread
From: Orion Poplawski @ 2006-09-22 17:11 UTC (permalink / raw)
To: linux-kernel
We're seeing programs die with "bus error" (SIGBUS) randomly on a dual
processor Opteron machine. I've run memtest86+ and cpuburn stress tests
with no failure. gdb on a core file seems uninteresting. Is there some
way to trace the kernel to try to get more insight?
Thanks!
--
Orion Poplawski
System Administrator 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion@cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to debug random bus errors?
2006-09-22 17:11 How to debug random bus errors? Orion Poplawski
@ 2006-09-22 19:33 ` Linus Torvalds
2006-09-22 21:20 ` Orion Poplawski
0 siblings, 1 reply; 3+ messages in thread
From: Linus Torvalds @ 2006-09-22 19:33 UTC (permalink / raw)
To: Orion Poplawski; +Cc: linux-kernel
On Fri, 22 Sep 2006, Orion Poplawski wrote:
>
> We're seeing programs die with "bus error" (SIGBUS) randomly on a dual
> processor Opteron machine. I've run memtest86+ and cpuburn stress tests with
> no failure. gdb on a core file seems uninteresting. Is there some way to
> trace the kernel to try to get more insight?
Which kernel?
Opterons in SMP environments had a TLB flushing bug if the tlb flush
filter was enabled.
We've had that fixed for a long time, but if you have a kernel older that
2.6.14-rc2 or so (but still new enough to use the four-level page tables:
it's not a big window), you can hit the bug. We fixed it pretty much
exactly a year go ("Sat Sep 17, 2005").
Other than that, does it tend to happen to the same particular program? It
might just be a user space bug that needs a specific set of things to
happen. Some of those bugs go away when you disable address space
randomization etc, since they can depend on just pure luck (or rather,
lack there-of).
If it happens to lots of different programs, and you sometimes see
SIGSEGV's and occasionally perhaps data corruption, that does tend to
indicate memory problems (or wild kernel pointers, but on the whole memory
problems tend to be more common).
Linus
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to debug random bus errors?
2006-09-22 19:33 ` Linus Torvalds
@ 2006-09-22 21:20 ` Orion Poplawski
0 siblings, 0 replies; 3+ messages in thread
From: Orion Poplawski @ 2006-09-22 21:20 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
Linus Torvalds wrote:
>
> On Fri, 22 Sep 2006, Orion Poplawski wrote:
>> We're seeing programs die with "bus error" (SIGBUS) randomly on a dual
>> processor Opteron machine. I've run memtest86+ and cpuburn stress tests with
>> no failure. gdb on a core file seems uninteresting. Is there some way to
>> trace the kernel to try to get more insight?
>
> Which kernel?
>
Sorry, 2.6.17-1.2142_FC4smp, so fairly recent.
> Other than that, does it tend to happen to the same particular program? It
> might just be a user space bug that needs a specific set of things to
> happen. Some of those bugs go away when you disable address space
> randomization etc, since they can depend on just pure luck (or rather,
> lack there-of).
So far just one program. Forgot about address space randomization, may
need to look into turning that off to help debugging.
Thanks!
--
Orion Poplawski
System Administrator 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion@cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-09-22 21:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-22 17:11 How to debug random bus errors? Orion Poplawski
2006-09-22 19:33 ` Linus Torvalds
2006-09-22 21:20 ` Orion Poplawski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox