Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2002 17:29:54 +0300
From:      Vallo Kallaste <kalts@estpak.ee>
To:        Maxime Henrion <mux@freebsd.org>
Cc:        Vitaly Markitantov <vm@dics.com.ua>, jhb@freebsd.org, current@freebsd.org
Subject:   Re: smbfs broken?
Message-ID:  <20021022142954.GA3206@tiiu.internal>
In-Reply-To: <20021022112320.GF26605@elvis.mu.org>
References:  <20021022110135.GA31643@iron.del.local> <20021022112320.GF26605@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 22, 2002 at 04:23:20AM -0700, Maxime Henrion
<mux@freebsd.org> wrote:

[snip]
> It would help a lot if you could provide a traceback.

This is the one I'm seeing everytime while trying to copy file from
ro smbfs mount. -current is about four days old, smbfs.ko _is_
compiled with -DSMP and in sync with kernel.


Script started on Tue Oct 22 17:21:53 2002
bash-2.05b# gdb -k /sys/i386/compile/Myhakas-5.0-SMP/kernel.debug /usr/crash/vm
core.0
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 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-undermydesk-freebsd"...
panic: bdwrite: buffer is not busy
panic messages:
---
Fatal trap 12: page fault while in kernel mode
cpuid = 1; lapic.id = 01000000
fault virtual address	= 0x2
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0x2
stack pointer	        = 0x10:0xdf9b6764
frame pointer	        = 0x10:0xdf9b6764
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 641 (cp)
trap number		= 12
panic: page fault
cpuid = 1; lapic.id = 01000000
boot() called on cpu#1

syncing disks... panic: bdwrite: buffer is not busy
cpuid = 1; lapic.id = 01000000
boot() called on cpu#1
Uptime: 6m44s
pfs_vncache_unload(): 1 entries remaining
Dumping 511 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496
---
#0  doadump () at ../../../kern/kern_shutdown.c:223
223		dumping++;
(kgdb) where
#0  doadump () at ../../../kern/kern_shutdown.c:223
#1  0xc022ccba in boot (howto=260) at ../../../kern/kern_shutdown.c:355
#2  0xc022cf77 in panic () at ../../../kern/kern_shutdown.c:508
#3  0xc0274c3d in bdwrite (bp=0xce3bfaf4) at ../../../kern/vfs_bio.c:950
#4  0xc031cb0b in ffs_update (vp=0xc458e4a0, waitfor=0)
    at ../../../ufs/ffs/ffs_inode.c:125
#5  0xc03309b2 in ffs_fsync (ap=0xdf9b6564) at ../../../ufs/ffs/ffs_vnops.c:315
#6  0xc032fad9 in ffs_sync (mp=0xc3fa8a00, waitfor=2, cred=0xc1324e80, 
    td=0xc041cfc0) at vnode_if.h:612
#7  0xc02897f8 in sync (td=0xc041cfc0, uap=0x0)
    at ../../../kern/vfs_syscalls.c:130
#8  0xc022c89b in boot (howto=256) at ../../../kern/kern_shutdown.c:264
#9  0xc022cf77 in panic () at ../../../kern/kern_shutdown.c:508
#10 0xc039b5c2 in trap_fatal (frame=0xdf9b6724, eva=0)
    at ../../../i386/i386/trap.c:846
#11 0xc039b272 in trap_pfault (frame=0xdf9b6724, usermode=0, eva=2)
    at ../../../i386/i386/trap.c:760
#12 0xc039ace2 in trap (frame=
      {tf_fs = -1053753320, tf_es = 16, tf_ds = -543490032, tf_edi = -1001077964, tf_esi = -543463582, tf_ebp = -543463580, tf_isp = -543463600, tf_ebx = 0, tf_edx = -543461984, tf_ecx = 0, tf_eax = 14, tf_trapno = 12, tf_err = 0, tf_eip = 2, tf_cs = 8, tf_eflags = 66178, tf_esp = -543463520, tf_ss = -1001019794})
    at ../../../i386/i386/trap.c:446
#13 0xc0383f58 in calltrap () at {standard input}:99
#14 0xc455a66e in ?? ()
#15 0xc455a072 in ?? ()
#16 0xc4559e87 in ?? ()
#17 0xc45609f8 in ?? ()
#18 0xc035947d in vnode_pager_getpages (object=0x0, m=0x0, count=0, reqpage=0)
---Type <return> to continue, or q <return> to quit---
    at vnode_if.h:1265
#19 0xc0342ee3 in vm_fault (map=0xc3ff70cc, vaddr=671461376, 
    fault_type=1 '\001', fault_flags=0) at vm_pager.h:124
#20 0xc039b165 in trap_pfault (frame=0xdf9b6a94, usermode=0, eva=671461376)
    at ../../../i386/i386/trap.c:736
#21 0xc039ace2 in trap (frame=
      {tf_fs = -543490024, tf_es = -1070333936, tf_ds = -1006698480, tf_edi = -796884992, tf_esi = 671461376, tf_ebp = -543462632, tf_isp = -543462720, tf_ebx = 16384, tf_edx = 671477760, tf_ecx = 4096, tf_eax = -543462144, tf_trapno = 12, tf_err = 0, tf_eip = -1069967698, tf_cs = 8, tf_eflags = 66054, tf_esp = -543462296, tf_ss = -543462308}) at ../../../i386/i386/trap.c:446
#22 0xc0383f58 in calltrap () at {standard input}:99
#23 0xc03313d1 in ffs_write (ap=0xdf9b6be8) at ../../../ufs/ffs/ffs_vnops.c:810
#24 0xc0291c1d in vn_write (fp=0xc40000b4, uio=0xdf9b6c68, 
    active_cred=0xc4337d80, flags=0, td=0xc3fbd9c0) at vnode_if.h:417
#25 0xc024ff45 in dofilewrite (td=0xc3fbd9c0, fp=0xc40000b4, fd=4, 
    buf=0x2805b000, nbyte=0, offset=0, flags=0) at file.h:215
#26 0xc024fdd9 in write (td=0xc3fbd9c0, uap=0xdf9b6d10)
    at ../../../kern/sys_generic.c:329
#27 0xc039b9ec in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 4, tf_esi = 671461376, tf_ebp = -1077937512, tf_isp = -543462028, tf_ebx = 84480, tf_edx = 0, tf_ecx = 134672640, tf_eax = 4, tf_trapno = 12, tf_err = 2, tf_eip = 134524975, tf_cs = 31, tf_eflags = 531, tf_esp = -1077937588, tf_ss = 47})
    at ../../../i386/i386/trap.c:1071
#28 0xc0383fad in Xint0x80_syscall () at {standard input}:141
---Can't read userspace from dump, or kernel process---

(kgdb) quit
bash-2.05b# exit
exit

Script done on Tue Oct 22 17:22:15 2002
-- 

Vallo Kallaste
kalts@estpak.ee

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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