Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: schlake@nmt.edu (Schlake ( William Colburn ))
Subject: Problems with ST15150N on Dec Alpha AXP OSF/1 2.1
Date: Mon, 26 Dec 1994 22:33:55 GMT	[thread overview]
Message-ID: <1994Dec26.223355.12372@nmt.edu> (raw)

I've been trying to install a brand new SeaGate ST15150N onto our alpha,
but having no luck.

I added a partition table and a disk definition to /sys/data/cam_data.c
and remade the kernel.  The partition table was just all 0 since I can
use /etc/disktab instead of it, and the disk definition was just a blind
copy of the unknown disk since I didn't see any reason those settings
wouldn't work for it.

I made the devices, and when I access them I can see the drive access
light go on.  Using the scu utility I can 'format' the drive but nothing
else.  If I attempt to disklabel any of the paritions I get this:

root@walt</usr># disklabel -z rz1a
disklabel: /dev/rz1a not character device
root@walt</usr># disklabel -z rz1 
disklabel: /dev/rrz1a: No such file or directory
root@walt</usr># disklabel -z /dev/rrz1a
disklabel: /dev/rrz1a: Error 0
root@walt</usr># file /dev/*rz1a
/dev/rrz1a:     character special (8/2048) SCSI #0 schlake disk #16 (SCSI ID #2) 
/dev/rz1a:      block special (8/2048)

I called the disk type 'schlake' in the kernel so that I could be sure
the kernel was detecting it right.  Also:
Device Nexus: Bus: 0, Target: 2, Lun: 0, Device Type: Direct Access

The error 0 bugged me, so I wrote a simple program to open the raw
devices, seek, write, seek, and read.  The open() and seek() worked
flawlessly but I can neither read() nor write() from the disk.  The
errno returned by both is "Error 0" which means no error.

I put the disk onto a SunOS machine and it worked perfectly, so I'm sure
it isn't a disk problem.

Any help would be muchly appreciated.  :)

-- void *(*(*schlake())[])(void *); /* http://nmt.edu/~schlake */



                 reply	other threads:[~1994-12-26 22:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox