Bug 759038

Summary: bltest has alignment errors on ARM
Product: [Fedora] Fedora Reporter: Gordan Bobic <gordan>
Component: nssAssignee: Elio Maldonado Batiz <emaldona>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: emaldona, kdudka, kengert
Target Milestone: ---   
Target Release: ---   
Hardware: arm   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-13 13:11:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Gordan Bobic 2011-12-01 10:06:15 UTC
Description of problem:
bltest is throwing alignment errors on the armv5tel platform.

Version-Release number of selected component (if applicable):
nss-3.12.10-2

How reproducible:
Every time.

Steps to Reproduce:
1. Boot the system with kernel boot parameter alignment=3 to enable fixup+warn
2. rpmbuild --rebuild nss-3.12.10-2.src.rpm
3. Check dmesg
  
Actual results:

Here is the sort of thing that gets reported in the system log when alignment warnings are enabled:
...
Alignment trap: bltest (15423) PC=0x402b21a0 Instr=0xe1c510b4 Address=0x00147e5d FSR 0x801
Alignment trap: bltest (15423) PC=0x402b21ac Instr=0xe1c520b6 Address=0x00147e5f FSR 0x801
Alignment trap: bltest (15429) PC=0x402b2190 Instr=0xe1c530b0 Address=0x00147e5b FSR 0x801
Alignment trap: bltest (15429) PC=0x402b2198 Instr=0xe1c5c0b2 Address=0x00147e5d FSR 0x801
Alignment trap: bltest (15429) PC=0x402b21a0 Instr=0xe1c510b4 Address=0x00147e5f FSR 0x801
Alignment trap: bltest (15429) PC=0x402b21ac Instr=0xe1c520b6 Address=0x00147e61 FSR 0x801
Alignment trap: bltest (15435) PC=0x402b2190 Instr=0xe1c530b0 Address=0x00147e5d FSR 0x801
Alignment trap: bltest (15435) PC=0x402b2198 Instr=0xe1c5c0b2 Address=0x00147e5f FSR 0x801
Alignment trap: bltest (15435) PC=0x402b21a0 Instr=0xe1c510b4 Address=0x00147e61 FSR 0x801
Alignment trap: bltest (15435) PC=0x402b21ac Instr=0xe1c520b6 Address=0x00147e63 FSR 0x801
Alignment trap: bltest (15441) PC=0x402b2190 Instr=0xe1c530b0 Address=0x00147e5f FSR 0x801
Alignment trap: bltest (15441) PC=0x402b2198 Instr=0xe1c5c0b2 Address=0x00147e61 FSR 0x801
Alignment trap: bltest (15441) PC=0x402b21a0 Instr=0xe1c510b4 Address=0x00147e63 FSR 0x801
...

If alignment fixup is not enabled, the rc2 tests will fail and thus the build will fail.

Expected results:
The build should succeed without alignment errors.

Additional info:
Recent ARMv7 chips includes automatic alignment fix-up in hardware, so testing
for this has to be done on an ARMv6 processor or earlier.

Comment 1 Fedora End Of Life 2013-04-03 14:48:42 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 2 Gordan Bobic 2014-02-13 13:11:45 UTC
This no longer appears to occur since nss-3.15.x. The last affected version was 3.14.x.