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.