Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!ucsvc.ucs.unimelb.edu.au!lugb!latcs1!latcs5.lat.oz.au!wongm
Newsgroups: comp.os.386bsd.questions
Subject: Xserver crashes (repost) + future platform
Message-ID: <CBzCrz.Ayv@latcs1.lat.oz.au>
From: wongm@latcs5.lat.oz.au (M.C. Wong)
Date: Thu, 19 Aug 1993 00:16:47 GMT
Sender: news@latcs1.lat.oz.au (news)
Organization: Comp Sci, La Trobe Uni, Australia
Nntp-Posting-Host: latcs5.lat.oz.au
Lines: 41
Hi,
I am running 386bsd 0.1 + pk 0.2.4 + XFree86-1.2 (using syscons-2.0)! Recently
I have run into frequent crashes in X server, when running ico. I am not very
concerned about what programs are running, but I just wonder why it will crash
that easily. I just try to avoid X crashing in the middle of some serious work.
On the other hand, I have run out of disk space, and taps into the reserved
area of disk space (ie df will show 104% of disk usage). I wonder if this is
causing the problem ?
So, is there a way of restoring the virtual console to text mode ? I attempt
to use syscons ioctl as follows :
main() {
FILE *fp;
int fn;
/* tty02 is the virtual console which I run X all the time */
if ((fp = fopen("/dev/tty02", "rw")) == NULL) {
perror("textmode");
exit(-1);
}
fn = fileno(fp);
ioctl(fn, CONS_80x25TEXT, 0); /* can't actually remember the ioctl constant */
}
But it doesn't switch me back to text mode (80x25). I wonder if anyone has the
solution for this ?
Also, having installed syscons-2.0 as my console driver, I still can't run
more than 1 X server on each different virtual console. Has anyone successully
run more than 1 X server with syscons-2.0 in each of the virtual console ? Could
you please drop me a few lines how you get that working ?
One last thing. Will the port of 386bsd go as far as onto Alpha AXP, and
PowerPC based PCs in the future ?
Thanks in advance!
--
- wongm@latcs1.lat.oz.au