Skip to contentSkip to conversation

Reiser4 lockups (no oops)

DISCUSSION Chris Boot 4 participants 10 messages Oct 19, 2005 – Oct 20, 2005

lore
Share & tools
lore

Chris Boot

author
#0 lore raw

Hi all,

I've been using Reiser4 on a couple of filesystems to give it a shot, and although it has been working fine for a while I've noticed that newer versions of the patch cause lockups on my machine. It all started when I upgraded to the reiser4-for-2.6.13-1.patch.gz from reiser4-for-2.6.12-3.patch.gz, which works fine. I've also tested a vanilla 2.6.14-rc4-mm1 which has the same symptoms.

I don't get any OOPSes or BUGs or anything, not on my screen nor on my serial console (although I'm not sure I have this working right--I only seem to get kernel boot messages). Machine replies to pings but I can't SSH, and the watchdog doesn't kick in (hangcheck or w83627hf_wdt) so I only notice it's crashed when I wake up in the morning. The crashes seem most lilkely to occur in periods of heavy I/O -- large Samba file transfers or updatdb do the trick.

Anything I can do to try and track down the issue?

Thanks,
Chris

Signature · 3 lines
Chris Boot
[email protected]
http://www.bootc.net/
#1 lore raw
Quoted 3 lines · Chris Boot

I don't get any OOPSes or BUGs or anything, not on my screen nor on my serial console (although I'm not sure I have this working right--I only seem to get kernel boot messages). Machine replies to pings but I can't

Easy fix for that is probably to kill klogd on the machine. Test with eg loading/unloading of loop, that prints a message when it loads.

Signature · 1 line
Jens Axboe
author
#2 lore raw

Quoting Jens Axboe <[email protected]>:

Quoted 7 lines · Chris Boot
Quoted 3 lines

I don't get any OOPSes or BUGs or anything, not on my screen nor on my serial console (although I'm not sure I have this working right--I only seem to get kernel boot messages). Machine replies to pings but I can't

Easy fix for that is probably to kill klogd on the machine. Test with eg loading/unloading of loop, that prints a message when it loads.

I'd love to, but the machine is locked solid and won't turn on the display or switch TTYs or anything. Anyway, I've applied reiser4-fix-livelock.patch from ftp.namesys.org and so far so good (over night).

I see there's now a reiser4-fix-livelock-2.patch, anybody know the differences?

Chris

Signature · 3 lines
Chris Boot
[email protected]
http://www.bootc.net/
#3 lore raw
Quoted 7 lines · Chris Boot

Quoting Jens Axboe <[email protected]>:

Quoted 5 lines · Chris Boot
Quoted 3 lines

I don't get any OOPSes or BUGs or anything, not on my screen nor on my serial console (although I'm not sure I have this working right--I only seem to get kernel boot messages). Machine replies to pings but I can't

Quoted 7 lines
Quoted 2 lines

Easy fix for that is probably to kill klogd on the machine. Test with eg loading/unloading of loop, that prints a message when it loads.

I'd love to, but the machine is locked solid and won't turn on the display or switch TTYs or anything. Anyway, I've applied reiser4-fix-livelock.patch from ftp.namesys.org and so far so good (over night).

I mean _before_ the crash, to make sure the messages get out :-)

Signature · 1 line
Jens Axboe
author
#4 lore raw
Quoted 19 lines · Jens Axboe
Quoted 16 lines · Chris Boot

Quoting Jens Axboe <[email protected]>:

Quoted 12 lines · Chris Boot
Quoted 7 lines

I don't get any OOPSes or BUGs or anything, not on my screen nor on my serial console (although I'm not sure I have this working right--I only seem to get kernel boot messages). Machine replies to pings but I can't

Easy fix for that is probably to kill klogd on the machine. Test with eg loading/unloading of loop, that prints a message when it loads.

Quoted 10 lines
Quoted 6 lines

I'd love to, but the machine is locked solid and won't turn on the display or switch TTYs or anything. Anyway, I've applied reiser4-fix-livelock.patch from ftp.namesys.org and so far so good (over night).

I mean _before_ the crash, to make sure the messages get out :-)

Oh! Hehe, now I get you. However, I'm using metalog for logging, and modprobe loop doesn't give any output. What's interesting is that serial console logging dies long before metalog is started, just after my swap is added in fact. I'm using Gentoo.

Any ideas?

Cheers,
Chris

