Kernel panic in cpu_ipi_send()

Andrew Belashov bel at
Wed Aug 13 03:49:08 PDT 2003

Hello, All!

Any ideas about this panic:

panic: ipi_send: couldn't send ipi
cpuid = 1;
Stopped at      Debugger+0x1c:  ta              %xcc, 1

db> trace
panic() at panic+0x134
cpu_ipi_send() at cpu_ipi_send+0xb0
cpu_ipi_selected() at cpu_ipi_selected+0x38
tlb_page_demap() at tlb_page_demap+0x74
pmap_zero_page_idle() at pmap_zero_page_idle+0xe4
vm_page_zero_idle() at vm_page_zero_idle+0x74
vm_pagezero() at vm_pagezero+0xb4
fork_exit() at fork_exit+0x90
fork_trampoline() at fork_trampoline+0x8

Hardware: Sun Ultra 60 (2xUltraSparc-II, 450 MHz, 1 Gb)

uname: FreeBSD trash 5.1-RELEASE FreeBSD 5.1-RELEASE #1: Thu Aug  7 
13:49:03 MSD 2003     bel at trash:/usr/obj/usr/src/sys/WHITE  sparc64

System is 5.1-RELEASE/sparc64 with one patch:

Index: sys/sparc64/sparc64/pmap.c
RCS file: /vol/ncvs/src/sys/sparc64/sparc64/pmap.c,v
retrieving revision 1.118
diff -u -r1.118 pmap.c
--- sys/sparc64/sparc64/pmap.c  6 Jul 2003 20:32:42 -0000       1.118
+++ sys/sparc64/sparc64/pmap.c  30 Jul 2003 16:08:09 -0000
@@ -1161,7 +1161,7 @@
                 if ((data & TD_W) != 0 && pmap_track_modified(pm, va))
-       return (0);
+       return (1);



Costray vector interrupt 2029
pyright (c) 1992-2003 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.1-RELEASE #1: Thu Aug  7 13:49:03 MSD 2003
     bel at trash:/usr/obj/usr/src/sys/WHITE
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0334000.
Timecounter "tick"  frequency 450034203 Hz
real memory  = 1051934720 (1003 MB)
avail memory = 1023279104 (975 MB)
cpu0: Sun Microsystems UltraSparc-II Processor (450.03 MHz CPU)
cpu1: Sun Microsystems UltraSparc-II Processor (450.03 MHz CPU)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
nexus0: <OpenFirmware Nexus device>
pcib0: <U2P UPA-PCI bridge> on nexus0
pcib0: Psycho, impl 0, version 4, ign 0x7c0, bus B
initialializing counter-timer
Timecounter "counter-timer"  frequency 1000000 Hz
DVMA map: 0xfc000000 to 0xffffffff
pci0: <PCI bus> on pcib0
ebus0: revision 0x01
ebus0: <PCI-EBus2 bridge> mem 
0x71000000-0x717fffff,0x70000000-0x70ffffff at device 1.0 on pci0
ebus0: <auxio> addr 
(no driver attached)
ebus0: <power> addr 0x1400724000-0x1400724003 (no driver attached)
ebus0: <SUNW,pll> addr 0x1400504000-0x1400504002 (no driver attached)
ebus0: <sc> addr 0x1400500000-0x1400500007 (no driver attached)
sab0: <Siemens SAB 82532 v3.2> addr 0x1400400000-0x140040007f irq 43 on 
sabtty0: <ttya> on sab0
sabtty0: console 9600,8,n,1,-
sabtty1: <ttyb> on sab0
ebus0: <su> addr 0x14003083f8-0x14003083ff irq 41 (no driver attached)
ebus0: <su> addr 0x14003062f8-0x14003062ff irq 42 (no driver attached)
ebus0: <ecpp> addr 
irq 34 (no driver attached)
ebus0: <fdthree> addr 
irq 39 (no driver attached)
eeprom0: <EBus EEPROM/clock> addr 0x1400000000-0x1400001fff on ebus0
eeprom0: model mk48t59
eeprom0: hostid 83011487
ebus0: <flashprom> addr 0x1000000000-0x10000fffff (no driver attached)
ebus0: <SUNW,CS4231> addr 
irq 36,35 (no driver attached)
hme0: <Sun HME 10/100 Ethernet> mem 0x100000-0x107fff irq 33 at device 
1.1 on pci0
hme0: Ethernet address: 00:03:ba:01:14:87
miibus0: <MII bus> on hme0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: <RealTek 8139 10/100BaseTX> port 0x1800-0x18ff mem 
0x110000-0x1100ff irq 16 at device 2.0 on pci0
rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect 
rl0: Ethernet address: 00:80:48:1c:b6:c1
miibus1: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus1
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sym0: <875> port 0x1000-0x10ff mem 0x10a000-0x10afff,0x108000-0x1080ff 
irq 32 at device 3.0 on pci0
sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
sym1: <875> port 0x1400-0x14ff mem 0x10e000-0x10efff,0x10c000-0x10c0ff 
irq 38 at device 3.1 on pci0
sym1: No NVRAM, ID 7, Fast-20, SE, parity checking
pcib1: <U2P UPA-PCI bridge> on nexus0
pcib1: Psycho, impl 0, version 4, ign 0x7c0, bus A
pci1: <PCI bus> on pcib1
nexus0: <SUNW,ffb>, type display (no driver attached)
Timecounters tick every 10.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding enabled, 
default to deny, logging unlimited
DUMMYNET initialized (011031)
Waiting 15 seconds for SCSI devices to settle
da0 at sym0 bus 0 target 0 lun 0
da0: <FUJITSU MAN3367M SUN36G 1502> Fixed Direct Access SCSI-2 device
da0: 40.000MB/s transfers (20.000MHz, offset 16, 16bit), Tagged Queueing 
da0: 34732MB (71132959 512 byte sectors: 255H 63S/T 4427C)
SMP: AP CPU #1 Launched!
da1 at sym0 bus 0 target 1 lun 0
da1: <SEAGATE ST336605LSUN36G 0238> Fixed Direct Access SCSI-3 device
da1: 40.000MB/s transfers (20.000MHz, offset 16, 16bit), Tagged Queueing 
da1: 34732MB (71132959 512 byte sectors: 255H 63S/T 4427C)
cd0 at sym0 bus 0 target 6 lun 0
cd0: <TOSHIBA DVD-ROM SD-M1401 1009> Removable CD-ROM SCSI-2 device
cd0: 20.000MB/s transfers (20.000MHz, offset 16)
cd0: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from ufs:/dev/da0a

