re: xserver-xsun broken!

2000-07-15 Thread Dinh-Tuan . Pham
Dayton Turner writes:
  Hi, I just installed debian on my sparc the other day as well and I get
  
  pivo:~# startx
  (using VT number 7)
  
  PEXExtensionInit: Couldn't open default PEX font file  Roman_M
  sunMouseProc ioctl VUIDFORMAT: Invalid argument
  
  Fatal server error:
  failed to initialize core devices
  
  
  Now, I do have the xfonts-pex installed and the font exists in
  /usr/X11R6/lib/X11/fonts/PEX (Roman_M.phont) although running mkfontdir
  doesnt seem to find it. so that's one problem, but i also seem to be
  having the same problem you are with the core devices.
  
  Unfortunately, I dont have an old Xsun binary to fall back on, can you
  either tell me where i might find one or give me a little insight to if
  you have seen this problem fixed yet?

So you have got the same problem as me. However, three days ago, I have
installed sparc-debian on another Sun and it surprised me that
xserver-xsun works without problem. And when I saw the message of
Bolan Meek below, every thing become clear to me. In fact in the
second installation I have taken care not to install gpm and I have
actually get the message from the server that it didn't find
/dev/gpmdata so it tries /dev/sunmouse. This is actually the behaviour
of the new xserver-xsun: trying /dev/gpmdata first then /dev/sunmouse,
but never looked at /dev/mouse. So I check my other Sun and I found
that /dev/gpmdata is still there and that is why it crashed the server
since I have purged gpm, but dpkg --purge gpm doesn't remove
/dev/gpmdata ! So I make an experience: I reinstall the new
xserver-xsun but have gpmdata removed or symlinked to sunmouse. it
works except that in the first case the server complains about not
finding gpmdata.

Hope this help.

P.S. Just an after thought, It might be possible that xserver-xsun and
gpm can work together with gpm if the later is installed with option
repeat. I have turn off systematically this option because it has
caused problem in the past (also on an intel box with the ATI card)


Bolan Meek writes:
  Greetings:  God bless you.
  
  I got snagged by the default installation of gpm on one the two
  SS20s on which I installed potato/sparc today:  X would not
  come up, as in
  http://www.debian.org/Lists-Archives/debian-sparc-0004/msg00131.html ,
  with a fix offered in
  http://www.debian.org/Lists-Archives/debian-sparc-0004/msg00133.html .
  
  I did this, and it still would not work, until I deleted, by hand,
  since dselect purge did not, /dev/gpmdata and /etc/gpm.conf.
  Then, after exiting X, I saw:
  Cannot open /dev/gpmdata, error 2. Trying /dev/sunmouse.
  
  I suppose I could make it look directly for /dev/sunmouse,
  if I knew what configuration file it's using.  I looked
  for it in /etc/X11/XF86Config, but that file doesn't exit,
  even though there is a link to it:
  # ls -l /usr/X11R6/lib/X11/XF86Config
   /usr/X11R6/lib/X11/XF86Config - /etc/X11/XF86Config
  
  I'm considering filing a wishlist BR so that gpm is not
  selected by default during installation.
  -- 
  [EMAIL PROTECTED] 972--729-5387
  [EMAIL PROTECTED] (home phone on request)
  http://www.koyote.com/users/bolan
  RE: xmailtool http://www.koyote.com/users/bolan/xmailtool/index.html
  I am the ILOVEGNU signature virus. Just copy me to your signature.
  This email was infected under the terms of the GNU General Public
  License.
  
  
  --  
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
  
  



  Hi,
  Yesterday, I have confidently convert a Sun sparc-solaris to
   sparc-debian. No particular problem, but when I launch startx I found
   that the xserver package isn't installed : in fact it has been
   dselected when I select gpm. No problem, I reinstall xserver-xsun
   which remove gpm. However, startx yields the following error message
  
   SunMouseProc ioctl VUIDGFORMAT: invalid argument
   Fatal server error
   Fail to initialize core devices
  
   Sound familiar, I remove the link /dev/mouse - gpmdata and reling to
   /dev/sunmouse then relaunch startx: same error ! I purge gpm: same
   error, purge xserver-xsun and reinstall xserver-xsun: same error,
   reboot retart: same error
  
   Panic, going back and reinstall solaris would be too much a hassle.
   Fortunately I remember having a Sun machine running sparc-debian. I
   copy the file Xsun on this machine to this one. It works !
  
   I would like to point out that this other Sun have been upgradded
   several day ago and for some reason the xserver-xsun have been kept
   back (perhaps because of the presence of gpm ?). I also notice that
   adter upgrading my xserver crashed and I have to remove gpm.
   Apparently, this upgrade have nevertheless change the behaviour of the
   X server: it crash in the presence of gpm while before gpm get kill.
   That's no big deal. But I am very upset that at this advance stage (of
   freeze), one still tinkers with a critical and working 

