panic with any version of smbd in 5.2.1-R

From: Oleg Palij <o.palij_at_dp.uz.gov.ua>
Date: Wed, 11 Aug 2004 09:12:51 +0300
Panic happens with samba 2.2.8-2.2.10, 3.0.0-3.0.4.
I can't reproduce kernel panic but it happens frequently.

# uname -a
FreeBSD iscmpd-oleg 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #0: Wed Aug  4 11:59:15 EEST 2004 root_at_iscmpd-oleg:/usr/obj/usr/src/sys/ISCMPD-OLEG_KERNEL  i386

Below is the gdb backtrace.


# gdb -k kernel.debug.0 /usr/panic/1/vmcore.9 
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-unknown-freebsd"...
panic: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x8
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc055ba8f
stack pointer           = 0x10:0xce722c70
frame pointer           = 0x10:0xce722ce4
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         = 692 (smbd)
trap number             = 12
panic: page fault

syncing disks, buffers remaining... 2197 2197 2194 2192 2192 2192 2192 2192 2192 2192 2192 2192 2192 2192 2192 2192 2192 2192 2192 2192 2192 2192 2192 
giving up on 1267 buffers
Uptime: 5m0s
Dumping 255 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
---
Reading symbols from /boot/kernel/nvidia.ko...done.
Loaded symbols for /boot/kernel/nvidia.ko
Reading symbols from /boot/kernel/linux.ko...done.
Loaded symbols for /boot/kernel/linux.ko
Reading symbols from /boot/kernel/acpi.ko...done.
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from /boot/kernel/msdosfs_iconv.ko...done.
Loaded symbols for /boot/kernel/msdosfs_iconv.ko
Reading symbols from /boot/kernel/libiconv.ko...done.
Loaded symbols for /boot/kernel/libiconv.ko
Reading symbols from /boot/kernel/blank_saver.ko...done.
Loaded symbols for /boot/kernel/blank_saver.ko
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
240             dumping++;
(kgdb) where
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc0503d52 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:372
#2  0xc0504087 in panic () at /usr/src/sys/kern/kern_shutdown.c:550
#3  0xc0619276 in trap_fatal (frame=0xce722c30, eva=0) at /usr/src/sys/i386/i386/trap.c:821
#4  0xc0618f12 in trap_pfault (frame=0xce722c30, usermode=0, eva=8) at /usr/src/sys/i386/i386/trap.c:735
#5  0xc0618afd in trap (frame=
      {tf_fs = -1019871208, tf_es = -1026293744, tf_ds = -831389680, tf_edi = -831378156, tf_esi = -1026292800, tf_ebp = -831378204, tf_isp = -831378340, tf_ebx = 0, tf_edx = 0, tf_ecx = -1019847372, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1068123505, tf_cs = 8, tf_eflags = 66118, tf_esp = -1019847372, tf_ss = -831378300})
    at /usr/src/sys/i386/i386/trap.c:420
#6  0xc060a958 in calltrap () at {standard input}:94
#7  0xc0619590 in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = -1078001617, tf_edi = 10000, tf_esi = -1077943648, tf_ebp = -1077943592, tf_isp = -831378060, tf_ebx = 0, tf_edx = 0, tf_ecx = -1077942176, tf_eax = 148, tf_trapno = 12, tf_err = 2, tf_eip = 673523215, tf_cs = 31, tf_eflags = 582, tf_esp = -1077943668, tf_ss = 47})
    at /usr/src/sys/i386/i386/trap.c:1010
#8  0xc060a9ad in Xint0x80_syscall () at {standard input}:136
---Can't read userspace from dump, or kernel process---

(kgdb) 

I can give more information with a pleasure if you say me what i have to do. Also I have samba logs with log level = 9 during panic, but i can't find anything suspect in it.

-- 
Best regards,
Palij Oleg, ISC (Pridn railway)
Received on Wed Aug 11 2004 - 04:12:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:05 UTC