public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* XFS errors / BUG / panic, with 2.6.25.7-queue (and older 2.6.25.y)
@ 2008-06-14 19:41 Oliver Pinter
  2008-06-15  1:53 ` Eric Sandeen
  0 siblings, 1 reply; 12+ messages in thread
From: Oliver Pinter @ 2008-06-14 19:41 UTC (permalink / raw)
  To: Chris Wright, Christoph Hellwig, stable, xfs, xfs-masters
  Cc: Miquel van Smoorenburg, Konstantin Kletschke

http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00775.jpg
http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00776.jpg
http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00777.jpg
http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00778.jpg
http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00779.jpg
http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00780.jpg
http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00781.jpg

tainted with: nvidia and madwifi
kernel: 2.6.25.6 + queue patches (queue head on
aa8edcb997ff605bd1424630356866b78ef06cdc)

-- 
Thanks,
Oliver

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

* Re: XFS errors / BUG / panic, with 2.6.25.7-queue (and older 2.6.25.y)
  2008-06-14 19:41 XFS errors / BUG / panic, with 2.6.25.7-queue (and older 2.6.25.y) Oliver Pinter
@ 2008-06-15  1:53 ` Eric Sandeen
  2008-06-15 12:38   ` Oliver Pinter
  0 siblings, 1 reply; 12+ messages in thread
From: Eric Sandeen @ 2008-06-15  1:53 UTC (permalink / raw)
  To: Oliver Pinter
  Cc: Chris Wright, Christoph Hellwig, stable, xfs, xfs-masters,
	Miquel van Smoorenburg, Konstantin Kletschke

Oliver Pinter wrote:
> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00775.jpg
> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00776.jpg
> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00777.jpg
> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00778.jpg
> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00779.jpg
> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00780.jpg
> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00781.jpg
> 
> tainted with: nvidia and madwifi
> kernel: 2.6.25.6 + queue patches (queue head on
> aa8edcb997ff605bd1424630356866b78ef06cdc)
> 

What sort of remount were you doing?

-Eric

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

* Re: XFS errors / BUG / panic, with 2.6.25.7-queue (and older 2.6.25.y)
  2008-06-15  1:53 ` Eric Sandeen
@ 2008-06-15 12:38   ` Oliver Pinter
  2008-06-15 15:58     ` Eric Sandeen
  0 siblings, 1 reply; 12+ messages in thread
From: Oliver Pinter @ 2008-06-15 12:38 UTC (permalink / raw)
  To: Eric Sandeen
  Cc: Chris Wright, Christoph Hellwig, stable, xfs, xfs-masters,
	Miquel van Smoorenburg, Konstantin Kletschke

this mistake shutdownkor comes out, remount launched because he
panics, only Alt+Sysrq+foo works

On 6/15/08, Eric Sandeen <sandeen@sandeen.net> wrote:
> Oliver Pinter wrote:
>> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00775.jpg
>> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00776.jpg
>> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00777.jpg
>> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00778.jpg
>> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00779.jpg
>> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00780.jpg
>> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00781.jpg
>>
>> tainted with: nvidia and madwifi
>> kernel: 2.6.25.6 + queue patches (queue head on
>> aa8edcb997ff605bd1424630356866b78ef06cdc)
>>
>
> What sort of remount were you doing?
>
> -Eric
>


-- 
Thanks,
Oliver

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

* Re: XFS errors / BUG / panic, with 2.6.25.7-queue (and older 2.6.25.y)
  2008-06-15 12:38   ` Oliver Pinter
@ 2008-06-15 15:58     ` Eric Sandeen
  2008-06-15 16:09       ` Oliver Pinter
  2008-06-16  4:52       ` Dave Chinner
  0 siblings, 2 replies; 12+ messages in thread
From: Eric Sandeen @ 2008-06-15 15:58 UTC (permalink / raw)
  To: Oliver Pinter; +Cc: xfs

Oliver Pinter wrote:
> this mistake shutdownkor comes out, remount launched because he
> panics, only Alt+Sysrq+foo works

I'm not sure I follow.

Assuming that :
http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00775.jpg

is the first event of interest, it is hitting an assertion on the
remount path:

        ASSERT_ALWAYS(atomic_read(&mp->m_active_trans) == 0);

in xfs_attr_quiesce.

