Return to BSD News archive
Xref: sserve comp.os.386bsd.bugs:1525 comp.os.386bsd.questions:5543 Newsgroups: comp.os.386bsd.bugs,comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!uunet!ihz.compuserve.com!mfoley From: mfoley@csi.compuserve.com (M Foley) Subject: YET ANOTHER disklabel AND IDE 2nd DRIVE PROBLEM - HELP!! Message-ID: <CE8Hy0.6tv@csi.compuserve.com> Organization: CompuServe Incorporated Date: Fri, 1 Oct 1993 19:53:57 GMT Lines: 101 I just moved a 200M Conner 3204 from MSDOS to 386bsd 0.1-0.1.4, but I can't disklabel it. I use the (newly created) cp3204 entry in my /etc/disktab file as shown: ============================ /etc/disktab ======================= cp3100|Connor Peripherals 100MB IDE:\ :dt=ST506:ty=winchester:se#512:nt#8:ns#33:nc#766:sf: \ :pa#12144:oa#0:ta=4.2BSD:ba#4096:fa#512: \ :pb#12144:ob#12144:tb=swap: \ :pc#202224:oc#0: \ :ph#177936:oh#24288:th=4.2BSD:bh#4096:fh#512: st157a-data|Seagate 157A 43MB IDE:\ :dt=IDE:ty=winchester:se#512:nt#6:ns#26:nc#560: \ :pa#87360:oa#0:ta=4.2BSD:ba#4096:fa#512: cp3204|Conner Peripherals CP3204F 200MB IDE:\ :dt=IDE:ty=winchester:se#512:nt#16:ns#38:nc#683: \ :pa#415264:oa#0:ta=4.2BSD:ba#4096:fa#512: ================================================================= I use the following command: disklabel -r -w wd1 cp3204 disklabel: /dev/rwd1d: Invalid argument However, if I use a Seagate 157A drive and the st157a-data disktype, the command works fine and the disk gets labelled!!! I don't know why the other example of a Conner drive (3100), preexisting in my disktab, specifies ST506 as drive type. Could this be a clue? I did try changing my entry to this - didn't work. My wd0 drive is a Seagate 15530A (?) 452MB IDE. Are these drives incompatible? I *can* access the Conner under MSDOS, partition, format etc. The drive is properply recognized at boot-time. It is identified as a Conner Peripherals CP3204F on wd1. The Segate 157a drive already has a disklabel, placed there prior to the 0.1.4 patchkit. The Conner was moved right from DOS. I've tried deleting all partitions using DOS fdisk and creating and formatting a single DOS partition. None of this seems to help. I have read in Dave Burgess' net2.FAQ in paragraph 7 of section 2.5.4 the following: 2.5.4 How do I disklabel my second hard drive? : : This is also a symptom of some of the versions of FreeBSD and NetBSD where the disklabel code was 'fixed' to only write a disklabel on a drive with a disklabel. Oops. Could this be the problem with pk 0.1.4 also? Should I attempt a disklabel with tiny BSD? (This would mean swapping drive devices since tiny BSD doesn't work with 2nd drives - I don't want to do this: removing drives, changing jumpers, etc.) Any help would be greatly appreciated. If you answer is "upgrade to FreeBSD", I am trying to do that. I need to install this disk so I can download the distribution. MORE INFO: fdisk gives me the following: fdisk /dev/rwd1d fdisk: Can't open device /dev/rwd1d But on wd0 I get: fdisk /dev/rwd0a ******* Working on device /dev/rwd0a ******* parameters extracted from in-core disklabel are: cylinders=1018 heads=14 sectors/track=62 (868 blks/cyl) : etc : My devices are: >ls -l /dev/wd* brw-r--r-- 1 root 0, 0 Sep 14 1991 /dev/wd0a brw-r----- 1 root 0, 1 Apr 3 01:34 /dev/wd0b brw-r----- 1 root 0, 2 Apr 3 01:34 /dev/wd0c brw-r----- 1 root 0, 3 Apr 3 01:34 /dev/wd0d brw-r----- 1 root 0, 4 Apr 3 01:34 /dev/wd0e brw-r----- 1 root 0, 5 Apr 3 01:34 /dev/wd0f brw-r----- 1 root 0, 6 Apr 3 01:34 /dev/wd0g brw-r----- 1 root 0, 7 Apr 3 01:34 /dev/wd0h brw-r----- 1 root 0, 8 Apr 3 01:34 /dev/wd1a brw-r----- 1 root 0, 9 Apr 3 01:34 /dev/wd1b brw-r----- 1 root 0, 10 Apr 3 01:34 /dev/wd1c brw-r----- 1 root 0, 11 Apr 3 01:34 /dev/wd1d brw-r----- 1 root 0, 12 Apr 3 01:34 /dev/wd1e brw-r----- 1 root 0, 13 Apr 3 01:34 /dev/wd1f brw-r----- 1 root 0, 14 Apr 3 01:34 /dev/wd1g brw-r----- 1 root 0, 15 Apr 3 01:34 /dev/wd1h HELP!!!