Skip to contentSkip to conversation

2.4.21-pre5-ac2: kernel oops with "swapoff -a"

DISCUSSION walt 3 participants 3 messages Mar 8, 2003

lore
Share & tools
lore

walt

author
#0 lore raw

Hi Alan,

When I do "swapoff -a" I still see the kernel oops that began with -pre4-ac7 and has propagated to every 'ac' kernel since then.

It's a "null-pointer dereference" oops which does not crash the system -- I still don't understand how that is possible.

Am I really the only person having this problem? The oops is 100% reproducible so it's hard to believe no one else is seeing it. It happens on all three of the machines I try it on, so it doesn't seem to be hardware-specific.

Plain 2.4.21-pre5 does NOT show this problem, so it seems to be a patch that was specifically introduced in -pre4-ac7 and I don't know enough to narrow it any further than that. I'm not an accomplished kernel debugger so I can't offer much more info than that, but I'd like to help if you can give me some hints what kind of information you might need to find the problem.

#1 lore raw
Quoted 2 lines · walt

When I do "swapoff -a" I still see the kernel oops that began with -pre4-ac7 and has propagated to every 'ac' kernel since then.

Yes. There is a nasty bug in the original 2.4 code (and maybe 2.5). There is a fix in the -ac tree but the fix has a different bug it seems.

Quoted 5 lines

Plain 2.4.21-pre5 does NOT show this problem, so it seems to be a patch that was specifically introduced in -pre4-ac7 and I don't know enough to narrow it any further than that. I'm not an accomplished kernel debugger so I can't offer much more info than that, but I'd like to help if you can give me some hints what kind of information you might need to find the problem.

The patch is staying in -ac until I find out why you hit it. I've had no other reports so far, but it just be the way your system is calling it.

Can you send me an strace swapoff -a ?

#2 lore raw
Quoted 9 lines
Quoted 6 lines

Plain 2.4.21-pre5 does NOT show this problem, so it seems to be a patch that was specifically introduced in -pre4-ac7 and I don't know enough to narrow it any further than that. I'm not an accomplished kernel debugger so I can't offer much more info than that, but I'd like to help if you can give me some hints what kind of information you might need to find the problem.

The patch is staying in -ac until I find out why you hit it. I've had no other reports so far, but it just be the way your system is calling it.

Just a thought - maybe he is using type 0 swap space? That could explain the lack of other reports...

John.