From owner-freebsd-stable@FreeBSD.ORG Sun Mar 9 10:19:05 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D06651065670 for ; Sun, 9 Mar 2008 10:19:05 +0000 (UTC) (envelope-from window@ttk.ru) Received: from mail.ttk.ru (mail.ttk.ru [82.138.20.133]) by mx1.freebsd.org (Postfix) with ESMTP id 87F098FC1A for ; Sun, 9 Mar 2008 10:19:05 +0000 (UTC) (envelope-from window@ttk.ru) Received: from mail.ttk.ru (localhost.ttk.ru [127.0.0.1]) by mail.ttk.ru (Postfix) with ESMTP id 8C0991B28C4 for ; Sun, 9 Mar 2008 12:59:08 +0300 (MSK) Received: from [10.10.10.3] (window.ttk.ru [82.138.24.32]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ttk.ru (Postfix) with ESMTP id 710951B0542 for ; Sun, 9 Mar 2008 12:59:08 +0300 (MSK) From: Oleg Sidorkin Organization: ttk.ru To: freebsd-stable@freebsd.org Date: Sun, 9 Mar 2008 12:56:26 +0300 User-Agent: KMail/1.9.7 References: <200803080201.51851.window@ttk.ru> <20080308112129.GW57756@deviant.kiev.zoral.com.ua> In-Reply-To: <20080308112129.GW57756@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803091256.26279.window@ttk.ru> X-Virus-Scanned: Onyx-2 Subject: Re: [Panic] Removing of the Palm during select syscall causes panic X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Mar 2008 10:19:05 -0000 On Sat, Mar 08, 2008, Kostik Belousov wrote: > On Sat, Mar 08, 2008 at 02:01:51AM +0300, Oleg Sidorkin wrote: > > Hello, > > > > I'm running 7.0-Stable on the ASUS P5K-VM + Intel Q6600 box. > > If Palm device is disconnected after synchronization, system crashes with > > following stacktrace: > > > > #0 doadump () at pcpu.h:194 > > #1 0x0000000000000004 in ?? () > > #2 0xffffffff802bea49 in boot (howto=260) > > at /usr/src/sys/kern/kern_shutdown.c:409 > > #3 0xffffffff802bee4d in panic (fmt=0x104
) > > at /usr/src/sys/kern/kern_shutdown.c:563 > > #4 0xffffffff804ccc84 in trap_fatal (frame=0xffffff0041595350, > > eva=18446742974491038824) at /usr/src/sys/amd64/amd64/trap.c:724 > > #5 0xffffffff804cd055 in trap_pfault (frame=0xffffffffaf7607d0, > > usermode=0) at /usr/src/sys/amd64/amd64/trap.c:641 > > #6 0xffffffff804cd998 in trap (frame=0xffffffffaf7607d0) > > at /usr/src/sys/amd64/amd64/trap.c:410 > > #7 0xffffffff804b35fe in calltrap () > > at /usr/src/sys/amd64/amd64/exception.S:169 > > #8 0xffffffff8028d842 in giant_poll (dev=0xffffff000ddf6600, events=64, > > td=0xffffff0041595350) at /usr/src/sys/kern/kern_conf.c:385 > > #9 0xffffffff8025474e in devfs_poll_f (fp=Variable "fp" is not > > available. ) at /usr/src/sys/fs/devfs/devfs_vnops.c:845 > > #10 0xffffffff802f61f6 in kern_select (td=0xffffff0041595350, nd=11, > > fd_in=0x7fffffbfea90, fd_ou=0x0, fd_ex=0x0, tvp=Variable "tvp" is not > > available. > > ) at file.h:277 > > #11 0xffffffff802f6611 in select (td=0xffffff0041595350, > > uap=0xffffffffaf760be0) at /usr/src/sys/kern/sys_generic.c:663 > > #12 0xffffffff804cd2d7 in syscall (frame=0xffffffffaf760c70) > > at /usr/src/sys/amd64/amd64/trap.c:852 > > #13 0xffffffff804b380b in Xfast_syscall ()stable@freebsd.org > > at /usr/src/sys/amd64/amd64/exception.S:290 > > #14 0x0000000804579d6c in ?? () > > Previous frame inner to this frame (corrupt stack?) > > > > Does anyone have any ideas? > > I posted the patch several days ago, see > http://lists.freebsd.org/pipermail/freebsd-current/2008-March/084076.html I applied this patch and it seems working for me. I removed device few times and there were no panics. Thanks.