Created attachment 358155 [details] xorg.conf I did a fresh install of rawhide today. KMS for nouveau works, but Xorg defaults to vesa for the display driver. This results in display corruption. When I create an xorg.conf and tell Xorg to load nouveau, I get a kernel panic when Xorg starts and Xorg just freezes on a black screen. So, two problems here: 1. Xorg should be defaulting to nouveau 2. kernel shouldn't crash lspci -vn: 02:00.0 0300: 10de:0847 (rev a2) (prog-if 00 [VGA controller]) Subsystem: 103c:2a81 Flags: bus master, fast devsel, latency 0, IRQ 22 Memory at fd000000 (32-bit, non-prefetchable) [size=16M] Memory at e8000000 (64-bit, prefetchable) [size=128M] Memory at e6000000 (64-bit, prefetchable) [size=32M] I/O ports at ec00 [size=128] Expansion ROM at febe0000 [disabled] [size=128K] Capabilities: [60] Power Management version 2 Capabilities: [68] MSI: Mask- 64bit+ Count=1/1 Enable- Kernel modules: nouveau kernel panic (from /var/log/messages): Aug 20 10:27:12 localhost kernel: BUG: unable to handle kernel NULL pointer dereference at (null) Aug 20 10:27:12 localhost kernel: IP: [<ffffffffa00160a8>] drm_release+0x2be/0x5c2 [drm] Aug 20 10:27:12 localhost kernel: PGD 18e574067 PUD 18e573067 PMD 0 Aug 20 10:27:12 localhost kernel: Oops: 0000 [#1] SMP Aug 20 10:27:12 localhost kernel: last sysfs file: /sys/devices/pci0000:00/0000:00:0b.0/0000:02:00.0/boot_vga Aug 20 10:27:12 localhost kernel: CPU 3 Aug 20 10:27:12 localhost kernel: Modules linked in: ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 cpufreq_ondemand powernow_k8 freq_table dm_multipath uinput arc4 ecb snd_ hda_codec_realtek rt73usb crc_itu_t rt2x00usb rt2x00lib snd_hda_intel input_polldev amd64_edac_mod mac80211 snd_hda_codec cfg80211 rfkill snd_hwdep snd_pcm snd_timer snd edac_core i2c_nfor ce2 wmi soundcore snd_page_alloc shpchp usb_storage nouveau ttm drm i2c_algo_bit i2c_core [last unloaded: scsi_wait_scan] Aug 20 10:27:12 localhost kernel: Pid: 1222, comm: Xorg Not tainted 2.6.31-0.162.rc6.git2.fc12.x86_64 #1 NP200AAR-ABA a6720y Aug 20 10:27:12 localhost kernel: RIP: 0010:[<ffffffffa00160a8>] [<ffffffffa00160a8>] drm_release+0x2be/0x5c2 [drm] Aug 20 10:27:12 localhost kernel: RSP: 0018:ffff88018e53be08 EFLAGS: 00010287 Aug 20 10:27:12 localhost kernel: RAX: 0000000000000000 RBX: ffff880194599048 RCX: 0000000000000000 Aug 20 10:27:12 localhost kernel: RDX: 0000000000000000 RSI: ffffffffffffffc0 RDI: 00000000000004c6 Aug 20 10:27:12 localhost kernel: RBP: ffff88018e53be78 R08: 0000000042e71a8d R09: 0000000042e71a8d Aug 20 10:27:12 localhost kernel: R10: ffffffff81e16650 R11: 0000000000000000 R12: ffff880196c34ff8 Aug 20 10:27:12 localhost kernel: R13: ffff8801945990a8 R14: ffff88018e455980 R15: ffff8801945995e0 Aug 20 10:27:12 localhost kernel: FS: 00007fa79cec87c0(0000) GS:ffff88003239a000(0000) knlGS:0000000000000000 Aug 20 10:27:12 localhost kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Aug 20 10:27:12 localhost kernel: CR2: 0000000000000000 CR3: 000000018e489000 CR4: 00000000000006e0 Aug 20 10:27:12 localhost kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Aug 20 10:27:12 localhost kernel: DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Aug 20 10:27:12 localhost kernel: Process Xorg (pid: 1222, threadinfo ffff88018e53a000, task ffff88018e44a4a0) Aug 20 10:27:12 localhost kernel: Stack: Aug 20 10:27:12 localhost kernel: ffff880100000001 0000000000000000 0000000000000000 0000000300000000 Aug 20 10:27:12 localhost kernel: <0> ffff88018e455980 000000000000006b ffff88018e53be88 0000000042e71a8d Aug 20 10:27:12 localhost kernel: <0> ffff88018e44a4a0 ffff88018e455980 0000000000000008 ffff8801937ab200 Aug 20 10:27:12 localhost kernel: Call Trace: Aug 20 10:27:12 localhost kernel: [<ffffffff81142f79>] __fput+0x137/0x200 Aug 20 10:27:12 localhost kernel: [<ffffffff8114306f>] fput+0x2d/0x43 Aug 20 10:27:12 localhost kernel: [<ffffffff8113f254>] filp_close+0x77/0x97 Aug 20 10:27:12 localhost kernel: [<ffffffff8113f334>] sys_close+0xc0/0x110 Aug 20 10:27:12 localhost kernel: [<ffffffff81012f42>] system_call_fastpath+0x16/0x1b Aug 20 10:27:12 localhost kernel: Code: 89 ee 48 89 df ff 90 c0 00 00 00 4c 8d 6b 60 31 f6 4c 8d bb 98 05 00 00 4c 89 ef e8 67 d0 4e e1 48 8b b3 98 05 00 00 48 83 ee 40 <4c> 8b 76 40 49 83 ee 40 eb 1b 4c 39 66 18 75 0a 31 d2 48 89 df Aug 20 10:27:12 localhost kernel: RIP [<ffffffffa00160a8>] drm_release+0x2be/0x5c2 [drm] Aug 20 10:27:12 localhost kernel: RSP <ffff88018e53be08> Aug 20 10:27:12 localhost kernel: CR2: 0000000000000000 Aug 20 10:27:12 localhost kernel: ---[ end trace a4003ed07c49d4ad ]---
(II) LoadModule: "nouveau" (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so (II) Module nouveau: vendor="X.Org Foundation" compiled for 1.6.99.1, module version = 0.0.10 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 6.0 (II) NOUVEAU driver (II) NOUVEAU driver for NVIDIA chipset families : RIVA TNT (NV04) RIVA TNT2 (NV05) GeForce 256 (NV10) GeForce 2 (NV11, NV15) GeForce 4MX (NV17, NV18) GeForce 3 (NV20) GeForce 4Ti (NV25, NV28) GeForce FX (NV3x) GeForce 6 (NV4x) GeForce 7 (G7x) GeForce 8 (G8x) (II) Primary Device is: PCI 02@00:00:0 (--) NOUVEAU(0): Chipset: "NVIDIA NVAA" (II) Loading sub module "int10" (II) LoadModule: "int10" (II) Loading /usr/lib64/xorg/modules/libint10.so (II) Module int10: vendor="X.Org Foundation" compiled for 1.6.99.1, module version = 1.0.0 ABI class: X.Org Video Driver, version 6.0 (II) NOUVEAU(0): Initializing int10 (II) NOUVEAU(0): Primary V_BIOS segment is: 0xc000 (II) Loading sub module "dri" (II) LoadModule: "dri" (II) Reloading /usr/lib64/xorg/modules/extensions/libdri.so (II) NOUVEAU(0): Loaded DRI module drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 11, (OK) drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 11, (OK) drmOpenByBusid: Searching for BusID pci:0000:02:00.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 11, (OK) drmOpenByBusid: drmOpenMinor returns 11 drmOpenByBusid: drmGetBusid reports pci:0000:02:00.0 (II) [drm] DRM interface version 1.0 (EE) [drm] Could not set DRM device bus ID. (EE) NOUVEAU(0): [drm] error opening the drm (EE) NOUVEAU(0): 874: (II) UnloadModule: "nouveau" (II) UnloadModule: "dri" (II) UnloadModule: "int10" (II) Unloading /usr/lib64/xorg/modules/libint10.so (EE) Screen(s) found, but none have a usable configuration. Fatal server error: no screens found
It's the same like Bug #518220 ?
*** This bug has been marked as a duplicate of bug 518220 ***