Hi All, I see my email was a bit dodgy, i'm sorry for that.
--- On Tue, 7/2/13, Wesley PA4WDH <[email protected]> wrote: > Actually, the "double free corrution"s are new, it didn't do > that yesterday so i'll check that out. I tried different things, but found no way to get rid of it: - Tried kernel version 2.6.37(with gentoo patches) and 3.8.13(from kernel.org) - Tried different compile options for grub (especially nls and device-mapper) - I wiped /boot, removed grub2 and grub-legacy to start over with grub2 only The problem seems to be in grub2-probe, if i point it to a regular partition it works fine: Gentoo-11 ~ # grub2-probe -d /dev/sdb1 fat Gentoo-11 ~ # grub2-probe -d /dev/sdb2 ext2 However, as soon as i point it towards one of the md devices it gives the right answer and gives the double free error: Gentoo-11 ~ # grub2-probe -d /dev/sda1 ext2 *** glibc detected *** grub2-probe: double free or corruption (fasttop): 0x00007eff3add5d80 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x7d586)[0x7eff3a56c586] grub2-probe(+0xbbf49)[0x7eff3ab77f49] grub2-probe(+0xcfdaa)[0x7eff3ab8bdaa] grub2-probe(+0xcfff3)[0x7eff3ab8bff3] grub2-probe(+0xcffb5)[0x7eff3ab8bfb5] grub2-probe(+0xd9e6)[0x7eff3aac99e6] grub2-probe(main+0x311)[0x7eff3aac5a77] /lib64/libc.so.6(__libc_start_main+0xed)[0x7eff3a5135dd] grub2-probe(+0x73d9)[0x7eff3aac33d9] ======= Memory map: ======== 7eff3a2d8000-7eff3a2ed000 r-xp 00000000 09:01 198945 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.3/libgcc_s.so.1 7eff3a2ed000-7eff3a4ed000 ---p 00015000 09:01 198945 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.3/libgcc_s.so.1 7eff3a4ed000-7eff3a4ee000 r-xp 00015000 09:01 198945 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.3/libgcc_s.so.1 7eff3a4ee000-7eff3a4ef000 rwxp 00016000 09:01 198945 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.3/libgcc_s.so.1 7eff3a4ef000-7eff3a68e000 r-xp 00000000 09:01 98361 /lib64/libc-2.15.so 7eff3a68e000-7eff3a88e000 ---p 0019f000 09:01 98361 /lib64/libc-2.15.so 7eff3a88e000-7eff3a892000 r-xp 0019f000 09:01 98361 /lib64/libc-2.15.so 7eff3a892000-7eff3a894000 rwxp 001a3000 09:01 98361 /lib64/libc-2.15.so 7eff3a894000-7eff3a898000 rwxp 00000000 00:00 0 7eff3a898000-7eff3a8b9000 r-xp 00000000 09:01 98439 /lib64/ld-2.15.so 7eff3aaae000-7eff3aab1000 rwxp 00000000 00:00 0 7eff3aab6000-7eff3aab9000 rwxp 00000000 00:00 0 7eff3aab9000-7eff3aaba000 r-xp 00021000 09:01 98439 /lib64/ld-2.15.so 7eff3aaba000-7eff3aabb000 rwxp 00022000 09:01 98439 /lib64/ld-2.15.so 7eff3aabb000-7eff3aabc000 rwxp 00000000 00:00 0 7eff3aabc000-7eff3abbf000 r-xp 00000000 09:01 428871 /usr/sbin/grub2-probe 7eff3adbf000-7eff3adc0000 r-xp 00103000 09:01 428871 /usr/sbin/grub2-probe 7eff3adc0000-7eff3adc7000 rwxp 00104000 09:01 428871 /usr/sbin/grub2-probe 7eff3adc7000-7eff3af9b000 rwxp 00000000 00:00 0 [heap] 7fff76689000-7fff766ae000 rwxp 00000000 00:00 0 [stack] 7fff76744000-7fff76745000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Aborted I've searched around and found a few similar bug reports stating that it sometimes works and sometimes gives this error, so i tried it several times (i didn't count, but it was 10+ times for sure) and never gave a normal result. Just to be complete, this is the full output of a grub2-install /dev/sda Gentoo-11 grub2 # grub2-install /dev/sda *** glibc detected *** /usr/sbin/grub2-probe: double free or corruption (fasttop): 0x00007fe18e0e6120 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x7d586)[0x7fe18d63d586] /usr/sbin/grub2-probe(+0xbd5bd)[0x7fe18de875bd] /usr/sbin/grub2-probe(+0xd142e)[0x7fe18de9b42e] /usr/sbin/grub2-probe(+0xd1677)[0x7fe18de9b677] /usr/sbin/grub2-probe(+0xd1639)[0x7fe18de9b639] /usr/sbin/grub2-probe(+0xe1da)[0x7fe18ddd81da] /usr/sbin/grub2-probe(main+0x315)[0x7fe18ddd4246] /lib64/libc.so.6(__libc_start_main+0xed)[0x7fe18d5e45dd] /usr/sbin/grub2-probe(+0x7bb9)[0x7fe18ddd1bb9] ======= Memory map: ======== 7fe18cd6f000-7fe18cd84000 r-xp 00000000 09:01 198945 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.3/libgcc_s.so.1 7fe18cd84000-7fe18cf84000 ---p 00015000 09:01 198945 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.3/libgcc_s.so.1 7fe18cf84000-7fe18cf85000 r-xp 00015000 09:01 198945 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.3/libgcc_s.so.1 7fe18cf85000-7fe18cf86000 rwxp 00016000 09:01 198945 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.6.3/libgcc_s.so.1 7fe18cf86000-7fe18cf9e000 r-xp 00000000 09:01 98446 /lib64/libpthread-2.15.so 7fe18cf9e000-7fe18d19d000 ---p 00018000 09:01 98446 /lib64/libpthread-2.15.so 7fe18d19d000-7fe18d19e000 r-xp 00017000 09:01 98446 /lib64/libpthread-2.15.so 7fe18d19e000-7fe18d19f000 rwxp 00018000 09:01 98446 /lib64/libpthread-2.15.so 7fe18d19f000-7fe18d1a3000 rwxp 00000000 00:00 0 7fe18d1a3000-7fe18d1ab000 r-xp 00000000 09:01 98455 /lib64/librt-2.15.so 7fe18d1ab000-7fe18d3aa000 ---p 00008000 09:01 98455 /lib64/librt-2.15.so 7fe18d3aa000-7fe18d3ab000 r-xp 00007000 09:01 98455 /lib64/librt-2.15.so 7fe18d3ab000-7fe18d3ac000 rwxp 00008000 09:01 98455 /lib64/librt-2.15.so 7fe18d3ac000-7fe18d3be000 r-xp 00000000 09:01 98391 /lib64/libudev.so.1.3.5 7fe18d3be000-7fe18d5be000 ---p 00012000 09:01 98391 /lib64/libudev.so.1.3.5 7fe18d5be000-7fe18d5bf000 r-xp 00012000 09:01 98391 /lib64/libudev.so.1.3.5 7fe18d5bf000-7fe18d5c0000 rwxp 00013000 09:01 98391 /lib64/libudev.so.1.3.5 7fe18d5c0000-7fe18d75f000 r-xp 00000000 09:01 98361 /lib64/libc-2.15.so 7fe18d75f000-7fe18d95f000 ---p 0019f000 09:01 98361 /lib64/libc-2.15.so 7fe18d95f000-7fe18d963000 r-xp 0019f000 09:01 98361 /lib64/libc-2.15.so 7fe18d963000-7fe18d965000 rwxp 001a3000 09:01 98361 /lib64/libc-2.15.so 7fe18d965000-7fe18d969000 rwxp 00000000 00:00 0 7fe18d969000-7fe18d9a2000 r-xp 00000000 09:01 413253 /lib64/libdevmapper.so.1.02 7fe18d9a2000-7fe18dba1000 ---p 00039000 09:01 413253 /lib64/libdevmapper.so.1.02 7fe18dba1000-7fe18dba2000 r-xp 00038000 09:01 413253 /lib64/libdevmapper.so.1.02 7fe18dba2000-7fe18dba5000 rwxp 00039000 09:01 413253 /lib64/libdevmapper.so.1.02 7fe18dba5000-7fe18dba6000 rwxp 00000000 00:00 0 7fe18dba6000-7fe18dbc7000 r-xp 00000000 09:01 98439 /lib64/ld-2.15.so 7fe18ddbb000-7fe18ddbf000 rwxp 00000000 00:00 0 7fe18ddc0000-7fe18ddc7000 rwxp 00000000 00:00 0 7fe18ddc7000-7fe18ddc8000 r-xp 00021000 09:01 98439 /lib64/ld-2.15.so 7fe18ddc8000-7fe18ddc9000 rwxp 00022000 09:01 98439 /lib64/ld-2.15.so 7fe18ddc9000-7fe18ddca000 rwxp 00000000 00:00 0 7fe18ddca000-7fe18decf000 r-xp 00000000 09:01 429010 /usr/sbin/grub2-probe 7fe18e0cf000-7fe18e0d0000 r-xp 00105000 09:01 429010 /usr/sbin/grub2-probe 7fe18e0d0000-7fe18e0d7000 rwxp 00106000 09:01 429010 /usr/sbin/grub2-probe 7fe18e0d7000-7fe18e380000 rwxp 00000000 00:00 0 [heap] 7fff8ec25000-7fff8ec69000 rwxp 00000000 00:00 0 [stack] 7fff8edff000-7fff8ee00000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] /usr/share/grub/grub-mkconfig_lib: line 53: 14560 Aborted "${grub_probe}" -t fs "$path" > /dev/null 2>&1 Path `/boot/grub2' is not readable by GRUB on boot. Installation is impossible. Aborting. I'm a bit out of options now. Any suggestions ? Best regards, Wesley _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