Are you saying something else happen before this?  If so, what?

-Eric

> On 6/15/08, Eric Sandeen <sandeen@sandeen.net> wrote:
>> Oliver Pinter wrote:
>>> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00775.jpg
>>> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00776.jpg
>>> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00777.jpg
>>> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00778.jpg
>>> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00779.jpg
>>> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00780.jpg
>>> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00781.jpg
>>>
>>> tainted with: nvidia and madwifi
>>> kernel: 2.6.25.6 + queue patches (queue head on
>>> aa8edcb997ff605bd1424630356866b78ef06cdc)
>>>
>> What sort of remount were you doing?
>>
>> -Eric
>>
> 
> 

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

* Re: XFS errors / BUG / panic, with 2.6.25.7-queue (and older 2.6.25.y)
  2008-06-15 15:58     ` Eric Sandeen
@ 2008-06-15 16:09       ` Oliver Pinter
  2008-06-15 16:12         ` Eric Sandeen
  2008-06-16  4:52       ` Dave Chinner
  1 sibling, 1 reply; 12+ messages in thread
From: Oliver Pinter @ 2008-06-15 16:09 UTC (permalink / raw)
  To: Eric Sandeen; +Cc: xfs

this is the debian way of the unmounting the root fs:
do_stop () {
        [ "$VERBOSE" = no ] || log_action_begin_msg "Mounting root filesystem re
ad-only"
        MOUNT_FORCE_OPT=
        [ "$(uname -s)" = "GNU/kFreeBSD" ] && MOUNT_FORCE_OPT=-f
        # This:
        #     mount -n -o remount,ro /
        # will act on a bind mount of / if there is one.
        # See #339023 and the comment in checkroot.sh
        mount    $MOUNT_FORCE_OPT -n -o remount,ro -t dummytype dummydev / 2>/de
v/null \
        || mount $MOUNT_FORCE_OPT -n -o remount,ro              dummydev / 2>/de
v/null \
        || mount $MOUNT_FORCE_OPT -n -o remount,ro                       /
        ES=$?
        [ "$VERBOSE" = no ] || log_action_end_msg $ES
}


On 6/15/08, Eric Sandeen <sandeen@sandeen.net> wrote:
> Oliver Pinter wrote:
>> this mistake shutdownkor comes out, remount launched because he
>> panics, only Alt+Sysrq+foo works
>
> I'm not sure I follow.
>
> Assuming that :
> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00775.jpg
>
> is the first event of interest, it is hitting an assertion on the
> remount path:
>
>         ASSERT_ALWAYS(atomic_read(&mp->m_active_trans) == 0);
>
> in xfs_attr_quiesce.
>
> Are you saying something else happen before this?  If so, what?
>
> -Eric
>
>> On 6/15/08, Eric Sandeen <sandeen@sandeen.net> wrote:
>>> Oliver Pinter wrote:
>>>> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00775.jpg
>>>> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00776.jpg
>>>> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00777.jpg
>>>> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00778.jpg
>>>> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00779.jpg
>>>> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00780.jpg
>>>> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00781.jpg
>>>>
>>>> tainted with: nvidia and madwifi
>>>> kernel: 2.6.25.6 + queue patches (queue head on
>>>> aa8edcb997ff605bd1424630356866b78ef06cdc)
>>>>
>>> What sort of remount were you doing?
>>>
>>> -Eric
>>>
>>
>>
>
>


-- 
Thanks,
Oliver

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

* Re: XFS errors / BUG / panic, with 2.6.25.7-queue (and older 2.6.25.y)
  2008-06-15 16:09       ` Oliver Pinter
@ 2008-06-15 16:12         ` Eric Sandeen
  2008-06-15 16:14           ` Oliver Pinter
  0 siblings, 1 reply; 12+ messages in thread
From: Eric Sandeen @ 2008-06-15 16:12 UTC (permalink / raw)
  To: Oliver Pinter; +Cc: xfs

Oliver Pinter wrote:
> this is the debian way of the unmounting the root fs:

Ok we're slowly getting to useful information.

So you were shutting down the system when the panic happened, correct?

-Eric

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

* Re: XFS errors / BUG / panic, with 2.6.25.7-queue (and older 2.6.25.y)
  2008-06-15 16:12         ` Eric Sandeen
