Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Uncle George <gatgul@voicenet.com>
To: axp-list@redhat.com
Subject: Re: Unaligned traps on kernel startup
Date: Mon, 31 Aug 1998 08:19:36 -0400	[thread overview]
Message-ID: <35EA94D6.420D1003@voicenet.com> (raw)
In-Reply-To: 199808310601.AAA10916@ellpspace.math.ualberta.ca

doesn't mean that &p[i] is aligned ( sorry not looking at kern code ) from what
appears should be on an int boundary. is appears that 61be/61c2/61ce/61d2 are
aligned on a short boundary.
fix? well u can memmov the unaligned struct to an aligned struct

 for (i = 0; i < 4 ; i++) {
330                                     struct partition q;
                                            memcpy(&q, &p[i], sizeof ( struct
partition));
331                                     if (NR_SECTS(q)
332                             ----->     && (q.sector & 63) == 1
333                             ----->     && (q.end_sector & 63) == 63) {
Michal Jaegermann wrote:

> If on Alpha CONFIG_BLK_DEV_IDE is defined then with current kernels
> (2.0.3x) one see the following on a startup:
>




  parent reply	other threads:[~1998-08-31 12:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-31  6:01 Unaligned traps on kernel startup Michal Jaegermann
1998-08-31  7:55 ` furio ercolessi
1998-08-31 12:19 ` Uncle George [this message]
1998-08-31 17:51 ` Mike "Ford" Ditto
1998-09-01  1:49   ` Michal Jaegermann
1998-08-31 19:10 ` Richard Henderson
1998-09-01  5:55   ` Michal Jaegermann
read-only archive

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