Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Apr 1996 10:16:07 -0500 (CDT)
From:      Rich Murphey <rich@rich.isdn.bcm.tmc.edu>
To:        hm@hcs.de
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: More Nakamichi problems
Message-ID:  <199604091516.KAA02545@richc.isdn.bcm.tmc.edu>
In-Reply-To: <m0u6dpH-000UNOC@hcswork.hcs.de> (hm@hcs.de)

next in thread | previous in thread | raw e-mail | index | archive | help
|From: hm@hcs.de (Hellmuth Michaelis)
|I'm very sorry, that i did not do the above test earlier because it
|gives the very same result here: i too get the "ftp_read" error messages
|on an Adaptec 1742 with a plain 2.1-Release.
|
|Although nothing panics while ls'sing, i thought i better reboot the system
|after that: after the sync messages are printed, i get a panic in some
|"ufs_XXXX" routine.
|
|If somebody want to get the exact wording of this panic, i'll try to reproduce
|it.

Thanks Hellmuth!

Here are some crash dumps, one with a 'panic: page
fault' from last week and some 'free vnode isn't' from
last month.  There haven't been any changes in the scsi
system in -stable since then so it should still be
relevant.

I'll try to get more crash dumps and send them.  I'll
also compile the scsi code with debug.  I'll be glad to
do whatever else I can do to help track it down.  Rich


----------------

I reinstalled a kernel from today's -stable sources but
increased the '#define DK_NDRIVE 16' in dkstat.h.  As
far as I know all the other patches have been
incorporated into -stable.

I then triggered a panic with:

for i in 0 1 2 3
do
  find /cd/$i >$i &
done

The backtrace is below.  I'll be glad to try things and
test changes, but I've not been able to track down the
cause so far.  Rich


IdlePTD 226000
current pcb at 217fc8
panic: page fault
#0  boot (howto=256) at ../../i386/i386/machdep.c:911
(kgdb) where
#0  boot (howto=256) at ../../i386/i386/machdep.c:911
#1  0xf0113533 in panic (fmt=0xf01a34cc "page fault") at ../../kern/subr_prf.c:116
#2  0xf01a3fbe in trap_fatal (frame=0xefbffb68) at ../../i386/i386/trap.c:746
#3  0xf01a3b30 in trap_pfault (frame=0xefbffb68, usermode=0) at ../../i386/i386/trap.c:668
#4  0xf01a37cf in trap (frame={tf_es = -226820080, tf_ds = -2147483632, tf_edi = -258804864, tf_esi = -259785600, tf_ebp = -272630836, tf_isp = -272630896, 
      tf_ebx = -226800792, tf_edx = 560, tf_ecx = -226800716, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -267370249, tf_cs = -267386872, 
      tf_eflags = 66067, tf_esp = -272630764, tf_ss = -226800792}) at ../../i386/i386/trap.c:308
#5  0xf019c391 in calltrap ()
#6  0xf012458e in bread (vp=0xf0900000, blkno=0, size=2048, cred=0xffffffff, bpp=0xefbffc14) at ./vnode_if.h:865
#7  0xf0100f3e in iso_blkatoff (ip=0xf092f380, offset=0, bpp=0xefbffc50) at ../../isofs/cd9660/cd9660_lookup.c:468
#8  0xf01010fa in iso_iget (xp=0xefbffcfc, ino=286720, relocated=1, ipp=0xefbffc8c, isodir=0xf0863b44) at ../../isofs/cd9660/cd9660_node.c:244
#9  0xf0103015 in cd9660_root (mp=0xf0863c00, vpp=0xefbffdac) at ../../isofs/cd9660/cd9660_vfsops.c:481
#10 0xf0128628 in lookup (ndp=0xefbffe44) at ../../kern/vfs_lookup.c:473
#11 0xf0128051 in namei (ndp=0xefbffe44) at ../../kern/vfs_lookup.c:147
#12 0xf012bf1e in lstat (p=0xf0838c00, uap=0xefbfff94, retval=0xefbfff8c) at ../../kern/vfs_syscalls.c:1268
#13 0xf01a428b in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 36992, tf_esi = -272639028, tf_ebp = -272638932, tf_isp = -272629788, tf_ebx = 134688864, 
      tf_edx = 28672, tf_ecx = 37056, tf_eax = 190, tf_trapno = 662, tf_err = 662, tf_eip = 134493573, tf_cs = 31, tf_eflags = 662, tf_esp = -272639060, 


      tf_ss = 39}) at ../../i386/i386/trap.c:906
