From: Jens Axboe <axboe@suse.de>
To: Andries Brouwer <aebr@win.tue.nl>
Cc: Andries.Brouwer@cwi.nl, linux-kernel@vger.kernel.org
Subject: Re: 2.5.37 oopses at boot in ide_toggle_bounce
Date: Mon, 23 Sep 2002 12:04:24 +0200 [thread overview]
Message-ID: <20020923100424.GH25682@suse.de> (raw)
In-Reply-To: <20020923100219.GG25682@suse.de>
On Mon, Sep 23 2002, Jens Axboe wrote:
> On Mon, Sep 23 2002, Andries Brouwer wrote:
> > On Mon, Sep 23, 2002 at 09:41:42AM +0200, Jens Axboe wrote:
> >
> > > Patch is fine, thanks Andries.
> >
> > Yes, that patch allows the kernel to boot.
> > The booted system has two main problems that 2.5.33 does not have:
> > (i) It no longer sees my disks on an HPT366,
> > (ii) pgrp handling changed, so that some programs hang.
>
> I'm assuming we are talking about 2.5.38? Can you send me the kernel
> boot log, thanks.
Ah hang on, please boot with this patch from Ivan. That should make it
work again.
--- linux/drivers/ide/setup-pci.c.bk Sat Sep 21 12:58:45 2002
+++ linux/drivers/ide/setup-pci.c Sat Sep 21 12:59:59 2002
@@ -421,20 +421,17 @@ static ide_hwif_t *ide_hwif_configure(st
{
unsigned long ctl = 0, base = 0;
ide_hwif_t *hwif;
-
- if ((dev->class >> 8) != PCI_CLASS_STORAGE_IDE)
- {
- /* Possibly we should fail if these checks report true */
- ide_pci_check_iomem(dev, d, 2*port);
- ide_pci_check_iomem(dev, d, 2*port+1);
-
- ctl = pci_resource_start(dev, 2*port+1);
- base = pci_resource_start(dev, 2*port);
- if ((ctl && !base) || (base && !ctl)) {
- printk(KERN_ERR "%s: inconsistent baseregs (BIOS) "
- "for port %d, skipping\n", d->name, port);
- return NULL;
- }
+
+ /* Possibly we should fail if these checks report true */
+ ide_pci_check_iomem(dev, d, 2*port);
+ ide_pci_check_iomem(dev, d, 2*port+1);
+
+ ctl = pci_resource_start(dev, 2*port+1);
+ base = pci_resource_start(dev, 2*port);
+ if ((ctl && !base) || (base && !ctl)) {
+ printk(KERN_ERR "%s: inconsistent baseregs (BIOS) "
+ "for port %d, skipping\n", d->name, port);
+ return NULL;
}
if (!ctl)
{
--
Jens Axboe
next prev parent reply other threads:[~2002-09-23 9:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-21 12:11 2.5.37 oopses at boot in ide_toggle_bounce Andries.Brouwer
2002-09-22 19:54 ` Thunder from the hill
2002-09-23 7:41 ` Jens Axboe
2002-09-23 10:01 ` Andries Brouwer
2002-09-23 10:02 ` Jens Axboe
2002-09-23 10:04 ` Jens Axboe [this message]
2002-09-30 1:59 ` Andries Brouwer
2002-09-30 13:51 ` Jens Axboe
-- strict thread matches above, loose matches on Subject: below --
2002-09-30 18:30 Andries.Brouwer
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=20020923100424.GH25682@suse.de \
--to=axboe@suse.de \
--cc=Andries.Brouwer@cwi.nl \
--cc=aebr@win.tue.nl \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox