Subject: Re: UBC snapshot available, call for testers
To: None <chuq@chuq.com>
From: IWAMOTO Toshihiro <iwamoto@sat.t.u-tokyo.ac.jp>
List: tech-kern
Date: 10/30/2000 21:29:43
I built a UBC kernel using diff.ubc.20001028.1 and tried to build
mozilla. The machine (i386, 512MB) got a panic.
I ran cvs update on the mozilla source tree just before starting the
build, it it matters.
$ gdb syssrc-ubc/sys/arch/i386/compile/EEN/netbsd.gdb
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or 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.
This GDB was configured as "i386--netbsd"...
(gdb) targ kco netbsd.1.core
panic: softdep_iodone_pagecache: resid < 0, vp %p lbn 0x%lx fakebp %p
#0 0x104 in ?? ()
(gdb) info st
#0 0x104 in ?? ()
#1 0xc02cedef in cpu_reboot (howto=260, bootstr=0x0)
at ../../../../arch/i386/i386/machdep.c:1320
#2 0xc01a77b9 in panic () at ../../../../kern/subr_prf.c:240
#3 0xc02a033c in softdep_disk_write_complete (bp=0xca090fe0)
at ../../../../ufs/ffs/ffs_softdep.c:3183
#4 0xc01bbd23 in biodone (bp=0xca090fe0) at ../../../../kern/vfs_bio.c:935
#5 0xc02e5289 in wddone (v=0xc0dc0000) at ../../../../dev/ata/wd.c:620
#6 0xc02e7269 in wdc_ata_bio_done (chp=0xc0dc58b4, xfer=0xc0dc7000)
at ../../../../dev/ata/ata_wdc.c:657
#7 0xc02e714c in wdc_ata_bio_intr (chp=0xc0dc58b4, xfer=0xc0dc7000, irq=1)
at ../../../../dev/ata/ata_wdc.c:598
#8 0xc015d2dd in wdcintr (arg=0xc0dc58b4) at ../../../../dev/ic/wdc.c:690
#9 0xc0303fda in pciide_compat_intr (arg=0xc0dc58b4)
at ../../../../dev/pci/pciide.c:735
#10 0xc0101934 in Xintr14 ()
(gdb) source /sys/gdbscripts/xps
(gdb) xps
proc pid flag st wchan comm
0xe57177f8 16902 4006 4 0 cc1plus
0xe5717e48 16900 4086 4 0xe5717e48 c++ (wait)
0xe57174d0 16878 4086 4 0xe57174d0 gmake (wait)
0xe57171a8 16853 4086 4 0xe57171a8 sh (wait)
0xe5717b20 16848 4086 4 0xe5717b20 gmake (wait)
0xe571798c 15617 4086 4 0xe571798c sh (wait)
0xe5717cb4 15612 4086 4 0xe5717cb4 gmake (wait)
0xe5681984 11579 4086 4 0xe5681984 sh (wait)
0xe56d6338 10446 4086 4 0xc04a2fac emacs (select)
0xe5681cac 3436 5086 4 0xe5681cac gmake (wait)
0xe5681e40 3031 4086 4 0xe5681e40 bash (wait)
0xe5643ca8 3030 184 4 0xc04a2fac sshd (select)
0xe5681b18 1914 84 4 0xc04a2fac xconsole (select)
0xe5189e34 1903 84 4 0xc04a2fac xdm (select)
0xe568100c 1100 84 4 0xc04a2fac ssh-agent (select)
0xe571733c 417 4086 4 0xc04a2fac emacs (select)
0xe5717014 350 4086 4 0xe49568e8 bash (ttyin)
0xe56d6e44 349 184 4 0xc04a2fac sshd (select)
0xe56817f0 304 84 4 0xc04a2fac ssh-agent (select)
0xe5189ca0 276 4086 4 0xe4956008 getty (ttyin)
0xe568165c 274 84 4 0xc04845d8 cron (nanosleep)
0xe56814c8 271 84 4 0xc04a2fac inetd (select)
---Type <return> to continue, or q <return> to quit---
0xe5681334 266 84 4 0xe569135c sendmail (pause)
0xe56811a0 263 84 4 0xc04a2fac sshd (select)
0xe5643b14 261 4084 4 0xc04a2fac XFree86 (select)
0xe5643e3c 256 85 4 0xe56616a0 xdm (pause)
0xe5643008 246 84 4 0xc04a2fac lpd (select)
0xe56434c4 233 84 4 0 ntpd (pause)
0xe5643658 216 84 4 0xc04a2fac amd (select)
0xe5643980 200 84 4 0xc0e4a200 nfsd (nfsd)
0xe56437ec 199 84 4 0xc0e86000 nfsd (nfsd)
0xe564319c 198 84 4 0xc0e86200 nfsd (nfsd)
0xe51bc198 197 84 4 0xc0e86400 nfsd (nfsd)
0xe5643330 195 84 4 0xc04a2fac nfsd (select)
0xe51bc654 185 84 4 0xc04a2fac mountd (select)
0xe51bce38 157 20284 3 0xc04bdd4c nfsio (nfsidl)
0xe51bcca4 156 20284 3 0xc04bdd48 nfsio (nfsidl)
0xe51bcb10 155 20284 3 0xc04bdd44 nfsio (nfsidl)
0xe51bc97c 154 20284 3 0xc04bdd40 nfsio (nfsidl)
0xe51bc7e8 150 84 4 0xe5623c7c mount_mfs (mfsidl)
0xe51bc4c0 141 84 4 0xc04a2fac ypbind (select)
0xe51bc32c 136 84 4 0xc04a2fac rpcbind (select)
0xe51bc004 125 84 4 0xc04a2fac syslogd (select)
0xe5189b0c 8 20204 7 0 aiodoned (aiodoned)
0xe5189978 7 20204 3 0xc04846d4 ioflush (syncer)
---Type <return> to continue, or q <return> to quit---
0xe51897e4 6 20204 3 0xc04a24cc reaper (reaper)
0xe5189650 5 20204 3 0xc04bf748 pagedaemon (pgdaemon)
0xe51894bc 4 20204 3 0xc0db50c4 cardslot1 (cardslotev)
0xe5189328 3 20204 3 0xc0db51c4 cardslot0 (cardslotev)
0xe5189194 2 20204 3 0xc0dc9238 usb0 (usbevt)
0xe5189000 1 4084 4 0xe5189000 init (wait)
0xc04a0aa0 0 20204 3 0xc04a0aa0 swapper (scheduler)
proc pid flag st wchan comm
(gdb) print curproc
$1 = (struct proc *) 0xe5189b0c
(gdb)
--
IWAMOTO Toshihiro