Bug 23146 - KMS Oops with latest fedora rawhide kernel.
Summary: KMS Oops with latest fedora rawhide kernel.
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
Depends on:
Reported: 2009-08-05 04:06 UTC by Yanko Kaneti
Modified: 2009-08-07 06:18 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Yanko Kaneti 2009-08-05 04:06:48 UTC
This is the drm.debug=15 log from a fedora rawhide 2.6.31-0.132.rc5.git3.fc12.x86_64 kernel booting on a amd 780G system (HD3200 IGP) with added PCI-E X1550  card. The External card set as primary in the BIOS. The bott succeeds with radeon.modeset=0

[drm] Initialized drm 1.1.0 20060810
[drm] radeon default to kernel modesetting.
[drm] radeon kernel modesetting enabled.
radeon 0000:01:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
radeon 0000:01:00.0: setting latency timer to 64
[drm:drm_get_minor], new minor assigned 64
[drm:drm_get_minor], new minor assigned 0
[drm] radeon: Initializing kernel modesetting.
[drm] register mmio base: 0xFDFF0000
[drm] register mmio size: 65536
[drm:radeon_get_bios], ATOMBIOS detected
[drm] GPU reset succeed (RBBM_STATUS=0x10000140)
[drm] Clocks initialized !
[drm] Generation 2 PCI interface, using max accessible memory
[drm] Detected VRAM RAM=256M, BAR=256M
[drm] RAM width 128bits DDR
[drm] RB2D reset succeed (RBBM_STATUS=0x10000140)
[drm] radeon: 1 pipes initialized.
[drm] radeon: VRAM 256M
[drm] radeon: VRAM from 0x00000000 to 0x0FFFFFFF
[drm] radeon: GTT 512M
[drm] radeon: GTT from 0x10000000 to 0x2FFFFFFF
[drm:drm_irq_install], irq=18
[drm] radeon: irq initialized.
[TTM] TTM available graphics memory: 3943 MiB
[TTM] TTM available object memory: 3943 MiB
[drm] radeon: 256M of VRAM memory ready
[drm] radeon: 512M of GTT memory ready.
[drm] GART: num cpu pages 131072, num gpu pages 131072
[drm] PCIE GART of 512M enabled (table at 0x00040000).
[drm] radeon: cp idle (0x10000C03)
[drm] Loading R500 Microcode
[drm] radeon: ring at 0x0000000010000000
[drm] ring test succeeded in 7 usecs
[drm] radeon: ib pool ready.
BUG: unable to handle kernel NULL pointer dereference at (null)
IP: [<(null)>] (null)
PGD 0 
Oops: 0010 [#1] SMP 
last sysfs file: /sys/module/ttm/initstate
CPU 0 
Modules linked in: radeon(+) ttm drm i2c_algo_bit i2c_core
Pid: 92, comm: work_for_cpu Not tainted 2.6.31-0.132.rc5.git3.fc12.x86_64 #1 GA-MA78GM-S2H
RIP: 0010:[<0000000000000000>]  [<(null)>] (null)
RSP: 0018:ffff8802238cdd48  EFLAGS: 00010246
RAX: ffffffffa0121930 RBX: ffff88022401c090 RCX: ffff8802238cdad0
RDX: 0000000000000000 RSI: ffff880224007178 RDI: ffff88022401c090
RBP: ffff8802238cdd80 R08: ffff8802231ffbb0 R09: 0000000088185c73
R10: 0000000088185c73 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000015 R15: ffffffffa011f760
FS:  00007fb35896c7e0(0000) GS:ffff880035800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 0000000001001000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process work_for_cpu (pid: 92, threadinfo ffff8802238cc000, task ffff88022430a4a0)
 ffffffffa006866d ffff8802238cdd80 0000000088185c73 ffff88022456e1b0
<0> ffff88022401c090 0000000000c00015 00000000fffffff4 ffff8802238cddc0
<0> ffffffffa006951e ffff8802238cddc0 0000000088185c73 0000000000000000
Call Trace:
 [<ffffffffa006866d>] ? radeon_device_init+0x5b8/0x5d8 [radeon]
 [<ffffffffa006951e>] radeon_driver_load_kms+0xe6/0x13f [radeon]
 [<ffffffffa001ae94>] drm_get_dev+0x3b9/0x4d0 [drm]
 [<ffffffff814fa397>] ? thread_return+0x4e/0xd3
 [<ffffffff8107c3e1>] ? do_work_for_cpu+0x0/0x50
 [<ffffffffa009455a>] radeon_pci_probe+0x28/0x28f [radeon]
 [<ffffffff81291693>] local_pci_probe+0x2a/0x42
 [<ffffffff8107c408>] do_work_for_cpu+0x27/0x50
 [<ffffffff8108172d>] kthread+0xa5/0xad
 [<ffffffff8101412a>] child_rip+0xa/0x20
 [<ffffffff814fcb1b>] ? _spin_unlock_irq+0x3f/0x61
 [<ffffffff81013a90>] ? restore_args+0x0/0x30
 [<ffffffff81081667>] ? kthreadd+0x12e/0x14f
 [<ffffffff81081688>] ? kthread+0x0/0xad
 [<ffffffff81014120>] ? child_rip+0x0/0x20
Code:  Bad RIP value.
RIP  [<(null)>] (null)
 RSP <ffff8802238cdd48>
CR2: 0000000000000000
---[ end trace 2874feea2f1e6125 ]---
async/0 used greatest stack depth: 4256 bytes left
Comment 1 Jerome Glisse 2009-08-06 13:36:23 UTC
Does it works if you disable your igp in the bios ?
Comment 2 Yanko Kaneti 2009-08-06 16:11:59 UTC
If "Internal Graphics Mode" -> Disabled  (the other option being UMA) means disabled IGP, then no, no difference as far as I can see. The trance and the drm debug are practically the same, this time with rawhide kernel 2.6.31-0.138.rc5.git3.fc12.x86_64.
Comment 3 Yanko Kaneti 2009-08-07 06:18:51 UTC
This was fixed by your updated r600 kms patch that landed in rawhide kernel-2.6.31-0.139.rc5.git3.fc12.x86_64.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.