Bug#245246: SOLVED: sunffb needs afbinit Re: Bug#245246: xserver-xfree86: xserver starts but suddenly dies before and windowmanager or similar starts

2004-05-05 Thread Joerg Friedrich
Hi Branden,

Branden Robinson schrieb am Donnerstag, 29. April 2004 um 11:57:42 -0500:
 On Thu, Apr 29, 2004 at 03:24:31PM +0200, Joerg Friedrich wrote:
  Branden Robinson schrieb am Mittwoch, 28. April 2004 um 02:49:07 -0500:
   
   Does the X server stay up if you give it no clients to run?
   
   One way to test this is simply to run X as root.
  
  definitly X, I tried to run 'X' as root, the result is the same.
 
 Okay, it looks like the sunffb driver is definitely busted in testing
 and unstable.
 
 Debian SPARC porters:

I got it :-)

At least the Elite3D graphics adaptor (I don't know the Creator)
requires to be initialized by afbinit which need a microcode file from
sun.
after 'afbinit /dev/fd0' X starts without any problems!

Sorry I am new to Linux/SPARC.

Maybe you can raise a debconf warning when the sunffb driver is
selected.

-- 
Jörg Friedrich




Bug#245246: xserver-xfree86: xserver starts but suddenly dies before and windowmanager or similar starts

2004-04-29 Thread Joerg Friedrich
Branden Robinson schrieb am Mittwoch, 28. April 2004 um 02:49:07 -0500:
 
 Does the X server stay up if you give it no clients to run?
 
 One way to test this is simply to run X as root.

definitly X, I tried to run 'X' as root, the result is the same.


-- 
Jörg Friedrich




Bug#245246: xserver-xfree86: xserver starts but suddenly dies before and windowmanager or similar starts

2004-04-22 Thread Joerg Friedrich
Package: xserver-xfree86
Version: 4.3.0-7
Severity: important
Tags: sid

As I stated in the subject, the xserver starts I can see the gray screen for a 
moment, but then it dies.

After reading Branden's mail abount sunffb and dri problems I disabled all 
modules. No change.
Apparently there are some symbols missing.

btw. this is a sparc64-arch. I also tried to 'startx' in a 32-bit environment 
by 'sparc32 /bin/bash'
but nothing changed.

Regards, Joerg



-- Package-specific info:
Contents of /var/lib/xfree86/X.roster:
xserver-xfree86

X server symlink status:
lrwxrwxrwx1 root root   20 Apr 18 16:35 /etc/X11/X - 
/usr/bin/X11/XFree86
-rwxr-xr-x1 root root  1780680 Mar 18 19:06 /usr/bin/X11/XFree86
/etc/X11/X target unchanged from checksum in /var/lib/xfree86/X.md5sum.

Contents of /var/lib/xfree86/XF86Config-4.roster:
xserver-xfree86

VGA-compatible devices on PCI bus:

XFree86 X server configuration file status:
-rw-r--r--1 root root 2819 Apr 21 17:29 /etc/X11/XF86Config-4

Contents of /etc/X11/XF86Config-4:
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type man XF86Config-4 at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4  /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section Files
FontPathunix/:7100# local font server
# if the local font server has problems, we can fall back on these
FontPath/usr/lib/X11/fonts/misc
FontPath/usr/lib/X11/fonts/cyrillic
FontPath/usr/lib/X11/fonts/100dpi/:unscaled
FontPath/usr/lib/X11/fonts/75dpi/:unscaled
FontPath/usr/lib/X11/fonts/Type1
FontPath/usr/lib/X11/fonts/CID
FontPath/usr/lib/X11/fonts/Speedo
FontPath/usr/lib/X11/fonts/100dpi
FontPath/usr/lib/X11/fonts/75dpi
EndSection

Section InputDevice
Identifier  Generic Keyboard
Driver  keyboard
Option  CoreKeyboard
Option  XkbRules  sun
Option  XkbModel  type5
Option  XkbLayout us
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
Option  CorePointer
Option  Device/dev/sunmouse
Option  Protocol  BusMouse
EndSection

Section InputDevice
Identifier  Generic Mouse
Driver  mouse
Option  SendCoreEventstrue
Option  Device/dev/input/mice
Option  Protocol  ImPS/2
EndSection

Section Device
Identifier  Elite3D
Driver  sunffb
EndSection

Section Monitor
Identifier  Generic Monitor
HorizSync   30-60
VertRefresh 50-75
Option  DPMS
EndSection

Section Screen
Identifier  Default Screen
Device  Elite3D
Monitor Generic Monitor
DefaultDepth24
SubSection Display
Depth   1
Modes   1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth   4
Modes   1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth   8
Modes   1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth   15
Modes   1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth   16
Modes   1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth   24
Modes   1024x768 800x600 640x480
EndSubSection
EndSection

Section ServerLayout
Identifier  Default Layout
Screen  Default Screen
InputDevice Generic Keyboard
InputDevice Configured Mouse
InputDevice Generic Mouse
EndSection


/etc/X11/XF86Config-4 unchanged from checksum in 
/var/lib/xfree86/XF86Config-4.md5sum.

Contents of most recent XFree86 X server log file
/var/log/XFree86.0.log:

This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may 

Re: XFree86 X server: does loading the dri module still hose sunffb users?

2004-04-21 Thread Joerg Friedrich
Hi,
sorry, deleted the original mail.

Steve King schrieb am Mittwoch, 21. April 2004 um 15:47:42 +0100:
  Hi folks,
 
  I have the following in xserver-xfree86.config:
 
   # server modules to load
   # XXX: damnit, explicitly loading the dri module is broken for sunffb
   users :-P db_get xserver-xfree86/config/device/driver
   if [ $ARCH = sparc ]  [ $RET = sunffb ]; then
 MODULE_LIST=GLcore, bitmap, dbe, ddc, extmod, freetype, glx, int10,
 record, speedo, type1, v4l, vbe, xtt
   else
 MODULE_LIST=GLcore, bitmap, dbe, ddc, dri, extmod, freetype, glx,
 int10, record, speedo, type1, v4l, vbe, xtt
   fi
 
  This dates back to XFree86 4.1.0:
 
  xfree86 (4.1.0-17) unstable; urgency=low
 
  [...]
   * debian/xserver-xfree86.config:
  [...]
 - do not explicitly load the dri module on the sparc architecture
 if the
   sunffb driver is being used, because of an apparent upstream bug
   in the module loader (thanks, Ben Collins)
 
  -- Branden Robinson [EMAIL PROTECTED]  Fri, 24 May 2002 01:26:13
  -0500
 
  Can someone who uses the sunffb driver tell me if this is still
  necessary with XFree86 4.3.0?  I'd like to take that kludge out.



first, this restriction seems not to work, I get dri as an option.
second, I try to get the xserver run with my Ultra60/Elite3D (sunffb)
but X starts and then suddenly stops before any (x|g|k)dm or a simple
windowmanager starts.
I attach my config and the log, I hope you can see something there.

-- 
Jörg Friedrich
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type man XF86Config-4 at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4  /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section Files
FontPathunix/:7100# local font server
# if the local font server has problems, we can fall back on these
FontPath/usr/lib/X11/fonts/misc
FontPath/usr/lib/X11/fonts/cyrillic
FontPath/usr/lib/X11/fonts/100dpi/:unscaled
FontPath/usr/lib/X11/fonts/75dpi/:unscaled
FontPath/usr/lib/X11/fonts/Type1
FontPath/usr/lib/X11/fonts/CID
FontPath/usr/lib/X11/fonts/Speedo
FontPath/usr/lib/X11/fonts/100dpi
FontPath/usr/lib/X11/fonts/75dpi
EndSection

Section InputDevice
Identifier  Generic Keyboard
Driver  keyboard
Option  CoreKeyboard
Option  XkbRules  sun
Option  XkbModel  type5
Option  XkbLayout us
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
Option  CorePointer
Option  Device/dev/sunmouse
Option  Protocol  BusMouse
EndSection

Section InputDevice
Identifier  Generic Mouse
Driver  mouse
Option  SendCoreEventstrue
Option  Device/dev/input/mice
Option  Protocol  ImPS/2
EndSection

Section Device
Identifier  Elite3D
Driver  sunffb
EndSection

Section Monitor
Identifier  Generic Monitor
HorizSync   30-60
VertRefresh 50-75
Option  DPMS
EndSection

Section Screen
Identifier  Default Screen
Device  Elite3D
Monitor Generic Monitor
DefaultDepth24
SubSection Display
Depth   1
Modes   1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth   4
Modes   1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth   8
Modes   1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth   15
Modes   1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth   16
Modes   1024x768 800x600 640x480
EndSubSection
SubSection Display
Depth   24
Modes   1024x768 800x600 640x480
EndSubSection
EndSection

Section ServerLayout
Identifier