Subject: Large disks on an IPX?
To: None <port-sparc@netbsd.org>
From: Simon Raahauge DeSantis <xiamin@ghostpriest.gay-robot.com>
List: port-sparc
Date: 08/18/2002 16:44:01
I recently put a 9gb scsi drive into my IPX. However, in trying to newfs it
I've run into a problem.
Excerpt from my disklabel:
bytes/sector: 512
sectors/track: 256
tracks/cylinder: 8
sectors/cylinder: 2048
cylinders: 9078
total sectors: 18591744
8 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 819200 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 399)
b: 262144 819200 swap # (Cyl. 400 - 527)
c: 18591744 0 unknown # (Cyl. 0 -
9077)
e: 7307264 1081344 4.2BSD 1024 8192 16 # (Cyl. 528 -
4095)
f: 1228800 8388608 4.2BSD 1024 8192 16 # (Cyl. 4096 -
4695)
sd0a and sd0e newfs just fine. sd0f and anything beyond do not:
xiamin@ghostpriest ~ % sudo newfs sd0f
wtfs: write error for sector 1228799: Invalid argument
On the console I get this:
sd0(esp0:0:0): Check Condition on CDB: 0x2a 00 00 92
bf ff 00 00 01 00
SENSE KEY: Illegal Request
INFO FIELD: 9617407
ASC/ASCQ: Logical Block Address Out of Range
FRU CODE: 0x4
SKSV: Error in CDB, Offset 2, bit 7
So the end of the partition os out of range. I haven't quite narrowed down
the cut-off point exactly though.
My first thought was that maybe I need to increase the bytes per sector so
that I could use smaller numbers in my disklabel. However trying to set it
to 1024 lead to messages about the checksum or magic number being invalid,
would I like to redit the disklabel?. So either my math is really off, or I
can't set it to 1024. For instance this fails:
bytes/sector: 1024
sectors/track: 256
tracks/cylinder: 8
sectors/cylinder: 2048
cylinders: 4539
total sectors: 9295872
So either I'm doing something seriously wrong with disklabel (and it has
been a while), or my IPX doesn't support harddrives above a certain size.
Can anyone help me out?
TIAt
--
-Simon Raahauge DeSantis