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: <20071129230204.8698f47e.akpm@linux-foundation.org>
Date:	Thu, 29 Nov 2007 23:02:04 -0800
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Kyle McMartin <kyle@...artin.ca>,
	Kamalesh Babulal <kamalesh@...ux.vnet.ibm.com>,
	LKML <linux-kernel@...r.kernel.org>, linuxppc-dev@...abs.org,
	Andy Whitcroft <apw@...dowen.org>,
	Balbir Singh <balbir@...ux.vnet.ibm.com>,
	linux-scsi@...r.kernel.org, "Rafael J. Wysocki" <rjw@...k.pl>,
	Matthew Wilcox <willy@...ian.org>
Subject: Re: [BUG] 2.6.24-rc3-git2 softlockup detected

On Thu, 29 Nov 2007 23:00:47 -0800 Andrew Morton <akpm@...ux-foundation.org> wrote:

> On Fri, 30 Nov 2007 01:39:29 -0500 Kyle McMartin <kyle@...artin.ca> wrote:
> 
> > On Thu, Nov 29, 2007 at 12:35:33AM -0800, Andrew Morton wrote:
> > > ten million is close enough to infinity for me to assume that we broke the
> > > driver and that's never going to terminate.
> > > 
> > 
> > how about this? doesn't break things on my pa8800:
> > 
> > diff --git a/drivers/scsi/sym53c8xx_2/sym_hipd.c b/drivers/scsi/sym53c8xx_2/sym_hipd.c
> > index 463f119..ef01cb1 100644
> > --- a/drivers/scsi/sym53c8xx_2/sym_hipd.c
> > +++ b/drivers/scsi/sym53c8xx_2/sym_hipd.c
> > @@ -1037,10 +1037,13 @@ restart_test:
> >  	/*
> >  	 *  Wait 'til done (with timeout)
> >  	 */
> > -	for (i=0; i<SYM_SNOOP_TIMEOUT; i++)
> > +	do {	
> >  		if (INB(np, nc_istat) & (INTF|SIP|DIP))
> >  			break;
> > -	if (i>=SYM_SNOOP_TIMEOUT) {
> > +		msleep(10);
> > +	} while (i++ < SYM_SNOOP_TIMEOUT);
> > +
> > +	if (i >= SYM_SNOOP_TIMEOUT) {
> >  		printf ("CACHE TEST FAILED: timeout.\n");
> >  		return (0x20);
> >  	}
> > diff --git a/drivers/scsi/sym53c8xx_2/sym_hipd.h b/drivers/scsi/sym53c8xx_2/sym_hipd.h
> > index ad07880..85c483b 100644
> > --- a/drivers/scsi/sym53c8xx_2/sym_hipd.h
> > +++ b/drivers/scsi/sym53c8xx_2/sym_hipd.h
> > @@ -339,7 +339,7 @@
> >  /*
> >   *  Misc.
> >   */
> > -#define SYM_SNOOP_TIMEOUT (10000000)
> > +#define SYM_SNOOP_TIMEOUT (1000)
> >  #define BUS_8_BIT	0
> >  #define BUS_16_BIT	1
> >  
> 
> That might be the fix, but do we know what we're actually fixing?  afaik
> 2.6.24-rc3 doesn't get this timeout, 2.6.24-rc3-mm2 does get it and we
> don't know why?
> 

<looks at Subject:>

<Checks that Rafael was cc'ed>

So 2.6.24-rc3 was OK and 2.6.24-rc3-git2 is not?
-
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