From owner-freebsd-current@FreeBSD.ORG Mon May 6 15:43:59 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B9832C65 for ; Mon, 6 May 2013 15:43:59 +0000 (UTC) (envelope-from sean_bruno@yahoo.com) Received: from nm7-vm6.bullet.mail.gq1.yahoo.com (nm7-vm6.bullet.mail.gq1.yahoo.com [98.136.218.213]) by mx1.freebsd.org (Postfix) with SMTP id 8953FDCB for ; Mon, 6 May 2013 15:43:59 +0000 (UTC) Received: from [98.137.12.57] by nm7.bullet.mail.gq1.yahoo.com with NNFMP; 06 May 2013 15:38:04 -0000 Received: from [98.136.185.42] by tm2.bullet.mail.gq1.yahoo.com with NNFMP; 06 May 2013 15:38:04 -0000 Received: from [127.0.0.1] by smtp103.mail.gq1.yahoo.com with NNFMP; 06 May 2013 15:38:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1367854684; bh=mg99xKlSGol0PQmGilQ+EPl5799/uouUdd/UxU4xtkc=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Subject:From:Reply-To:To:Cc:In-Reply-To:References:Content-Type:Date:Message-ID:Mime-Version:X-Mailer; b=Pt5+DpvUW6j8v1GicXxA7ODWASFkLbjck0PHRbJROpJMMZSjvsD9URFHcJC+ZOytR6ZlNQAv2Y5RIsAbq29RYmjMEtdx+WAk2tOxdK0deskQ/FKz1YFdOJPQ4QDzNBNcRxMt+TL4P9LWXywysCjKZ2Wog1CVeGop02CVw5N/wCk= X-Yahoo-Newman-Id: 791068.85542.bm@smtp103.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: hbv7kP0VM1nms7pYGgFrtw3.nAVXKwkPxEQkMIIUI3F_.j1 t9vtfHzs0a2EZ_R5XfNIRBgpUSmU3zVUJe9p8CIp2bz8ooQ_UnoJYos95LNm XTYcmzjmeXYFgy51NyDYt5KVfzpsL8sT.3btD2_mnpwhJtVqWyfJV4emgwlO .yAzKPSXuqEmuhrU8p87oR3wcUERV5_ruK0C2BKt5dYIYevA7zzhO3yjKXCe 5fE43g3I.D8hrhv5OgqiChdOCqOpctVznLiltKLzcbs8L7vqpgZa5S5aFD1k Bwyux7wr3o8IslLfsdum.SB4_eUiqIf_hoW6r8eZbnhGo_6gfXynfQ1ZVve4 LjwuPqVR1LLMqXbniMDiMAuLZAaJ8j19GYNxqjyD3Xv3pICmpd5Z0_V5Uo4i baySCNRGFvyF9.noyHVwBLc4SuXrTnheLDtYp9mTVETbpiDw87I9_C2cR0Ll AzM1mTkxSag-- X-Yahoo-SMTP: u5BKR6OswBC_iZJVfGRoMkTIpc8pEA4- X-Rocket-Received: from [192.168.43.121] (sean_bruno@70.197.9.30 with plain) by smtp103.mail.gq1.yahoo.com with SMTP; 06 May 2013 08:38:04 -0700 PDT Subject: Re: Problem with firewire disks with recent -CURRENT. From: Sean Bruno To: rmtodd@servalan.servalan.com In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-ODx+DH04ACPxlmK/FbTB" Date: Mon, 06 May 2013 08:38:03 -0700 Message-ID: <1367854683.1308.14.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 May 2013 15:43:59 -0000 --=-ODx+DH04ACPxlmK/FbTB Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Sun, 2013-05-05 at 13:31 -0500, rmtodd@servalan.servalan.com wrote: > Tried upgrading one of my machines to -CURRENT yesterday and got the=20 > following panic when the sbp code did its probing of all the firewire=20 > devices: >=20 >=20 > sbp0: on firewire0 > sbp0: sbp_show_sdev_info: sbp0:0:0: ordered:1 type:14 EUI:00048304ee01f41= 8 node: > 1 speed:2 maxrec:8 > sbp0: sbp_show_sdev_info: sbp0:0:0 'DAT Optic Inc ' 'Master ' '000040' > sbp0: sbp_show_sdev_info: sbp0:0:1: ordered:1 type:14 EUI:00048304ee01f41= 8 node: > 1 speed:2 maxrec:8 > sbp0: sbp_show_sdev_info: sbp0:0:1 'DAT Optic Inc ' 'Master ' '000040' > sbp0: sbp_show_sdev_info: sbp0:1:0: ordered:1 type:1 EUI:00d080043f208713= node:0 > speed:2 maxrec:8 > sbp0: sbp_show_sdev_info: sbp0:1:0 'EXABYTE ' 'VXA-3a ' '000201' > sbp1: on firewire1 > panic: mutex sbp not owned at /usr/src/sys/cam/cam_xpt.c:4549 > cpuid =3D 0 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xffffff81fe6= 837f0 > kdb_backtrace() at kdb_backtrace+0x39/frame 0xffffff81fe6838a0 > vpanic() at vpanic+0x126/frame 0xffffff81fe6838e0 > panic() at panic+0x43/frame 0xffffff81fe683940 > __mtx_assert() at __mtx_assert+0xc2/frame 0xffffff81fe683950 > xpt_compile_path() at xpt_compile_path+0xa1/frame 0xffffff81fe6839a0 > xpt_create_path() at xpt_create_path+0x5b/frame 0xffffff81fe6839f0 > sbp_do_attach() at sbp_do_attach+0xe8/frame 0xffffff81fe683a30 > fwohci_txd() at fwohci_txd+0x378/frame 0xffffff81fe683a90 > fwohci_task_dma() at fwohci_task_dma+0x5d4/frame 0xffffff81fe683b30 > taskqueue_run_locked() at taskqueue_run_locked+0xf0/frame 0xffffff81fe683= b80 > taskqueue_thread_loop() at taskqueue_thread_loop+0x9b/frame 0xffffff81fe6= 83bb0 > fork_exit() at fork_exit+0x84/frame 0xffffff81fe683bf0 > fork_trampoline() at fork_trampoline+0xe/frame 0xffffff81fe683bf0 > --- trap 0, rip =3D 0, rsp =3D 0xffffff81fe683cb0, rbp =3D 0 --- >=20 > (alas, it happened too early to get an actual core file, but dcons let me= get > the console data logged to another machine.) >=20 > I'm guessing the recent changes to cam_xpt and friends in mid-April might= =20 > be to blame... >=20 > _______________________________________________ > 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= " What happens if you re-add the xpt_periph variable to sbp_do_attach() ? ref: http://svnweb.freebsd.org/base/head/sys/dev/firewire/sbp.c?r1=3D249468&r2= =3D249467&pathrev=3D249468&diff_format=3Df see line 1089 Sean --=-ODx+DH04ACPxlmK/FbTB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iQEcBAABAgAGBQJRh85bAAoJEBkJRdwI6BaHK40IAJbmTuyTiur0sUeKsnSWcydd ObX/cfPn6uevkW3IjX63ZqHCQ3ofjqMd+lKHiXJNtzfujdcHUqPc7ytmQ91e/ASQ nG2o5yol2aqrIL8mZ0eOUSEnEmDjQq8GhWnYoDvJPYtqdfi05Gd4vWbDSQC4yadD 3wvR1b3jRI1AchxDEI4kgLIFl0gg2B+ZWTb6xxXrya4qGrXN+lRZMi6A4HR3ZG/r LFnPKw1j4Rp5MDrT4tJf0LZ2OLZxV7yGEjDW7xl0M5+YXxbgv7mk+n4OZA8UT9js WWG8R/6KRC8hyT4CkAaSPbdQfgBgsdtv7bUBIFHNf1SQOj8vw+fZyKBLBBGJiU4= =wd77 -----END PGP SIGNATURE----- --=-ODx+DH04ACPxlmK/FbTB--