Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Feb 1997 14:53:05 -0800 (PST)
From:      Burton Sampley <burton@bsampley.vip.best.com>
To:        freebsd-questions@freebsd.org
Subject:   Fujitsu M1638TAU and disklabel problems/?'s
Message-ID:  <Pine.BSF.3.91.970222142310.207A-100000@bsampley.vip.best.com>

next in thread | raw e-mail | index | archive | help
Greeting,

I have been attempting, without success, to setup a new Fujitsu M1638TAU 
2.5 gig EIDE HD as the second HD.  I'm running 3.0 SNAP -970209.  I've 
attempted to follow the instructions in "The Complete FreeBSD" by Greg 
Lehey.  Both BIOS and the initial probe during boot report the correct 
geomerty (4982 cyls, 16 heads, 63 SCT's).  The new drive is setup as 
master on the secondary IDE controller on the motherboard.

Here's what I've tried:

dd if=/dev/zero of=/dev/rwd2 count=100
[per the book]

Here's how I've sliced the drive:

# fdisk /dev/rwd2
******* Working on device /dev/rwd2 *******
parameters extracted from in-core disklabel are:
cylinders=4982 heads=16 sectors/track=63 (1008 blks/cyl)

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

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

Then I did disklabel /dev/rwd2 > diskproto

Here's the diskproto file [after I modified it]:

# cat diskproto
# /dev/rwd2:
type: EIDE        #note:  I've also tried ESDI with the same results
disk: M1638TAU 
label: FreeBSD 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 4982
sectors/unit: 5021856
rpm: 5400
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  h:  5021856        0    unused        0     0         # (Cyl.    0 - 4981)

Then I do:

disklabel -R -r wd2 diskproto

This cuases my system to crash.  The whole darn thing is frozen and the 
HD just glows red.

I read the doc file that came with the drive.  The only warning for not 
using Mickey$oft OS's is that I can't modify the MBR.

How do I prepare this HD so I can use it?  Should I return it?
I'm attempting to setup a second HD to store my backup of my primary HD.

When I upgraded to 3.0 SNAP I used the install prgramm to setup the 2nd 
HD.  I was able to mount it after I rebooted after the install finished, but 
every time I tried to write anything to the drive my system would hang.

Any suggestions?  Has anyone successfully setup a fs on one of these drives?

Thanks in advance for your help.


Email:  bsampley@best.com
Alternate Email: bsampley@haywire.csuhayward.edu
Home Page:  http://www.best.com/~bsampley



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970222142310.207A-100000>