From mboxrd@z Thu Jan 1 00:00:00 1970 From: vchitlur@cisco.com (Venkatesh Babu Chitlur Srinivasa (vchitlur)) Date: Thu, 23 Sep 2010 19:44:54 -0700 Subject: [ltt-dev] lttng enabled SMP kernel soft locks up References: <20100923152932.GA10476@Krystal> Message-ID: Message-ID: <20100924024454.DulSSH3Xj-K3dcNBS4sRPJZtV6kQiHqFfTfBQPivuqI@z> -----Original Message----- From: Mathieu Desnoyers [mailto:compudj@krystal.dyndns.org] > Can you provide your .config for both the kernel that works and the > kernel that doesn't ? Please see the attached config files. > Maybe some other kernel option got selected. Also, > please try to disable the added LTTng options (diffing between the two > config files will help you there) to see if it helps. The difference between the working config (.config.2.6.35.4) and non-working config (.config.2.6.35.4.lttng) is shown below: [root at arch-lab4 linux-2.6.35]# diff .config.2.6.35.4.lttng .config.2.6.35.4 4c4 < # Thu Sep 23 09:55:03 2010 --- > # Thu Sep 23 08:35:21 2010 129,133d128 < CONFIG_HAVE_GET_CYCLES=y < CONFIG_HAVE_TRACE_CLOCK=y < # CONFIG_HAVE_TRACE_CLOCK_GENERIC is not set < # CONFIG_HAVE_TRACE_CLOCK_32_TO_64 is not set < CONFIG_HAVE_UNSYNCHRONIZED_TSC=y 188d182 < CONFIG_MARKERS=y 215,217d208 < CONFIG_HAVE_IMMEDIATE=y < CONFIG_IMMEDIATE=y < CONFIG_HAVE_LTT_DUMP_TABLES=y So I disabled all LTTNG config variables as follows and rebuilt the kernel. But even this one is having the same soft lockup problem. [root at arch-lab4 linux-2.6.35]# diff .config .config.2.6.35.4 4c4 < # Thu Sep 23 09:55:03 2010 --- > # Thu Sep 23 08:35:21 2010 129,133d128 < # CONFIG_HAVE_GET_CYCLES is not set < # CONFIG_HAVE_TRACE_CLOCK is not set < # CONFIG_HAVE_TRACE_CLOCK_GENERIC is not set < # CONFIG_HAVE_TRACE_CLOCK_32_TO_64 is not set < # CONFIG_HAVE_UNSYNCHRONIZED_TSC is not set 188d182 < # CONFIG_MARKERS is not set 215,217d208 < # CONFIG_HAVE_IMMEDIATE is not set < # CONFIG_IMMEDIATE is not set < # CONFIG_HAVE_LTT_DUMP_TABLES is not set > Another point is to make sure you reinstall your modules too (make > modules_install) when you deploy the lttng-patched kernel, and make sure > you re-create your initrd if you have one. I did reinstall the modules and also re-created the initrd. Still the same problem. The only way I was able to get LTTng patched kernel booted up without soft lockup is with UP kernel (I disabled the SMP in config menu). Regards, VBabu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: .config.2.6.35.4 Type: application/octet-stream Size: 110151 bytes Desc: .config.2.6.35.4 URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: .config.2.6.35.4.lttng Type: application/octet-stream Size: 110416 bytes Desc: .config.2.6.35.4.lttng URL: