Subject: SMD disklabel problem; valid cylinders appear invalid
To: None <port-sparc@NetBSD.ORG>
From: Nathan J. Williams <nathanw@mit.edu>
List: port-sparc
Date: 01/03/1997 22:09:08
	I'm trying to put a "new" second SMD disk on the 7053 in my
4/300 (running 1.2_BETA or thereabouts). It doesn't seem happy about
it's label, though. On boot, I get the following:

xdc0 at vmel0 addr 0xffffee80 vec 0x44 pri 3: Xylogics 753/7053, PROM=2186.02.22
xd0 at xdc0 drive 0: ready
xd0: <CDC-9720-850 cyl 1379 alt 2 hd 15 sec 67>, pcyl 1379, hw_spt 68
xd0: 676MB, 1379 cyl, 15 head, 67 sec, 512 bytes/sec
xd0: warning: invalid bad144 sector!
xd1 at xdc0 drive 1: ready
xd1: no disk label
xd2 at xdc0 drive 2: off-line
xd3 at xdc0 drive 3: off-line

	The new disk is xd1; it's a CDC 9720-500. 
	I've been trying to put a label on the disk, but with no
success. Trying to read the non-existant label gives:

assassin# disklabel -r xd1
disklabel: /dev/rxd1c: Input/output error

with a console error message of:
xd1c: read 1/0/0: Illegal cylinder address

If I just change the in-core label, I can set up something reasonable,
but trying to newfs the partition gives a similar error:

assassin# newfs /dev/rxd1a
write error: 800579
wtfs: Input/output error

console error message: 
xd1a: write 14147/0/0: Illegal cylinder address

	Any ideas? I suspect this is more of a SMDism than a Sparcism,
but I'm lost as to what I can do next, or how I can tell where the
problem is.

	- Nathan