Messages in this thread |  | | Date | Sun, 17 Nov 1996 12:51:37 +0000 (GMT) | From | Thomas Molesworth <> | Subject | No such 386 instruction w/2.0.25 |
| |
I get the following error message when trying to compile 2.0.25:
make[1]: Entering directory `/usr/src/linux/arch/i386/kernel' gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -c -o time.o time.c {standard input}: Assembler messages: {standard input}:768: Error: no such 386 instruction: `rdmsr' {standard input}:770: Error: no such 386 instruction: `wrmsr' make[1]: *** [time.o] Error 1 make: *** [linuxsubdirs] Error 2 make[1]: Leaving directory `/usr/src/linux/arch/i386/kernel'
Any suggestions?
System is 486dx2/66 w/32Mb memory, 800Mb mounted on /usr, 200Mb on /, running 2.0.21. I can include .config if necessary.
It seems to be code for an AuthenticAMD, from the time.c code:
if (x86_capability & 16) { do_gettimeoffset = do_fast_gettimeoffset;
if( strcmp( x86_vendor_id, "AuthenticAMD" ) == 0 ) { if( x86 == 5 ) { if( x86_model == 0 ) { /* turn on cycle counters during power down */ __asm__ __volatile__ (" movl $0x83, %%ecx \n \ >> rdmsr \n \ orl $1,%%eax \n \ >> wrmsr \n " : : : "ax", "cx", "dx" ); udelay(500); } } }
-- Thomas Molesworth (thomas@bass.almac.co.uk)
|  |