Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#29007 - xf86-video-neomagic 1.2.5-6 segfaults during Xorg startup with xorg-server 1.12.0-1

Attached to Project: Arch Linux
Opened by Matt Smith (mjsmith) - Monday, 19 March 2012, 17:49 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 20 March 2012, 20:20 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Architecture i686
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Xorg immediately segfaults when loading the neomagic driver.

Additional info:
Thinkpad 600X Laptop
uname -a: Linux CT4 3.2.11-1-ARCH #1 SMP PREEMPT Thu Mar 15 09:16:03 UTC 2012 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
No /etc/X11/xorg.conf

Relevant package versions:
xorg-server 1.12.0-1 i686
xorg-server-common 1.12.0-1 i686
xf86-video-neomagic 1.2.5-6 i686
xf86-input-evdev 2.7.0-2 i686

Logs:
------ lspci -vv ------

00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 64
Region 0: Memory at 40000000 (32-bit, prefetchable) [size=64M]
Capabilities: [a0] AGP version 1.0
Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2
Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>
Kernel driver in use: agpgart-intel

00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 168
Bus: primary=00, secondary=01, subordinate=01, sec-latency=176
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: 70000000-dfffffff
Prefetchable memory behind bridge: e0000000-f7ffffff
Secondary status: 66MHz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B+
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-

00:02.0 CardBus bridge: Texas Instruments PCI1450 (rev 03)
Subsystem: IBM ThinkPad 600X/A21m/T20/T22
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 168, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at 50104000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
Memory window 0: 28000000-2bffffff (prefetchable)
Memory window 1: 24000000-27ffffff
I/O window 0: 00001c00-00001cff
I/O window 1: 00001800-000018ff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
16-bit legacy interface ports at 0001
Kernel driver in use: yenta_cardbus

00:02.1 CardBus bridge: Texas Instruments PCI1450 (rev 03)
Subsystem: IBM ThinkPad 600X/A21m/T20/T22
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 168, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 11
Region 0: Memory at 50103000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=06, subordinate=09, sec-latency=176
Memory window 0: 20000000-23ffffff (prefetchable)
Memory window 1: 1c000000-1fffffff
I/O window 0: 00001400-000014ff
I/O window 1: 00001000-000010ff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
16-bit legacy interface ports at 0001
Kernel driver in use: yenta_cardbus

00:03.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
Subsystem: Dell Wireless 1350 WLAN Mini-PCI Card
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64
Interrupt: pin A routed to IRQ 11
Region 0: Memory at 50100000 (32-bit, non-prefetchable) [size=8K]
Kernel driver in use: b43-pci-bridge

00:06.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24/30 [CrystalClear SoundFusion Audio Accelerator] (rev 01)
Subsystem: IBM ThinkPad 600X/A20m
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (1000ns min, 6000ns max)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at 50102000 (32-bit, non-prefetchable) [size=4K]
Region 1: Memory at 50000000 (32-bit, non-prefetchable) [size=1M]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: snd_cs46xx

00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0

00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 80 [Master])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 48
Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
Region 4: I/O ports at fcf0 [size=16]
Kernel driver in use: ata_piix

00:07.2 USB controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 48
Interrupt: pin D routed to IRQ 11
Region 4: I/O ports at 4400 [size=32]
Kernel driver in use: uhci_hcd

00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin ? routed to IRQ 9

01:00.0 VGA compatible controller: Neomagic Corporation NM2360 [MagicMedia 256ZX] (prog-if 00 [VGA controller])
Subsystem: IBM ThinkPad 600X
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 128 (4000ns min, 63750ns max)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at e0000000 (32-bit, prefetchable) [size=32M]
Region 1: Memory at 70000000 (32-bit, non-prefetchable) [size=4M]
Region 2: Memory at 70400000 (32-bit, non-prefetchable) [size=1M]
Expansion ROM at <unassigned> [disabled]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-


------ Xorg.0.log ------

