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]
Message-ID: <20070604174616.GF11115@waste.org>
Date:	Mon, 4 Jun 2007 12:46:16 -0500
From:	Matt Mackall <mpm@...enic.com>
To:	Andrew Morton <akpm@...ux-foundation.org>
Cc:	Rusty Russell <rusty@...tcorp.com.au>,
	linux-kernel@...r.kernel.org, Andi Kleen <ak@...e.de>
Subject: Re: lguest rebroken in 2.6.22-rc3-mm1

On Mon, Jun 04, 2007 at 10:28:20AM -0700, Andrew Morton wrote:
> On Mon, 4 Jun 2007 12:19:33 -0500 Matt Mackall <mpm@...enic.com> wrote:
> 
> > On Wed, May 23, 2007 at 09:27:40AM +1000, Rusty Russell wrote:
> > > On Tue, 2007-05-22 at 17:38 -0500, Matt Mackall wrote:
> > > > [    0.120007] EIP is at resync_sc_freq+0x4b/0x56
> > > 
> > > Hi Matt,
> > > 
> > > 	Thanks for the report!  Andrew should have these two patches queued,
> > > but here they are again:
> > > 
> > > If you set tsc_disable (eg "notsc" on cmdline), sched-clock.c gives a
> > > divide by zero on boot.
> > > 
> > > Signed-off-by: Rusty Russell <rusty@...tcorp.com.au>
> > > 
> > > ---
> > >  arch/i386/kernel/sched-clock.c |    2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > > 
> > > ===================================================================
> > > --- a/arch/i386/kernel/sched-clock.c
> > > +++ b/arch/i386/kernel/sched-clock.c
> > > @@ -103,7 +103,7 @@ static void resync_sc_freq(struct sc_dat
> > >  static void resync_sc_freq(struct sc_data *sc, unsigned int newfreq)
> > >  {
> > >  	sc->sync_base = jiffies;
> > > -	if (!cpu_has_tsc) {
> > > +	if (!cpu_has_tsc || tsc_disable) {
> > >  		sc->unstable = 1;
> > >  		return;
> > >  	}
> > 
> > Looks like this one got lost in rc3-mm1.
> > 
> 
> Andi said that he fixed the zero-divide by other means?

Got this, patch fixed it:

[    0.392024] divide error: 0000 [#1]
[    0.392024] PREEMPT 
[    0.392024] Modules linked in:
[    0.392024] CPU:    0
[    0.392024] EIP:    0061:[<c010995a>]    Not tainted VLI
[    0.392024] EFLAGS: 00010246   (2.6.22-rc3-mm1 #145)
[    0.392024] EIP is at resync_freq+0x7a/0x85
[    0.392024] eax: 3d090000   ebx: c1c04f70   ecx: 00000e70   edx: 00000000
[    0.392024] esi: 00000000   edi: c1c04f80   ebp: c1c04f68   esp: c1c04f64
[    0.392024] ds: 007b   es: 007b   fs: 0000  gs: 0000  ss: 0069
[    0.392024] Process swapper (pid: 1, ti=c1c04000 task=c1c20ae0 task.ti=c1c04000)
[    0.392024] Stack: 00000000 c1c04f84 c058eb2d 00000000 00000000 00000000 00000000 00000000 
[    0.392024]        c1c04fe0 c058c6c4 c1c04fac c0119c22 00000000 00000002 c054c320 c1c20ae0 
[    0.392024]        00000000 c05b2dc0 c1c20ae0 00000000 00000001 c058c608 00000000 00000000 
[    0.392024] Call Trace:
[    0.392024]  [<c058eb2d>] init_sched_clock+0x5c/0x90
[    0.392024]  [<c058c6c4>] kernel_init+0xbc/0x23e
[    0.392024]  [<c0104a6b>] kernel_thread_helper+0x7/0x10
[    0.392024]  =======================
[    0.392024] INFO: lockdep is turned off.
[    0.392024] Code: 30 0c 55 c0 89 15 34 0c 55 c0 e8 75 a6 00 00 90 31 c9 89 d1 a3 28 0c 55 c0 ba 00 00 00 00 b8 00 00 09 3d 89 0d 2c 0c 55 c0 31 d2 <f7> 73 08 a3 20 0c 55 c0 5b 5d c3 55 b8 01 00 00 00 89 e5 57 56 
[    0.392024] EIP: [<c010995a>] resync_freq+0x7a/0x85 SS:ESP 0069:c1c04f64
[    0.392024] Kernel panic - not syncing: Attempted to kill init!


-- 
Mathematics is the supreme nostalgia of our time.
-
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