[parisc-linux] unaligned accesses
jsoe0708@tiscali.be
jsoe0708@tiscali.be
Fri, 10 Jan 2003 11:51:41 +0100
>-- Original Message --
>Date: Thu, 9 Jan 2003 23:36:59 -0800
>From: Randolph Chung <randolph@tausq.org>
>To: jsoe0708@tiscali.be
>Cc: parisc-linux@lists.parisc-linux.org
>Subject: Re: [parisc-linux] unaligned accesses
>Reply-To: Randolph Chung <randolph@tausq.org>
>
>
...
>
>> hmmm buggy: not always, the triky case is when you have to access to
those
>> kind of data encapsulated into a structure. I do not yet find any work=
around
>> or how to fix this kind of pb. Any idea (gcc-3.3?)?
>
>eh? what do you mean?
Sorry, I met well a problem of unaligne access problem with fsck.jfs (wit=
h
kernel 2.4.19-pa24+jfs 1.0.23 support):
...
fsck.jfs(6995): unaligned access to 0xfaf00757 at ip=3D0x0002ee1b
fsck.jfs(6995): unaligned access to 0xfaf00757 at ip=3D0x0002ee37
fsck.jfs(6995): unaligned access to 0xfaf00757 at ip=3D0x0002ed3f
...
which occurs in fsckmsgs.c for ip=3D0x0002ee1b (for exapmple) at:
strncpy(prlimit, msgprms[prmidx], prmval[prmidx]);
with
...
extern char *msgprms[];
...
int prmidx;
...
int16_t *prmval;
So it is not related with the struct problem I encounter.
I will try to find back this example.
Joel
PS: with ext3 (which I use) problem I hesitate to install 2.4.20 and wai=
ting
for 2.4.21 and evms, jfs, xfs support for this system)
********************************************
Promo Tiscali ADSL: 35 Euros/mois, 1er mois et activation =3D 0 Euro http=
://adsl.tiscali.be