[CentOS] Centos 4.4 Problems not i586 compatible

junk at realtechtalk.com junk at realtechtalk.com
Sun Mar 25 01:06:36 UTC 2007


Karanbir Singh wrote:
> junk at realtechtalk.com wrote:
>> An i686 kernel on the machine I'm creating the livecd with but the 
>> kernel I specially compiled for the livecd is an i386.
>>
>> Karanbir Singh wrote:
>>> junk at realtechtalk.com wrote:
>>>> I have Centos 4.4 i386 installed an on i686.
>>>> I tried making a mini-test live cd based on this install that just 
>>>> starts bash but it only works on i686 machines and not i586.
>>>>
>>>> I only have i386 glibc and all other packages are i386.  I copied 
>>>> all of the necessary .so files.
>>>> I even manually compiled bash using -march=i386 & -mtune=i386 but 
>>>> it will only run on i686.
>>>>
>>>>
>>>
>>> what kernel do you have installed ?
>>>
>
> we dont have a i386 kernel in centos-4, and afaik you cant make the el 
> kernel build for i386 without major changes and dropping a lot of the 
> patches.
>
> also, i am going to ignore your emails if you continue to top post :)
>
> - KB
>
Hi KB

I promise not to top post anymore :)
Do you know why the problem I'm describing could be happening?
All other packages I have are i386.
I've taken the binary from bash i386 and I did ldd
I copied all relevant files to the livecd but it only works on i686.

I even force upgraded to glibc.i386 since some of the bash libraries 
were from glibc.i686

My only thought is that maybe libc.so.6 is the problem.
I did copy the libc.so.6 from the i386 into that i686 directory and 
overwrote it just to be sure but it still won't work.

Thank you for your help it is much appreciated.

Below is the ldd of the standard bash binary from Centos
======================================
ldd /bin/bash
        libtermcap.so.2 => /lib/libtermcap.so.2 (0x0083e000)
        libdl.so.2 => /lib/libdl.so.2 (0x007d4000)
        libc.so.6 => /lib/tls/i686/libc.so.6 (0x006be000)
        /lib/ld-linux.so.2 (0x006a7000)



More information about the CentOS mailing list