[comp.unix.xenix] Probelm with badtrk and swap space

root@tubbs.UUCP (Chris Moustakis) (11/17/89)

I have installed a second hard drive on my system and mounted a /u file
system on it.  When creating the file system, and putting in the bad-tracks,
the system gets halted with the error : Kernel page fault.  This keeps 
happening only when the bad tracks are over the 810 cylinder mark. (The Hard
drive is a ST-151 976cyl 6hd).  I have tried mapping the bad-tracks through
'mkdev hd' and also dirrectly through 'badtrk' and it always crashes at the
same place.
I am running SCO Xenix Sys V 2.3.1 .

My second gripe is with swap space.  I am attempting to re pack my root
filesystem which is also on a 40 meg drive, so I am booting of a root file-
system created on a floppy.  Since I only have 2 megs or ram, the packdisk
program needs quite a bit of swap space and that available on the floppy
disk minimal.  Is there any way I can tell swap to use the space on another
file system or say my /u file system which could be mounted when I boot off
the floppy. (The root file system on hd0 must not be mounted for the program
to work.

Any Help would be appreciated.  You can mail me at ...tabbs!tubbs!chris


Thanx
Chris.

davidsen@crdos1.crd.ge.COM (Wm E Davidsen Jr) (11/22/89)

  I think you can redefine /dev/swap by removing it and doing a new
mknod on it. I had the same problem you do and I think that's what I
did. Eventually I just added memory and the problem went away.
-- 
bill davidsen	(davidsen@crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen)
"The world is filled with fools. They blindly follow their so-called
'reason' in the face of the church and common sense. Any fool can see
that the world is flat!" - anon