Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 May 2009 17:50:12 +0200
From:      Riccardo Torrini <riccardo.torrini@esaote.com>
To:        freebsd-stable@freebsd.org
Cc:        siedar@nplay.pl, scottl@freebsd.org, jhb@freebsd.org
Subject:   kern/130330: [mpt] [panic] Panic and reboot machine MPT ...
Message-ID:  <20090507155012.GW21112@tiger.fi.esaote.it>

next in thread | raw e-mail | index | archive | help
I just submitted a follow-up to PR kern/130330 with the same
info.  Maybe I found the committed lines doing the crash.

Please see PR for more detailed info (and cc: this thread to me).

I restricted the time window of the problem doing (a lot of)
build&install world from 2008.07 up to now (read last week).

With 2008.07.28.17.00.00 (7.0-STABLE) works fine but
with 2008.07.28.18.00.00 start crashing removing the
the second disk of a mirror (when the mirror is ok)
or adding the second disk of a degraded ones.

Also note that the same crash happens with all 7.1
stable or release and even all 7.2-PRE I tested.

(wrapping long lines)
# cd /home/ncvs/src/sys/
# grep -R "date.*2008\.07\.28\.17" ./ | grep -v /Attic

./dev/wi/if_wi.c,v:
        date    2008.07.28.17.00.37;    author imp;     state Exp;
./dev/wi/if_wivar.h,v:
        date    2008.07.28.17.00.37;    author imp;     state Exp;
./dev/mpt/mpt_raid.c,v:
        date    2008.07.28.17.10.09;    author jhb;     state Exp;
./dev/mpt/mpt_raid.c,v:
        date    2008.07.28.17.05.09;    author jhb;     state Exp;
./kern/sched_4bsd.c,v:
        date    2008.07.28.17.25.24;    author jhb;     state Exp;
./modules/et/Makefile,v:
        date    2008.07.28.17.56.37;    author antoine; state Exp;

In that time window there are only 4 file changed in
src/sys/dev, and I bet to mpt_raid.c  :-)

This is the commit log extracted from cvsweb
-----8<-----
Revision 1.15.2.1:
Mon Jul 28 17:05:09 2008 UTC (9 months, 1 week ago) by jhb
Branches: RELENG_7
CVS tags: RELENG_7_1_BP
Branch point for: RELENG_7_1
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -4 lines

SVN rev 180920 on 2008-07-28 17:05:09Z by jhb

MFC: Allocate a single CCB at the start of the main loop of the RAID
monitoring kthread of the mpt(4) driver.
-----8<-----

Here are the diff:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/mpt/mpt_raid.c.diff?r1=1.15;r2=1.15.2.1


What can I do now?


-- 
Riccardo.
Network Manager @ ESAOTE S.p.A.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090507155012.GW21112>