Kernel config (WHITE):

machine		sparc64
cpu		SUN4U
ident		WHITE

makeoptions	DEBUG=-g

options 	SCHED_4BSD
options 	INET
#options 	INET6
options 	FFS
options 	UFS_ACL
options 	UFS_DIRHASH
options 	MD_ROOT
options 	NFSCLIENT
options 	NFSSERVER
options 	NFS_ROOT
#options 	MSDOSFS
options 	CD9660
options 	PROCFS
options 	PSEUDOFS
options 	COMPAT_43
options 	SCSI_DELAY=15000SCSI
options 	KTRACE
options 	SYSVSHM
options 	SYSVMSG
options 	SYSVSEM

options 	DDB
#options 	INVARIANTS
#options 	WITNESS

# To make an SMP kernel, the next line is needed
options 	SMP

# Standard busses
device		apb
device		ebus
device		isa
device		pci
device		sbus
device		central
device		fhc

# ATA and ATAPI devices
device		ata
device		atadisk
device		atapicd
#device		atapifd
#device		atapist

# SCSI Controllers
device		sym

# SCSI peripherals
device		scbus
device		ch
device		da
device		sa
device		cd
device		pass
device		ses

device		ofw_console

# Builtin hardware
device		genclock
device		eeprom
device		"mk48txx"

# Serial (COM) ports
#device		sio
device		sab
device		zs

# PCI Ethernet NICs that use the common MII bus controller code.
device		miibus
device		hme		# Sun HME (Happy Meal Ethernet)
device		rl		# RealTek 8129/8139

# Pseudo devices - the number indicates how many units to allocated.
device		random
device		loop
device		ether
#device		sl
#device		ppp
#device		tun
device		pty
device		md
device		gif
device		faith

device		bpf

# FireWire support
device		firewire
device		sbp
device		fwe

options         IPFIREWALL
options         IPFIREWALL_VERBOSE
#options        IPFIREWALL_VERBOSE_LIMIT=100
options         IPFIREWALL_FORWARD
options         IPDIVERT
options         DUMMYNET
options         IPSTEALTH

options         QUOTA


More information about the freebsd-sparc64 mailing list