From owner-freebsd-scsi@FreeBSD.ORG Mon May 20 11:06:53 2013 Return-Path: Delivered-To: freebsd-scsi@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1139C5E1 for ; Mon, 20 May 2013 11:06:53 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 0179ADC1 for ; Mon, 20 May 2013 11:06:52 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4KB6qVB083028 for ; Mon, 20 May 2013 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4KB6qWY083026 for freebsd-scsi@FreeBSD.org; Mon, 20 May 2013 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 20 May 2013 11:06:52 GMT Message-Id: <201305201106.r4KB6qWY083026@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 Subject: Current problem reports assigned to freebsd-scsi@FreeBSD.org X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 11:06:53 -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/165982 scsi [mpt] mpt instability, drive resets, and losses on Fre o kern/165740 scsi [cam] SCSI code must drain callbacks before free f kern/162256 scsi [mpt] QUEUE FULL EVENT and 'mpt_cam_event: 0x0' o docs/151336 scsi Missing documentation of scsi_ and ata_ functions in c o kern/148083 scsi [aac] Strange device reporting o kern/144648 scsi [aac] Strange values of speed and bus width in dmesg 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/130621 scsi [mpt] tranfer rate is inscrutable slow when use lsi213 f kern/129602 scsi [ahd] ahd(4) gets confused and wedges SCSI bus f kern/123674 scsi [ahc] ahc driver dumping o sparc/121676 scsi [iscsi] iscontrol do not connect iscsi-target on sparc 12 problems total. From owner-freebsd-scsi@FreeBSD.ORG Thu May 23 09:15:02 2013 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9FCB4CF7 for ; Thu, 23 May 2013 09:15:02 +0000 (UTC) (envelope-from Kashyap.Desai@lsi.com) Received: from va3outboundpool.messaging.microsoft.com (va3ehsobe004.messaging.microsoft.com [216.32.180.14]) by mx1.freebsd.org (Postfix) with ESMTP id 4D3E0F15 for ; Thu, 23 May 2013 09:15:01 +0000 (UTC) Received: from mail209-va3-R.bigfish.com (10.7.14.230) by VA3EHSOBE004.bigfish.com (10.7.40.24) with Microsoft SMTP Server id 14.1.225.23; Thu, 23 May 2013 09:14:55 +0000 Received: from mail209-va3 (localhost [127.0.0.1]) by mail209-va3-R.bigfish.com (Postfix) with ESMTP id 379D264012A; Thu, 23 May 2013 09:14:55 +0000 (UTC) X-Forefront-Antispam-Report: CIP:192.19.193.42; KIP:(null); UIP:(null); IPV:NLI; H:paledge01.lsi.com; RD:paledge01.lsi.com; EFVD:NLI X-SpamScore: -4 X-BigFish: VPS-4(zz9371I542I1432I4015Izz1f42h1ee6h1de0h1fdah1202h1e76h1d1ah1d2ah1fc6hza3hz17326ah8275dhz2fh2a8h668h839h944hd25hf0ah1220h1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh15d0h162dh1631h1758h18e1h1946h19b5h1b0ah1d0ch1d2eh1d3fh1155h) Received-SPF: pass (mail209-va3: domain of lsi.com designates 192.19.193.42 as permitted sender) client-ip=192.19.193.42; envelope-from=Kashyap.Desai@lsi.com; helo=paledge01.lsi.com ; ge01.lsi.com ; Received: from mail209-va3 (localhost.localdomain [127.0.0.1]) by mail209-va3 (MessageSwitch) id 1369300493293559_7162; Thu, 23 May 2013 09:14:53 +0000 (UTC) Received: from VA3EHSMHS007.bigfish.com (unknown [10.7.14.249]) by mail209-va3.bigfish.com (Postfix) with ESMTP id 459D3C8008A; Thu, 23 May 2013 09:14:53 +0000 (UTC) Received: from paledge01.lsi.com (192.19.193.42) by VA3EHSMHS007.bigfish.com (10.7.99.17) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 23 May 2013 09:14:50 +0000 Received: from PALHUB01.lsi.com (128.94.213.114) by PALEDGE01.lsi.com (192.19.193.42) with Microsoft SMTP Server (TLS) id 8.3.298.1; Thu, 23 May 2013 05:16:03 -0400 Received: from inbexch01.lsi.com (135.36.98.37) by PALHUB01.lsi.com (128.94.213.114) with Microsoft SMTP Server (TLS) id 8.3.298.1; Thu, 23 May 2013 05:14:49 -0400 Received: from inbmail01.lsi.com ([135.36.98.64]) by inbexch01.lsi.com ([135.36.98.37]) with mapi; Thu, 23 May 2013 14:44:46 +0530 From: "Desai, Kashyap" To: Steven Hartland , "Saxena, Sumit" , "freebsd-scsi@freebsd.org" Date: Thu, 23 May 2013 14:44:41 +0530 Subject: RE: LSI megaRAID controller: Kernel panic on virtual disk creation Thread-Topic: LSI megaRAID controller: Kernel panic on virtual disk creation Thread-Index: Ac5TCRft8mKbiljdTfyi5h3qSB3GQADHcE9Q Message-ID: References: <088E451FE1854947BD9145EF8C016FF4139FE16FFC@inbmail01.lsi.com> <61D801516363429F9401F2D11FC214E3@multiplay.co.uk> In-Reply-To: <61D801516363429F9401F2D11FC214E3@multiplay.co.uk> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: lsi.com X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 09:15:02 -0000 Steve: Thanks for your suggestion. We found the root cause of this issue. In our e= nvironment we had few drives which fails to respond READ CAP 16 even though= it is SPC-3 complaint.=20 Recently upstream kernel added code for read cap 16 predication based on SP= C-3 flag from Inquiry in side "daregister(struct cam_periph *periph, void *= arg)" /* Predict whether device may support READ CAPACITY(16). */ if (SID_ANSI_REV(&cgd->inq_data) >=3D SCSI_REV_SPC3) { softc->flags |=3D DA_FLAG_CAN_RC16; softc->state =3D DA_STATE_PROBE_RC16; } Above code will force OS to only send READ CAP 16 for drives which are SPC3= compliant. They never try REAC CAP 10. Check below link. There is already discussion at upstream to debate this is= sue.=20 http://lists.freebsd.org/pipermail/freebsd-fs/2013-January/016278.html There may be some drives which are SPC-3 complaint but do not follow comple= te spec and will have failure for some SCSI commands. So considering SCSI_REV_SPC3 or greater does not means all Drives will alwa= ys respond to READ CAP16.=20 We should try to fall back to READ CAP 10 if Read cap 16 fails. Thanks, Kashyap > -----Original Message----- > From: owner-freebsd-scsi@freebsd.org [mailto:owner-freebsd- > scsi@freebsd.org] On Behalf Of Steven Hartland > Sent: Friday, May 17, 2013 7:46 PM > To: Saxena, Sumit; freebsd-scsi@freebsd.org > Subject: Re: LSI megaRAID controller: Kernel panic on virtual disk > creation >=20 > That indeed doesn't look like look like an issue unrelated to driver. >=20 > Could you provide information on which version your running and what the > exact command you where running to create the panic? >=20 > While I'm here IIRC 9286 is a 2208 chipset card, so MegaRAI based, which > I did some significant fixes for our MFI driver in r247367 & > r247369 so might be worth reviewing to see if any of thats needed in > mrsas? >=20 > Regards > Steve > ----- Original Message ----- > > Hi , > > > > While doing some testing on "mrsas" driver(LSIs' latest driver for > > next generation MegaRAID controllers- which will soon be submitted to > > upstream kernel), I am facing kernel panic while creating Virtual > drive(RAID0) on LSI controller-9286-e (6 Gb/s RAID controller). I am > using latest upstream kernel. The error message seen on panic is: > > > > "reboot after panic: Provider da1 lacks sectorsize" > > > > Below is the call stack: > > > > ---------------------------------------------- > > kdb_enter() at kdb_enter+0x3e/frame 0xffffff8000285920 > > vpanic() at vpanic+0x146/frame 0xffffff8000285960 > > kassert_panic() at kassert_panic+0x136/frame 0xffffff80002859d0 > > g_access() at g_access+0x3ba/frame 0xffffff8000285a60 > > g_raid_md_taste_jmicron() at g_raid_md_taste_jmicron+0x6d/frame > > 0xffffff8000285b00 > > g_raid_taste() at g_raid_taste+0x17f/frame 0xffffff8000285b50 > > g_new_provider_event() at g_new_provider_event+0xda/frame > > 0xffffff8000285b70 > > g_run_events() at g_run_events+0x1a7/frame 0xffffff8000285bb0 > > fork_exit() at fork_exit+0x84/frame 0xffffff8000285bf0 > > fork_trampoline() at fork_trampoline+0xe/frame 0xffffff8000285bf0 > > --- trap 0, rip =3D 0, rsp =3D 0xffffff8000285cb0, rbp =3D 0 --- > > ------------------------------------------------- > > > > "/dev/da1" is virtual drive created. > > > > The problem does not seems to be related to driver. call stack > indicates that panic is observed in GEOM module. > > Has someone face such issue earlier related to GEOM module? >=20 >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > This e.mail is private and confidential between Multiplay (UK) Ltd. and > the person or entity to whom it is addressed. In the event of > misdirection, the recipient is prohibited from using, copying, printing > or otherwise disseminating it or any information contained in it. >=20 > In the event of misdirection, illegible or incomplete transmission > please telephone +44 845 868 1337 or return the E.mail to > postmaster@multiplay.co.uk. >=20 > _______________________________________________ > freebsd-scsi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-scsi > To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org"