Re: Sun Fire 880 phantom disks

2010-03-02 Thread David Gwynne
id use asr-disable in ofw to disable the second fc hba for now.

dlg

On 02/03/2010, at 12:56 AM, Pete Vickers wrote:

 Hei,


 Upon booting either 4.6-RELEASE or 4.7-BETA on my SunFire 880 causes the
 kernel it to 'see' twice the correct number of physical disk. Further if I
 install the o/s  using bsd.rd on to sd0, then upon reboot the kernel can't
 find the root disk. However if I install on sd12 then booting etc is fine.

 the machine has physically 12 disks (36GB FC-AL), which appear to be
 duplicated as sd0-sd11 and sd12-23.


 r...@sf880 ~sysctl hw.disknames

hw.disknames=cd0,sd0,sd1,sd2,sd3,sd4,sd5,sd6,sd7,sd8,sd9,sd10,sd11,sd12,sd13,
 sd14,sd15,sd16,sd17,sd18,sd19,sd20,sd21,sd22,sd23



 compare disk serial numbers :

 r...@sf880 ~bioctl  sd0
 sd0: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0N1K67214DE8J
 r...@sf880 ~bioctl  sd1
 sd1: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0JHHX7214DDNK

 r...@sf880 ~bioctl  sd12
 sd12: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0N1K67214DE8J
 r...@sf880 ~bioctl  sd13
 sd13: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0JHHX7214DDNK





 full dmesg:


 console is /p...@9,70/e...@1/ser...@1,40:a
 Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
 Copyright (c) 1995-2009 OpenBSD. All rights reserved.
http://www.OpenBSD.org

 OpenBSD 4.6 (GENERIC.MP) #53: Thu Jul  9 21:50:16 MDT 2009
dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC.MP
 real mem = 4294967296 (4096MB)
 avail mem = 4140875776 (3949MB)
 mainbus0 at root: Sun Fire 880
 cpu0 at mainbus0: SUNW,UltraSPARC-III (rev 5.4) @ 750 MHz
 cpu0: physical 32K instruction (32 b/l), 64K data (32 b/l), 8192K external
 (512 b/l)
 cpu1 at mainbus0: SUNW,UltraSPARC-III (rev 5.4) @ 750 MHz
 cpu1: physical 32K instruction (32 b/l), 64K data (32 b/l), 8192K external
 (512 b/l)
 memory-controller at mainbus0 not configured
 memory-controller at mainbus0 not configured
 schizo0 at mainbus0: Schizo, version 4, ign 200, bus B 0 to 1
 schizo0: dvma map c000-
 pci0 at schizo0
 siop0 at pci0 dev 1 function 0 Symbios Logic 53c875 rev 0x04: ivec 0x21c,
 using 4K of on-board RAM
 scsibus0 at siop0: 16 targets, initiator 7
 cd0 at scsibus0 targ 6 lun 0: TOSHIBA, DVD-ROM SD-M1401, 1009 SCSI2
5/cdrom
 removable
 ppb0 at pci0 dev 5 function 0 DEC 21154 PCI-PCI rev 0x05
 pci1 at ppb0 bus 1
 isp0 at pci1 dev 4 function 0 QLogic ISP2200 rev 0x05: ivec 0x218
 isp0: Board Type 2200, Chip Revision 0x5, loaded F/W Revision 2.2.6
 scsibus1 at isp0: 512 targets
 sd0 at scsibus1 targ 0 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
0/direct
 fixed
 sd0: 34732MB, 512 bytes/sec, 71132959 sec total
 sd1 at scsibus1 targ 1 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
0/direct
 fixed
 sd1: 34732MB, 512 bytes/sec, 71132959 sec total
 sd2 at scsibus1 targ 2 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
0/direct
 fixed
 sd2: 34732MB, 512 bytes/sec, 71132959 sec total
 sd3 at scsibus1 targ 3 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
0/direct
 fixed
 sd3: 34732MB, 512 bytes/sec, 71132959 sec total
 sd4 at scsibus1 targ 4 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
0/direct
 fixed
 sd4: 34732MB, 512 bytes/sec, 71132959 sec total
 sd5 at scsibus1 targ 5 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
0/direct
 fixed
 sd5: 34732MB, 512 bytes/sec, 71132959 sec total
 ses0 at scsibus1 targ 6 lun 0: SUNW, SUNWGS INT FCBPL, 9222 SCSI3
 13/enclosure services fixed
 sd6 at scsibus1 targ 7 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
0/direct
 fixed
 sd6: 34732MB, 512 bytes/sec, 71132959 sec total
 sd7 at scsibus1 targ 8 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
0/direct
 fixed
 sd7: 34732MB, 512 bytes/sec, 71132959 sec total
 sd8 at scsibus1 targ 9 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
0/direct
 fixed
 sd8: 34732MB, 512 bytes/sec, 71132959 sec total
 sd9 at scsibus1 targ 10 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
0/direct
 fixed
 sd9: 34732MB, 512 bytes/sec, 71132959 sec total
 sd10 at scsibus1 targ 11 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
 0/direct fixed
 sd10: 34732MB, 512 bytes/sec, 71132959 sec total
 sd11 at scsibus1 targ 12 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
 0/direct fixed
 sd11: 34732MB, 512 bytes/sec, 71132959 sec total
 isp1 at pci1 dev 5 function 0 QLogic ISP2200 rev 0x05: ivec 0x219
 isp1: Board Type 2200, Chip Revision 0x5, loaded F/W Revision 2.2.6
 scsibus2 at isp1: 512 targets
 schizo1 at mainbus0: Schizo, version 4, ign 200, bus A 0 to 0
 schizo1: dvma map c000-
 pci2 at schizo1
 gem0 at pci2 dev 1 function 0 Sun GEM rev 0x01: ivec 0x200, address
 00:03:ba:08:de:01
 gentbi0 at gem0 phy 0: Generic ten-bit interface, rev. 0
 isp2 at pci2 dev 2 function 0 QLogic ISP2200 rev 0x05: ivec 0x204
 isp2: Board Type 2200, Chip Revision 0x5, loaded F/W Revision 2.2.6
 scsibus3 at isp2: 512 targets
 sd12 at scsibus3 targ 0 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
0/direct
 fixed
 sd12: 34732MB, 512 

Sun Fire 880 phantom disks

2010-03-01 Thread Pete Vickers
Hei,


Upon booting either 4.6-RELEASE or 4.7-BETA on my SunFire 880 causes the
kernel it to 'see' twice the correct number of physical disk. Further if I
install the o/s  using bsd.rd on to sd0, then upon reboot the kernel can't
find the root disk. However if I install on sd12 then booting etc is fine.

the machine has physically 12 disks (36GB FC-AL), which appear to be
duplicated as sd0-sd11 and sd12-23.


