Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 1997 10:04:04 +0400
From:      "Alexander B. Povolotsky" <tarkhil@mgt.msk.ru>
To:        questions@freebsd.org
Subject:   SCSI disk geometry?
Message-ID:  <199710220604.KAA18394@asteroid.mgt.msk.ru>

next in thread | raw e-mail | index | archive | help
Hello!

I'm trying to set up Micropolis 3387WS SCSI-3 drive, and I'm totally lost. 
How do I set up disk geometry? I'm attempting to set up 4811/21/168, which 
is the values reported by kernel, and fdisk displays always NOT what I've 
entered, but something weird.

(part of fdisk output)
******* Working on device /dev/sd4 *******
parameters extracted from in-core disklabel are:
cylinders=20228 heads=21 sectors/track=40 (840 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=20228 heads=21 sectors/track=40 (840 blks/cyl)

Do you want to change our idea of what BIOS thinks ? [n] y
Supply a decimal value for "BIOS's idea of #cylinders" [20228] 4811
Supply a decimal value for "BIOS's idea of #heads" [21] 21
Supply a decimal value for "BIOS's idea of #sectors" [40] 168
parameters extracted from in-core disklabel are:
cylinders=20228 heads=21 sectors/track=40 (840 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=4811 heads=21 sectors/track=168 (3528 blks/cyl)

Are you happy with this choice [n] y
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 0, size 16992188 (8296 Meg), flag 0
        beg: cyl 0/ sector 1/ head 1;
        end: cyl 714/ sector 40/ head 20
Do you want to change it? [n] y
Supply a decimal value for "sysid" [0] 165
Supply a decimal value for "start" [0] 
Supply a decimal value for "size" [0] 16992188
Explicitly specifiy beg/end address ? [n] 
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 0, size 16992188 (8296 Meg), flag 0
        beg: cyl 0/ sector 1/ head 0;
        end: cyl 720/ sector 36/ head 7

Why 720/36/7? This wouldn't work!

And here is what sysinstall says:

WARNING:  A geometry of 4811/21/168 for sd4 is incorrect.  Using
a more likely geometry.  If this geometry is incorrect or you...

... and so on. Than it insists on 
DISK Geometry:  1057 cyls/255 heads/63 sectors, which doesn't work again.

What have I missed and where?

newfs repeatedly fails to complete work with

Oct 22 09:38:39 cypres /kernel: ahc1:A:3: no active SCB for reconnecting target - issuing BUS DEVICE RESET
Oct 22 09:38:39 cypres /kernel: SAVED_TCL == 0x30 ARG_1 == 0xff SEQADDR == 0x111
Oct 22 09:38:39 cypres /kernel: ahc1: Bus Device Reset delivered. 0 SCBs aborted
Oct 22 09:38:39 cypres /kernel: ahc1:A:3: Target did not send an IDENTIFY message. LASTPHASE = 0x0, SAVED_TCL == 0x30
Oct 22 09:38:39 cypres /kernel: ahc1: Issued Channel A Bus Reset. 0 SCBs aborted
Oct 22 09:38:40 cypres /kernel: sd4(ahc1:3:0): UNIT ATTENTION asc:29,0
Oct 22 09:38:40 cypres /kernel: sd4(ahc1:3:0):  Power on, reset, or bus device reset occurred
Oct 22 09:38:40 cypres /kernel: , retries:4
Oct 22 09:57:20 cypres /kernel: sd1(ahc1:0:0): UNIT ATTENTION asc:29,0
Oct 22 09:57:20 cypres /kernel: sd1(ahc1:0:0):  Power on, reset, or bus device reset occurred
Oct 22 09:57:20 cypres /kernel: , retries:2
Oct 22 09:57:20 cypres /kernel: sd2(ahc1:1:0): UNIT ATTENTION asc:29,0
Oct 22 09:57:20 cypres /kernel: sd2(ahc1:1:0):  Power on, reset, or bus device reset occurred
Oct 22 09:57:20 cypres /kernel: , retries:2
Oct 22 09:57:20 cypres /kernel: sd3(ahc1:2:0): UNIT ATTENTION asc:29,0
Oct 22 09:57:20 cypres /kernel: sd3(ahc1:2:0):  Power on, reset, or bus device reset occurred
Oct 22 09:57:20 cypres /kernel: , retries:2
Oct 22 09:57:20 cypres /kernel: sd5(ahc1:4:0): UNIT ATTENTION asc:29,0
Oct 22 09:57:20 cypres /kernel: sd5(ahc1:4:0):  Power on, reset, or bus device reset occurred
Oct 22 09:57:20 cypres /kernel: , retries:2
Oct 22 09:57:20 cypres /kernel: cd0(ahc0:5:0): NOT READY asc:3a,0 Medium not present

Novell worked on the same hardware ok :-(

Alex.



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