From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robin Holt Subject: Re: kernel unaligned accesses on IA64 in IDE Date: Thu, 21 Aug 2008 16:54:26 -0500 Message-ID: <20080821215426.GD8051@sgi.com> References: <20080819225606.GB22088@us.ibm.com> <20080820143531.GA6488@sgi.com> <20080821213146.GK11729@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from relay2.sgi.com ([192.48.171.30]:35121 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752840AbYHUVy1 (ORCPT ); Thu, 21 Aug 2008 17:54:27 -0400 Content-Disposition: inline In-Reply-To: <20080821213146.GK11729@us.ibm.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Nishanth Aravamudan Cc: Robin Holt , tony.luck@intel.com, bzolnier@gmail.com, linux-ia64@vger.kernel.org, linux-ide@vger.kernel.org > [ 32.597792] outsl(496, e000000644678466, 3) ^^^^^^^^^^^^^^^^ This is expected to be an unsigned int * and typecast to that in outsl. Looks like the buffer being passed in is not properly aligned. Time to go look at the caller. Make sure buf is defined as an array of at least int size. That should make this aligned on a 4 byte boundary instead of the 2 byte boundary it is on now. You can cheat at finding the callers by putting WARN_ON(buf & 0x3); printk... Good Luck, Robin