Subject: port-hpcmips/29933: xdm fails on port-hpcmips
To: None <port-hpcmips-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <collver@peak.org>
List: netbsd-bugs
Date: 04/10/2005 14:59:00
>Number:         29933
>Category:       port-hpcmips
>Synopsis:       xdm fails on port-hpcmips
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-hpcmips-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 10 14:59:00 +0000 2005
>Originator:     collver@peak.org
>Release:        NetBSD 2.0
>Organization:
>Environment:
System: NetBSD moby 2.0 NetBSD 2.0 (MOBY) #0: Fri Apr  8 21:50:58 PDT 2005  ben@sanctum:/usr/ben/obj/sys/arch/hpcmips/compile/MOBY hpcmips
Architecture: mipsel
Machine: hpcmips
>Description:
	I am able to use startx on my NEC MobileGear 780 running NetBSD 2.0,
	however xdm fails.  The following is from /var/log/xdm.log

ioctl(WSDISPLAYIO_GMODE): Inappropriate ioctl for device/dev/ttyE0: 640x240 (1280bytes/line) 16bit offset=180100
ioctl(WSDISPLAYIO_SMODE): Inappropriate ioctl for deviceioctl(WSDISPLAYIO_GMODE): Inappropriate ioctl for deviceuse RAW XT keyboard, /dev/ttyE0
ioctl(WSDISPLAYIO_SMODE): Inappropriate ioctl for deviceioctl(WSDISPLAYIO_GMODE): Inappropriate ioctl for device
Fatal server error:
Async kbd I/O failed in InitInput
xdm error (pid 623): IO Error in XOpenDisplay
xdm error (pid 639): Display :0 cannot be opened
ioctl(WSDISPLAYIO_GMODE): Inappropriate ioctl for device/dev/ttyE0: 640x240 (1280bytes/line) 16bit offset=180100
ioctl(WSDISPLAYIO_SMODE): Inappropriate ioctl for deviceioctl(WSDISPLAYIO_GMODE): Inappropriate ioctl for deviceuse RAW XT keyboard, /dev/ttyE0
ioctl(WSDISPLAYIO_SMODE): Inappropriate ioctl for deviceioctl(WSDISPLAYIO_GMODE): Inappropriate ioctl for device
Fatal server error:
Async kbd I/O failed in InitInput
xdm error (pid 639): Server for display :0 terminated unexpectedly: 1
ioctl(WSDISPLAYIO_GMODE): Inappropriate ioctl for device/dev/ttyE0: 640x240 (1280bytes/line) 16bit offset=180100
ioctl(WSDISPLAYIO_SMODE): Inappropriate ioctl for deviceioctl(WSDISPLAYIO_GMODE): Inappropriate ioctl for deviceuse RAW XT keyboard, /dev/ttyE0
ioctl(WSDISPLAYIO_SMODE): Inappropriate ioctl for deviceioctl(WSDISPLAYIO_GMODE): Inappropriate ioctl for device
Fatal server error:
Async kbd I/O failed in InitInput
xdm error (pid 361): IO Error in XOpenDisplay
xdm error (pid 639): Display :0 cannot be opened
ioctl(WSDISPLAYIO_GMODE): Inappropriate ioctl for device/dev/ttyE0: 640x240 (1280bytes/line) 16bit offset=180100
ioctl(WSDISPLAYIO_SMODE): Inappropriate ioctl for deviceioctl(WSDISPLAYIO_GMODE): Inappropriate ioctl for deviceuse RAW XT keyboard, /dev/ttyE0
ioctl(WSDISPLAYIO_SMODE): Inappropriate ioctl for deviceioctl(WSDISPLAYIO_GMODE): Inappropriate ioctl for device
Fatal server error:
Async kbd I/O failed in InitInput
xdm error (pid 639): Server for display :0 terminated unexpectedly: 1
xdm error (pid 639): Display :0 is being disabled

>How-To-Repeat:
	This also happens with a GENERIC kernel.
>Fix:
	unknown