Re: uname -a and 2.1.56

Roy P. Turner (ecstasy@dopamine.com)
Thu, 02 Oct 1997 23:20:20 -0500


In message <Pine.LNX.3.96.971002175622.25700A-100000@sigil.computersupportcentr
e.com>, Teunis Peters writes:
> my system (2.1.56 with cyrix, joliet, and loopback patches)
> returns for uname -a:
> Linux sigil 2.1.56 #4 Wed Sep 24 16:12:03 MDT 1997 iE86
>
> the iE86 wasn't there in any prior kernel (2.1.53-2.1.55 all with same
> patches)
>
> Just out of curiousity, how is this string built? AFAIK it's pulled out
> of the kernel but how?
>
> [I miss i686 - then all 'configure' based programs worked]
>
> G'day, eh?
> - Teunis
>

Look at the last 8 or so lines of include/asm-i386/bugs.h The cyrix
patch makes a small error in patching this file. Compare it to the
following and make the appropriate change. This is how it should look.

__initfunc(static void check_bugs(void))
{
check_tlb();
check_fpu();
check_hlt();
check_amd_k6();
system_utsname.machine[1] = '0' + (x86 & 0x0f);
}

Regards,
Roy