re: xserver-xsun broken!

2000-07-14 Thread Ben Roberts
If it's trying to open gpmdata, make sure XF86Config uses the correct mouse
device.  Look for something like:

Section Mouse
  Device /dev/some device

that device should be sunmouse, I suspect it may be set to /dev/mouse, which
probably is symlinked to the supposed gpmdata socket.  However the device in
XF86Config should be explicit anyways, so you should change this line to
/dev/sunmouse, and if you don't have gpm just remove /dev/mouse IF it's really 
a symlink.

-
Ben Roberts, Class of 2001 (1st of millenium), founding member of MBLUG
/dev/null-- the inode of no return  |   C stands for Superior
(until devfs came along; now no inode)



re: xserver-xsun broken!

2000-07-14 Thread Paul Vojta
On Fri, 14 Jul 2000 08:25:11 -0400 (EDT),
Ben Roberts [EMAIL PROTECTED] wrote:
 If it's trying to open gpmdata, make sure XF86Config uses the correct mouse
 device.  Look for something like:

 Section Mouse
   Device /dev/some device

 that device should be sunmouse, I suspect it may be set to /dev/mouse, which
 probably is symlinked to the supposed gpmdata socket.  However the device in
 XF86Config should be explicit anyways, so you should change this line to
 /dev/sunmouse, and if you don't have gpm just remove /dev/mouse IF it's really
 a symlink.

Huh??  xserver-xsun doesn't use XF86Config.

--Paul Vojta, [EMAIL PROTECTED]



re: xserver-xsun broken!

2000-07-14 Thread Ben Roberts
Huh??  xserver-xsun doesn't use XF86Config.

Oops, haven't quite gotten to setting up X on my SPARC yet
 *
:-)
 *

anyway, it could still be /dev/mouse is a symlink to /dev/gpmdata, I guess.  It
may do something like check for /dev/mouse, if it doesn't find it fall back on
/dev/sunmouse, if that doens't work fall back on something else, etc.  That's
how the kernel starts init: /sbin/init, /bin/init, /bin/sh, PANIC.

-
Ben Roberts, Class of 2001 (1st of millenium), founding member of MBLUG
/dev/null-- the inode of no return  |   C stands for Superior
(until devfs came along; now no inode)



re: xserver-xsun broken!

2000-07-14 Thread Paul Vojta
 Date: Thu, 13 Jul 2000 15:37:18 -0700
 From: Dayton Turner [EMAIL PROTECTED]
 To: debian-sparc@lists.debian.org
 Subject: re: xserver-xsun broken!
 
 Unfortunately, I dont have an old Xsun binary to fall back on, can you
 either tell me where i might find one or give me a little insight to if
 you have seen this problem fixed yet?

I have an old Xsun binary (from 12 July 1999) that I'm still using.
I can mail it to you if you don't have a better copy yet.  IIRC it's
version 3.3.3.1.

--Paul Vojta, [EMAIL PROTECTED]



