Bug 24932 - BUG: unable to handle kernel paging request
BUG: unable to handle kernel paging request
Status: RESOLVED CODE_FIX
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel)
All Linux
: P1 normal
Assigned To: drivers_video-dri
:
Depends on:
Blocks: 16055
  Show dependency treegraph
 
Reported: 2010-12-15 18:30 UTC by Lars-Dominik Braun
Modified: 2012-08-14 14:16 UTC (History)
5 users (show)

See Also:
Kernel Version: 2.6.36-gentoo-r5/2.6.37_rc5 (vanilla)
Tree: Mainline
Regression: Yes


Attachments
lspci -v (9.85 KB, text/plain)
2010-12-15 18:30 UTC, Lars-Dominik Braun
Details
.config-2.6.36-gentoo-r5 (50.47 KB, text/plain)
2010-12-15 18:31 UTC, Lars-Dominik Braun
Details
.config-2.6.37-rc5 (51.83 KB, application/octet-stream)
2010-12-15 18:32 UTC, Lars-Dominik Braun
Details

Description Lars-Dominik Braun 2010-12-15 18:30:57 UTC
Created attachment 40242 [details]
lspci -v

Starting Xorg 1.9.2 *always* results in the kernel message (and a blank screen) below. I'm using Gentoo Linux, 2.6.34-gentoo-r11 works fine, haven't tested 2.6.35 yet. libdrm 2.4.22, xf86-video-ati 6.13.2.

Dec 14 19:58:56 [kernel] [   90.066727] [drm] Setting GART location based on new memory map
Dec 14 19:58:56 [kernel] [   90.066893] BUG: unable to handle kernel paging request at 000000008b087691
Dec 14 19:58:56 [kernel] [   90.066896] IP: [<ffffffff81737fbe>] platform_device_register_resndata+0x0/0x95
Dec 14 19:58:56 [kernel] [   90.066903] PGD 7e55f067 PUD 0 
Dec 14 19:58:56 [kernel] [   90.066910] CPU 1 
Dec 14 19:58:56 [kernel] [   90.066914] Pid: 2033, comm: X Not tainted 2.6.36-gentoo-r5 #1 M720-US3/M720-US3
Dec 14 19:58:56 [kernel] [   90.066916] RIP: 0010:[<ffffffff81737fbe>]  [<ffffffff81737fbe>] platform_device_register_resndata+0x0/0x95
Dec 14 19:58:56 [kernel] [   90.066920] RSP: 0018:ffff88007cb77cb0  EFLAGS: 00010246
Dec 14 19:58:56 [kernel] [   90.066922] RAX: 000000008b087691 RBX: ffff88007f25d800 RCX: 0000000000000000
Dec 14 19:58:56 [kernel] [   90.066923] RDX: 0000000000000000 RSI: ffffffff8160e583 RDI: 0000000000000000
Dec 14 19:58:56 [kernel] [   90.066925] RBP: ffff88007cb77d38 R08: 0000000000000000 R09: 0000000000000000
Dec 14 19:58:56 [kernel] [   90.066927] R10: ffff88007db60000 R11: 0000000000000000 R12: ffff88007f25d000
Dec 14 19:58:56 [kernel] [   90.066928] R13: 00000000ffffffff R14: ffff88007efe4e00 R15: ffff88007cb77de8
Dec 14 19:58:56 [kernel] [   90.066930] FS:  00007f262a4a8700(0000) GS:ffff880001a80000(0000) knlGS:0000000000000000
Dec 14 19:58:56 [kernel] [   90.066932] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Dec 14 19:58:56 [kernel] [   90.066934] CR2: 000000008b087691 CR3: 000000007c033000 CR4: 00000000000006e0
Dec 14 19:58:56 [kernel] [   90.066935] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Dec 14 19:58:56 [kernel] [   90.066937] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Dec 14 19:58:56 [kernel] [   90.066939] Process X (pid: 2033, threadinfo ffff88007cb76000, task ffff88007cb87080)
Dec 14 19:58:56 [kernel] [   90.066941]  ffffffff8126acca 0000000000000000 0000000000000000 000000000000002c
Dec 14 19:58:56 [kernel] [   90.066944] <0> ffff88007eb5d840 ffff88007cb77d88 ffffffff8109553e 0000000000000000
Dec 14 19:58:56 [kernel] [   90.066947] <0> ffff880000000000 ffff88007b87a8b0 ffff88007cb77e60 ffff88007cb77ed8
Dec 14 19:58:56 [kernel] [   90.066953]  [<ffffffff8126acca>] ? r600_do_init_cp+0x857/0xb91
Dec 14 19:58:56 [kernel] [   90.066957]  [<ffffffff8109553e>] ? __generic_file_aio_write+0x348/0x37d
Dec 14 19:58:56 [kernel] [   90.066960]  [<ffffffff8125a08a>] radeon_cp_init+0xe84/0xed6
Dec 14 19:58:56 [kernel] [   90.066963]  [<ffffffff8123f42c>] drm_ioctl+0x291/0x338
Dec 14 19:58:56 [kernel] [   90.066966]  [<ffffffff81259206>] ? radeon_cp_init+0x0/0xed6
Dec 14 19:58:56 [kernel] [   90.066969]  [<ffffffff810edd8f>] ? fsnotify+0x20c/0x22b
Dec 14 19:58:56 [kernel] [   90.066972]  [<ffffffff810d242a>] do_vfs_ioctl+0x482/0x4d1
Dec 14 19:58:56 [kernel] [   90.066974]  [<ffffffff810d24bb>] sys_ioctl+0x42/0x65
Dec 14 19:58:56 [kernel] [   90.066977]  [<ffffffff8102482b>] system_call_fastpath+0x16/0x1b
Dec 14 19:58:56 [kernel] [   90.066995] RIP  [<ffffffff81737fbe>] platform_device_register_resndata+0x0/0x95
Dec 14 19:58:56 [kernel] [   90.066998]  RSP <ffff88007cb77cb0>
Dec 14 19:58:56 [kernel] [   90.067020] ---[ end trace 8b1e206196e18d90 ]---

