mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC] Encrypting file system
@ 2006-03-06 10:31 V Bhanu Chandra
  2006-03-06 12:17 ` Mario 'BitKoenig' Holbe
  2006-03-06 17:37 ` Michael Halcrow
  0 siblings, 2 replies; 30+ messages in thread
From: V Bhanu Chandra @ 2006-03-06 10:31 UTC (permalink / raw)
  To: linux-kernel


Hi,

I am thinking of designing and implementing a new native encrypting
file system for the linux kernel as a part of a student / research
project. Unlike dm-crypt/loop-AES/cryptoloop, I plan to target
slightly more ambitious user specifications such as: per-file random
secret encryption keys which are in-turn encrypted using the public
keys of all users having access to that filesystem object (a copy
each), and these "tokens" stored along with the file as meta-data (in
an extended attribute, for example).

I've already come up with an initial conceptualization / design for
this and have just begun with the implementation.

Any comments / guidance / suggestions are most welcome and solicitated.

It would be helpful if someone has implemented (or is working on) a
patch for the kernel that implements RSA in the CryptoAPI, else I
might have to resort to have a user-space service for key management
tasks.

Warm regards,
Bhanu

--
V Bhanu Chandra,
Undergraduate Student,
Department of Computer Science & Engg,
IIT Kanpur, India

^ permalink raw reply	[flat|nested] 30+ messages in thread
* AMD64 X2 lost ticks on PM timer
@ 2006-02-27 21:22 bubshait
  2006-02-27 22:21 ` Bill Rugolsky Jr.
  0 siblings, 1 reply; 30+ messages in thread
From: bubshait @ 2006-02-27 21:22 UTC (permalink / raw)
  To: linux-kernel

I have been suffering from lost ticks for several months now ever since I 
switched to an X86_64 kernel with SMP. I have read previous posts about lost 
ticks due to TSC timer, but I have been having a different problem as I have 
only been using 2.6.14 and then 2.6.15 kernels and only PM timers. Also, this 
problem does not manifest itself immedietly, I could be using the system for 
anywhere from a few hours to a couple of days without any problems before I 
start losing ticks, but once it starts it would lose them constantly and my 
desktop becomes unstable (some apps crash, while other take 5 minutes to 
start up, this was what led me to discover the lost ticks) forcing me to 
reboot. The following error appears in dmesg at the time the system starts to 
act strange

	Losing some ticks... checking if CPU frequency changed.
	warning: many lost ticks.
	Your time source seems to be instable or some driver is hogging interupts
	rip __do_softirq+0x47/0xd1

adding report_lost_ticks only prints repeating messages like

	Lost 3 timer tick(s)! rip __do_softirq+0x47/0xd1

I have tried using acipmaintimer and acippmtimer, it would boot fine but I 
would notice the following in dmesg

	..MP-BIOS bug: 8254 timer not connected to IO-APIC
	timer doesn't work through the IO-APIC - disabling NMI Watchdog!
	Uhhuh. NMI received for unknown reason 3d.

And would still end up with lost ticks eventually. using acpi=off causes the 
entire system to come to a crawl (I am guessing this is due to the PM timer). 
For the life of me I can't seem to figure out what causes these lost ticks to 
start, but when they do the /proc/interrupts show a drop from roughly 1000 
interrupts/sec to around 700 and this persists until I reboot.

My hardware is an AMD64 X2 4800+ on an asus A8N-SLI.

Also, could I please be CC'ed to any replies. I don't mean to be rude by not 
subscribing but I couldn't handle the volume.

Thanks,
Abdulla Bubshait

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2006-03-06 21:37 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-06 10:31 [RFC] Encrypting file system V Bhanu Chandra
2006-03-06 12:17 ` Mario 'BitKoenig' Holbe
2006-03-06 13:05   ` Eduard Bloch
2006-03-06 17:37 ` Michael Halcrow
2006-03-06 21:36   ` AMD64 X2 lost ticks on PM timer Timo Schroeter
  -- strict thread matches above, loose matches on Subject: below --
2006-02-27 21:22 bubshait
2006-02-27 22:21 ` Bill Rugolsky Jr.
2006-02-27 22:47   ` Jason Baron
2006-02-28  7:41     ` Abdulla Bubshait
2006-02-28 22:00       ` Bill Rugolsky Jr.
2006-02-28 23:53         ` Andi Kleen
2006-03-01 14:46           ` Bill Rugolsky Jr.
2006-03-01 14:56             ` Andi Kleen
2006-03-01 15:43               ` Bill Rugolsky Jr.
2006-03-01 15:47                 ` Andi Kleen
2006-03-01 18:07                   ` Bill Rugolsky Jr.
2006-03-01 18:29                     ` Andi Kleen
2006-03-01 19:16                       ` Lee Revell
2006-03-03 19:18                         ` Bill Rugolsky Jr.
2006-03-03 21:26                           ` Lee Revell
2006-03-03 22:09                             ` Jeff Garzik
2006-03-03 23:43                               ` Bill Rugolsky Jr.
2006-03-03 23:46                                 ` Jeff Garzik
2006-03-03 23:49                                   ` Lee Revell
2006-03-04  0:08                                   ` Andi Kleen
2006-03-04  0:07                                 ` Andi Kleen
2006-03-04 12:06                                 ` Martin Schlemmer
2006-03-05  7:07                                   ` Alexander Samad
2006-03-02 15:47                 ` Gabor Gombas
2006-02-28 21:17     ` Abdulla Bubshait

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

all inboxes | Powered by JetHome®