mysterious problem with IO memory
From: Christoph Baumann (cb_at_sorcus.com)
Date: 09/25/03
- Next message: Stefan Schlott: "Re: Linux Kernel Network Programming"
- Previous message: William Fargo: "Linux Kernel Network Programming"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 25 Sep 2003 12:07:54 +0200
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 message: Stefan Schlott: "Re: Linux Kernel Network Programming"
- Previous message: William Fargo: "Linux Kernel Network Programming"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|