Message for current rc:
Dec 14 21:00:25 [kernel] [   40.000910] [drm] Setting GART location based on new memory map
Dec 14 21:00:25 [kernel] [   40.001095] BUG: unable to handle kernel paging request at 00000000bc34fc70
Dec 14 21:00:25 [kernel] [   40.001099] IP: [<ffffffff81749396>] platform_device_register_resndata+0x0/0x8b
Dec 14 21:00:25 [kernel] [   40.001107] PGD 7bda3067 PUD 0 
Dec 14 21:00:25 [kernel] [   40.001114] CPU 1 
Dec 14 21:00:25 [kernel] [   40.001117] Pid: 2146, comm: X Not tainted 2.6.37-rc5 #1 M720-US3/M720-US3
Dec 14 21:00:25 [kernel] [   40.001119] RIP: 0010:[<ffffffff81749396>]  [<ffffffff81749396>] platform_device_register_resndata+0x0/0x8b
Dec 14 21:00:25 [kernel] [   40.001124] RSP: 0018:ffff88007b669cb0  EFLAGS: 00010246
Dec 14 21:00:25 [kernel] [   40.001125] RAX: 00000000bc34fc70 RBX: ffff88007c8d5800 RCX: 0000000000000000
Dec 14 21:00:25 [kernel] [   40.001127] RDX: 0000000000000000 RSI: ffffffff816232a7 RDI: 0000000000000000
Dec 14 21:00:25 [kernel] [   40.001129] RBP: ffff88007b669d38 R08: 0000000000000000 R09: 0000000000000000
Dec 14 21:00:25 [kernel] [   40.001131] R10: ffff88007b090000 R11: ffffffffffffffff R12: ffff88007c8d5000
Dec 14 21:00:25 [kernel] [   40.001132] R13: 00000000ffffffff R14: ffff88007c28f320 R15: ffff88007b669de8
Dec 14 21:00:25 [kernel] [   40.001135] FS:  00007f67b5b0b700(0000) GS:ffff88007fc80000(0000) knlGS:0000000000000000
Dec 14 21:00:25 [kernel] [   40.001137] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Dec 14 21:00:25 [kernel] [   40.001138] CR2: 00000000bc34fc70 CR3: 000000007a4b1000 CR4: 00000000000006e0
Dec 14 21:00:25 [kernel] [   40.001140] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Dec 14 21:00:25 [kernel] [   40.001142] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Dec 14 21:00:25 [kernel] [   40.001144] Process X (pid: 2146, threadinfo ffff88007b668000, task ffff88007b70ef40)
Dec 14 21:00:25 [kernel] [   40.001146]  ffffffff81271ac2 0000000000000000 0000000000000000 000000000000002c
Dec 14 21:00:25 [kernel] [   40.001149]  ffff88007a60e9c0 ffff88007b669d88 ffffffff8109a680 0000000000000000
Dec 14 21:00:25 [kernel] [   40.001152]  ffff880000000000 ffff880079d26d68 ffff88007b669e60 ffff88007b669ed8
Dec 14 21:00:25 [kernel] [   40.001159]  [<ffffffff81271ac2>] ? r600_do_init_cp+0x857/0xb91
Dec 14 21:00:25 [kernel] [   40.001163]  [<ffffffff8109a680>] ? __generic_file_aio_write+0x348/0x37d
Dec 14 21:00:25 [kernel] [   40.001165]  [<ffffffff81260e4f>] radeon_cp_init+0xe84/0xed5
Dec 14 21:00:25 [kernel] [   40.001169]  [<ffffffff81246118>] drm_ioctl+0x291/0x338
Dec 14 21:00:25 [kernel] [   40.001171]  [<ffffffff8125ffcb>] ? radeon_cp_init+0x0/0xed5
Dec 14 21:00:25 [kernel] [   40.001174]  [<ffffffff810d7f42>] do_vfs_ioctl+0x482/0x4d1
Dec 14 21:00:25 [kernel] [   40.001176]  [<ffffffff810d7fd3>] sys_ioctl+0x42/0x65
Dec 14 21:00:25 [kernel] [   40.001179]  [<ffffffff810277bb>] system_call_fastpath+0x16/0x1b
Dec 14 21:00:25 [kernel] [   40.001197] RIP  [<ffffffff81749396>] platform_device_register_resndata+0x0/0x8b
Dec 14 21:00:25 [kernel] [   40.001200]  RSP <ffff88007b669cb0>
Dec 14 21:00:25 [kernel] [   40.001204] ---[ end trace f16785e2ddad0628 ]---

lspci and kernel configuration attached.
Comment 1 Lars-Dominik Braun 2010-12-15 18:31:44 UTC
Created attachment 40252 [details]
.config-2.6.36-gentoo-r5
Comment 2 Lars-Dominik Braun 2010-12-15 18:32:22 UTC
Created attachment 40262 [details]
.config-2.6.37-rc5
Comment 3 Andrew Morton 2010-12-15 22:27:09 UTC
Recategorised as DRI/non-intel, marked as a regression.

Yes please, it would be useful to know if 2.6.35 had the same bug.
Comment 4 Lars-Dominik Braun 2010-12-16 15:02:49 UTC
> Yes please, it would be useful to know if 2.6.35 had the same bug.
2.6.35.9 (vanilla) works fine.
Comment 5 Lars-Dominik Braun 2011-02-13 19:47:30 UTC
And setting CONFIG_DRM_RADEON_KMS=y resolves the issue for me.

Note You need to log in before you can comment on or make changes to this bug.