r...@sf880 ~sysctl hw.disknames
hw.disknames=cd0,sd0,sd1,sd2,sd3,sd4,sd5,sd6,sd7,sd8,sd9,sd10,sd11,sd12,sd13,
sd14,sd15,sd16,sd17,sd18,sd19,sd20,sd21,sd22,sd23



compare disk serial numbers :

r...@sf880 ~bioctl  sd0
sd0: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0N1K67214DE8J
r...@sf880 ~bioctl  sd1
sd1: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0JHHX7214DDNK

r...@sf880 ~bioctl  sd12
sd12: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0N1K67214DE8J
r...@sf880 ~bioctl  sd13
sd13: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0JHHX7214DDNK





full dmesg:


console is /p...@9,70/e...@1/ser...@1,40:a
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2009 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.6 (GENERIC.MP) #53: Thu Jul  9 21:50:16 MDT 2009
dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC.MP
real mem = 4294967296 (4096MB)
avail mem = 4140875776 (3949MB)
mainbus0 at root: Sun Fire 880
cpu0 at mainbus0: SUNW,UltraSPARC-III (rev 5.4) @ 750 MHz
cpu0: physical 32K instruction (32 b/l), 64K data (32 b/l), 8192K external
(512 b/l)
cpu1 at mainbus0: SUNW,UltraSPARC-III (rev 5.4) @ 750 MHz
cpu1: physical 32K instruction (32 b/l), 64K data (32 b/l), 8192K external
(512 b/l)
memory-controller at mainbus0 not configured
memory-controller at mainbus0 not configured
schizo0 at mainbus0: Schizo, version 4, ign 200, bus B 0 to 1
schizo0: dvma map c000-
pci0 at schizo0
siop0 at pci0 dev 1 function 0 Symbios Logic 53c875 rev 0x04: ivec 0x21c,
using 4K of on-board RAM
scsibus0 at siop0: 16 targets, initiator 7
cd0 at scsibus0 targ 6 lun 0: TOSHIBA, DVD-ROM SD-M1401, 1009 SCSI2 5/cdrom
removable
ppb0 at pci0 dev 5 function 0 DEC 21154 PCI-PCI rev 0x05
pci1 at ppb0 bus 1
isp0 at pci1 dev 4 function 0 QLogic ISP2200 rev 0x05: ivec 0x218
isp0: Board Type 2200, Chip Revision 0x5, loaded F/W Revision 2.2.6
scsibus1 at isp0: 512 targets
sd0 at scsibus1 targ 0 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3 0/direct
fixed
sd0: 34732MB, 512 bytes/sec, 71132959 sec total
sd1 at scsibus1 targ 1 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3 0/direct
fixed
sd1: 34732MB, 512 bytes/sec, 71132959 sec total
sd2 at scsibus1 targ 2 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3 0/direct
fixed
sd2: 34732MB, 512 bytes/sec, 71132959 sec total
sd3 at scsibus1 targ 3 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3 0/direct
fixed
sd3: 34732MB, 512 bytes/sec, 71132959 sec total
sd4 at scsibus1 targ 4 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3 0/direct
fixed
sd4: 34732MB, 512 bytes/sec, 71132959 sec total
sd5 at scsibus1 targ 5 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3 0/direct
fixed
sd5: 34732MB, 512 bytes/sec, 71132959 sec total
ses0 at scsibus1 targ 6 lun 0: SUNW, SUNWGS INT FCBPL, 9222 SCSI3
13/enclosure services fixed
sd6 at scsibus1 targ 7 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3 0/direct
fixed
sd6: 34732MB, 512 bytes/sec, 71132959 sec total
sd7 at scsibus1 targ 8 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3 0/direct
fixed
sd7: 34732MB, 512 bytes/sec, 71132959 sec total
sd8 at scsibus1 targ 9 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3 0/direct
fixed
sd8: 34732MB, 512 bytes/sec, 71132959 sec total
sd9 at scsibus1 targ 10 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3 0/direct
fixed
sd9: 34732MB, 512 bytes/sec, 71132959 sec total
sd10 at scsibus1 targ 11 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
0/direct fixed
sd10: 34732MB, 512 bytes/sec, 71132959 sec total
sd11 at scsibus1 targ 12 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
0/direct fixed
sd11: 34732MB, 512 bytes/sec, 71132959 sec total
isp1 at pci1 dev 5 function 0 QLogic ISP2200 rev 0x05: ivec 0x219
isp1: Board Type 2200, Chip Revision 0x5, loaded F/W Revision 2.2.6
scsibus2 at isp1: 512 targets
schizo1 at mainbus0: Schizo, version 4, ign 200, bus A 0 to 0
schizo1: dvma map c000-
pci2 at schizo1
gem0 at pci2 dev 1 function 0 Sun GEM rev 0x01: ivec 0x200, address
00:03:ba:08:de:01
gentbi0 at gem0 phy 0: Generic ten-bit interface, rev. 0
isp2 at pci2 dev 2 function 0 QLogic ISP2200 rev 0x05: ivec 0x204
isp2: Board Type 2200, Chip Revision 0x5, loaded F/W Revision 2.2.6
scsibus3 at isp2: 512 targets
sd12 at scsibus3 targ 0 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3 0/direct
fixed
sd12: 34732MB, 512 bytes/sec, 71132959 sec total
sd13 at scsibus3 targ 1 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3 0/direct
fixed
sd13: 34732MB, 512 bytes/sec, 71132959 sec total
sd14 at scsibus3 targ 2 lun 0: SEAGATE, ST336605FSUN36G, 0438 

Re: Sun Fire 880 phantom disks

2010-03-01 Thread Kenneth R Westerback
On Mon, Mar 01, 2010 at 03:56:22PM +0100, Pete Vickers wrote:
 Hei,
 
 
 Upon booting either 4.6-RELEASE or 4.7-BETA on my SunFire 880 causes the
 kernel it to 'see' twice the correct number of physical disk. Further if I
 install the o/s  using bsd.rd on to sd0, then upon reboot the kernel can't
 find the root disk. However if I install on sd12 then booting etc is fine.
 
 the machine has physically 12 disks (36GB FC-AL), which appear to be
 duplicated as sd0-sd11 and sd12-23.

