7.1 stable panics

Kris Kennaway kris at FreeBSD.org
Sun Mar 29 05:38:50 PDT 2009


Nathanael Jean-Francois wrote:
> Hello all,
> 
> I've been getting some panics with a 7.1 stable machine from March 14th.
> I've not been able to determine the cause nor reproduce them at will.
> Here's a backtrace from the latest panic on March 23rd. Let me know if any
> more information is needed. Thanks.
> 
> Unread portion of the kernel message buffer:
> panic: lock (sleep mutex) Giant not locked @
> /usr/src/sys/kern/kern_ntptime.c:965

This is strange because the corresponding mtx_lock is only a few lines 
above.  Can you provide your kernel config?

Kris

> cpuid = 1
> Uptime: 1d15h34m6s
> Physical memory: 2034 MB
> Dumping 377 MB: 362 346 330 314 298 282 266 250 234 218 202 186 170 154
> 138 122 106 90 74 58 42em0: watchdog timeout -- resetting
> <5>em0: link state changed to DOWN
>  26 10
> 
> #0  doadump () at pcpu.h:195
> 195             __asm __volatile("movq %%gs:0,%0" : "=r" (td));
> (kgdb) list
> 190     static __inline struct thread *
> 191     __curthread(void)
> 192     {
> 193             struct thread *td;
> 194
> 195             __asm __volatile("movq %%gs:0,%0" : "=r" (td));
> 196             return (td);
> 197     }
> 198     #define curthread               (__curthread())
> 199
> (kgdb) backtrace
> #0  doadump () at pcpu.h:195
> #1  0x0000000000000104 in ?? ()
> #2  0xffffffff804e6fc2 in boot (howto=260) at
> /usr/src/sys/kern/kern_shutdown.c:418
> #3  0xffffffff804e73f2 in panic (fmt=0x104 <Address 0x104 out of bounds>)
> at /usr/src/sys/kern/kern_shutdown.c:574
> #4  0xffffffff805218b6 in witness_unlock (lock=0xffffffff80b0a400,
> flags=8, file=0x0, line=965) at /usr/src/sys/kern/subr_witness.c:1284
> #5  0xffffffff804dadb2 in _mtx_unlock_flags (m=0xffffffff80b0a400, opts=0,
> file=0xffffffff8087a008 "/usr/src/sys/kern/kern_ntptime.c", line=965)
>     at /usr/src/sys/kern/kern_mutex.c:203
> #6  0xffffffff804dc062 in kern_adjtime (td=0xffffffff80884bd0,
> delta=0x674, olddelta=Variable "olddelta" is not available.
> ) at /usr/src/sys/kern/kern_ntptime.c:965
> #7  0xffffff00019cf870 in ?? ()
> #8  0x00000000000005a8 in ?? ()
> #9  0xffffffff805430b6 in soreceive_generic (so=0xffffff0078a9f600,
> psa=0x0, uio=0xfffffffebe695b10, mp0=Variable "mp0" is not available.
> ) at /usr/src/sys/kern/uipc_socket.c:1652
> #10 0xffffffff80523e6d in dofileread (td=0xffffff000181b000, fd=3,
> fp=0xffffff00016af200, auio=0xfffffffebe695b10, offset=Variable "offset"
> is not available.
> ) at file.h:245
> #11 0xffffffff805241de in kern_readv (td=0xffffff000181b000, fd=3,
> auio=0xfffffffebe695b10) at /usr/src/sys/kern/sys_generic.c:192
> #12 0xffffffff805242cc in read (td=0x0, uap=0x0) at
> /usr/src/sys/kern/sys_generic.c:108
> #13 0xffffffff8079d0dc in syscall (frame=0xfffffffebe695c80) at
> /usr/src/sys/amd64/amd64/trap.c:907
> #14 0xffffffff80781cbb in Xfast_syscall () at
> /usr/src/sys/amd64/amd64/exception.S:330
> #15 0x000000080076ad7c in ?? ()
> Previous frame inner to this frame (corrupt stack?)
> 
> 
> 
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
> 
> 



More information about the freebsd-stable mailing list