From owner-freebsd-current@FreeBSD.ORG Mon Sep 12 05:27:02 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25D0716A41F for ; Mon, 12 Sep 2005 05:27:02 +0000 (GMT) (envelope-from minimarmot@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 644A543D46 for ; Mon, 12 Sep 2005 05:27:01 +0000 (GMT) (envelope-from minimarmot@gmail.com) Received: by xproxy.gmail.com with SMTP id i27so1824211wxd for ; Sun, 11 Sep 2005 22:27:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=HnJEG+z95Vawo/xZffZjLtNtNpnaQPGmou/gSpw6QsAJ/7QOx+lfoNnCJcnOAfTbjt3avyThL8Zz9AnRxi5xyPZOSx481gqEKj0x/9QxJHEU3eFUSXN4Xc6dgmdgK+ieuz/NSEoNz2G6aphHfbVK84/4n4eJh7gbs1dbRHnf0ys= Received: by 10.70.49.11 with SMTP id w11mr107944wxw; Sun, 11 Sep 2005 22:27:00 -0700 (PDT) Received: by 10.70.9.2 with HTTP; Sun, 11 Sep 2005 22:27:00 -0700 (PDT) Message-ID: <47d0403c05091122276fd0a231@mail.gmail.com> Date: Mon, 12 Sep 2005 05:27:00 +0000 From: Ben Kaduk To: pyunyh@gmail.com In-Reply-To: <20050912044212.GC5182@rndsoft.co.kr> Mime-Version: 1.0 References: <47d0403c05091121047a037946@mail.gmail.com> <20050912044212.GC5182@rndsoft.co.kr> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Re: panic upon kldunload snd_ich (lor # 159) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: minimarmot@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 05:27:02 -0000 On 9/12/05, Pyun YongHyeon wrote: >=20 > On Mon, Sep 12, 2005 at 04:04:48AM +0000, Ben Kaduk wrote: > > Hi everyone, > > > > I see that this panic is caused by lor #159 > > http://sources.zabbadoz.net/freebsd/lor.html#159 > > but I figured I'd report it to see if it will help anyone > > > > Booting to single user and issuing: > > # kldload snd_ich > > # kldunload snd_ich > > > > are sufficient to trigger the panic on my system. I know that Alexander > > Leidinger has recently committed some bits to current in the sound code= ,=20 > but > > it is unclear if it will fix my panic; I'm currently cvsup-ing and=20 > building > > world to find out. > > > > The machine in question is: > > > > bash-2.05b$ uname -a > > FreeBSD prolepsis.math.uiuc.edu < > http://prolepsis.math.uiuc.edu> > > 7.0-CURRENTFreeBSD > > 7.0-CURRENT #9: Thu Aug 25 06:22:00 UTC 2005 > > kaduk@prolepsis.math.uiuc.edu:/usr/obj/usr/src/sys/PROLEPSIS > > i386 > > > > As shown below, I have a core to play with, so if this needs fixing,=20 > tell me > > what I can do to help. > > > I think the LOR you seen is not cause of panic. As you've got core, would > you please give us full back-trace with symbol information? > See=20 > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kern= eldebug-kld.htmlfor more datils. > And make sure to rebuild sound driver module with debugging information= =20 > too. > -- > Regards, > Pyun YongHyeon >=20 (sorry if this double-sent; gmail timed out) Thanks for the link, Pyun. I think I found the right snd_ich.ko.debug=20 (luckily I got this before my buildworld finished and I nuked the old=20 modules), and this is all I can get: (kgdb) bt full #0 doadump () at pcpu.h:165 No locals. #1 0xc04492fa in db_fncall (dummy1=3D0, dummy2=3D0, dummy3=3D1999, dummy4=3D0xef8fca38 " Tt=C0") at /usr/src/sys/ddb/db_command.c:486 fn_addr =3D -1068258876 args =3D {0, -275789308, -1066987413, -1065742880, 28, -275789308, -1069241393, 32, -1066323808, 2} nargs =3D 0 retval =3D 544870080 t =3D 0 #2 0xc04490a4 in db_command (last_cmdp=3D0xc0744b24, cmd_table=3D0x0, aux_cmd_tablep=3D0xc070d9e4, aux_cmd_tablep_end=3D0xc070d9e8) at /usr/src/sys/ddb/db_command.c:401 cmd =3D (struct command *) 0xc0713220 t =3D 0 modif =3D "=20 Tt=C0\000\000\000\000T=CA\217=EF\r\000\000\000=E0>{=C0\r\000\000\000\001\00= 0\000\000t=CA\217=EF\026=F0h=C0=E0\rz=C0\aK\000 d?{=C0 \206y=C0 Tt=C0x\000\000\000=20 Tt=C0\000\000\000\000\230=CA\217=EF\037=B4D=C0Y=A7n=C0=D8=B0D=C0\000\000\00= 0\000\020\000\000\000\000\000\000\000 Tt=C0=E0=A7D=C0 Tt=C0=D8Kt=C0x\000\000\000=FC=CA\217=EF" addr =3D 0 count =3D 1999 have_addr =3D 0 result =3D 0 ---Type to continue, or q to quit--- #3 0xc0449195 in db_command_loop () at /usr/src/sys/ddb/db_command.c:452 No locals. #4 0xc044b039 in db_trap (type=3D3, code=3D0) at /usr/src/sys/ddb/db_main.c= :221 jb =3D {{_jb =3D {-275789060, -275789088, -275789008, -1025104320, 0, -1069240360, 0, 0, 0, 0, -275789008, -1068140841}}} prev_jb =3D (void *) 0x0 bkpt =3D 0 #5 0xc055775c in kdb_trap (type=3D0, code=3D0, tf=3D0xef8fcb84) at /usr/src/sys/kern/subr_kdb.c:473 handled =3D -275788924 #6 0xc06adfea in trap (frame=3D {tf_fs =3D -1066532856, tf_es =3D 40, tf_ds =3D -275840984, tf_edi =3D 1, t= f_esi =3D=20 -1066488724, tf_ebp =3D -275788852, tf_isp =3D -275788880, tf_ebx =3D -2757= 88796,=20 tf_edx =3D 1, tf_ecx =3D -1052684288, tf_eax =3D 18, tf_trapno =3D 3, tf_er= r =3D 0,=20 tf_eip =3D -1068141358, tf_cs =3D 32, tf_eflags =3D 646, tf_esp =3D -106648= 1942,=20 tf_ss =3D -1066490330}) at /usr/src/sys/i386/i386/trap.c:601 td =3D (struct thread *) 0xc2e62640 p =3D (struct proc *) 0xc2e61c48 sticks =3D 3226793233 i =3D 0 ucode =3D 0 type =3D 3 code =3D 0 ---Type to continue, or q to quit--- eva =3D 0 #7 0xc069c18a in calltrap () at /usr/src/sys/i386/i386/exception.s:139 No locals. #8 0xc06e0008 in ?? () No symbol table info available. #9 0x00000028 in ?? () No symbol table info available. #10 0xef8f0028 in ?? () No symbol table info available. #11 0x00000001 in ?? () No symbol table info available. #12 0xc06eac6c in ?? () No symbol table info available. #13 0xef8fcbcc in ?? () No symbol table info available. #14 0xef8fcbb0 in ?? () No symbol table info available. #15 0xef8fcc04 in ?? () No symbol table info available. #16 0x00000001 in ?? () No symbol table info available. #17 0xc1415000 in ?? () No symbol table info available. ---Type to continue, or q to quit--- #18 0x00000012 in ?? () No symbol table info available. #19 0x00000003 in ?? () No symbol table info available. #20 0x00000000 in ?? () No symbol table info available. #21 0xc05574d2 in kdb_enter (msg=3D0x0) at cpufunc.h:60 No locals. #22 0xc053b25c in panic (fmt=3D0xc06eac6c "%s (%s): holders or waiters\n") at /usr/src/sys/kern/kern_shutdown.c:537 td =3D (struct thread *) 0xc2e62640 bootopt =3D 256 newpanic =3D 1 ap =3D 0xef8fcc04 "=B6\232l=C0=CFm=DB=C2 =A5=DB=C2$=CC\217=EF=DB*=DB=C2 =BD= =DB=C2=D7m=DB=C2g\001" buf =3D "sx_destroy (sndstat): holders or waiters\n", '\0' #23 0xc05412e2 in sx_destroy (sx=3D0xc2dbbda0) at=20 /usr/src/sys/kern/kern_sx.c:96 __func__ =3D "sx_destroy" #24 0xc2db2adb in ?? () No symbol table info available. #25 0xc2dbbda0 in ?? () No symbol table info available. #26 0xc2db6dd7 in ?? () ---Type to continue, or q to quit--- No symbol table info available. #27 0x00000167 in ?? () No symbol table info available. #28 0xef8fcc50 in ?? () No symbol table info available. #29 0xc052ad83 in linker_file_sysuninit (lf=3D0x0) at /usr/src/sys/kern/kern_linker.c:238 start =3D (struct sysinit **) 0xc2db2adb stop =3D (struct sysinit **) 0xc2dbbda0 sipp =3D (struct sysinit **) 0xc2db74c8 xipp =3D (struct sysinit **) 0x0 save =3D (struct sysinit *) 0x0 hope this helps; I should be able to get back with info about today's=20 current tomorrow night. Ben Kaduk