Jivko Sabev wrote: > Using Jari's initrd worked right away without any issues. Ok. That narrows the problem down to gcc and dietlibc. > I suppose ubuntu 7.04 uses some > weird combinations of compiler/linker options or their package of > dietlibc is somehow incompatible but those are just my speculations and > I am by no means an expert at this. FYI: I also tried to build the > initrd with USEDIETLIBC=0 and that yielded the same result on ubuntu > i.e. it didn't work. USEDIETLIBC=0 setting is incompatible with some glibc versions, so that could explain that failure. I really need to know what causes this problem. So, I have to harass you with more questions: 1) Can you try creating an initrd using different gcc version? You distro probably has precompiled binary of some gcc-3 version. As in, install that package and change "diet gcc" command at build-initrd.sh script line 635 to "diet gcc-3.3" or something like that. Then create new initrd and boot it. 2) Can you recompile dietlibc from source, using default dietlibc config but with WANT_SYSENTER option disabled? As in, apply the patch below, then compile and install dietlibc normally. Then create new initrd and boot it. 3) Compile using gcc-3 and link with dietlibc that has WANT_SYSENTER option disabled. (Both 1 and 2 at same time) 4) Can you try building an initrd on knoppix? If so, what version of knoppix and what gcc version does it have? Just for the record, that initrd.gz that I created for you was linked to dietlibc that has WANT_SYSENTER disabled. Earlier when I examined that initrd-crypt.gz that you sent me, I said "It seems to be linked to some older version of dietlibc". That was incorrect. Startup code looked different from ones that I compiled, so I incorrectly assumed that it was linked to older version of dietlibc. Sorry. -- Jari Ruusu 1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9 DB 1D EB E3 24 0E A9 DD --- dietlibc-0.30.orig/dietfeatures.h 2006-04-04 08:35:14.000000000 +0300 +++ dietlibc-0.30/dietfeatures.h 2006-07-04 12:49:34.000000000 +0300 @@ -41,7 +41,7 @@ /* on i386, Linux has an alternate syscall method since 2002/12/16 */ /* on my Athlon XP, it is twice as fast, but it's only in kernel 2.5 */ /* 20040118: enabling this breaks User Mode Linux! It's their fault. */ -#define WANT_SYSENTER +/* #define WANT_SYSENTER */ #define WANT_LINKER_WARNINGS - Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/