*BSD News Article 22728


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!yarrina.connect.com.au!belfast.dcd.wa.gov.au!belfast.dcd.wa.gov.au!not-for-mail
From: juliane@belfast.dcd.wa.gov.au (Julian Elischer)
Newsgroups: comp.os.386bsd.questions
Subject: Re: [SCSI-disk] Using the untranslated parameters in the disklabel.
Date: 22 Oct 1993 16:15:27 +0800
Organization: Dept of Community Development, Perth, Australia
Lines: 32
Distribution: world
Message-ID: <2a84qv$ipc@belfast.dcd.wa.gov.au>
References: <29rer5$4u@encap.hanse.de>
Keywords: SCSI, DISKLABEL

In article <29rer5$4u@encap.hanse.de> jan@encap.Hanse.DE (Jan-Oliver Neumann) writes:
>
>My BIOS reports the disk with 495 Cylinders, 32 Heads and 64 Sectors/
>Track. These are the translated parameters which I use for my disk-
>label and I never had any problems.
 
>At boot, the SCSI-driver reports my disk with 1429 Cyls, 11 Heads
>and 64 Sectors/Track. 

>BIOS: 495 Cyl * 32 Tracks/Cyl * 64 Sec/Track = 1013760 Sectors
Bios figures are TOTALLY BOGUS, but are usable

>SCSI: 1429 Cyl * 11 Tracks/Cyl * 64 Sec/Track = 1006016 Sectors
the SCSI figures are PARTLY BOGUS..

11heads..............correct
1429 cylinders.......correct
64 sec/track.........BOGUS

This is because modern scsi disks have no fixed number of sectors per track.
multiplying them together gives a bogus number.

the correct number of sectors per track is probably 64.34532 or something.

Use the BIOS numbers.. it'll probably make very little difference.

(new scsi drivers give the real number of sectors as well)

julian