From owner-freebsd-scsi@FreeBSD.ORG Sun Mar 11 10:13:57 2012 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E1CD3106564A for ; Sun, 11 Mar 2012 10:13:57 +0000 (UTC) (envelope-from timp87@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5E1AB8FC15 for ; Sun, 11 Mar 2012 10:13:56 +0000 (UTC) Received: by lagv3 with SMTP id v3so3886067lag.13 for ; Sun, 11 Mar 2012 03:13:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=YlymJSUBGZ1rCfmZZsKRQzADwWw5nnAd3vl6JLD/5kc=; b=JGQhknUThgF8V9trei96iLBZU43oe2yR5eVWHAwiDNmhky2pXJTPMq9x+YA1tVs9ic SSytDe6I9OQeHMPWQoZwWuCI7inZanGaZKRiE83wo+qa0YQGAALBSJ2QSxN5Zh3ptBb+ hvALpyIJqn7L4pq7JrAINtOobmqElHCa20NURS5XzrCE01ogRqe3IoxwPwPTzO/V/BeM +x9Aj1buLnHsTNtJvnR9NwNbfMGMyrh1y8tcXsoEKCmRVTYVpHK323ST2iFLJRHbFXyC oxtkIhbXgLt43D+tNdpHQLI6HZejT20EViswI1whI5E1ZNvOJMEV5JPmYvNUr975P+3l vD0Q== MIME-Version: 1.0 Received: by 10.152.115.69 with SMTP id jm5mr6246788lab.25.1331460836121; Sun, 11 Mar 2012 03:13:56 -0700 (PDT) Received: by 10.152.21.199 with HTTP; Sun, 11 Mar 2012 03:13:55 -0700 (PDT) In-Reply-To: <1331228625.3075.11.camel@powernoodle-l7.corp.yahoo.com> References: <20120305184313.GA3215@laptop.levsha.me> <20120307223959.GA39737@nargothrond.kdm.org> <1331188031232-5546565.post@n5.nabble.com> <1331228625.3075.11.camel@powernoodle-l7.corp.yahoo.com> Date: Sun, 11 Mar 2012 14:13:55 +0400 Message-ID: From: Pavel Timofeev To: Sean Bruno Content-Type: multipart/mixed; boundary=f46d04088ee12b5b3504baf4e2e1 Cc: "freebsd-scsi@freebsd.org" Subject: Re: Can't load mps as module with custom kernel X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Mar 2012 10:13:58 -0000 --f46d04088ee12b5b3504baf4e2e1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I have made and tested attached patch. It works for me, the problem messages has gone. But one problem is still here: link_elf_obj: symbol firmware_get undefined KLD file isp.ko - could not finalize loading I have poor C programming skill and don't know how can I resolve this bug. Please, help: is patch correct? and how can we resolve isp bug message? 8 =D0=BC=D0=B0=D1=80=D1=82=D0=B0 2012=C2=A0=D0=B3. 21:43 =D0=BF=D0=BE=D0=BB= =D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C Sean Bruno =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > On Wed, 2012-03-07 at 22:27 -0800, timp wrote: >> >> I'm sorry, but what about similar bugs in hptiop, isp and hptmv? > > If you have time, and the patience, can you generate patches for this, > test and submit them? =C2=A0There's a few commiters that pay attention to > this list and were more than happy to review/commit appropriate patches. > > Sean > --f46d04088ee12b5b3504baf4e2e1 Content-Type: application/octet-stream; name=patch Content-Disposition: attachment; filename=patch Content-Transfer-Encoding: base64 X-Attachment-Id: f_gznx3dbr0 LS0tIC9zeXMvZGV2L2lzcC9pc3BfcGNpLmMJMjAxMS0xMS0xNiAwNjo1MjoyNC4wMDAwMDAwMDAg KzA0MDAKKysrIC4vaXNwL2lzcF9wY2kuYwkyMDEyLTAzLTExIDE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IAogc3RhdGljIGludCBo cHRpb3BfcHJvYmUoZGV2aWNlX3QgZGV2KQogewotLS0gL3N5cy9kZXYvaHB0bXYvZW50cnkuYwky MDExLTExLTI0IDAxOjQzOjUxLjAwMDAwMDAwMCArMDQwMAorKysgLi9ocHRtdi9lbnRyeS5jCTIw MTItMDMtMTEgMTM6MTU6MTQuMDAwMDAwMDAwICswNDAwCkBAIC0xMDgsNiArMTA4LDcgQEAKIAog I2RlZmluZSBfX0RSSVZFUl9NT0RVTEUocDEsIHAyLCBwMywgcDQsIHA1LCBwNikgRFJJVkVSX01P RFVMRShwMSwgcDIsIHAzLCBwNCwgcDUsIHA2KQogX19EUklWRVJfTU9EVUxFKFBST0NfRElSX05B TUUsIHBjaSwgaHB0X3BjaV9kcml2ZXIsIGhwdF9kZXZjbGFzcywgMCwgMCk7CitNT0RVTEVfREVQ RU5EKFBST0NfRElSX05BTUUsIGNhbSwgMSwgMSwgMSk7IAogCiAjZGVmaW5lIGNjYl9jY2JfcHRy IHNwcml2X3B0cjAKICNkZWZpbmUgY2NiX2FkYXB0ZXIgY2NiX2guc3ByaXZfcHRyMQo= --f46d04088ee12b5b3504baf4e2e1-- From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 12 00:21:23 2012 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 45C2A106566C for ; Mon, 12 Mar 2012 00:21:23 +0000 (UTC) (envelope-from jwd@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1741C8FC19; Mon, 12 Mar 2012 00:21:23 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2C0LMwj044227; Mon, 12 Mar 2012 00:21:22 GMT (envelope-from jwd@freefall.freebsd.org) Received: (from jwd@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2C0LMOE044226; Mon, 12 Mar 2012 00:21:22 GMT (envelope-from jwd) Date: Mon, 12 Mar 2012 00:21:22 +0000 From: John To: "freebsd-scsi @ freebsd. org" Message-ID: <20120312002122.GA95330@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: aoyama@peach.ne.jp Subject: istgt does not appear to shut down cleanly X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2012 00:21:23 -0000 Hi Folks, I've been putting together a zfs server which exports zvols via istgt: #istgt -V istgt version 0.4 istgt extra version 20111008 and about a 1 month old 9-stable: 9.0-STABLE FreeBSD 9.0-STABLE #0 r231864M: Fri Feb 17 23:21:34 UTC 2012 When adding a new LUC/LUN combination, I want to terminate and then restart the daemon. However, istgt does not appear to completely exit. + /bin/ps -Ho pid,lwp,inblk,oublk,%cpu,%mem,stat,time,mwchan,xstat,command -p 18261 PID LWP INBLK OUBLK %CPU %MEM STAT TIME MWCHAN XSTAT COMMAND 18261 102021 68 5 0.0 0.0 S 0:00.01 kqread 0 istgt -c /config/pool0/istgt/test1.istgt.conf -p /config/pool0/istgt/test1.pid -D -t all 18261 102065 0 0 0.0 0.0 I 0:00.00 sigwai 0 istgt -c /config/pool0/istgt/test1.istgt.conf -p /config/pool0/istgt/test1.pid -D -t all 18261 102066 0 0 0.0 0.0 I 0:00.00 uwait 0 istgt -c /config/pool0/istgt/test1.istgt.conf -p /config/pool0/istgt/test1.pid -D -t all 18261 102067 0 0 0.0 0.0 I 0:00.00 uwait 0 istgt -c /config/pool0/istgt/test1.istgt.conf -p /config/pool0/istgt/test1.pid -D -t all 18261 102068 0 0 0.0 0.0 I 0:00.00 uwait 0 istgt -c /config/pool0/istgt/test1.istgt.conf -p /config/pool0/istgt/test1.pid -D -t all 18261 102069 0 0 0.0 0.0 I 0:00.00 uwait 0 istgt -c /config/pool0/istgt/test1.istgt.conf -p /config/pool0/istgt/test1.pid -D -t all + kill -INT 18261 I then loop waiting for the pidfile to be removed: + [ -s /config/pool0/istgt/test1.pid ] + sleep 0.1 + [ -s /config/pool0/istgt/test1.pid ] + sleep 0.1 + [ -s /config/pool0/istgt/test1.pid ] + sleep 0.1 + [ -s /config/pool0/istgt/test1.pid ] + sleep 0.1 + [ -s /config/pool0/istgt/test1.pid ] and then finally for the process to exit (it doesn't matter how long I wait), but it never does: + jot 10 + sleep 0.1 + kill -0 18261 ... + kill -0 18261 + sleep 0.1 + kill -0 18261 + /bin/ps -Ho pid,lwp,inblk,oublk,%cpu,%mem,stat,time,mwchan,xstat,command -p 18261 PID LWP INBLK OUBLK %CPU %MEM STAT TIME MWCHAN XSTAT COMMAND 18261 102021 68 5 0.0 0.0 S 0:00.01 uwait 0 istgt -c /config/pool0/istgt/test1.istgt.conf -p /config/pool0/istgt/test1.pid -D -t all 18261 102065 0 0 0.0 0.0 I 0:00.00 sigwai 0 istgt -c /config/pool0/istgt/test1.istgt.conf -p /config/pool0/istgt/test1.pid -D -t all Finally I just forcefully kill it.. + kill -9 18261 Above, the LUC threads appear to exiting, but that's all. From looking at the source: istgt_remove_pidfile(istgt); istgt_close_log(); istgt->config = NULL; istgt_free_config(config); istgt_set_state(istgt, ISTGT_STATE_SHUTDOWN); /* stop signal thread */ rc = pthread_join(sigthread, NULL); I think it's hanging on the pthread_join(). Does anyone else have any experience with this issue? Or a better way to do this? Many Thanks!! John From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 12 11:07:21 2012 Return-Path: Delivered-To: freebsd-scsi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EE5E106564A for ; Mon, 12 Mar 2012 11:07:21 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F13128FC15 for ; Mon, 12 Mar 2012 11:07:20 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2CB7KDo072462 for ; Mon, 12 Mar 2012 11:07:20 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2CB7KTI072460 for freebsd-scsi@FreeBSD.org; Mon, 12 Mar 2012 11:07:20 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 12 Mar 2012 11:07:20 GMT Message-Id: <201203121107.q2CB7KTI072460@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-scsi@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-scsi@FreeBSD.org X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2012 11:07:21 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/165740 scsi [cam] SCSI code must drain callbacks before free o kern/163713 scsi [aic7xxx] [patch] Add Adaptec29329LPE to aic79xx_pci.c o kern/162256 scsi [mpt] QUEUE FULL EVENT and 'mpt_cam_event: 0x0' o kern/161809 scsi [cam] [patch] set kern.cam.boot_delay via build option o kern/159412 scsi [ciss] 7.3 RELEASE: ciss0 ADAPTER HEARTBEAT FAILED err o kern/157770 scsi [iscsi] [panic] iscsi_initiator panic o kern/154432 scsi [xpt] run_interrupt_driven_hooks: still waiting after o kern/153514 scsi [cam] [panic] CAM related panic o kern/153361 scsi [ciss] Smart Array 5300 boot/detect drive problem o kern/152250 scsi [ciss] [patch] Kernel panic when hw.ciss.expose_hidden o kern/151564 scsi [ciss] ciss(4) should increase CISS_MAX_LOGICAL to 10 o docs/151336 scsi Missing documentation of scsi_ and ata_ functions in c s kern/149927 scsi [cam] hard drive not stopped before removing power dur o kern/148083 scsi [aac] Strange device reporting o kern/147704 scsi [mpt] sys/dev/mpt: new chip revision, partially unsupp o kern/146287 scsi [ciss] ciss(4) cannot see more than one SmartArray con o kern/145768 scsi [mpt] can't perform I/O on SAS based SAN disk in freeb o kern/144648 scsi [aac] Strange values of speed and bus width in dmesg o kern/144301 scsi [ciss] [hang] HP proliant server locks when using ciss o kern/142351 scsi [mpt] LSILogic driver performance problems o kern/134488 scsi [mpt] MPT SCSI driver probes max. 8 LUNs per device o kern/132250 scsi [ciss] ciss driver does not support more then 15 drive o kern/132206 scsi [mpt] system panics on boot when mirroring and 2nd dri o kern/130621 scsi [mpt] tranfer rate is inscrutable slow when use lsi213 o kern/129602 scsi [ahd] ahd(4) gets confused and wedges SCSI bus o kern/128452 scsi [sa] [panic] Accessing SCSI tape drive randomly crashe o kern/128245 scsi [scsi] "inquiry data fails comparison at DV1 step" [re o kern/127927 scsi [isp] isp(4) target driver crashes kernel when set up o kern/127717 scsi [ata] [patch] [request] - support write cache toggling o kern/123674 scsi [ahc] ahc driver dumping o kern/123520 scsi [ahd] unable to boot from net while using ahd o sparc/121676 scsi [iscsi] iscontrol do not connect iscsi-target on sparc o kern/120487 scsi [sg] scsi_sg incompatible with scanners o kern/120247 scsi [mpt] FreeBSD 6.3 and LSI Logic 1030 = only 3.300MB/s o kern/114597 scsi [sym] System hangs at SCSI bus reset with dual HBAs o kern/110847 scsi [ahd] Tyan U320 onboard problem with more than 3 disks o kern/99954 scsi [ahc] reading from DVD failes on 6.x [regression] o kern/92798 scsi [ahc] SCSI problem with timeouts o kern/90282 scsi [sym] SCSI bus resets cause loss of ch device o kern/76178 scsi [ahd] Problem with ahd and large SCSI Raid system o kern/74627 scsi [ahc] [hang] Adaptec 2940U2W Can't boot 5.3 s kern/61165 scsi [panic] kernel page fault after calling cam_send_ccb o kern/60641 scsi [sym] Sporadic SCSI bus resets with 53C810 under load o kern/60598 scsi wire down of scsi devices conflicts with config s kern/57398 scsi [mly] Current fails to install on mly(4) based RAID di o kern/52638 scsi [panic] SCSI U320 on SMP server won't run faster than o kern/44587 scsi dev/dpt/dpt.h is missing defines required for DPT_HAND o kern/39388 scsi ncr/sym drivers fail with 53c810 and more than 256MB m o kern/35234 scsi World access to /dev/pass? (for scanner) requires acce 49 problems total. From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 12 14:47:02 2012 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 726551065675 for ; Mon, 12 Mar 2012 14:47:02 +0000 (UTC) (envelope-from jwd@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 606368FC17; Mon, 12 Mar 2012 14:47:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2CEl2lm083423; Mon, 12 Mar 2012 14:47:02 GMT (envelope-from jwd@freefall.freebsd.org) Received: (from jwd@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2CEl172083421; Mon, 12 Mar 2012 14:47:01 GMT (envelope-from jwd) Date: Mon, 12 Mar 2012 14:47:01 +0000 From: John To: freebsd-scsi Message-ID: <20120312144701.GA74725@FreeBSD.org> References: <20120312002122.GA95330@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120312002122.GA95330@FreeBSD.org> User-Agent: Mutt/1.4.2.3i Cc: aoyama@peach.ne.jp Subject: Re: istgt does not appear to shut down cleanly X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2012 14:47:02 -0000 ----- John's Original Message ----- > Hi Folks, > > I've been putting together a zfs server which exports zvols > via istgt: > > #istgt -V > istgt version 0.4 > istgt extra version 20111008 > > and about a 1 month old 9-stable: > > 9.0-STABLE FreeBSD 9.0-STABLE #0 r231864M: Fri Feb 17 23:21:34 UTC 2012 > > When adding a new LUC/LUN combination, I want to terminate and then > restart the daemon. However, istgt does not appear to completely exit. Hi Folks, Following up on my own posting. It appears that istgt is configured to use kqueue to handle signals. However, it still pthread_create()s the signal handler thread which requires the 2nd signal to get the thread to exit cleanly. Ifdef'ing out the pthread_create() and related code seems to fix the problem. Added NOSIGTHREAD. This seems to fix things nicely. Thanks, John #diff -u istgt.c.orig istgt.c [/usr/ports/net/istgt/work/istgt-20111008/src] --- istgt.c.orig 2012-03-12 12:14:12.000000000 +0000 +++ istgt.c 2012-03-12 14:28:34.000000000 +0000 @@ -1749,6 +1758,7 @@ #endif sigaddset(&signew, ISTGT_SIGWAKEUP); pthread_sigmask(SIG_SETMASK, &signew, &sigold); +#ifdef NOSIGTHREAD #ifdef ISTGT_STACKSIZE rc = pthread_create(&sigthread, &istgt->attr, &istgt_sighandler, #else @@ -1766,8 +1776,11 @@ goto initialize_error; } #endif +#endif #ifdef HAVE_PTHREAD_SET_NAME_NP +#ifdef NOSIGTHREAD pthread_set_name_np(sigthread, "sigthread"); +#endif pthread_set_name_np(pthread_self(), "mainthread"); #endif @@ -1847,12 +1860,14 @@ istgt_free_config(config); istgt_set_state(istgt, ISTGT_STATE_SHUTDOWN); +#ifdef NOSIGTHREAD /* stop signal thread */ rc = pthread_join(sigthread, NULL); if (rc != 0) { ISTGT_ERRLOG("pthread_join() failed\n"); exit (EXIT_FAILURE); } +#endif return 0; } From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 12 19:54:47 2012 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E2B9A106564A for ; Mon, 12 Mar 2012 19:54:47 +0000 (UTC) (envelope-from ambrisko@ambrisko.com) Received: from mail.ambrisko.com (mail.ambrisko.com [70.91.206.90]) by mx1.freebsd.org (Postfix) with ESMTP id C3F688FC08 for ; Mon, 12 Mar 2012 19:54:47 +0000 (UTC) X-Ambrisko-Me: Yes Received: from server2.ambrisko.com (HELO internal.ambrisko.com) ([192.168.1.2]) by ironport.ambrisko.com with ESMTP; 12 Mar 2012 12:53:45 -0700 Received: from ambrisko.com (localhost [127.0.0.1]) by internal.ambrisko.com (8.14.4/8.14.4) with ESMTP id q2CJrd1v056149; Mon, 12 Mar 2012 12:53:39 -0700 (PDT) (envelope-from ambrisko@ambrisko.com) Received: (from ambrisko@localhost) by ambrisko.com (8.14.4/8.14.4/Submit) id q2CJrdg4056147; Mon, 12 Mar 2012 12:53:39 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <201203121953.q2CJrdg4056147@ambrisko.com> In-Reply-To: To: "bsalinux@gmail.com" Date: Mon, 12 Mar 2012 12:53:39 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL124d (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" Cc: freebsd-scsi@freebsd.org, "Desai, Kashyap" Subject: Re: IBM M1015 support X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2012 19:54:48 -0000 bsalinux@gmail.com writes: | Kashyap, | | Where can I find the current version of mfi driver from LSI? | | One of the threads pointed at | http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/4.23_FreeBSD_SAS_Driver.zip | but looks like it no longer exist. Supposedly this driver supports IBM | ServeRAID M1015. | | I looked at the downloads section on individual product pages but | couldn't find it there. | | Any help would be appreciated. | | Thanks. | | On Sun, Feb 26, 2012 at 6:57 PM, Desai, Kashyap wrote: | > YES, LSI has plan to do mfi drivers changes in order to fix basic need | > for customers. | > | > I am not sure which freebsd version will be the first one to get those | > changes in. As of now I have this much information to share so wait | > for some more time to get more info. There is the project in svn.freebsd.org base/projects/head_mfi that should support all current LSI mfi(4) based cards. We are pretty close to getting it merged in FreeBSD. There was a bug I needed to fix to not act on AEN notifications while booting and more style clean ups. It is in pretty good shape when you enable hw.mfi.msi=1. I'm going to make that the default. The driver came from LSI with a bunch more work from some FreeBSD developers to get it into a form that can be part of FreeBSD. Thanks, Doug A. From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 13 00:43:23 2012 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5EE581065673 for ; Tue, 13 Mar 2012 00:43:23 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id DBB428FC12 for ; Tue, 13 Mar 2012 00:43:22 +0000 (UTC) Received: by wern13 with SMTP id n13so2612762wer.13 for ; Mon, 12 Mar 2012 17:43:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=qisjv9+vg8jvlPwcNT02g3vkAzRyqG2B9W08ZpiCPTY=; b=R5h/j4t6g2CtQeSoFdjGaB53c9DAZR1dmrzQA1jqZimh+aAFj4BzqyL6VvZ+ol+Ndx xEepYxU52BG/TeAWCcOZM3Bf1NcKhyN3WxFHAASVPE/um+fPhkf7uZ4RDAwT6wfiWx7W a5dE1FkaBzgkhsV7Hk0Vmdh2pydve0ffQNyE0QMhN4KR8Zll1CRZFWAARCMn+VthiU2d 1I07N62Q5TANOKPdCWsgZMjC0h2viKSFRrvc67uTAl63Fovf8Ka1Eb/rRSiePnwjHucd R9vUyd3uMPHtrY/x0TrWE+/6f3NekOqsqv6r9oubIZQkwA9RMqqxi4szoeon+7wlNaXc 0eXA== MIME-Version: 1.0 Received: by 10.180.96.228 with SMTP id dv4mr349272wib.14.1331599401822; Mon, 12 Mar 2012 17:43:21 -0700 (PDT) Received: by 10.180.75.41 with HTTP; Mon, 12 Mar 2012 17:43:21 -0700 (PDT) In-Reply-To: References: <20120305184313.GA3215@laptop.levsha.me> <20120307223959.GA39737@nargothrond.kdm.org> <1331188031232-5546565.post@n5.nabble.com> <1331228625.3075.11.camel@powernoodle-l7.corp.yahoo.com> Date: Mon, 12 Mar 2012 20:43:21 -0400 Message-ID: From: Ryan Stone To: Pavel Timofeev Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-scsi@freebsd.org" , Sean Bruno Subject: Re: Can't load mps as module with custom kernel X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Mar 2012 00:43:23 -0000 On Sun, Mar 11, 2012 at 6:13 AM, Pavel Timofeev wrote: > link_elf_obj: symbol firmware_get undefined > KLD file isp.ko - could not finalize loading Hm, it seems that isp needs to MODULE_DEPEND on firmware, too: MODULE_DEPEND(isp, firmware, 1, 1, 1); From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 13 07:56:51 2012 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 00CAC1065740 for ; Tue, 13 Mar 2012 07:56:51 +0000 (UTC) (envelope-from timp87@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 673BF8FC17 for ; Tue, 13 Mar 2012 07:56:49 +0000 (UTC) Received: by lboi15 with SMTP id i15so137127lbo.13 for ; Tue, 13 Mar 2012 00:56:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=v/xfY55RvTSNsiQX+Lvn+Ahc9zugm7hlZRrnOPd8Kp8=; b=Bm/isQhadcdlXsbn/73tb8qi35J0wDOljmqnDB9CuxTFuwVse1VbPGBWq+SWURhvqs rBBU5cAT0wiTggSbabERHOs+sOrTsJHCKW3kqmMgU3KoQVAUk5tfjht8nXKWywW1GEFh D9w05xC6HNlVcL8kA8aMc0bbgNNxC1z4t8ApU2hAhrKrVID3IpyvjW1FgKRd7heJMSXv ytFPN4VJKQNH+2bXIJFLg+yEgUPTtTNz/F1upZdRvV5FraNrPNb8DrSXlVXH/ejcd/rT s5GjI5K52H7DmsVHGKCkpeghQW7NWsScHcSCuZ++oHdGHiLygqVElp6UuD6tw8soTQnR wwdw== MIME-Version: 1.0 Received: by 10.112.8.129 with SMTP id r1mr5786704lba.38.1331625408162; Tue, 13 Mar 2012 00:56:48 -0700 (PDT) Received: by 10.152.21.199 with HTTP; Tue, 13 Mar 2012 00:56:48 -0700 (PDT) In-Reply-To: References: <20120305184313.GA3215@laptop.levsha.me> <20120307223959.GA39737@nargothrond.kdm.org> <1331188031232-5546565.post@n5.nabble.com> <1331228625.3075.11.camel@powernoodle-l7.corp.yahoo.com> Date: Tue, 13 Mar 2012 11:56:48 +0400 Message-ID: From: Pavel Timofeev To: Ryan Stone Content-Type: multipart/mixed; boundary=e0cb4efe330c6d6a2a04bb1b339e Cc: "freebsd-scsi@freebsd.org" , Sean Bruno Subject: Re: Can't load mps as module with custom kernel X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Mar 2012 07:56:51 -0000 --e0cb4efe330c6d6a2a04bb1b339e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable You're right, thank you!) It's OK now. Here is a new patch. Do I need to create PR or write to this thread is enough? 13 =D0=BC=D0=B0=D1=80=D1=82=D0=B0 2012=C2=A0=D0=B3. 4:43 =D0=BF=D0=BE=D0=BB= =D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C Ryan Stone =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > On Sun, Mar 11, 2012 at 6:13 AM, Pavel Timofeev wrote: >> link_elf_obj: symbol firmware_get undefined >> KLD file isp.ko - could not finalize loading > > Hm, it seems that isp needs to MODULE_DEPEND on firmware, too: > > MODULE_DEPEND(isp, firmware, 1, 1, 1); --e0cb4efe330c6d6a2a04bb1b339e Content-Type: text/plain; charset=US-ASCII; name="patch.txt" Content-Disposition: attachment; filename="patch.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gzqnd7yv0 LS0tIC9zeXMvZGV2L2hwdGlvcC9ocHRpb3AuYwkyMDEyLTAzLTEyIDEyOjAzOjUxLjAwMDAwMDAw MCArMDQwMA0KKysrIC4vaHB0aW9wL2hwdGlvcC5jCTIwMTItMDMtMTEgMTM6MTQ6NDkuMDAwMDAw MDAwICswNDAwDQpAQCAtMTI2OCw2ICsxMjY4LDcgQEANCiB9Ow0KIA0KIERSSVZFUl9NT0RVTEUo aHB0aW9wLCBwY2ksIGhwdGlvcF9wY2lfZHJpdmVyLCBocHRpb3BfZGV2Y2xhc3MsIDAsIDApOw0K K01PRFVMRV9ERVBFTkQoaHB0aW9wLCBjYW0sIDEsIDEsIDEpOw0KIA0KIHN0YXRpYyBpbnQgaHB0 aW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X3Byb2JlKGRldmljZV90IGRldikNCi0tLSAvc3lzL2Rldi9pc3AvaXNwX3NidXMuYwky MDExLTAyLTE1IDAwOjUwOjUxLjAwMDAwMDAwMCArMDMwMA0KKysrIC4vaXNwL2lzcF9zYnVzLmMJ MjAxMi0wMy0xMyAxMToyODo0My4wMDAwMDAwMDAgKzA0MDANCkBAIC0xMDYsNiArMTA2LDggQEAN CiB9Ow0KIHN0YXRpYyBkZXZjbGFzc190IGlzcF9kZXZjbGFzczsNCiBEUklWRVJfTU9EVUxFKGlz cCwgc2J1cywgaXNwX3NidXNfZHJpdmVyLCBpc3BfZGV2Y2xhc3MsIDAsIDApOw0KK01PRFVMRV9E RVBFTkQoaXNwLCBjYW0sIDEsIDEsIDEpOw0KK01PRFVMRV9ERVBFTkQoaXNwLCBmaXJtd2FyZSwg MSwgMSwgMSk7DQogDQogc3RhdGljIGludA0KIGlzcF9zYnVzX3Byb2JlKGRldmljZV90IGRldikN Cg== --e0cb4efe330c6d6a2a04bb1b339e-- From owner-freebsd-scsi@FreeBSD.ORG Wed Mar 14 17:22:10 2012 Return-Path: Delivered-To: freebsd-scsi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D28C106566C; Wed, 14 Mar 2012 17:22:10 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E8E708FC21; Wed, 14 Mar 2012 17:22:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2EHM96m025726; Wed, 14 Mar 2012 17:22:09 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2EHM9ca025722; Wed, 14 Mar 2012 17:22:09 GMT (envelope-from linimon) Date: Wed, 14 Mar 2012 17:22:09 GMT Message-Id: <201203141722.q2EHM9ca025722@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-scsi@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/165982: [mpt] mpt instability, drive resets, and losses on FreeBSD 9-stable r232224 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2012 17:22:10 -0000 Old Synopsis: MPT instability drive resets and losses on FreeBSD 9-stable r232224 New Synopsis: [mpt] mpt instability, drive resets, and losses on FreeBSD 9-stable r232224 Responsible-Changed-From-To: freebsd-bugs->freebsd-scsi Responsible-Changed-By: linimon Responsible-Changed-When: Wed Mar 14 17:21:39 UTC 2012 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=165982 From owner-freebsd-scsi@FreeBSD.ORG Fri Mar 16 12:39:25 2012 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A5237106566B for ; Fri, 16 Mar 2012 12:39:25 +0000 (UTC) (envelope-from bo-16NG-QMBC-5XWL3P-BZ8Y2@wize1.co.uk) Received: from 105-169.mta.dotmailer.com (105-169.mta.dotmailer.com [94.143.105.169]) by mx1.freebsd.org (Postfix) with ESMTP id 2D32F8FC17 for ; Fri, 16 Mar 2012 12:39:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=dm-key1; d=wize1.co.uk; h=From:To:Subject:MIME-Version:Content-Type:Date:List-Unsubscribe:Reply-To:Message-ID; i=Insured.Ltd@wize1.co.uk; bh=c2QA4fQKlNXg0K8Tt0NTvignWVg=; b=vKsLI/8nFr1K597XzyNhSgHDIbOaMLXsWk/Smw8eKMRZ0XW0JWfqGaqMXhg0KKZGTlqEtEfx/HuO ugIciL6YXA== DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=dm-key1; d=wize1.co.uk; b=S3qHnObe+zbC/OCKr1bPmWxunRmrRctrAcKvrxvw5Oogra9Q1YY2T6iFvF5UONsN0uyxLC3jZB/K x0szPjh8Dg==; From: "Simon at Insured Ltd." To: "freebsd-scsi@freebsd.org" MIME-Version: 1.0 X-Mailer: dmDroid Date: Fri, 16 Mar 2012 12:39:18 +0000 X-CampaignID: CSRGI X-dmid: 16NG-QMBC-5XWL3P Bounces-to: bo-16NG-QMBC-5XWL3P-BZ8Y2@wize1.co.uk Message-ID: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Private Health Insurance - Can you afford to be without it? X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Simon at Insured Ltd." List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2012 12:39:25 -0000 This email was sent to you by Insured Ltd ( http://wize1.co.uk/16NG-QMBC-= 5XWL3P-A72DP-0/c.aspx ). If you are having trouble viewing this email ple= ase click here http://wize1.co.uk/16NG-QMBC-E75XWL3PA7/cr.aspx to view it= online. ( http://wize1.co.uk/16NG-QMBC-5XWL3P-A72DP-0/c.aspx ) One of our representatives is waiting for your call 0800 313 4944 Can you afford to be without Health Insurance? With the NHS waiting lists out of control and the NHS reforms causing unc= ertainty, it's no surprise millions of UK residents are protecting themse= lves with medical cover. Premiums have dropped dramatically in recent yea= rs and are now at an all time low due to increased competition. Don't let illness make you sick with worry Skip the NHS waiting times There are around 250,000 people waiting 18 weeks or more for treatment 1 Get access to high-quality facilities 400 comfortable, recognised hospitals in the UK, gyms & fitness clubs may= also be included Personalise your policy Choose from a range of private medical insurance policies designed to sui= t your requirements and budget We can save you money - here are some recent examples: Mr D Davies was paying =C2=A34000 to Saga and moved to Aviva paying =C2=A3= 2160 SAVED 46% Mrs J Foulstone was paying =C2=A32200 to Bupa and moved to Aviva paying =C2= =A31528 SAVED 30% Mr C Lowe was paying AXA =C2=A37200 and moved to Pruhealth paying =C2=A34= 866 SAVED 33% Mrs R Regan was paying AXA =C2=A32200 and moved to Pruhealth paying =C2=A3= 1668 =C2=A0 SAVED 24% Whether you have still not yet taken out Medical Cover, or wish to review= an old one =E2=80=93 let us do the hard work for you and compare the lea= ding providers ( http://wize1.co.uk/16NG-QMBC-5XWL3P-A72DQ-0/c.aspx ) for= you. ( http://wize1.co.uk/16NG-QMBC-5XWL3P-A72DQ-0/c.aspx ) ( http://wize1.co.uk/16NG-QMBC-5XWL3P-A72DR-0/c.aspx ) ( http://wize1.co.uk/16NG-QMBC-5XWL3P-A72DS-0/c.aspx ) ( http://wize1.co.uk/16NG-QMBC-5XWL3P-A72DT-0/c.aspx ) Like this email? Send it to a friend http://wize1.co.uk/16NG-QMBC-E75XWL3= PA7-0/fw.aspx. Insured Ltd registered address: First Floor Unit 4C, New Fields Business = Park, Stinsford Road, Poole, BH17 0NF. Registered in England and Wales No. 07585540. Insured Ltd is an appointed representative of Insured Health Ltd which is= authorised and regulated by the Financial Services Authority. Insured Ltd FSA registered number is 571426. This message was sent to by Insured Ltd ( http://wize1.co.uk/16NG-QMBC-5X= WL3P-A72DP-0/c.aspx ). Follow this link to Unsubscribe http://wize1.co.uk= /16NG-QMBC-E75XWL3PA7/uns.aspx.