From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Erdfelt Date: Sat, 13 Mar 2004 16:57:04 +0000 Subject: Re: [PATCH] avoid unaligned access to data Message-Id: <20040313165704.GC31201@sventech.com> List-Id: References: <20040229204531.GA25308@suse.de> In-Reply-To: <20040229204531.GA25308@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, Mar 12, 2004, Greg KH wrote: > On Sat, Mar 13, 2004 at 12:59:39AM +0100, Olaf Hering wrote: > > it complains about unaligned memory access. > > > > udevinfo(4922): unaligned access to 0x6000000000015747, ip=0x4000000000001dd0 > So all userspace programs have to be modified to prevent this from > happening? > > Does it cause a segfault, or just a warning in the syslog? > > Seems like a pretty stupid architecture to be complaining of this :) Most architectures don't allow unaligned accesses. x86 is one of the few that does allow it. Linux ia64 will perform unaligned accesses in software for userspace programs when the trap occurs, but will also print a warning. JE ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel