mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.15-rt1-sr1: xfs mount crash
@ 2006-01-05 13:20 Vegard Lima
  2006-01-05 13:38 ` Steven Rostedt
  0 siblings, 1 reply; 10+ messages in thread
From: Vegard Lima @ 2006-01-05 13:20 UTC (permalink / raw)
  To: linux-kernel; +Cc: Ingo Molnar, Steven Rostedt

Hi,

I still get an Oops when mounting an XFS filesystem under 2.6.15-rt1-sr1
(Same happend for 2.6.15-rc7-rt1: http://lkml.org/lkml/2005/12/29/67 )

I can make the Oops go away by changing this config option from
  # CONFIG_DEBUG_RT_LOCKING_MODE is not set
to
  CONFIG_DEBUG_RT_LOCKING_MODE=y

Full dmesg output and .config can be found here:
  http://home.hia.no/~vegardl/rt/


Please CC me as I'm not subscribed to the list.
Thanks,
-- 
Vegard Lima <Vegard.Lima@hia.no>



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

* Re: 2.6.15-rt1-sr1: xfs mount crash
  2006-01-05 13:20 2.6.15-rt1-sr1: xfs mount crash Vegard Lima
@ 2006-01-05 13:38 ` Steven Rostedt
  2006-01-05 14:16   ` Vegard Lima
  2006-01-05 15:08   ` Daniel Walker
  0 siblings, 2 replies; 10+ messages in thread
From: Steven Rostedt @ 2006-01-05 13:38 UTC (permalink / raw)
  To: Vegard Lima; +Cc: linux-kernel, Ingo Molnar


On Thu, 5 Jan 2006, Vegard Lima wrote:

> Hi,
>
> I still get an Oops when mounting an XFS filesystem under 2.6.15-rt1-sr1
> (Same happend for 2.6.15-rc7-rt1: http://lkml.org/lkml/2005/12/29/67 )
>
> I can make the Oops go away by changing this config option from
>   # CONFIG_DEBUG_RT_LOCKING_MODE is not set
> to
>   CONFIG_DEBUG_RT_LOCKING_MODE=y
>

Hi Vergard,

I just want to make sure I understand the above.

The bug happens when CONFIG_DEBUG_RT_LOCKING_MODE is _not_ set?

And the bug goes away when it _is_ set?

Thanks,

-- Steve

> Full dmesg output and .config can be found here:
>   http://home.hia.no/~vegardl/rt/
>
>

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

* Re: 2.6.15-rt1-sr1: xfs mount crash
  2006-01-05 13:38 ` Steven Rostedt
@ 2006-01-05 14:16   ` Vegard Lima
  2006-01-05 15:08   ` Daniel Walker
  1 sibling, 0 replies; 10+ messages in thread
From: Vegard Lima @ 2006-01-05 14:16 UTC (permalink / raw)
  To: Steven Rostedt; +Cc: linux-kernel, Ingo Molnar

to den 05.01.2006 Klokka 08:38 (-0500) skreiv Steven Rostedt:
> On Thu, 5 Jan 2006, Vegard Lima wrote:
> > I still get an Oops when mounting an XFS filesystem under 2.6.15-rt1-sr1
> > (Same happend for 2.6.15-rc7-rt1: http://lkml.org/lkml/2005/12/29/67 )
> >
> > I can make the Oops go away by changing this config option from
> >   # CONFIG_DEBUG_RT_LOCKING_MODE is not set
> > to
> >   CONFIG_DEBUG_RT_LOCKING_MODE=y
>
> I just want to make sure I understand the above.
> 
> The bug happens when CONFIG_DEBUG_RT_LOCKING_MODE is _not_ set?
> 
> And the bug goes away when it _is_ set?

Hi Steven,

that is correct.

Thanks,
-- 
Vegard Lima <Vegard.Lima@hia.no>


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

* Re: 2.6.15-rt1-sr1: xfs mount crash
  2006-01-05 13:38 ` Steven Rostedt
  2006-01-05 14:16   ` Vegard Lima
@ 2006-01-05 15:08   ` Daniel Walker
  2006-01-05 15:19     ` Esben Nielsen
  1 sibling, 1 reply; 10+ messages in thread
From: Daniel Walker @ 2006-01-05 15:08 UTC (permalink / raw)
  To: Steven Rostedt; +Cc: Vegard Lima, linux-kernel, Ingo Molnar

On Thu, 2006-01-05 at 08:38 -0500, Steven Rostedt wrote:

> Hi Vergard,
> 
> I just want to make sure I understand the above.
> 
> The bug happens when CONFIG_DEBUG_RT_LOCKING_MODE is _not_ set?
> 
> And the bug goes away when it _is_ set?


Looks like a race , so maybe a timing issue. Just turn on some debugging
in the code path that slows/speeds things just enough . 

Daniel


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

* Re: 2.6.15-rt1-sr1: xfs mount crash
  2006-01-05 15:08   ` Daniel Walker
@ 2006-01-05 15:19     ` Esben Nielsen
  2006-01-05 15:43       ` Daniel Walker
  2006-01-05 21:34       ` Vegard Lima
  0 siblings, 2 replies; 10+ messages in thread
From: Esben Nielsen @ 2006-01-05 15:19 UTC (permalink / raw)
  To: Daniel Walker; +Cc: Steven Rostedt, Vegard Lima, linux-kernel, Ingo Molnar



On Thu, 5 Jan 2006, Daniel Walker wrote:

> On Thu, 2006-01-05 at 08:38 -0500, Steven Rostedt wrote:
>
> > Hi Vergard,
> >
> > I just want to make sure I understand the above.
> >
> > The bug happens when CONFIG_DEBUG_RT_LOCKING_MODE is _not_ set?
> >
> > And the bug goes away when it _is_ set?
>
>
> Looks like a race , so maybe a timing issue. Just turn on some debugging
> in the code path that slows/speeds things just enough .
>
> Daniel

CONFIG_DEBUG_RT_LOCKING_MODE turns spinlock_t into raw_spinlock_t again as
far as I can see. It is probably some spinlock_t which has to be a
raw_spinlock_t for the time being.

Esben

>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>


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

* Re: 2.6.15-rt1-sr1: xfs mount crash
  2006-01-05 15:19     ` Esben Nielsen
@ 2006-01-05 15:43       ` Daniel Walker
  2006-01-05 21:34       ` Vegard Lima
  1 sibling, 0 replies; 10+ messages in thread
From: Daniel Walker @ 2006-01-05 15:43 UTC (permalink / raw)
  To: Esben Nielsen; +Cc: Steven Rostedt, Vegard Lima, linux-kernel, Ingo Molnar

On Thu, 2006-01-05 at 16:19 +0100, Esben Nielsen wrote:

> 
> CONFIG_DEBUG_RT_LOCKING_MODE turns spinlock_t into raw_spinlock_t again as
> far as I can see. It is probably some spinlock_t which has to be a
> raw_spinlock_t for the time being.


It looks like it may still be using mutexes in one mode, but they aren't
preemptive . Or that's what it says in the menuconfig help section .
I've never used that option, honestly .


Daniel


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

* Re: 2.6.15-rt1-sr1: xfs mount crash
  2006-01-05 15:19     ` Esben Nielsen
  2006-01-05 15:43       ` Daniel Walker
@ 2006-01-05 21:34       ` Vegard Lima
  2006-01-05 21:49         ` Steven Rostedt
  1 sibling, 1 reply; 10+ messages in thread
From: Vegard Lima @ 2006-01-05 21:34 UTC (permalink / raw)
  To: Esben Nielsen; +Cc: Daniel Walker, Steven Rostedt, linux-kernel, Ingo Molnar

to den 05.01.2006 Klokka 16:19 (+0100) skreiv Esben Nielsen:
> 
> On Thu, 5 Jan 2006, Daniel Walker wrote:
> >
> > Looks like a race , so maybe a timing issue. Just turn on some debugging
> > in the code path that slows/speeds things just enough .
> 
> CONFIG_DEBUG_RT_LOCKING_MODE turns spinlock_t into raw_spinlock_t again as
> far as I can see. It is probably some spinlock_t which has to be a
> raw_spinlock_t for the time being.

Just FYI 2.5.14-rt22 worked fine with
CONFIG_DEBUG_RT_LOCKING_MODE _not_ set.



Thanks,
-- 
Vegard Lima <Vegard.Lima@hia.no>


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

* Re: 2.6.15-rt1-sr1: xfs mount crash
  2006-01-05 21:34       ` Vegard Lima
@ 2006-01-05 21:49         ` Steven Rostedt
  2006-01-05 22:34           ` Vegard Lima
  0 siblings, 1 reply; 10+ messages in thread
From: Steven Rostedt @ 2006-01-05 21:49 UTC (permalink / raw)
  To: Vegard Lima; +Cc: Esben Nielsen, Daniel Walker, linux-kernel, Ingo Molnar

On Thu, 5 Jan 2006, Vegard Lima wrote:

> to den 05.01.2006 Klokka 16:19 (+0100) skreiv Esben Nielsen:
> >
> > On Thu, 5 Jan 2006, Daniel Walker wrote:
> > >
> > > Looks like a race , so maybe a timing issue. Just turn on some debugging
> > > in the code path that slows/speeds things just enough .
> >
> > CONFIG_DEBUG_RT_LOCKING_MODE turns spinlock_t into raw_spinlock_t again as
> > far as I can see. It is probably some spinlock_t which has to be a
> > raw_spinlock_t for the time being.
>
> Just FYI 2.5.14-rt22 worked fine with
> CONFIG_DEBUG_RT_LOCKING_MODE _not_ set.

Unfortunately, *a lot* changed between 2.6.14-rt22 (assuming you had a
typo) and 2.6.15-rt1 so this doesn't narrow it down very much.  Have you
tried any of the 2.6.15-rcX-rtX versions?

-- Steve


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

* Re: 2.6.15-rt1-sr1: xfs mount crash
  2006-01-05 21:49         ` Steven Rostedt
@ 2006-01-05 22:34           ` Vegard Lima
  2006-01-05 22:39             ` Steven Rostedt
  0 siblings, 1 reply; 10+ messages in thread
From: Vegard Lima @ 2006-01-05 22:34 UTC (permalink / raw)
  To: Steven Rostedt; +Cc: Esben Nielsen, Daniel Walker, linux-kernel, Ingo Molnar

to den 05.01.2006 Klokka 16:49 (-0500) skreiv Steven Rostedt:
> On Thu, 5 Jan 2006, Vegard Lima wrote:
> 
> > to den 05.01.2006 Klokka 16:19 (+0100) skreiv Esben Nielsen:
> > >
> > > On Thu, 5 Jan 2006, Daniel Walker wrote:
> > > >
> > > > Looks like a race , so maybe a timing issue. Just turn on some debugging
> > > > in the code path that slows/speeds things just enough .
> > >
> > > CONFIG_DEBUG_RT_LOCKING_MODE turns spinlock_t into raw_spinlock_t again as
> > > far as I can see. It is probably some spinlock_t which has to be a
> > > raw_spinlock_t for the time being.
> >
> > Just FYI 2.5.14-rt22 worked fine with
> > CONFIG_DEBUG_RT_LOCKING_MODE _not_ set.
> 
> Unfortunately, *a lot* changed between 2.6.14-rt22 (assuming you had a
> typo) and 2.6.15-rt1 so this doesn't narrow it down very much.  Have you
> tried any of the 2.6.15-rcX-rtX versions?

And unfortunately none of the 2.6.15-rcX-rtX kernels would compile for
me...
(Errors compiling lib/rwsem.c in rc5-rt1 f.ex.)



Thanks,
-- 
Vegard Lima <Vegard.Lima@hia.no>


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

* Re: 2.6.15-rt1-sr1: xfs mount crash
  2006-01-05 22:34           ` Vegard Lima
@ 2006-01-05 22:39             ` Steven Rostedt
  0 siblings, 0 replies; 10+ messages in thread
From: Steven Rostedt @ 2006-01-05 22:39 UTC (permalink / raw)
  To: Vegard Lima; +Cc: Esben Nielsen, Daniel Walker, linux-kernel, Ingo Molnar


On Thu, 5 Jan 2006, Vegard Lima wrote:
>
> And unfortunately none of the 2.6.15-rcX-rtX kernels would compile for
> me...
> (Errors compiling lib/rwsem.c in rc5-rt1 f.ex.)
>

Oh darn, I forgot about that :-/

-- Steve


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

end of thread, other threads:[~2006-01-05 22:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-05 13:20 2.6.15-rt1-sr1: xfs mount crash Vegard Lima
2006-01-05 13:38 ` Steven Rostedt
2006-01-05 14:16   ` Vegard Lima
2006-01-05 15:08   ` Daniel Walker
2006-01-05 15:19     ` Esben Nielsen
2006-01-05 15:43       ` Daniel Walker
2006-01-05 21:34       ` Vegard Lima
2006-01-05 21:49         ` Steven Rostedt
2006-01-05 22:34           ` Vegard Lima
2006-01-05 22:39             ` Steven Rostedt

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

all inboxes | Powered by JetHome®