From: Sakurai Hiroomi <sakurai_hiro@soft.fujitsu.com>
To: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: Help: strange messages from kernel on IA64 platform
Date: Wed, 12 Jul 2006 17:19:30 +0900 [thread overview]
Message-ID: <20060712081614.765261C013@mail2-sv.soft.fujitsu.com> (raw)
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@soft.fujitsu.com
Best regards,
Hiroomi Sakurai
next reply other threads:[~2006-07-12 8:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-12 8:19 Sakurai Hiroomi [this message]
2006-07-12 13:07 ` Arjan van de Ven
-- strict thread matches above, loose matches on Subject: below --
2006-07-12 12:25 Ju, Seokmann
2006-05-16 21:30 Ju, Seokmann
2006-05-16 21:19 "Döhr, Markus ICC-H"
2006-05-16 21:38 ` Chen, Kenneth W
2006-05-16 21:12 Ju, Seokmann
2006-05-16 21:32 ` Chen, Kenneth W
2006-05-17 1:08 ` Peter Chubb
2006-05-16 20:50 Ju, Seokmann
2006-05-16 21:00 ` Chase Venters
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060712081614.765261C013@mail2-sv.soft.fujitsu.com \
--to=sakurai_hiro@soft.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®