Subject: -current kernel panic (GENERIC.MP+DDB+DIAGNOSTIC) on amd64
To: NetBSD current <current-users@netbsd.org>
From: Nicolas Joly <njoly@pasteur.fr>
List: current-users
Date: 09/06/2004 14:03:19
Hi,

I just upgraded my 2 CPUs amd64 workstation running -current, and
noticed that my custom kernels does work work anymore :

NetBSD 2.0G (KAPUT) #4: Mon Sep  6 13:13:40 CEST 2004
        njoly@lanfeust.sis.pasteur.fr:/local/src/NetBSD/obj/amd64/sys/arch/amd64/compile/KAPUT
total memory = 1023 MB
avail memory = 973 MB
mainbus0 (root)
[...]
root file system type: ffs
cc_microset[0]: delta 1094470782870000, resetting state
cpu1: CPU 1 running
cc_microset[0]: delta 130000, resetting state
cc_microset[1]: delta 130000, resetting state
panic: TLB IPI rendezvous failed (mask 2)
in pid 1.1 (init) at    netbsd:cpu_Debugger+0x5:
db{0}> bt
cpu_Debugger() at netbsd:cpu_Debugger+0x5
panic() at netbsd:panic+0x1c8
pmap_tlb_shootnow() at netbsd:pmap_tlb_shootnow+0x139
pmap_kremove() at netbsd:pmap_kremove+0x97
uvm_pagermapout() at netbsd:uvm_pagermapout+0x23
genfs_getpages() at netbsd:genfs_getpages+0xbca
VOP_GETPAGES() at netbsd:VOP_GETPAGES+0x46
ubc_fault() at netbsd:ubc_fault+0x16b
uvm_fault() at netbsd:uvm_fault+0x343
trap() at netbsd:trap+0x307
--- trap (number 0) ---
0:
db{0}> mach cpu 1
using CPU 1
db{0}> bt
cpu_switch() at netbsd:cpu_switch+0xc9


I can reproduce it with this simple kernel config file :

njoly@lanfeust [amd64/conf]> cat KAPUT 
include "arch/amd64/conf/GENERIC.MP"
options        DIAGNOSTIC
makeoptions    COPTS="-O2 -fno-omit-frame-pointer"
options        DDB             # in-kernel debugger
options        DDB_HISTORY_SIZE=512    # enable history editing in DDB
makeoptions    DEBUG="-g"      # compile full symbol table

The previous kernel that worked, was compiled using sources from 20040806.

Thanks in advance,
Regards.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.