*BSD News Article 67133


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!qns3.qns.com!imci4!newsfeed.internetmci.com!aanews.merit.net!news.voyager.net!news.enteract.com!news.inap.net!news1!not-for-mail
From: root@dyson.iquest.net (John S. Dyson)
Subject: Re: Western Digital 2.5GB IDE HD doesn't work under FreeBSD !
X-Nntp-Posting-Host: dyson.iquest.net
Message-ID: <4m02u4$c00@dyson.iquest.net>
Sender: news@iquest.net (News Admin)
Organization: John S. Dyson's Machine
References: <aak2.830530576@Ra.MsState.Edu>
Date: Sun, 28 Apr 1996 15:30:12 GMT
Lines: 81

In article <aak2.830530576@Ra.MsState.Edu>,
Atif Ahmad Khan <aak2@Ra.MsState.Edu> wrote:
>
>I just bought a Western Digital 2.5GB hard drive and it doesn't 
>seem to work under FreeBSD !
Hmmm... It works for me.  The drive is very very fast!!!

>
>I have a very new ASUS motherboard with Award BIOS.  The BIOS had
I do also.

>
>problems with the hard drive size.  It didnt have any problems with
>2.1GB IDE HD but it was recognizing the 2.5 and 445MB drive.
>
My bios does also.

I took a look at fdisk on my drive and is says :-):

******* Working on device /dev/rwd3 *******
parameters extracted from in-core disklabel are:
cylinders=4999680 heads=1 sectors/track=1 (1 blks/cyl)

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

Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
<UNUSED>
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 1, size 4999679 (2441 Meg), flag 80
	beg: cyl 0/ sector 2/ head 0;
	end: cyl 864/ sector 1/ head 0


My disklabel is:
# /dev/rwd3c:
type: unknown
disk: wd32500
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 64
sectors/cylinder: 4032
cylinders: 1239
sectors/unit: 4999679
rpm: 5400
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# milliseconds
track-to-track seek: 0	# milliseconds
drivedata: 0 

6 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:   584639        1    4.2BSD     2048 16384    16 	# (Cyl.    0*- 144*)
  b:    96768   584640      swap                    	# (Cyl.  145 - 168)
  c:  4999679        0    unused        0     0       	# (Cyl.    0 - 1239*)
  d:  4999679        0    unused        0     0       	# (Cyl.    0 - 1239*)
  e:  2159135   681408    4.2BSD     1024  8192    16 	# (Cyl.  169 - 704*)
  f:  2159136  2840543    4.2BSD     1024  8192    16 	# (Cyl.  704*- 1239*)


I believe in the install process you could set the fdisk slice information
identically, and might be able to make progress with a disklabel like mine
above?  Again, I don't boot from my 2.5GB Caviar, so I am not sure how
the bios interacts with this large of an IDE drive.   BTW, I get about
8-9MBytes/sec read perf on this baby!!!

John
dyson@freebsd.org