[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#67624: potato] mkfs.ext2 does not work on file



First of all, I can reproduce this bug... Wow!

Jan Korycan wrote:
> Package: boot-floppies
> Version: 2.2.16
> 
> When I try to make ext2 filesystem on a file mkfs.ext2 prints:
> 
> mkfs.ext2: error in loading shared libraries: /lib/libext2fs.so.2: symbol __divdi3, version
> GLIBC_2.0 not defined in file libc.so.6 with link time reference

I'm trying to dig into it.  Ignore my bubbling, I need to write something
down...

get-undefined-symbols () {
finlandia!joey(tty5):/home/project/Debian/CVS/boot-floppies/debian> objdump --dynamic-syms /lib/libext2fs.so.2 /sbin/mke2fs  | sed -n 's/^.* \([^ ]*\)$/\1/p'|grep div
__divdi3
__udivdi3

--> both symbols found.

get-provided-symbols-of-so-lib () {

finlandia!joey(tty5):/home/project/Debian/CVS/boot-floppies/debian> objdump --dynamic-syms /lib/libext2fs.so.2.4 |grep divdi
00000000      DF *UND*  0000019e  GLIBC_2.0   __divdi3
finlandia!joey(tty5):/home/project/Debian/CVS/boot-floppies/debian> objdump --dynamic-syms /lib/libc.so.6 |grep divdi
000c7230 g    DF .text  0000019f  GLIBC_2.0   __divdi3
000c7600 g    DF .text  0000011f  GLIBC_2.0   __udivdi3

finlandia!joey(tty5):/home/project/Debian/CVS/boot-floppies/debian> objdump --dynamic-syms /lib/libc.so.6 | sed -e '/\*UND\*/d' | sed -n 's/^.* \([^ ]*\)$/\1/p'|grep divdi
__divdi3
__udivdi3

> 
> This error occurs only in potato, slink boot-floppies work correctly.
> 
> Steps to reproduce this behaviour:
> 
> ... after dbootstrap starts switch to shell and type:
> 
> # mount /dev/hda2 /mnt -t umsdos
> # dd if=/dev/zero of=/mnt/linux bs=1k count=300k
> 307200+0 records in
> 307200+0 records out
> # mkfs.ext2 /mnt/linux
> mke2fs 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
> /mnt/linux is not a block special device.
> Proceed anyway? (y,n) y
> mkfs.ext2: error in loading shared libraries: /lib/libext2fs.so.2: symbol __divd
> i3, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
> #
> 
> 
> Wishing good luck ...
> 
> 							Jan Korycan
> 
> 
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-boot-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
Life is too short to run proprietary software.  -- Bdale Garbee

Please always Cc to me when replying to me on the lists.



Reply to: