From owner-freebsd-sparc64@FreeBSD.ORG Wed Aug 13 03:49:08 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FA6337B4DF for ; Wed, 13 Aug 2003 03:49:07 -0700 (PDT) Received: from tts.orel.ru (tts.orel.ru [213.59.64.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6465143FCB for ; Wed, 13 Aug 2003 03:49:04 -0700 (PDT) (envelope-from bel@orel.ru) Received: from orel.ru (lg.orel.ru [195.90.189.89]) by tts.orel.ru (8.12.6/8.12.6/bel) with ESMTP id h7DAmwt7003719 for ; Wed, 13 Aug 2003 14:48:59 +0400 Message-ID: <3F3A179C.3020104@orel.ru> Date: Wed, 13 Aug 2003 14:49:00 +0400 From: Andrew Belashov Organization: ORIS User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030411 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: freebsd-sparc64@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Kernel panic in cpu_ipi_send() X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2003 10:49:08 -0000 Hello, All! Any ideas about this panic: panic: ipi_send: couldn't send ipi cpuid = 1; Debugger("panic") 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)) vm_page_dirty(m); } - return (0); + return (1); } /* --------------------------------------------------------------------- dmesg: --------------------------------------------------------------------- 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: pcib0: 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: on pcib0 ebus0: revision 0x01 ebus0: mem 0x71000000-0x717fffff,0x70000000-0x70ffffff at device 1.0 on pci0 ebus0: addr 0x140072f000-0x140072f003,0x140072c000-0x140072c003,0x140072a000-0x140072a003,0x1400728000-0x1400728003,0x1400726000-0x1400726003 (no driver attached) ebus0: addr 0x1400724000-0x1400724003 (no driver attached) ebus0: addr 0x1400504000-0x1400504002 (no driver attached) ebus0: addr 0x1400500000-0x1400500007 (no driver attached) sab0: addr 0x1400400000-0x140040007f irq 43 on ebus0 sabtty0: on sab0 sabtty0: console 9600,8,n,1,- sabtty1: on sab0 ebus0: addr 0x14003083f8-0x14003083ff irq 41 (no driver attached) ebus0: addr 0x14003062f8-0x14003062ff irq 42 (no driver attached) ebus0: addr 0x1400700000-0x140070000f,0x1400300398-0x1400300399,0x14003043bc-0x14003043cb irq 34 (no driver attached) ebus0: addr 0x1400720000-0x1400720003,0x1400706000-0x140070600f,0x14003023f0-0x14003023f7 irq 39 (no driver attached) eeprom0: addr 0x1400000000-0x1400001fff on ebus0 eeprom0: model mk48t59 eeprom0: hostid 83011487 ebus0: addr 0x1000000000-0x10000fffff (no driver attached) ebus0: addr 0x1400722000-0x1400722003,0x1400704000-0x140070400f,0x1400702000-0x140070200f,0x1400200000-0x14002000ff irq 36,35 (no driver attached) hme0: mem 0x100000-0x107fff irq 33 at device 1.1 on pci0 hme0: Ethernet address: 00:03:ba:01:14:87 miibus0: on hme0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: 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 mode rl0: Ethernet address: 00:80:48:1c:b6:c1 miibus1: on rl0 rlphy0: 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: on nexus0 pcib1: Psycho, impl 0, version 4, ign 0x7c0, bus A pci1: on pcib1 nexus0: , 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: Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 16, 16bit), Tagged Queueing Enabled 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: Fixed Direct Access SCSI-3 device da1: 40.000MB/s transfers (20.000MHz, offset 16, 16bit), Tagged Queueing Enabled da1: 34732MB (71132959 512 byte sectors: 255H 63S/T 4427C) cd0 at sym0 bus 0 target 6 lun 0 cd0: 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 SOFTUPDATES 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 COMPAT_FREEBSD4 options SCSI_DELAY=15000SCSI options KTRACE options SYSVSHM options SYSVMSG options SYSVSEM #options _KPOSIX_PRIORITY_SCHEDULING options DDB #options INVARIANTS options INVARIANT_SUPPORT #options WITNESS #options WITNESS_SKIPSPIN # 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 options PANIC_REBOOT_WAIT_TIME=60 options ALT_BREAK_TO_DEBUGGER --------------------------------------------------------------------- Thanks!