lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 20 Aug 2007 13:17:35 +0100
From:	Andrew Bird <ajb@...eresystems.co.uk>
To:	linux-kernel@...r.kernel.org
Subject: MTD_WRITE called by a kernel timer OK in 2.4.20?

Hi,
	I'm trying to periodically write to flash on a small embedded device I'm 
playing with. I want to sync a buffer to flash every 15 seconds if it's 
dirty. I'm using a 2.4.20 kernel(not my choice) and have connected my 
buffer_write routine to a kernel timer both directly and also via a tasklet 
initiated by a kernel timer. Both methods give me an oops when attempting to 
write the flash. Is there anything basically wrong with this method? Will 
MTD_WRITE not function in interrupt context? It works just fine when called 
from an ioctl.


Hope you can help


Andrew
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