The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* A copy_from_user problem in 2.5(.31)
@ 2002-08-22 21:23 Rasmus Andersen
  0 siblings, 0 replies; only message in thread
From: Rasmus Andersen @ 2002-08-22 21:23 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 638 bytes --]

Hi,

I am looking at getting the SX serial driver to work under 2.5,
specifically 2.5.31 (no others have been tried). The SX board
needs to have its firmware downloaded (uploaded?) before it works,
by some ioctl magic on a misc device. The ioctl does copy_from_user
to get the firmware. This copy_from_user fails under 2.5.31 but
works on 2.4.19.

The firmware in userspace is a char array part of program text.
If I walk or otherwise touch this array prior to the ioctl,
it works fine on 2.5.31.

The copy_from_user fails at addres 804BFFE, AFAICS.

I probably missed an inportant datapoint. Please ask for more
info.

Regards,
  Rasmus

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-08-22 21:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-22 21:23 A copy_from_user problem in 2.5(.31) Rasmus Andersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox