[Pkg-gpm-devel] Bug#219974: gpm: fix found

Peter Samuelson Peter Samuelson <peter@p12n.org>, 219974@bugs.debian.org
Fri, 11 Feb 2005 00:53:33 -0600


--flDc4cbvG5Y7qIjC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


[C. Scott Ananian]
> Feb  9 13:03:56 sincerity-forever /usr/sbin/gpm[5145]: oops() invoked fro=
m gpn.c(205)
>=20
> in /var/log/syslog when you restart gpm, the problem is likely that the
> mousedev or psmouse modules aren't loaded.  It was mousedev I was missing.

Thanks for the report.  Yeah, in kernel 2.6, 'mousedev' is what
provides /dev/psaux or /dev/input/mice, so if you miss that one (and it
isn't autoloaded in some way), certainly gpm will fail with the 'no
such device' thing.

I'll look into whether the init code can be rearranged to fail in a
more visible manner for things like this (like opening the device
before daemonizing).  Or possibly even an ugly special case in the init
script to check /proc/misc if device is /dev/psaux and complain
informatively if 'psaux' isn't in there.  ('mousedev' makes the entry
appear.)

Thanks,
Peter

--flDc4cbvG5Y7qIjC
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCDFZtXk7sIRPQRh0RAr3SAKChYkfIJXS3xqTpX5e3u2BuG/gXOACePxVD
FmTgmIy9pv+7mMfXeZ5/NlI=
=343E
-----END PGP SIGNATURE-----

--flDc4cbvG5Y7qIjC--