From owner-freebsd-current@FreeBSD.ORG Fri Apr 13 18:22:34 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7253B16A400 for ; Fri, 13 Apr 2007 18:22:34 +0000 (UTC) (envelope-from aradford@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 2114913C44B for ; Fri, 13 Apr 2007 18:22:33 +0000 (UTC) (envelope-from aradford@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1040316ana for ; Fri, 13 Apr 2007 11:22:33 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Yp4R0veMZZ9gzhEmgcTzCR35uzvWeJzY6F5RiJVuuZsY5pAj1XS5bGFrYIU6KXEUA2P7fwtRfsd25YKLtrUpEU7yXqBz3QpXmjkSh5U+cQFsx6WAKdI/WF+96lsvRAbAk7eTc4DuVgiYuMfCKVG2tajFsafYqT+nbmR28zABF6Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VBxiGWtv+V0Ia2Lust61k5wLlmxuFA9JRNXu8NlvLcicgH8SxQZRvT9ta5a0MXS+g5j9o/RMGemUwMxuKMjaIjlgSahcldLUoy/9TN5ggVnVPNx5wAiysAHA9D6mfosY03BZxdX3eG7LOcrp97zJpLf4I5CxxgLaR/ID6TbSLQk= Received: by 10.100.91.6 with SMTP id o6mr2694145anb.1176486892306; Fri, 13 Apr 2007 10:54:52 -0700 (PDT) Received: by 10.100.208.6 with HTTP; Fri, 13 Apr 2007 10:54:52 -0700 (PDT) Message-ID: Date: Fri, 13 Apr 2007 10:54:52 -0700 From: "adam radford" To: "Eugene M. Kim" In-Reply-To: <461E557C.909@white.lv> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <461E557C.909@white.lv> Cc: current@freebsd.org Subject: Re: twa(4) panics upon load X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 13 Apr 2007 18:22:34 -0000 The un-necessary deferred interrupt support is causing this issue. Try going into tw_osl.h, and comment out the line: #define TW_OSLI_DEFERRED_INTR_USED -Adam On 4/12/07, Eugene M. Kim wrote: > Greetings, > > The -current kernel as of 2007-04-12T00:13Z panics upon loading twa.ko. > > The complete dmesg output is at: > http://purple.the-7.net/~ab/Temporary/5SbuuuG9D5/twa-dmesg-20070412.txt; > following is the panic message: > > 3ware device driver for 9000 series storage controllers, version: 3.70.02.012 > twa0: <3ware 9000 series Storage Controller> port 0x3000-0x303f mem 0xb2000000-0xb3ffffff,0xb0300000-0xb0300fff irq 48 at device 1.0 on pci4 > twa0: [FILTER] > twa0: INFO: (0x15: 0x1300): Controller details:: Model 9550SX-8LP, 8 ports, Firmware FE9X 3.04.00.005, BIOS BE9X 3.04.00.002 > panic: blockable sleep lock (sleep mutex) CAM BIOQ lock @ /home/FreeBSD/build/MAIN/src/sys/cam/cam_xpt.c:4913 > cpuid = 0 > KDB: stack backtrace: > db_trace_self_wrapper(c0639600) at db_trace_self_wrapper+0x25 > kdb_backtrace(100,c4d29a20,c4d29a20,c0692e4c,9,...) at kdb_backtrace+0x29 > panic(c063b598,c0654b13,c0626612,c06265c2,1331,...) at panic+0x109 > witness_checkorder(c0692e4c,9,c06265c2,1331) at witness_checkorder+0xb8 > _mtx_lock_flags(c0692e4c,0,c06265c2,1331) at _mtx_lock_flags+0x84 > xpt_done(c50fe400,c5321038,c5314000,c531428c,c5321038,...) at xpt_done+0x36 > tw_osl_complete_io(c5321000,c531428c,c5314000,c5314040,e38a8c18,...) at tw_osl_complete_io+0xdd > tw_cli_complete_io(c531428c,16004070,0,c5314000,e38a8c40,...) at tw_cli_complete_io+0x61 > tw_cli_process_complete_queue(c5314000,c53140cc,0,c52ef5d0,152,...) at tw_cli_process_complete_queue+0x84 > tw_cli_process_resp_intr(c5314000,c511d740,e38a8c70,c05f8c51,c519b800,...) at tw_cli_process_resp_intr+0x19e > twa_pci_intr_fast(c519b800) at twa_pci_intr_fast+0x24 > intr_execute_handlers(c4d1c43c,e38a8c94,30,e38a8cd4,c05f4824,...) at intr_execute_handlers+0xd9 > lapic_handle_intr(3b,e38a8c94) at lapic_handle_intr+0x2f > Xapic_isr1() at Xapic_isr1+0x34 > --- interrupt, eip = 0xc099109d, esp = 0xe38a8cd4, ebp = 0xe38a8cd4 --- > acpi_cpu_c1(c06a7a10,c04c2844,e38a8cf4,c04c2844,c04c2844,...) at acpi_cpu_c1+0x5 > acpi_cpu_idle(e38a8d04,c04c286d,e38a8d24,c0495818,0,...) at acpi_cpu_idle+0x14e > cpu_idle(e38a8d24,c0495818,0,e38a8d38,c4d286c0,...) at cpu_idle+0x28 > sched_idletd(0,e38a8d38) at sched_idletd+0x29 > fork_exit(c04c2844,0,e38a8d38) at fork_exit+0xac > fork_trampoline() at fork_trampoline+0x8 > --- trap 0, eip = 0, esp = 0xe38a8d70, ebp = 0 --- > Uptime: 29s > Physical memory: 2038 MB > Dumping 61 MB: 46 30 14 > > > Cheers, > Eugene > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >