Subject: xsrc/24742: xdm(1) vt?? support for amd64
To: None <>
From: None <>
List: netbsd-bugs
Date: 03/11/2004 10:44:21
>Number:         24742
>Category:       xsrc
>Synopsis:       xdm(1) vt?? support for amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 11 09:45:00 UTC 2004
>Originator:     Nicolas Joly
>Release:        NetBSD 1.6ZK (-current 20040311)
	Institut Pasteur
System: NetBSD 1.6ZK NetBSD 1.6ZK (GENERIC.MP) #2: Thu Mar 11 10:09:34 CET 2004 amd64
Architecture: x86_64
Machine: amd64
I noticed that xdm(1) won't start using rc(8) scripts on amd64, because
xdm does not have vt?? option support on the command line.

root@lanfeust [~]# /etc/rc.d/xdm start
root@lanfeust [~]# less /var/log/xdm.log 
Unrecognized option: vt05
use: X [:<display>] [option]
-a #                   mouse acceleration (pixels)
xdm error (pid 26970): server unexpectedly died
xdm error (pid 26970): Server for display :0 can't be started, session disabled

Start xdm using rc scripts.
Add PCCONS and PCVT support like other archs.

Index: xfree/xc/config/cf/
RCS file: /cvsroot/xsrc/xfree/xc/config/cf/,v
retrieving revision 1.62
diff -u -r1.62
--- xfree/xc/config/cf/	7 Mar 2004 12:03:44 -0000	1.62
+++ xfree/xc/config/cf/	10 Mar 2004 13:44:42 -0000
@@ -315,7 +315,7 @@
 #elif defined(AMD64Architecture)
 # define ServerExtraDefines	GccGasOption XFree86ServerDefines -D_XSERVER64
 #  ifndef XFree86ConsoleDefines
-#    define XFree86ConsoleDefines -DWSCONS_SUPPORT
 #  endif
 #elif defined(SGIMipsArchitecture)
 #    define XFree86ConsoleDefines -DWSCONS_SUPPORT