From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sedat Dilek Subject: Re: linux-next: Tree for Apr 9 [cpufreq: NULL pointer deref] Date: Wed, 10 Apr 2013 08:14:06 +0200 Message-ID: References: <31778276.CDMUtaAAnc@vostro.rjw.lan> Reply-To: sedat.dilek@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: Sender: cpufreq-owner@vger.kernel.org To: Viresh Kumar Cc: "Rafael J. Wysocki" , Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, cpufreq@vger.kernel.org, Linux PM list List-Id: linux-next.vger.kernel.org On Wed, Apr 10, 2013 at 7:53 AM, Sedat Dilek wrote: > On Wed, Apr 10, 2013 at 7:41 AM, Sedat Dilek wrote: >> On Tue, Apr 9, 2013 at 6:51 PM, Viresh Kumar wrote: >>> On 9 April 2013 21:38, Sedat Dilek wrote: >>>> With x=3 the system gets in an unuseable state. >>>> >>>> root# echo 0 > /sys/devices/system/cpu/cpu3/online >>>> >>>> I could not write my reply and had to do a hard/cold reboot. >>>> The dmesg log I saw looked similiar to my digicam-shot. >>> >>> Few things i need from you. First is output of cpufreq-info. Then >>> all the steps you did to reproduce above? Removed any other cpus? >>> >> >> Here is the output of cpufreq-info of the stable distro-kernel I am using. >> If you need the one from the "BROKEN" kernel, please let me know. >> >> - Sedat - > > Hmm, I see that the kernel-sources itself ships a... > > ./tools/power/cpupower/utils/cpufreq-info.c > > IIRC current 'make deb-pkg' does not build the tools, but I have seen > a patch on linux-kbuild ML. I found this "[RFC PATCH] kbuild: Build linux-tools package with 'make deb-pkg'" from February 2012. Can't say what happened to it... - Sedat - [1] http://lists.debian.org/debian-kernel/2012/02/msg01009.html > Can I build cpufreq-info.c afterwards? Do I need a already-compiled build-dir? > > Thanks in advance for answering my questions. > > BTW, I have found a nice article on LWN "cpupowerutils - cpufrequtils > extended with quite some features" (see [1]). > > - Sedat - > > [1] http://lwn.net/Articles/433002/