All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benedict Bridgwater <bennyb@ntplx.net>
To: Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: Re: 2.4.4-ac5 aic7xxx causes hang on my machine
Date: Wed, 09 May 2001 08:59:23 -0400	[thread overview]
Message-ID: <3AF93F2B.8EC5F912@ntplx.net> (raw)

Justin Gibbs wrote:

> >I have a dual ppro 200MHZ W6LI motherboard.  I put 2.4.4-ac5 on last
> >night, and the machine hung at Freeing unused Kernel memory.  I
> >selectively backed off what I thought were relevant patches.  I got to
> >aic7xxx, and ac5 without it worked. I attached /proc/scsi/aic7xxx/0.
>
> This problem was fixed in rev. 6.1.13 of the aic7xxx driver.

Is this the same bug that would have caused SCSI timeouts/retries on an
Adaptec 2940 UW with a stock 2.4.3 kernel (Mandrake 8.0/Redhat 7.1)?
I've been trying to install Mandrake 8.0 from a  CD to a HD both
attached to a 2940 UW (Intel 440 FX motherboard), and the install took
hours of mostly zero CD/HD activity time, although it eventually
completed (the install fails to boot, though).

This has been reported to both Mandrake and Redhat:

http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=29555

I've been trying to find out if there's a fix (if it's aic7xxx 6.1.13
that's great!), but Redhat seem to believe it's a 2.4 kernel PCI bug:

Doug Ledford, from bugzilla:

> For clarification sake, it's not that the BIOS is mapping IRQ's wrong, and it's
> not that we have lost any functionality since the 2.2 kernel PCI code.  Quite
> the opposite, it's that PCI functionality has been added since the 2.2 kernel. 
> Specifically, the 2.4 kernel supports the notion of hot-plug PCI devices.  That
> requires that the kernel PCI layer know about/assign all the address space and
> IRQ resources to the various slots so that if sometime after booting up someone
> adds a new PCI card that has a PCI bridge chip, then the PCI layer has to be
> able to assign I/O and IRQ resources to the bridge chip itself, and those I/O
> and IRQ resources have to come from the pool of resources already allocated to
> the bus that the card was plugged into.  So, in order to insure that we will
> always be able to accept a hot plug card, the PCI layer in the 2.4 kernel now
> re-organizes those PCI resources at boot time to make sure that it is possible
> to plug a card with a PCI bridge chip into every PCI slot if the user so
> wishes.  In this process, the PCI code in the 2.4 kernel is evidently messing up
> the IRQ assignment on the Adaptec chipset.  This *only* happens on the L440GX
> motherboard from Intel as far as we can tell, and the root cause of the mistake
> hasn't been isolated any further than what I've told you here.  The reason that
> enabling SMP or UP-IOAPIC support solves the problem is that when IOAPIC support
> is enabled (which happens automatically with SMP support, or explicitly with UP
> kernels if you turn on UP-IOAPIC support), it runs *after* the PCI resource
> allocation code, and it re-routes the interrupts according the the computers MP
> table.  By doing that, it undoes whatever mistake the PCI code is making, and
> things work.  *THIS IS NOT A FIX*  The fact that it undoes the mistake the PCI
> code makes does not make the PCI code any better!  The PCI code still needs
> fixed.

Ben

Please CC any reply to bennyb@ntplx.net (I'm not a member of the list)

             reply	other threads:[~2001-05-09 13:04 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-09 12:59 Benedict Bridgwater [this message]
2001-05-09 14:06 ` 2.4.4-ac5 aic7xxx causes hang on my machine Alan Cox
2001-05-09 15:25   ` Doug Ledford
2001-05-09 15:49     ` Alan Cox
2001-05-09 15:52       ` Doug Ledford
2001-05-09 16:10         ` Alan Cox
2001-05-09 16:21           ` Doug Ledford
2001-05-09 16:59             ` Alan Cox
2001-05-09 17:08               ` Doug Ledford
2001-05-09 17:16                 ` Alan Cox
     [not found]     ` <3AF96271.81C27F57@mandrakesoft.com>
     [not found]       ` <3AF9661B.1707F5E3@redhat.com>
     [not found]         ` <3AF96811.3C6C196D@mandrakesoft.com>
     [not found]           ` <3AF96B39.7C7888F4@redhat.com>
     [not found]             ` <3AF96D99.AB18CB4F@mandrakesoft.com>
     [not found]               ` <3AF97DE0.3C6455A6@ntplx.net>
2001-05-10 14:39                 ` Ben Bridgwater
2001-05-09 16:21   ` Andy Carlson
  -- strict thread matches above, loose matches on Subject: below --
2001-05-07 12:43 [Patch] Do not account shmem pages to the page cache Christoph Rohland
2001-05-07 13:04 ` 2.4.4-ac5 aic7xxx causes hang on my machine Andy Carlson
2001-05-07 13:58   ` Oyvind Jagtnes
2001-05-07 14:14   ` Justin T. Gibbs

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=3AF93F2B.8EC5F912@ntplx.net \
    --to=bennyb@ntplx.net \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.