From owner-freebsd-scsi@FreeBSD.ORG Mon Nov 9 11:07:03 2009 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 0BB2110656A6 for ; Mon, 9 Nov 2009 11:07:03 +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 ECBD08FC2B for ; Mon, 9 Nov 2009 11:07:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA9B72TC079113 for ; Mon, 9 Nov 2009 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA9B72Hu079111 for freebsd-scsi@FreeBSD.org; Mon, 9 Nov 2009 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 9 Nov 2009 11:07:02 GMT Message-Id: <200911091107.nA9B72Hu079111@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, 09 Nov 2009 11:07:03 -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/140091 scsi [da] [patch] allow for da(4) large block transfer than o kern/138789 scsi [cam] [patch] cd(4) patch for drives/discs failing the o kern/134488 scsi [mpt] MPT SCSI driver probes max. 8 LUNs per device o amd64/132394 scsi [isp] - bad underruns with QLogic qla2300 and amd64 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/131032 scsi [panic] hald causing panic in scsi_sg o kern/130735 scsi [cam] [patch] pass M_NOWAIT to the malloc() call insid 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/126866 scsi [isp] [panic] kernel panic on card initialization o kern/124667 scsi [amd] [panic] FreeBSD-7 kernel page faults at amd-scsi o kern/123674 scsi [ahc] ahc driver dumping f kern/123666 scsi [aac] attach fails with Adaptec SAS RAID 3805 controll 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/119668 scsi [cam] [patch] certain errors are too verbose comparing 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/94838 scsi Kernel panic while mounting SD card with lock switch o 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/40895 scsi wierd kernel / device driver bug o kern/39388 scsi ncr/sym drivers fail with 53c810 and more than 256MB m o kern/38828 scsi [dpt] [request] DPT PM2012B/90 doesn't work o kern/35234 scsi World access to /dev/pass? (for scanner) requires acce 39 problems total. From owner-freebsd-scsi@FreeBSD.ORG Tue Nov 10 03:03:43 2009 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 A426A1065670; Tue, 10 Nov 2009 03:03:43 +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 7A0798FC12; Tue, 10 Nov 2009 03:03:43 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nAA33hDe011944; Tue, 10 Nov 2009 03:03:43 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nAA33hW6011940; Tue, 10 Nov 2009 03:03:43 GMT (envelope-from linimon) Date: Tue, 10 Nov 2009 03:03:43 GMT Message-Id: <200911100303.nAA33hW6011940@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-scsi@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/140438: [isp] isp(4) causes threads to hang due to callwheel bucket list corruption 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, 10 Nov 2009 03:03:43 -0000 Old Synopsis: isp(4) causes threads to hang due to callwheel bucket list corruption New Synopsis: [isp] isp(4) causes threads to hang due to callwheel bucket list corruption Responsible-Changed-From-To: freebsd-bugs->freebsd-scsi Responsible-Changed-By: linimon Responsible-Changed-When: Tue Nov 10 03:03:17 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=140438 From owner-freebsd-scsi@FreeBSD.ORG Wed Nov 11 20:50:03 2009 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 530101065692 for ; Wed, 11 Nov 2009 20:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 413C38FC1D for ; Wed, 11 Nov 2009 20:50:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nABKo2Ff040607 for ; Wed, 11 Nov 2009 20:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nABKo26o040606; Wed, 11 Nov 2009 20:50:02 GMT (envelope-from gnats) Date: Wed, 11 Nov 2009 20:50:02 GMT Message-Id: <200911112050.nABKo26o040606@freefall.freebsd.org> To: freebsd-scsi@FreeBSD.org From: Alexander Sack Cc: Subject: Re: kern/140438: [isp] isp(4) causes threads to hang due to callwheel bucket list corruption X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Sack List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2009 20:50:03 -0000 The following reply was made to PR kern/140438; it has been noted by GNATS. From: Alexander Sack To: bug-followup@FreeBSD.org, asack@niksun.com Cc: Subject: Re: kern/140438: [isp] isp(4) causes threads to hang due to callwheel bucket list corruption Date: Wed, 11 Nov 2009 15:03:00 -0500 --Apple-Mail-7-489706079 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii RELENG_8 has same issue with my 2342 card. Note that it looks like = during the 8Gbps refresh the check for ldt_running was made in both = spots (as well as the call to freeze the simq again, cool beans) so this = patch is a little smaller but in the same vain. I appreciate some comments on this. It has been heavily tested in the = labs. -aps --Apple-Mail-7-489706079 Content-Disposition: attachment; filename=isp.RELENG_8.diff Content-Type: application/octet-stream; name="isp.RELENG_8.diff" Content-Transfer-Encoding: 7bit Index: isp_freebsd.c =================================================================== RCS file: /home/ncvs/src/sys/dev/isp/isp_freebsd.c,v retrieving revision 1.150.2.2 diff -u -r1.150.2.2 isp_freebsd.c --- isp_freebsd.c 13 Aug 2009 01:45:26 -0000 1.150.2.2 +++ isp_freebsd.c 11 Nov 2009 19:52:49 -0000 @@ -139,9 +139,6 @@ fc->path = path; fc->isp = isp; - callout_init_mtx(&fc->ldt, &isp->isp_osinfo.lock, 0); - callout_init_mtx(&fc->gdt, &isp->isp_osinfo.lock, 0); - if (THREAD_CREATE(isp_kthread, fc, &fc->kproc, 0, 0, "%s: fc_thrd%d", device_get_nameunit(isp->isp_osinfo.dev), chan)) { xpt_free_path(fc->path); ISP_LOCK(isp); Index: isp_pci.c =================================================================== RCS file: /home/ncvs/src/sys/dev/isp/isp_pci.c,v retrieving revision 1.149.2.1 diff -u -r1.149.2.1 isp_pci.c --- isp_pci.c 3 Aug 2009 08:13:06 -0000 1.149.2.1 +++ isp_pci.c 11 Nov 2009 19:52:50 -0000 @@ -922,6 +922,17 @@ mtx_init(&isp->isp_osinfo.lock, "isp", NULL, MTX_DEF); locksetup++; + /* + * Initialize callouts before we kick start the ISP. + */ + if (IS_FC(isp)) { + for (cmap = 0; cmap < isp->isp_nchan; cmap++) { + struct isp_fc *fc = ISP_FC_PC(isp, cmap); + callout_init_mtx(&fc->ldt, &isp->isp_osinfo.lock, 0); + callout_init_mtx(&fc->gdt, &isp->isp_osinfo.lock, 0); + } + } + if (isp_setup_intr(dev, irq, ISP_IFLAGS, NULL, isp_platform_intr, isp, &pcs->ih)) { device_printf(dev, "could not setup interrupt\n"); goto bad; --Apple-Mail-7-489706079 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii --Apple-Mail-7-489706079-- From owner-freebsd-scsi@FreeBSD.ORG Wed Nov 11 21:26:16 2009 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 1DFAE106568B; Wed, 11 Nov 2009 21:26:16 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E98998FC19; Wed, 11 Nov 2009 21:26:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nABLQF00074143; Wed, 11 Nov 2009 21:26:15 GMT (envelope-from jkim@freefall.freebsd.org) Received: (from jkim@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nABLQFVf074139; Wed, 11 Nov 2009 21:26:15 GMT (envelope-from jkim) Date: Wed, 11 Nov 2009 21:26:15 GMT Message-Id: <200911112126.nABLQFVf074139@freefall.freebsd.org> To: jkim@FreeBSD.org, freebsd-scsi@FreeBSD.org, mjacob@FreeBSD.org From: jkim@FreeBSD.org Cc: Subject: Re: kern/140438: [isp] isp(4) causes threads to hang due to callwheel bucket list corruption 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, 11 Nov 2009 21:26:16 -0000 Synopsis: [isp] isp(4) causes threads to hang due to callwheel bucket list corruption Responsible-Changed-From-To: freebsd-scsi->mjacob Responsible-Changed-By: jkim Responsible-Changed-When: Wed Nov 11 21:21:59 UTC 2009 Responsible-Changed-Why: mjacob may be able to handle this bug faster. http://www.freebsd.org/cgi/query-pr.cgi?pr=140438