Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jun 2003 17:17:14 -0300
From:      "Daniel C. Sobral" <dcs@tcoip.com.br>
To:        CURRENT <freebsd-current@FreeBSD.ORG>
Cc:        Robert Watson <rwatson@FreeBSD.ORG>
Subject:   PANIC: FreeBSD dislikes temps (panic when mounting /tmp)
Message-ID:  <3EE0F6CA.9070204@tcoip.com.br>

next in thread | raw e-mail | index | archive | help
Robert, I cc'ed you because you are usually guilty anyway... (besides, 
there's a ea thingy there :)

root@dcs:/opt/home/dcs$ gdb -k /dos/crash/kernel.17 /dos/crash/vmcore.17
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: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xc7bc1004
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0292f75
stack pointer           = 0x10:0xd1d847f8
frame pointer           = 0x10:0xd1d84840
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         = 101 (mount)
trap number             = 12
panic: page fault

syncing disks, buffers remaining... 228 228 228 228 228 228 228 228 228 
228 228 228 228 228 228 228 228 228 228 228
giving up on 192 buffers
Uptime: 18s
Dumping 255 MB
ata0: resetting devices ..
done
  16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
---
Reading symbols from /boot/kernel/snd_cmi.ko...done.
Loaded symbols for /boot/kernel/snd_cmi.ko
Reading symbols from /boot/kernel/snd_pcm.ko...done.
Loaded symbols for /boot/kernel/snd_pcm.ko
Reading symbols from 
/usr/obj/usr/src/sys/DCS/modules/usr/src/sys/modules/mac_biba/mac_biba.ko.debug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/DCS/modules/usr/src/sys/modules/mac_biba/mac_biba.ko.debug
Reading symbols from 
/usr/obj/usr/src/sys/DCS/modules/usr/src/sys/modules/mac_mls/mac_mls.ko.debug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/DCS/modules/usr/src/sys/modules/mac_mls/mac_mls.ko.debug
Reading symbols from 
/usr/obj/usr/src/sys/DCS/modules/usr/src/sys/modules/acpi/acpi.ko.debug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/DCS/modules/usr/src/sys/modules/acpi/acpi.ko.debug
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:238
238             dumping++;
(kgdb) bt full
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:238
No locals.
#1  0xc01e79d3 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:370
No locals.
#2  0xc01e7d1b in panic () at /usr/src/sys/kern/kern_shutdown.c:543
         td = (struct thread *) 0xc2643720
         bootopt = 256
         newpanic = 1
         buf = "page fault", '\0' <repeats 245 times>
#3  0xc02eb432 in trap_fatal (frame=0xd1d847b8, eva=0) at 
/usr/src/sys/i386/i386/trap.c:836
         code = 16
         type = 12
         ss = 16
         esp = 0
         softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27, 
ssd_dpl = 0, ssd_p = 1, ssd_xx = 0,
   ssd_xx1 = 0, ssd_def32 = 1, ssd_gran = 1}
#4  0xc02eb112 in trap_pfault (frame=0xd1d847b8, usermode=0, eva=3350990852)
     at /usr/src/sys/i386/i386/trap.c:750
         va = 3350990848
         vm = (struct vmspace *) 0x0
         map = (struct vm_map *) 0xc0831000
         rv = 1
         ftype = 1 '\001'
         td = (struct thread *) 0xc2643720
         p = (struct proc *) 0xc2704000
#5  0xc02eacdd in trap (frame=
       {tf_fs = -1032978408, tf_es = -774373360, tf_ds = -774373360, 
tf_edi = -1032723040, tf_esi = -943976448, tf_ebp = -774354880, tf_isp = 
-774354972, tf_ebx = 1180, tf_edx = 16384, tf_ecx = -1, tf_eax = 
-948615224, tf_trapno = 12, tf_err = 0, tf_eip = -1071042699, tf_cs = 8, 
tf_eflags = 590470, tf_esp = -1032969216, tf_ss = 15944}) at 
/usr/src/sys/i386/i386/trap.c:435
         td = (struct thread *) 0xc2643720
         p = (struct proc *) 0xc2704000
         sticks = 3261998080
         i = 0
         ucode = 0
         type = 12
---Type <return> to continue, or q <return> to quit---
         code = 0
         eva = 3350990852
