lkml.org 
[lkml]   [2003]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectmysterious prblem with IO memory
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.024 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site