Got a nice crash while running XMMS under X11 and running a 'make world -j 
128 -DNOCLEAN' on ttyv0

Current was cvsupped on the 17th in the morning (Central European Time) IIRC.

Attached:       script(1) output of gdb kernel trace
                Kernel config file
                dmesg(8) output

I'm not an expert on tracing panics, I just followed the instructions in 
the FAQ, so feel free to ask me to look at stuff.

        DocWilco

Script started on Thu Jan 18 16:09:58 2001
[ root@:/usr/src/sys/compile/VENUS ] # exitgdb -kls -lgdb -k
GNU gdb 4.18
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".
(kgdb) symol  bol0-  -file kernel.debug
Reading symbols from kernel.debug...done.
(kgdb) exec-file /var/crash/kernel.0
(kgdb) core-file /var/crash/vmcore.0
IdlePTD 5267456
initial pcb at 315ce0
panicstr: from debugger
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x6c
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc01c057f
stack pointer           = 0x10:0xc7ff1d54
frame pointer           = 0x10:0xc7ff1d5c
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         = 427 (xmms)
panic: from debugger
panic: from debugger
Uptime: 5m51s

dumping to dev ad0s2b, offset 262144
dump ata0: resetting devices .. done
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  dumpsys () at ../../kern/kern_shutdown.c:477
477             if (dumping++) {
(kgdb) where
#0  dumpsys () at ../../kern/kern_shutdown.c:477
#1  0xc0186c2a in boot (howto=260) at ../../kern/kern_shutdown.c:320
#2  0xc0186ff9 in panic (fmt=0xc029c374 "from debugger")
    at ../../kern/kern_shutdown.c:570
#3  0xc0142451 in db_panic (addr=-1071905409, have_addr=0, count=-1, 
    modif=0xc7ff1bc4 "") at ../../ddb/db_command.c:433
#4  0xc01423f1 in db_command (last_cmdp=0xc02dbe34, cmd_table=0xc02dbc94, 
    aux_cmd_tablep=0xc02ff6dc) at ../../ddb/db_command.c:333
#5  0xc01424b6 in db_command_loop () at ../../ddb/db_command.c:455
#6  0xc0144683 in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71
#7  0xc0272f72 in kdb_trap (type=12, code=0, regs=0xc7ff1d14)
    at ../../i386/i386/db_interface.c:164
#8  0xc027ec0c in trap_fatal (frame=0xc7ff1d14, eva=108)
    at ../../i386/i386/trap.c:948
#9  0xc027e975 in trap_pfault (frame=0xc7ff1d14, usermode=0, eva=108)
    at ../../i386/i386/trap.c:867
#10 0xc027e12c in trap (frame={tf_fs = -939589608, tf_es = -1071972336, 
      tf_ds = -939786224, tf_edi = 0, tf_esi = 0, tf_ebp = -939582116, 
      tf_isp = -939582144, tf_ebx = 108, tf_edx = 8, tf_ecx = -940174016, 
      tf_eax = 8, tf_trapno = 12, tf_err = 2, tf_eip = -1071905409, tf_cs = 8, 
      tf_eflags = 66118, tf_esp = 0, tf_ss = -1057531392})
    at ../../i386/i386/trap.c:442
#11 0xc01c057f in vref (vp=0x0) at machine/atomic.h:332
#12 0xc0f7aa82 in ?? ()
---Type <return> to continue, or q <return> to quit---
#13 0xc0f7b933 in ?? ()
#14 0xc0f7de1c in ?? ()
#15 0xc0f7abb5 in ?? ()
#16 0xc01c8acc in vn_read (fp=0xc105e9c0, uio=0xc7ff1ee4, cred=0xc1047600, 
    flags=0, p=0xc7f61540) at vnode_if.h:279
#17 0xc019b9ba in dofileread (p=0xc7f61540, fp=0xc105e9c0, fd=9, 
    buf=0x8223c00, nbyte=512, offset=-1, flags=0) at ../../sys/file.h:141
#18 0xc019b8c2 in read (p=0xc7f61540, uap=0xc7ff1f80)
    at ../../kern/sys_generic.c:118
#19 0xc027f131 in syscall2 (frame={tf_fs = -1078001617, tf_es = -1078001617, 
      tf_ds = -1078001617, tf_edi = 9, tf_esi = 0, tf_ebp = -1079198116, 
      tf_isp = -939581484, tf_ebx = 674684816, tf_edx = 136476160, 
      tf_ecx = 674676832, tf_eax = 3, tf_trapno = 22, tf_err = 2, 
      tf_eip = 674396448, tf_cs = 31, tf_eflags = 659, tf_esp = -1079198160, 
      tf_ss = 47}) at ../../i386/i386/trap.c:1153