#14 0xf019c3db in Xsyscall ()
#15 0x8038152 in ?? ()
#16 0x16da in ?? ()
#17 0x310a in ?? ()
#18 0x10d3 in ?? ()



----------------
The following are slightly older crashes from March
9th.

(kgdb) where
#0  boot (howto=260) at ../../i386/i386/machdep.c:892
#1  0xf011aa95 in panic (fmt=0xf01aa4f0 "because you said to!") at ../../kern/subr_prf.c:124
#2  0xf01aa51d in diediedie () at ../../i386/i386/machdep.c:834
#3  0xf0101674 in db_fncall (dummy1=1, dummy2=0, dummy3=-266380648, dummy4=0xefbffb9c "\034Æ\037ðÔH ð0A\034\n") at ../../ddb/db_command.c:491
#4  0xf0101344 in db_command (last_cmdp=0xf01dfaf4, cmd_table=0xf01df954) at ../../ddb/db_command.c:281
#5  0xf01014dd in db_command_loop () at ../../ddb/db_command.c:419
#6  0xf01044d0 in db_trap (type=3, code=0) at ../../ddb/db_trap.c:72
#7  0xf01a7614 in kdb_trap (type=3, code=0, regs=0xefbffc8c) at ../../i386/i386/db_interface.c:120
#8  0xf01af8bc in trap (frame={tf_es = -260505584, tf_ds = 16, tf_edi = 12, tf_esi = -260443392, tf_ebp = -272630576, tf_isp = -266700708, tf_ebx = 256, 
      tf_edx = -266700757, tf_ecx = 0, tf_eax = -1, tf_trapno = 3, tf_err = 0, tf_eip = -266700708, tf_cs = -272695288, tf_eflags = 582, tf_esp = -266700773, 
      tf_ss = -267277765}) at ../../i386/i386/trap.c:387
#9  0xf01a7fbd in calltrap ()
#10 0xf01a785c in Debugger (msg=0xf011aa3b "panic") at ../../i386/i386/db_interface.c:257
#11 0xf011aa8f in panic (fmt=0xf0132851 "free vnode isn't") at ../../kern/subr_prf.c:122
#12 0xf0132917 in getnewvnode (tag=VT_PROCFS, mp=0xf07e5e00, vops=0xf079f300, vpp=0xefbffd70) at ../../kern/vfs_subr.c:352
#13 0xf013bc39 in procfs_allocvp (mp=0xf07e5e00, vpp=0xefbffd70, pid=327, pfs_type=Pctl) at ../../miscfs/procfs/procfs_subr.c:114
#14 0xf013cab8 in procfs_lookup (ap=0xefbffdb0) at ../../miscfs/procfs/procfs_vnops.c:609
#15 0xf0131d71 in lookup (ndp=0xefbffe44) at ./vnode_if.h:27
#16 0xf013184e in namei (ndp=0xefbffe44) at ../../kern/vfs_lookup.c:147
#17 0xf0135daa in lstat (p=0xf0904f00, uap=0xefbfff94, retval=0xefbfff8c) at ../../kern/vfs_syscalls.c:1258
#18 0xf01b0366 in syscall (frame={tf_es = -272695257, tf_ds = -272695257, tf_edi = 199680, tf_esi = 199752, tf_ebp = -272638800, tf_isp = -272629788, 
      tf_ebx = 134725728, tf_edx = 32768, tf_ecx = 199744, tf_eax = 190, tf_trapno = 582, tf_err = 582, tf_eip = 134516469, tf_cs = 31, tf_eflags = 582, 
      tf_esp = -272638928, tf_ss = 39}) at ../../i386/i386/trap.c:878
#19 0xf01a800b in Xsyscall ()
(kgdb) p vp
$1 = (struct vnode *) 0xf080df00
(kgdb) p *vp
$2 = {v_flag = 0, v_usecount = -4, v_writecount = 0, v_holdcnt = 0, v_lastr = 0, v_id = 260, v_mount = 0xf07a0a00, v_op = 0xf07acc00, v_freelist = {
    tqe_next = 0xf080d580, tqe_prev = 0xf01f5dcc}, v_mntvnodes = {le_next = 0xf0810a80, le_prev = 0xf080d5a4}, v_cleanblkhd = {lh_first = 0x0}, 
  v_dirtyblkhd = {lh_first = 0x0}, v_numoutput = 0, v_type = VBLK, v_un = {vu_mountedhere = 0xf078d050, vu_socket = 0xf078d050, vu_specinfo = 0xf078d050, 
    vu_fifoinfo = 0xf078d050}, v_lease = 0x0, v_lastw = 0, v_cstart = 0, v_lasta = 0, v_clen = 0, v_ralen = 0, v_maxra = 0, v_vmdata = 0x0, v_tag = VT_UFS, 
  v_data = 0xf080bd00}
