From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Sat, 13 Mar 2004 00:11:19 +0000 Subject: Re: [PATCH] avoid unaligned access to data Message-Id: <20040313001119.GA6224@kroah.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 Sat, Mar 13, 2004 at 12:59:39AM +0100, Olaf Hering wrote: > On Fri, Mar 12, Greg KH wrote: > > > On Fri, Mar 05, 2004 at 11:21:36PM +0100, Olaf Hering wrote: > > > On Sun, Feb 29, Olaf Hering wrote: > > > > > > > > > > > the data access in udevinfo is usually unaligned, due to the fact that > > > > the struct is at offset strlen(sysfspath). That makes an ia64 kernel > > > > rather unhappy. Unless I miss something, this change makes it happy by > > > > making an incompatible change to the database. > > > > > > > > > > What is the plan here, Greg? > > > > Greg didn't see this patch :( > > > > Next time please cc patches to me so I make sure I don't miss them. I > > tend to get a _lot_ of email... > > > > Anyway, what is the error that happens on a ia64 box? > > 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 :) thanks, greg k-h ------------------------------------------------------- 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