From: Helge Deller <deller@gmx.de>
To: Matthew Wilcox <matthew@wil.cx>
Cc: James.Bottomley@hansenpartnership.com,
parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] NCR_700 problems on 715/64 with 2.6.11-rc4-pa1
Date: Sun, 20 Feb 2005 13:32:07 +0100 [thread overview]
Message-ID: <200502201332.07872.deller@gmx.de> (raw)
In-Reply-To: <20050219165314.GD455@parcelfarce.linux.theplanet.co.uk>
Hi Willi,
Thanks!
This patch worked. I'll commit it now...
Helge
On Saturday 19 February 2005 17:53, Matthew Wilcox wrote:
> On Sat, Feb 19, 2005 at 04:40:07PM +0000, Matthew Wilcox wrote:
> > On Sat, Feb 19, 2005 at 12:34:30PM +0100, Helge Deller wrote:
> > > I get random messages from the 53c700 scsi driver (see below).
> > > Any ideas ?
> > > _raw_foo() called with bad address 0xf0106121
> > > Backtrace:
> > > [<10104ce4>] __raw_bad_addr+0x64/0x70
> > > [<1028edd8>] NCR_700_start_command+0x3e8/0x78c
> >
> > Yup. This is a missing ioremap() in the 53c700 driver. I'll have a
> > quick look, see if it's easily fixable (should be). If the dmesg noise
> > annoys you, you can just turn off CONFIG_DEBUG_IOREMAP, but thanks for
> > reporting it -- it's an important step towards turning on HPPA_IOREMAP ...
>
> Here's the patch I'm compiling now ...
>
> --- drivers/scsi/lasi700.c 10 Dec 2004 20:46:33 -0000 1.10
> +++ drivers/scsi/lasi700.c 19 Feb 2005 16:47:11 -0000
> @@ -112,7 +112,7 @@ lasi700_probe(struct parisc_device *dev)
>
> hostdata->dev = &dev->dev;
> dma_set_mask(&dev->dev, 0xffffffffUL);
> - hostdata->base = base;
> + hostdata->base = ioremap(base, 0x100);
> hostdata->differential = 0;
>
> if (dev->id.sversion == LASI_700_SVERSION) {
> @@ -138,6 +138,7 @@ lasi700_probe(struct parisc_device *dev)
> return 0;
>
> out_kfree:
> + iounmap(hostdata->base);
> kfree(hostdata);
> return -ENODEV;
> }
> @@ -152,6 +153,7 @@ lasi700_driver_remove(struct parisc_devi
> scsi_remove_host(host);
> NCR_700_release(host);
> free_irq(host->irq, host);
> + iounmap(hostdata->base);
> kfree(hostdata);
>
> return 0;
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
prev parent reply other threads:[~2005-02-20 12:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-19 11:34 [parisc-linux] NCR_700 problems on 715/64 with 2.6.11-rc4-pa1 Helge Deller
2005-02-19 14:00 ` Michael S. Zick
2005-02-19 14:59 ` Helge Deller
2005-02-19 15:20 ` Michael S. Zick
2005-02-19 16:40 ` Matthew Wilcox
2005-02-19 16:53 ` Matthew Wilcox
2005-02-19 22:12 ` Joel Soete
2005-02-20 12:32 ` Helge Deller [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=200502201332.07872.deller@gmx.de \
--to=deller@gmx.de \
--cc=James.Bottomley@hansenpartnership.com \
--cc=matthew@wil.cx \
--cc=parisc-linux@lists.parisc-linux.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