(kgdb) p vnode_free_list
$3 = {tqh_first = 0xf080d580, tqh_last = 0xf08cdb1c}
(kgdb) p freevnodes
$4 = 964
(kgdb) p numvnodes
$5 = 1274


----------------

IdlePTD 1ec000
current pcb at 1df4c4
panic: free vnode isn't
#0  boot (howto=256) at ../../i386/i386/machdep.c:911
#1  0xf0114303 in panic (fmt=0xf0129c83 "free vnode isn't") at ../../kern/subr_prf.c:124
#2  0xf0129d27 in getnewvnode (tag=VT_UFS, mp=0xf07afa00, vops=0xf077ed00, vpp=0xefbffcc4) at ../../kern/vfs_subr.c:352
#3  0xf01797ce in ffs_vget (mp=0xf07afa00, ino=38405, vpp=0xefbffd40) at ../../ufs/ffs/ffs_vfsops.c:781
#4  0xf017ce40 in ufs_lookup (ap=0xefbffdb0) at ../../ufs/ufs/ufs_lookup.c:562
#5  0xf01292b5 in lookup (ndp=0xefbffe44) at ./vnode_if.h:27
#6  0xf0128e02 in namei (ndp=0xefbffe44) at ../../kern/vfs_lookup.c:147
#7  0xf012ccce in lstat (p=0xf091c300, uap=0xefbfff94, retval=0xefbfff8c) at ../../kern/vfs_syscalls.c:1268
#8  0xf0199dab in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = -1, tf_esi = 230400, tf_ebp = -272639020, tf_isp = -272629788, tf_ebx = 230472, 
      tf_edx = 230464, tf_ecx = 204800, tf_eax = 190, tf_trapno = 582, tf_err = 582, tf_eip = 42389, tf_cs = 31, tf_eflags = 582, tf_esp = -272639140, 
      tf_ss = 39}) at ../../i386/i386/trap.c:906
#9  0xf019216b in Xsyscall ()
#10 0x79e2 in ?? ()


IdlePTD 1ec000
current pcb at 1df4c4
panic: page fault
#0  boot (howto=cannot read proc at 0xf07f6d00
) at ../../i386/i386/machdep.c:911
cannot read proc at 0xf07f6d00


IdlePTD 1ec000
current pcb at 1df4c4
panic: free vnode isn't
#0  boot (howto=256) at ../../i386/i386/machdep.c:911
#1  0xf0114303 in panic (fmt=0xf0129c83 "free vnode isn't") at ../../kern/subr_prf.c:124
#2  0xf0129d27 in getnewvnode (tag=VT_UFS, mp=0xf07ba800, vops=0xf077ed00, vpp=0xefbffcc4) at ../../kern/vfs_subr.c:352
#3  0xf01797ce in ffs_vget (mp=0xf07ba800, ino=355311, vpp=0xefbffd40) at ../../ufs/ffs/ffs_vfsops.c:781
#4  0xf017ce40 in ufs_lookup (ap=0xefbffdb0) at ../../ufs/ufs/ufs_lookup.c:562
#5  0xf01292b5 in lookup (ndp=0xefbffe44) at ./vnode_if.h:27
#6  0xf0128e02 in namei (ndp=0xefbffe44) at ../../kern/vfs_lookup.c:147
#7  0xf012ccce in lstat (p=0xf0922a00, uap=0xefbfff94, retval=0xefbfff8c) at ../../kern/vfs_syscalls.c:1268
#8  0xf0199dab in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = -1, tf_esi = 232192, tf_ebp = -272638972, tf_isp = -272629788, tf_ebx = 232268, 
      tf_edx = 232256, tf_ecx = 204800, tf_eax = 190, tf_trapno = 582, tf_err = 582, tf_eip = 42389, tf_cs = 31, tf_eflags = 582, tf_esp = -272639092, 
      tf_ss = 39}) at ../../i386/i386/trap.c:906
#9  0xf019216b in Xsyscall ()
#10 0x79e2 in ?? ()




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604091516.KAA02545>