re: xserver-xsun broken!

2000-07-13 Thread Dayton Turner
Hi, I just installed debian on my sparc the other day as well and I get

pivo:~# startx
(using VT number 7)

PEXExtensionInit: Couldn't open default PEX font file  Roman_M
sunMouseProc ioctl VUIDFORMAT: Invalid argument

Fatal server error:
failed to initialize core devices


Now, I do have the xfonts-pex installed and the font exists in
/usr/X11R6/lib/X11/fonts/PEX (Roman_M.phont) although running mkfontdir
doesnt seem to find it. so that's one problem, but i also seem to be
having the same problem you are with the core devices.

Unfortunately, I dont have an old Xsun binary to fall back on, can you
either tell me where i might find one or give me a little insight to if
you have seen this problem fixed yet?

Thanks alot
Dayton

Hi,
Yesterday, I have confidently convert a Sun sparc-solaris to
 sparc-debian. No particular problem, but when I launch startx I found
 that the xserver package isn't installed : in fact it has been
 dselected when I select gpm. No problem, I reinstall xserver-xsun
 which remove gpm. However, startx yields the following error message

 SunMouseProc ioctl VUIDGFORMAT: invalid argument
 Fatal server error
 Fail to initialize core devices

 Sound familiar, I remove the link /dev/mouse - gpmdata and reling to
 /dev/sunmouse then relaunch startx: same error ! I purge gpm: same
 error, purge xserver-xsun and reinstall xserver-xsun: same error,
 reboot retart: same error

 Panic, going back and reinstall solaris would be too much a hassle.
 Fortunately I remember having a Sun machine running sparc-debian. I
 copy the file Xsun on this machine to this one. It works !

 I would like to point out that this other Sun have been upgradded
 several day ago and for some reason the xserver-xsun have been kept
 back (perhaps because of the presence of gpm ?). I also notice that
 adter upgrading my xserver crashed and I have to remove gpm.
 Apparently, this upgrade have nevertheless change the behaviour of the
 X server: it crash in the presence of gpm while before gpm get kill.
 That's no big deal. But I am very upset that at this advance stage (of
 freeze), one still tinkers with a critical and working package like X
 and introduce new bug. Just two days ago? I have reported a bug in the
 new file /etc/Xsession (it no longer loads the Xresources)

 Please go back to the xserver-xsun which works

 --
 PHAM Dinh Tuan | e-mail: [EMAIL PROTECTED]
 Laboratoire de Modelisation et Calcul  | Tel: +33 4 76 51 44 23
 BP 53, 38041 Grenoble cedex 9 (France) | Fax: +33 4 76 63 12 63
 ---


--
 `~ ~'
  O.O
---UUU-V-UUU-
Dayton Turner   UNIX Systems and Network Administrator
E-Mail: [EMAIL PROTECTED]  Cell: (604) 809-7742
WWW: http://www.turnerd.com Richmond, BC, Canada





re: xserver-xsun broken!

2000-07-13 Thread Ragga Muffin

Hi, I just installed debian on my sparc the other day as well and I get

pivo:~# startx
(using VT number 7)

PEXExtensionInit: Couldn't open default PEX font file  Roman_M
sunMouseProc ioctl VUIDFORMAT: Invalid argument

Fatal server error:
failed to initialize core devices


Now, I do have the xfonts-pex installed and the font exists in
/usr/X11R6/lib/X11/fonts/PEX (Roman_M.phont) although running mkfontdir
doesnt seem to find it. so that's one problem, but i also seem to be
having the same problem you are with the core devices.

Hi there,

I've had this font problem since slink (iirc) and it persists
as of Xsun version 3.3.6-9.
I don't know of a cure.
However I usually don't get a fatal server error just

Cannot open /dev/gpmdata, error 2. Trying /dev/sunmouse.

I thought the default was sunmouse ?!? 
I don't even have gpm installed..

Not much of a help

--
Ragga