<p>><br>> I don't recommend you pull the usb disk out while the filesystem is still<br>> mounted (if you can avoid it).<br>></p>
<p>Doing that to emulate power loss scenario our device might experience.</p>
<p>><br>> I would start by looking through the change history for fs/xfs/xfs_log_recover.c<br>> and paying particular attention to anything to do with inode transactions. <br>></p>
<p>Not quite familiar with XFS code :(</p>
<p>><br>> Or try some intermediate kernels and see if you can narrow the fix down to a set of<br>> changes.<br>></p>
<p>I'll try to bisect (It will take some time...)</p>
<p>><br>> # mount /dev/sda1 /mnt/<br>> UDF-fs: No VRS found<br>> XFS mounting filesystem sda1<br>> Starting XFS recovery on filesystem: sda1 (dev: sda1)<br>> Filesystem "sda1": xfs_inode_recover: Bad inode magic number, dino ptr<br>
> = 0xc8266700, dino bp = 0xc8281b40, ino = 0</p>
<p>Because XFS log is OK to 2.6.28 system, which means the log is correct in itself.<br>Would it be easy for you to debug the problem by compare 2.6.10 log recovery code fail point and the corresponding 2.6.28 log record?</p>
<p>Thanks<br>Eddy</p>