#20 0xc02738e3 in Xint0x80_syscall ()
#21 0x2835ddfe in ?? ()
#22 0x2834d66e in ?? ()
#23 0x28348bf9 in ?? ()
#24 0x285b08d6 in ?? ()
#25 0x0 in ?? ()
(kgdb) up 10
#10 0xc027e12c in trap (frame={tf_fs = -939589608, tf_es = -1071972336, 
      tf_ds = -939786224, tf_edi = 0, tf_esi = 0, tf_ebp = -939582116, 
      tf_isp = -939582144, tf_ebx = 108, tf_edx = 8, tf_ecx = -940174016, 
      tf_eax = 8, tf_trapno = 12, tf_err = 2, tf_eip = -1071905409, tf_cs = 8, 
      tf_eflags = 66118, tf_esp = 0, tf_ss = -1057531392})
    at ../../i386/i386/trap.c:442
442                             (void) trap_pfault(&frame, FALSE, eva);
(kgdb) frame frame->tf_ebp frame->tf_eip
#0  0xc01c057f in vref (vp=0x0) at machine/atomic.h:332
332             return (atomic_cmpset_int((volatile u_int *)dst, (u_int)exp,
(kgdb) list
327     #if !defined(WANT_FUNCTIONS)
328     static __inline int
329     atomic_cmpset_ptr(volatile void *dst, void *exp, void *src)
330     {
331     
332             return (atomic_cmpset_int((volatile u_int *)dst, (u_int)exp,
333                 (u_int)src));
334     }
335     
336     static __inline void *
(kgdb) print dst
$1 = (u_int *) 0x2836df90
(kgdb) print exp
No symbol "exp" in current context.
(kgdb) print src
$2 = 0
(kgdb) up
#1  0xc0f7aa82 in ?? ()
(kgdb) up
#2  0xc0f7b933 in ?? ()
(kgdb) up
#3  0xc0f7de1c in ?? ()
(kgdb) up
#4  0xc0f7abb5 in ?? ()
(kgdb) up
#5  0xc01c8acc in vn_read (fp=0xc105e9c0, uio=0xc7ff1ee4, cred=0xc1047600, 
    flags=0, p=0xc7f61540) at vnode_if.h:279
279             rc = VCALL(vp, VOFFSET(vop_read), &a);
(kgdb) up
#6  0xc019b9ba in dofileread (p=0xc7f61540, fp=0xc105e9c0, fd=9, 
    buf=0x8223c00, nbyte=512, offset=-1, flags=0) at ../../sys/file.h:141
141             error = (*fp->f_ops->fo_read)(fp, uio, cred, flags, p);
(kgdb) up
#7  0xc019b8c2 in read (p=0xc7f61540, uap=0xc7ff1f80)
    at ../../kern/sys_generic.c:118
118             error = dofileread(p, fp, uap->fd, uap->buf, uap->nbyte, (off_t)-1, 
0);
(kgdb) up
#8  0xc027f131 in syscall2 (frame={tf_fs = -1078001617, tf_es = -1078001617, 
      tf_ds = -1078001617, tf_edi = 9, tf_esi = 0, tf_ebp = -1079198116, 
      tf_isp = -939581484, tf_ebx = 674684816, tf_edx = 136476160, 
      tf_ecx = 674676832, tf_eax = 3, tf_trapno = 22, tf_err = 2, 
      tf_eip = 674396448, tf_cs = 31, tf_eflags = 659, tf_esp = -1079198160, 
      tf_ss = 47}) at ../../i386/i386/trap.c:1153
1153            error = (*callp->sy_call)(p, args);
(kgdb) up
#9  0xc02738e3 in Xint0x80_syscall ()
(kgdb) up
#10 0x2835ddfe in ?? ()
(kgdb) up
#11 0x2834d66e in ?? ()
(kgdb) up
#12 0x28348bf9 in ?? ()
(kgdb) up
#13 0x285b08d6 in ?? ()
(kgdb) up
#14 0x0 in ?? ()
(kgdb) up
Initial frame selected; you cannot go up.
(kgdb) quit
[ root@:/usr/src/sys/compile/VENUS ] # exit
exit

Script done on Thu Jan 18 16:16:35 2001

Venus

dmesg

Reply via email to