Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  2 Feb 99 23:29:04 +0100
From:      Ben Stuyts <ben@stuyts.nl>
To:        smp@FreeBSD.ORG
Subject:   Type 29 trap, what does it mean?
Message-ID:  <199902022229.XAA17178@daneel.stuyts.nl>

next in thread | raw e-mail | index | archive | help
Hello,

My SMP system (Gigabyte 586DX with dual P166MMX) just stopped with this:

mp_lock = 01000001; cpuid = 1; lapic.id = 01000000
instruction pointer   = 0x8:0xf0201c8c
stack pointer         = 0x10:0xf4686fa8
frame pointer         = 0x10:0xefbfd344
code segment          = base 0x0, limit 0xfffff, type 0x1b
                      = DPL 0, pres 1, def32 1, gran 1
processor eflags      = interrupt enabled, IOPL = 0
current process       = 9935 (ld)
interrupt mask        =  <- SMP: XXX
kernel: type 29 trap, code = 0
Stopped at MPgetlock + 0x38: cmp $-0x1, 0(%edx)

Is this pointing to a software problem? The kernel is from Jan 10, from  
before the 4.0 split I think. Here is the dmesg output:

Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.0-CURRENT #0: Sun Jan 10 16:08:47 MET 1999
    benst@terminus.stuyts.nl:/usr/source/src/sys/compile/TERMINUS-SMP
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P55C (586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping=3
  Features=0x8003bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC,MMX>
real memory  = 67108864 (65536K bytes)
config> quit
avail memory = 62238720 (60780K bytes)
Programming 24 pins in IOAPIC #0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00030010, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00030010, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xf02e2000.
Probing for devices on PCI bus 0:
chip0: <Intel 82439> rev 0x03 on pci0.0.0
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0
ide_pci0: <Intel PIIX3 Bus-master IDE controller> rev 0x00 on pci0.7.1
ncr0: <ncr 53c810a fast10 scsi> rev 0x12 int a irq 16 on pci0.8.0
de0: <Digital 21041 Ethernet> rev 0x11 int a irq 17 on pci0.9.0
de0: SMC 21041 [10Mb/s] pass 1.1
de0: address 00:00:c0:1f:54:e8
vga0: <S3 ViRGE VX graphics accelerator> rev 0x02 int a irq 18 on pci0.10.0
ahc0: <Adaptec aic7880 Ultra SCSI adapter> rev 0x00 int a irq 19 on pci0.12.0
ahc0: Using left over BIOS settings
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2 at 0x3e8-0x3ef irq 10 on isa
sio2: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: model Generic PS/2 mouse, device ID 0
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <QUANTUM FIREBALL_TM2110A>
wd0: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S
npx0 on motherboard
npx0: INT 16 interface
sb0 at 0x220 irq 5 drq 1 on isa
snd0: <SoundBlaster 16 4.13>
sbxvi0 at drq 5 on isa
snd0: <SoundBlaster 16 4.13>
sbmidi0 at 0x300 on isa
snd0: <SoundBlaster MPU-401>
awe0 at 0x620 on isa
AWE32: not detected

opl0 at 0x388 on isa
snd0: <Yamaha OPL3 FM>
joy0 at 0x201 on isa
joy0: joystick
Intel Pentium detected, installing workaround for F00F bug
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via pin 2
IP packet filtering initialized, divert enabled, rule-based forwarding  
disabled, unlimited logging
Waiting 5 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
chada1 at ahc0 bus 0 target 3 lun 0
da1: <QUANTUM TRB850S 0404> Fixed Direct Access SCSI-2 device
da1: 10.0MB/s transfers (10.0MHz, offset 8)
da1: 810MB (1660299 512 byte sectors: 64H 32S/T 810C)
nging root device to da0s1a
cd0 at ahc0 bus 0 target 4 lun 0
cd0: <MATSHITA CD-ROM CR-506 8S05> Removable CD-ROM SCSI-2 device
cd0: 10.0MB/s transfers (10.0MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at ahc0 bus 0 target 1 lun 0
da0: <IBM DCAS-34330W S61A> Fixed Direct Access SCSI-2 device
da0: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 4134MB (8467200 512 byte sectors: 64H 32S/T 4134C)
ffs_mountfs: superblock updated for soft updates

The system was doing a various make's (update/world, doc, ports/readmes), and  
a uucp session at the same time, so it was pretty heavily loaded with much  
disk i/o.

Kind regards,
Ben

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902022229.XAA17178>