Subject: RE: NetBSD Hang after disklabel, xsm crash
To: None <port-i386@NetBSD.ORG>
From: Bruce Anderson <brucea@wavefront.com>
List: port-i386
Date: 07/28/1998 18:14:00
On Tue, Jul 28, 1998 3:24 AM, Harald Bjoroy <mailto:harald@bitcon.no>
wrote:
>
> I only extended the C partition size-information by 8064 sectors.
>
> I believe I did this right, but I might have done a typo in disktab,
> also I am not that familiar with disktab, so I could have done something
> wrong here. I only intend to use the c partition for this disk, so I
> have set the size of a partition to something near 180000 sectors in
> size, all the other partitions (apart from the c partition) begin at
> (the same 180000 sector) with a size of 0.
>
> But anyway: The system should complain with an error message, not a
> freeze!
>
> Also remember; wd1 is not mounted, the system freezes whenever NetBSD
> learns that I am thinking about the disk.
>
I did not want to mention this with out more info but,
the c partition under NetBSD is not the DOS c partition.
Look at my 4GM Seagate disklabel
leopard# disklabel -r wd0
# /dev/rwd0d:
type: ST506
disk: puma
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 15
sectors/cylinder: 945
cylinders: 8894
total sectors: 8404830
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg]
a: 99225 868455 4.2BSD 1024 8192 16 # (Cyl. 919 -
1023)
b: 241920 967680 swap # (Cyl. 1024 -
1279)
c: 7536375 868455 unused 0 0 # (Cyl. 919 -
8893)
d: 8404830 0 unused 0 0 # (Cyl. 0 -
8893)
e: 967680 1209600 4.2BSD 1024 8192 16 # (Cyl. 1280 -
2303)
f: 5259870 2177280 4.2BSD 1024 8192 16 # (Cyl. 2304 -
7869)
g: 967680 7437150 4.2BSD 1024 8192 16 # (Cyl. 7870 -
8893)
h: 868455 63 MSDOS # (Cyl. 0*-
919)
c and d are reserved for accounting purposes.
c is the part of the disk used by NetBSD
d is the whole disk.
I have a DOS partition C: at Cyl. 0-919
and my root partition fits within the first 1024 cyls because
of BIOS limitations.
Note that I wanted access to that DOS partition from netbsd
so I used h to map the DOS C: partition.
The maximum number of partitions is eight, of which six you can
use.
So did you make a valid disklabel?
----------------------------------------------------------------
This message was created and sent using the Cyberdog Mail System
----------------------------------------------------------------