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

Re: r1026 - in glibc-package/trunk/debian: . debhelper.in local/etc_init.d rules.d script.in



At Sat, 27 Aug 2005 18:59:09 -0400,
Andres Salomon wrote:
> > +    # intel i386 requires a recent kernel
> > +    if [ "$realarch" = i386 ]
> > +    then
> > +	if dpkg --compare-versions "$kernel_ver" lt 2.4.24
> > +	then
> > +	    echo WARNING: This machine has i386 class processor.
> > +	    echo Debian sarge and later, you need to use at least a 2.4.24
> > +	    echo or 2.6.0 kernel on i386.  Please upgrade your kernel
> > +	    echo before installing glibc.
> > +	    echo The reason is that "bswap" instruction is not supported
> > +	    echo on i386 class processors, and newer kernel can emulate
> > +	    echo such lacking instructions.
> > +	    exit_check
> > +	fi
> > +    fi
> 
> FYI, from the linux-2.6 2.6.12-1 changelog:
> 
>   * Dropped the following patches:
> [...]
>     - x86-i486_emu.patch (buggy and insecure 80486 instruction emulation
>       for 80386; we're no longer supporting this) (closes: #250468)
> 
> So, this warning is no longer true (at least for etch/sid). 

Thanks for your notification.  OK, finally i486 emulation is dead.
Actually bswap and cmpxchg are not included in bash and init, but
glibc ix86 libraries have them a lot.  How about to change this
warning part in -6 as follows?

    if [ "$realarch" = i386 ]
    then
	echo WARNING: This machine has i386 class processor.
	echo Debian etch and later no longer supports on such hardware.
	echo Please don't upgrade your system.
	echo The reason is that "bswap" instruction is not supported
	echo on i386 class processors, and some core libraries have them.
	exit_check
    fi

Regards,
-- gotom



Reply to: