From owner-freebsd-current@FreeBSD.ORG Sat May 19 16:19:04 2007 Return-Path: X-Original-To: freebsd-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 661B116A468 for ; Sat, 19 May 2007 16:19:04 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.freebsd.org (Postfix) with ESMTP id 190E613C448 for ; Sat, 19 May 2007 16:19:04 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from doc.sem.ipt.ru ([192.168.12.1] helo=ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1HpRe3-0000Px-2C for freebsd-current@freebsd.org; Sat, 19 May 2007 20:19:03 +0400 Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1HpRf4-0009Ic-13 for freebsd-current@freebsd.org; Sat, 19 May 2007 20:20:06 +0400 To: freebsd-current@freebsd.org From: Boris Samorodov References: <9FC464A4-4405-4C10-A7CB-0A424EA4EAD3@blyon.com> <4641542A.7030203@samsco.org> Date: Sat, 19 May 2007 20:20:06 +0400 Message-ID: <11042281@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Boris Samorodov] Re: Functional RAID controller? 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: Sat, 19 May 2007 16:19:04 -0000 [re-post to the list] Hi Scott, All! On Tue, 08 May 2007 22:55:06 -0600 Scott Long wrote: > I have a pretty good idea of what is wrong, and it's partially my fault. > A quick work-around would be to edit /sys/dev/twa/tw_osl_freebsd.c and > remove the INTR_MPSAFE flag as so: I have today's current (with sys/cam/cam_xpt.c 1.187): ----- FreeBSD 7.0-CURRENT #0: Thu May 17 16:56:58 MSD 2007 bsam@tinderbox.amd64.ipt.ru:/usr/obj/usr/src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU E5335 @ 2.00GHz (2000.01-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x6f7 Stepping = 7 Features=0xbfebfbff Features2=0x4e33d,DCA> AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 4 usable memory = 8576622592 (8179 MB) avail memory = 8289337344 (7905 MB) FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs ... 3ware device driver for 9000 series storage controllers, version: 3.70.03.006 twa0: <3ware 9000 series Storage Controller> port 0x3000-0x30ff mem 0xd8000000-0xd9ffffff,0xda300000-0xda300fff irq 16 at device 0.0 on pci8 twa0: [FILTER] twa0: INFO: (0x04: 0x0053): Battery capacity test is overdue: twa0: INFO: (0x15: 0x1300): Controller details:: Model 9650SE-8LPML, 8 ports, Firmware FE9X 3.06.00.005, BIOS BE9X 3.06.00.002 ... panic: blockable sleep lock (sleep mutex) CAM SIMQ lock @ /usr/src/sys/cam/cam_xpt.c:4847 cpuid = 0 KDB: enter: panic [thread pid 17 tid 100007 ] Stopped at kdb_enter+0x2f: nop db> where Tracing pid 17 tid 100007 td 0xffffff021eeaa540 kdb_enter() at kdb_enter+0x2f panic() at panic+0x225 witness_checkorder() at witness_checkorder+0x5db _mtx_lock_flags() at _mtx_lock_flags+0x75 xpt_done() at xpt_done+0xca tw_osl_complete_io() at tw_osl_complete_io+0x10c tw_cli_complete_io() at tw_cli_complete_io+0x80 tw_cli_process_complete_queue() at tw_cli_process_complete_queue+0xa3 tw_cli_process_resp_intr() at tw_cli_process_resp_intr+0x1e3 twa_pci_intr_fast() at twa_pci_intr_fast+0x2b intr_execute_handlers() at intr_execute_handlers+0x126 Xapic_isr1() at Xapic_isr1+0x7f --- interrupt, rip = 0xffffffff8065a9b6, rsp = 0xffffffffac2a7be0, rbp = 0xffffffffac2a7bf0 --- acpi_cpu_c1() at acpi_cpu_c1+0x6 acpi_cpu_idle() at acpi_cpu_idle+0x1a0 sched_idletd() at sched_idletd+0x35 fork_exit() at fork_exit+0xaa fork_trampoline() at fork_trampoline+0xe --- trap 0, rip = 0, rsp = 0xffffffffac2a7d30, rbp = 0 --- db> ----- Is that a known problem you are working on? If it may help I can arrange an access to comconsole on that server. Thanks! WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve