Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Apr 1995 12:26:16 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-bugs@freefall.cdrom.com, pb@fasterix.freenix.fr
Subject:   Re: kern/363: page fault in sio.c:sioioctl soon after boot (+ suggested fix)
Message-ID:  <199504260226.MAA00711@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>>Synopsis:       page fault in sio.c soon after boot (+ suggested fix)
>...
>	out-of-the-box April 12th snapshot.

>>Description:

>page fault line 1296 in sioioctl() :

>sio.c:
>  1293		com = com_addr(MINOR_TO_UNIT(mynor));
>  1294		iobase = com->iobase;
>  1295		tp = com->tp;
>->1296		term = tp->t_termios;
>  1297		oldcmd = cmd;

This bug was introduced on April 11 and fixed on April 13.

>Note that there seems to be a workaround : access /dev/ttydX before
>/dev/tty[il]X, using comcontrol for example (as in rc.serial, which may
>explain why the bug has gone unnoticed).

I wondered why it when unnoticed for as long as one day :-).  I saw it
for a mouse port - in rc.serial, comcontrol is called for terminals and
modems but not for mouses.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504260226.MAA00711>