From: "Christoph Baumann" <cb@sorcus.com>
To: <linux-kernel@vger.kernel.org>
Subject: mysterious prblem with IO memory
Date: Wed, 24 Sep 2003 15:18:13 +0200 [thread overview]
Message-ID: <004b01c3829e$4fe29980$2265a8c0@dirtyentw> (raw)
Hi,
developing a driver (currently with a vanilla 2.4.20 kernel) for a PCI
card i encountered a mysterious behaviour. I get the IO addresses from
the card configuration space and use ioremap_nocache to get virtual
addresses for usage with write[bwl]. This works to some extend (the card
behaves as expected). But then at some random moment i get error
messages about dereferencing a NULL pointer and severe crashes
afterwards. When i put a printk("%p\n",address) before each write[bwl]
everything is fine (appart from lots of log entries). I also tried wmb()
after the write commands which didn't help. Any idea?
Mit freundlichen Gruessen / Best regards
Dipl.-Phys. Christoph Baumann
---
SORCUS Computer GmbH
Im Breitspiel 11 c
D-69126 Heidelberg
Tel.: +49(0)6221/3206-0
Fax: +49(0)6221/3206-66
next reply other threads:[~2003-09-24 13:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-24 13:18 Christoph Baumann [this message]
2003-09-25 8:22 ` mysterious problem " Christoph Baumann
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='004b01c3829e$4fe29980$2265a8c0@dirtyentw' \
--to=cb@sorcus.com \
--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
all inboxes | Powered by JetHome®