public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: zleite@mminternet.com
Cc: andmike@us.ibm.com, linux-scsi@vger.kernel.org
Subject: Re: [Bugme-new] [Bug 1118] New: atp870u driver pegs the cpu 100% and never loads
Date: Sun, 17 Aug 2003 15:04:48 -0700	[thread overview]
Message-ID: <20030817150448.76057df9.akpm@osdl.org> (raw)
In-Reply-To: <200308170450.h7H4otH8028674@fire-1.osdl.org>

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)

_


           reply	other threads:[~2003-08-17 22:03 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <200308170450.h7H4otH8028674@fire-1.osdl.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030817150448.76057df9.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=andmike@us.ibm.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=zleite@mminternet.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox