Bug#282401: xserver-xfree86: segfault at startup (when loading module pcidata?)

2004-12-10 Thread Branden Robinson
severity 282401 important
retitle 282401 xserver-xfree86: SEGV at startup on Sun Blade 100 when trying to 
load pcidata module (-dbg package works)
close 282401
merge 280384 282401
thanks

On Sun, Nov 21, 2004 at 09:40:16PM +0100, Admar Schoonen wrote:
> Package: xserver-xfree86
> Version: 4.3.0.dfsg.1-8
> Severity: normal
> 
> System is a Sun Blade 100 (ultra sparc IIe) with 2 mach64 pci cards (1 on 
> board,
> 1 in pci slot). Linux kernels 2.6.x with x<7 and current X server work fine on
> this machine (apart from the fact dat those kernels have a bug that prevents 
> the
> second head to work). Kernels 2.6.8 and up don't have this bug, and therefor,
> both heads work. However, with those kernels, xserver-xfree86 won't work; the
> xserver crashes even before initializing the card(s). The logfile is up at
> http://people.spacelabs.nl/~admar/troep/XFree86.0.log
> 
> The strange this is though, that X does work perfectly fine if I use
> xserver-xfree86-dbg (even dual head works).
> 
> I hope this is enough information to fix the problem (or that it is at least
> enoough information for other people with a non working X to have a 
> workaround).
> If you need more information, please let me know.

I believe this bug is a duplicate of #280384, which was fixed yesterday
with the release of 4.3.0.dfsg.1-9:

xfree86 (4.3.0.dfsg.1-9) unstable; urgency=high
[...]
  * Apply patch from Richard Mortimer to fix the XFree86 X server's ELF object
loader to set the PROT_EXEC flag on mmap()ed modules regardless of machine
architecture.  (It was already trying to do this, but there are three
preprocessor statements involved, and we were only patching one.)
(Closes: #280384)
[...]
 -- Fabio M. Di Nitto <[EMAIL PROTECTED]>  Thu,  9 Dec 2004 17:14:45 +0100

-- 
G. Branden Robinson|Imagination was given man to
Debian GNU/Linux   |compensate for what he is not, and
[EMAIL PROTECTED] |a sense of humor to console him for
http://people.debian.org/~branden/ |what he is.


signature.asc
Description: Digital signature


Processed: Re: Bug#282401: xserver-xfree86: segfault at startup (when loading module pcidata?)

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

> severity 282401 important
Bug#282401: xserver-xfree86: segfault at startup (when loading module pcidata?)
Severity set to `important'.

> retitle 282401 xserver-xfree86: SEGV at startup on Sun Blade 100 when trying 
> to load pcidata module (-dbg package works)
Bug#282401: xserver-xfree86: segfault at startup (when loading module pcidata?)
Changed Bug title.

> close 282401
Bug#282401: xserver-xfree86: SEGV at startup on Sun Blade 100 when trying to 
load pcidata module (-dbg package works)
'close' is deprecated; see http://www.debian.org/Bugs/Developer#closing.
Bug closed, send any further explanations to Admar Schoonen <[EMAIL PROTECTED]>

> merge 280384 282401
Bug#280384: xserver-xfree86: [elfloader] SEGV on sparc with Linux 2.6 due to 
non-PROT-EXEC-ed use of mmap()
Bug#282401: xserver-xfree86: SEGV at startup on Sun Blade 100 when trying to 
load pcidata module (-dbg package works)
Merged 280384 282401.

> thanks
Stopping processing here.

Please contact me if you need assistance.

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



Bug#282401: xserver-xfree86: segfault at startup (when loading module pcidata?)

2004-11-21 Thread Admar Schoonen
Package: xserver-xfree86
Version: 4.3.0.dfsg.1-8
Severity: normal

System is a Sun Blade 100 (ultra sparc IIe) with 2 mach64 pci cards (1 on board,
1 in pci slot). Linux kernels 2.6.x with x<7 and current X server work fine on
this machine (apart from the fact dat those kernels have a bug that prevents the
second head to work). Kernels 2.6.8 and up don't have this bug, and therefor,
both heads work. However, with those kernels, xserver-xfree86 won't work; the
xserver crashes even before initializing the card(s). The logfile is up at
http://people.spacelabs.nl/~admar/troep/XFree86.0.log

The strange this is though, that X does work perfectly fine if I use
xserver-xfree86-dbg (even dual head works).

I hope this is enough information to fix the problem (or that it is at least
enoough information for other people with a non working X to have a workaround).
If you need more information, please let me know.

Best regards,

Admar

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

/etc/X11/X target unchanged from checksum in /var/lib/xfree86/X.md5sum.

X server symlink status:
lrwxr-xr-x  1 root root 26 Nov 21 20:33 /etc/X11/X -> /usr/bin/X11/XFree86-debug
-rwxr-xr-x  1 root root 127862144 Sep 28 23:47 /usr/bin/X11/XFree86-debug

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

VGA-compatible devices on PCI bus:
:00:13.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
:01:01.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)

/etc/X11/XF86Config-4 does not match checksum in 
/var/lib/xfree86/XF86Config-4.md5sum.

XFree86 X server configuration file status:
-rw-r--r--  1 root root 6573 Nov 21 20:51 /etc/X11/XF86Config-4

Contents of /etc/X11/XF86Config-4:
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen  0  "Screen0" 0 0
Screen  0  "Screen1" RightOf "Screen0"
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
#   InputDevice"stylus"
#   InputDevice"eraser"
#   InputDevice"mouse"
EndSection

Section "Files"
RgbPath  "/usr/X11R6/lib/X11/rgb"
#   ModulePath   "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load  "dbe"
Load  "dri"
Load  "extmod"
Load  "glx"
Load  "record"
Load  "xtrap"
Load  "speedo"
Load  "type1"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"  "xfree86"
Option  "XkbModel"  "pc105"
Option  "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/input/mice"
Option  "Protocol"  "ImPS/2"
EndSection

# Section "InputDevice"
#   Identifier  "stylus"
#   Driver  "wacom"
#   Option  "Device""/dev/input/event0"
#   Option  "CorePointer"
#   Option  "SendCoreEvents""true"
#   Option  "Type"  "stylus"
#   Option  "Mode"  "absolute"
#   Option  "Threshold" "10"
#   Option  "USB"   "on"
# EndSection
# 
# Section "InputDevice"
#   Identifier  "eraser"
#   Driver  "wacom"
#   Option  "Device""/dev/input/event0"
#   Option  "CorePointer"
#   Option  "SendCoreEvents""true"
#   Option  "Type"  "eraser"
#   Option  "Mode"  "absolute"
#   Option  "Threshold" "10"
#   Option  "USB"   "on"
# EndSection
# 
# Section "InputDevice"
#   Identifier  "mouse"
#   Driver  "wacom"
#   Option  "Device""/dev/input/event0"
#   Option  "CorePointer"
#   Option  "SendCoreEvents""true"
#   Option  "Type"  "mouse"
#   Option  "Mode"  "relative"
#   Option  "Threshold" "10"
#   Option  "USB"   "on"
# EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "LG"
ModelName"Flatron 915FT Plus"
HorizSync30-107
VertRefresh  50-200
DisplaySize  351 268
EndSection

Section "Monitor"
Identifier   "Monitor1"
VendorName   "Sun Microsystems"
ModelName"C