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

2004-05-10 Thread Branden Robinson
retitle 245246 xserver-xfree86: [sunffb] X server fails to start on Elite3D if 
firmware not loaded first
severity 245246 normal
thanks

On Wed, May 05, 2004 at 09:23:32AM +0200, Joerg Friedrich wrote:
> > 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.

Excellent!  Thank you for following up.

I suspect what should be done instead is:

1) The kernel, or hotplug, or some non-XFree86 package, should
automatically run "afbinit /dev/fd0" at boot time.  This issue I leave
to debian-sparc to debate.

2) The XFree86 X server should be improved to:
  A) at best, detect that the firmware isn't loaded and issue an error
 message about this so there is something intelligible in the log
 other than the unresolved symbols garbage; or
  B) at worst, always warn all sunffb users about the fact that Elite3D,
 among possibly other Sun video hardware, needs to be initialized
 with afbinit first

I can write a patch for the latter.  I can't do the former without
assistance.  If someone could help me with a function call or two to
ask the hardware if its firmware is loaded (if that is even possible),
that would be most appreciated.

Retitling and downgrading the severity of this bug.

-- 
G. Branden Robinson|
Debian GNU/Linux   |  If encryption is outlawed, only
[EMAIL PROTECTED] |  outlaws will @goH7Ok=http://people.debian.org/~branden/ |


signature.asc
Description: Digital signature


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

2004-05-10 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> retitle 245246 xserver-xfree86: [sunffb] X server fails to start on Elite3D 
> if firmware not loaded first
Bug#245246: xserver-xfree86: [sunffb] server won't start, complains of 
unresolved DRI/drm symbols on Elite3D
Changed Bug title.

> severity 245246 normal
Bug#245246: xserver-xfree86: [sunffb] X server fails to start on Elite3D if 
firmware not loaded first
Severity set to `normal'.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)



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-30 Thread Branden Robinson
On Thu, Apr 29, 2004 at 02:02:42PM -0400, Ben Collins wrote:
> On Thu, Apr 29, 2004 at 11:57:42AM -0500, Branden Robinson wrote:
> > tag 245246 - moreinfo
> > tag 245246 + help
> > thanks
> > 
> > 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.
> 
> Is this minus the patches that I sent you?

It's minus the one that wouldn't compile.

The other one is part of the package version the submitter is using:

  * Apply patch by David S. Miller to implement support for RGB->BGR
colorspace conversion in the X server's fb layer.
- debian/patches/072_Xserver_fb_convert_RGB_to_BGR.diff

A few weeks ago, I asked for an updated version of the other patch:

  * Apply patch by David S. Miller to implement XAA and Render support
in the sunffb driver.
- debian/patches/073_sunffb_xaa_render_fb_support.diff

If you could get a version to me that will build I'd be happy to apply
it.

However, the missing symbols that are being complained have to do with
DRI and drm, not XAA or Render.

-- 
G. Branden Robinson|   Yesterday upon the stair,
Debian GNU/Linux   |   I met a man who wasn't there.
[EMAIL PROTECTED] |   He wasn't there again today,
http://people.debian.org/~branden/ |   I think he's from the CIA.


signature.asc
Description: Digital signature


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

2004-04-29 Thread Ben Collins
On Thu, Apr 29, 2004 at 11:57:42AM -0500, Branden Robinson wrote:
> tag 245246 - moreinfo
> tag 245246 + help
> thanks
> 
> 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.

Is this minus the patches that I sent you?


-- 
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/




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

2004-04-29 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> tag 245246 - moreinfo
Bug#245246: xserver-xfree86: [sunffb] server won't start, complains of 
unresolved DRI/drm symbols on Elite3D
Tags were: upstream moreinfo
Tags removed: moreinfo

> tag 245246 + help
Bug#245246: xserver-xfree86: [sunffb] server won't start, complains of 
unresolved DRI/drm symbols on Elite3D
Tags were: upstream
Tags added: help

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)



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

2004-04-29 Thread Branden Robinson
tag 245246 - moreinfo
tag 245246 + help
thanks

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:

Help!

-- 
G. Branden Robinson|No executive devotes much effort to
Debian GNU/Linux   |proving himself wrong.
[EMAIL PROTECTED] |-- Laurence J. Peter
http://people.debian.org/~branden/ |


signature.asc
Description: Digital signature


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




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

2004-04-28 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> tag 245246 + moreinfo upstream
Bug#245246: xserver-xfree86: xserver starts but suddenly dies before and 
windowmanager or similar starts
Tags were: sid
Tags added: moreinfo, upstream

> retitle 245246 xserver-xfree86: [sunffb] server won't start, complains of 
> unresolved DRI/drm symbols on Elite3D
Bug#245246: xserver-xfree86: xserver starts but suddenly dies before and 
windowmanager or similar starts
Changed Bug title.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)



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

2004-04-28 Thread Branden Robinson
tag 245246 + moreinfo upstream
retitle 245246 xserver-xfree86: [sunffb] server won't start, complains of 
unresolved DRI/drm symbols on Elite3D
thanks

On Thu, Apr 22, 2004 at 07:36:21AM +0200, Joerg Friedrich wrote:
> 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.

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.

-- 
G. Branden Robinson|  What cause deserves following if
Debian GNU/Linux   |  its adherents must bury their
[EMAIL PROTECTED] |  opposition with lies?
http://people.debian.org/~branden/ |  -- Noel O'Connor


signature.asc
Description: Digital signature


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"
FontPath"unix/: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  "SendCoreEvents""true"
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.

C