Subject: Re: Current status (was Reliable network cards? CF cards?)
To: Todd Vierling <tv@duh.org>
From: Andy Ruhl <acruhl@gmail.com>
List: port-hpcmips
Date: 01/04/2005 11:57:09
On Tue, 4 Jan 2005 07:22:11 -0700, Andy Ruhl <acruhl@gmail.com> wrote:
> > I'm suspicious that it's an overlap problem between the NetBSD disklabel and
> > the FAT partition.
> 
> About to test this.

Ok. I get a panic when I try to mount the 15 meg msdos partition which
is wd0e, and it's at the front of the disk. The rest is NetBSD, which
I can mount so this is good. I'm not sure that I want to mount the
msdos part, but it would be better if it didn't panic too... Here's my
fdisk and disklabel:

Disk: /dev/rsd2d
NetBSD disklabel disk geometry:
cylinders: 61, heads: 64, sectors/track: 32 (2048 sectors/cylinder)
total sectors: 125441

BIOS disk geometry:
cylinders: 491, heads: 8, sectors/track: 32 (256 sectors/cylinder)
total sectors: 125441

Partition table:
0: Primary 'big' DOS, 16-bit FAT (> 32MB) (sysid 6)
    start 32, size 30688 (15 MB, Cyls 0-120), Active
1: NetBSD (sysid 169)
    start 30720, size 94720 (46 MB, Cyls 120-490)
2: <UNUSED>
3: <UNUSED>


# /dev/rsd2d:
type: SCSI
disk: mydisk
label: fictitious
flags: removable
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 61
total sectors: 125440
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:     94720     30720     4.2BSD   1024  8192 11840  # (Cyl.     15 -     61*)
 c:     94720     30720     unused      0     0        # (Cyl.     15 -     61*)
 d:    125440         0     unused      0     0        # (Cyl.      0 -     61*)
 e:     30688        32      MSDOS                     # (Cyl.      0*-     14)

Wait... Is the a partition supposed to end on the same sector as the c
one? I'm not sure...

I have since changed this so that a is a swap partition and I'm
swapping on wd0b instead of to a file in root.

Andy