*BSD News Article 12902


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!uwm.edu!cs.utexas.edu!geraldo.cc.utexas.edu!geraldo.cc.utexas.edu!usenet
From: vax@ccwf.cc.utexas.edu (Vax)
Newsgroups: comp.os.386bsd.questions
Subject: HELP on mtools
Date: 15 Mar 1993 08:44:37 GMT
Organization: The University of Texas at Austin, Austin TX
Lines: 34
Message-ID: <1o1fllINN666@geraldo.cc.utexas.edu>
NNTP-Posting-Host: sylvester.cc.utexas.edu

I'm having no trouble doing mcopies -to- my hard drive, but I have
REAL progblems when I try to copy from it.  This is bad.
I cannot understand why this is.  From mtool's devices.c:
        {'C', "/dev/rsd0d", 16536L, 16, 0, (int (*) ()) 0, 0, 0, 0}, /* BIG */
And from the directory listing:
crw-r-----    1 root     operator  13,   3 Mar 13 17:48 /dev/rsd0d
>From the disklabel:
4 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:   946176   348160    4.2BSD     1024  8192    16   # (Cyl.  170 - 631)
  b:    10000  1296124      swap                        # (Cyl.  632*- 637*)
  c:   958464   348160    unused        0     0         # (Cyl.  170 - 637)
  d:  1306624        0    unused        0     0         # (Cyl.    0 - 637)
(Yes, I added the last one myself.)
I notice that in conf.c the block scsi disk devices are in the /*4*/ line
and the characters are in the /*D*/ line.  Maybe I messed something up here,
that was a hard patch after installing PatchKit0.2.1;  Julian's SCSI drivers
had diffs from the conf.c before patchkit 0.2.1 changed it...
On the surface, it looks OK..  mostly like Julians...
I think things worked ok before I installed patchkit 0.2.1 and added
the new partition... what did I do wrong?
Oh yeah I have and Adaptec 1542B and a Maxtor760S drive.  The problem is
very bad since it often causes immediate reboots, or panics.  One time
it recovered after printing some wierd lines like:
p666
> [here I hit return]
p666
> [here I hit return]
Until it came back with a shell prompt.  Once it did that then rebooted.
mcd seems to cause similar problems (core dumps, reboots..)
Thanks all.
-- 
Protect our endangered bandwidth - reply by email.  NO BIG SIGS!
VaX#n8 vax@ccwf.cc.utexas.edu - finger for more info if you even care.