fatal trap 21 panic in today's current

2002-05-11 Thread Steven G. Kargl

I get the following panic (hand transribed):

Fatal trap 21: FPU bounds check fault while in kernel mode
instruction pointer  = 0x8:0xc02433f5
stack pointer= 0x10:c040fc60
frame pointer= 0x10:c040fc7c
code segment = base 0x0, limit 0xf, type 0x1b
 = DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, IOPL = 0
current process  = 0 (swapper)

kernel: type 21 trap, code=0
stopped at bios16+0x1b1: movl $0x16,%edx

A trace at the DB prompt gives

bios16
pnpbios_identity
bus_generic_probe
isa_probe_children
configure
mi_startup
begin

I did not get a dump because a continue at DB actually
permitted the machine to complete the boot process. 

Note, this panic occurs if I have hint.acpi.0.disable=1
set in /boot/loader.conf.  The machine would not boot
with ACPI enabled in the May 2002 time frame.  If I 
comment out hint.acpi.0.disable the machine boots fine,
so it appears that ACPI can no longer be disabled.

dmesg included below.

Finally, yes I updated world, kernel, and kernel modules
with the new gcc.

-- 
Steve
http://troutmask.apl.washington.edu/~kargl/


Copyright (c) 1992-2002 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.0-CURRENT #0: Wed May  1 16:49:56 PDT 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/TROUTMASK
Preloaded elf kernel /boot/kernel/kernel at 0xc03d7000.
Preloaded elf module /boot/kernel/linux.ko at 0xc03d70a8.
Preloaded elf module /boot/kernel/snd_pcm.ko at 0xc03d7154.
Preloaded elf module /boot/kernel/snd_ds1.ko at 0xc03d7200.
Preloaded elf module /boot/kernel/acpi.ko at 0xc03d72ac.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 141190 Hz
CPU: AMD Athlon(tm) Processor (1000.04-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x642  Stepping = 2
  
Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
  AMD Features=0xc044RSVD,AMIE,DSP,3DNow!
real memory  = 402587648 (393152K bytes)
avail memory = 386912256 (377844K bytes)
Pentium Pro MTRR support enabled
VESA: v1.2, 4096k memory, flags:0x0, mode table:0xc00c1bdf (c0001bdf)
VESA: S3 Incorporated. 86C325
Using $PIR table, 9 entries at 0xc00fddd0
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: VT8371 AWRDACPI on motherboard
acpi0: power button is handled as a fixed feature programming model.
Timecounter ACPI-fast  frequency 3579545 Hz
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
acpi_cpu0: CPU on acpi0
acpi_button0: Power Button on acpi0
acpi_button1: Sleep Button on acpi0
acpi_pcib0: Host-PCI bridge port 
0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0
pci0: PCI bus on acpi_pcib0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
isab0: PCI-ISA bridge at device 7.0 on pci0
isa0: ISA bus on isab0
xl0: 3Com 3c905-TX Fast Etherlink XL port 0xdc00-0xdc3f irq 11 at device 8.0 on pci0
xl0: Ethernet address: 00:60:97:98:38:65
miibus0: MII bus on xl0
nsphy0: DP83840 10/100 media interface on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm0: Yamaha DS-1E (YMF724F) mem 0xd900-0xd9007fff irq 11 at device 11.0 on pci0
ahc0: Adaptec 2940 Ultra SCSI adapter port 0xe000-0xe0ff mem 0xd9008000-0xd9008fff 
irq 15 at device 13.0 on pci0
aic7880: Ultra Single Channel A, SCSI Id=7, 16/253 SCBs
pci0: display, VGA at device 17.0 (no driver attached)
atspeaker0 port 0x61 on acpi0
fdc0: enhanced floppy controller (i82077, NE72065 or clone) port 0x3f7,0x3f0-0x3f5 
irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
orm0: Option ROMs at iomem 0xc8000-0xcc7ff,0xc-0xc7fff on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 8 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounters tick every 10.000 msec
Waiting 15 seconds for SCSI devices to settle
acpi_cpu: CPU throttling enabled, 2 steps from 100% to 50.0%
sa0 at ahc0 bus 0 target 5 lun 0
sa0: DEC DLT2000 8B37 Removable Sequential Access SCSI-2 device 
sa0: 5.000MB/s transfers (5.000MHz, offset 15)
cd0 at ahc0 bus 0 target 4 lun 0
cd0: DEC RRD45   (C) DEC 1645 Removable CD-ROM SCSI-2 device 
cd0: 4.237MB/s transfers (4.237MHz, offset 15)
cd0: cd present [785028 x 512 byte records]
da2 at ahc0 bus 0 

Re: fatal trap 21 panic in today's current

2002-05-11 Thread Steve Kargl

Dang.  I sent the wrong dmesg output.  The correct
dmesg follows.  Note the broken ACPI.

Copyright (c) 1992-2002 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.0-CURRENT #0: Sat May 11 09:34:09 PDT 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/HOTRATS
Preloaded elf kernel /boot/kernel/kernel at 0xc0427000.
Preloaded elf module /boot/kernel/linux.ko at 0xc04270a8.
Preloaded elf module /boot/kernel/miibus.ko at 0xc0427154.
Preloaded elf module /boot/kernel/if_rl.ko at 0xc0427200.
Preloaded elf module /boot/kernel/snd_pcm.ko at 0xc04272ac.
Preloaded elf module /boot/kernel/snd_maestro3.ko at 0xc0427358.
Preloaded elf module /boot/kernel/agp.ko at 0xc042740c.
Preloaded elf module /boot/kernel/acpi.ko at 0xc04274b4.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 1210791436 Hz
CPU: AMD Athlon(tm) Processor (1210.79-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x642  Stepping = 2
  Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PA
T,PSE36,MMX,FXSR
  AMD Features=0xc044RSVD,AMIE,DSP,3DNow!
real memory  = 134217728 (131072K bytes)
avail memory = 126021632 (123068K bytes)
Pentium Pro MTRR support enabled
VESA: v2.0, 8128k memory, flags:0x0, mode table:0xc03262c2 (122)
VESA: ATI MACH64
Using $PIR table, 9 entries at 0xc00f1720
ACPI-0224: *** Warning: Invalid table signature \M-0\M^Q\M-~\M-G found
ACPI-0181: *** Error: AcpiLoadTables: Could not load RSDT: AE_BAD_SIGNATURE
ACPI-0213: *** Error: AcpiLoadTables: Could not load tables: AE_BAD_SIGNATUR
E
ACPI: table load failed: AE_BAD_SIGNATURE
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Host to PCI bridge at pcibus 0 on motherboard
pci0: PCI bus on pcib0
agp0: VIA 82C8363 (Apollo KT133A) host to PCI bridge mem 0xe600-0xe7ff
 at device 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 4.0 on pci0
isa0: ISA bus on isab0
pci0: mass storage, ATA at device 4.1 (no driver attached)
pci0: serial bus, USB at device 4.2 (no driver attached)
pci0: serial bus, USB at device 4.3 (no driver attached)
pci0: bridge, PCI-unknown at device 4.4 (no driver attached)
ahc0: Adaptec 2940 SCSI adapter port 0x9400-0x94ff mem 0xe300-0xe3000fff i
rq 12 at device 10.0 on pci0
aic7870: Single Channel A, SCSI Id=7, 16/253 SCBs
pcm0: ESS Technology Allegro-1 port 0x9000-0x90ff irq 10 at device 11.0 on pci
0
rl0: RealTek 8139 10/100BaseTX port 0x8800-0x88ff mem 0xe280-0xe28000ff ir
q 15 at device 13.0 on pci0
rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode
lock order reversal
 1st 0xc8ea85a4 rl0 (network driver) @ /usr/src/sys/pci/if_rl.c:855
 2nd 0xc02a9580 allproc (allproc) @ /usr/src/sys/kern/kern_fork.c:309
rl0: Ethernet address: 00:00:c5:b3:45:24
miibus0: MII bus on rl0
rlphy0: RealTek internal media interface on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: mass storage at device 17.0 (no driver attached)
sc0: System console on isa0
sc0: VGA 8 virtual consoles, flags=0x200
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: enhanced floppy controller (i82077, NE72065 or clone) at port 0x3f7,0x3f
0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: IEEE1284 device found /NIBBLE/ECP/ECP_RLE
Probing for PnP devices on ppbus0:
ppbus0: Oki Data Corporation OKIDATA OL810e/PS ENHANCED PCL5,PJL,POSTSCRIPT
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
Timecounters tick every 10.000 msec
Waiting 15 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s2a
cd0 at ahc0 bus 0 target 4 lun 0
cd0: TOSHIBA CD-ROM XM-6401TA 1001 Removable CD-ROM SCSI-2 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da1 at ahc0 bus 0 target 1 lun 0
da1: SEAGATE ST34371N 0280 Fixed Direct Access SCSI-2 device 
da1: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da1: 4148MB (8496960 512 byte sectors: 255H 63S/T 528C)
da0 at ahc0 bus 0 target 0 lun 0
da0: SEAGATE ST39216N 0010 Fixed Direct Access SCSI-3 device 
da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da0: 8761MB (17942584 512 byte sectors: 255H 63S/T 1116C)


-- 
Steve

To Unsubscribe: send mail to [EMAIL