Date: Thu, 16 Jan 2003 16:14:41 -0400 (AST) From: "Marc G. Fournier" <scrappy@hub.org> To: freebsd-stable@freebsd.org Subject: double mounted file system causes panic ... Message-ID: <20030116160539.B15704@hub.org>
next in thread | raw e-mail | index | archive | help
one of my guys accidentally mounted a unionfs a second time, causing the following panic ... not sure if the following helps any? (kgdb) wher #0 0xc959d256 in ?? () #1 0xc013ec50 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:223 #2 0xc013f375 in panic (fmt=0xc02111f9 "%s") at /usr/src/sys/kern/kern_shutdown.c:595 #3 0xc01e4f15 in trap_fatal (frame=0xf7733d60, eva=8) at /usr/src/sys/i386/i386/trap.c:974 #4 0xc01e4b81 in trap_pfault (frame=0xf7733d60, usermode=0, eva=8) at /usr/src/sys/i386/i386/trap.c:867 #5 0xc01e46db in trap (frame={tf_fs = -143458280, tf_es = -1071972336, tf_ds = -922550256, tf_edi = -143442440, tf_esi = 0, tf_ebp = -143442488, tf_isp = -143442548, tf_ebx = -143442308, tf_edx = -905770752, tf_ecx = 52, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -905788034, tf_cs = 8, tf_eflags = 66198, tf_esp = -143442308, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:466 #6 0xca02c57e in ?? () #7 0xca02b5b3 in ?? () #8 0xc016f36b in mount (p=0xf75896c0, uap=0xf7733f80) at /usr/src/sys/kern/vfs_syscalls.c:314 #9 0xc01e5251 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = -1077937168, tf_esi = -1077939308, tf_ebp = -1077937260, tf_isp = -143441964, tf_ebx = 0, tf_edx = 0, tf_ecx = 0, tf_eax = 21, tf_trapno = 12, tf_err = 2, tf_eip = 134516864, tf_cs = 31, tf_eflags = 582, tf_esp = -1077939400, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1175 #10 0xc01d297b in Xint0x80_syscall () #11 0x8048135 in ?? () (kgdb) up 5 #5 0xc01e46db in trap (frame={tf_fs = -143458280, tf_es = -1071972336, tf_ds = -922550256, tf_edi = -143442440, tf_esi = 0, tf_ebp = -143442488, tf_isp = -143442548, tf_ebx = -143442308, tf_edx = -905770752, tf_ecx = 52, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -905788034, tf_cs = 8, tf_eflags = 66198, tf_esp = -143442308, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:466 466 (void) trap_pfault(&frame, FALSE, eva); (kgdb) (kgdb) up #2 0xc016f36b in mount (p=0xf75896c0, uap=0xf7733f80) at /usr/src/sys/kern/vfs_syscalls.c:314 314 error = VFS_MOUNT(mp, SCARG(uap, path), SCARG(uap, data), &nd, p); (kgdb) list 309 /* 310 * Mount the filesystem. 311 * XXX The final recipients of VFS_MOUNT just overwrite the ndp they 312 * get. No freeing of cn_pnbuf. 313 */ 314 error = VFS_MOUNT(mp, SCARG(uap, path), SCARG(uap, data), &nd, p); 315 if (mp->mnt_flag & MNT_UPDATE) { 316 if (mp->mnt_kern_flag & MNTK_WANTRDWR) 317 mp->mnt_flag &= ~MNT_RDONLY; 318 mp->mnt_flag &=~ (MNT_UPDATE | MNT_RELOAD | MNT_FORCE); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030116160539.B15704>