copy_from_user problem

Clemens Koller clemens.koller at
Thu Aug 11 21:02:32 EST 2005

Hi, Murahari!

> I am working on a character driver for reading and writing the registers to FPGA 
> in our system.

You didn't tell much about your system.
But checkout the examples in the book "Linux Device Drivers, 3rd Edition".
which is worth buying, too!

You might be missing some simple __user casts for your data
structures you want to copy...
And you might need to ioremap the memory area of your fpga or whatever
you need to access.

> epc  : 8011f774    Tainted: GF
And you might end up with less support here if you use a tainted Kernel.


Clemens Koller
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Str. 45/1
81379 Muenchen
Phone: +49-89-741518-50
Fax: +49-89-741518-19

More information about the Linuxppc-dev mailing list