From owner-freebsd-questions Tue Oct 21 23:11:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA08679 for questions-outgoing; Tue, 21 Oct 1997 23:11:02 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from gate.mgt.msk.ru (mgtrep.24h.dialup.ru [194.87.18.139]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA08648 for ; Tue, 21 Oct 1997 23:10:34 -0700 (PDT) (envelope-from tarkhil@mgt.msk.ru) Received: from asteroid.mgt.msk.ru (asteroid.mgt.msk.ru [192.168.133.145]) by gate.mgt.msk.ru (8.8.6/8.8.6) with ESMTP id KAA20844 for ; Wed, 22 Oct 1997 10:05:32 +0400 (MSD) Received: from asteroid.mgt.msk.ru (localhost.mgt.msk.ru [127.0.0.1]) by asteroid.mgt.msk.ru (8.8.7/8.8.6) with ESMTP id KAA18394 for ; Wed, 22 Oct 1997 10:04:06 +0400 (MSD) Message-Id: <199710220604.KAA18394@asteroid.mgt.msk.ru> To: questions@freebsd.org Reply-To: tarkhil@mgt.msk.ru Subject: SCSI disk geometry? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 22 Oct 1997 10:04:04 +0400 From: "Alexander B. Povolotsky" Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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.