linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Erdfelt <johannes@erdfelt.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: [PATCH] avoid unaligned access to data
Date: Sat, 13 Mar 2004 16:57:04 +0000	[thread overview]
Message-ID: <20040313165704.GC31201@sventech.com> (raw)
In-Reply-To: <20040229204531.GA25308@suse.de>

On Fri, Mar 12, 2004, Greg KH <greg@kroah.com> 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_id\x1470&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

      parent reply	other threads:[~2004-03-13 16:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-29 20:45 [PATCH] avoid unaligned access to data Olaf Hering
2004-03-05 22:21 ` Olaf Hering
2004-03-12 23:40 ` Greg KH
2004-03-12 23:41 ` Greg KH
2004-03-12 23:59 ` Olaf Hering
2004-03-13  0:03 ` Olaf Hering
2004-03-13  0:11 ` Greg KH
2004-03-13  9:58 ` Olaf Hering
2004-03-13 16:57 ` Johannes Erdfelt [this message]

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=20040313165704.GC31201@sventech.com \
    --to=johannes@erdfelt.com \
    --cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).