@ 2008-06-15 16:14           ` Oliver Pinter
  2008-06-15 16:17             ` Oliver Pinter
  2008-06-16  1:11             ` Eric Sandeen
  0 siblings, 2 replies; 12+ messages in thread
From: Oliver Pinter @ 2008-06-15 16:14 UTC (permalink / raw)
  To: Eric Sandeen; +Cc: xfs

sorry, but I did not learn English, is going a little bit slowly in this manner.

yeah, under poweroff (init 0) panics the system

On 6/15/08, Eric Sandeen <sandeen@sandeen.net> wrote:
> Oliver Pinter wrote:
>> this is the debian way of the unmounting the root fs:
>
> Ok we're slowly getting to useful information.
>
> So you were shutting down the system when the panic happened, correct?
>
> -Eric
>
>


-- 
Thanks,
Oliver

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

* Re: XFS errors / BUG / panic, with 2.6.25.7-queue (and older 2.6.25.y)
  2008-06-15 16:14           ` Oliver Pinter
@ 2008-06-15 16:17             ` Oliver Pinter
  2008-06-15 16:27               ` Oliver Pinter
  2008-06-16  1:11             ` Eric Sandeen
  1 sibling, 1 reply; 12+ messages in thread
From: Oliver Pinter @ 2008-06-15 16:17 UTC (permalink / raw)
  To: Eric Sandeen; +Cc: xfs

hmm, the system have two XFS partition the / (sda4) and /home (sda3)

/dev/sda3 on /home type xfs (rw,noexec,nosuid,nodev)
/dev/sda4 on / type xfs (rw)

On 6/15/08, Oliver Pinter <oliver.pntr@gmail.com> wrote:
> sorry, but I did not learn English, is going a little bit slowly in this
> manner.
>
> yeah, under poweroff (init 0) panics the system
>
> On 6/15/08, Eric Sandeen <sandeen@sandeen.net> wrote:
>> Oliver Pinter wrote:
>>> this is the debian way of the unmounting the root fs:
>>
>> Ok we're slowly getting to useful information.
>>
>> So you were shutting down the system when the panic happened, correct?
>>
>> -Eric
>>
>>
>
>
> --
> Thanks,
> Oliver
>


-- 
Thanks,
Oliver

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

* Re: XFS errors / BUG / panic, with 2.6.25.7-queue (and older 2.6.25.y)
  2008-06-15 16:17             ` Oliver Pinter
@ 2008-06-15 16:27               ` Oliver Pinter
  0 siblings, 0 replies; 12+ messages in thread
From: Oliver Pinter @ 2008-06-15 16:27 UTC (permalink / raw)
  To: Eric Sandeen; +Cc: xfs

but now it was him that you say the antecedents apt-get update &
upgrade and git-update-tree (is is a script, that updated 3 git tree
(linux-2.6, linux-2.6.25.y and stable-queue)) , that is heavy disc i/o
with much small files

On 6/15/08, Oliver Pinter <oliver.pntr@gmail.com> wrote:
> hmm, the system have two XFS partition the / (sda4) and /home (sda3)
>
> /dev/sda3 on /home type xfs (rw,noexec,nosuid,nodev)
> /dev/sda4 on / type xfs (rw)
>
> On 6/15/08, Oliver Pinter <oliver.pntr@gmail.com> wrote:
>> sorry, but I did not learn English, is going a little bit slowly in this
>> manner.
>>
>> yeah, under poweroff (init 0) panics the system
>>
>> On 6/15/08, Eric Sandeen <sandeen@sandeen.net> wrote:
>>> Oliver Pinter wrote:
>>>> this is the debian way of the unmounting the root fs:
>>>
>>> Ok we're slowly getting to useful information.
>>>
>>> So you were shutting down the system when the panic happened, correct?
>>>
>>> -Eric
>>>
>>>
>>
>>
>> --
>> Thanks,
>> Oliver
>>
>
>
> --
> Thanks,
> Oliver
>


-- 
Thanks,
Oliver

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

* Re: XFS errors / BUG / panic, with 2.6.25.7-queue (and older 2.6.25.y)
  2008-06-15 16:14           ` Oliver Pinter
  2008-06-15 16:17             ` Oliver Pinter
@ 2008-06-16  1:11             ` Eric Sandeen
  1 sibling, 0 replies; 12+ messages in thread
From: Eric Sandeen @ 2008-06-16  1:11 UTC (permalink / raw)
  To: Oliver Pinter; +Cc: xfs

Oliver Pinter wrote:
> sorry, but I did not learn English, is going a little bit slowly in this manner.

That's, ok, it's just useful to know what you were doing when it
panicked.  I'm sure you speak english better than I speak you native
language ;)

> yeah, under poweroff (init 0) panics the system

Hm, interesting.

> but now it was him that you say the antecedents apt-get update &
> upgrade and git-update-tree (is is a script, that updated 3 git tree
> (linux-2.6, linux-2.6.25.y and stable-queue)) , that is heavy disc i/o
> with much small files

So, you had a lot of IO just before shutdown?

-Eric

> On 6/15/08, Eric Sandeen <sandeen@sandeen.net> wrote:
>> Oliver Pinter wrote:
>>> this is the debian way of the unmounting the root fs:
>> Ok we're slowly getting to useful information.
>>
>> So you were shutting down the system when the panic happened, correct?
>>
>> -Eric
>>
>>
> 
> 

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

* Re: XFS errors / BUG / panic, with 2.6.25.7-queue (and older 2.6.25.y)
  2008-06-15 15:58     ` Eric Sandeen
  2008-06-15 16:09       ` Oliver Pinter
@ 2008-06-16  4:52       ` Dave Chinner
  2008-06-16 10:01         ` Christoph Hellwig
  1 sibling, 1 reply; 12+ messages in thread
From: Dave Chinner @ 2008-06-16  4:52 UTC (permalink / raw)
  To: Eric Sandeen; +Cc: Oliver Pinter, xfs

On Sun, Jun 15, 2008 at 10:58:09AM -0500, Eric Sandeen wrote:
> Oliver Pinter wrote:
> > this mistake shutdownkor comes out, remount launched because he
> > panics, only Alt+Sysrq+foo works
> 
> I'm not sure I follow.
> 
> Assuming that :
> http://students.zipernowsky.hu/~oliverp/upload/xfs_error/dsc00775.jpg
> 
> is the first event of interest, it is hitting an assertion on the
> remount path:
> 
>         ASSERT_ALWAYS(atomic_read(&mp->m_active_trans) == 0);
> 
> in xfs_attr_quiesce.

That's caused by a race condition in the VFS w.r.t setting the MS_RDONLY
flag. It should be fixed in 2.6.26.

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

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

* Re: XFS errors / BUG / panic, with 2.6.25.7-queue (and older 2.6.25.y)
  2008-06-16  4:52       ` Dave Chinner
@ 2008-06-16 10:01         ` Christoph Hellwig
  0 siblings, 0 replies; 12+ messages in thread
From: Christoph Hellwig @ 2008-06-16 10:01 UTC (permalink / raw)
  To: Eric Sandeen, Oliver Pinter, xfs

On Mon, Jun 16, 2008 at 02:52:21PM +1000, Dave Chinner wrote:
> > is the first event of interest, it is hitting an assertion on the
> > remount path:
> > 
> >         ASSERT_ALWAYS(atomic_read(&mp->m_active_trans) == 0);
> > 
> > in xfs_attr_quiesce.
> 
> That's caused by a race condition in the VFS w.r.t setting the MS_RDONLY
> flag. It should be fixed in 2.6.26.

I was claiming it would be fixed in 2.6.26 but unfortunately the part of
the the per-mount r/o patches that fixes various bits in remount isn't
there yet.

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

end of thread, other threads:[~2008-06-16 10:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-14 19:41 XFS errors / BUG / panic, with 2.6.25.7-queue (and older 2.6.25.y) Oliver Pinter
2008-06-15  1:53 ` Eric Sandeen
2008-06-15 12:38   ` Oliver Pinter
2008-06-15 15:58     ` Eric Sandeen
2008-06-15 16:09       ` Oliver Pinter
2008-06-15 16:12         ` Eric Sandeen
2008-06-15 16:14           ` Oliver Pinter
2008-06-15 16:17             ` Oliver Pinter
2008-06-15 16:27               ` Oliver Pinter
2008-06-16  1:11             ` Eric Sandeen
2008-06-16  4:52       ` Dave Chinner
2008-06-16 10:01         ` Christoph Hellwig

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