From owner-freebsd-current@FreeBSD.ORG Thu Aug 5 22:01:25 2004 Return-Path: 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 3743316A507 for ; Thu, 5 Aug 2004 22:01:25 +0000 (GMT) Received: from mail1.speakeasy.net (mail1.speakeasy.net [216.254.0.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6D1D43D2D for ; Thu, 5 Aug 2004 22:01:24 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 9355 invoked from network); 5 Aug 2004 22:01:24 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 5 Aug 2004 22:01:24 -0000 Received: from 10.50.40.208 (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i75M0vUZ044456; Thu, 5 Aug 2004 18:01:12 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-current@FreeBSD.org, robert@mpe.mpg.de Date: Thu, 5 Aug 2004 17:50:51 -0400 User-Agent: KMail/1.6 References: <200408021427.i72ERsg6056692@robert2.mpe-garching.mpg.de> In-Reply-To: <200408021427.i72ERsg6056692@robert2.mpe-garching.mpg.de> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200408051750.51484.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx Subject: Re: kernel panic when accessing digi serial multi io. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2004 22:01:25 -0000 On Monday 02 August 2004 10:27 am, Klaus Robert Suetterlin wrote: > Dear all, > > I use a Digi Xem (16 serial ports) with FreeBSD Current. > > geclab2# kldload digi > digi0 mem 0xb0800000-0xb0bfffff irq 30 at device 4.0 on pci0 > digi0: Digiboard PCI PC/Xem ASIC, 16 ports found > > This worked ok until I updated last week. > > geclab2# uname -a > FreeBSD geclab2.cips.mpg.de 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Thu Jul 29 > 17:14:49 CEST 2004 krs@geclab2.cips.mpg.de:/usr/obj/usr/src/sys/GECLAB2 > i386 > > Now every time I access any serial port on the digi I get a kernel > panic. My normal (sio0, sio1) serial ports work ok. It's not > always the same panic but always about mutexes or Giant etc. Here > is one as an example: > > geclab2# cu -l /dev/ttyD0.2 > panicpanic: process 530(cu):2 holds Giant but isn't blocked on a lock > > KDB: enter: panic > [thread 100006] > Stopped at kdb_enter+0x2b: nop > db> where > kdb_enter(c0632982) at kdb_enter+0x2b > panic(c063567d,212,c20be83c,2,c0642312) at panic+0xbb > propagate_priority(c1de3840,c068cc70,c0688aa0,c1de3840,c1dd8340) at > propagate_pr iority+0x142 > turnstile_wait(c1dd8340,c0688aa0,c20bd2c0,c0688aa0,2,c0631d0e,212) at > turnstile_ wait+0x2de > _mtx_lock_sleep(c0688aa0,0,c06302e4,21f) at _mtx_lock_sleep+0x11b > _mtx_lock_flags(c0688aa0,0,c06302e4,21f) at _mtx_lock_flags+0x83 > ithread_loop(c1de0b80,d8f6bd48,c1de0b80,c04ae198,0) at ithread_loop+0x11c > fork_exit(c04ae198,c1de0b80,d8f6bd48) at fork_exit+0xa4 > fork_trampoline() at fork_trampoline+0x8 > --- trap 0x1, eip = 0, esp = 0xd8f6bd7c, ebp = 0 --- Do you have an SMP machine? If so, does adding 'options NO_ADAPTIVE_MUTEXES' to your kernel fix the panic? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org