[Bug 207679] New: SLES 10: md bitmap broken on big-endian machines
https://bugzilla.novell.com/show_bug.cgi?id=207679 Summary: SLES 10: md bitmap broken on big-endian machines Product: SUSE LINUX 10.0 Version: Final Platform: BigEndian OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: paul.clements@steeleye.com QAContact: qa@suse.de The md bitmap feature does not work on big-endian machines. The problem was discovered on a 64-bit IBM POWER (ppc64) system. The symptom was this BUG(): Sep 20 20:55:51 caspian kernel: kernel BUG in sync_request at drivers/md/raid1.c :1743! Sep 20 20:55:51 caspian kernel: Oops: Exception in kernel mode, sig: 5 [#1] Sep 20 20:55:51 caspian kernel: SMP NR_CPUS=128 NUMA PSERIES LPAR Sep 20 20:55:51 caspian kernel: Modules linked in: nbd raid1 ipv6 nfs lockd nfs_ acl sunrpc apparmor aamatch_pcre loop dm_mod e1000 ide_cd cdrom lpfc scsi_transp ort_fc pdc202xx_new sg st ipr firmware_class sd_mod scsi_mod The problem was traced back to a bad value in bitmap->chunkshift (the value was 8, instead of 16, with a chunksize of 65536). We should be using ffs instead of find_first_bit to calculate the shift value. Patch has been compile tested. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=207679 ------- Comment #1 from paul.clements@steeleye.com 2006-09-22 09:55 MST ------- Created an attachment (id=99444) --> (https://bugzilla.novell.com/attachment.cgi?id=99444&action=view) patch -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=207679 nfbrown@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #3 from nfbrown@novell.com 2006-09-28 01:25 MST ------- Thanks. As ffs takes and int, and we have an unsigned long, I changed it to use ffz instead. This has been commited to CVS for CODE10 and CODE10-SP1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=207679 hmuelle@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |kernel:sles10 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=207679 kgw@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|kernel:sles10 |fixreleased:kernel:sles10 ------- Comment #4 from kgw@novell.com 2007-01-05 04:06 MST ------- Patch: patches.fixes/md-bitmap-ffz published in SLE10 kernelupdate 2.6.16.27-0.6, dated Dec 13, 2006 & released Dec 21, 2006. Setting Whiteboard Status -> fixreleased -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com