From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,e093228565600871,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-12-26 16:30:25 PST Newsgroups: comp.sys.dec Path: nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!cs.utexas.edu!rutgers!nmt.edu!schlake From: schlake@nmt.edu (Schlake ( William Colburn )) Subject: Problems with ST15150N on Dec Alpha AXP OSF/1 2.1 Message-ID: <1994Dec26.223355.12372@nmt.edu> Organization: The School of Mines in Socorro New Mexico Date: Mon, 26 Dec 1994 22:33:55 GMT 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# disklabel -z rz1a disklabel: /dev/rz1a not character device root@walt# disklabel -z rz1 disklabel: /dev/rrz1a: No such file or directory root@walt# disklabel -z /dev/rrz1a disklabel: /dev/rrz1a: Error 0 root@walt# 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 */