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 TTDate: 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;
/*