* swap_dup/swap_free: Bad swap file entry
@ 2002-05-12 20:45 Florian Weimer
2002-05-13 11:32 ` Hugh Dickins
0 siblings, 1 reply; 2+ messages in thread
From: Florian Weimer @ 2002-05-12 20:45 UTC (permalink / raw)
To: linux-kernel
What do these messages mean? That something is terribly hosed?
swap_dup: Bad swap file entry 1842b040
VM: killing process cc1
swap_free: Bad swap file entry 1dab3064
swap_free: Bad swap file entry 1842b040
swap_free: Bad swap file entry 18429040
swap_free: Bad swap file entry 31d7303c
swap_free: Bad swap offset entry 31d71000
(This is from a UP 2.4.18 kernel with XFS 1.1 patches.)
Is this caused by a hardware defect (broken IDE interface, maybe; in
our case VIA vt8233)?
--
Florian Weimer Weimer@CERT.Uni-Stuttgart.DE
University of Stuttgart http://CERT.Uni-Stuttgart.DE/people/fw/
RUS-CERT +49-711-685-5973/fax +49-711-685-5898
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: swap_dup/swap_free: Bad swap file entry
2002-05-12 20:45 swap_dup/swap_free: Bad swap file entry Florian Weimer
@ 2002-05-13 11:32 ` Hugh Dickins
0 siblings, 0 replies; 2+ messages in thread
From: Hugh Dickins @ 2002-05-13 11:32 UTC (permalink / raw)
To: Florian Weimer; +Cc: linux-kernel
On Sun, 12 May 2002, Florian Weimer wrote:
> What do these messages mean? That something is terribly hosed?
I'm afraid so.
> swap_dup: Bad swap file entry 1842b040
> VM: killing process cc1
> swap_free: Bad swap file entry 1dab3064
> swap_free: Bad swap file entry 1842b040
> swap_free: Bad swap file entry 18429040
> swap_free: Bad swap file entry 31d7303c
> swap_free: Bad swap offset entry 31d71000
They mean that junk (corruption) has been found in your pagetables
- and the swap dup/free code was the first to notice. Of course,
it could sometimes mean that the swap allocation code has gone wrong,
but from the numbers here (userspace pointers?) I'd guess not.
The worry is not so much the bad entries identified by these messages,
as the possible entries not reported, which looked like present page
table entries, and may have led to the wrong pages being freed (but
if all the corruption was userspace pointers, good chance that they
all looked more like even swap entries than odd page table entries:
I'm presuming x86).
> (This is from a UP 2.4.18 kernel with XFS 1.1 patches.)
>
> Is this caused by a hardware defect (broken IDE interface, maybe; in
> our case VIA vt8233)?
That I can't judge. I'd wonder about the XFS patches,
but I've no good grounds for that suspicion.
It looks as if a page is being used for two purposes (one of as your
pagetable) at the same time, but how that comes about I don't know -
though once it starts happening, the freeing of wrong pages as above
an multiply the effect. It's always worth giving memtest86 a go in
such cases, but there's nothing here that particularly suggests bad
memory as the culprit.
Hugh
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-13 11:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-12 20:45 swap_dup/swap_free: Bad swap file entry Florian Weimer
2002-05-13 11:32 ` Hugh Dickins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox