Subject: Panic: pv_unlink0
To: None <port-sparc@NetBSD.ORG>
From: Harald Barth <haba@pdc.kth.se>
List: port-sparc
Date: 01/29/1998 01:08:13
Hi,

I had this a couple of times with 1.3_BETA and now with 1.3B. Ideas?
Known problem? Where should I start to dig? Could this be because of
lack of swap space? I have 64Mb memory and swap, but with netscape
running all day long...

Harald.


# gdb /usr/src/sys/arch/sparc/compile/EAGLE_SCSI3_MAXU64/netbsd.gdb 
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (sparc-netbsd), Copyright 1996 Free Software Foundation, Inc...
(gdb) target kcore netbsd.1.core
panic: pv_unlink0
#0  mi_switch () at ../../../../kern/kern_synch.c:612
612             cpu_switch(p);
(gdb) where
#0  mi_switch () at ../../../../kern/kern_synch.c:612
#1  0xf0031f70 in tsleep (ident=0xf0183050, priority=0, 
    wmesg=0xf00e39a0 "scheduler", timo=0) at ../../../../kern/kern_synch.c:359
#2  0xf00e3a60 in scheduler () at ../../../../vm/vm_glue.c:366
#3  0xf0025498 in main (framep=0x0) at ../../../../kern/init_main.c:378
(gdb) print *p
$1 = {p_forw = 0x0, p_back = 0x0, p_list = {le_next = 0x0, 
    le_prev = 0xf0881208}, p_cred = 0xf01888b8, p_fd = 0xf01725f0, 
  p_stats = 0xf015a34c, p_limit = 0xf0187c10, p_vmspace = 0xf084b400, 
  p_sigacts = 0xf015a220, p_flag = 516, p_unused = 0 '\000', 
  p_stat = 3 '\003', p_pad1 = "\000", p_pid = 0, p_hash = {le_next = 0x0, 
    le_prev = 0x0}, p_pglist = {le_next = 0xf0881000, le_prev = 0xf0186320}, 
  p_pptr = 0x0, p_sibling = {le_next = 0x0, le_prev = 0x0}, p_children = {
    lh_first = 0xf0881000}, p_oppid = 0, p_dupfd = 0, p_estcpu = 0, 
  p_cpticks = 0, p_pctcpu = 0, p_wchan = 0xf0183050, 
  p_wmesg = 0xf00e39a0 "scheduler", p_swtime = 205692, p_slptime = 2, 
  p_realtimer = {it_interval = {tv_sec = 0, tv_usec = 0}, it_value = {
      tv_sec = 0, tv_usec = 0}}, p_rtime = {tv_sec = 0, tv_usec = 583349}, 
  p_uticks = 0, p_sticks = 1359, p_iticks = 1, p_traceflag = 0, 
  p_tracep = 0x0, p_siglist = 0, p_textvp = 0x0, p_locks = 0, 
  p_simple_locks = 0, p_holdcnt = 0, p_emul = 0xf015dd84, p_spare = {0}, 
  p_sigmask = 0, p_sigignore = 407404544, p_sigcatch = 0, 
  p_priority = 4 '\004', p_usrpri = 50 '2', p_nice = 20 '\024', 
  p_comm = "swapper\000\000\000\000\000\000\000\000\000", p_pgrp = 0xf0186318, 
  p_thread = 0x0, p_addr = 0xf015a000, p_md = {md_tf = 0x0, md_fpstate = 0x0, 
    md_flags = 0}, p_xstat = 0, p_acflag = 0, p_ru = 0x0}
(gdb)

# dmesg
NetBSD 1.3B (EAGLE_SCSI3_MAXU64) #0: Fri Jan 23 19:48:10 MET 1998
    haba@eagle.pdc.kth.se:/usr/src/sys/arch/sparc/compile/EAGLE_SCSI3_MAXU64
real mem = 66387968
avail mem = 59740160
using 810 buffers containing 3317760 bytes of memory
bootpath: /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@3,0
mainbus0 (root): SUNW,SPARCstation-10
cpu0 at mainbus0: mid 8: TMS390Z50 v1 @ 40 MHz, on-chip FPU
cpu0: physical 20K instruction (64 b/l), 16K data (32 b/l), 1024K external (32 b/l): cache enabled
obio0 at mainbus0
clock0 at obio0 addr 0xf1200000: mk48t08 (eeprom)
timer0 at obio0 addr 0xf1300000 delay constant 18
zs0 at obio0 addr 0xf1100000 pri 12, softpri 6
zstty0 at zs0 channel 0
zstty1 at zs0 channel 1
zs1 at obio0 addr 0xf1000000 pri 12, softpri 6
kbd0 at zs1 channel 0 (console)
ms0 at zs1 channel 1
fdc0 at obio0 addr 0xf1700000 pri 11, softpri 4: chip 82077
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
auxreg0 at obio0 addr 0xf1800000
power0 at obio0 addr 0xf1a01000
iommu0 at mainbus0 ioaddr 0xe0000000: version 0x3/0x0, page-size 4096, range 64MB
sbus0 at iommu0: clock = 20 MHz
dma0 at sbus0 slot 15 offset 0x400000: rev 2
esp0 at dma0 slot 0xf offset 0x800000 pri 4: ESP200, 40MHz, SCSI ID 7
scsibus0 at esp0: 8 targets
probe(esp0:3:0): max sync rate 10.00Mb/s
sd0 at scsibus0 targ 3 lun 0: <SEAGATE, ST11200N SUN1.05, 9500> SCSI2 0/direct fixed
sd0: 1005MB, 1872 cyl, 15 head, 73 sec, 512 bytes/sect x 2059140 sectors
ledma0 at sbus0 slot 15 offset 0x400010: rev 2
le0 at ledma0 slot 0xf offset 0xc00000 pri 6: address 08:00:20:1e:3f:9d
le0: 8 receive buffers, 2 transmit buffers
SUNW,bpp at sbus0 slot 15 offset 0x4800000 not configured
SUNW,DBRIe at sbus0 slot 15 offset 0x8010000 not configured
cgsix0 at sbus0 slot 2 offset 0x0: SUNW,501-1672, 1152 x 900, rev 8 (console)
cgsix0: attached to /dev/fb
root on sd0a dumps on sd0b
root file system type: ffs