From: Jens Axboe <axboe@suse.de>
To: Witek Krecicki <adasi@kernel.pl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.5.38] IDE oopses on vmware
Date: Mon, 23 Sep 2002 11:40:20 +0200 [thread overview]
Message-ID: <20020923094020.GD15479@suse.de> (raw)
In-Reply-To: <000a01c26223$90b2ce90$0201a8c0@witek>
On Sun, Sep 22 2002, Witek Krecicki wrote:
> ----- Original Message -----
> From: "Witek Krecicki" <adasi@kernel.pl>
> > Oops happens after:
> > Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> > ide: Assuming 33MHz system bus speed for PIO modes; override with
> idebus=xx
> > hda: VMware Virtual IDE Hard Drive, ATA DISK drive
> > hdc: VMware Virtual IDE CDROM Drive, ATAPI CD/DVD-ROM drive
> > ide2: ports already in use, skipping probe
> {cut}
> Just checked: the same oops happens on 'physical' Asus A7M266
The patch from Andries should fix this, did you check? It's in current
BK, I've attached it for you as well. Note that it has white space
damage, so needs to be applied manually.
--- linux-2.5.37/linux/drivers/ide/ide-lib.c Sat Sep 21 11:39:48 2002
+++ linux-2.5.37a/linux/drivers/ide/ide-lib.c Sat Sep 21 14:06:45 2002
@@ -394,7 +394,7 @@
if (on && drive->media == ide_disk) {
if (!PCI_DMA_BUS_IS_PHYS)
addr = BLK_BOUNCE_ANY;
- else
+ else if (HWIF(drive)->pci_dev)
addr = HWIF(drive)->pci_dev->dma_mask;
}
--
Jens Axboe
prev parent reply other threads:[~2002-09-23 9:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-22 10:28 [2.5.38] IDE oopses on vmware Witek Krecicki
2002-09-22 10:33 ` Witek Krecicki
2002-09-23 9:40 ` Jens Axboe [this message]
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=20020923094020.GD15479@suse.de \
--to=axboe@suse.de \
--cc=adasi@kernel.pl \
--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