xfs
[Top] [All Lists]

RE: segmentation fault during mount

To: "'Eric Sandeen'" <sandeen@xxxxxxxxxxx>
Subject: RE: segmentation fault during mount
From: Ryan Roh <unisist.roh@xxxxxxxxxxx>
Date: Tue, 08 Feb 2011 14:12:01 +0900
Cc: xfs@xxxxxxxxxxx
In-reply-to: <4D50CA45.8070807@xxxxxxxxxxx>
References: <02b401cbc6b6$5b7ac0b0$12704210$@samsung.com> <4D50CA45.8070807@xxxxxxxxxxx>
Thread-index: AQFP38Q1HCdmiHcoKY6r42jo2gLBIQG9KPkDlODxOpA=
Dear Eric,

I don't know how I can make correct form to answer for this thread because
I'm newbie here. Sorry.

Anyway, this issue was happened from returned HDD from customer which was
used our PVR STB. And our STB has toggle power switch so I think user turned
off the power during recording something.

Thanks,
Ryan.
  

-----Original Message-----
From: Eric Sandeen [mailto:sandeen@xxxxxxxxxxx] 
Sent: Tuesday, February 08, 2011 1:45 PM
To: Ryan Roh
Cc: xfs@xxxxxxxxxxx
Subject: Re: segmentation fault during mount

On 2/7/11 5:01 AM, Ryan Roh wrote:
> Dear Members,
> 
> I'm using XFS based on STMicro SH4 based chip (STi7105).
> 
> and I have some issue on xfs log mounting.
> 

Were the errors after any sort of harsh testing of the filesystem, such as
usb disconnects or power off?

Or was this after a clean unmount?

-Eric

> 
> 1. chip : sh4 STi7105
> 
> 2. HDD : 320GB USB HDD USB 2.0 port.
> 
> 3. OS : Linux 2.6.23.17 + patch for fixing cache aliasing issue.
> 
> 4. XFSProgs version : 3.1.1
> 
>  
> 
> mounting and repairing log in the below. This segmentation fault is 
> caused by
> 
> the assert in xfs_alloc_increment function of xfs_alloc_btree.c file. 
> The btree
> 
> level is equal to root level in the below code.
> 
>  
> 
>     /*
> 
>      * If we went off the root then we are seriously confused.
> 
>      */
> 
>     ASSERT(lev < cur->bc_nlevels);
> 
>  

...

<Prev in Thread] Current Thread [Next in Thread>