Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Apr 2005 10:54:16 -0700 (PDT)
From:      Doug White <dwhite@gumbysoft.com>
To:        Rene Ladan <r.c.ladan@student.tue.nl>
Cc:        stable@freebsd.org
Subject:   Re: 5.4-STABLE panic
Message-ID:  <20050408105348.M63918@carver.gumbysoft.com>
In-Reply-To: <20050408143925.GA67188@82-168-79-254-bbxl.xdsl.tiscali.nl>
References:  <20050408143925.GA67188@82-168-79-254-bbxl.xdsl.tiscali.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 8 Apr 2005, Rene Ladan wrote:

> has anyone seen this panic yet?  It appears to be LOR-related :

This is a tough one since it occured while ddb was active.  How did you
cause this?

>
> [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.s=
o: Undefined symbol "ps_pglobal_lookup"]
> GNU gdb 6.1.1 [FreeBSD]
>
> #0  doadump () at pcpu.h:159
> 159=09pcpu.h: No such file or directory.
> =09in pcpu.h
> (kgdb) bt f
> #0  doadump () at pcpu.h:159
> No locals.
> #1  0xc04944ea in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c=
:410
> =09first_buf_printf =3D 1
> #2  0xc0494858 in panic (
>     fmt=3D0xc05fc48f "blockable sleep lock (%s) %s @ %s:%d")
>     at /usr/src/sys/kern/kern_shutdown.c:566
> =09td =3D (struct thread *) 0xc13df000
> =09bootopt =3D 256
> =09newpanic =3D 1
> =09ap =3D 0xc9ba6670 "=C3=AC=C5=A0`=C3=80=C3=B8=C3=81_=C3=80\236a_=C3=80=
=C2=AD\005"
> =09buf =3D "blockable sleep lock (sleep mutex) tty @ /usr/src/sys/kern/ke=
rn_event.c:1453", '\0' <repeats 179 times>
> #3  0xc04bb0ae in witness_checkorder (lock=3D0xc1580110, flags=3D9,
>     file=3D0xc05f619e "/usr/src/sys/kern/kern_event.c", line=3D1453)
>     at /usr/src/sys/kern/subr_witness.c:709
> =09lock_list =3D (struct lock_list_entry **) 0xf00
> =09lle =3D (struct lock_list_entry *) 0x20
> =09lock1 =3D (struct lock_instance *) 0xc13df000
> =09lock2 =3D (struct lock_instance *) 0x0
> =09class =3D (struct lock_class *) 0xc062045c
> =09w =3D (struct witness *) 0xc0648808
> =09w1 =3D (struct witness *) 0xc0686b28
> =09td =3D (struct thread *) 0xc13df000
> ---Type <return> to continue, or q <return> to quit---
> =09i =3D -1067755093
> =09j =3D -910530880
> =09__func__ =3D "witness_checkorder"
> #4  0xc048a5fa in _mtx_lock_flags (m=3D0xc1580110, opts=3D0,
>     file=3D0xc05f619e "/usr/src/sys/kern/kern_event.c", line=3D1453)
>     at /usr/src/sys/kern/kern_mutex.c:271
> No locals.
> #5  0xc0476d25 in knote (list=3D0xc1580098, hint=3D0, islocked=3D0)
>     at /usr/src/sys/kern/kern_event.c:1453
> =09kq =3D (struct kqueue *) 0xc1580038
> =09kn =3D (struct knote *) 0xc1580000
> #6  0xc04c934e in ttwwakeup (tp=3D0xc1580000) at /usr/src/sys/kern/tty.c:=
2394
> No locals.
> #7  0xc05ba441 in scstart (tp=3D0xc1580000)
>     at /usr/src/sys/dev/syscons/syscons.c:1369
> =09rbp =3D (struct clist *) 0xc1580038
> =09len =3D 0
> =09buf =3D "\fzi=C3=81\200\a\000\000\000p\000\000\000zi=C3=81lg=C2=BA=C3=
=89b`[=C3=80\fzi=C3=81\200\a\000\000 \000\000\000\000p\000\000BK\000 \\g=C2=
=BA=C3=89:z[=C3=80=C3=80\235h=C3=80\fzi=C3=81\000zi=C3=81\000\a\000\000\224=
g=C2=BA=C3=89\225a[=C3=80\000zi=C3=81\200\a\000\000 \000\000\000\000\a\000\=
000\000\000\000\000\000zi=C3=81\000zi=C3=81=C3=80\235h=C3=80=C5=BDg=C2=BA=
=C3=89\016=C3=82[=C3=80\000zi=C3=81\200\a\000\000\000\000\000"
> =09scp =3D (scr_stat *) 0xc1697a00
> #8  0xc05bd825 in scgetc (sc=3D0xc0689dc0, flags=3D3)
>     at /usr/src/sys/dev/syscons/syscons.c:3211
> ---Type <return> to continue, or q <return> to quit---
> =09scp =3D (scr_stat *) 0xc1697a00
> =09tp =3D (struct tty *) 0x0
> =09c =3D 6
> =09this_scr =3D -910530592
> =09f =3D 0
> =09i =3D 0
> #9  0xc05ba899 in sccngetch (flags=3D2)
>     at /usr/src/sys/dev/syscons/syscons.c:1555
> =09fkey =3D {str =3D "\033[A", '\0' <repeats 12 times>, len =3D 3 '\003'}
> =09fkeycp =3D 3
> =09scp =3D (scr_stat *) 0xc1697a00
> =09p =3D (u_char *) 0x0
> =09cur_mode =3D 1
> =09c =3D -1067204928
> #10 0xc05ba6e2 in sccncheckc (cd=3D0xc0634480)
>     at /usr/src/sys/dev/syscons/syscons.c:1478
> No locals.
> #11 0xc04cbc98 in cncheckc () at /usr/src/sys/kern/tty_cons.c:567
> =09cnd =3D (struct cn_device *) 0xc066c480
> =09cn =3D (struct consdev *) 0x0
> =09c =3D 0
> #12 0xc04cbc45 in cngetc () at /usr/src/sys/kern/tty_cons.c:548
> =09c =3D 0
> #13 0xc042a535 in db_readline (lstart=3D0xc063bec0 "c\n", lsize=3D120)
> ---Type <return> to continue, or q <return> to quit---
>     at /usr/src/sys/ddb/db_input.c:324
> No locals.
> #14 0xc042a67a in db_read_line () at /usr/src/sys/ddb/db_lex.c:55
> =09i =3D 0
> #15 0xc0428d91 in db_command_loop () at /usr/src/sys/ddb/db_command.c:453
> No locals.
> #16 0xc042aef5 in db_trap (type=3D3, code=3D0) at /usr/src/sys/ddb/db_mai=
n.c:221
> =09jb =3D {{_jb =3D {-910530388, -910530416, -910530336, -1052905472, 0,
>       -1069371754, 0, 0, 0, 0, -910530336, -1068824416}}}
> =09prev_jb =3D (void *) 0x0
> =09bkpt =3D 0
> #17 0xc04b0927 in kdb_trap (type=3D0, code=3D0, tf=3D0xc9ba6940)
>     at /usr/src/sys/kern/subr_kdb.c:418
> =09handled =3D -910530240
> #18 0xc05d8948 in trap (frame=3D
>       {tf_fs =3D -1051983848, tf_es =3D 16, tf_ds =3D -910557168, tf_edi =
=3D 9, tf_esi =3D -1051954588, tf_ebp =3D -910530168, tf_isp =3D -910530196=
, tf_ebx =3D -1067007556, tf_edx =3D 1, tf_ecx =3D -1056878592, tf_eax =3D =
31, tf_trapno =3D 3, tf_err =3D 0, tf_eip =3D -1068825056, tf_cs =3D 8, tf_=
eflags =3D 646, tf_esp =3D -1067470996, tf_ss =3D -1067540423}) at /usr/src=
/sys/i386/i386/trap.c:576
> =09td =3D (struct thread *) 0xc13df000
> =09p =3D (struct proc *) 0xc13e61c4
> =09sticks =3D 0
> =09i =3D 0
> ---Type <return> to continue, or q <return> to quit---
> =09ucode =3D 0
> =09type =3D 3
> =09code =3D 0
> =09eva =3D 0
> #19 0xc05c7d2a in calltrap () at /usr/src/sys/i386/i386/exception.s:140
> No locals.
> #20 0xc14c0018 in ?? ()
> No symbol table info available.
> #21 0x00000010 in ?? ()
> No symbol table info available.
> #22 0xc9ba0010 in ?? ()
> No symbol table info available.
> #23 0x00000009 in ?? ()
> No symbol table info available.
> #24 0xc14c7264 in ?? ()
> No symbol table info available.
> #25 0xc9ba6988 in ?? ()
> No symbol table info available.
> #26 0xc9ba696c in ?? ()
> No symbol table info available.
> #27 0xc066c1bc in w_locklistdata ()
> No symbol table info available.
> #28 0x00000001 in ?? ()
> No symbol table info available.
> ---Type <return> to continue, or q <return> to quit---
> #29 0xc1015000 in ?? ()
> No symbol table info available.
> #30 0x0000001f in ?? ()
> No symbol table info available.
> #31 0x00000003 in ?? ()
> No symbol table info available.
> #32 0x00000000 in ?? ()
> No symbol table info available.
> #33 0xc04b0620 in kdb_enter (msg=3D0x0) at cpufunc.h:56
> No locals.
> #34 0xc04bb6ab in witness_checkorder (lock=3D0xc14c7264, flags=3D9,
>     file=3D0xc06fd7ad "/usr/src/sys/modules/fxp/../../dev/fxp/if_fxp.c",
>     line=3D1233) at /usr/src/sys/kern/subr_witness.c:946
> =09lock_list =3D (struct lock_list_entry **) 0xc13df070
> =09lle =3D (struct lock_list_entry *) 0xc066c1b8
> =09lock1 =3D (struct lock_instance *) 0xc066c1bc
> =09lock2 =3D (struct lock_instance *) 0x0
> =09class =3D (struct lock_class *) 0xc062045c
> =09w =3D (struct witness *) 0xc06488d0
> =09w1 =3D (struct witness *) 0xc0649ac8
> =09td =3D (struct thread *) 0xc066c1bc
> =09i =3D -1
> =09j =3D 0
> =09__func__ =3D "witness_checkorder"
> ---Type <return> to continue, or q <return> to quit---
> #35 0xc048a5fa in _mtx_lock_flags (m=3D0xc14c7264, opts=3D0,
>     file=3D0xc06fd7ad "/usr/src/sys/modules/fxp/../../dev/fxp/if_fxp.c",
>     line=3D1233) at /usr/src/sys/kern/kern_mutex.c:271
> No locals.
> #36 0xc06fadb7 in ?? ()
> No symbol table info available.
> #37 0xc14c7264 in ?? ()
> No symbol table info available.
> #38 0x00000000 in ?? ()
> No symbol table info available.
> #39 0xc06fd7ad in ?? ()
> No symbol table info available.
> #40 0x000004d1 in ?? ()
> No symbol table info available.
> #41 0xc14c7000 in ?? ()
> No symbol table info available.
> #42 0xc14c7000 in ?? ()
> No symbol table info available.
> #43 0xc9ba6a38 in ?? ()
> No symbol table info available.
> #44 0xc050aa39 in if_start (ifp=3D0xc14c7264) at /usr/src/sys/net/if.c:19=
53
> No locals.
> Previous frame identical to this frame (corrupt stack?)
> (kgdb) q
>
> System:
>
> FreeBSD 5.4-STABLE #1: Sun Apr  3 22:31:40 CEST 2005     root@82-168-75-1=
55-bbxl.xdsl.tiscali.nl:/usr/obj/usr/src/sys/RENE
>
> World/kernel is built with -O2 -pipe, hence the partial stack backtrace.
>
> Config:
> --------------------------
> ident=09RENE
> makeoptions=09DEBUG=3D-g
>
> machine=09i386
> cpu=09I686_CPU
> options=09CPU_FASTER_5X86_FPU
> options=09CLK_USE_I8254_CALIBRATION
>
> device=09apic
>
> options SCHED_4BSD
>
> options=09KDB
> options=09KDB_TRACE
> options=09DDB
> options=09DDB_NUMSYM
> options=09WITNESS
> options=09WITNESS_SKIPSPIN
> options=09WITNESS_KDB
> options=09INVARIANTS
> options=09INVARIANT_SUPPORT
>
> options=09PREEMPTION
> options=09ADAPTIVE_GIANT
>
> options=09INET
> options=09INET6
>
> options=09FFS
> options=09SOFTUPDATES
> options=09UFS_ACL
> options=09UFS_DIRHASH
>
> options=09COMPAT_FREEBSD4
> options=09COMPAT_43
>
> options=09KTRACE
>
> options=09PQ_CACHESIZE=3D32
>
> options=09_KPOSIX_PRIORITY_SCHEDULING
>
> device=09isa
> device=09pci
>
> device=09ata
> device=09atadisk
> device=09atapicd
>
> device=09atkbdc
> device=09atkbd
> options=09KBD_INSTALL_CDEV
>
> device=09psm
> device=09sc
> options=09SC_TWOBUTTON_MOUSE
>
> device=09vga
> options=09FB_INSTALL_CDEV
>
> device=09npx
>
> options=09DEVICE_POLLING
> options=09HZ=3D1000
>
> device=09loop
> device=09ether
> device=09pty
> device=09bpf
>
> device=09splash
>
> device=09pmtimer
> -------------------
>
> Regards,
> Rene
>

--=20
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org



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