Signature · 3 lines
Chris Boot
[email protected]
http://www.bootc.net/
#5 lore raw

Chris Boot writes:

[...]

Quoted 6 lines

Oh! Hehe, now I get you. However, I'm using metalog for logging, and modprobe loop doesn't give any output. What's interesting is that serial console logging dies long before metalog is started, just after my swap is added in fact. I'm using Gentoo.

Any ideas?

What

cat /proc/sys/kernel/printk

shows after a boot?

Quoted 3 lines

Cheers,
Chris

Nikita.

#9 lore raw
In reply to Chris Boot
Quoted 7 lines · Chris Boot

Quoting Jens Axboe <[email protected]>:

Quoted 5 lines · Chris Boot
Quoted 3 lines

I don't get any OOPSes or BUGs or anything, not on my screen nor on my serial console (although I'm not sure I have this working right--I only seem to get kernel boot messages). Machine replies to pings but I can't

Quoted 8 lines
Quoted 2 lines

Easy fix for that is probably to kill klogd on the machine. Test with eg loading/unloading of loop, that prints a message when it loads.

I'd love to, but the machine is locked solid and won't turn on the display or
switch TTYs or anything. Anyway, I've applied reiser4-fix-livelock.patch from
ftp.namesys.org and so far so good (over night).

aah! nice, those also fix the apt-get freeze I've been having from some mm kernels ago.

I also managed to get the trace of apt-get freezing by means of Sysrq+P but I stupidly forgot the fs was readonly so I didn't dump dmesg :P I can easily reproduce it if anyone is interested.

Quoted 2 lines

I see there's now a reiser4-fix-livelock-2.patch, anybody know the differences?

don't know, I'd try the -2 patches also, they seem a different version of the same fix/cleanup.

Signature · 2 lines
mattia
:wq!
author
#6 lore raw
In reply to Nikita Danilov
Quoted 12 lines · Nikita Danilov

Chris Boot writes:

[...]

Quoted 3 lines

Oh! Hehe, now I get you. However, I'm using metalog for logging, and modprobe loop doesn't give any output. What's interesting is that serial console logging dies long before metalog is started, just after my swap is added in fact. I'm using Gentoo.

Any ideas?

What

cat /proc/sys/kernel/printk

Quoted 9 lines

shows after a boot?

Quoted 3 lines

Cheers,
Chris

Nikita.

Hi there,

It shows:

arcadia ~ # cat /proc/sys/kernel/printk
1 4 1 7

Cheers,
Chris

Signature · 3 lines
Chris Boot
[email protected]
http://www.bootc.net/
#7 lore raw
Quoted 26 lines · Chris Boot
Quoted 15 lines · Nikita Danilov

Chris Boot writes:

[...]

Quoted 6 lines

Oh! Hehe, now I get you. However, I'm using metalog for logging, and modprobe loop doesn't give any output. What's interesting is that serial console logging dies long before metalog is started, just after my swap is added in fact. I'm using Gentoo.

Any ideas?

What

cat /proc/sys/kernel/printk

Quoted 9 lines

shows after a boot?

Quoted 3 lines

Cheers,
Chris

Nikita.

Quoted 6 lines

Hi there,

It shows:

arcadia ~ # cat /proc/sys/kernel/printk
1 4 1 7

That's why nothing is printed on the console. Try

echo 8 4 4 8 > /proc/sys/kernel/printk

Quoted 3 lines

Cheers,
Chris

Nikita.

author
#8 lore raw
Quoted 29 lines · Nikita Danilov
Quoted 28 lines · Chris Boot
Quoted 15 lines · Nikita Danilov

Chris Boot writes:

[...]

Quoted 6 lines

Oh! Hehe, now I get you. However, I'm using metalog for logging, and modprobe loop doesn't give any output. What's interesting is that serial console logging dies long before metalog is started, just after my swap is added in fact. I'm using Gentoo.

Any ideas?

What

cat /proc/sys/kernel/printk

Quoted 9 lines

shows after a boot?

Quoted 3 lines

Cheers,
Chris

Nikita.

Hi there,

Quoted 8 lines
Quoted 4 lines

It shows:

arcadia ~ # cat /proc/sys/kernel/printk
1 4 1 7

That's why nothing is printed on the console. Try

echo 8 4 4 8 > /proc/sys/kernel/printk

Cheers! That did the trick.

Chris

Signature · 3 lines
Chris Boot
[email protected]
http://www.bootc.net/