[ 1662.461]
X.Org X Server 1.12.0
Release Date: 2012-03-04
[ 1662.461] X Protocol Version 11, Revision 0
[ 1662.461] Build Operating System: Linux 3.2.9-1-ARCH i686
[ 1662.462] Current Operating System: Linux CT4 3.2.11-1-ARCH #1 SMP PREEMPT Thu Mar 15 09:16:03 UTC 2012 i686
[ 1662.462] Kernel command line: root=/dev/disk/by-uuid/69d2910e-f785-48c3-9f85-4ace13f25c1f apic ro
[ 1662.462] Build Date: 05 March 2012 06:02:28AM
[ 1662.462]
[ 1662.463] Current version of pixman: 0.24.4
[ 1662.463] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1662.463] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1662.465] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 19 09:44:34 2012
[ 1662.465] (==) Using config file: "/etc/X11/xorg.conf"
[ 1662.466] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 1662.467] (==) No Layout section. Using the first Screen section.
[ 1662.467] (**) |-->Screen "Screen0" (0)
[ 1662.467] (**) | |-->Monitor "<default monitor>"
[ 1662.468] (**) | |-->Device "Card0"
[ 1662.468] (==) No monitor specified for screen "Screen0".
Using a default monitor configuration.
[ 1662.468] (==) Automatically adding devices
[ 1662.468] (==) Automatically enabling devices
[ 1662.468] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 1662.468] Entry deleted from font path.
[ 1662.468] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 1662.468] Entry deleted from font path.
[ 1662.468] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 1662.469] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 1662.469] Entry deleted from font path.
[ 1662.469] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 1662.469] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/Type1/
[ 1662.469] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 1662.469] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 1662.469] (II) Loader magic: 0x822e580
[ 1662.469] (II) Module ABI versions:
[ 1662.469] X.Org ANSI C Emulation: 0.4
[ 1662.469] X.Org Video Driver: 12.0
[ 1662.469] X.Org XInput driver : 16.0
[ 1662.469] X.Org Server Extension : 6.0
[ 1662.471] (--) PCI:*(0:1:0:0) 10c8:0006:1014:0152 rev 0, Mem @ 0xe0000000/33554432, 0x70000000/4194304, 0x70400000/1048576
[ 1662.472] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 1662.472] (II) LoadModule: "extmod"
[ 1662.473] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 1662.474] (II) Module extmod: vendor="X.Org Foundation"
[ 1662.474] compiled for 1.12.0, module version = 1.0.0
[ 1662.474] Module class: X.Org Server Extension
[ 1662.474] ABI class: X.Org Server Extension, version 6.0
[ 1662.475] (II) Loading extension MIT-SCREEN-SAVER
[ 1662.475] (II) Loading extension XFree86-VidModeExtension
[ 1662.475] (II) Loading extension XFree86-DGA
[ 1662.475] (II) Loading extension DPMS
[ 1662.475] (II) Loading extension XVideo
[ 1662.475] (II) Loading extension XVideo-MotionCompensation
[ 1662.475] (II) Loading extension X-Resource
[ 1662.475] (II) LoadModule: "dbe"
[ 1662.476] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 1662.476] (II) Module dbe: vendor="X.Org Foundation"
[ 1662.476] compiled for 1.12.0, module version = 1.0.0
[ 1662.477] Module class: X.Org Server Extension
[ 1662.477] ABI class: X.Org Server Extension, version 6.0
[ 1662.477] (II) Loading extension DOUBLE-BUFFER
[ 1662.477] (II) LoadModule: "glx"
[ 1662.477] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 1662.478] (II) Module glx: vendor="X.Org Foundation"
[ 1662.478] compiled for 1.12.0, module version = 1.0.0
[ 1662.478] ABI class: X.Org Server Extension, version 6.0
[ 1662.478] (==) AIGLX enabled
[ 1662.478] (II) Loading extension GLX
[ 1662.479] (II) LoadModule: "record"
[ 1662.479] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 1662.480] (II) Module record: vendor="X.Org Foundation"
[ 1662.480] compiled for 1.12.0, module version = 1.13.0
[ 1662.480] Module class: X.Org Server Extension
[ 1662.480] ABI class: X.Org Server Extension, version 6.0
[ 1662.480] (II) Loading extension RECORD
[ 1662.480] (II) LoadModule: "dri"
[ 1662.481] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 1662.482] (II) Module dri: vendor="X.Org Foundation"
[ 1662.482] compiled for 1.12.0, module version = 1.0.0
[ 1662.482] ABI class: X.Org Server Extension, version 6.0
[ 1662.482] (II) Loading extension XFree86-DRI
[ 1662.482] (II) LoadModule: "dri2"
[ 1662.483] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 1662.484] (II) Module dri2: vendor="X.Org Foundation"
[ 1662.484] compiled for 1.12.0, module version = 1.2.0
[ 1662.484] ABI class: X.Org Server Extension, version 6.0
[ 1662.484] (II) Loading extension DRI2
[ 1662.484] (II) LoadModule: "neomagic"
[ 1662.485] (II) Loading /usr/lib/xorg/modules/drivers/neomagic_drv.so
[ 1662.485] (II) Module neomagic: vendor="X.Org Foundation"
[ 1662.485] compiled for 1.11.99.903, module version = 1.2.5
[ 1662.485] Module class: X.Org Video Driver
[ 1662.485] ABI class: X.Org Video Driver, version 12.0
[ 1662.486] (II) NEOMAGIC: Driver for Neomagic chipsets: neo2070, neo2090, neo2093,
neo2097, neo2160, neo2200, neo2230, neo2360, neo2380
[ 1662.486] (--) using VT number 7

[ 1662.489] (WW) Falling back to old probe method for neomagic
[ 1662.489] (--) Assigning device section with no busID to primary device
[ 1662.489] (--) Chipset neo2360 found
[ 1662.490] (II) Loading sub module "vgahw"
[ 1662.490] (II) LoadModule: "vgahw"
[ 1662.490] (II) Loading /usr/lib/xorg/modules/libvgahw.so
[ 1662.491] (II) Module vgahw: vendor="X.Org Foundation"
[ 1662.491] compiled for 1.12.0, module version = 0.1.0
[ 1662.491] ABI class: X.Org Video Driver, version 12.0
[ 1662.491] (II) NEOMAGIC(0): Chipset is a MagicMedia 256ZX (NM2360)
[ 1662.491]
[ 1662.491] Backtrace:
[ 1662.492] 0: /usr/bin/X (xorg_backtrace+0x49) [0x81c3209]
[ 1662.492] 1: /usr/bin/X (0x8048000+0x17ef0a) [0x81c6f0a]
[ 1662.492] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb77c440c]
[ 1662.492]
[ 1662.492] Segmentation fault at address (nil)
[ 1662.493]
Fatal server error:
[ 1662.493] Caught signal 11 (Segmentation fault). Server aborting
[ 1662.493]
[ 1662.493]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 1662.493] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 1662.493]
[ 1662.496] Server terminated with error (1). Closing log file.

Steps to reproduce:
Install listed packages and run startx.

This appears to be a regression in xorg and will probably be moved upstream to no one. My workaround was to downgrade the following packages to these versions until a solution can be found:

xorg-server-1.11.4-1-i686
xorg-server-common-1.11.4-1-i686
xf86-video-neomagic-1.2.5-5-i686
xf86-input-evdev-2.6.0-4-i686
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 20 March 2012, 20:20 GMT
Reason for closing:  Fixed
Comment by Andreas Radke (AndyRTR) - Monday, 19 March 2012, 19:44 GMT
Please test the driver in testing with all latest git commits included.
Comment by Matt Smith (mjsmith) - Monday, 19 March 2012, 20:35 GMT
Driver from testing appears to be working perfectly! Xvideo acceleration is working as expected. Thank you for working on this.

Attached Xorg.0.log

Loading...