Skip to contentSkip to conversation

reproducable deadlock condition (reiser4)

DISCUSSION Christophe Saout 3 participants 6 messages Sep 25, 2004 – Sep 30, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

it seems I've found a deadlock in reiser4.

I don't know how it happens, but every time i want to run "emerge php" the command compiles php and wants to install it but just before the end it hangs (when running some PEAR commands). The whole system freezes a couple of seconds after that. /var/log/messages contains some lines saying "clong length 0" but these lines never actually get commited to disk when the build directory is on the /var volume.

Interestingly the same deadlock occurs if I try to run the build on another volume.

I've tried it four times so far, always with the same result. The filesystems are all clean.

Should I turn on debugging? I can also provide ssh access to someone if he wants to look himself.

The reiser4 version is from 2.6.9-rc1-mm1, I think.

#1 lore raw
Quoted 15 lines

Hi,

it seems I've found a deadlock in reiser4.

I don't know how it happens, but every time i want to run "emerge php" the command compiles php and wants to install it but just before the end it hangs (when running some PEAR commands). The whole system freezes a couple of seconds after that. /var/log/messages contains some lines saying "clong length 0" but these lines never actually get commited to disk when the build directory is on the /var volume.

Interestingly the same deadlock occurs if I try to run the build on another volume.

Quoted 7 lines

I've tried it four times so far, always with the same result. The filesystems are all clean.

Should I turn on debugging? I can also provide ssh access to someone if he wants to look himself.

The reiser4 version is from 2.6.9-rc1-mm1, I think.

Hello :)

I to had problems with rc1. For example the repacker would also freeze my system or corrupt the disk data. But I switched to rc2-mm1 and since then I have not had any reiser4 errors at all. It could be worth a try.

Maybe try to have the syslog on another device as a temporary measure?

~S

#2 lore raw

Am Samstag, den 25.09.2004, 14:48 +0200 schrieb Spam:

Quoted 4 lines

I to had problems with rc1. For example the repacker would also freeze my system or corrupt the disk data. But I switched to rc2-mm1 and since then I have not had any reiser4 errors at all. It could be worth a try.

Ok. Let the patch-fest begin...

Quoted 2 lines

Maybe try to have the syslog on another device as a temporary measure?

Yes, when building on another volume the log gets commited, but it only contains a bunch of the mentioned lines, nothing else.

#3 lore raw

Am Samstag, den 25.09.2004, 14:52 +0200 schrieb Christophe Saout:

Quoted 18 lines
Quoted 18 lines
Quoted 17 lines

it seems I've found a deadlock in reiser4.

I don't know how it happens, but every time i want to run "emerge php" the command compiles php and wants to install it but just before the end it hangs (when running some PEAR commands). The whole system freezes a couple of seconds after that. /var/log/messages contains some lines saying "clong length 0" but these lines never actually get commited to disk when the build directory is on the /var volume.

Interestingly the same deadlock occurs if I try to run the build on another volume, so it seams to be the I/O pattern that's causing the problem.

I've tried it four times so far, always with the same result. The filesystems are all clean.

Should I turn on debugging? I can also provide ssh access to someone if he wants to look himself.

Quoted 6 lines
Quoted 4 lines

I to had problems with rc1. For example the repacker would also freeze my system or corrupt the disk data. But I switched to rc2-mm1 and since then I have not had any reiser4 errors at all. It could be worth a try.

Ok. Let the patch-fest begin...

Well, bad news.

I upgraded to -rc2-mm4 and the problem is still there.

#4 lore raw

Hello,

I'm still offering the possibility to debug this deadlock on my machine, is really no one interested? :(

Not even a comment?

#5 lore raw

Hello

Quoted 5 lines · Christophe Saout

Hello,

I'm still offering the possibility to debug this deadlock on my machine, is really no one interested? :(

Sorry, there are ones.

Quoted 2 lines

Not even a comment?

Would you try to grab Sysrq+T's output via serial console when system hangs?