From owner-freebsd-current@FreeBSD.ORG Mon May 21 22:37:38 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 154EB16A46D for ; Mon, 21 May 2007 22:37:38 +0000 (UTC) (envelope-from aradford@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by mx1.freebsd.org (Postfix) with ESMTP id BECE813C483 for ; Mon, 21 May 2007 22:37:37 +0000 (UTC) (envelope-from aradford@gmail.com) Received: by an-out-0708.google.com with SMTP id d23so412360and for ; Mon, 21 May 2007 15:37:37 -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=r8AiVXWElt+/xJ3zd8HcC6qYCIGbRBI1HYWn288Sua3VdFZ9UaTWtYlslfQRfSkOrqc6E8CdJLgN2CKBzwY0JdL3aIGbV1XU1WxQdZHXaBFuL3ZJauA2u7RN77i8gQs+MiJQBS8JufV1UGBeyo2jud+kHP8cM93OP2OE5LueYCk= 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=UQnQ6V6kdSlHznOP29LPXHEs/7MMAY/vooX1zKl104iRv+kBa4LplJe+bugeT+R96I+CpevZIkuKRy37QfacyscCoWO9Jz0NxBXr0ITw/BV8hnzYbzvTUP6FhEvpVUPYyxbyFBd5v0ncBTxZbD3D+U7T+DYeKYKJvd34N4+yV/I= Received: by 10.100.59.20 with SMTP id h20mr3360024ana.1179787057511; Mon, 21 May 2007 15:37:37 -0700 (PDT) Received: by 10.100.239.10 with HTTP; Mon, 21 May 2007 15:37:37 -0700 (PDT) Message-ID: Date: Mon, 21 May 2007 15:37:37 -0700 From: "adam radford" To: "Boris Samorodov" In-Reply-To: <11042281@srv.sem.ipt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9FC464A4-4405-4C10-A7CB-0A424EA4EAD3@blyon.com> <4641542A.7030203@samsco.org> <11042281@srv.sem.ipt.ru> Cc: freebsd-current@freebsd.org Subject: Re: [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: Mon, 21 May 2007 22:37:38 -0000 Boris, This should be fixed with the latest patch I sent to Scott Long to turn off deferred interrupt handling in the twa driver. CVS up until you get twa driver v3.70.03.007. -Adam On 5/19/07, Boris Samorodov wrote: > [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 > _______________________________________________ > 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" >