From owner-freebsd-hackers Fri Feb 3 11:27:55 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id LAA18702 for hackers-outgoing; Fri, 3 Feb 1995 11:27:55 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id LAA18696 for ; Fri, 3 Feb 1995 11:27:45 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id GAA11140; Sat, 4 Feb 1995 06:27:08 +1100 Date: Sat, 4 Feb 1995 06:27:08 +1100 From: Bruce Evans Message-Id: <199502031927.GAA11140@godzilla.zeta.org.au> To: freebsd-hackers@FreeBSD.org, wpaul@skynet.ctr.columbia.edu Subject: Re: Somebody broke something somewhere Sender: hackers-owner@FreeBSD.org Precedence: bulk >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);