NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-atari/48599: NetBSD crashes when switched over virtual terminal with F10 on Atari TT
The following reply was made to PR port-atari/48599; it has been noted by GNATS.
From: =?ISO-8859-1?Q?G=E1bor_Sebesty=E9n?= <segabor%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: tsutsui%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost
Subject: Re: port-atari/48599: NetBSD crashes when switched over virtual
terminal with F10 on Atari TT
Date: Tue, 18 Feb 2014 21:39:01 +0100
--20cf307cffd626ee4b04f2b443cb
Content-Type: text/plain; charset=ISO-8859-1
Perfect! It just works!
I ran through all F keys and BSD survived my aggressive action.
Thank you!
Gabor
On Tue, Feb 18, 2014 at 4:20 PM, Izumi Tsutsui
<tsutsui%ceres.dti.ne.jp@localhost>wrote:
> The following reply was made to PR port-atari/48599; it has been noted by
> GNATS.
>
> From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: tsutsui%ceres.dti.ne.jp@localhost
> Subject: Re: port-atari/48599: NetBSD crashes when switched over virtual
> terminal
> with F10 on Atari TT
> Date: Wed, 19 Feb 2014 00:18:11 +0900
>
> Could you try the following patched kernel?
> ftp://ftp.netbsd.org/pub/NetBSD/arch/atari/6.1.3_PR48599/
>
> Index: sys/arch/atari/dev/ite.c
> ===================================================================
> RCS file: /cvsroot/src/sys/arch/atari/dev/ite.c,v
> retrieving revision 1.71
> diff -u -p -d -r1.71 ite.c
> --- sys/arch/atari/dev/ite.c 5 Jun 2011 16:25:12 -0000 1.71
> +++ sys/arch/atari/dev/ite.c 18 Feb 2014 14:28:45 -0000
> @@ -665,8 +665,8 @@ ite_switch(int unit)
> struct ite_softc *sc;
> extern const struct cdevsw view_cdevsw;
>
> - sc = getitesp(unit);
> - if ((sc->flags & (ITE_ATTACHED | ITE_INITED)) == 0)
> + sc = device_lookup_private(&ite_cd, unit);
> + if (sc == NULL || (sc->flags & (ITE_ATTACHED | ITE_INITED)) == 0)
> return;
>
> /*
>
>
--20cf307cffd626ee4b04f2b443cb
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div>Perfect! It just works!</div><div>I ran through all F=
keys and BSD survived my aggressive action.</div><div>Thank you!</div><div=
><br></div><div>Gabor</div></div><div class=3D"gmail_extra"><br><br><div cl=
ass=3D"gmail_quote">
On Tue, Feb 18, 2014 at 4:20 PM, Izumi Tsutsui <span dir=3D"ltr"><<a hre=
f=3D"mailto:tsutsui%ceres.dti.ne.jp@localhost"
target=3D"_blank">tsutsui%ceres.dti.ne@localhost=
.jp</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The following reply was made to PR port-atari/48599; it has been noted by G=
NATS.<br>
<br>
From: Izumi Tsutsui <<a
href=3D"mailto:tsutsui%ceres.dti.ne.jp@localhost">tsutsui@=
ceres.dti.ne.jp</a>><br>
To: gnats-bugs%NetBSD.org@localhost<br>
Cc: <a
href=3D"mailto:tsutsui%ceres.dti.ne.jp@localhost">tsutsui%ceres.dti.ne.jp@localhost</a><=
br>
Subject: Re: port-atari/48599: NetBSD crashes when switched over virtual te=
rminal<br>
<div class=3D"">=A0 =A0 =A0 =A0 =A0with F10 on Atari TT<br>
</div>Date: Wed, 19 Feb 2014 00:18:11 +0900<br>
<br>
=A0Could you try the following patched kernel?<br>
=A0<a href=3D"ftp://ftp.netbsd.org/pub/NetBSD/arch/atari/6.1.3_PR48599/" ta=
rget=3D"_blank">ftp://ftp.netbsd.org/pub/NetBSD/arch/atari/6.1.3_PR48599/</=
a><br>
<br>
=A0Index: sys/arch/atari/dev/ite.c<br>
=A0=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
=A0RCS file: /cvsroot/src/sys/arch/atari/dev/ite.c,v<br>
=A0retrieving revision 1.71<br>
=A0diff -u -p -d -r1.71 ite.c<br>
=A0--- sys/arch/atari/dev/ite.c =A0 5 Jun 2011 16:25:12 -0000 =A0 =A0 =A0 1=
.71<br>
=A0+++ sys/arch/atari/dev/ite.c =A0 18 Feb 2014 14:28:45 -0000<br>
=A0@@ -665,8 +665,8 @@ ite_switch(int unit)<br>
=A0 =A0 =A0 =A0 struct ite_softc =A0 =A0 =A0 =A0*sc;<br>
=A0 =A0 =A0 =A0 extern const struct cdevsw view_cdevsw;<br>
<br>
=A0- =A0 =A0 =A0sc =3D getitesp(unit);<br>
=A0- =A0 =A0 =A0if ((sc->flags & (ITE_ATTACHED | ITE_INITED)) =3D=3D=
0)<br>
=A0+ =A0 =A0 =A0sc =3D device_lookup_private(&ite_cd, unit);<br>
=A0+ =A0 =A0 =A0if (sc =3D=3D NULL || (sc->flags & (ITE_ATTACHED | I=
TE_INITED)) =3D=3D 0)<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 return;<br>
<br>
=A0 =A0 =A0 =A0 /*<br>
<br>
</blockquote></div><br></div>
--20cf307cffd626ee4b04f2b443cb--
Home |
Main Index |
Thread Index |
Old Index