cvs commit: src/sys/amd64/amd64 fpu.c

David Malone dwmalone at maths.tcd.ie
Sun Jun 6 12:09:48 GMT 2004


> > This seems to result in a "Fault trap 1: privileged instrustion
> > fault while in the kernel" while executing the ldmscsr instruction.
> > If I comment it out, everything works fine again.

> Sorry, I just backed it out for the mean time.  Can you send me
> your dmesg|head please?

Sure - included below.  I tried the same instruction in userland and
it caused no problems.

	David.

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.2-CURRENT #3: Sun May 30 22:14:07 GMT 2004
    dwmalone at sweetums.eastwall.dwmalone.net:/usr/src/sys/amd64/compile/GENERIC
WARNING: WITNESS option enabled, expect reduced performance.
Preloaded elf kernel "/boot/kernel.old/kernel" at 0xffffffff8091e000.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Opteron(tm) Processor 238 (1804.10-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0xf58  Stepping = 8
  Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow!+,3DNow!>
real memory  = 3756982272 (3582 MB)
avail memory = 3623555072 (3455 MB)
ACPI APIC Table: <VIAK8  AWRDACPI>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1



More information about the cvs-src mailing list