Bug 163611
Summary: | ia64: Unaligned accesses are made when udev starts | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Prarit Bhargava <prarit> |
Component: | udev | Assignee: | Harald Hoyer <harald> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | notting, prarit |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | ia64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-04-13 06:11:59 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 163350 |
Description
Prarit Bhargava
2005-07-19 14:35:32 UTC
what does -ftz do? Something to do with -force-to-zero or -flush-to-zero for the floating point stuff, I think. Shouldn't be relelvant. I'd suspect the patches that Kay posted to the list for it SIGBUSing on sparc might be more relevant here. Whups -- the -ftz thing was a mistake. Had a brain spasm ... P. Does the last patch in http://sourceforge.net/mailarchive/forum.php?thread_id=7720331&forum_id=3157 work for you? Bill, The link pushes me to the general list -- not a specific set of patches. Can you attach the patch here/email it to me? Thanks, P. See the next-to-last mail in the thread: diff --git a/udev_rules_parse.c b/udev_rules_parse.c --- a/udev_rules_parse.c +++ b/udev_rules_parse.c @@ -241,6 +241,7 @@ static int add_to_rules(struct udev_rule int valid; char *linepos; char *attr; + size_t padding; int retval; /* get all the keys */ @@ -506,6 +507,11 @@ static int add_to_rules(struct udev_rule /* grow buffer and add rule */ rule_size = sizeof(struct udev_rule) + rule->bufsize; + padding = (sizeof(size_t) - rule_size % sizeof(size_t)) % sizeof(size_t); + dbg("add %zi padding bytes", padding); + rule_size += padding; + rule->bufsize += padding; + rules->buf = realloc(rules->buf, rules->bufsize + rule_size); if (!rules->buf) { err("realloc failed"); That looks like it fixes it .... Thanks Bill. P. Did 063-x fix this for you? This is fixed. |