gcc2 and CPUTYPE (renamed thread)

Robin P. Blanchard robin.blanchard at gactr.uga.edu
Fri Feb 20 09:59:10 PST 2004


1) Latest sources, world built with make.conf:
#CPUTYPE=i686
CFLAGS=-O -pipe
a) Kernel built without CPUTYPE and with -O -pipe (via make.conf):
CPU: AMD Athlon(tm) Processor (805.65-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x622  Stepping = 2
 
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,P
AT,PSE36,MMX,FXSR>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 268369920 (262080K bytes)
avail memory = 253902848 (247952K bytes)

b) Kernel built with CPUTYPE=i686 and with -O -pipe (via make.conf):
CPU: AMD Athlon(tm) Processor (805.64-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x622  Stepping = 2
 
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,P
AT,PSE36,MMX,FXSR>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 268369920 (262080K bytes)
panic: mbuf: malloc limit exceeded


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc024ff87
stack pointer           = 0x10:0xc0388c78
frame pointer           = 0x10:0xc0388c78
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 0 (thread0)
current thread          = pri 44 (CRIT)
interrupt mask          = net tty bio cam
kernel: type 12 trap, code=0
Stopped at      0xc024ff87:     cmpb    %al,0(%edx)
db> where
(null)(0,c02bb2fa) at 0xc024ff87
(null)(c0388d10,1,ffffffff,0,c0388d24) at 0xc0265cd6
(null)(c02ebf44,ed0,ff8003e8,c0388d48,c018c784) at 0xc0265de5
(null)(c029d3b5,c02bc41f,768000,ed0,c0b59000) at 0xc018e83c
(null)(ed0,c02ebf40,2,c02ebf20,c02c3b74) at 0xc018c784
(null)(0,385c00,393000,0,c0121d6c) at 0xc026bbcd
(null)(385000,0,0,0,0) at 0xc01775bd
(null)() at 0xc0121d6c

2) Latest (same) sources, world built with make.conf:
#CPUTYPE=i686
#CFLAGS=-O -pipe
a) Kernel built without CPUTYPE and without -O -pipe (via make.conf):
CPU: AMD Athlon(tm) Processor (805.64-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x622  Stepping = 2
 
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,P
AT,PSE36,MMX,FXSR>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 268369920 (262080K bytes)
avail memory = 253902848 (247952K bytes)

b) Kernel built without CPUTYPE and with -O -pipe (via make.conf):
CPU: AMD Athlon(tm) Processor (805.64-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x622  Stepping = 2
 
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,P
AT,PSE36,MMX,FXSR>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 268369920 (262080K bytes)
avail memory = 254042112 (248088K bytes)

c) Kernel built with CPUTYPE=i686 and without -O -pipe (via make.conf)
CPU: AMD Athlon(tm) Processor (805.64-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x622  Stepping = 2
 
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,P
AT,PSE36,MMX,FXSR>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 268369920 (262080K bytes)
panic: mbuf: malloc limit exceeded


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc024ff87
stack pointer           = 0x10:0xc0388c78
frame pointer           = 0x10:0xc0388c78
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 0 (thread0)
current thread          = pri 44 (CRIT)
interrupt mask          = net tty bio cam
kernel: type 12 trap, code=0
Stopped at      0xc024ff87:     cmpb    %al,0(%edx)
db> where
(null)(0,c02bb2fa) at 0xc024ff87
(null)(c0388d10,1,ffffffff,0,c0388d24) at 0xc0265cd6
(null)(c02ebf44,ed0,ff8003e8,c0388d48,c018c784) at 0xc0265de5
(null)(c029d3b5,c02bc41f,768000,ed0,c0b59000) at 0xc018e83c
(null)(ed0,c02ebf40,2,c02ebf20,c02c3b74) at 0xc018c784
(null)(0,385c00,393000,0,c0121d6c) at 0xc026bbcd
(null)(385000,0,0,0,0) at 0xc01775bd
(null)() at 0xc0121d6c


---------------------------------------
Robin P. Blanchard
Systems Integration Specialist
Georgia Center for Continuing Education
fon: 706.542.2404 < > fax: 706.542.6546
---------------------------------------







More information about the Kernel mailing list