From: Tejun Heo on 6 Jun 2010 12:00 On 06/06/2010 05:48 PM, Tejun Heo wrote: > Can you please try w/o KMS just in case? Also, does it always crash the same way? Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Torsten Kaiser on 6 Jun 2010 12:00 On Sun, Jun 6, 2010 at 4:19 PM, Linus Torvalds <torvalds(a)linux-foundation.org> wrote: > On Sun, 6 Jun 2010, Torsten Kaiser wrote: >> >> The first problem that shows up is, that after the KMS switches to the >> correct video mode (1280x1024 for an DVI attached LCD), the display >> begins to flicker. Every 1..2 seconds (guesstimated) the display turns >> off and on again. Something in the new powersaving? > > Or maybe a borderline display timing that the display has trouble syncing > up with? > Doesn't seems so. On both kernels the fb console switches to 1280x1024(a)59.9 according to the monitor and after starting X this is switched to 1280x1024(a)60.2. (A new try with 2.6.35-rc2 got me to the weave pattern from X before the ata OOPS killed the machine) I tried both kernels with drm.debug=15 to get more information, but I can't see anything suspicious. The modelines get renumbered, but still look the same. But I was wrong about the 1..2 seconds: The switch-off-intervall is ~10 seconds. Here are the parts where the kernel switches to 1280x1024: From 2.6.34: [ 2.269082] [drm:drm_setup_crtcs], [ 2.269084] [drm:drm_enable_connectors], connector 10 enabled? yes [ 2.269086] [drm:drm_enable_connectors], connector 13 enabled? yes [ 2.269087] [drm:drm_enable_connectors], connector 14 enabled? no [ 2.269089] [drm:drm_target_preferred], looking for cmdline mode on connector 10 [ 2.269093] [drm:drm_target_preferred], found mode 1280x1024 [ 2.269095] [drm:drm_target_preferred], looking for cmdline mode on connector 13 [ 2.269097] [drm:drm_target_preferred], found mode 1280x1024 [ 2.269098] [drm:drm_setup_crtcs], picking CRTCs for 4096x4096 config [ 2.269103] [drm:drm_setup_crtcs], desired mode 1280x1024 set on crtc 7 [ 2.269104] [drm:drm_setup_crtcs], desired mode 1280x1024 set on crtc 8 [ 2.273467] [drm] fb mappable at 0xE00C0000 [ 2.277657] [drm] vram apper at 0xE0000000 [ 2.281789] [drm] size 5242880 [ 2.284852] [drm] fb depth is 24 [ 2.288086] [drm] pitch is 5120 [ 2.291609] fbcon: radeondrmfb (fb0) is primary device [ 2.297424] [drm:drm_crtc_helper_set_config], [ 2.297426] [drm:drm_crtc_helper_set_config], crtc: ffff88011f65a000 7 fb: ffff88007f190900 connectors: ffff8800077ef080 num_connectors: 1 (x, y) (0, 0) [ 2.297432] [drm:drm_crtc_helper_set_config], crtc has no fb, full mode set [ 2.297434] [drm:drm_crtc_helper_set_config], modes are different, full mode set [ 2.297436] [drm:drm_mode_debug_printmodeline], Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 0x0 0x0 [ 2.297439] [drm:drm_mode_debug_printmodeline], Modeline 41:"1280x1024" 0 109000 1280 1368 1496 1712 1024 1027 1034 1063 0x0 0x6 [ 2.297444] [drm:drm_crtc_helper_set_config], setting connector 10 crtc to ffff88011f65a000 [ 2.297446] [drm:drm_crtc_helper_set_config], setting connector 13 crtc to ffff88011f65b000 [ 2.297449] [drm:drm_crtc_helper_set_config], attempting to set mode from userspace [ 2.297451] [drm:drm_mode_debug_printmodeline], Modeline 41:"1280x1024" 0 109000 1280 1368 1496 1712 1024 1027 1034 1063 0x0 0x6 [ 2.297456] [drm:radeon_encoder_set_active_device], setting active device to 00000001 from 00000001 00000001 for encoder 1 [ 2.297463] [drm:radeon_legacy_primary_dac_dpms], [ 2.297465] [drm:radeon_legacy_tv_dac_dpms], [ 2.297470] [drm:radeon_crtc_set_base], [ 2.297479] [drm:r100_bandwidth_update], GRPH_BUFFER_CNTL from to 20007c7c [ 2.297481] [drm:radeon_set_crtc_timing], [ 2.297485] [drm:radeon_set_pll], [ 2.297487] [drm:radeon_compute_pll_legacy], PLL freq 109000 2 1023 [ 2.297819] [drm:radeon_set_pll], dc=10900, fd=109, rd=9, pd=3 [ 2.297829] [drm:radeon_set_pll], Wrote: 0x00000009 0x0004006d 0x00000000 (0x00008f00) [ 2.297832] [drm:radeon_set_pll], Wrote: rd=9, fd=109, pd=4 [ 2.347825] [drm:drm_crtc_helper_set_mode], DAC-9: set mode 1280x1024 29 [ 2.347827] [drm:radeon_legacy_primary_dac_mode_set], [ 2.347852] [drm:radeon_legacy_primary_dac_dpms], [ 2.347855] [drm:radeon_legacy_tv_dac_dpms], [ 2.347859] [drm:drm_crtc_helper_set_config], [ 2.347860] [drm:drm_crtc_helper_set_config], crtc: ffff88011f65b000 8 fb: ffff88007f190900 connectors: ffff8800077ef060 num_connectors: 1 (x, y) (0, 0) [ 2.347865] [drm:drm_crtc_helper_set_config], crtc has no fb, full mode set [ 2.347866] [drm:drm_crtc_helper_set_config], modes are different, full mode set [ 2.347869] [drm:drm_mode_debug_printmodeline], Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 0x0 0x0 [ 2.347872] [drm:drm_mode_debug_printmodeline], Modeline 42:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x48 0x5 [ 2.347876] [drm:drm_crtc_helper_set_config], setting connector 10 crtc to ffff88011f65a000 [ 2.347878] [drm:drm_crtc_helper_set_config], setting connector 13 crtc to ffff88011f65b000 [ 2.347881] [drm:drm_crtc_helper_set_config], attempting to set mode from userspace [ 2.347883] [drm:drm_mode_debug_printmodeline], Modeline 42:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x48 0x5 [ 2.347887] [drm:radeon_encoder_set_active_device], setting active device to 00000008 from 00000008 00000018 for encoder 2 [ 2.347892] [drm:radeon_legacy_tmds_int_dpms], [ 2.347894] [drm:radeon_legacy_tv_dac_dpms], [ 2.347899] [drm:radeon_crtc_set_base], [ 2.347905] [drm:r100_bandwidth_update], GRPH_BUFFER_CNTL from to 20007c7c [ 2.347909] [drm:r100_bandwidth_update], GRPH2_BUFFER_CNTL from to 20007c7c [ 2.347911] [drm:radeon_set_crtc_timing], [ 2.347913] [drm:radeon_set_pll], [ 2.347915] [drm:radeon_compute_pll_legacy], PLL freq 108000 2 1023 [ 2.348119] [drm:radeon_set_pll], dc=10800, fd=16, rd=2, pd=2 [ 2.348129] [drm:radeon_set_pll], Wrote2: 0x00000002 0x00010010 0x00000000 (0x00008c00) [ 2.348131] [drm:radeon_set_pll], Wrote2: rd=2, fd=16, pd=1 [ 2.398137] [drm:drm_crtc_helper_set_mode], TMDS-12: set mode 1280x1024 2a [ 2.398139] [drm:radeon_legacy_tmds_int_mode_set], [ 2.398180] [drm:radeon_legacy_tmds_int_dpms], [ 2.398183] [drm:radeon_legacy_tv_dac_dpms], [ 2.404637] [drm:drm_crtc_helper_set_config], [ 2.404639] [drm:drm_crtc_helper_set_config], crtc: ffff88011f65a000 7 fb: ffff88007f190900 connectors: ffff8800077ef080 num_connectors: 1 (x, y) (0, 0) [ 2.404644] [drm:drm_crtc_helper_set_config], setting connector 10 crtc to ffff88011f65a000 [ 2.404646] [drm:drm_crtc_helper_set_config], setting connector 13 crtc to ffff88011f65b000 [ 2.404649] [drm:drm_crtc_helper_set_config], [ 2.404650] [drm:drm_crtc_helper_set_config], crtc: ffff88011f65b000 8 fb: ffff88007f190900 connectors: ffff8800077ef060 num_connectors: 1 (x, y) (0, 0) [ 2.404655] [drm:drm_crtc_helper_set_config], setting connector 10 crtc to ffff88011f65a000 [ 2.404657] [drm:drm_crtc_helper_set_config], setting connector 13 crtc to ffff88011f65b000 [ 2.411530] Console: switching to colour frame buffer device 160x64 [ 2.411534] [drm:drm_crtc_helper_set_config], [ 2.411535] [drm:drm_crtc_helper_set_config], crtc: ffff88011f65a000 7 fb: ffff88007f190900 connectors: ffff8800077ef080 num_connectors: 1 (x, y) (0, 0) [ 2.411539] [drm:drm_crtc_helper_set_config], setting connector 10 crtc to ffff88011f65a000 [ 2.411541] [drm:drm_crtc_helper_set_config], setting connector 13 crtc to ffff88011f65b000 [ 2.411543] [drm:drm_crtc_helper_set_config], [ 2.411544] [drm:drm_crtc_helper_set_config], crtc: ffff88011f65b000 8 fb: ffff88007f190900 connectors: ffff8800077ef060 num_connectors: 1 (x, y) (0, 0) [ 2.411548] [drm:drm_crtc_helper_set_config], setting connector 10 crtc to ffff88011f65a000 [ 2.411550] [drm:drm_crtc_helper_set_config], setting connector 13 crtc to ffff88011f65b000 [ 2.424139] fb0: radeondrmfb frame buffer device [ 2.428777] registered panic notifier [ 2.432485] [drm] Initialized radeon 2.3.0 20080528 for 0000:01:00.0 on minor 0 And from 2.6.35-rc2: [ 3.656308] [drm:drm_setup_crtcs], [ 3.659836] [drm:drm_enable_connectors], connector 10 enabled? yes [ 3.666075] [drm:drm_enable_connectors], connector 13 enabled? yes [ 3.672309] [drm:drm_enable_connectors], connector 14 enabled? no [ 3.678434] [drm:drm_target_preferred], looking for cmdline mode on connector 10 [ 3.685889] [drm:drm_target_preferred], found mode 1280x1024 [ 3.691601] [drm:drm_target_preferred], looking for cmdline mode on connector 13 [ 3.699023] [drm:drm_target_preferred], found mode 1280x1024 [ 3.704748] [drm:drm_setup_crtcs], picking CRTCs for 4096x4096 config [ 3.711241] [drm:drm_setup_crtcs], desired mode 1280x1024 set on crtc 7 [ 3.717884] [drm:drm_setup_crtcs], desired mode 1280x1024 set on crtc 8 [ 3.729097] [drm] fb mappable at 0xE00C0000 [ 3.733313] [drm] vram apper at 0xE0000000 [ 3.737414] [drm] size 5242880 [ 3.740497] [drm] fb depth is 24 [ 3.743735] [drm] pitch is 5120 [ 3.747239] fbcon: radeondrmfb (fb0) is primary device [ 3.753040] [drm:drm_crtc_helper_set_config], [ 3.753042] [drm:drm_crtc_helper_set_config], crtc: ffff88007f40c000 7 fb: ffff8800076f28b0 connectors: ffff88007f43f920 num_connectors: 1 (x, y) (0, 0) [ 3.753047] [drm:drm_crtc_helper_set_config], crtc has no fb, full mode set [ 3.753048] [drm:drm_crtc_helper_set_config], modes are different, full mode set [ 3.753050] [drm:drm_mode_debug_printmodeline], Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 0x0 0x0 [ 3.753053] [drm:drm_mode_debug_printmodeline], Modeline 40:"1280x1024" 0 109000 1280 1368 1496 1712 1024 1027 1034 1063 0x0 0x6 [ 3.753057] [drm:drm_crtc_helper_set_config], encoder changed, full mode switch [ 3.753059] [drm:drm_crtc_helper_set_config], crtc changed, full mode switch [ 3.753060] [drm:drm_crtc_helper_set_config], setting connector 10 crtc to ffff88007f40c000 [ 3.753062] [drm:drm_crtc_helper_set_config], attempting to set mode from userspace [ 3.753064] [drm:drm_mode_debug_printmodeline], Modeline 40:"1280x1024" 0 109000 1280 1368 1496 1712 1024 1027 1034 1063 0x0 0x6 [ 3.753070] [drm:radeon_encoder_set_active_device], setting active device to 00000001 from 00000001 00000001 for encoder 1 [ 3.753076] [drm:radeon_legacy_primary_dac_dpms], [ 3.753079] [drm:radeon_legacy_tv_dac_dpms], [ 3.753082] [drm:radeon_legacy_tmds_int_dpms], [ 3.753087] [drm:radeon_crtc_set_base], [ 3.753096] [drm:r100_bandwidth_update], GRPH_BUFFER_CNTL from to 20007c7c [ 3.753098] [drm:radeon_set_crtc_timing], [ 3.753102] [drm:radeon_set_pll], [ 3.753104] [drm:radeon_compute_pll_legacy], PLL freq 109000 2 1023 [ 3.753436] [drm:radeon_set_pll], dc=10900, fd=109, rd=9, pd=3 [ 3.753445] [drm:radeon_set_pll], Wrote: 0x00000009 0x0004006d 0x00000000 (0x00008f00) [ 3.753447] [drm:radeon_set_pll], Wrote: rd=9, fd=109, pd=4 [ 3.803450] [drm:drm_crtc_helper_set_mode], DAC-9: set mode 1280x1024 28 [ 3.803452] [drm:radeon_legacy_primary_dac_mode_set], [ 3.803476] [drm:radeon_legacy_primary_dac_dpms], [ 3.803479] [drm:radeon_legacy_tv_dac_dpms], [ 3.803483] [drm:radeon_legacy_tmds_int_dpms], [ 3.803487] [drm:drm_crtc_helper_set_config], [ 3.803488] [drm:drm_crtc_helper_set_config], crtc: ffff88007f40d000 8 fb: ffff8800076f28b0 connectors: ffff88007f43f940 num_connectors: 1 (x, y) (0, 0) [ 3.803492] [drm:drm_crtc_helper_set_config], crtc has no fb, full mode set [ 3.803494] [drm:drm_crtc_helper_set_config], modes are different, full mode set [ 3.803496] [drm:drm_mode_debug_printmodeline], Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 0x0 0x0 [ 3.803499] [drm:drm_mode_debug_printmodeline], Modeline 41:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x48 0x5 [ 3.803503] [drm:drm_crtc_helper_set_config], encoder changed, full mode switch [ 3.803505] [drm:drm_crtc_helper_set_config], setting connector 10 crtc to ffff88007f40c000 [ 3.803507] [drm:drm_crtc_helper_set_config], crtc changed, full mode switch [ 3.803508] [drm:drm_crtc_helper_set_config], setting connector 13 crtc to ffff88007f40d000 [ 3.803510] [drm:drm_crtc_helper_set_config], attempting to set mode from userspace [ 3.803512] [drm:drm_mode_debug_printmodeline], Modeline 41:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x48 0x5 [ 3.803516] [drm:radeon_encoder_set_active_device], setting active device to 00000008 from 00000008 00000018 for encoder 2 [ 3.803520] [drm:radeon_legacy_tmds_int_dpms], [ 3.803522] [drm:radeon_legacy_tv_dac_dpms], [ 3.803527] [drm:radeon_crtc_set_base], [ 3.803534] [drm:r100_bandwidth_update], GRPH_BUFFER_CNTL from to 20007c7c [ 3.803537] [drm:r100_bandwidth_update], GRPH2_BUFFER_CNTL from to 20007c7c [ 3.803538] [drm:radeon_set_crtc_timing], [ 3.803541] [drm:radeon_set_pll], [ 3.803542] [drm:radeon_compute_pll_legacy], PLL freq 108000 2 1023 [ 3.803747] [drm:radeon_set_pll], dc=10800, fd=16, rd=2, pd=2 [ 3.803757] [drm:radeon_set_pll], Wrote2: 0x00000002 0x00010010 0x00000000 (0x00008c00) [ 3.803759] [drm:radeon_set_pll], Wrote2: rd=2, fd=16, pd=1 [ 3.853764] [drm:drm_crtc_helper_set_mode], TMDS-12: set mode 1280x1024 29 [ 3.853766] [drm:radeon_legacy_tmds_int_mode_set], [ 3.853807] [drm:radeon_legacy_tmds_int_dpms], [ 3.853810] [drm:radeon_legacy_tv_dac_dpms], [ 3.853835] [drm:drm_crtc_helper_set_config], [ 3.853836] [drm:drm_crtc_helper_set_config], crtc: ffff88007f40c000 7 fb: ffff8800076f28b0 connectors: ffff88007f43f920 num_connectors: 1 (x, y) (0, 0) [ 3.853841] [drm:drm_crtc_helper_set_config], setting connector 10 crtc to ffff88007f40c000 [ 3.853843] [drm:drm_crtc_helper_set_config], setting connector 13 crtc to ffff88007f40d000 [ 3.853845] [drm:drm_crtc_helper_set_config], [ 3.853846] [drm:drm_crtc_helper_set_config], crtc: ffff88007f40d000 8 fb: ffff8800076f28b0 connectors: ffff88007f43f940 num_connectors: 1 (x, y) (0, 0) [ 3.853850] [drm:drm_crtc_helper_set_config], setting connector 10 crtc to ffff88007f40c000 [ 3.853852] [drm:drm_crtc_helper_set_config], setting connector 13 crtc to ffff88007f40d000 [ 3.860309] [drm:drm_crtc_helper_set_config], [ 3.860310] [drm:drm_crtc_helper_set_config], crtc: ffff88007f40c000 7 fb: ffff8800076f28b0 connectors: ffff88007f43f920 num_connectors: 1 (x, y) (0, 0) [ 3.860314] [drm:drm_crtc_helper_set_config], setting connector 10 crtc to ffff88007f40c000 [ 3.860316] [drm:drm_crtc_helper_set_config], setting connector 13 crtc to ffff88007f40d000 [ 3.860319] [drm:drm_crtc_helper_set_config], [ 3.860320] [drm:drm_crtc_helper_set_config], crtc: ffff88007f40d000 8 fb: ffff8800076f28b0 connectors: ffff88007f43f940 num_connectors: 1 (x, y) (0, 0) [ 3.860324] [drm:drm_crtc_helper_set_config], setting connector 10 crtc to ffff88007f40c000 [ 3.860326] [drm:drm_crtc_helper_set_config], setting connector 13 crtc to ffff88007f40d000 [ 3.867138] Console: switching to colour frame buffer device 160x64 [ 3.867142] [drm:drm_crtc_helper_set_config], [ 3.867143] [drm:drm_crtc_helper_set_config], crtc: ffff88007f40c000 7 fb: ffff8800076f28b0 connectors: ffff88007f43f920 num_connectors: 1 (x, y) (0, 0) [ 3.867147] [drm:drm_crtc_helper_set_config], setting connector 10 crtc to ffff88007f40c000 [ 3.867149] [drm:drm_crtc_helper_set_config], setting connector 13 crtc to ffff88007f40d000 [ 3.867151] [drm:drm_crtc_helper_set_config], [ 3.867152] [drm:drm_crtc_helper_set_config], crtc: ffff88007f40d000 8 fb: ffff8800076f28b0 connectors: ffff88007f43f940 num_connectors: 1 (x, y) (0, 0) [ 3.867156] [drm:drm_crtc_helper_set_config], setting connector 10 crtc to ffff88007f40c000 [ 3.867158] [drm:drm_crtc_helper_set_config], setting connector 13 crtc to ffff88007f40d000 [ 4.559861] fb0: radeondrmfb frame buffer device [ 4.566873] drm: registered panic notifier [ 4.573135] [drm] Initialized radeon 2.4.0 20080528 for 0000:01:00.0 on minor 0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Torsten Kaiser on 6 Jun 2010 12:30 On Sun, Jun 6, 2010 at 5:52 PM, Tejun Heo <htejun(a)gmail.com> wrote: > On 06/06/2010 05:48 PM, Tejun Heo wrote: >> Can you please try w/o KMS just in case? 2 out of 2 attempts without KMS worked without any OOPS. Sorry to have bother you with this, it now really looks KMS related. > Also, does it always crash the same way? It seemed so, both attempts with KMS crashed the same way. Could you suggest a KConfig option, that might catch the culprit? DEBUG_PAGEALLOC or DEBUG_OBJECTS? Torsten Just for reference, here is the other crash with KMS: [ 82.500052] general protection fault: 0000 [#1] SMP [ 82.505057] last sysfs file: /sys/devices/virtual/block/md3/uevent [ 82.510007] CPU 0 [ 82.510007] Modules linked in: sg [ 82.510007] [ 82.510007] Pid: 335, comm: kblockd/0 Not tainted 2.6.35-rc2 #1 KFN5-D SLI/KFN5-D SLI [ 82.510007] RIP: 0010:[<ffffffff8135aa64>] [<ffffffff8135aa64>] ata_find_dev+0x24/0x90 [ 82.510007] RSP: 0018:ffff88007f40bda0 EFLAGS: 00010082 [ 82.510007] RAX: 0720072007200720 RBX: ffff88011f307c00 RCX: 0720072007202558 [ 82.510007] RDX: ffff8800070d1e38 RSI: 0000000000000000 RDI: ffff8800070d0000 [ 82.510007] RBP: ffff880006c1c300 R08: 0000000000000001 R09: 0000000000000010 [ 82.510007] R10: 0000000000000000 R11: ffff880007246c68 R12: ffff88011f30c000 [ 82.510007] R13: ffff8800070d0000 R14: ffffffff81340f80 R15: ffff88011f307d38 [ 82.510007] FS: 00007f97bcf66700(0000) GS:ffff880001c00000(0000) knlGS:0000000000000000 [ 82.510007] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 82.510007] CR2: 00007f97bbe18900 CR3: 0000000001a05000 CR4: 00000000000006f0 [ 82.510007] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 82.510007] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 82.510007] Process kblockd/0 (pid: 335, threadinfo ffff88007f40a000, task ffff88007ff9a7d0) [ 82.510007] Stack: [ 82.510007] ffffffff8135ab25 ffffffff8135e7cb ffff880006c1c300 ffff88011f30c000 [ 82.510007] <0> ffff880007246b88 0000000000000287 ffff88011f307c48 ffffffff81341c49 [ 82.510007] <0> ffff880007246b88 ffff88011f307c00 ffff88011f3a0888 ffff880007246b88 [ 82.510007] Call Trace: [ 82.510007] [<ffffffff8135ab25>] ? ata_scsi_find_dev+0x5/0x30 [ 82.510007] [<ffffffff8135e7cb>] ? ata_scsi_queuecmd+0x4b/0x2c0 [ 82.510007] [<ffffffff81341c49>] ? scsi_dispatch_cmd+0xd9/0x210 [ 82.510007] [<ffffffff81348530>] ? scsi_request_fn+0x300/0x3e0 [ 82.510007] [<ffffffff811e31e0>] ? blk_unplug_work+0x0/0x20 [ 82.510007] [<ffffffff811e4624>] ? generic_unplug_device+0x24/0x30 [ 82.510007] [<ffffffff8104ca6b>] ? worker_thread+0xeb/0x180 [ 82.510007] [<ffffffff81050690>] ? autoremove_wake_function+0x0/0x30 [ 82.510007] [<ffffffff8104c980>] ? worker_thread+0x0/0x180 [ 82.510007] [<ffffffff810501fe>] ? kthread+0x8e/0xa0 [ 82.510007] [<ffffffff81003194>] ? kernel_thread_helper+0x4/0x10 [ 82.510007] [<ffffffff81050170>] ? kthread+0x0/0xa0 [ 82.510007] [<ffffffff81003190>] ? kernel_thread_helper+0x0/0x10 [ 82.510007] Code: 1f 84 00 00 00 00 00 8b 87 00 29 00 00 85 c0 75 46 48 8b 87 38 1e 00 00 48 8d 97 38 1e 00 00 48 8d 88 38 1e 00 00 48 39 ca 74 4c <48> 3b 90 f8 28 00 00 74 43 ba 01 00 00 00 39 d6 7d 47 48 63 f6 [ 82.510007] RIP [<ffffffff8135aa64>] ata_find_dev+0x24/0x90 [ 82.510007] RSP <ffff88007f40bda0> [ 82.510007] ---[ end trace 63f75d1cde008d47 ]--- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Alessandro Suardi on 6 Jun 2010 21:10 On Sun, Jun 6, 2010 at 6:25 PM, Torsten Kaiser <just.for.lkml(a)googlemail.com> wrote: > On Sun, Jun 6, 2010 at 5:52 PM, Tejun Heo <htejun(a)gmail.com> wrote: >> On 06/06/2010 05:48 PM, Tejun Heo wrote: >>> Can you please try w/o KMS just in case? > > 2 out of 2 attempts without KMS worked without any OOPS. > Sorry to have bother you with this, it now really looks KMS related. > >> Also, does it always crash the same way? > > It seemed so, both attempts with KMS crashed the same way. > > Could you suggest a KConfig option, that might catch the culprit? > DEBUG_PAGEALLOC or DEBUG_OBJECTS? > > Torsten > > Just for reference, here is the other crash with KMS: > [ � 82.500052] general protection fault: 0000 [#1] SMP > [ � 82.505057] last sysfs file: /sys/devices/virtual/block/md3/uevent > [ � 82.510007] CPU 0 > [ � 82.510007] Modules linked in: sg > [ � 82.510007] > [ � 82.510007] Pid: 335, comm: kblockd/0 Not tainted 2.6.35-rc2 #1 > KFN5-D SLI/KFN5-D SLI > [ � 82.510007] RIP: 0010:[<ffffffff8135aa64>] �[<ffffffff8135aa64>] > ata_find_dev+0x24/0x90 > [ � 82.510007] RSP: 0018:ffff88007f40bda0 �EFLAGS: 00010082 > [ � 82.510007] RAX: 0720072007200720 RBX: ffff88011f307c00 RCX: 0720072007202558 > [ � 82.510007] RDX: ffff8800070d1e38 RSI: 0000000000000000 RDI: ffff8800070d0000 > [ � 82.510007] RBP: ffff880006c1c300 R08: 0000000000000001 R09: 0000000000000010 > [ � 82.510007] R10: 0000000000000000 R11: ffff880007246c68 R12: ffff88011f30c000 > [ � 82.510007] R13: ffff8800070d0000 R14: ffffffff81340f80 R15: ffff88011f307d38 > [ � 82.510007] FS: �00007f97bcf66700(0000) GS:ffff880001c00000(0000) > knlGS:0000000000000000 > [ � 82.510007] CS: �0010 DS: 0000 ES: 0000 CR0: 000000008005003b > [ � 82.510007] CR2: 00007f97bbe18900 CR3: 0000000001a05000 CR4: 00000000000006f0 > [ � 82.510007] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > [ � 82.510007] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 > [ � 82.510007] Process kblockd/0 (pid: 335, threadinfo > ffff88007f40a000, task ffff88007ff9a7d0) > [ � 82.510007] Stack: > [ � 82.510007] �ffffffff8135ab25 ffffffff8135e7cb ffff880006c1c300 > ffff88011f30c000 > [ � 82.510007] <0> ffff880007246b88 0000000000000287 ffff88011f307c48 > ffffffff81341c49 > [ � 82.510007] <0> ffff880007246b88 ffff88011f307c00 ffff88011f3a0888 > ffff880007246b88 > [ � 82.510007] Call Trace: > [ � 82.510007] �[<ffffffff8135ab25>] ? ata_scsi_find_dev+0x5/0x30 > [ � 82.510007] �[<ffffffff8135e7cb>] ? ata_scsi_queuecmd+0x4b/0x2c0 > [ � 82.510007] �[<ffffffff81341c49>] ? scsi_dispatch_cmd+0xd9/0x210 > [ � 82.510007] �[<ffffffff81348530>] ? scsi_request_fn+0x300/0x3e0 > [ � 82.510007] �[<ffffffff811e31e0>] ? blk_unplug_work+0x0/0x20 > [ � 82.510007] �[<ffffffff811e4624>] ? generic_unplug_device+0x24/0x30 > [ � 82.510007] �[<ffffffff8104ca6b>] ? worker_thread+0xeb/0x180 > [ � 82.510007] �[<ffffffff81050690>] ? autoremove_wake_function+0x0/0x30 > [ � 82.510007] �[<ffffffff8104c980>] ? worker_thread+0x0/0x180 > [ � 82.510007] �[<ffffffff810501fe>] ? kthread+0x8e/0xa0 > [ � 82.510007] �[<ffffffff81003194>] ? kernel_thread_helper+0x4/0x10 > [ � 82.510007] �[<ffffffff81050170>] ? kthread+0x0/0xa0 > [ � 82.510007] �[<ffffffff81003190>] ? kernel_thread_helper+0x0/0x10 > [ � 82.510007] Code: 1f 84 00 00 00 00 00 8b 87 00 29 00 00 85 c0 75 46 48 > 8b 87 38 1e 00 00 48 8d 97 38 1e 00 00 48 8d 88 38 1e 00 00 48 39 ca 74 4c > <48> 3b 90 f8 28 00 00 74 43 ba 01 00 00 00 39 d6 7d 47 48 63 f6 > [ � 82.510007] RIP �[<ffffffff8135aa64>] ata_find_dev+0x24/0x90 > [ � 82.510007] �RSP <ffff88007f40bda0> > [ � 82.510007] ---[ end trace 63f75d1cde008d47 ]--- With -rc2 on F13, x86_64, Dell E6400 I had X not showing on "startx" at the first attempt (totally blank screen), with the oops pasted below found after Alt-Fn'ing into another console tty and logging in. startx worked on 2nd attempt, and I was able to work for a while (at least 15 minutes), then on exiting the Gnome session the laptop locked up hard (CapsLock did not change LED upon press), and I could only keep power button pressed to turn the computer off. [root(a)duff linux-2.6.35-rc2]# grep KMS .config CONFIG_DRM_KMS_HELPER=m CONFIG_DRM_I915_KMS=y -rc1-git2 and earlier have had no such issue. The "taint" P flag is due to the broadcom-sta driver that I compiled for my BCM4322 wireless chip (and have for the last several dozens of kernels). Jun 6 23:53:50 duff ntpd[2870]: Listen normally on 5 eth1 192.168.1.8 UDP 123 Jun 6 23:53:53 duff kernel: general protection fault: 0000 [#1] SMP Jun 6 23:53:53 duff kernel: last sysfs file: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT0/voltage_now Jun 6 23:53:53 duff kernel: CPU 0 Jun 6 23:53:53 duff kernel: Modules linked in: lib80211_crypt_tkip wl(P) cfg80211 lib80211 tun rfcomm sco bridge stp llc bnep l2cap sunrpc cpufreq_ondemand iptable_filter ip_tables ip6table_filter ip6_tables ipv6 snd_hda_codec_intelhdmi snd_hda_codec_idt btusb bluetooth snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm snd_timer snd soundcore snd_page_alloc dell_laptop sdhci_pci rfkill sdhci mmc_core microcode pcspkr i2c_i801 dcdbas ac battery joydev ext4 jbd2 crc16 firewire_ohci firewire_core crc_itu_t i915 drm_kms_helper drm i2c_algo_bit i2c_core video output [last unloaded: scsi_wait_scan] Jun 6 23:53:53 duff kernel: Jun 6 23:53:53 duff kernel: Pid: 3618, comm: gnome-session Tainted: P 2.6.35-rc2 #1 0HT027/Latitude E6400 Jun 6 23:53:53 duff kernel: RIP: 0010:[<ffffffff8136b4a5>] [<ffffffff8136b4a5>] _raw_spin_lock_irqsave+0x18/0x2f Jun 6 23:53:53 duff kernel: RSP: 0018:ffff88011f665a98 EFLAGS: 00010046 Jun 6 23:53:53 duff kernel: RAX: 0000000000000019 RBX: 0e200e200e200e20 RCX: ffff88011e1c2090 Jun 6 23:53:53 duff kernel: RDX: 0000000000000100 RSI: ffff88011e1c2060 RDI: 0e200e200e200e20 Jun 6 23:53:53 duff kernel: RBP: ffff88011f665aa8 R08: 0000000000000002 R09: dead000000100100 Jun 6 23:53:53 duff kernel: R10: 000000000000013e R11: 000000000000fa6a R12: 0000000000000246 Jun 6 23:53:53 duff kernel: R13: ffff88011f665b88 R14: ffff88011e1c2000 R15: ffff88011f665e54 Jun 6 23:53:53 duff kernel: FS: 00007fbf83c03920(0000) GS:ffff880001800000(0000) knlGS:0000000000000000 Jun 6 23:53:53 duff kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jun 6 23:53:53 duff kernel: CR2: 00007fff387d6f98 CR3: 000000011f641000 CR4: 00000000000006f0 Jun 6 23:53:53 duff kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Jun 6 23:53:53 duff kernel: DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Jun 6 23:53:53 duff kernel: Process gnome-session (pid: 3618, threadinfo ffff88011f664000, task ffff88011e55db40) Jun 6 23:53:53 duff kernel: Stack: Jun 6 23:53:53 duff kernel: 0e200e200e200e20 ffff88011e1c2060 ffff88011f665ac8 ffffffff8105405f Jun 6 23:53:53 duff kernel: <0> ffff88011a157300 0e200e200e200e20 ffff88011f665af8 ffffffff810e2619 Jun 6 23:53:53 duff kernel: <0> ffff88011d251b00 0000000001d0e5c0 ffff88011f665df8 0000000000000000 Jun 6 23:53:53 duff kernel: Call Trace: Jun 6 23:53:53 duff kernel: [<ffffffff8105405f>] add_wait_queue+0x15/0x46 Jun 6 23:53:53 duff kernel: [<ffffffff810e2619>] __pollwait+0xbe/0xc7 Jun 6 23:53:53 duff kernel: [<ffffffff81349d1b>] sock_poll_wait+0x13/0x18 Jun 6 23:53:53 duff kernel: [<ffffffff81349d39>] unix_poll+0x19/0x95 Jun 6 23:53:53 duff kernel: [<ffffffff812d53c4>] sock_poll+0x15/0x17 Jun 6 23:53:53 duff kernel: [<ffffffff810e2eb8>] do_sys_poll+0x244/0x3e5 Jun 6 23:53:53 duff kernel: [<ffffffff810e255b>] ? __pollwait+0x0/0xc7 Jun 6 23:53:53 duff kernel: [<ffffffff810e2622>] ? pollwake+0x0/0x4f Jun 6 23:53:53 duff kernel: [<ffffffff810e2622>] ? pollwake+0x0/0x4f Jun 6 23:53:53 duff kernel: [<ffffffff810e2622>] ? pollwake+0x0/0x4f Jun 6 23:53:53 duff kernel: [<ffffffff810e2622>] ? pollwake+0x0/0x4f Jun 6 23:53:53 duff kernel: [<ffffffff810e2622>] ? pollwake+0x0/0x4f Jun 6 23:53:53 duff kernel: [<ffffffff810e2622>] ? pollwake+0x0/0x4f Jun 6 23:53:53 duff kernel: [<ffffffff810e2622>] ? pollwake+0x0/0x4f Jun 6 23:53:53 duff kernel: [<ffffffff810e2622>] ? pollwake+0x0/0x4f Jun 6 23:53:53 duff kernel: [<ffffffff810e2622>] ? pollwake+0x0/0x4f Jun 6 23:53:53 duff kernel: [<ffffffff8115d380>] ? selinux_file_permission+0xa2/0xad Jun 6 23:53:53 duff kernel: [<ffffffff8105aa48>] ? ktime_get_ts+0xad/0xba Jun 6 23:53:53 duff kernel: [<ffffffff810e1f26>] ? poll_select_set_timeout+0x61/0x7c Jun 6 23:53:53 duff kernel: [<ffffffff810e31ed>] sys_poll+0x50/0xba Jun 6 23:53:53 duff kernel: [<ffffffff810029eb>] system_call_fastpath+0x16/0x1b Jun 6 23:53:53 duff kernel: Code: f0 66 0f c1 03 38 e0 74 06 f3 90 8a 03 eb f6 58 5b c9 c3 55 48 89 e5 41 54 53 48 89 fb 9c 41 5c fa e8 cb 90 d2 ff ba 00 01 00 00 <f0> 66 0f c1 13 38 f2 74 06 f3 90 8a 13 eb f6 4c 89 e0 5b 41 5c Jun 6 23:53:53 duff kernel: RIP [<ffffffff8136b4a5>] _raw_spin_lock_irqsave+0x18/0x2f Jun 6 23:53:53 duff kernel: RSP <ffff88011f665a98> Jun 6 23:53:53 duff kernel: ---[ end trace be9e13ece4e5abe7 ]--- --alessandro "There's always a siren singing you to shipwreck" (Radiohead, "There There") -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Dave Airlie on 6 Jun 2010 22:40
On Mon, Jun 7, 2010 at 2:25 AM, Torsten Kaiser <just.for.lkml(a)googlemail.com> wrote: > On Sun, Jun 6, 2010 at 5:52 PM, Tejun Heo <htejun(a)gmail.com> wrote: >> On 06/06/2010 05:48 PM, Tejun Heo wrote: >>> Can you please try w/o KMS just in case? > > 2 out of 2 attempts without KMS worked without any OOPS. > Sorry to have bother you with this, it now really looks KMS related. > >> Also, does it always crash the same way? Just an initial guess does the vt.c patch in thread "Re: BUG kmalloc-4096: Poison overwritten (2.6.35-rc2)" help any? I can't think off hand of any KMS patch that could have caused it (though there were quite a few). Dave. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |