public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [Bugme-new] [Bug 1118] New: atp870u driver pegs the cpu 100% and never loads
       [not found] <200308170450.h7H4otH8028674@fire-1.osdl.org>
@ 2003-08-17 22:04 ` Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2003-08-17 22:04 UTC (permalink / raw)
  To: zleite; +Cc: andmike, linux-scsi

bugme-daemon@osdl.org wrote:
>
> http://bugme.osdl.org/show_bug.cgi?id=1118
> 
>            Summary: atp870u driver pegs the cpu 100% and never loads
>     Kernel Version: 2.6.0-test3
>             Status: NEW
>           Severity: blocking
>              Owner: andmike@us.ibm.com
>          Submitter: zleite@mminternet.com
> 
> 
> Distribution: RH9.0
> Hardware Environment:pentium4 1.8 ghz uniprocessor
> Software Environment: stardard RH
> Problem Description:can load driver for ACARD SCSI cards
> 
> Steps to reproduce:
> modprobe atp870u
> result: CPU use goes to 100% and module never loads.
> 
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.

This fixes the lockup.  If you have the hardware, please retest
and send a report, thanks.  (I assume you don't, because having
the hardware prevents the lockup.  Oh well).



 drivers/scsi/atp870u.c |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)

diff -puN drivers/scsi/atp870u.c~atp870u_detect-lockup-fix drivers/scsi/atp870u.c
--- 25/drivers/scsi/atp870u.c~atp870u_detect-lockup-fix	2003-08-17 14:59:07.000000000 -0700
+++ 25-akpm/drivers/scsi/atp870u.c	2003-08-17 14:59:46.000000000 -0700
@@ -2304,9 +2304,7 @@ static int atp870u_detect(Scsi_Host_Temp
 	printk(KERN_INFO "aec671x_detect: \n");
 	tpnt->proc_name = "atp870u";
 
-	h = 0;
-	while (devid[h] != 0)
-	{
+	for (h = 0; devid[h]; h++) {
 		struct pci_dev *dev = NULL;
 		
 		while((dev = pci_find_device(0x1191, devid[h], dev))!=NULL)

_


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-17 22:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200308170450.h7H4otH8028674@fire-1.osdl.org>
2003-08-17 22:04 ` [Bugme-new] [Bug 1118] New: atp870u driver pegs the cpu 100% and never loads Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox