Subject: esp revisited
To: port-mac68k <port-mac68k@NetBSD.ORG>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: port-mac68k
Date: 03/23/1998 22:42:15
Hi,

after a busy weekend I am pretty positive that my trouble with the shiny
new DCAS 4G disk is somewhat related to partitioning/disklabel stuff.

In short: A setup with 6 partitions (MacOS boot, root, swap, /usr, /var,
/home) appears to work -- adding another partition no matter what type
blows up the kernel. That`s essentially what kern/5174 is about.

Now, I set up the disk with said six partitions, newfs'ed and started to
move things over from the old disk. No problems with the root device
(~20MB), but for /usr (~300MB) I got

# dump -0f - /usr | (cd /mnt ; restore -xf -)
  DUMP: Date of this level 0 dump: Mon Mar 23 21:47:23 1998
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rsd0g (/usr) to standard output
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 316538 tape blocks.
  DUMP: Volume 1 started at: Mon Mar 23 21:47:57 1998
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
sd1(esp0:1:0): esp0: timed out [ecb 0x4c20d0 (flags 0x1, dleft 800, stat
0)], <s
tate 2, nexus 0x4c20d0, phase(c 100, p 7), resid 1c00, msg(q 0,o 0) >
sd0(esp0:0:0): esp0: timed out [ecb 0x4c2102 (flags 0x3, dleft 1c00, stat
0)], <
state 2, nexus 0x4c20d0, phase(c 100, p 7), resid 1c00, msg(q 0,o 0) >
sd1(esp0:1:0): esp0: timed out [ecb 0x4c20d0 (flags 0x41, dleft 800, stat
0)], <
state 2, nexus 0x4c20d0, phase(c 100, p 7), resid 1c00, msg(q 0,o 0) > AGAIN
^Crestore interrupted, continue? [yn] n

and the box hangs. (this is in single user). For what it's worth,
interrupting gives

Panic switch: PC is 0x36a8.
Stopped at      _Debugger+0x6:  unlk    a6
db> t
_Debugger(c02aa,36a8,142f30,3462,0) + 6
_nmihand(0,0,0,2004,0) + 26
_lev7intr(?)
_mi_switch(0,0,142200,f9000e00,0) + 12
_tsleep(e8b30,4,98046,0) + 178
_scheduler(4f6200,1d10c,1f7b0,1f650,8004025a) + 66
_main() + 4c6
_main() + 4c6
db>

-- not too informative, either. Rebooting, newfs'ing sd1g and retrying the
copy yields the same result.

So, what are others' experiences with big disks ( >1/2GB) and NetBSD/mac68k?

	hauke


--
"It's never straight up and down"     (DEVO)