--- "Josi M. Fandiqo" <[EMAIL PROTECTED]> wrote:

> Hello,
> 
>  I'm trying to install OpenBSD in three servers with
> identical hardware and I was able to install it in
> two
> of them but not in the third. 
> 
> Each server detects a diferent geometry for the SCSI
> disks  :-?
> 
> server1 -> geometry: 817199/87/1 [71096313 Sectors]
> server2 -> geometry: 2843852/25/1 [71096300 Sectors]
> server3 -> geometry: 4425/255/63 [71087625 Sectors]
> 
> in the third server the geometry causes a broken MBR
> 
> anyone knows that can be causing this?
> 
> Thank you.
> 
> dmesg, fdisk and disklabel:
> http://195.55.55.164/tests/OpenBSD/server1.txt
> http://195.55.55.164/tests/OpenBSD/server2.txt
> http://195.55.55.164/tests/OpenBSD/server3.txt
> 
> -- 
> GCS/IT d- s+:+() a31 C+++ UBL+++$ P+ L+++ E--- W++
> N+ o++ K- w---
> O+ M+ V- PS+ PE+ Y++ PGP+>+++ t+ 5 X+$ R- tv-- b+++
> DI D++>+++
> G++ e- h+(++) !r !z
> ------END GEEK CODE BLOCK------
> 
> 
Extracting the probe information from the dmesgs I see

mpt0 at pci5 dev 7 function 0 "Symbios Logic 53c1030"
rev 0x07: irq 9
mpt0: sending FW Upload request to IOC (size: 36, img
size: 69800)
mpt0: IM support: 4
scsibus1 at mpt0: 16 targets
sd0 at scsibus1 targ 0 lun 0: <LSILOGIC, 1030 IM,
1000> SCSI2 0/direct fixed
sd0: 34715MB, 34715 cyl, 16 head, 128 sec, 512
bytes/sec, 71096320 sec total
sd1 at scsibus1 targ 2 lun 0: <IBM-ESXS, MAS3367NC FN,
C901> SCSI3 0/direct fixed
sd1: 34715MB, 27150 cyl, 4 head, 654 sec, 512
bytes/sec, 71096640 sec total
mpt0: target 0 Synchronous at 160MHz width 16bit
offset 127 QAS 0 DT 1 IU 1
mpt0: target 2 Synchronous at 160MHz width 16bit
offset 127 QAS 0 DT 1 IU 1
mpt1 at pci5 dev 7 function 1 "Symbios Logic 53c1030"
rev 0x07: irq 9
mpt1: sending FW Upload request to IOC (size: 36, img
size: 69800)
mpt1: IM support: 4
scsibus2 at mpt1: 16 targets

mpt0 at pci5 dev 7 function 0 "Symbios Logic 53c1030"
rev 0x07: irq 9
mpt0: sending FW Upload request to IOC (size: 36, img
size: 69800)
mpt0: IM support: 4
scsibus1 at mpt0: 16 targets
sd0 at scsibus1 targ 0 lun 0: <LSILOGIC, 1030 IM,
1000> SCSI2 0/direct fixed
sd0: 34715MB, 34715 cyl, 16 head, 128 sec, 512
bytes/sec, 71096320 sec total
sd1 at scsibus1 targ 2 lun 0: <IBM-ESXS, ST336753LC
FN, B85D> SCSI3 0/direct fixed
sd1: 34715MB, 31310 cyl, 4 head, 567 sec, 512
bytes/sec, 71096640 sec total
mpt0: target 0 Asynchronous at 0MHz width 8bit offset
0 QAS 0 DT 0 IU 0
mpt0: target 2 Synchronous at 160MHz width 16bit
offset 63 QAS 0 DT 1 IU 1
mpt1 at pci5 dev 7 function 1 "Symbios Logic 53c1030"
rev 0x07: irq 9
mpt1: sending FW Upload request to IOC (size: 36, img
size: 69800)
mpt1: IM support: 4
scsibus2 at mpt1: 16 targets

mpt0 at pci5 dev 7 function 0 "Symbios Logic 53c1030"
rev 0x07: irq 9
mpt0: sending FW Upload request to IOC (size: 36, img
size: 69800)
mpt0: IM support: 4
scsibus1 at mpt0: 16 targets
sd0 at scsibus1 targ 0 lun 0: <LSILOGIC, 1030 IM,
1000> SCSI2 0/direct fixed
sd0: 34715MB, 34715 cyl, 16 head, 128 sec, 512
bytes/sec, 71096320 sec total
sd1 at scsibus1 targ 2 lun 0: <IBM-ESXS, MAS3367NC FN,
C901> SCSI3 0/direct fixed
sd1: 34715MB, 27150 cyl, 4 head, 654 sec, 512
bytes/sec, 71096640 sec total
mpt0: target 0 Asynchronous at 0MHz width 8bit offset
0 QAS 0 DT 0 IU 0
mpt0: target 2 Synchronous at 160MHz width 16bit
offset 127 QAS 0 DT 1 IU 1
mpt1 at pci5 dev 7 function 1 "Symbios Logic 53c1030"
rev 0x07: irq 9
mpt1: sending FW Upload request to IOC (size: 36, img
size: 69800)
mpt1: IM support: 4
scsibus2 at mpt1: 16 targets

And in particular

sd0: 34715MB, 34715 cyl, 16 head, 128 sec, 512
bytes/sec, 71096320 sec total
sd0: 34715MB, 34715 cyl, 16 head, 128 sec, 512
bytes/sec, 71096320 sec total
sd0: 34715MB, 34715 cyl, 16 head, 128 sec, 512
bytes/sec, 71096320 sec total

sd1: 34715MB, 27150 cyl, 4 head, 654 sec, 512
bytes/sec, 71096640 sec total
sd1: 34715MB, 31310 cyl, 4 head, 567 sec, 512
bytes/sec, 71096640 sec total
sd1: 34715MB, 27150 cyl, 4 head, 654 sec, 512
bytes/sec, 71096640 sec total

So OpenBSD is finding identical geometry for sd0 on
all three servers. And the numbers match (34715*16*128
= 71096320).

For sd1 one result differs from the other two and
neither set of values seem to match.

I suspect sd1 is behaving badly in some way. I would
suggest trying a -current snapshot as the geometry
code has been getting a lot of work lately. If you can
(and want to) you can compile a kernel with the
options

option SCSIDEBUG
option SCSIDEBUG_LEVEL=0xf0
option SCSIDEBUG_BUSES=0x2
option SCSIDEBUG_TARGETS=0x5
option SCSIDEBUG_LUNS=0xff

and send me the output. It will show exactly what the
disks are saying about their geometry.

What fdisk is doing I don't know.

.... Ken

Reply via email to