Do you have the disk in a loop that includes both ports on the 2200? That
could explain why the disks are seen twice. And I believe only one WWN
is saved from the boot so if it sees the same disk on the other port
it may be lost.

 Ken

 
 
 r...@sf880 ~sysctl hw.disknames
 hw.disknames=cd0,sd0,sd1,sd2,sd3,sd4,sd5,sd6,sd7,sd8,sd9,sd10,sd11,sd12,sd13,
 sd14,sd15,sd16,sd17,sd18,sd19,sd20,sd21,sd22,sd23
 
 
 
 compare disk serial numbers :
 
 r...@sf880 ~bioctl  sd0
 sd0: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0N1K67214DE8J
 r...@sf880 ~bioctl  sd1
 sd1: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0JHHX7214DDNK
 
 r...@sf880 ~bioctl  sd12
 sd12: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0N1K67214DE8J
 r...@sf880 ~bioctl  sd13
 sd13: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0JHHX7214DDNK
 
 
 
 
 
 full dmesg:
 
 
 console is /p...@9,70/e...@1/ser...@1,40:a
 Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California.  All rights reserved.
 Copyright (c) 1995-2009 OpenBSD. All rights reserved.  http://www.OpenBSD.org
 
 OpenBSD 4.6 (GENERIC.MP) #53: Thu Jul  9 21:50:16 MDT 2009
 dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC.MP
 real mem = 4294967296 (4096MB)
 avail mem = 4140875776 (3949MB)
 mainbus0 at root: Sun Fire 880
 cpu0 at mainbus0: SUNW,UltraSPARC-III (rev 5.4) @ 750 MHz
 cpu0: physical 32K instruction (32 b/l), 64K data (32 b/l), 8192K external
 (512 b/l)
 cpu1 at mainbus0: SUNW,UltraSPARC-III (rev 5.4) @ 750 MHz
 cpu1: physical 32K instruction (32 b/l), 64K data (32 b/l), 8192K external
 (512 b/l)
 memory-controller at mainbus0 not configured
 memory-controller at mainbus0 not configured
 schizo0 at mainbus0: Schizo, version 4, ign 200, bus B 0 to 1
 schizo0: dvma map c000-
 pci0 at schizo0
 siop0 at pci0 dev 1 function 0 Symbios Logic 53c875 rev 0x04: ivec 0x21c,
 using 4K of on-board RAM
 scsibus0 at siop0: 16 targets, initiator 7
 cd0 at scsibus0 targ 6 lun 0: TOSHIBA, DVD-ROM SD-M1401, 1009 SCSI2 5/cdrom
 removable
 ppb0 at pci0 dev 5 function 0 DEC 21154 PCI-PCI rev 0x05
 pci1 at ppb0 bus 1
 isp0 at pci1 dev 4 function 0 QLogic ISP2200 rev 0x05: ivec 0x218
 isp0: Board Type 2200, Chip Revision 0x5, loaded F/W Revision 2.2.6
 scsibus1 at isp0: 512 targets
 sd0 at scsibus1 targ 0 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3 0/direct
 fixed
 sd0: 34732MB, 512 bytes/sec, 71132959 sec total
 sd1 at scsibus1 targ 1 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3 0/direct
 fixed
 sd1: 34732MB, 512 bytes/sec, 71132959 sec total
 sd2 at scsibus1 targ 2 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3 0/direct
 fixed
 sd2: 34732MB, 512 bytes/sec, 71132959 sec total
 sd3 at scsibus1 targ 3 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3 0/direct
 fixed
 sd3: 34732MB, 512 bytes/sec, 71132959 sec total
 sd4 at scsibus1 targ 4 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3 0/direct
 fixed
 sd4: 34732MB, 512 bytes/sec, 71132959 sec total
 sd5 at scsibus1 targ 5 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3 0/direct
 fixed
 sd5: 34732MB, 512 bytes/sec, 71132959 sec total
 ses0 at scsibus1 targ 6 lun 0: SUNW, SUNWGS INT FCBPL, 9222 SCSI3
 13/enclosure services fixed
 sd6 at scsibus1 targ 7 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3 0/direct
 fixed
 sd6: 34732MB, 512 bytes/sec, 71132959 sec total
 sd7 at scsibus1 targ 8 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3 0/direct
 fixed
 sd7: 34732MB, 512 bytes/sec, 71132959 sec total
 sd8 at scsibus1 targ 9 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3 0/direct
 fixed
 sd8: 34732MB, 512 bytes/sec, 71132959 sec total
 sd9 at scsibus1 targ 10 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3 0/direct
 fixed
 sd9: 34732MB, 512 bytes/sec, 71132959 sec total
 sd10 at scsibus1 targ 11 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
 0/direct fixed
 sd10: 34732MB, 512 bytes/sec, 71132959 sec total
 sd11 at scsibus1 targ 12 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
 0/direct fixed
 sd11: 34732MB, 512 bytes/sec, 71132959 sec total
 isp1 at pci1 dev 5 function 0 QLogic ISP2200 rev 0x05: ivec 0x219
 isp1: Board Type 2200, Chip Revision 0x5, loaded F/W Revision 2.2.6
 scsibus2 at isp1: 512 targets
 schizo1 at mainbus0: Schizo, version 4, ign 200, bus A 0 to 0
 schizo1: dvma map c000-
 pci2 at schizo1
 gem0 at pci2 dev 1 function 0 Sun GEM rev 0x01: ivec 0x200, address
 00:03:ba:08:de:01
 gentbi0 at gem0 phy 0: Generic ten-bit interface, rev. 0
 isp2 at pci2 dev 2 function 0 QLogic ISP2200 rev 0x05: ivec 0x204
 isp2: 

Re: Sun Fire 880 phantom disks

2010-03-01 Thread philippe aubry
Hello,
In the openfirmware env you can save only one device to boot if I remember
correctly. If you want to have access to openfirmware you must set the var
autoboot or something like that to NO or check the combination of key
keyboard to sun web site. A printenv return all vars for your openfirmware.

If you have two device that can be bootable, it is not a real problem, the
path to boot device is taken from openfirmware.

The problem it is probably after the boot process where openbsd detect other
disk and found another disk with the same serial number and marked as
bootable and this disk is already use by the current boot process. It is
probably for that reason if you install on sd12 ( in fact sd0) that system
can boot crorrectly.

Sorry I repeat again but You must have only one path to access to the boot
device. You must modify your hardware setup or install a driver to manage
path access to the disk.

Phil

2010/3/1 Kenneth R Westerback kwesterb...@rogers.com

 On Mon, Mar 01, 2010 at 03:56:22PM +0100, Pete Vickers wrote:
  Hei,
 
 
  Upon booting either 4.6-RELEASE or 4.7-BETA on my SunFire 880 causes the
  kernel it to 'see' twice the correct number of physical disk. Further if
 I
  install the o/s  using bsd.rd on to sd0, then upon reboot the kernel
 can't
  find the root disk. However if I install on sd12 then booting etc is
 fine.
 
  the machine has physically 12 disks (36GB FC-AL), which appear to be
  duplicated as sd0-sd11 and sd12-23.

 Do you have the disk in a loop that includes both ports on the 2200? That
 could explain why the disks are seen twice. And I believe only one WWN
 is saved from the boot so if it sees the same disk on the other port
 it may be lost.

  Ken

 
 
  r...@sf880 ~sysctl hw.disknames
 
 hw.disknames=cd0,sd0,sd1,sd2,sd3,sd4,sd5,sd6,sd7,sd8,sd9,sd10,sd11,sd12,sd13,
  sd14,sd15,sd16,sd17,sd18,sd19,sd20,sd21,sd22,sd23
 
 
 
  compare disk serial numbers :
 
  r...@sf880 ~bioctl  sd0
  sd0: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0N1K67214DE8J
  r...@sf880 ~bioctl  sd1
  sd1: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0JHHX7214DDNK
 
  r...@sf880 ~bioctl  sd12
  sd12: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0N1K67214DE8J
  r...@sf880 ~bioctl  sd13
  sd13: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0JHHX7214DDNK
 
 
 
 
 
  full dmesg:
 
 
  console is /p...@9,70/e...@1/ser...@1,40:a
  Copyright (c) 1982, 1986, 1989, 1991, 1993
  The Regents of the University of California.  All rights
 reserved.
  Copyright (c) 1995-2009 OpenBSD. All rights reserved.
 http://www.OpenBSD.org
 
  OpenBSD 4.6 (GENERIC.MP) #53: Thu Jul  9 21:50:16 MDT 2009
  dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/
 GENERIC.MP
  real mem = 4294967296 (4096MB)
  avail mem = 4140875776 (3949MB)
  mainbus0 at root: Sun Fire 880
  cpu0 at mainbus0: SUNW,UltraSPARC-III (rev 5.4) @ 750 MHz
  cpu0: physical 32K instruction (32 b/l), 64K data (32 b/l), 8192K
 external
  (512 b/l)
  cpu1 at mainbus0: SUNW,UltraSPARC-III (rev 5.4) @ 750 MHz
  cpu1: physical 32K instruction (32 b/l), 64K data (32 b/l), 8192K
 external
  (512 b/l)
  memory-controller at mainbus0 not configured
  memory-controller at mainbus0 not configured
  schizo0 at mainbus0: Schizo, version 4, ign 200, bus B 0 to 1
  schizo0: dvma map c000-
  pci0 at schizo0
  siop0 at pci0 dev 1 function 0 Symbios Logic 53c875 rev 0x04: ivec
 0x21c,
  using 4K of on-board RAM
  scsibus0 at siop0: 16 targets, initiator 7
  cd0 at scsibus0 targ 6 lun 0: TOSHIBA, DVD-ROM SD-M1401, 1009 SCSI2
 5/cdrom
  removable
  ppb0 at pci0 dev 5 function 0 DEC 21154 PCI-PCI rev 0x05
  pci1 at ppb0 bus 1
  isp0 at pci1 dev 4 function 0 QLogic ISP2200 rev 0x05: ivec 0x218
  isp0: Board Type 2200, Chip Revision 0x5, loaded F/W Revision 2.2.6
  scsibus1 at isp0: 512 targets
  sd0 at scsibus1 targ 0 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
 0/direct
  fixed
  sd0: 34732MB, 512 bytes/sec, 71132959 sec total
  sd1 at scsibus1 targ 1 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
 0/direct
  fixed
  sd1: 34732MB, 512 bytes/sec, 71132959 sec total
  sd2 at scsibus1 targ 2 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
 0/direct
  fixed
  sd2: 34732MB, 512 bytes/sec, 71132959 sec total
  sd3 at scsibus1 targ 3 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
 0/direct
  fixed
  sd3: 34732MB, 512 bytes/sec, 71132959 sec total
  sd4 at scsibus1 targ 4 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
 0/direct
  fixed
  sd4: 34732MB, 512 bytes/sec, 71132959 sec total
  sd5 at scsibus1 targ 5 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
 0/direct
  fixed
  sd5: 34732MB, 512 bytes/sec, 71132959 sec total
  ses0 at scsibus1 targ 6 lun 0: SUNW, SUNWGS INT FCBPL, 9222 SCSI3
  13/enclosure services fixed
  sd6 at scsibus1 targ 7 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
 0/direct
  fixed
  sd6: 34732MB, 512 bytes/sec, 71132959 sec total
  sd7 at scsibus1 targ 8 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
 0/direct
  fixed
  sd7: 

Re: Sun Fire 880 phantom disks

2010-03-01 Thread Pete Vickers
Hi,

The 880 is stock from Sun. I've done no hardware plumbing on it.

According to http://docs.sun.com/app/docs/doc/806-7338-10/6jg7hm79b?a=view

You can use multipathing software to switch I/O operations from one I/O
controller to another to prepare for DR operations. With a combination of DR
and multipathing software, you can remove, replace, or deactivate a PCI
controller card with no interruption to system operation. Note that this
requires redundant hardware; that is, the system must contain an alternate I/O
controller that is connected to the same device(s) as the card being removed
or replaced

So the disk bus is connected to two controllers for redundancy, and Solaris
obviously deals with this accordingly. I guess I should config a controller
away to stop OpenBSD seeing it ? In the longer term perhaps OpenBSD scsi layer
could examine disk serial numbers, and avoid assigning device IDs to
subsequent disks with the same serial number ?


{2} ok devalias
cdrom/p...@8,70/s...@1/d...@6,0:f
tape /p...@8,70/s...@1/t...@4,0
scsix/p...@8,70/s...@1
disk /p...@8,60/SUNW,q...@2/f...@0,0/d...@0,0
disk0/p...@8,60/SUNW,q...@2/f...@0,0/d...@0,0
disk1/p...@8,60/SUNW,q...@2/f...@0,0/d...@1,0
disk2/p...@8,60/SUNW,q...@2/f...@0,0/d...@2,0
disk3/p...@8,60/SUNW,q...@2/f...@0,0/d...@3,0
disk4/p...@8,60/SUNW,q...@2/f...@0,0/d...@4,0
disk5/p...@8,60/SUNW,q...@2/f...@0,0/d...@5,0
disk6/p...@8,60/SUNW,q...@2/f...@0,0/d...@8,0
disk7/p...@8,60/SUNW,q...@2/f...@0,0/d...@9,0
disk8/p...@8,60/SUNW,q...@2/f...@0,0/d...@a,0
disk9/p...@8,60/SUNW,q...@2/f...@0,0/d...@b,0
disk10   /p...@8,60/SUNW,q...@2/f...@0,0/d...@c,0
disk11   /p...@8,60/SUNW,q...@2/f...@0,0/d...@d,0
scsi /p...@8,60/SUNW,q...@2
net  /p...@9,70/netw...@1,1
gem  /p...@8,60/netw...@1
flash/p...@9,70/e...@1/flashp...@0,0
idprom   /p...@9,70/e...@1/i...@1,500030/idp...@0,a0
nvram/p...@9,70/e...@1/i...@1,500030/nv...@0,a0
i2c3 /p...@9,70/e...@1/i...@1,500030
i2c2 /p...@9,70/e...@1/i...@1,50002e
bbc1 /p...@9,70/e...@1/b...@1,50
i2c1 /p...@9,70/e...@1/i...@1,30
i2c0 /p...@9,70/e...@1/i...@1,2e
bbc0 /p...@9,70/e...@1/b...@1,0
rsc-console  /p...@9,70/e...@1/rsc-cons...@1,3083f8
rsc-control  /p...@9,70/e...@1/rsc-cont...@1,3062f8
ttyb /p...@9,70/e...@1/ser...@1,40:b
ttya /p...@9,70/e...@1/ser...@1,40:a
pci9b/p...@9,70
pci9a/p...@9,60
pci8b/p...@8,70
pci8a/p...@8,60
ebus /p...@9,70/e...@1
name aliases




/Pete




On 1. mars 2010, at 19.40, Kenneth R Westerback wrote:

 On Mon, Mar 01, 2010 at 03:56:22PM +0100, Pete Vickers wrote:
 Hei,


 Upon booting either 4.6-RELEASE or 4.7-BETA on my SunFire 880 causes the
 kernel it to 'see' twice the correct number of physical disk. Further if I
 install the o/s  using bsd.rd on to sd0, then upon reboot the kernel can't
 find the root disk. However if I install on sd12 then booting etc is fine.

 the machine has physically 12 disks (36GB FC-AL), which appear to be
 duplicated as sd0-sd11 and sd12-23.

 Do you have the disk in a loop that includes both ports on the 2200? That
 could explain why the disks are seen twice. And I believe only one WWN
 is saved from the boot so if it sees the same disk on the other port
 it may be lost.

  Ken



 r...@sf880 ~sysctl hw.disknames

hw.disknames=cd0,sd0,sd1,sd2,sd3,sd4,sd5,sd6,sd7,sd8,sd9,sd10,sd11,sd12,sd13,
 sd14,sd15,sd16,sd17,sd18,sd19,sd20,sd21,sd22,sd23



 compare disk serial numbers :

 r...@sf880 ~bioctl  sd0
 sd0: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0N1K67214DE8J
 r...@sf880 ~bioctl  sd1
 sd1: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0JHHX7214DDNK

 r...@sf880 ~bioctl  sd12
 sd12: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0N1K67214DE8J
 r...@sf880 ~bioctl  sd13
 sd13: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0JHHX7214DDNK





 full dmesg:


 console is /p...@9,70/e...@1/ser...@1,40:a
 Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
 Copyright (c) 1995-2009 OpenBSD. All rights reserved.
http://www.OpenBSD.org

 OpenBSD 4.6 (GENERIC.MP) #53: Thu Jul  9 21:50:16 MDT 2009


Re: Sun Fire 880 phantom disks

2010-03-01 Thread Pete Vickers
Hi,

Just FYI:


{2} ok  setenv boot-device disk0 disk1
boot-device =   disk0 disk1


this boots disk0 or fails over to disk1.


/Pete



On 1. mars 2010, at 20.14, philippe aubry wrote:

 In the openfirmware env you can save only one device to boot if I remember
 correctly. 



Re: Sun Fire 880 phantom disks

2010-03-01 Thread David Gwynne
your 880 has two internal fibre loops. you see teh disks once on the first
loop, and again on the second loop.

i am slowly working on finishing mpath(4), which will let you see your disks
once no matter how many paths you have to them. if someone could email me some
spare time so i can finish working on it, that would be great.

dlg

On 02/03/2010, at 12:56 AM, Pete Vickers wrote:

 Hei,


 Upon booting either 4.6-RELEASE or 4.7-BETA on my SunFire 880 causes the
 kernel it to 'see' twice the correct number of physical disk. Further if I
 install the o/s  using bsd.rd on to sd0, then upon reboot the kernel can't
 find the root disk. However if I install on sd12 then booting etc is fine.

 the machine has physically 12 disks (36GB FC-AL), which appear to be
 duplicated as sd0-sd11 and sd12-23.


 r...@sf880 ~sysctl hw.disknames

hw.disknames=cd0,sd0,sd1,sd2,sd3,sd4,sd5,sd6,sd7,sd8,sd9,sd10,sd11,sd12,sd13,
 sd14,sd15,sd16,sd17,sd18,sd19,sd20,sd21,sd22,sd23



 compare disk serial numbers :

 r...@sf880 ~bioctl  sd0
 sd0: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0N1K67214DE8J
 r...@sf880 ~bioctl  sd1
 sd1: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0JHHX7214DDNK

 r...@sf880 ~bioctl  sd12
 sd12: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0N1K67214DE8J
 r...@sf880 ~bioctl  sd13
 sd13: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0JHHX7214DDNK





 full dmesg:


 console is /p...@9,70/e...@1/ser...@1,40:a
 Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
 Copyright (c) 1995-2009 OpenBSD. All rights reserved.
http://www.OpenBSD.org

 OpenBSD 4.6 (GENERIC.MP) #53: Thu Jul  9 21:50:16 MDT 2009
dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC.MP
 real mem = 4294967296 (4096MB)
 avail mem = 4140875776 (3949MB)
 mainbus0 at root: Sun Fire 880
 cpu0 at mainbus0: SUNW,UltraSPARC-III (rev 5.4) @ 750 MHz
 cpu0: physical 32K instruction (32 b/l), 64K data (32 b/l), 8192K external
 (512 b/l)
 cpu1 at mainbus0: SUNW,UltraSPARC-III (rev 5.4) @ 750 MHz
 cpu1: physical 32K instruction (32 b/l), 64K data (32 b/l), 8192K external
 (512 b/l)
 memory-controller at mainbus0 not configured
 memory-controller at mainbus0 not configured
 schizo0 at mainbus0: Schizo, version 4, ign 200, bus B 0 to 1
 schizo0: dvma map c000-
 pci0 at schizo0
 siop0 at pci0 dev 1 function 0 Symbios Logic 53c875 rev 0x04: ivec 0x21c,
 using 4K of on-board RAM
 scsibus0 at siop0: 16 targets, initiator 7
 cd0 at scsibus0 targ 6 lun 0: TOSHIBA, DVD-ROM SD-M1401, 1009 SCSI2
5/cdrom
 removable
 ppb0 at pci0 dev 5 function 0 DEC 21154 PCI-PCI rev 0x05
 pci1 at ppb0 bus 1
 isp0 at pci1 dev 4 function 0 QLogic ISP2200 rev 0x05: ivec 0x218
 isp0: Board Type 2200, Chip Revision 0x5, loaded F/W Revision 2.2.6
 scsibus1 at isp0: 512 targets
 sd0 at scsibus1 targ 0 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
0/direct
 fixed
 sd0: 34732MB, 512 bytes/sec, 71132959 sec total
 sd1 at scsibus1 targ 1 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
0/direct
 fixed
 sd1: 34732MB, 512 bytes/sec, 71132959 sec total
 sd2 at scsibus1 targ 2 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
0/direct
 fixed
 sd2: 34732MB, 512 bytes/sec, 71132959 sec total
 sd3 at scsibus1 targ 3 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
0/direct
 fixed
 sd3: 34732MB, 512 bytes/sec, 71132959 sec total
 sd4 at scsibus1 targ 4 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
0/direct
 fixed
 sd4: 34732MB, 512 bytes/sec, 71132959 sec total
 sd5 at scsibus1 targ 5 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
0/direct
 fixed
 sd5: 34732MB, 512 bytes/sec, 71132959 sec total
 ses0 at scsibus1 targ 6 lun 0: SUNW, SUNWGS INT FCBPL, 9222 SCSI3
 13/enclosure services fixed
 sd6 at scsibus1 targ 7 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
0/direct
 fixed
 sd6: 34732MB, 512 bytes/sec, 71132959 sec total
 sd7 at scsibus1 targ 8 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
0/direct
 fixed
 sd7: 34732MB, 512 bytes/sec, 71132959 sec total
 sd8 at scsibus1 targ 9 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
0/direct
 fixed
 sd8: 34732MB, 512 bytes/sec, 71132959 sec total
 sd9 at scsibus1 targ 10 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
0/direct
 fixed
 sd9: 34732MB, 512 bytes/sec, 71132959 sec total
 sd10 at scsibus1 targ 11 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
 0/direct fixed
 sd10: 34732MB, 512 bytes/sec, 71132959 sec total
 sd11 at scsibus1 targ 12 lun 0: SEAGATE, ST336605FSUN36G, 0438 SCSI3
 0/direct fixed
 sd11: 34732MB, 512 bytes/sec, 71132959 sec total
 isp1 at pci1 dev 5 function 0 QLogic ISP2200 rev 0x05: ivec 0x219
 isp1: Board Type 2200, Chip Revision 0x5, loaded F/W Revision 2.2.6
 scsibus2 at isp1: 512 targets
 schizo1 at mainbus0: Schizo, version 4, ign 200, bus A 0 to 0
 schizo1: dvma map c000-
 pci2 at schizo1
 gem0 at pci2 dev 1 function 0 Sun GEM rev 0x01: ivec 0x200, address
 00:03:ba:08:de:01
 gentbi0 at gem0 phy 0: Generic ten-bit interface, rev. 0
 isp2 at pci2 

Re: Sun Fire 880 phantom disks

2010-03-01 Thread bofh
On Mon, Mar 1, 2010 at 5:28 PM, David Gwynne l...@animata.net wrote:

 your 880 has two internal fibre loops. you see teh disks once on the first
 loop, and again on the second loop.

 i am slowly working on finishing mpath(4), which will let you see your
 disks
 once no matter how many paths you have to them. if someone could email me
 some
 spare time so i can finish working on it, that would be great.


Please provide specs of this spare time you need.  Is it circular in
shape, like one of those round tuits I used to have quite a collection of?

It's not related to one of those get a life things at all, is it?

-- 
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
This officer's men seem to follow him merely out of idle curiosity.  --
Sandhurst officer cadet evaluation.
Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks factory
where smoking on the job is permitted.  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=30v_g83VHK4



Re: Sun Fire 880 phantom disks

2010-03-01 Thread Bryan Irvine
On Mon, Mar 1, 2010 at 2:44 PM, bofh goodb...@gmail.com wrote:
 On Mon, Mar 1, 2010 at 5:28 PM, David Gwynne l...@animata.net wrote:

 your 880 has two internal fibre loops. you see teh disks once on the first
 loop, and again on the second loop.

 i am slowly working on finishing mpath(4), which will let you see your
 disks
 once no matter how many paths you have to them. if someone could email me
 some
 spare time so i can finish working on it, that would be great.


 Please provide specs of this spare time you need.  Is it circular in
 shape, like one of those round tuits I used to have quite a collection of?

 It's not related to one of those get a life things at all, is it?

I think the spare time to which he refers comes in the form of
denominations. A stack of 20's 2 high might be enough time.

-B



Re: Sun Fire 880 phantom disks

2010-03-01 Thread Kenneth R Westerback
On Mon, Mar 01, 2010 at 10:58:31PM +0100, Pete Vickers wrote:
 Hi,
 
 The 880 is stock from Sun. I've done no hardware plumbing on it.
 
 According to http://docs.sun.com/app/docs/doc/806-7338-10/6jg7hm79b?a=view
 
 You can use multipathing software to switch I/O operations from one I/O 
 controller to another to prepare for DR operations. With a combination of DR 
 and multipathing software, you can remove, replace, or deactivate a PCI 
 controller card with no interruption to system operation. Note that this 
 requires redundant hardware; that is, the system must contain an alternate 
 I/O controller that is connected to the same device(s) as the card being 
 removed or replaced
 
 So the disk bus is connected to two controllers for redundancy, and Solaris 
 obviously deals with this accordingly. I guess I should config a controller 
 away to stop OpenBSD seeing it ? In the longer term perhaps OpenBSD scsi 
 layer could examine disk serial numbers, and avoid assigning device IDs to 
 subsequent disks with the same serial number ?

OpenBSD already has the beginning of multi-path support, but it is
early days. man mpath(4) on -current. But at the moment if the box is
configured to allow both ports to see all the disks then you will
have to take manual action of some kind to suppress the 2nd set.

 Ken

 
 
 {2} ok devalias
 cdrom/p...@8,70/s...@1/d...@6,0:f
 tape /p...@8,70/s...@1/t...@4,0
 scsix/p...@8,70/s...@1
 disk /p...@8,60/SUNW,q...@2/f...@0,0/d...@0,0
 disk0/p...@8,60/SUNW,q...@2/f...@0,0/d...@0,0
 disk1/p...@8,60/SUNW,q...@2/f...@0,0/d...@1,0
 disk2/p...@8,60/SUNW,q...@2/f...@0,0/d...@2,0
 disk3/p...@8,60/SUNW,q...@2/f...@0,0/d...@3,0
 disk4/p...@8,60/SUNW,q...@2/f...@0,0/d...@4,0
 disk5/p...@8,60/SUNW,q...@2/f...@0,0/d...@5,0
 disk6/p...@8,60/SUNW,q...@2/f...@0,0/d...@8,0
 disk7/p...@8,60/SUNW,q...@2/f...@0,0/d...@9,0
 disk8/p...@8,60/SUNW,q...@2/f...@0,0/d...@a,0
 disk9/p...@8,60/SUNW,q...@2/f...@0,0/d...@b,0
 disk10   /p...@8,60/SUNW,q...@2/f...@0,0/d...@c,0
 disk11   /p...@8,60/SUNW,q...@2/f...@0,0/d...@d,0
 scsi /p...@8,60/SUNW,q...@2
 net  /p...@9,70/netw...@1,1
 gem  /p...@8,60/netw...@1
 flash/p...@9,70/e...@1/flashp...@0,0
 idprom   /p...@9,70/e...@1/i...@1,500030/idp...@0,a0
 nvram/p...@9,70/e...@1/i...@1,500030/nv...@0,a0
 i2c3 /p...@9,70/e...@1/i...@1,500030
 i2c2 /p...@9,70/e...@1/i...@1,50002e
 bbc1 /p...@9,70/e...@1/b...@1,50
 i2c1 /p...@9,70/e...@1/i...@1,30
 i2c0 /p...@9,70/e...@1/i...@1,2e
 bbc0 /p...@9,70/e...@1/b...@1,0
 rsc-console  /p...@9,70/e...@1/rsc-cons...@1,3083f8
 rsc-control  /p...@9,70/e...@1/rsc-cont...@1,3062f8
 ttyb /p...@9,70/e...@1/ser...@1,40:b
 ttya /p...@9,70/e...@1/ser...@1,40:a
 pci9b/p...@9,70
 pci9a/p...@9,60
 pci8b/p...@8,70
 pci8a/p...@8,60
 ebus /p...@9,70/e...@1
 name aliases
 
 
 
 
 /Pete
 
 
 
 
 On 1. mars 2010, at 19.40, Kenneth R Westerback wrote:
 
  On Mon, Mar 01, 2010 at 03:56:22PM +0100, Pete Vickers wrote:
  Hei,
  
  
  Upon booting either 4.6-RELEASE or 4.7-BETA on my SunFire 880 causes the
  kernel it to 'see' twice the correct number of physical disk. Further if I
  install the o/s  using bsd.rd on to sd0, then upon reboot the kernel can't
  find the root disk. However if I install on sd12 then booting etc is fine.
  
  the machine has physically 12 disks (36GB FC-AL), which appear to be
  duplicated as sd0-sd11 and sd12-23.
  
  Do you have the disk in a loop that includes both ports on the 2200? That
  could explain why the disks are seen twice. And I believe only one WWN
  is saved from the boot so if it sees the same disk on the other port
  it may be lost.
  
   Ken
  
  
  
  r...@sf880 ~sysctl hw.disknames
  hw.disknames=cd0,sd0,sd1,sd2,sd3,sd4,sd5,sd6,sd7,sd8,sd9,sd10,sd11,sd12,sd13,
  sd14,sd15,sd16,sd17,sd18,sd19,sd20,sd21,sd22,sd23
  
  
  
  compare disk serial numbers :
  
  r...@sf880 ~bioctl  sd0
  sd0: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0N1K67214DE8J
  r...@sf880 ~bioctl  sd1
  sd1: SEAGATE, ST336605FSUN36G, 0438, serial 3FP0JHHX7214DDNK
  
  r...@sf880 ~bioctl  sd12
  sd12: SEAGATE, ST336605FSUN36G, 0438, serial 

Re: Sun Fire 880 phantom disks

2010-03-01 Thread mehma sarja
That's spare change. If you change the 'm' to a 'r', then you can have mine.

Mehma
===

On Mon, Mar 1, 2010 at 3:25 PM, Kenneth R Westerback kwesterb...@rogers.com
 wrote:

 On Mon, Mar 01, 2010 at 10:58:31PM +0100, Pete Vickers wrote:
  Hi,
 
  The 880 is stock from Sun. I've done no hardware plumbing on it.
 
  According to
 http://docs.sun.com/app/docs/doc/806-7338-10/6jg7hm79b?a=view
 
  You can use multipathing software to switch I/O operations from one I/O
 controller to another to prepare for DR operations. With a combination of DR
 and multipathing software, you can remove, replace, or deactivate a PCI
 controller card with no interruption to system operation. Note that this
 requires redundant hardware; that is, the system must contain an alternate
 I/O controller that is connected to the same device(s) as the card being
 removed or replaced
 
  So the disk bus is connected to two controllers for redundancy, and
 Solaris obviously deals with this accordingly. I guess I should config a
 controller away to stop OpenBSD seeing it ? In the longer term perhaps
 OpenBSD scsi layer could examine disk serial numbers, and avoid assigning
 device IDs to subsequent disks with the same serial number ?

 OpenBSD already has the beginning of multi-path support, but it is
 early days. man mpath(4) on -current. But at the moment if the box is
 configured to allow both ports to see all the disks then you will
 have to take manual action of some kind to suppress the 2nd set.

  Ken

 
 
  {2} ok devalias
  cdrom/p...@8,70/s...@1/d...@6,0:f
  tape /p...@8,70/s...@1/t...@4,0
  scsix/p...@8,70/s...@1
  disk /p...@8,60/SUNW,q...@2/f...@0,0/d...@0,0
  disk0/p...@8,60/SUNW,q...@2/f...@0,0/d...@0,0
  disk1/p...@8,60/SUNW,q...@2/f...@0,0/d...@1,0
  disk2/p...@8,60/SUNW,q...@2/f...@0,0/d...@2,0
  disk3/p...@8,60/SUNW,q...@2/f...@0,0/d...@3,0
  disk4/p...@8,60/SUNW,q...@2/f...@0,0/d...@4,0
  disk5/p...@8,60/SUNW,q...@2/f...@0,0/d...@5,0
  disk6/p...@8,60/SUNW,q...@2/f...@0,0/d...@8,0
  disk7/p...@8,60/SUNW,q...@2/f...@0,0/d...@9,0
  disk8/p...@8,60/SUNW,q...@2/f...@0,0/d...@a,0
  disk9/p...@8,60/SUNW,q...@2/f...@0,0/d...@b,0
  disk10   /p...@8,60/SUNW,q...@2/f...@0,0/d...@c,0
  disk11   /p...@8,60/SUNW,q...@2/f...@0,0/d...@d,0
  scsi /p...@8,60/SUNW,q...@2
  net  /p...@9,70/netw...@1,1
  gem  /p...@8,60/netw...@1
  flash/p...@9,70/e...@1/flashp...@0,0
  idprom   /p...@9,70/e...@1/i...@1,500030/idp...@0,a0
  nvram/p...@9,70/e...@1/i...@1,500030/nv...@0,a0
  i2c3 /p...@9,70/e...@1/i...@1,500030
  i2c2 /p...@9,70/e...@1/i...@1,50002e
  bbc1 /p...@9,70/e...@1/b...@1,50
  i2c1 /p...@9,70/e...@1/i...@1,30
  i2c0 /p...@9,70/e...@1/i...@1,2e
  bbc0 /p...@9,70/e...@1/b...@1,0
  rsc-console  /p...@9,70/e...@1/rsc-cons...@1,3083f8
  rsc-control  /p...@9,70/e...@1/rsc-cont...@1,3062f8
  ttyb /p...@9,70/e...@1/ser...@1,40:b
  ttya /p...@9,70/e...@1/ser...@1,40:a
  pci9b/p...@9,70
  pci9a/p...@9,60
  pci8b/p...@8,70
  pci8a/p...@8,60
  ebus /p...@9,70/e...@1
  name aliases
 
 
 
 
  /Pete
 
 
 
 
  On 1. mars 2010, at 19.40, Kenneth R Westerback wrote:
 
   On Mon, Mar 01, 2010 at 03:56:22PM +0100, Pete Vickers wrote:
   Hei,
  
  
   Upon booting either 4.6-RELEASE or 4.7-BETA on my SunFire 880 causes
 the
   kernel it to 'see' twice the correct number of physical disk. Further
 if I
   install the o/s  using bsd.rd on to sd0, then upon reboot the kernel
 can't
   find the root disk. However if I install on sd12 then booting etc is
 fine.
  
   the machine has physically 12 disks (36GB FC-AL), which appear to be
   duplicated as sd0-sd11 and sd12-23.
  
   Do you have the disk in a loop that includes both ports on the 2200?
 That
   could explain why the disks are seen twice. And I believe only one WWN
   is saved from the boot so if it sees the same disk on the other port
   it may be lost.
  
    Ken
  
  
  
   r...@sf880 ~sysctl hw.disknames
  
 hw.disknames=cd0,sd0,sd1,sd2,sd3,sd4,sd5,sd6,sd7,sd8,sd9,sd10,sd11,sd12,sd13,
   sd14,sd15,sd16,sd17,sd18,sd19,sd20,sd21,sd22,sd23
  
  
  
   compare disk serial numbers :
  
   r...@sf880 ~bioctl  sd0
   

Re: Sun Fire 880 phantom disks

2010-03-01 Thread phil

Hi,

Sorry I'm wrong for setting device boot in openfirmrware, I have checked 
on old power pc, you can set more than one boot disk. On my system I can 
set 4 bootable devices no more but on your sun it probably different.


If OpenBSD as the begining of multi-path support you are ok to install 
with the both active loop on your sun. This is a really good features 
for OpenBSD but this is a really hard works to write a multi-pathing driver.


Question for Ken : with FCAL the multi-path driver use serial number of 
disk or world wide name of disk to identify a unique disk with multi-path ?
Because in Fabric mode we use world wide name and NportID ( wwn of port 
switch ).


I'am not a really good with C but I work for a long time with Fibre 
Channel storage, Ken are you interesting by some help or some test, I 
have some old hardware not used and I can install an openBSD 4.7 or 
current to do some test.


Phil

Kenneth R Westerback wrote:

On Mon, Mar 01, 2010 at 10:58:31PM +0100, Pete Vickers wrote:
  

Hi,

The 880 is stock from Sun. I've done no hardware plumbing on it.

According to http://docs.sun.com/app/docs/doc/806-7338-10/6jg7hm79b?a=view

You can use multipathing software to switch I/O operations from one I/O controller 
to another to prepare for DR operations. With a combination of DR and multipathing 
software, you can remove, replace, or deactivate a PCI controller card with no 
interruption to system operation. Note that this requires redundant hardware; that is, 
the system must contain an alternate I/O controller that is connected to the same 
device(s) as the card being removed or replaced

So the disk bus is connected to two controllers for redundancy, and Solaris 
obviously deals with this accordingly. I guess I should config a controller 
away to stop OpenBSD seeing it ? In the longer term perhaps OpenBSD scsi layer 
could examine disk serial numbers, and avoid assigning device IDs to subsequent 
disks with the same serial number ?



OpenBSD already has the beginning of multi-path support, but it is
early days. man mpath(4) on -current. But at the moment if the box is
configured to allow both ports to see all the disks then you will
have to take manual action of some kind to suppress the 2nd set.

 Ken

  

{2} ok devalias
cdrom/p...@8,70/s...@1/d...@6,0:f
tape /p...@8,70/s...@1/t...@4,0
scsix/p...@8,70/s...@1
disk /p...@8,60/SUNW,q...@2/f...@0,0/d...@0,0
disk0/p...@8,60/SUNW,q...@2/f...@0,0/d...@0,0
disk1/p...@8,60/SUNW,q...@2/f...@0,0/d...@1,0
disk2/p...@8,60/SUNW,q...@2/f...@0,0/d...@2,0
disk3/p...@8,60/SUNW,q...@2/f...@0,0/d...@3,0
disk4/p...@8,60/SUNW,q...@2/f...@0,0/d...@4,0
disk5/p...@8,60/SUNW,q...@2/f...@0,0/d...@5,0
disk6/p...@8,60/SUNW,q...@2/f...@0,0/d...@8,0
disk7/p...@8,60/SUNW,q...@2/f...@0,0/d...@9,0
disk8/p...@8,60/SUNW,q...@2/f...@0,0/d...@a,0
disk9/p...@8,60/SUNW,q...@2/f...@0,0/d...@b,0
disk10   /p...@8,60/SUNW,q...@2/f...@0,0/d...@c,0
disk11   /p...@8,60/SUNW,q...@2/f...@0,0/d...@d,0
scsi /p...@8,60/SUNW,q...@2
net  /p...@9,70/netw...@1,1
gem  /p...@8,60/netw...@1
flash/p...@9,70/e...@1/flashp...@0,0
idprom   /p...@9,70/e...@1/i...@1,500030/idp...@0,a0
nvram/p...@9,70/e...@1/i...@1,500030/nv...@0,a0
i2c3 /p...@9,70/e...@1/i...@1,500030
i2c2 /p...@9,70/e...@1/i...@1,50002e
bbc1 /p...@9,70/e...@1/b...@1,50
i2c1 /p...@9,70/e...@1/i...@1,30
i2c0 /p...@9,70/e...@1/i...@1,2e
bbc0 /p...@9,70/e...@1/b...@1,0
rsc-console  /p...@9,70/e...@1/rsc-cons...@1,3083f8
rsc-control  /p...@9,70/e...@1/rsc-cont...@1,3062f8
ttyb /p...@9,70/e...@1/ser...@1,40:b
ttya /p...@9,70/e...@1/ser...@1,40:a
pci9b/p...@9,70
pci9a/p...@9,60
pci8b/p...@8,70
pci8a/p...@8,60
ebus /p...@9,70/e...@1
name aliases




/Pete




On 1. mars 2010, at 19.40, Kenneth R Westerback wrote:



On Mon, Mar 01, 2010 at 03:56:22PM +0100, Pete Vickers wrote:
  

Hei,


Upon booting either 4.6-RELEASE or 4.7-BETA on my SunFire 880 causes the
kernel it to 'see' twice the correct number of physical disk. Further if I
install the o/s  using bsd.rd on to sd0, then upon reboot the kernel can't
find the root disk. However if I install