4-STABLE panic, samba related maybe?

Mark Cullen mark.r.cullen at gmail.com
Sat Apr 22 10:43:29 UTC 2006


I know 4.x is outdated and all that, and soon to be unsupported 
(probably very much unsupported already) but I thought I'd post anyway. 
I'm not ready to move to 5 / 6.

I just got this panic while copying an old website to a new folder via 
samba, deleting it again (didn't quite work as expected you see), and 
then trying to use 'vi' over ssh to edit apache config file. It seemed 
to panic as soon as I hit enter for the vi command.

----
(root at bone)/usr/home/crash# uname -a
FreeBSD bone.bone.servebeer.com 4.11-STABLE FreeBSD 4.11-STABLE #0: Thu 
Mar 16 08:35:46 GMT 2006 
mrboo at bone.bone.servebeer.com:/usr/obj/usr/src/sys/BONE  i386
(root at bone)/usr/home/crash# gdb -k /kernel.debug vmcore.3
GNU gdb 4.18 (FreeBSD)
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-unknown-freebsd"...Deprecated bfd_read 
called at 
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c 
line 2627 in elfstab_build_psymtabs
Deprecated bfd_read called at 
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c 
line 933 in fill_symbuf

IdlePTD at physical address 0x003df000
initial pcb at physical address 0x00330860
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x14
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc02a933a
stack pointer           = 0x10:0xca51dd34
frame pointer           = 0x10:0xca51dd64
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         = 89353 (sshd)
interrupt mask          = tty
trap number             = 12
panic: page fault

syncing disks... 50 1
done
Uptime: 35d16h43m46s

dumping to dev #ad/0x20001, offset 725120
dump ata0: resetting devices .. done
157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 
139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 
121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 
103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 
80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 
56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 
32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 
7 6 5 4 3 2 1 0 
\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\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^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^
@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@\^@
---
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
487             if (dumping++) {
(kgdb) bt
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1  0xc017f008 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316
#2  0xc017f43c in poweroff_wait (junk=0xc02f9eac, howto=-1070622289)
     at /usr/src/sys/kern/kern_shutdown.c:595
#3  0xc02aab03 in trap_fatal (frame=0xca51dcf4, eva=20)
     at /usr/src/sys/i386/i386/trap.c:974
#4  0xc02aa7c5 in trap_pfault (frame=0xca51dcf4, usermode=0, eva=20)
     at /usr/src/sys/i386/i386/trap.c:867
#5  0xc02aa37b in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = -1058013168,
       tf_edi = -900604532, tf_esi = 20, tf_ebp = -900604572,
       tf_isp = -900604640, tf_ebx = 92, tf_edx = 128, tf_ecx = 23,
       tf_eax = -900604552, tf_trapno = 12, tf_err = 0, tf_eip = 
-1070951622,
       tf_cs = 8, tf_eflags = 66070, tf_esp = 0, tf_ss = -1059805096})
     at /usr/src/sys/i386/i386/trap.c:466
#6  0xc02a933a in generic_bcopy ()
#7  0xc019966b in ptcread (dev=0xc032f114, uio=0xca51ded4, flag=8323088)
     at /usr/src/sys/kern/tty_pty.c:457
#8  0xc01b9bb6 in spec_read (ap=0xca51de68)
     at /usr/src/sys/miscfs/specfs/spec_vnops.c:253
#9  0xc0259cb8 in ufsspec_read (ap=0xca51de68)
     at /usr/src/sys/ufs/ufs/ufs_vnops.c:1798
#10 0xc025a359 in ufs_vnoperatespec (ap=0xca51de68)
     at /usr/src/sys/ufs/ufs/ufs_vnops.c:2394
#11 0xc01b5c98 in vn_read (fp=0xc14ca680, uio=0xca51ded4, cred=0xc10d1b80,
     flags=0, p=0xca46b3c0) at vnode_if.h:334
#12 0xc018e63b in dofileread (p=0xca46b3c0, fp=0xc14ca680, fd=9,
     buf=0xbfbfb3b0, nbyte=16384, offset=-1, flags=0)
     at /usr/src/sys/sys/file.h:147
#13 0xc018e4ff in read (p=0xca46b3c0, uap=0xca51df80)
     at /usr/src/sys/kern/sys_generic.c:117
#14 0xc02aadbd in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47,
       tf_edi = 134839056, tf_esi = 134840832, tf_ebp = -1077939280,
       tf_isp = -900603948, tf_ebx = 9, tf_edx = 134839056, tf_ecx = 9,
       tf_eax = 3, tf_trapno = 7, tf_err = 2, tf_eip = 673732972, tf_cs 
= 31,
       tf_eflags = 659, tf_esp = -1077955708, tf_ss = 47})
     at /usr/src/sys/i386/i386/trap.c:1175
