public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Reiser4 lockups (no oops)
@ 2005-10-19 17:08 Chris Boot
  2005-10-20 13:18 ` Jens Axboe
  0 siblings, 1 reply; 10+ messages in thread
From: Chris Boot @ 2005-10-19 17:08 UTC (permalink / raw)
  To: linux-kernel

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

-- 
Chris Boot
bootc@bootc.net
http://www.bootc.net/


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Reiser4 lockups (no oops)
  2005-10-19 17:08 Reiser4 lockups (no oops) Chris Boot
@ 2005-10-20 13:18 ` Jens Axboe
  2005-10-20 15:34   ` Chris Boot
  0 siblings, 1 reply; 10+ messages in thread
From: Jens Axboe @ 2005-10-20 13:18 UTC (permalink / raw)
  To: Chris Boot; +Cc: linux-kernel

On Wed, Oct 19 2005, Chris Boot wrote:
> 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.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Reiser4 lockups (no oops)
  2005-10-20 13:18 ` Jens Axboe
@ 2005-10-20 15:34   ` Chris Boot
  2005-10-20 16:21     ` Jens Axboe
  2005-10-20 18:37     ` Mattia Dongili
  0 siblings, 2 replies; 10+ messages in thread
From: Chris Boot @ 2005-10-20 15:34 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-kernel

Quoting Jens Axboe <axboe@suse.de>:

> On Wed, Oct 19 2005, Chris Boot wrote:
>> 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

-- 
Chris Boot
bootc@bootc.net
http://www.bootc.net/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Reiser4 lockups (no oops)
  2005-10-20 15:34   ` Chris Boot
@ 2005-10-20 16:21     ` Jens Axboe
  2005-10-20 16:27       ` Chris Boot
  2005-10-20 18:37     ` Mattia Dongili
  1 sibling, 1 reply; 10+ messages in thread
From: Jens Axboe @ 2005-10-20 16:21 UTC (permalink / raw)
  To: Chris Boot; +Cc: linux-kernel

On Thu, Oct 20 2005, Chris Boot wrote:
> Quoting Jens Axboe <axboe@suse.de>:
> 
> >On Wed, Oct 19 2005, Chris Boot wrote:
> >>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 mean _before_ the crash, to make sure the messages get out :-)

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Reiser4 lockups (no oops)
  2005-10-20 16:21     ` Jens Axboe
@ 2005-10-20 16:27       ` Chris Boot
  2005-10-20 17:52         ` Nikita Danilov
  0 siblings, 1 reply; 10+ messages in thread
From: Chris Boot @ 2005-10-20 16:27 UTC (permalink / raw)
  To: Jens Axboe, linux-kernel

Jens Axboe wrote:

>On Thu, Oct 20 2005, Chris Boot wrote:
>  
>
>>Quoting Jens Axboe <axboe@suse.de>:
>>
>>    
>>
>>>On Wed, Oct 19 2005, Chris Boot wrote:
>>>      
>>>
>>>>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 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

-- 
Chris Boot
bootc@bootc.net
http://www.bootc.net/


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Reiser4 lockups (no oops)
  2005-10-20 16:27       ` Chris Boot
@ 2005-10-20 17:52         ` Nikita Danilov
  2005-10-20 18:44           ` Chris Boot
  0 siblings, 1 reply; 10+ messages in thread
From: Nikita Danilov @ 2005-10-20 17:52 UTC (permalink / raw)
  To: Chris Boot; +Cc: Linux Kernel Mailing List

Chris Boot writes:

[...]

 > 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?

 > 
 > Cheers,
 > Chris

Nikita.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Reiser4 lockups (no oops)
  2005-10-20 15:34   ` Chris Boot
  2005-10-20 16:21     ` Jens Axboe
@ 2005-10-20 18:37     ` Mattia Dongili
  1 sibling, 0 replies; 10+ messages in thread
From: Mattia Dongili @ 2005-10-20 18:37 UTC (permalink / raw)
  To: Chris Boot; +Cc: Jens Axboe, linux-kernel

On Thu, Oct 20, 2005 at 04:34:25PM +0100, Chris Boot wrote:
> Quoting Jens Axboe <axboe@suse.de>:
> 
> >On Wed, Oct 19 2005, Chris Boot wrote:
> >>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).

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.

> 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.

-- 
mattia
:wq!

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Reiser4 lockups (no oops)
  2005-10-20 17:52         ` Nikita Danilov
@ 2005-10-20 18:44           ` Chris Boot
  2005-10-20 21:02             ` Nikita Danilov
  0 siblings, 1 reply; 10+ messages in thread
From: Chris Boot @ 2005-10-20 18:44 UTC (permalink / raw)
  To: Nikita Danilov; +Cc: linux-kernel

Nikita Danilov wrote:

>Chris Boot writes:
>
>[...]
>
> > 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?
>
> > 
> > Cheers,
> > Chris
>
>Nikita.
>  
>
Hi there,

It shows:

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

Cheers,
Chris

-- 
Chris Boot
bootc@bootc.net
http://www.bootc.net/


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Reiser4 lockups (no oops)
  2005-10-20 18:44           ` Chris Boot
@ 2005-10-20 21:02             ` Nikita Danilov
  2005-10-20 22:05               ` Chris Boot
  0 siblings, 1 reply; 10+ messages in thread
From: Nikita Danilov @ 2005-10-20 21:02 UTC (permalink / raw)
  To: Chris Boot; +Cc: linux-kernel

Chris Boot writes:
 > Nikita Danilov wrote:
 > 
 > >Chris Boot writes:
 > >
 > >[...]
 > >
 > > > 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?
 > >
 > > > 
 > > > Cheers,
 > > > Chris
 > >
 > >Nikita.
 > >  
 > >
 > 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

 > 
 > Cheers,
 > Chris

Nikita.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Reiser4 lockups (no oops)
  2005-10-20 21:02             ` Nikita Danilov
@ 2005-10-20 22:05               ` Chris Boot
  0 siblings, 0 replies; 10+ messages in thread
From: Chris Boot @ 2005-10-20 22:05 UTC (permalink / raw)
  To: Nikita Danilov; +Cc: linux-kernel

Nikita Danilov wrote:
> Chris Boot writes:
>  > Nikita Danilov wrote:
>  > 
>  > >Chris Boot writes:
>  > >
>  > >[...]
>  > >
>  > > > 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?
>  > >
>  > > > 
>  > > > Cheers,
>  > > > Chris
>  > >
>  > >Nikita.
>  > >  
>  > >
>  > 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

Cheers! That did the trick.

Chris

-- 
Chris Boot
bootc@bootc.net
http://www.bootc.net/

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-10-20 22:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-19 17:08 Reiser4 lockups (no oops) Chris Boot
2005-10-20 13:18 ` Jens Axboe
2005-10-20 15:34   ` Chris Boot
2005-10-20 16:21     ` Jens Axboe
2005-10-20 16:27       ` Chris Boot
2005-10-20 17:52         ` Nikita Danilov
2005-10-20 18:44           ` Chris Boot
2005-10-20 21:02             ` Nikita Danilov
2005-10-20 22:05               ` Chris Boot
2005-10-20 18:37     ` Mattia Dongili

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox