NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xsrc/58321: macppc 10.0 X.org server on Power Mac G4 + ATI Rage gets SIGSEGV



>Number:         58321
>Category:       xsrc
>Synopsis:       macppc 10.0 X.org server on Power Mac G4 + ATI Rage gets SIGSEGV
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 08 15:25:00 +0000 2024
>Originator:     Izumi Tsutsui
>Release:        NetBSD 10.0
>Organization:
>Environment:
System: NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/macppc/compile/GENERIC macppc
Architecture: powerpc
Machine: macppc
>Description:
X.org server from NetBSD/macppc 10.0 started by xinit(1) gets SIGSEGV
on Power Mac G4 with ATI Rage:
---
[   112.595] 
X.Org X Server 1.21.1.9
X Protocol Version 11, Revision 0
[   112.598] Current Operating System: NetBSD g4 10.0 NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/macppc/compile/GENERIC macppc
[   112.598]  
[   112.610] Current version of pixman: 0.38.4
[   112.611] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   112.611] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   112.615] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jun  8 22:19:08 2024
[   112.657] (==) Using config file: "/etc/X11/xorg.conf"
[   112.692] (==) ServerLayout "X.org Configured"
[   112.692] (**) |-->Screen "Screen0" (0)
[   112.692] (**) |   |-->Monitor "Monitor0"
[   112.703] (**) |   |-->Device "Card0"
[   112.704] (**) |-->Input Device "Mouse0"
[   112.704] (**) |-->Input Device "Keyboard0"
[   112.705] (==) Automatically adding devices
[   112.705] (==) Automatically enabling devices
[   112.705] (==) Not automatically adding GPU devices
[   112.705] (==) Automatically binding GPU devices
[   112.714] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   112.748] (WW) The directory "/usr/pkg/share/fonts/X11/misc/" does not exist.
[   112.748] 	Entry deleted from font path.
[   112.749] (WW) The directory "/usr/pkg/share/fonts/X11/TTF/" does not exist.
[   112.749] 	Entry deleted from font path.
[   112.749] (WW) The directory "/usr/pkg/share/fonts/X11/Type1/" does not exist.
[   112.749] 	Entry deleted from font path.
[   112.749] (WW) The directory "/usr/pkg/share/fonts/X11/75dpi/" does not exist.
[   112.749] 	Entry deleted from font path.
[   112.749] (WW) The directory "/usr/pkg/share/fonts/X11/100dpi/" does not exist.
[   112.749] 	Entry deleted from font path.
[   112.750] (**) FontPath set to:
	/usr/X11R7/lib/X11/fonts/misc/,
	/usr/X11R7/lib/X11/fonts/TTF/,
	/usr/X11R7/lib/X11/fonts/Type1/,
	/usr/X11R7/lib/X11/fonts/75dpi/,
	/usr/X11R7/lib/X11/fonts/100dpi/,
	/usr/X11R7/lib/X11/fonts/misc/,
	/usr/X11R7/lib/X11/fonts/TTF/,
	/usr/X11R7/lib/X11/fonts/Type1/,
	/usr/X11R7/lib/X11/fonts/75dpi/,
	/usr/X11R7/lib/X11/fonts/100dpi/
[   112.750] (**) ModulePath set to "/usr/X11R7/lib/modules"
[   112.750] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   112.750] (WW) Disabling Mouse0
[   112.750] (WW) Disabling Keyboard0
[   112.751] (II) Loader magic: 0x1ae0e28
[   112.751] (II) Module ABI versions:
[   112.751] 	X.Org ANSI C Emulation: 0.4
[   112.751] 	X.Org Video Driver: 25.2
[   112.751] 	X.Org XInput driver : 24.4
[   112.751] 	X.Org Server Extension : 10.0
[   112.766] (WW) xf86EnableIO -1
[   112.766] (II) xf86EnableIO: 0xffffffff
[   112.766] (WW) Can't map IO space! (9)
[   112.767] (--) PCI:*(0@0:16:0) 1002:5046:0000:0000 rev 0, Mem @ 0x94000000/67108864, 0x90000000/16384, I/O @ 0x00000400/256, BIOS @ 0x????????/131072
[   112.768] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[   112.768] (II) LoadModule: "dbe"
[   112.769] (II) Module "dbe" already built-in
[   112.769] (II) LoadModule: "dri"
[   112.769] (II) Module "dri" already built-in
[   112.769] (II) LoadModule: "extmod"
[   112.769] (II) Module "extmod" already built-in
[   112.769] (II) LoadModule: "glx"
[   112.792] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
[   112.820] (II) Module glx: vendor="X.Org Foundation"
[   112.820] 	compiled for 1.21.1.9, module version = 1.0.0
[   112.820] 	ABI class: X.Org Server Extension, version 10.0
[   112.830] (II) LoadModule: "record"
[   112.831] (II) Module "record" already built-in
[   112.831] (II) LoadModule: "shadow"
[   112.833] (II) Loading /usr/X11R7/lib/modules/extensions/libshadow.so
[   112.843] (II) Module shadow: vendor="X.Org Foundation"
[   112.843] 	compiled for 1.21.1.9, module version = 1.1.0
[   112.843] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   112.843] (II) LoadModule: "dri2"
[   112.843] (II) Module "dri2" already built-in
[   112.844] (II) LoadModule: "r128"
[   112.845] (II) Loading /usr/X11R7/lib/modules/drivers/r128_drv.so
[   112.866] (II) Module r128: vendor="X.Org Foundation"
[   112.866] 	compiled for 1.21.1.9, module version = 6.12.0
[   112.867] 	Module class: X.Org Video Driver
[   112.867] 	ABI class: X.Org Video Driver, version 25.2
[   112.867] (II) R128: Driver for ATI Rage 128 chipsets:
	ATI Rage 128 Mobility M3 LE (PCI), ATI Rage 128 Mobility M3 LF (AGP),
	ATI Rage 128 Mobility M4 MF (AGP), ATI Rage 128 Mobility M4 ML (AGP),
	ATI Rage 128 Pro GL PA (PCI/AGP), ATI Rage 128 Pro GL PB (PCI/AGP),
	ATI Rage 128 Pro GL PC (PCI/AGP), ATI Rage 128 Pro GL PD (PCI),
	ATI Rage 128 Pro GL PE (PCI/AGP), ATI Rage 128 Pro GL PF (AGP),
	ATI Rage 128 Pro VR PG (PCI/AGP), ATI Rage 128 Pro VR PH (PCI/AGP),
	ATI Rage 128 Pro VR PI (PCI/AGP), ATI Rage 128 Pro VR PJ (PCI/AGP),
	ATI Rage 128 Pro VR PK (PCI/AGP), ATI Rage 128 Pro VR PL (PCI/AGP),
	ATI Rage 128 Pro VR PM (PCI/AGP), ATI Rage 128 Pro VR PN (PCI/AGP),
	ATI Rage 128 Pro VR PO (PCI/AGP), ATI Rage 128 Pro VR PP (PCI),
	ATI Rage 128 Pro VR PQ (PCI/AGP), ATI Rage 128 Pro VR PR (PCI),
	ATI Rage 128 Pro VR PS (PCI/AGP), ATI Rage 128 Pro VR PT (PCI/AGP),
	ATI Rage 128 Pro VR PU (PCI/AGP), ATI Rage 128 Pro VR PV (PCI/AGP),
	ATI Rage 128 Pro VR PW (PCI/AGP), ATI Rage 128 Pro VR PX (PCI/AGP),
	ATI Rage 128 GL RE (PCI), ATI Rage 128 GL RF (AGP),
	ATI Rage 128 RG (AGP), ATI Rage 128 VR RK (PCI),
	ATI Rage 128 VR RL (AGP), ATI Rage 128 4X SE (PCI/AGP),
	ATI Rage 128 4X SF (PCI/AGP), ATI Rage 128 4X SG (PCI/AGP),
	ATI Rage 128 4X SH (PCI/AGP), ATI Rage 128 4X SK (PCI/AGP),
	ATI Rage 128 4X SL (PCI/AGP), ATI Rage 128 4X SM (AGP),
	ATI Rage 128 4X SN (PCI/AGP), ATI Rage 128 Pro ULTRA TF (AGP),
	ATI Rage 128 Pro ULTRA TL (AGP), ATI Rage 128 Pro ULTRA TR (AGP),
	ATI Rage 128 Pro ULTRA TS (AGP?), ATI Rage 128 Pro ULTRA TT (AGP?),
	ATI Rage 128 Pro ULTRA TU (AGP?)
[   112.872] (--) Using wscons driver on /dev/ttyE0 in pcvt compatibility mode (version 3.32)
[   112.872] (--) using VT number 1
[   112.873] (WW) xf86EnableIO 10
[   112.873] (II) xf86EnableIO: 0xfc800000
[   112.888] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   112.888] (==) R128(0): Depth 24, (--) framebuffer bpp 32
[   112.888] (==) R128(0): Default visual is TrueColor
[   112.889] (==) R128(0): Using gamma correction (1.0, 1.0, 1.0)
[   112.889] (II) R128(0): PCI bus 0 card 16 func 0
[   112.889] (II) Alright, this is the console
[   112.889] (II) R128(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[   112.889] (II) R128(0): Acceleration of RENDER operations will be enabled upon successful loading of DRI and EXA.
[   112.889] (II) R128(0): VGAAccess option set to FALSE, VGA module load skipped.
[   112.890] (==) R128(0): RGB weight 888
[   112.890] (II) R128(0): Using 8 bits per RGB (8 bit DAC)
[   112.896] (--) R128(0): Chipset: "ATI Rage 128 Pro GL PF (AGP)" (ChipID = 0x5046)
[   112.896] (--) R128(0): Linear framebuffer at 0x94000000
[   112.896] (--) R128(0): MMIO registers at 0x90000000
[   112.897] (--) R128(0): VideoRAM: 16384 kByte (64-bit SDR SGRAM 1:1)
[   112.897] (II) Loading sub module "ramdac"
[   112.897] (II) LoadModule: "ramdac"
[   112.897] (II) Module "ramdac" already built-in
[   112.897] (II) Loading sub module "ddc"
[   112.897] (II) LoadModule: "ddc"
[   112.897] (II) Module "ddc" already built-in
[   112.898] (II) Loading sub module "i2c"
[   112.898] (II) LoadModule: "i2c"
[   112.898] (II) Module "i2c" already built-in
[   112.951] (WW) R128(0): Video BIOS not found!
[   112.951] (II) R128(0): PLL parameters: rf=2950 rd=35 min=12500 max=25000; xclk=14000
[   112.960] (II) R128(0): Output LVDS using monitor section Monitor0
[   112.960] (II) R128(0): Output VGA-0 has no monitor section
[   112.961] (II) R128(0): I2C bus "VGA-0" initialized.
[   112.961] (II) got 128 bytes worth of EDID from wsdisplay
[   112.962] (II) R128(0): EDID for output LVDS
[   112.962] (II) R128(0): Manufacturer: MEL  Model: 4850  Serial#: 16843009
[   112.962] (II) R128(0): Year: 2011  Week: 20
[   112.962] (II) R128(0): EDID Version: 1.3
[   112.962] (II) R128(0): Analog Display Input,  Input Voltage Level: 0.700/0.300 V
[   112.963] (II) R128(0): Sync:  Separate
[   112.963] (II) R128(0): Max Image Size [cm]: horiz.: 51  vert.: 29
[   112.963] (II) R128(0): Gamma: 2.20
[   112.963] (II) R128(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
[   112.963] (II) R128(0): First detailed timing is preferred mode
[   112.963] (II) R128(0): redX: 0.634 redY: 0.333   greenX: 0.304 greenY: 0.627
[   112.964] (II) R128(0): blueX: 0.150 blueY: 0.068   whiteX: 0.313 whiteY: 0.329
[   112.964] (II) R128(0): Supported established timings:
[   112.964] (II) R128(0): 720x400@70Hz
[   112.964] (II) R128(0): 640x480@60Hz
[   112.964] (II) R128(0): 640x480@67Hz
[   112.964] (II) R128(0): 640x480@72Hz
[   112.964] (II) R128(0): 640x480@75Hz
[   112.964] (II) R128(0): 800x600@56Hz
[   112.964] (II) R128(0): 800x600@60Hz
[   112.965] (II) R128(0): 800x600@72Hz
[   112.965] (II) R128(0): 800x600@75Hz
[   112.965] (II) R128(0): 832x624@75Hz
[   112.965] (II) R128(0): 1024x768@60Hz
[   112.965] (II) R128(0): 1024x768@70Hz
[   112.965] (II) R128(0): 1024x768@75Hz
[   112.965] (II) R128(0): 1280x1024@75Hz
[   112.965] (II) R128(0): 1152x864@75Hz
[   112.965] (II) R128(0): Manufacturer's mask: 0
[   112.965] (II) R128(0): Supported standard timings:
[   112.966] (II) R128(0): #0: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[   112.966] (II) R128(0): #1: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[   112.966] (II) R128(0): #2: hsize: 1280  vsize 960  refresh: 75  vid: 20353
[   112.966] (II) R128(0): #3: hsize: 1360  vsize 765  refresh: 60  vid: 49291
[   112.966] (II) R128(0): #4: hsize: 1600  vsize 900  refresh: 60  vid: 49321
[   112.966] (II) R128(0): #5: hsize: 1680  vsize 1050  refresh: 60  vid: 179
[   112.966] (II) R128(0): Supported detailed timing:
[   112.966] (II) R128(0): clock: 148.5 MHz   Image Size:  509 x 286 mm
[   112.967] (II) R128(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[   112.967] (II) R128(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[   112.967] (II) R128(0): Ranges: V min: 56 V max: 75 Hz, H min: 31 H max: 82 kHz, PixClock max 165 MHz
[   112.967] (II) R128(0): Monitor name: RDT233WX
[   112.967] (II) R128(0): Serial No: 15201312AJ
[   112.967] (II) R128(0): EDID (in hex):
[   112.967] (II) R128(0): 	00ffffffffffff0034ac504801010101
[   112.968] (II) R128(0): 	1415010308331d78ea5ea5a2554da026
[   112.968] (II) R128(0): 	115054bfef80714f8180814f8bc0a9c0
[   112.968] (II) R128(0): 	b30001010101023a801871382d40582c
[   112.968] (II) R128(0): 	4500fd1e1100001e000000fd00384b1f
[   112.968] (II) R128(0): 	5210000a202020202020000000fc0052
[   112.968] (II) R128(0): 	445432333357580a20202020000000ff
[   112.968] (II) R128(0): 	003135323031333132414a0a202000d5
[   112.969] (II) R128(0): I2C device "VGA-0:ddc2" registered at address 0xA0.
[   113.026] (II) Loading sub module "shadowfb"
[   113.026] (II) LoadModule: "shadowfb"
[   113.038] (II) Loading /usr/X11R7/lib/modules/libshadowfb.so
[   113.048] (II) Module shadowfb: vendor="X.Org Foundation"
[   113.048] 	compiled for 1.21.1.9, module version = 1.0.0
[   113.048] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   113.049] (II) R128(0): Page flipping disabled
[   113.049] (II) got 128 bytes worth of EDID from wsdisplay
[   113.049] (II) R128(0): EDID for output LVDS
[   113.049] (II) R128(0): Manufacturer: MEL  Model: 4850  Serial#: 16843009
[   113.049] (II) R128(0): Year: 2011  Week: 20
[   113.049] (II) R128(0): EDID Version: 1.3
[   113.049] (II) R128(0): Analog Display Input,  Input Voltage Level: 0.700/0.300 V
[   113.050] (II) R128(0): Sync:  Separate
[   113.050] (II) R128(0): Max Image Size [cm]: horiz.: 51  vert.: 29
[   113.050] (II) R128(0): Gamma: 2.20
[   113.050] (II) R128(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
[   113.050] (II) R128(0): First detailed timing is preferred mode
[   113.051] (II) R128(0): redX: 0.634 redY: 0.333   greenX: 0.304 greenY: 0.627
[   113.051] (II) R128(0): blueX: 0.150 blueY: 0.068   whiteX: 0.313 whiteY: 0.329
[   113.051] (II) R128(0): Supported established timings:
[   113.051] (II) R128(0): 720x400@70Hz
[   113.051] (II) R128(0): 640x480@60Hz
[   113.051] (II) R128(0): 640x480@67Hz
[   113.051] (II) R128(0): 640x480@72Hz
[   113.051] (II) R128(0): 640x480@75Hz
[   113.052] (II) R128(0): 800x600@56Hz
[   113.052] (II) R128(0): 800x600@60Hz
[   113.052] (II) R128(0): 800x600@72Hz
[   113.052] (II) R128(0): 800x600@75Hz
[   113.052] (II) R128(0): 832x624@75Hz
[   113.052] (II) R128(0): 1024x768@60Hz
[   113.052] (II) R128(0): 1024x768@70Hz
[   113.052] (II) R128(0): 1024x768@75Hz
[   113.052] (II) R128(0): 1280x1024@75Hz
[   113.053] (II) R128(0): 1152x864@75Hz
[   113.053] (II) R128(0): Manufacturer's mask: 0
[   113.053] (II) R128(0): Supported standard timings:
[   113.053] (II) R128(0): #0: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[   113.053] (II) R128(0): #1: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[   113.053] (II) R128(0): #2: hsize: 1280  vsize 960  refresh: 75  vid: 20353
[   113.053] (II) R128(0): #3: hsize: 1360  vsize 765  refresh: 60  vid: 49291
[   113.053] (II) R128(0): #4: hsize: 1600  vsize 900  refresh: 60  vid: 49321
[   113.053] (II) R128(0): #5: hsize: 1680  vsize 1050  refresh: 60  vid: 179
[   113.053] (II) R128(0): Supported detailed timing:
[   113.054] (II) R128(0): clock: 148.5 MHz   Image Size:  509 x 286 mm
[   113.054] (II) R128(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[   113.054] (II) R128(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[   113.054] (II) R128(0): Ranges: V min: 56 V max: 75 Hz, H min: 31 H max: 82 kHz, PixClock max 165 MHz
[   113.054] (II) R128(0): Monitor name: RDT233WX
[   113.054] (II) R128(0): Serial No: 15201312AJ
[   113.054] (II) R128(0): EDID (in hex):
[   113.055] (II) R128(0): 	00ffffffffffff0034ac504801010101
[   113.055] (II) R128(0): 	1415010308331d78ea5ea5a2554da026
[   113.055] (II) R128(0): 	115054bfef80714f8180814f8bc0a9c0
[   113.055] (II) R128(0): 	b30001010101023a801871382d40582c
[   113.055] (II) R128(0): 	4500fd1e1100001e000000fd00384b1f
[   113.055] (II) R128(0): 	5210000a202020202020000000fc0052
[   113.055] (II) R128(0): 	445432333357580a20202020000000ff
[   113.055] (II) R128(0): 	003135323031333132414a0a202000d5
[   113.056] (II) R128(0): EDID vendor "MEL", prod id 18512
[   113.079] (II) R128(0): Not using mode "1920x1080" (hsync out of range)
[   113.079] (II) R128(0): Not using mode "1280x1024" (hsync out of range)
[   113.080] (II) R128(0): Not using mode "1024x768" (hsync out of range)
[   113.080] (II) R128(0): Not using mode "1152x864" (hsync out of range)
[   113.080] (II) R128(0): Not using mode "1280x1024" (hsync out of range)
[   113.080] (II) R128(0): Not using mode "1280x960" (hsync out of range)
[   113.080] (II) R128(0): Not using mode "1680x1050" (hsync out of range)
[   113.080] (EE) 
[   113.080] (EE) Backtrace:
[   113.148] (EE) 0: X (xorg_backtrace+0x44) [0x19d5e44]
[   113.148] (EE) 1: X (os_move_fd+0xcc) [0x19d0b44]
[   113.149] (EE) 2: /usr/lib/libc.so.12 (__sigtramp_siginfo_2+0x0) [0xfd4c0f70]
[   113.149] (EE) 3: /usr/lib/libc.so.12 (strcmp+0x18) [0xfd4c62a8]
[   113.150] (EE) 4: X (xf86ProbeOutputModes+0x628) [0x18e5dc0]
[   113.150] (EE) 5: X (xf86InitialConfiguration+0x108) [0x18e6468]
[   113.150] (EE) 6: /usr/X11R7/lib/modules/drivers/r128_drv.so (R128PreInit+0xbb8) [0xfc5611e0]
[   113.151] (EE) 7: X (InitOutput+0x994) [0x18b54c8]
[   113.151] (EE) 8: X (dix_main+0x1f4) [0x182efbc]
[   113.151] (EE) 
[   113.152] (EE) Segmentation fault at address 0x0
[   113.153] (EE) 
Fatal server error:
[   113.153] (EE) Caught signal 11 (Segmentation fault). Server aborting
[   113.153] (EE) 
[   113.154] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   113.154] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   113.154] (EE) 
[   113.186] (EE) Server terminated with error (1). Closing log file.
---

Full dmesg is attached in another PR (58320):
 https://mail-index.netbsd.org/netbsd-bugs/2024/06/08/msg083349.html


>How-To-Repeat:
Start X.org by xinit from NetBSD/macppc 10.0 on Power Mac G4 with ATI Rage.

>Fix:
No idea.

---
Izumi Tsutsui



Home | Main Index | Thread Index | Old Index