lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 22 Mar 2011 11:39:27 -0400
From:	Vivek Goyal <vgoyal@...hat.com>
To:	Lina Lu <lulina_nuaa@...mail.com>
Cc:	linux kernel mailing list <linux-kernel@...r.kernel.org>
Subject: Re: Re: cfq-iosched.c: panic in cfq_dispatch_requests

On Tue, Mar 22, 2011 at 11:32:47PM +0800, Lina Lu wrote:
> On 2011-03-21 22:08:19, Vivek Goyal wrote:
> >On Sun, Mar 20, 2011 at 03:23:23PM +0800, Lina Lu wrote:
> >> Hi Vivek,
> >> 
> >> I did some test with blkio weight policy these days. The kernel panic 
> >> once in a while. 
> >> 	
> >> From the calltrace, It 's in func cfq_dispatch_requests(+0x058D).
> >> And I caught a divide by zero error with system monitor tools.
> >
> >Hi Lina,
> >
> >Can you please paste the full backtrace here.
> >
> >> 	
> >> The panic happens when I first set 100 weight to two IO pids, then 
> >> change the weight to 200, and begin to perform IO. The kernel panic
> >> accurately when the IO begin.
> >
> >So you notice this only if weights are changed otherwise not?
> 
> Hi Vivek
> 
> Thanks for this patch! I did objdump and find place that divide by zero.
> It's in cfq_group_slice function, the st->total_weight is zero in my issue.
> As described in the patch, this is because I change the weight when the
> group on service tree. 

Ok, so this patch did solve the issue you are facing? 

Thanks
Vivek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