Messages in this thread | | | Date | Wed, 24 Sep 2003 15:18:13 +0200 | From | "Christoph Baumann" <> | Subject | mysterious 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/
| |