Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2006 13:20:36 +0200
From:      "Pawel Worach" <pawel.worach@gmail.com>
To:        "Matt Jacob" <mjacob@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/dev/mpt mpt.h mpt_cam.c mpt_debug.c mpt_raid.c
Message-ID:  <d227e09e0605260420u6387f2b9xd2abe88cf9d1d55e@mail.gmail.com>
In-Reply-To: <200605260554.k4Q5sLg5022254@repoman.freebsd.org>
References:  <200605260554.k4Q5sLg5022254@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/26/06, Matt Jacob <mjacob@freebsd.org> wrote:
> mjacob      2006-05-26 05:54:21 UTC
>
>  FreeBSD src repository
>
>  Modified files:
>    sys/dev/mpt          mpt.h mpt_cam.c mpt_debug.c mpt_raid.c
>  Log:
>  Get most of the way back to having Integrated Mirroring work
>  again- the addition of target mode support broke it massively.
>

Hi Matt,

After these changes the mirror stopped working totally, prevously I
would still have the da0 device with the Primary drive behind it. Any
idea what is going on here?
Is there a chance the "Secondary" drive really failed and it's not
mpt(4) this time?
Any other information I can provide ?

...
FreeBSD 7.0-CURRENT #0: Fri May 26 12:28:25 CEST 2006
    root@zero:/usr/obj/usr/src/sys/ZERO
...
mpt0: <LSILogic 1030 Ultra4 Adapter> port 0x2600-0x26ff mem
0xf7ff0000-0xf7ffffff,0xf7fe0000-0xf7feffff irq 27 at device 7.0 on
pci8
mpt0: [GIANT-LOCKED]
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)
mpt1: <LSILogic 1030 Ultra4 Adapter> port 0x2700-0x27ff mem
0xf7fd0000-0xf7fdffff,0xf7fc0000-0xf7fcffff irq 28 at device 7.1 on
pci8
mpt1: [GIANT-LOCKED]
mpt1: MPI Version=1.2.15.0
mpt1: Capabilities: ( RAID-1 SAFTE )
mpt1: 0 Active Volumes (0 Max)
mpt1: 0 Hidden Drive Members (0 Max)
...
Waiting 5 seconds for SCSI devices to settle
mpt0: mpt_cam_event: 0xb
mpt0: Volume(0:0): Volume Status Changed
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:0:1): Secondary
      (mpt0:0:0): Primary
