kern/130330: [mpt] [panic] Panic and reboot machine MPT driver
when raid is Degraded. <LSILOGIC 1030 IM 1000>
Riccardo Torrini
riccardo.torrini at esaote.com
Wed Apr 8 09:50:06 PDT 2009
The following reply was made to PR kern/130330; it has been noted by GNATS.
From: Riccardo Torrini <riccardo.torrini at esaote.com>
To: bug-followup at FreeBSD.org, siedar at nplay.pl
Cc:
Subject: Re: kern/130330: [mpt] [panic] Panic and reboot machine MPT driver
when raid is Degraded. <LSILOGIC 1030 IM 1000>
Date: Wed, 8 Apr 2009 18:20:57 +0200
> Cannot install 7.1-RELEASE if the RAID-1 is degraded.
I can install and use 7.0-RELEASE and -STABLE, ditto for
7.1-RELEASE and -STABLE and even 7.2-PRERELEASE if (and
only if) I don't remove any drive when the raid is online
or don't add any drive where the raid is degraded.
Machine is an IBM x335 (installed with 4.2 some times ago
and updated in place every 2-3 month up to 7.1, when I
obtained my first panic on mpt0). My first idea was my
fault on config so I changed SCHED_4BSD to SCHED_ULE (that
is the default on 7.1) because booting from 7.1-live-fs was
fine but still hangs removing or inserting second disk.
-----8<-----
mpt0: <LSILogic 1030 Ultra4 Adapter> port 0x2300-0x23ff mem 0xfbff0000-0xfbffffff,0xfbfe0000-0xfbfeffff irq 22 at device 1.0 on pci1
mpt0: [ITHREAD]
mpt0: MPI Version=1.2.15.0
mpt0: Capabilities: ( RAID-1 SAFTE )
mpt0: 1 Active Volume (1 Max)
mpt0: 2 Hidden Drive Members (6 Max)
-----8<-----
-----8<-----
mpt0:vol0(mpt0:0:0): Settings ( Hot-Plug-Spares )
mpt0:vol0(mpt0:0:0): Using Spare Pool: 0
mpt0:vol0(mpt0:0:0): 2 Members:
(mpt0:1:0:0): Secondary Online
(mpt0:1:0:0): Primary Online
mpt0:vol0(mpt0:0:0): RAID-1 - Degraded
mpt0:vol0(mpt0:0:0): Status ( Enabled )
(mpt0:vol0:0): Physical (mpt0:0:0:0), Pass-thru (mpt0:1:1:0)
(mpt0:vol0:0): Online
acd0: CDROM <LG CD-ROM CRN-8245B/1.16> at ata1-master UDMA33
Waiting 5 seconds for SCSI devices to settle
(probe0:mpt0:0:8:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe0:mpt0:0:8:0): CAM Status: SCSI Status Error
(probe0:mpt0:0:8:0): SCSI Status: Check Condition
(probe0:mpt0:0:8:0): UNIT ATTENTION asc:29,0
(probe0:mpt0:0:8:0): Power on, reset, or bus device reset occurred
(probe0:mpt0:0:8:0): Retrying Command (per Sense Data)
ses0 at mpt0 bus 0 target 8 lun 0
ses0: <IBM 25P3495a S320 1 1> Fixed Processor SCSI-2 device
ses0: 3.300MB/s transfers
ses0: SAF-TE Compliant Device
da0 at mpt0 bus 0 target 0 lun 0
da0: <LSILOGIC 1030 IM IM 1000> Fixed Direct Access SCSI-2 device
da0: 3.300MB/s transfers
da0: Command Queueing Enabled
da0: 70001MB (143364060 512 byte sectors: 255H 63S/T 8924C)
-----8<-----
The two lines above:
(mpt0:1:0:0): Secondary Online
(mpt0:1:0:0): Primary Online
looks strange (to me) because first disk is in place but second is on
the desk.
I have a spare server now, 7.2-PRE (built on Thu Apr 9 11:56:45).
Any test available (even destructive). Feel free to ask.
(in the meantime I'm going to rebuild with any available debug knob)
--
Riccardo.
Network Manager @ ESAOTE S.p.A.
More information about the freebsd-bugs
mailing list