xfs
[Top] [All Lists]

Re: Oops on recovery with Linux-2.4.11-xfs on SPARC

To: Anders Hammarquist <iko@xxxxxxxxxxxxxx>
Subject: Re: Oops on recovery with Linux-2.4.11-xfs on SPARC
From: Jim Crilly <noth@xxxxxxxxxxxxxxxx>
Date: 12 Oct 2001 02:45:45 -0400
Cc: Sean Neakums <sneakums@xxxxxxxx>, Linux XFS <linux-xfs@xxxxxxxxxxx>
In-reply-to: <200110111930.VAA25865@xxxxxxxxxxxxxxxxxxxxxx>
References: <6ulmii5wxp.fsf@xxxxxxxxxxxxx> <200110111930.VAA25865@xxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
Also on sparc64 the kernel is 64-bit but the userspace is only 32-bit,
so there's a conversion for anything passed from userspace to kernel via
ioctls.

I had the filesystem working ok on an Ultra1 but most of the userspace
utils were broke (SIGBUS all over the place) and I'm far from competent
enough to begin thinking about fixing them.

Jim

On Thu, 2001-10-11 at 15:30, Anders Hammarquist wrote:
> Hi,
> 
> I'm also trying to get XFS going on sparc64, with some luck at least...
> 
> > xfs_repair got to phase three before dying with a Bus Error, but
> > whatever it managed to do was enough the let the filesystems be mounted
> > again, until the next reboot.
> 
> I traced this to an apparent alignment error. Setting BMBT_USE_64 in
> include/xfs_bmap_btree.h to 0 cures it, and xfs_repair runs fine (or
> at least appears to).
> 
> I suspect that there are more issues with reading stuff from odd addresses
> in the XFS code, though I haven't been able to pinpoint any others.
> It seems kind of odd, since they say it runs on IA64 and I would guess
> that it too would break from unaligned accesses...
> 
> /Anders
> 
> -- 
>  -- Of course I'm crazy, but that doesn't mean I'm wrong.
> Anders Hammarquist                                  | iko@xxxxxxxxxxxxxx
> Physics student, Chalmers University of Technology, | Hem: +46 31 88 48 50
> G|teborg, Sweden.           RADIO: SM6XMM and N2JGL | Mob: +46 707 27 86 87
-- 
Help protect your rights on-line.
Join the Electronic Frontiers Foundation today: http://www.eff.org/join
-----------------------------------------------------------------------
Security: Antonyms: See Microsoft
-----------------------------------------------------------------------
"We are coming after you. God may have mercy on you, but we won't,"
declared Sen. John McCain, R-Arizona.


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