On Wednesday, July 12, 2006 4:20 AM, Sakurai Hiroomi wrote: > When GAM(Global Array Manager) is started, The following > message output. > kernel: kernel unaligned access to 0xe0000001fe1080d4, > ip=0xa000000200053371 This is a patch required to address the issue. Thank you for the patch. Seokmann > -----Original Message----- > From: linux-scsi-owner@xxxxxxxxxxxxxxx > [mailto:linux-scsi-owner@xxxxxxxxxxxxxxx] On Behalf Of Sakurai Hiroomi > Sent: Wednesday, July 12, 2006 4:20 AM > To: linux-scsi@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx > Subject: Re: Help: strange messages from kernel on IA64 platform > > Hi, > > I saw same message. > > When GAM(Global Array Manager) is started, The following > message output. > kernel: kernel unaligned access to 0xe0000001fe1080d4, > ip=0xa000000200053371 > > The uioc structure used by ioctl is defined by packed, > the allignment of each member are disturbed. > In a 64 bit structure, the allignment of member doesn't fit 64 bit > boundary. this causes this messages. > In a 32 bit structure, we don't see the message because the allinment > of member fit 32 bit boundary even if packed is specified. > > patch > I Add 32 bit dummy member to fit 64 bit boundary. I tested. > We confirmed this patch fix the problem by IA64 server. > > ************************************************************** > **************** > --- linux-2.6.9/drivers/scsi/megaraid/megaraid_ioctl.h.orig > 2006-04-03 17:13:03.000000000 +0900 > +++ linux-2.6.9/drivers/scsi/megaraid/megaraid_ioctl.h > 2006-04-03 17:14:09.000000000 +0900 > @@ -132,6 +132,10 @@ > /* Driver Data: */ > void __user * user_data; > uint32_t user_data_len; > + > + /* 64bit alignment */ > + uint32_t pad_0xBC; > + > mraid_passthru_t __user *user_pthru; > > mraid_passthru_t *pthru32; > ************************************************************** > **************** > > I'm not participated in the linux-scsi mailing list. > Please reply to the following addresses. > > E-Mail : sakurai_hiro@xxxxxxxxxxxxxxxx > > > Best regards, > Hiroomi Sakurai > > > - > : send the line "unsubscribe > linux-scsi" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html