Bug 36052
Summary: | System hang during X startup (non-kms, regression, bisected) | ||
---|---|---|---|
Product: | Drivers | Reporter: | Kirill Smelkov (kirr) |
Component: | Video(DRI - Intel) | Assignee: | drivers_video-dri-intel (drivers_video-dri-intel) |
Status: | CLOSED CODE_FIX | ||
Severity: | blocking | CC: | florian |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.38 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 27352 | ||
Attachments: | 0001-Revert-drm-i915-Initialise-ring-vfuncs-for-old-DRI-p.patch |
Description
Kirill Smelkov
2011-05-28 10:29:55 UTC
First-Bad-Commit : e8616b6ced6137085e6657cc63bc2fe3900b8616 With v2.6.39 and the same userspace setup it does not panic, but X refuses to start at all: ... (II) intel(0): Selecting standard 18 bit TMDS pixel format. (II) intel(0): Output configuration: (II) intel(0): Pipe A is on (II) intel(0): Display plane A is now enabled and connected to pipe A. (II) intel(0): Pipe B is on (II) intel(0): Display plane B is now enabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe A (II) intel(0): Output LVDS is connected to pipe B (II) intel(0): Output TV is connected to pipe none (EE) intel(0): [drm] failure adding irq handler (II) intel(0): [drm] removed 1 reserved context for kernel (II) intel(0): [drm] unmapping 8192 bytes of SAREA 0xdfff7000 at 0xb7252000 (II) intel(0): [drm] Closed DRM master. Fatal server error: AddScreen/ScreenInit failed for driver 0 with no messages in dmesg. Does the system work, if you revert the bad commit on top of a current kernel? Yes, if I revert e8616b6ced6137085e6657cc63bc2fe3900b8616 I'm getting this behaviour: 2.6.38.7 BUG/NULL in i915_driver_irq_handler 2.6.38.7+revert works OK 2.6.39.2 X does not start at all (AddScreen/ScreenInit failed) -- see comment2 2.6.39.2+revert X does not start at all, like with 2.6.39.2 v3.0-rc5-63-g0d72c6f works, but when X starts, there are lots of "Bad IO access at port 0x84" (*) v3.0-rc5-63-g0d72c6f+revert works OK, without bad_io_access. So it seems while we can't make 2.6.39 to work with legacy X through reverting bad commit, both 2.6.38 and 3.0 benefit from reverting. Attaching dmesg log for 3.0-rc5 without revert and the revert patch itself. Thanks for asking, Kirill (*) dmesg for v3.0-rc5-63-g0d72c6f # normal dmesg here # then `X -verbose` starts [ 30.580169] ------------[ cut here ]------------ [ 30.580195] WARNING: at lib/iomap.c:43 bad_io_access+0x3d/0x40() [ 30.580204] Hardware name: PCISA-945GSE [ 30.580210] Bad IO access at port 0x84 (return inl(port)) [ 30.580217] Modules linked in: [ 30.580230] Pid: 2820, comm: sshd Not tainted 3.0.0-rc5--NAVY-00064-g30846ee #30 [ 30.580238] Call Trace: [ 30.580250] [<c118e56d>] ? bad_io_access+0x3d/0x40 [ 30.580263] [<c10287ec>] warn_slowpath_common+0x6c/0xa0 [ 30.580274] [<c118e56d>] ? bad_io_access+0x3d/0x40 [ 30.580285] [<c102889e>] warn_slowpath_fmt+0x2e/0x30 [ 30.580295] [<c118e56d>] bad_io_access+0x3d/0x40 [ 30.580306] [<c118e922>] ioread32+0x22/0x40 [ 30.580318] [<c122c0dd>] i915_driver_irq_handler+0x1ad/0x660 [ 30.580330] [<c12c640e>] ? rtl8169_interrupt+0xee/0x370 [ 30.580342] [<c105c116>] handle_irq_event_percpu+0x36/0x140 [ 30.580354] [<c105e210>] ? handle_edge_irq+0x150/0x150 [ 30.580364] [<c105c259>] handle_irq_event+0x39/0x60 [ 30.580375] [<c105e255>] handle_fasteoi_irq+0x45/0xd0 [ 30.580382] <IRQ> [<c1003c29>] ? do_IRQ+0x39/0xb0 [ 30.580403] [<c13bbc69>] ? common_interrupt+0x29/0x30 [ 30.580416] [<c10a8fa7>] ? core_sys_select+0x87/0x260 [ 30.580427] [<c131cff3>] ? sock_aio_write+0x103/0x150 [ 30.580438] [<c1025b19>] ? __wake_up+0x49/0x70 [ 30.580450] [<c1097e11>] ? do_sync_write+0xb1/0xf0 [ 30.580463] [<c10467c1>] ? __srcu_read_unlock+0x31/0x60 [ 30.580484] [<c10c7deb>] ? fsnotify+0xeb/0x2a0 [ 30.580496] [<c1098902>] ? vfs_write+0x102/0x140 [ 30.580506] [<c10a932c>] ? sys_select+0x2c/0xb0 [ 30.580516] [<c13bb750>] ? sysenter_do_call+0x12/0x26 [ 30.580526] ---[ end trace 30b693cd8fbac755 ]--- [ 30.612479] ------------[ cut here ]------------ [ 30.612505] WARNING: at lib/iomap.c:43 bad_io_access+0x3d/0x40() [ 30.612513] Hardware name: PCISA-945GSE [ 30.612520] Bad IO access at port 0x84 (return inl(port)) [ 30.612526] Modules linked in: [ 30.612539] Pid: 2820, comm: sshd Tainted: G W 3.0.0-rc5--NAVY-00064-g30846ee #30 [ 30.612547] Call Trace: [ 30.612560] [<c118e56d>] ? bad_io_access+0x3d/0x40 [ 30.612572] [<c10287ec>] warn_slowpath_common+0x6c/0xa0 [ 30.612583] [<c118e56d>] ? bad_io_access+0x3d/0x40 [ 30.612594] [<c102889e>] warn_slowpath_fmt+0x2e/0x30 [ 30.612604] [<c118e56d>] bad_io_access+0x3d/0x40 [ 30.612615] [<c118e922>] ioread32+0x22/0x40 [ 30.612627] [<c122c0dd>] i915_driver_irq_handler+0x1ad/0x660 [ 30.612638] [<c10459d8>] ? hrtimer_interrupt+0x198/0x340 [ 30.612651] [<c12c640e>] ? rtl8169_interrupt+0xee/0x370 [ 30.612663] [<c105c116>] handle_irq_event_percpu+0x36/0x140 [ 30.612675] [<c105e210>] ? handle_edge_irq+0x150/0x150 [ 30.612685] [<c105c259>] handle_irq_event+0x39/0x60 [ 30.612696] [<c105e255>] handle_fasteoi_irq+0x45/0xd0 [ 30.612703] <IRQ> [<c1003c29>] ? do_IRQ+0x39/0xb0 [ 30.612723] [<c13bbc69>] ? common_interrupt+0x29/0x30 [ 30.612734] [<c109007b>] ? vm_map_ram+0x3cb/0x4f0 [ 30.612745] [<c10a9300>] ? sys_pselect6+0x180/0x180 [ 30.612755] [<c13bb750>] ? sysenter_do_call+0x12/0x26 [ 30.612764] ---[ end trace 30b693cd8fbac756 ]--- [ 30.613700] ------------[ cut here ]------------ [ 30.613717] WARNING: at lib/iomap.c:43 bad_io_access+0x3d/0x40() [ 30.613724] Hardware name: PCISA-945GSE [ 30.613731] Bad IO access at port 0x84 (return inl(port)) [ 30.613737] Modules linked in: [ 30.613749] Pid: 0, comm: swapper Tainted: G W 3.0.0-rc5--NAVY-00064-g30846ee #30 [ 30.613756] Call Trace: [ 30.613767] [<c118e56d>] ? bad_io_access+0x3d/0x40 [ 30.613778] [<c10287ec>] warn_slowpath_common+0x6c/0xa0 [ 30.613788] [<c118e56d>] ? bad_io_access+0x3d/0x40 [ 30.613799] [<c102889e>] warn_slowpath_fmt+0x2e/0x30 [ 30.613809] [<c118e56d>] bad_io_access+0x3d/0x40 [ 30.613820] [<c118e922>] ioread32+0x22/0x40 [ 30.613830] [<c122c0dd>] i915_driver_irq_handler+0x1ad/0x660 [ 30.613841] [<c10459d8>] ? hrtimer_interrupt+0x198/0x340 [ 30.613853] [<c12c640e>] ? rtl8169_interrupt+0xee/0x370 [ 30.613865] [<c105c116>] handle_irq_event_percpu+0x36/0x140 [ 30.613876] [<c105e210>] ? handle_edge_irq+0x150/0x150 [ 30.613886] [<c105c259>] handle_irq_event+0x39/0x60 [ 30.613897] [<c105e255>] handle_fasteoi_irq+0x45/0xd0 [ 30.613904] <IRQ> [<c1003c29>] ? do_IRQ+0x39/0xb0 [ 30.613921] [<c1047a90>] ? sched_clock_local+0xe0/0x180 [ 30.613933] [<c13bbc69>] ? common_interrupt+0x29/0x30 [ 30.613945] [<c104007b>] ? clock_nanosleep_restart+0x1b/0xa0 [ 30.613957] [<c11d9010>] ? acpi_idle_enter_bm+0x272/0x29e [ 30.613969] [<c130997d>] ? cpuidle_idle_call+0x8d/0xd0 [ 30.613978] [<c1001bec>] ? cpu_idle+0x4c/0x80 [ 30.613989] [<c13a8a7a>] ? rest_init+0x7a/0x80 [ 30.613999] [<c150b80d>] ? start_kernel+0x2c4/0x327 [ 30.614010] [<c150b30d>] ? kernel_init+0x126/0x126 [ 30.614020] [<c150b079>] ? i386_start_kernel+0x79/0xb5 [ 30.614028] ---[ end trace 30b693cd8fbac757 ]--- [ 30.833527] ------------[ cut here ]------------ [ 30.833550] WARNING: at lib/iomap.c:43 bad_io_access+0x3d/0x40() [ 30.833558] Hardware name: PCISA-945GSE [ 30.833564] Bad IO access at port 0x84 (return inl(port)) [ 30.833570] Modules linked in: [ 30.833583] Pid: 2830, comm: Xorg Tainted: G W 3.0.0-rc5--NAVY-00064-g30846ee #30 [ 30.833591] Call Trace: [ 30.833602] [<c118e56d>] ? bad_io_access+0x3d/0x40 [ 30.833615] [<c10287ec>] warn_slowpath_common+0x6c/0xa0 [ 30.833625] [<c118e56d>] ? bad_io_access+0x3d/0x40 [ 30.833636] [<c102889e>] warn_slowpath_fmt+0x2e/0x30 [ 30.833646] [<c118e56d>] bad_io_access+0x3d/0x40 [ 30.833657] [<c118e922>] ioread32+0x22/0x40 [ 30.833668] [<c122c0dd>] i915_driver_irq_handler+0x1ad/0x660 [ 30.833680] [<c10459d8>] ? hrtimer_interrupt+0x198/0x340 [ 30.833691] [<c12c640e>] ? rtl8169_interrupt+0xee/0x370 [ 30.833704] [<c105c116>] handle_irq_event_percpu+0x36/0x140 [ 30.833715] [<c105e210>] ? handle_edge_irq+0x150/0x150 [ 30.833725] [<c105c259>] handle_irq_event+0x39/0x60 [ 30.833736] [<c105e255>] handle_fasteoi_irq+0x45/0xd0 [ 30.833743] <IRQ> [<c1003c29>] ? do_IRQ+0x39/0xb0 [ 30.833761] [<c102dd42>] ? irq_exit+0x62/0xb0 [ 30.833772] [<c13bbc69>] ? common_interrupt+0x29/0x30 [ 30.833784] [<c13b0000>] ? tg3_issue_otp_command+0x27/0x59 [ 30.833793] ---[ end trace 30b693cd8fbac758 ]--- [ 31.050160] ------------[ cut here ]------------ [ 31.050187] WARNING: at lib/iomap.c:43 bad_io_access+0x3d/0x40() [ 31.050195] Hardware name: PCISA-945GSE [ 31.050202] Bad IO access at port 0x84 (return inl(port)) [ 31.050209] Modules linked in: [ 31.050222] Pid: 2820, comm: sshd Tainted: G W 3.0.0-rc5--NAVY-00064-g30846ee #30 [ 31.050230] Call Trace: [ 31.050243] [<c118e56d>] ? bad_io_access+0x3d/0x40 [ 31.050255] [<c10287ec>] warn_slowpath_common+0x6c/0xa0 [ 31.050266] [<c118e56d>] ? bad_io_access+0x3d/0x40 [ 31.050276] [<c102889e>] warn_slowpath_fmt+0x2e/0x30 [ 31.050287] [<c118e56d>] bad_io_access+0x3d/0x40 [ 31.050297] [<c118e922>] ioread32+0x22/0x40 [ 31.050309] [<c122c0dd>] i915_driver_irq_handler+0x1ad/0x660 [ 31.050321] [<c10459d8>] ? hrtimer_interrupt+0x198/0x340 [ 31.050333] [<c12c640e>] ? rtl8169_interrupt+0xee/0x370 [ 31.050346] [<c105c116>] handle_irq_event_percpu+0x36/0x140 [ 31.050357] [<c105e210>] ? handle_edge_irq+0x150/0x150 [ 31.050368] [<c105c259>] handle_irq_event+0x39/0x60 [ 31.050378] [<c105e255>] handle_fasteoi_irq+0x45/0xd0 [ 31.050385] <IRQ> [<c1003c29>] ? do_IRQ+0x39/0xb0 [ 31.050404] [<c10989fd>] ? sys_write+0x3d/0x70 [ 31.050416] [<c13bbc69>] ? common_interrupt+0x29/0x30 [ 31.050425] ---[ end trace 30b693cd8fbac759 ]--- [ 31.105482] ------------[ cut here ]------------ [ 31.105512] WARNING: at lib/iomap.c:43 bad_io_access+0x3d/0x40() [ 31.105521] Hardware name: PCISA-945GSE [ 31.105528] Bad IO access at port 0x84 (return inl(port)) [ 31.105535] Modules linked in: [ 31.105549] Pid: 2761, comm: ecu-ns-proxy Tainted: G W 3.0.0-rc5--NAVY-00064-g30846ee #30 [ 31.105558] Call Trace: [ 31.105571] [<c118e56d>] ? bad_io_access+0x3d/0x40 [ 31.105584] [<c10287ec>] warn_slowpath_common+0x6c/0xa0 [ 31.105594] [<c118e56d>] ? bad_io_access+0x3d/0x40 [ 31.105605] [<c102889e>] warn_slowpath_fmt+0x2e/0x30 [ 31.105616] [<c118e56d>] bad_io_access+0x3d/0x40 [ 31.105626] [<c118e922>] ioread32+0x22/0x40 [ 31.105639] [<c122c0dd>] i915_driver_irq_handler+0x1ad/0x660 [ 31.105651] [<c104fb09>] ? clockevents_program_event+0x99/0x150 [ 31.105663] [<c12c640e>] ? rtl8169_interrupt+0xee/0x370 [ 31.105675] [<c105c116>] handle_irq_event_percpu+0x36/0x140 [ 31.105687] [<c105e210>] ? handle_edge_irq+0x150/0x150 [ 31.105698] [<c105c259>] handle_irq_event+0x39/0x60 [ 31.105708] [<c105e255>] handle_fasteoi_irq+0x45/0xd0 [ 31.105716] <IRQ> [<c1003c29>] ? do_IRQ+0x39/0xb0 [ 31.105736] [<c13bbc69>] ? common_interrupt+0x29/0x30 [ 31.105745] ---[ end trace 30b693cd8fbac75a ]--- [ 31.144033] ------------[ cut here ]------------ [ 31.144069] WARNING: at lib/iomap.c:43 bad_io_access+0x3d/0x40() [ 31.144078] Hardware name: PCISA-945GSE [ 31.144085] Bad IO access at port 0x84 (return inl(port)) [ 31.144092] Modules linked in: [ 31.144106] Pid: 2830, comm: Xorg Tainted: G W 3.0.0-rc5--NAVY-00064-g30846ee #30 [ 31.144115] Call Trace: [ 31.144128] [<c118e56d>] ? bad_io_access+0x3d/0x40 [ 31.144141] [<c10287ec>] warn_slowpath_common+0x6c/0xa0 [ 31.144152] [<c118e56d>] ? bad_io_access+0x3d/0x40 [ 31.144163] [<c102889e>] warn_slowpath_fmt+0x2e/0x30 [ 31.144174] [<c118e56d>] bad_io_access+0x3d/0x40 [ 31.144184] [<c118e922>] ioread32+0x22/0x40 [ 31.144197] [<c122c0dd>] i915_driver_irq_handler+0x1ad/0x660 [ 31.144209] [<c104fb09>] ? clockevents_program_event+0x99/0x150 [ 31.144222] [<c12c640e>] ? rtl8169_interrupt+0xee/0x370 [ 31.144234] [<c105c116>] handle_irq_event_percpu+0x36/0x140 [ 31.144246] [<c105e210>] ? handle_edge_irq+0x150/0x150 [ 31.144257] [<c105c259>] handle_irq_event+0x39/0x60 [ 31.144267] [<c105e255>] handle_fasteoi_irq+0x45/0xd0 [ 31.144274] <IRQ> [<c1003c29>] ? do_IRQ+0x39/0xb0 [ 31.144293] [<c117d2af>] ? cfq_idle_slice_timer+0x4f/0xc0 [ 31.144304] [<c102de10>] ? __local_bh_enable+0x70/0x70 [ 31.144317] [<c13bbc69>] ? common_interrupt+0x29/0x30 [ 31.144327] [<c102de10>] ? __local_bh_enable+0x70/0x70 [ 31.144338] [<c102de4d>] ? __do_softirq+0x3d/0x120 [ 31.144348] [<c102de10>] ? __local_bh_enable+0x70/0x70 [ 31.144355] <IRQ> [<c102dd85>] ? irq_exit+0xa5/0xb0 [ 31.144373] [<c101759b>] ? smp_apic_timer_interrupt+0x4b/0x80 [ 31.144384] [<c13bb332>] ? apic_timer_interrupt+0x2a/0x30 [ 31.144396] [<c13b0000>] ? tg3_issue_otp_command+0x27/0x59 [ 31.144405] ---[ end trace 30b693cd8fbac75b ]--- [ 31.151184] ------------[ cut here ]------------ [ 31.151209] WARNING: at lib/iomap.c:43 bad_io_access+0x3d/0x40() [ 31.151218] Hardware name: PCISA-945GSE [ 31.151225] Bad IO access at port 0x84 (return inl(port)) [ 31.151231] Modules linked in: [ 31.151243] Pid: 2820, comm: sshd Tainted: G W 3.0.0-rc5--NAVY-00064-g30846ee #30 [ 31.151252] Call Trace: [ 31.151264] [<c118e56d>] ? bad_io_access+0x3d/0x40 [ 31.151276] [<c10287ec>] warn_slowpath_common+0x6c/0xa0 [ 31.151287] [<c118e56d>] ? bad_io_access+0x3d/0x40 [ 31.151298] [<c102889e>] warn_slowpath_fmt+0x2e/0x30 [ 31.151308] [<c118e56d>] bad_io_access+0x3d/0x40 [ 31.151318] [<c118e922>] ioread32+0x22/0x40 [ 31.151330] [<c122c0dd>] i915_driver_irq_handler+0x1ad/0x660 [ 31.151342] [<c104fb09>] ? clockevents_program_event+0x99/0x150 [ 31.151355] [<c12c640e>] ? rtl8169_interrupt+0xee/0x370 [ 31.151367] [<c105c116>] handle_irq_event_percpu+0x36/0x140 [ 31.151378] [<c105e210>] ? handle_edge_irq+0x150/0x150 [ 31.151388] [<c105c259>] handle_irq_event+0x39/0x60 [ 31.151399] [<c105e255>] handle_fasteoi_irq+0x45/0xd0 [ 31.151406] <IRQ> [<c1003c29>] ? do_IRQ+0x39/0xb0 [ 31.151425] [<c10989fd>] ? sys_write+0x3d/0x70 [ 31.151436] [<c13bbc69>] ? common_interrupt+0x29/0x30 [ 31.151446] ---[ end trace 30b693cd8fbac75c ]--- [ 31.424504] ------------[ cut here ]------------ [ 31.424538] WARNING: at lib/iomap.c:43 bad_io_access+0x3d/0x40() [ 31.424547] Hardware name: PCISA-945GSE [ 31.424554] Bad IO access at port 0x84 (return inl(port)) [ 31.424561] Modules linked in: [ 31.424575] Pid: 2835, comm: xkbcomp Tainted: G W 3.0.0-rc5--NAVY-00064-g30846ee #30 [ 31.424583] Call Trace: [ 31.424596] [<c118e56d>] ? bad_io_access+0x3d/0x40 [ 31.424609] [<c10287ec>] warn_slowpath_common+0x6c/0xa0 [ 31.424620] [<c118e56d>] ? bad_io_access+0x3d/0x40 [ 31.424630] [<c102889e>] warn_slowpath_fmt+0x2e/0x30 [ 31.424641] [<c118e56d>] bad_io_access+0x3d/0x40 [ 31.424652] [<c118e922>] ioread32+0x22/0x40 [ 31.424664] [<c122c0dd>] i915_driver_irq_handler+0x1ad/0x660 [ 31.424677] [<c104fb09>] ? clockevents_program_event+0x99/0x150 [ 31.424689] [<c12c640e>] ? rtl8169_interrupt+0xee/0x370 [ 31.424702] [<c105c116>] handle_irq_event_percpu+0x36/0x140 [ 31.424714] [<c105e210>] ? handle_edge_irq+0x150/0x150 [ 31.424724] [<c105c259>] handle_irq_event+0x39/0x60 [ 31.424735] [<c105e255>] handle_fasteoi_irq+0x45/0xd0 [ 31.424742] <IRQ> [<c1003c29>] ? do_IRQ+0x39/0xb0 [ 31.424760] [<c1098c2d>] ? sys_read+0x3d/0x70 [ 31.424772] [<c13bbc69>] ? common_interrupt+0x29/0x30 [ 31.424782] ---[ end trace 30b693cd8fbac75d ]--- [ 31.534317] ------------[ cut here ]------------ [ 31.534346] WARNING: at lib/iomap.c:43 bad_io_access+0x3d/0x40() [ 31.534355] Hardware name: PCISA-945GSE [ 31.534362] Bad IO access at port 0x84 (return inl(port)) [ 31.534369] Modules linked in: [ 31.534383] Pid: 2820, comm: sshd Tainted: G W 3.0.0-rc5--NAVY-00064-g30846ee #30 [ 31.534391] Call Trace: [ 31.534404] [<c118e56d>] ? bad_io_access+0x3d/0x40 [ 31.534417] [<c10287ec>] warn_slowpath_common+0x6c/0xa0 [ 31.534427] [<c118e56d>] ? bad_io_access+0x3d/0x40 [ 31.534438] [<c102889e>] warn_slowpath_fmt+0x2e/0x30 [ 31.534449] [<c118e56d>] bad_io_access+0x3d/0x40 [ 31.534459] [<c118e922>] ioread32+0x22/0x40 [ 31.534472] [<c122c0dd>] i915_driver_irq_handler+0x1ad/0x660 [ 31.534485] [<c104fb09>] ? clockevents_program_event+0x99/0x150 [ 31.534497] [<c12c640e>] ? rtl8169_interrupt+0xee/0x370 [ 31.534509] [<c105c116>] handle_irq_event_percpu+0x36/0x140 [ 31.534520] [<c105e210>] ? handle_edge_irq+0x150/0x150 [ 31.534531] [<c105c259>] handle_irq_event+0x39/0x60 [ 31.534542] [<c105e255>] handle_fasteoi_irq+0x45/0xd0 [ 31.534549] <IRQ> [<c1003c29>] ? do_IRQ+0x39/0xb0 [ 31.534567] [<c10989fd>] ? sys_write+0x3d/0x70 [ 31.534579] [<c13bbc69>] ? common_interrupt+0x29/0x30 [ 31.534589] ---[ end trace 30b693cd8fbac75e ]--- # Here X is started and works without further messages in dmesg about # bad io access (tested for 5 minutes) Created attachment 63862 [details]
0001-Revert-drm-i915-Initialise-ring-vfuncs-for-old-DRI-p.patch
Problem still present in v3.0 On netconsole: # X starts here, then [ 45.102377] ------------[ cut here ]------------ [ 45.102402] WARNING: at lib/iomap.c:43 bad_io_access+0x3d/0x40() [ 45.102411] Hardware name: PCISA-945GSE [ 45.102418] Bad IO access at port 0x84 (return inl(port)) [ 45.102425] Modules linked in: [ 45.102438] Pid: 2846, comm: sshd Not tainted 3.0.0--NAVY #33 [ 45.102445] Call Trace: [ 45.102460] [<c118e9fd>] ? bad_io_access+0x3d/0x40 [ 45.102473] [<c10287ec>] warn_slowpath_common+0x6c/0xa0 [ 45.102484] [<c118e9fd>] ? bad_io_access+0x3d/0x40 [ 45.102495] [<c102889e>] warn_slowpath_fmt+0x2e/0x30 [ 45.102506] [<c118e9fd>] bad_io_access+0x3d/0x40 [ 45.102516] [<c118edb2>] ioread32+0x22/0x40 [ 45.102528] [<c122cc7d>] i915_driver_irq_handler+0x1ad/0x660 [ 45.102541] [<c12c6a7e>] ? rtl8169_interrupt+0xee/0x370 [ 45.102554] [<c105c396>] handle_irq_event_percpu+0x36/0x140 [ 45.102565] [<c105e490>] ? handle_edge_irq+0x150/0x150 [ 45.102576] [<c105c4d9>] handle_irq_event+0x39/0x60 [ 45.102587] [<c105e4d5>] handle_fasteoi_irq+0x45/0xd0 [ 45.102594] <IRQ> [<c1003c29>] ? do_IRQ+0x39/0xb0 [ 45.102613] [<c103c9b3>] ? start_flush_work+0xc3/0x130 [ 45.102625] [<c13bc329>] ? common_interrupt+0x29/0x30 [ 45.102636] [<c13bc329>] ? common_interrupt+0x29/0x30 [ 45.102648] [<c11e007b>] ? pnpacpi_encode_resources+0x37b/0x7a0 [ 45.102659] [<c109971e>] ? fget_light+0xe/0xf0 [ 45.102671] [<c10a8f97>] ? do_select+0x2e7/0x680 [ 45.102685] [<c1341998>] ? sch_direct_xmit+0x58/0x1d0 [ 45.102695] [<c10a83e0>] ? poll_freewait+0xa0/0xa0 [ 45.102706] [<c102df37>] ? local_bh_enable+0x47/0xa0 [ 45.102718] [<c132e371>] ? dev_queue_xmit+0x101/0x4e0 [ 45.102729] [<c134ffba>] ? ip_finish_output+0x10a/0x2f0 [ 45.102740] [<c1350216>] ? ip_output+0x76/0x90 [ 45.102750] [<c134d715>] ? ip_local_out+0x65/0x70 [ 45.102762] [<c134fa3d>] ? ip_queue_xmit+0x1bd/0x3b0 [ 45.102775] [<c1362af8>] ? tcp_transmit_skb+0x468/0x7d0 [ 45.102788] [<c13215af>] ? sk_reset_timer+0xf/0x20 [ 45.102798] [<c1362446>] ? tcp_event_new_data_sent+0x86/0xc0 [ 45.102809] [<c1364fc1>] ? tcp_write_xmit+0x1e1/0x9a0 [ 45.102822] [<c1326925>] ? __alloc_skb+0x55/0x100 [ 45.102838] [<c102df37>] ? local_bh_enable+0x47/0xa0 [ 45.102849] [<c1321246>] ? release_sock+0xd6/0x110 [ 45.102859] [<c13657f7>] ? __tcp_push_pending_frames+0x27/0x80 [ 45.102870] [<c13584fa>] ? tcp_sendmsg+0x64a/0xac0 -*- and then system FREEZE -*- and again, reverting e8616b6ce helps -- X works without a problem. I've sent this and other info via email: https://lkml.org/lkml/2011/7/22/93 This was fixed in commit f3234706a77bd6e1592ae71fb3268e04cb030dba Author: Keith Packard <keithp@keithp.com> Date: Fri Jul 22 10:44:39 2011 -0700 drm/i915: Initialize RCS ring status page address in intel_render_ring_init_dri Physically-addressed hardware status pages are initialized early in the driver load process by i915_init_phys_hws. For UMS environments, the ring structure is not initialized until the X server starts. At that point, the entire ring structure is re-initialized with all new values. Any values set in the ring structure (including ring->status_page.page_addr) will be lost when the ring is re-initialized. This patch moves the initialization of the status_page.page_addr value to intel_render_ring_init_dri. Signed-off-by: Keith Packard <keithp@keithp.com> Cc: stable@kernel.org The fix will be included into v3.1 and is already available in v3.0.3. Thanks. |