mpt0:vol0(mpt0:0:0): RAID-1 - Degraded
mpt0:vol0(mpt0:0:0): Status ( Enabled )
(mpt0:vol0:1): Physical (mpt0:0:1), Pass-thru (mpt0:1:0)
(mpt0:vol0:1): Online
(mpt0:vol0:1): Status ( Out-Of-Sync )
(mpt0:vol0:0): Physical (mpt0:0:0), Pass-thru (mpt0:1:1)
(mpt0:vol0:0): Online
mpt0: mpt_cam_event: 0xb
mpt0:vol0(mpt0:0:0): Volume Status Changed
mpt0:vol0(mpt0:0:0): RAID-1 - Degraded
mpt0:vol0(mpt0:0:0): Status ( Enabled Re-Syncing )
mpt0:vol0(mpt0:0:0): Low Priority Re-Sync
mpt0:vol0(mpt0:0:0): 71030853 of 71087625 blocks remaining
mpt0:vol0(mpt0:0:0): RAID-1 - Degraded
mpt0:vol0(mpt0:0:0): Status ( Enabled Re-Syncing )
mpt0:vol0(mpt0:0:0): Low Priority Re-Sync
mpt0:vol0(mpt0:0:0): 71030721 of 71087625 blocks remaining
mpt0: IOC Bus Reset Port: 0
mpt0: mpt_cam_event: 0xb
mpt0:vol0(mpt0:0:0): Volume Status Changed
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0:vol0(mpt0:0:0): RAID-1 - Degraded
mpt0:vol0(mpt0:0:0): Status ( Enabled Re-Syncing )
mpt0:vol0(mpt0:0:0): Low Priority Re-Sync
mpt0:vol0(mpt0:0:0): 71030325 of 71087625 blocks remaining
mpt0: mpt_cam_event: 0xb
mpt0:vol0(mpt0:0:0): Volume Status Changed
mpt0: IOC Bus Reset Port: 0
mpt0:vol0(mpt0:0:0): RAID-1 - Degraded
mpt0:vol0(mpt0:0:0): Status ( Enabled Re-Syncing )
mpt0:vol0(mpt0:0:0): Low Priority Re-Sync
mpt0:vol0(mpt0:0:0): 71030325 of 71087625 blocks remaining
mpt0: mpt_cam_event: 0xb
mpt0:vol0(mpt0:0:0): Volume Status Changed
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0:vol0(mpt0:0:0): RAID-1 - Degraded
mpt0:vol0(mpt0:0:0): Status ( Enabled Re-Syncing )
mpt0:vol0(mpt0:0:0): Low Priority Re-Sync
mpt0:vol0(mpt0:0:0): 71030325 of 71087625 blocks remaining
mpt0: mpt_cam_event: 0xb
mpt0:vol0(mpt0:0:0): Volume Status Changed
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0:vol0(mpt0:0:0): RAID-1 - Degraded
mpt0:vol0(mpt0:0:0): Status ( Enabled )
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: mpt_read_cfg_page: Config Info Status 2
mpt0: can't get tgt 0 config page 0
mpt0: IOC Bus Reset Port: 0
mpt0: mpt_cam_event: 0xb
(mpt0:vol0:1): Physical Disk Status Changed
mpt0: IOC Bus Reset Port: 0
(mpt0:vol0:1): No longer configured
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: mpt_read_cfg_page: Config Info Status 2
mpt0: can't get tgt 0 config page 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: mpt_read_cfg_page: Config Info Status 2
mpt0: can't get tgt 0 config page 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: mpt_read_cfg_page: Config Info Status 2
mpt0: can't get tgt 0 config page 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: mpt_read_cfg_page: Config Info Status 2
mpt0: can't get tgt 0 config page 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
mpt0: IOC Bus Reset Port: 0
da0 at mpt0 bus 0 target 0 lun 0
da0: <  > Fixed Direct Access SCSI-0 device
da0: 3.300MB/s transfers
da0: 0MB (2158250948 0 byte sectors: 0H 0S/T 0C)
(da1:mpt0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0
(da1:mpt0:0:0:1): ILLEGAL REQUEST asc:25,0
(da1:mpt0:0:0:1): Logical unit not supported
(da1:mpt0:0:0:1): fatal error, failed to attach to device
(da1:mpt0:0:0:1): lost device
(da1:mpt0:0:0:1): removing device entry
(da2:mpt0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0
(da2:mpt0:0:0:2): ILLEGAL REQUEST asc:25,0
(da2:mpt0:0:0:2): Logical unit not supported
(da2:mpt0:0:0:2): fatal error, failed to attach to device
(da2:mpt0:0:0:2): lost device
(da2:mpt0:0:0:2): removing device entry
(da3:mpt0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0
(da3:mpt0:0:0:3): ILLEGAL REQUEST asc:25,0
(da3:mpt0:0:0:3): Logical unit not supported
(da3:mpt0:0:0:3): fatal error, failed to attach to device
(da3:mpt0:0:0:3): lost device
(da3:mpt0:0:0:3): removing device entry
(da4:mpt0:0:0:4): READ CAPACITY. CDB: 25 80 0 0 0 0 0 0 0 0
(da4:mpt0:0:0:4): ILLEGAL REQUEST asc:25,0
(da4:mpt0:0:0:4): Logical unit not supported
(da4:mpt0:0:0:4): fatal error, failed to attach to device
(da4:mpt0:0:0:4): lost device
(da4:mpt0:0:0:4): removing device entry
(da5:mpt0:0:0:5): READ CAPACITY. CDB: 25 a0 0 0 0 0 0 0 0 0
(da5:mpt0:0:0:5): ILLEGAL REQUEST asc:25,0
(da5:mpt0:0:0:5): Logical unit not supported
(da5:mpt0:0:0:5): fatal error, failed to attach to device
(da5:mpt0:0:0:5): lost device
(da5:mpt0:0:0:5): removing device entry
(da6:mpt0:0:0:6): READ CAPACITY. CDB: 25 c0 0 0 0 0 0 0 0 0
(da6:mpt0:0:0:6): ILLEGAL REQUEST asc:25,0
(da6:mpt0:0:0:6): Logical unit not supported
(da6:mpt0:0:0:6): fatal error, failed to attach to device
(da6:mpt0:0:0:6): lost device
(da6:mpt0:0:0:6): removing device entry
(da7:mpt0:0:0:7): READ CAPACITY. CDB: 25 e0 0 0 0 0 0 0 0 0
(da7:mpt0:0:0:7): ILLEGAL REQUEST asc:25,0
(da7:mpt0:0:0:7): Logical unit not supported
(da7:mpt0:0:0:7): fatal error, failed to attach to device
(da7:mpt0:0:0:7): lost device
(da7:mpt0:0:0:7): removing device entry
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #3 Launched!
Trying to mount root from ufs:/dev/da0s1a
Mount point / had 1 dangling refs

Manual root filesystem specification:
  <fstype>:<device>  Mount <device> using filesystem <fstype>
                       eg. ufs:da0s1a
  ?                  List valid disk boot devices
  <empty line>       Abort manual input

mountroot>

-- 
Pawel



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