#6  0xc02dae18 in calltrap () at {standard input}:96
No locals.
#7  0xc0296f96 in ufs_lookup (ap=0xd1d8497c) at 
/usr/src/sys/ufs/ufs/ufs_lookup.c:199
         vdp = (struct vnode *) 0xc27f47fc
         dp = (struct inode *) 0xc7bc1000
         bp = (struct buf *) 0x0
         ep = (struct direct *) 0x49c
         entryoffsetinblock = -1070437715
         slotstatus = FOUND
         slotoffset = -1
         slotsize = 0
         slotfreespace = 0
         slotneeded = 0
         numdirpasses = -1058249564
         endsearch = -1032723040
         prevoff = 524870
         pdp = (struct vnode *) 0xc271e5a0
         tdp = (struct vnode *) 0xc2643720
         enduseful = 442
         bmask = 4294967295
         lockparent = 0
         wantparent = 0
         namlen = 0
         error = 1180
         vpp = (struct vnode **) 0xd1d84948
         cnp = (struct componentname *) 0xd1d8495c
         cred = (struct ucred *) 0xc0ec9180
         flags = 32768
         nameiop = 0
         td = (struct thread *) 0xc2643720
#8  0xc0294de7 in ufs_extattr_lookup (start_dvp=0xc27f47fc, 
lockparent=2, dirname=0x0, vp=0x0, td=0xc2643720)
     at /usr/src/sys/ufs/ufs/ufs_extattr.c:271
         vargs = {a_desc = 0x0, a_dvp = 0xc27f47fc, a_vpp = 0xd1d84948, 
a_cnp = 0xd1d8495c}
         cnp = {cn_nameiop = 0, cn_flags = 32768, cn_thread = 
0xc2643720, cn_cred = 0xc0ec9180,
---Type <return> to continue, or q <return> to quit---
   cn_pnbuf = 0xc26ec000 ".attribute", cn_nameptr = 0xc26ec000 
".attribute", cn_namelen = 10, cn_consume = 0}
         target_vp = (struct vnode *) 0x0
         error = 0
#9  0xc02952c6 in ufs_extattr_autostart (mp=0xc26e2a00, td=0xc2643720)
     at /usr/src/sys/ufs/ufs/ufs_extattr.c:474
         rvp = (struct vnode *) 0xc27f47fc
         attr_dvp = (struct vnode *) 0xc2745800
         attr_system_dvp = (struct vnode *) 0x8
         attr_user_dvp = (struct vnode *) 0x0
         error = 0
#10 0xc028d505 in ffs_mountfs (devvp=0xc2643720, mp=0xc26e2a00, 
td=0xc2643720)
     at /usr/src/sys/ufs/ffs/ffs_vfsops.c:819
         ump = (struct ufsmount *) 0xc2732a00
         bp = (struct buf *) 0x0
         fs = (struct fs *) 0xc27f9800
         dev = (struct cdev *) 0xc26e3500
         space = (void *) 0xc2745810
         sblockloc = 65536
         error = 0
         i = -1032967680
         blks = 1
         size = 2048
         ronly = 0
         lp = (int32_t *) 0x0
         cred = (struct ucred *) 0xc0ec9180
         strsize = 5
         ncount = 0
#11 0xc028c319 in ffs_mount (mp=0xc26e2a00, path=0xc2764280 "/tmp", 
data=0x0, ndp=0xd1d84bec, td=0xc2643720)
     at /usr/src/sys/ufs/ffs/ffs_vfsops.c:366
         size = 3223185117
         devvp = (struct vnode *) 0xc272e000
         args = {fspec = 0x80ad040---Can't read userspace from dump, or 
kernel process---


-- 
Daniel C. Sobral                   (8-DCS)
Gerencia de Operacoes
Divisao de Comunicacao de Dados
Coordenacao de Seguranca
VIVO Centro Oeste Norte
Fones: 55-61-313-7654/Cel: 55-61-9618-0904
E-mail: Daniel.Capo@tco.net.br
         Daniel.Sobral@tcoip.com.br
         dcs@tcoip.com.br

Outros:
	dcs@newsguy.com
	dcs@freebsd.org
	capo@notorious.bsdconspiracy.net

A couch is as good as a chair.



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