*BSD News Article 2651


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!rodos1!wkt
From: wkt@rodos1.cs.adfa.oz.au (Warren Toomey)
Subject: 386BSD bug: Still no luck with an A5 ``DOS'' partition
Message-ID: <1992Jul29.020459.22137@sserve.cc.adfa.oz.au>
Sender: news@sserve.cc.adfa.oz.au
Organization: Australian Defence Force Academy, Canberra, Australia
Date: Wed, 29 Jul 1992 02:04:59 GMT

Current situation:

	/386bsd 0.1.48 from agate - the 2 IDE disk one.
	Drive 1 is a Seagate ST1102A 80MB IDE wholly devoted to 386BSD.
	Drive 2 is a Seagate ST157A 40MB IDE with 3 `DOS' partitions:

		33M DOS		[ I use Winiboot to select DOS/Minix ]
		 3M Minix
		 7M Unused

What I am trying to do:

	I want to install a 386BSD partition on drive 2 in the unused third
	partition. Then I will swap drives 1 & 2 over and use the 40M drive
	for DOS, Minix and 386BSD /, and the 80M drive as /usr and swap.

Bug:

	[ When I say partition I mean `DOS' partition ]

	With partition 3 marked as 00 (unused), I can read from /dev/rwd1d
	and do disklabel -r wd1. I get the information from the first
	absolute sector of drive 2 in this case.

	With partition 3 marked as A5 (386BSD), doing anything with rwd1d,
	or disklabel -r wd1, the whole system hangs. The terminal driver
	seems to still be working, as characters such as ^V still work.
	The system must be reset at this stage.

Other information:

	Here is my DOS partition table from the 2nd drive, uuencoded. Also
	the information in it as reported by Minix's fdisk.  Also included
	is my disklabels for the two drives. The ST1102A has been written
	to drive 1, and I have yet been unable to write the ST157A label
	on drive 2 (see above).

table
 !"#$%&'()*+,-./0123456789:;<=>?
@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
begin 644 partitio
MN   CL".T+P ?+C !X[8@,J B!9& ;X  +\ !KD  ?SRI;OT .@? ;Z^ ;,!z
ML" Z'KT!=0*P*N@: ;\* +$!B-CH'@%3OQ  L02S"/RLZ!$!_LMU][\* +$*y
MLP+$!(UT!(S"Z  !_LMU\KM# >C7 %O^PX#[!':UN^P Z,D N   CL"[#@$Fx
MBPYL!+0!S19U%87;=/8F.PYL!'3O2W7GH+T!_LCK#;0 S1:[   L,3P$<]A0w
M!#'HFP"[0P'HB !8M!#VY+Z^!P'&G Z[ 'Q3N   CL"X 0(FBG0!)HI, B:*v
M; .*%D8!)O\N3  *0F]O=#H@ %=I;FE";V]T('8Q+C @3F]V(#$Y.#D-"@H@u
M("!";V]T($AD(%-E8R!#>6P@5'EP92!(9"!396,@0WEL(" @(" @0F%S92 @t
M(" @(%-I>F4-"@  B@=#A,!T!>@# .OTPU974[L! +0.S1!;7U[#,.0QTE93s
M4>@$ %E;7L-0B= QTO?WB<98]_=2B?*)Q@G6= ?^R>CF_^L+_LE^![ @Z+__r
MZ_58/ EV @0G!##HL?_#                                  *  0$ q
M!@:1-Q$   #W!P$   "!.($&D6D(" $ /A<     @6JE!I#<1A\! '0U    p
1                    5:H&o
 n
end

                          ----first----  -----last----  --------sectors-------
Num Sorted Active Type     Cyl Head Sec   Cyl Head Sec    Base    Last    Size
 1     1    0x80  0x06     x00   1  x01   x37   6  x91      17   67591   67575-
 2     2    0x00  0x81     x38   0  x81   x69   6  x91   67592   73541    5950 
 3     3    0x00  0x00     x6A   0  x81   xDC   6  x90   73542   87225   13684 
 4     4    0x00  0x00     x00   0  x00   x00   0  x00       0       0       0 

                          ----first----  -----last----  --------sectors-------
Num Sorted Active Type     Cyl Head Sec   Cyl Head Sec    Base    Last    Size
 1     1     A    DOS-BIG    0   1   1    567   6   17      17   67591   67575-
 2     2          MINIX    568   0   1    617   6   17   67592   73541    5950 
 3     3          None     618   0   1    732   6   16   73542   87225   13684 
 4     4          None       0   0   0      0   0    0       0       0       0 


st157a|Seagate ST157A 40MB IDE in translation mode:\
	:dt=ESDI:ty=winchester:se#512:nt#7:ns#17:nc#733: \
	:oa#73542:pa#13684:ta=4.2BSD:ba#4096:fa#512: \
	:oc#73542:pc#13684:tc=unused: \
	:od#0:pd#87227:td=unused:

st1102a|Seagate ST1102A 80MB IDE in native mode:\
	:dt=ESDI:ty=winchester:se#512:nt#10:ns#17:nc#1024: \
	:oa#0:pa#157080:ta=4.2BSD:ba#4096:fa#512: \
	:ob#157080:pb#17000:tb=swap: \
	:od#0:pd#174080:td=unused:



  Warren Toomey VK1XWT, on the path to insanity
  No longer in the bowels of ADFA Comp Science.
   `Version 7 Job Control: just use ptrace(2).'