linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 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; 60+ 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] 60+ messages in thread
* Re: [RFC] Encrypting file system
@ 2006-03-06 17:37 Michael Halcrow
  2006-03-06 21:36 ` AMD64 X2 lost ticks on PM timer Timo Schroeter
  0 siblings, 1 reply; 60+ messages in thread
From: Michael Halcrow @ 2006-03-06 17:37 UTC (permalink / raw)
  To: V Bhanu Chandra; +Cc: linux-kernel

On Mon, Mar 06, 2006 at 04:01:33PM +0530, V Bhanu Chandra wrote:
> 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).

You have just described exactly what I presented at OLS 2004 and
2005. The paper is available in the symposium proceedings. Another
post on this thread pointed to the eCryptfs web site:

http://ecryptfs.sourceforge.net/

A version (0.1) with mount-wide passphrase support (with a random
session key per file) has been fully implemented and is available for
immediate use. If you are running kernel version 2.6.15, you can build
eCryptfs as a stand-alone module. There is a preliminary design
document under development that is available from the web site too. It
covers passphrase-only functionality for version 0.1, and I am in the
process of working on a design document for version 0.2, which will
include per-file public key support. In version 0.3, I plan to
implement more advanced key management and policy support.

> 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.

For eCryptfs, I have decided that the public key operations be best
routed to userspace code due to their high computational overhead and
the need for additional operations that are necessary to make public
key meaningful from a security perspective, such as certificate
processing, CRL's, and so forth.

Thanks,
Mike Halcrow
eCryptfs Lead Developer

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

end of thread, other threads:[~2006-03-22 23:07 UTC | newest]

Thread overview: 60+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-27 21:22 AMD64 X2 lost ticks on PM timer 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
     [not found]                                   ` <20060315213638.GA17817@ti64.telemetry-investments.com>
2006-03-15 21:45                                     ` libata/sata_nv latency on NVIDIA CK804 [was Re: AMD64 X2 lost ticks on PM timer] Lee Revell
2006-03-15 21:58                                       ` Ingo Molnar
2006-03-15 22:00                                         ` Ingo Molnar
2006-03-15 22:25                                           ` Jeff Garzik
2006-03-16 15:13                                           ` Alan Cox
2006-03-16 16:57                                             ` Bill Rugolsky Jr.
2006-03-22 16:09                                               ` Andi Kleen
2006-03-22 18:39                                                 ` Bill Rugolsky Jr.
2006-03-22 23:07                                                 ` Bill Rugolsky Jr.
2006-03-15 22:22                                         ` Jeff Garzik
2006-03-15 22:24                                           ` Ingo Molnar
2006-03-15 22:36                                             ` Bill Rugolsky Jr.
2006-03-15 22:46                                               ` Ingo Molnar
2006-03-15 22:48                                               ` Jeff Garzik
2006-03-15 23:31                                                 ` Lee Revell
2006-03-15 21:50                                     ` Ingo Molnar
2006-03-15 22:11                                       ` Ingo Molnar
2006-03-15 22:33                                         ` Jeff Garzik
2006-03-15 22:44                                           ` Ingo Molnar
2006-03-15 22:50                                             ` Jeff Garzik
2006-03-15 23:14                                               ` Bill Rugolsky Jr.
2006-03-15 23:44                                                 ` Lee Revell
     [not found]                                                   ` <20060316002133.GE17817@ti64.telemetry-investments.com>
2006-03-16  0:48                                                     ` Long latencies with MD RAID 1 [was Re: libata/sata_nv latency on NVIDIA CK804 ] Lee Revell
2006-03-16  3:15                                                 ` libata/sata_nv latency on NVIDIA CK804 [was Re: AMD64 X2 lost ticks on PM timer] Bill Rugolsky Jr.
2006-03-16  4:20                                                   ` Lee Revell
2006-03-16  9:18                                                     ` Ingo Molnar
2006-03-16 14:42                                                     ` Gabor Gombas
2006-03-16  0:01                                               ` Lee Revell
2006-03-16  0:14                                                 ` Jeff Garzik
2006-03-15 22:30                                       ` Jeff Garzik
2006-03-15 22:36                                         ` Ingo Molnar
2006-03-15 22:04                                     ` [patch] latency-tracing-v2.6.16.patch Ingo Molnar
2006-03-15 22:32                                       ` Bill Rugolsky Jr.
2006-03-16  9:18                                         ` Ingo Molnar
2006-03-04 12:06                                 ` AMD64 X2 lost ticks on PM timer Martin Schlemmer
2006-03-05  7:07                                   ` Alexander Samad
2006-03-02 15:47                 ` Gabor Gombas
2006-02-28 21:17     ` Abdulla Bubshait
2006-03-06 17:37 [RFC] Encrypting file system Michael Halcrow
2006-03-06 21:36 ` AMD64 X2 lost ticks on PM timer Timo Schroeter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).