The HyperNews Linux KHG Discussion Pages
Next-in-Thread Next Message Previous Message Next Thread

Question: memcpy error?

Forum: Device Drivers
Keywords: memcpy verify_area
Date: Wed, 21 May 1997 14:33:34 GMT
From: Edgar Vonk <edgar@it.et.tudelft.nl>

I am using memcpy in a device driver to copy data between to buffers in kernel space (one is a DMA buffer) and I keep getting segmentation faults I can't explain.

I changed the driver since and now it copies the DMA buffer directly into user space with memcpy_tofs (and verify_area) and this seems to work just fine.

Anyone know why? Does this have to do with the memcpy faults under heavy system load? I saw a discussion and a kernel patch about this somewhere.

thanks,

(running i586-linux-2.0.30-RedHat4.1)

Next-in-Thread Next Message Previous Message Next Thread

to: "memcpy error?"

Subscribe Membership Move/Remove Admin Mode Show Frames Help for HyperNews 1.9.4