#15 0xc029c0f5 in Xint0x80_syscall ()
#16 0x8069a43 in ?? ()
#17 0x8069e39 in ?? ()
#18 0x8069f2f in ?? ()
#19 0x8053c9b in ?? ()
#20 0x805a386 in ?? ()
#21 0x8056c6b in ?? ()
#22 0x804f13c in ?? ()
#23 0x804c56e in ?? ()
(kgdb) l *0xc02a933a
No source file for address 0xc02a933a.
(kgdb) l *0xc019966b
0xc019966b is in ptcread (/usr/src/sys/kern/tty_pty.c:458).
453             }
454             if (pti->pt_flags & (PF_PKT|PF_UCNTL))
455                     error = ureadc(0, uio);
456             while (uio->uio_resid > 0 && error == 0) {
457                     cc = q_to_b(&tp->t_outq, buf, 
min(uio->uio_resid, BUFSIZ));
458                     if (cc <= 0)
459                             break;
460                     error = uiomove(buf, cc, uio);
461             }
462             ttwwakeup(tp);
(kgdb) l *0xc01b9bb6
0xc01b9bb6 is in spec_read (/usr/src/sys/miscfs/specfs/spec_vnops.c:253).
248
249             if (uio->uio_resid == 0)
250                     return (0);
251
252             VOP_UNLOCK(vp, 0, p);
253             error = (*devsw(dev)->d_read) (dev, uio, ap->a_ioflag);
254             vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, p);
255             return (error);
256     }
257
(kgdb) l *0xc0259cb8
0xc0259cb8 is in ufsspec_read (/usr/src/sys/ufs/ufs/ufs_vnops.c:1798).
1793            struct inode *ip;
1794            struct uio *uio;
1795
1796            uio = ap->a_uio;
1797            resid = uio->uio_resid;
1798            error = VOCALL(spec_vnodeop_p, VOFFSET(vop_read), ap);
1799            /*
1800             * The inode may have been revoked during the call, so 
it must not
1801             * be accessed blindly here or in the other wrapper 
functions.
1802             */
(kgdb) l *0xc025a359
0xc025a359 is in ufs_vnoperatespec (/usr/src/sys/ufs/ufs/ufs_vnops.c:2394).
2389    ufs_vnoperatespec(ap)
2390            struct vop_generic_args /* {
2391                    struct vnodeop_desc *a_desc;
2392            } */ *ap;
2393    {
2394            return (VOCALL(ufs_specop_p, ap->a_desc->vdesc_offset, ap));
2395    }
(kgdb) l *0xc01b5c98
0xc01b5c98 is in vn_read (vnode_if.h:334).
329             a.a_desc = VDESC(vop_read);
330             a.a_vp = vp;
331             a.a_uio = uio;
332             a.a_ioflag = ioflag;
333             a.a_cred = cred;
334             rc = VCALL(vp, VOFFSET(vop_read), &a);
335             return (rc);
336     }
337     struct vop_write_args {
338             struct vnodeop_desc *a_desc;
(kgdb) l *0xc018e63b
0xc018e63b is in dofileread (/usr/src/sys/sys/file.h:147).
142             int flags;
143     {
144             int error;
145
146             fhold(fp);
147             error = (*fp->f_ops->fo_read)(fp, uio, cred, flags, p);
148             fdrop(fp, p);
149             return (error);
150     }
151
(kgdb) l *0xc018e4ff
0xc018e4ff is in read (/usr/src/sys/kern/sys_generic.c:117).
112             register struct file *fp;
113             int error;
114
115             if ((fp = holdfp(p->p_fd, uap->fd, FREAD)) == NULL)
116                     return (EBADF);
117             error = dofileread(p, fp, uap->fd, uap->buf, uap->nbyte, 
(off_t)-1, 0);
118             fdrop(fp, p);
119             return(error);
120     }
121
(kgdb) l *0xc02aadbd
0xc02aadbd is in syscall2 (/usr/src/sys/i386/i386/trap.c:1175).
1170            p->p_retval[0] = 0;
1171            p->p_retval[1] = frame.tf_edx;
1172
1173            STOPEVENT(p, S_SCE, narg);      /* MP aware */
1174
1175            error = (*callp->sy_call)(p, args);
1176
1177            /*
1178             * MP SAFE (we may or may not have the MP lock at this 
point)
1179             */
(kgdb)


---

Is anyone able to help me out?

Also, I have no idea what those \^@ characters are after the dump. I 
have had random garbage printed out after dumping on the last two panics 
( seems you can't use softupdates on a vinum volume )

[...core #2 garbage example...]

dumping to dev #ad/0x20001, offset 725120
dump ata0: resetting devices .. done
157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 
139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 
121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 
103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 
80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 
56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 
32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 
7 6 5 4 3 2 1 0 ions not recoverable if the session fails\^[[m   \^[[H
WARNING: R/W mount of /usr denied.  Filesystem is not clean - run fsck
WARNING: /usr was not properly dismounted
---
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
487             if (dumping++) {
(kgdb)


Thanks in advance for any assitance. Not well seasoned in the art of 
kernel debugging so if you need output of any commands from the 
debugging kernel do let me know!


More information about the freebsd-stable mailing list