Date: Sat, 4 Feb 1995 06:27:08 +1100 From: Bruce Evans <bde@zeta.org.au> To: freebsd-hackers@FreeBSD.org, wpaul@skynet.ctr.columbia.edu Subject: Re: Somebody broke something somewhere Message-ID: <199502031927.GAA11140@godzilla.zeta.org.au>
index | next in thread | raw e-mail
>Congratulations: in spite of all my hard work to get FreeBSD to boot
>with a serial console, somebody has managed to goof it all up:
>...
>sc0: VGA color <16 virtual consoles, flags=0x0>
>Fatal trap 12: page fault while in kernel mode
>fault virtual address = 0xc
I fixed this a while ago but the fix hasn't filtered into syscons yet.
Bruce
*** syscons.c~ Thu Feb 2 20:34:38 1995
--- syscons.c Thu Feb 2 20:41:10 1995
***************
*** 419,423 ****
scattach(struct isa_device *dev)
{
! scr_stat *scp = console[0];
scinit();
--- 419,423 ----
scattach(struct isa_device *dev)
{
! scr_stat *scp;
scinit();
***************
*** 437,440 ****
--- 437,441 ----
MAXCONS, configuration);
+ scp = console[0];
scp->scr_buf = (u_short *)malloc(scp->xsize*scp->ysize*sizeof(u_short),
M_DEVBUF, M_NOWAIT);
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199502031927.GAA11140>
