Skip to contentSkip to conversation

Time: Generic Timeofday Subsystem (v B10)

PATCH In review john stultz 4 participants 30 messages Nov 12, 2005 – Nov 15, 2005

Subsystems (7)
lore
Share & tools
lore
#0 lore raw

cover Time: Generic Timeofday Subsystem (v B10)

All,
I had hoped to submit this to -mm today, but since Ingo pointed
out an issue in the __delay code, I'm going to wait a week so the new fix can be better tested.

The following patchset applies against 2.6.14-mm2 (with some offsets
and fuzz) and provides a generic timekeeping subsystem that is independent of the timer interrupt. This allows for robust and correct behavior in cases of late or lost ticks, avoids interpolation errors, reduces duplication in arch specific code, and allows or assists future changes such as high-res timers, dynamic ticks, or realtime preemption. Additionally, it provides finer nanosecond resolution values to the clock_gettime functions.

The patch set provides the minimal NTP changes, the clocksource abstraction, the core timekeeping code as well as the code to convert the i386 and x86-64 archs. I have started on converting more arches, but for now I'm focusing on i386 and x86-64.

Thomas Gleixner has been quite helpful in deeply reviewing and suggesting changes to the code, so many thanks to him for his help!

New in this release:
o Use ktimer for periodic_hook
o minor performance tweaks
o i386 __delay fix
o docs and howtos in Documentation/timekeeping.txt

Still on the TODO list:
o Get a weeks worth of testing
o Submit to -mm (planned for the next release)

I'd like to thank the following people who have contributed ideas, criticism, testing and code that has helped shape this work:

George Anzinger, Nish Aravamudan, Max Asbock, Dominik Brodowski, Thomas Gleixner, Darren Hart, Christoph Lameter, Matt Mackal, Keith Mannthey, Ingo Molnar, Martin Schwidefsky, Frank Sorenson, Ulrich Windl, Darrick Wong, Roman Zippel and any others whom I've accidentally forgotten.

Please let me know if you have any comments or feedback.

thanks
-john

#1 lore raw

PATCH 1/13 Time: Reduced NTP rework (part 1)

All,
With Roman's suggestions, I've been working on reducing the footprint
of my timeofday patches. This is the first of two patches that reworks some of the interrupt time NTP adjustments so that it could be re-used with the timeofday patches. The motivation of the change is to logically separate the code which adjusts xtime and the code that decides, based on the NTP state variables, how much per tick to adjust xtime.

Thus this patch should not affect the existing behavior, but just separate the logical functionality so it can be re-used.

This patch applies on top of my ntp-shift-right patch I posted awhile back.

thanks
-john

 timer.c |   96 ++++++++++++++++++++++++++++++++++++++++++----------------------
 1 files changed, 63 insertions(+), 33 deletions(-)

linux-2.6.14_timeofday-ntp-part1_B10.patch
============================================

kernel/timer.c +63 -33
index 636c669..30a1979 100644
@@ -589,6 +589,7 @@ static long time_adj;			/* tick adjust (
 long time_reftime;			/* time at last adjustment (s)	*/
 long time_adjust;
 long time_next_adjust;
+long time_adjust_step;	/* per tick time_adjust step */
 
 /*
  * this routine handles the overflow of the microsecond field
@@ -725,45 +726,52 @@ static void second_overflow(void)
 #endif
 }
 
-/* in the NTP reference this is called "hardclock()" */
-static void update_wall_time_one_tick(void)
+/**
+ * ntp_advance() - increments the NTP state machine
+ *
+ * Must be holding the xtime writelock when calling.
+ *
+ */
+static void ntp_advance(unsigned long interval_ns)
 {
-	long time_adjust_step, delta_nsec;
+	static unsigned long interval_sum;
 
-	if ((time_adjust_step = time_adjust) != 0 ) {
-		/*
-		 * We are doing an adjtime thing.  Prepare time_adjust_step to
-		 * be within bounds.  Note that a positive time_adjust means we
-		 * want the clock to run faster.
-		 *
-		 * Limit the amount of the step to be in the range
-		 * -tickadj .. +tickadj
-		 */
-		time_adjust_step = min(time_adjust_step, (long)tickadj);
-		time_adjust_step = max(time_adjust_step, (long)-tickadj);
+	/* increment the interval sum */
+	interval_sum += interval_ns;
+
+	/* calculate the per tick singleshot adjtime adjustment step */
+	while (interval_ns >= tick_nsec) {
+		time_adjust_step = time_adjust;
+		if (time_adjust_step) {
+	    		/* We are doing an adjtime thing.
+	     		 *
+			 * Prepare time_adjust_step to be within bounds.
+			 * Note that a positive time_adjust means we want
+			 * the clock to run faster.
+			 *
+		    	 * Limit the amount of the step to be in the range
+			 * -tickadj .. +tickadj
+			 */
+	    		time_adjust_step = min(time_adjust_step, (long)tickadj);
+			time_adjust_step = max(time_adjust_step,
+							 (long)-tickadj);
 
-		/* Reduce by this step the amount of time left  */
-		time_adjust -= time_adjust_step;
-	}
-	delta_nsec = tick_nsec + time_adjust_step * 1000;
-	/*
-	 * Advance the phase, once it gets to one microsecond, then
-	 * advance the tick more.
-	 */
-	time_phase += time_adj;
-	if ((time_phase >= FINENSEC) || (time_phase <= -FINENSEC)) {
-		long ltemp = shift_right(time_phase, (SHIFT_SCALE - 10));
-		time_phase -= ltemp << (SHIFT_SCALE - 10);
-		delta_nsec += ltemp;
+			/* Reduce by this step the amount of time left  */
+		    	time_adjust -= time_adjust_step;
+		}
+		interval_ns -= tick_nsec;
 	}
-	xtime.tv_nsec += delta_nsec;
-	time_interpolator_update(delta_nsec);
 
 	/* Changes by adjtime() do not take effect till next tick. */
 	if (time_next_adjust != 0) {
 		time_adjust = time_next_adjust;
 		time_next_adjust = 0;
 	}
+
+	while (interval_sum >= NSEC_PER_SEC) {
+		interval_sum -= NSEC_PER_SEC;
+		second_overflow();
+	}
 }
 
 /*
@@ -775,14 +783,36 @@ static void update_wall_time_one_tick(vo
  */
 static void update_wall_time(unsigned long ticks)
 {
+	long delta_nsec;
+
 	do {
 		ticks--;
-		update_wall_time_one_tick();
-		if (xtime.tv_nsec >= 1000000000) {
-			xtime.tv_nsec -= 1000000000;
+
+		/* Calculate the nsec delta using the
+		 * precomputed NTP adjustments:
+		 *     tick_nsec, time_adjust_step, time_adj
+		 */
+		delta_nsec = tick_nsec + time_adjust_step * 1000;
+		/*
+		 * Advance the phase, once it gets to one microsecond, then
+		 * advance the tick more.
+		 */
+		time_phase += time_adj;
+		if ((time_phase >= FINENSEC) || (time_phase <= -FINENSEC)) {
+			long ltemp = shift_right(time_phase,
+							(SHIFT_SCALE - 10));
+			time_phase -= ltemp << (SHIFT_SCALE - 10);
+			delta_nsec += ltemp;
+		}
+
+		xtime.tv_nsec += delta_nsec;
+		if (xtime.tv_nsec >= NSEC_PER_SEC) {
+			xtime.tv_nsec -= NSEC_PER_SEC;
 			xtime.tv_sec++;
-			second_overflow();
 		}
+		ntp_advance(tick_nsec);
+		time_interpolator_update(delta_nsec);
+
 	} while (ticks);
 }
 
#2 lore raw

PATCH 2/13 Time: Reduced NTP Rework (part 2)

In reply to john stultz

All,
Here is the second of two patches which try to minimize my ntp rework
patches.

This patch further changes the interrupt time NTP code, breaking out the leapsecond processing and introduces an accessor to a shifted ppm adjustment value. For correctness, I've also introduced a new lock, the ntp_lock, which protects the NTP state machine when accessing it from my timekeeping code (which does not use the xtime_lock).

Again, this patch should not affect the existing behavior, but just separate the logical functionality so it can be re-used by my timeofday patches.

thanks
-john

 include/linux/timex.h |   24 +++++++++
 kernel/time.c         |   25 +++++----
 kernel/timer.c        |  133 ++++++++++++++++++++++++++++++++++++++++++++++++--
 3 files changed, 168 insertions(+), 14 deletions(-)

linux-2.6.14_timeofday-ntp-part2_B10.patch
============================================

include/linux/timex.h +24 -0
index 04a4a8c..10d8c71 100644
@@ -260,6 +260,7 @@ extern long pps_calcnt;		/* calibration 
 extern long pps_errcnt;		/* calibration errors */
 extern long pps_stbcnt;		/* stability limit exceeded */
 
+extern seqlock_t ntp_lock;
 /**
  * ntp_clear - Clears the NTP state variables
  *
@@ -267,10 +268,14 @@ extern long pps_stbcnt;		/* stability li
  */
 static inline void ntp_clear(void)
 {
+	unsigned long flags;
+	write_seqlock_irqsave(&ntp_lock, flags);
 	time_adjust = 0;		/* stop active adjtime() */
 	time_status |= STA_UNSYNC;
 	time_maxerror = NTP_PHASE_LIMIT;
 	time_esterror = NTP_PHASE_LIMIT;
+	write_sequnlock_irqrestore(&ntp_lock, flags);
+
 }
 
 /**
@@ -282,6 +287,25 @@ static inline int ntp_synced(void)
 	return !(time_status & STA_UNSYNC);
 }
 
+/**
+ * ntp_get_ppm_adjustment - Returns Shifted PPM adjustment
+ *
+ */
+long ntp_get_ppm_adjustment(void);
+
+/**
+ * ntp_advance - Advances the NTP state machine by interval_ns
+ *
+ */
+void ntp_advance(unsigned long interval_ns);
+
+/**
+ * ntp_leapsecond - NTP leapsecond processing code.
+ *
+ */
+int ntp_leapsecond(struct timespec now);
+
+
 /* Required to safely shift negative values */
 #define shift_right(x, s) ({	\
 	__typeof__(x) __x = (x);	\
kernel/time.c +15 -10
index 099dee8..c589b71 100644
@@ -234,7 +234,9 @@ int do_adjtimex(struct timex *txc)
 {
         long ltemp, mtemp, save_adjust;
 	int result;
-
+	unsigned long flags;
+	struct timespec now_ts;
+	unsigned long seq;
 	/* In order to modify anything, you gotta be super-user! */
 	if (txc->modes && !capable(CAP_SYS_TIME))
 		return -EPERM;
@@ -257,7 +259,13 @@ int do_adjtimex(struct timex *txc)
 		    txc->tick > 1100000/USER_HZ)
 			return -EINVAL;
 
-	write_seqlock_irq(&xtime_lock);
+	do { /* save off current xtime */
+		seq = read_seqbegin(&xtime_lock);
+		now_ts = xtime;
+	} while (read_seqretry(&xtime_lock, seq));
+
+	write_seqlock_irqsave(&ntp_lock, flags);
+
 	result = time_state;	/* mostly `TIME_OK' */
 
 	/* Save for later - semantics of adjtime is to return old value */
@@ -334,9 +342,9 @@ int do_adjtimex(struct timex *txc)
 		     */
 
 		    if (time_status & STA_FREQHOLD || time_reftime == 0)
-		        time_reftime = xtime.tv_sec;
-		    mtemp = xtime.tv_sec - time_reftime;
-		    time_reftime = xtime.tv_sec;
+		        time_reftime = now_ts.tv_sec;
+		    mtemp = now_ts.tv_sec - time_reftime;
+		    time_reftime = now_ts.tv_sec;
 		    if (time_status & STA_FLL) {
 		        if (mtemp >= MINSEC) {
 			    ltemp = (time_offset / mtemp) << (SHIFT_USEC -
@@ -395,7 +403,7 @@ leave:	if ((time_status & (STA_UNSYNC|ST
 	txc->calcnt	   = pps_calcnt;
 	txc->errcnt	   = pps_errcnt;
 	txc->stbcnt	   = pps_stbcnt;
-	write_sequnlock_irq(&xtime_lock);
+	write_sequnlock_irqrestore(&ntp_lock, flags);
 	do_gettimeofday(&txc->time);
 	notify_arch_cmos_timer();
 	return(result);
@@ -512,10 +520,7 @@ int do_settimeofday (struct timespec *tv
 		set_normalized_timespec(&xtime, sec, nsec);
 		set_normalized_timespec(&wall_to_monotonic, wtm_sec, wtm_nsec);
 
-		time_adjust = 0;		/* stop active adjtime() */
-		time_status |= STA_UNSYNC;
-		time_maxerror = NTP_PHASE_LIMIT;
-		time_esterror = NTP_PHASE_LIMIT;
+		ntp_clear();
 		time_interpolator_reset();
 	}
 	write_sequnlock_irq(&xtime_lock);
kernel/timer.c +129 -4

195 lines not on this page · raw message

#3 lore raw

PATCH 3/13 Time: Clocksource Infrastructure

In reply to john stultz

All,
This patch introduces the clocksource management infrastructure. A
clocksource is a driver-like architecture generic abstraction of a freerunning counter. This patch defines the clocksource structure, and provides management code for registering, selecting, accessing and scaling clocksources. The clocksource structure is influenced by the time_interpolator code, although I feel it has a cleaner interface and avoids preserving system state in the clocksource structure.

Additionally, this patch includes the trivial jiffies clocksource, a lowest common denominator clocksource, provided mainly for use as an example.

This patch applies on top of my ntp cleanup patchset.

Since this patch provides the groundwork for the generic timeofday core, it will not function without the generic timeofday patches to follow.

thanks
-john

 Documentation/kernel-parameters.txt |   14 +
 include/linux/clocksource.h         |  293 ++++++++++++++++++++++++++++++++++++
 kernel/Makefile                     |    1 
 kernel/time/Makefile                |    1 
 kernel/time/clocksource.c           |  286 +++++++++++++++++++++++++++++++++++
 kernel/time/jiffies.c               |   74 +++++++++
 6 files changed, 665 insertions(+), 4 deletions(-)

linux-2.6.14_timeofday-clocksource-core_B10.patch
============================================

Documentation/kernel-parameters.txt +10 -4
index 5dffcfe..f1e3cb7 100644
@@ -52,6 +52,7 @@ restrictions referred to are that the re
 	MTD	MTD support is enabled.
 	NET	Appropriate network support is enabled.
 	NUMA	NUMA support is enabled.
+	GENERIC_TIME The generic timeofday code is enabled.
 	NFS	Appropriate NFS support is enabled.
 	OSS	OSS sound support is enabled.
 	PARIDE	The ParIDE subsystem is enabled.
@@ -329,10 +330,11 @@ running once the system is up.
 			Value can be changed at runtime via
 				/selinux/checkreqprot.
 
- 	clock=		[BUGS=IA-32,HW] gettimeofday timesource override.
-			Forces specified timesource (if avaliable) to be used
-			when calculating gettimeofday(). If specicified
-			timesource is not avalible, it defaults to PIT.
+ 	clock=		[BUGS=IA-32, HW] gettimeofday clocksource override.
+			[Deprecated]
+			Forces specified clocksource (if avaliable) to be used
+			when calculating gettimeofday(). If specified
+			clocksource is not avalible, it defaults to PIT.
 			Format: { pit | tsc | cyclone | pmtmr }
 
 	hpet=		[IA-32,HPET] option to disable HPET and use PIT.
@@ -1477,6 +1479,10 @@ running once the system is up.
 
 	time		Show timing data prefixed to each printk message line
 
+	clocksource=	[GENERIC_TIME] Override the default clocksource
+			Override the default clocksource and use the clocksource
+			with the name specified.
+
 	tipar.timeout=	[HW,PPT]
 			Set communications timeout in tenths of a second
 			(default 15).
include/linux/clocksource.h new file +293 -0

293 lines not on this page · raw message

kernel/Makefile +1 -0
index 0fa9cb2..4abc89f 100644
@@ -10,6 +10,7 @@ obj-y     = sched.o fork.o exec_domain.o
 	    kthread.o wait.o kfifo.o sys_ni.o posix-cpu-timers.o \
 	    ktimers.o
 
+obj-$(CONFIG_GENERIC_TIME) += time/
 obj-$(CONFIG_FUTEX) += futex.o
 obj-$(CONFIG_GENERIC_ISA_DMA) += dma.o
 obj-$(CONFIG_SMP) += cpu.o spinlock.o
kernel/time/Makefile new file +1 -0
new file mode 100644
index 0000000..e1dfd8e
@@ -0,0 +1 @@
+obj-y += clocksource.o jiffies.o
kernel/time/clocksource.c new file +286 -0

286 lines not on this page · raw message

kernel/time/jiffies.c new file +74 -0

74 lines not on this page · raw message

#4 lore raw

PATCH 4/13 Time: Generic Timekeeping Infrastructure

In reply to john stultz

All,

This patch implements my generic timeofday framework. This common infrastructure is intended to be used by any arch to reduce code duplication, improve robustness in the face of late or lost ticks, and enable finer granularity timekeeping.

The major change with this code is that it allows timekeeping to be independent of the timer interrupt. This provides a linear mapping (ignoring ntp adjustments) between a hardware clocksource counter and the time of day. This allows for lost ticks or other software delays to not affect timekeeping.

Included below is timeofday.c (which includes all the time of day management and accessor functions), and minimal hooks into arch independent code. This patch does not remove the current timekeeping code, allowing architectures to move over when they are ready.

This patch applies on top of my clocksource managment patch.

The patch does nothing without at least minimal architecture specific hooks (i386, x86-64 and other architecture examples to follow), and it should be able to be applied to a tree without affecting the existing code.

thanks
-john

 Documentation/timekeeping.txt   |  246 ++++++++++++++
 drivers/char/hangcheck-timer.c  |    5 
 include/asm-generic/timeofday.h |   29 +
 include/linux/time.h            |   25 +
 include/linux/timeofday.h       |   44 ++
 include/linux/timex.h           |    2 
 include/sound/timer.h           |    1 
 init/main.c                     |    2 
 kernel/ktimers.c                |    1 
 kernel/posix-timers.c           |    2 
 kernel/time.c                   |   17 +
 kernel/time/Makefile            |    2 
 kernel/time/timeofday.c         |  680 ++++++++++++++++++++++++++++++++++++++++
 kernel/timer.c                  |    6 
 14 files changed, 1056 insertions(+), 6 deletions(-)

linux-2.6.14_timeofday-core_B10.patch
============================================

Documentation/timekeeping.txt new file +246 -0
new file mode 100644
index 0000000..59b7dcc
@@ -0,0 +1,246 @@
+How timekeeping works with CONFIG_GENERIC_TIME
+========================================================================
+
+The generic timekeeping code maintains and allows access to the systems understanding of how much time has passed from a certain point. However, in order to measure the passing of time, the generic timekeeping code relies on the clocksource abstraction. A clocksource abstracts a free running counter who's value increases at a known frequency.
+
+In the generic timekeeping code, we use a pointer to a selected clocksource to measure the passing of time.
+
+struct clocksource *clock
+
+The clocksource has some limitations however. Since its likely of fixed width, it will not increment forever and will overflow. In order to still properly keep time, we must occasionally accumulate an interval of time. In the generic timekeeping code, we accumulate the amount of time system the system booted into the value system_time, which keeps nanosecond resolution in a ktime_t storage.
+
+ktime_t system_time
+
+Since its likely your system has not been running continually since midnight on the 1st of January in 1970, we must provide an offset from that time in accordance with conventions. This only occasionally changed (via settimeofday()) offset is the wall_time_offset value, which is also stored as a ktime_t.
+
+ktime_t wall_time_offset
+
+
+Since we accumulate time in intervals, we need a base cycle value that we can use to generate an offset from the time value kept in system_time. We store this value in cycle_last.
+
+cycle_t cycle_last;
+
+
+Further since all clocks drift somewhat from each other, we use the adjustment values provided via adjtimex() to correct our clocksource frequency for each interval. This frequency adjustment value is stored in ntp_adj.
+
+long ntp_adj;
+
+Now that we've covered the core global variables for timekeeping, lets look at how we maintain these values.
+
+As stated above, we want to avoid the clocksource from overflowing on us, so we accumulate a time interval periodically. This periodic accumulation function is called timeofday_periodic_hook().  In simplified pseudo code, it logically is presented as:
+
+timeofday_periodic_hook():
+	cycle_now = read_clocksource(clock)
+	cycle_delta = (cycle_now - cycle_last) & clock->mask
+	nsec = cyc2ns(clock, cycle_delta, ntp_adj)
+	system_time += nsec
+	cycle_last = cycle_now
+
+	/* do other stuff */
+
+You can see we read the cycle value from the clocksource, calculate a cycle delta for the interval since we last called timeofday_periodic_hook(), convert that cycle delta to a nanosecond interval (for now ignore ntp_adj), add it to the system time and finally set our cycle_last value to cycle_now for the next interval. Using this simple algorithm we can correctly measure and record the passing of time.
+
+But just storing this info isn't very useful, we also want to make it available to be used elsewhere. So how do we provide a notion of how much time has passed inbetween calls to timeofday_periodic_hook()?
+
+First, lets create a function that calculates the time since the last call to timeofday_peridoic_hook().
+
+get_nsec_offset():
+	cycle_now = read_clocksource(clock)
+	cycle_delta = (cycle_now - cycle_last) & clock->mask
+	nsec = cyc2ns(clock, cycle_delta, ntp_adj)
+	return nsec
+
+Here you can see, we read the clocksource, calculate a cycle interval, and convert that to a nanosecond interval. Just like how it is done in timeofday_periodic_hook!
+
+Now lets use this function to provide the number of nanoseconds that the system has been running:
+
+do_monotonic_clock():
+	return system_time + get_nsec_offset()
+
+Here we trivially add the nanosecond offset since the last timeofday_periodic_hook() to the value of system_time which was stored at the last timeofday_periodic_hook().
+
+Note that since we use the same method to calculate time intervals, assuming each function is atomic and the clocksource functions as it should, time cannot go backward!
+
+Now to get the time of day using the standard convention:
+
+do_gettimeofday():
+	return do_monotonic_clock() + wall_time_offset
+
+We simply add the wall_time_offset, and we have the number of nanoseconds since 1970 began!
+
+
+Of course, in real life, things are not so static. We have to handle a number of dynamic values that may change and affect timekeeping. In order to do these safely, we must only change values in-between intervals. This means the periodic_hook call must handle these changes.
+
+Since clocksources can be changed while the system is running, we need to check for and possibly switch to using new clocksources in the periodic_hook call. Further, clocksources may change their frequency. Since this must be done only at a safe point, we use the update_callback function pointer (for more details, see "How to write a clocksource driver" below), this too must be done in-between intervals in the periodic_hook call. Finally, since the ntp adjustment made in the cyc2ns conversion is not static, we need to update the ntp state machine and get a calculate a new adjustment value.
+
+This adds some extra pseudo code to the timeofday_periodic_hook function:
+
+timeofday_periodic_hook():
+	cycle_now = read_clocksource(clock)
+	cycle_delta = (cycle_now - cycle_last) & clock->mask
+	nsec = cyc2ns(clock, cycle_delta, ntp_adj)
+	system_time += nsec
+	cycle_last = cycle_now
+
+	next = get_next_clocksource()
+	if(next != clock):
+		cycle_last = read_clocksource(next)
+		clock = next
+
+	if(clock->update_callback):
+		clock->update_callback()
+
+	ntp_advance(nsec)
+	ppm = ntp_get_ppm_adjustment()
+	ntp_adj = ppm_to_mult_adj(clock, ppm)
+
+
+Unfortunately, the actual timeofday_periodic_hook code is not as simple as this pseudo code. For performance concerns, much has been done to pre-calculate values and use them repeatedly. Thus be aware that the code in timeofday.c is more complex, however the functional logic is the same.
+
+
+How to port an architecture to GENERIC_TIME
+========================================================================
+Porting an architecture to the GENERIC_TIME timekeeping code consists of moving a little bit of code around then deleting a fair amount. It is my hope that this will reduce the arch specific maintenance work around timekeeping.
+
+Porting an arch usually requires the following steps.
+
+1. Define CONFIG_GENERIC_TIME in the arches Kconfig
+2. Implmenting the following functions
+	nsec_t read_persistent_clock(void)
+	void sync_persistent_clock(struct timespec ts)
+3. Removing all of the arch specific timekeeping code
+	do_gettimeofday()
+	do_settimeofday()
+	etc
+4. Implementing clocksource drivers
+	See "How to write a clocksource driver" for more details
+
+The exeptions to the above are:
+
+5.  If the arch is has no continuous clocksource
+	A) Implement 1-3 in the above list.
+	B) Define CONFIG_IS_TICK_BASED in arches Kconfig
+	C) Implement the "long arch_getoffset(void)" function
+
+6. If the arch supports vsyscall gettimeofday (see x86_64 for reference)
+	A) Implement 1-4 in the above list
+	B) Define GENERIC_TIME_VSYSCALL
+	C) Implement arch_update_vsyscall_gtod()
+	D) Implement vsyscall gettimeofday (similar to __get_realtime_clock_ts)
+	E) Implement vread functions for supported clocksources
+
+
+
+How to write a clocksource driver.
+========================================================================
+First, a quick summary of what a clocksource driver provides.
+
+Simply put, a clocksource is a abstraction of a free running increasing counter. The abstraction provides the minimal amount of info for that counter to be usable for timekeeping. Those required values are:
+	1. It's name
+	2. A rating value for selection priority
+	3. A read function pointer
+	4. A mask value for correct twos-complement subtraction
+	5. A mult and shift pair that aproximate the counter frequency
+		mult/(2^shift) ~= nanoseconds per cycle
+
+Additionally, there are other optionally set values that allow for advanced functinoality. Those values are:
+	6. The update_callback function.
+	7. The is_continuous flag.
+	8. The vread function pointer
+	9. The vdata pointer value
+
+
+Now lets go over these values in detail.
+
+1. Name.
+	The clocksource's name should be unique since it is used for both identification as well as for manually overriding the default clocksource selection. The name length must be shorter then 32 characters in order for it to be properly overrided.
+
+2. Rating value
+	This rating value is used as a priority value for clocksource selection. It has no direct connection to quality or physical properties of the clocksource, but is to be set and manipulated to guarantee that the best (by no specific metric) clocksource that will provide correct timekeeping is automatically selected. Rating suggestions can be found in include/linux/clocksource.h
+
+3. Read function pointer
+	This pointer should point to a function that returns an unsigned increasing cycle value from the clocksource. The value should have a coverage from zero to the maximum cycle value the clocksource can provide. This does not have to be direct hardware value and can also be a software counter. An example of a software counter is the jiffies clocksource.
+
+4. The mask value
+	This value should be the largest power of two that is smaller then the maximum cycle value. This allows twos complement subtraction to work on overflow boundary conditions if the max value is less then (cycle_t)-1. So for example, if we have a 16 bit counter (ie: one that loops to zero after 0x0000FFFF), the mask would be 0xFFFF. So then when finding the cycle difference around a overflow, where now = 0x0013 and then = 0xFFEE, we can compute the cycle delta properly using the equation:
+	delta = (now - then)&mask
+	delta = (0x0013 - 0xFFEE) & 0xFFFF
+	delta = 0xFFFF0025 & 0xFFFF  /* note the unmasked negative value */
+	delta = 0x25
+
+5. The mult and shift pair
+	These 32bit values approximate the nanosecond per cycle frequency of the clocksource using the equation: mult/(2^shift). If you have a khz or hz frequency value, the mult value for a given shift value can be easily calculated using the  clocksource_hz2mult() and clocksource_khz2mult() helper functions. When selecting a shift value, it is important to be careful. Larger shift values give a finer precision in the cycle to nanosecond conversion and allows for more exact NTP adjustments.	However if you select too large a shift value, the resulting mult value might overflow a cycle_t * mult computation.
+
+
+So if you have a simple hardware counter that does not change frequency, filling in the above should be sufficient for a functional clocksource. But read on for details on implementing a more complex clocksource.
+
+6. The update_callback function pointer.
+	If this function pointer is non-NULL, it will be called every periodic hook when it is safe for the clocksource to change its state. This would be necessary in the case where the counter frequency changes, for example. One user of this  function pointer is the TSC clocksource. When the TSC frequency changes (which may occur if the cpu changes frequency) we need to notify the clocksource at a safe point where that state may change. Thus, if the TSC has changed frequency we set the new mult/shift values in the update_callback function.
+
+7. The is_continuous flag.
+	This flag variable (0 if false, 1 if true) denotes that the clocksource is continuous. This means that it is a purely hardware driven clocksource and is not dependent on any software code to run for it to increment properly. This denotation will be useful in the future when timer ticks may be disabled for long periods of time. Doing so using software clocksources, like the jiffies clocksource, would cause timekeeping problems.
+
+8. The vread function pointer.
+	This function pointer points to a user-space accessible function that reads the clocksource. This is used in userspace gettimeofday implementations to improve performance. See the x86-64 TSC clocksource implementation for an example.
+
+8. The vdata pointer.
+	This pointer is passed to the vread function pointer in a userspace gettimeofday implementation. Its usage is dependent on the vread implementation, but if the pointer points to data, that data must be readable from userspace.
+
+
+Now lets write a quick clocksource for an imaginary bit of hardware. Here are the specs:
+
+	A 32bit counter can be found at the MMIO address 0xFEEDF000. It runs at 100Mhz. To enable it, the the low bit of the address 0xFEEDF0F0 must be set to one.
+
+So lets start out an empty cool-counter.c file, and define the clocksource.
+
+#include <linux/clocksource.h>
+#include <linux/init.h>
+#include <asm/io.h>
+
+#define COOL_READ_PTR	0xFEEDF000
+#define COOL_START_PTR	0xFEEDF0F0
+
+static __iomem *cool_ptr = COOL_READ_PTR;
+
+struct clocksource clocksource_cool
+{
+	.name = "cool",
+	.rating = 200,		/* its a pretty decent clock */
+	.mask = 0xFFFFFFFF,	/* 32 bits */
+	.mult = 0,			/*to be computed */
+	.shift = 10,
+}
+
+
+Now let's write the read function:
+
+cycle_t cool_counter_read(void)
+{
+	cycle_t ret = readl(cool_ptr);
+	return ret;
+}
+
+Finally, lets write the init function:
+
+void cool_counter_init(void)
+{
+	__iomem *ptr = COOL_START_PTR;
+	u32 val;
+
+	/* start the counter */
+	val = readl(ptr);
+	val |= 0x1;
+	writel(val, ptr);
+
+	/* finish initializing the clocksource */
+	clocksource_cool.read = cool_counter_read;
+	clocksource_cool.mult = clocksource_khz2mult(100000,
+					clocksource_cool.shift);
+
+	/* register the clocksource */
+	register_clocksource(&clocksource_cool);
+}
+module_init(cool_counter_init);
+
+
+Now wasn't that easy!
drivers/char/hangcheck-timer.c +5 -0
index 66e53dd..59d8c48 100644
@@ -49,6 +49,7 @@
 #include <linux/delay.h>
 #include <asm/uaccess.h>
 #include <linux/sysrq.h>
+#include <linux/timeofday.h>
 
 
 #define VERSION_STR "0.9.0"
@@ -130,8 +131,12 @@ __setup("hcheck_dump_tasks", hangcheck_p
 #endif
 
 #ifdef HAVE_MONOTONIC
+#ifndef CONFIG_GENERIC_TIME
 extern unsigned long long monotonic_clock(void);
 #else
+#define monotonic_clock() ktime_to_ns(get_monotonic_clock())
+#endif
+#else
 static inline unsigned long long monotonic_clock(void)
 {
 # ifdef __s390__
include/asm-generic/timeofday.h new file +29 -0
new file mode 100644
index 0000000..f8cab2c
@@ -0,0 +1,29 @@
+/*  linux/include/asm-generic/timeofday.h
+ *
+ *  This file contains the asm-generic interface
+ *  to the arch specific calls used by the time of day subsystem
+ */
+#ifndef _ASM_GENERIC_TIMEOFDAY_H
+#define _ASM_GENERIC_TIMEOFDAY_H
+#include <linux/types.h>
+#include <linux/time.h>
+#include <linux/timex.h>
+#include <linux/timeofday.h>
+#include <linux/clocksource.h>
+
+#include <asm/div64.h>
+#ifdef CONFIG_GENERIC_TIME
+/* Required externs */
+extern nsec_t read_persistent_clock(void);
+extern void sync_persistent_clock(struct timespec ts);
+
+#ifdef CONFIG_GENERIC_TIME_VSYSCALL
+extern void arch_update_vsyscall_gtod(struct timespec wall_time,
+				cycle_t offset_base, struct clocksource* clock,
+				int ntp_adj);
+#else
+#define arch_update_vsyscall_gtod(x,y,z,w) {}
+#endif /* CONFIG_GENERIC_TIME_VSYSCALL */
+
+#endif /* CONFIG_GENERIC_TIME */
+#endif
include/linux/time.h +22 -3
index 1c16140..d0d0bf8 100644
@@ -28,6 +28,10 @@ struct timezone {
 
 #ifdef __KERNEL__
 
+/* timeofday base types */
+typedef s64 nsec_t;
+typedef u64 cycle_t;
+
 /* Parameters used to convert the timespec values */
 #define MSEC_PER_SEC (1000L)
 #define USEC_PER_SEC (1000000L)
@@ -42,8 +46,6 @@ static __inline__ int timespec_equal(str
 #define timespec_valid(ts) \
 (((ts)->tv_sec >= 0) && (((unsigned) (ts)->tv_nsec) < NSEC_PER_SEC))
 
-typedef s64 nsec_t;
-
 extern unsigned long
 mktime (unsigned int year, unsigned int mon,
 	unsigned int day, unsigned int hour,
@@ -73,7 +75,6 @@ extern long do_utimes(char __user * file
 struct itimerval;
 extern int do_setitimer(int which, struct itimerval *value, struct itimerval *ovalue);
 extern int do_getitimer(int which, struct itimerval *value);
-extern void getnstimeofday (struct timespec *tv);
 
 extern struct timespec timespec_trunc(struct timespec t, unsigned gran);
 
@@ -109,6 +110,24 @@ static inline nsec_t timeval_to_ns(struc
 extern void ns_to_timespec(struct timespec *ts, nsec_t nsec);
 extern void ns_to_timeval(struct timeval *tv, nsec_t nsec);
 
+static inline void normalize_timespec(struct timespec *ts)
+{
+	while (unlikely((unsigned long)ts->tv_nsec >= NSEC_PER_SEC)) {
+		ts->tv_nsec -= NSEC_PER_SEC;
+		ts->tv_sec++;
+	}
+}
+
+static inline void timespec_add_ns(struct timespec *a, nsec_t ns)
+{
+	while(unlikely(ns >= NSEC_PER_SEC)) {
+		ns -= NSEC_PER_SEC;
+		a->tv_sec++;
+	}
+	a->tv_nsec += ns;
+	normalize_timespec(a);
+}
+
 #endif /* __KERNEL__ */
 
 #define NFDBITS			__NFDBITS
include/linux/timeofday.h new file +44 -0

44 lines not on this page · raw message

include/linux/timex.h +2 -0
index 10d8c71..16e603b 100644
@@ -313,6 +313,7 @@ int ntp_leapsecond(struct timespec now);
 	__x < 0 ? -(-__x >> __s) : __x >> __s;	\
 })
 
+#ifndef CONFIG_GENERIC_TIME
 
 #ifdef CONFIG_TIME_INTERPOLATION
 
@@ -368,6 +369,7 @@ time_interpolator_reset(void)
 }
 
 #endif /* !CONFIG_TIME_INTERPOLATION */
+#endif /* !CONFIG_GENERIC_TIME */
 
 #endif /* KERNEL */
 
include/sound/timer.h +1 -0
index b55f38a..6a31988 100644
@@ -25,6 +25,7 @@
 
 #include <sound/asound.h>
 #include <linux/interrupt.h>
+#include <linux/timeofday.h>
 
 typedef enum sndrv_timer_class snd_timer_class_t;
 typedef enum sndrv_timer_slave_class snd_timer_slave_class_t;
init/main.c +2 -0
index f48a3e7..f4c01c8 100644
@@ -47,6 +47,7 @@
 #include <linux/rmap.h>
 #include <linux/mempolicy.h>
 #include <linux/key.h>
+#include <linux/timeofday.h>
 #include <net/sock.h>
 
 #include <asm/io.h>
@@ -489,6 +490,7 @@ asmlinkage void __init start_kernel(void
 	init_timers();
 	ktimers_init();
 	softirq_init();
+	timeofday_init();
 	time_init();
 
 	/*
kernel/ktimers.c +1 -0
index 5ed2441..d594a76 100644
@@ -30,6 +30,7 @@
 #include <linux/percpu.h>
 #include <linux/notifier.h>
 #include <linux/syscalls.h>
+#include <linux/timeofday.h>
 #include <linux/interrupt.h>
 
 #include <asm/uaccess.h>
kernel/posix-timers.c +1 -1
index 1a1717a..8ed83e1 100644
@@ -34,7 +34,7 @@
 #include <linux/smp_lock.h>
 #include <linux/interrupt.h>
 #include <linux/slab.h>
-#include <linux/time.h>
+#include <linux/timeofday.h>
 
 #include <asm/uaccess.h>
 #include <asm/semaphore.h>
kernel/time.c +17 -0
index c589b71..5e93a4e 100644
@@ -38,6 +38,7 @@
 
 #include <asm/uaccess.h>
 #include <asm/unistd.h>
+#include <linux/timeofday.h>
 
 /* 
  * The timezone where the local system is located.  Used as a default by some
@@ -128,6 +129,7 @@ asmlinkage long sys_gettimeofday(struct 
  * as real UNIX machines always do it. This avoids all headaches about
  * daylight saving times and warping kernel clocks.
  */
+#ifndef CONFIG_GENERIC_TIME
 static inline void warp_clock(void)
 {
 	write_seqlock_irq(&xtime_lock);
@@ -137,6 +139,18 @@ static inline void warp_clock(void)
 	write_sequnlock_irq(&xtime_lock);
 	clock_was_set();
 }
+#else /* !CONFIG_GENERIC_TIME */
+/* XXX - this is somewhat cracked out and should
+         be checked  [email protected]
+*/
+static inline void warp_clock(void)
+{
+	struct timespec ts;
+	getnstimeofday(&ts);
+	ts.tv_sec += sys_tz.tz_minuteswest * 60;
+	do_settimeofday(&ts);
+}
+#endif /* !CONFIG_GENERIC_TIME */
 
 /*
  * In case for some reason the CMOS clock has not already been running
@@ -484,6 +498,7 @@ struct timespec timespec_trunc(struct ti
 }
 EXPORT_SYMBOL(timespec_trunc);
 
+#ifndef CONFIG_GENERIC_TIME
 #ifdef CONFIG_TIME_INTERPOLATION
 void getnstimeofday (struct timespec *tv)
 {
@@ -569,6 +584,8 @@ void getnstimeofday(struct timespec *tv)
 EXPORT_SYMBOL_GPL(getnstimeofday);
 #endif
 
+#endif /* !CONFIG_GENERIC_TIME */
+
 /* Converts Gregorian date to seconds since 1970-01-01 00:00:00.
  * Assumes input in normal date format, i.e. 1980-12-31 23:59:59
  * => year=1980, mon=12, day=31, hour=23, min=59, sec=59.
kernel/time/Makefile +1 -1
index e1dfd8e..4bdb5e6 100644
@@ -1 +1 @@
-obj-y += clocksource.o jiffies.o
+obj-y += clocksource.o jiffies.o timeofday.o
kernel/time/timeofday.c new file +680 -0

680 lines not on this page · raw message

kernel/timer.c +5 -1
index f0c986b..a94687e 100644
@@ -28,7 +28,7 @@
 #include <linux/swap.h>
 #include <linux/notifier.h>
 #include <linux/thread_info.h>
-#include <linux/time.h>
+#include <linux/timeofday.h>
 #include <linux/jiffies.h>
 #include <linux/posix-timers.h>
 #include <linux/cpu.h>
@@ -888,6 +888,7 @@ void ntp_advance(unsigned long interval_
 
 }
 
+#ifndef CONFIG_GENERIC_TIME
 /*
  * Using a loop looks inefficient, but "ticks" is
  * usually just one (we shouldn't be losing ticks,
@@ -940,6 +941,9 @@ static void update_wall_time(unsigned lo
 
 	} while (ticks);
 }
+#else /* !CONFIG_GENERIC_TIME */
+#define update_wall_time(x)
+#endif /* !CONFIG_GENERIC_TIME */
 
 /*
  * Called from the timer interrupt handler to charge one tick to the current 
#5 lore raw

PATCH 5/13 Time: i386 Conversion - part 1: Move timer_pit.c to i8253.c

In reply to john stultz

All,
The conversion of i386 to use the generic timeofday subsystem has been
split into 6 parts. This patch, the first of six, is just a simple cleanup for the i386 arch in preparation of moving to the generic timeofday infrastructure. It simply moves some code from timer_pit.c to i8253.c.

It applies on top of my timeofday-core patch. This patch is part the timeofday-arch-i386 patchset, so without the following parts it is not expected to compile (although just this one should).

thanks
-john

 Makefile           |    2 -
 i8253.c            |   57 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 time.c             |    6 -----
 timers/timer_pit.c |   13 ------------
 4 files changed, 58 insertions(+), 20 deletions(-)

linux-2.6.14_timeofday-arch-i386-part1_B10.patch
============================================

arch/i386/kernel/Makefile +1 -1
index f10de0f..7bc053f 100644
@@ -7,7 +7,7 @@ extra-y := head.o init_task.o vmlinux.ld
 obj-y	:= process.o semaphore.o signal.o entry.o traps.o irq.o vm86.o \
 		ptrace.o time.o ioport.o ldt.o setup.o i8259.o sys_i386.o \
 		pci-dma.o i386_ksyms.o i387.o dmi_scan.o bootflag.o \
-		doublefault.o quirks.o i8237.o
+		doublefault.o quirks.o i8237.o i8253.o
 
 obj-y				+= cpu/
 obj-y				+= timers/
arch/i386/kernel/i8253.c new file +57 -0

57 lines not on this page · raw message

arch/i386/kernel/time.c +0 -6
index 41c5b2d..5a9f253 100644
@@ -82,11 +82,6 @@ extern unsigned long wall_jiffies;
 DEFINE_SPINLOCK(rtc_lock);
 EXPORT_SYMBOL(rtc_lock);
 
-#include <asm/i8253.h>
-
-DEFINE_SPINLOCK(i8253_lock);
-EXPORT_SYMBOL(i8253_lock);
-
 struct timer_opts *cur_timer __read_mostly = &timer_none;
 
 /*
@@ -400,7 +395,6 @@ static int timer_resume(struct sys_devic
 	if (is_hpet_enabled())
 		hpet_reenable();
 #endif
-	setup_pit_timer();
 	sec = get_cmos_time() + clock_cmos_diff;
 	sleep_length = (get_cmos_time() - sleep_start) * HZ;
 	write_seqlock_irqsave(&xtime_lock, flags);
arch/i386/kernel/timers/timer_pit.c +0 -13
index e42e46d..4676576 100644
@@ -161,16 +161,3 @@ struct init_timer_opts __initdata timer_
 	.init = init_pit, 
 	.opts = &timer_pit,
 };
-
-void setup_pit_timer(void)
-{
-	unsigned long flags;
-
-	spin_lock_irqsave(&i8253_lock, flags);
-	outb_p(0x34,PIT_MODE);		/* binary, mode 2, LSB/MSB, ch 0 */
-	udelay(10);
-	outb_p(LATCH & 0xff , PIT_CH0);	/* LSB */
-	udelay(10);
-	outb(LATCH >> 8 , PIT_CH0);	/* MSB */
-	spin_unlock_irqrestore(&i8253_lock, flags);
-}
#6 lore raw

PATCH 6/13 Time: i386 Conversion - part 2: Move timer_tsc.c to tsc.c

In reply to john stultz

All,
The conversion of i386 to use the generic timeofday subsystem has been
split into 6 parts. This patch, the second of six, is a cleanup patch for the i386 arch in preparation of moving the the generic timeofday infrastructure. It moves some code from timer_tsc.c to a new tsc.c file.

It applies on top of my timeofday-arch-i386-part1 patch. This patch is part the timeofday-arch-i386 patchset, so without the following parts it is not expected to compile.

thanks
-john

 arch/i386/kernel/Makefile           |    2 
 arch/i386/kernel/timers/common.c    |   84 ---------
 arch/i386/kernel/timers/timer_tsc.c |  212 -------------------------
 arch/i386/kernel/tsc.c              |  303 ++++++++++++++++++++++++++++++++++++
 include/asm-i386/timex.h            |   34 ----
 include/asm-i386/tsc.h              |   44 +++++
 6 files changed, 349 insertions(+), 330 deletions(-)

linux-2.6.14_timeofday-arch-i386-part2_B10.patch
============================================

arch/i386/kernel/Makefile +1 -1
index 7bc053f..4c4e1e5 100644
@@ -7,7 +7,7 @@ extra-y := head.o init_task.o vmlinux.ld
 obj-y	:= process.o semaphore.o signal.o entry.o traps.o irq.o vm86.o \
 		ptrace.o time.o ioport.o ldt.o setup.o i8259.o sys_i386.o \
 		pci-dma.o i386_ksyms.o i387.o dmi_scan.o bootflag.o \
-		doublefault.o quirks.o i8237.o i8253.o
+		doublefault.o quirks.o i8237.o i8253.o tsc.o
 
 obj-y				+= cpu/
 obj-y				+= timers/
arch/i386/kernel/timers/common.c +0 -84

93 lines not on this page · raw message

arch/i386/kernel/timers/timer_tsc.c +0 -212

242 lines not on this page · raw message

arch/i386/kernel/tsc.c new file +303 -0

303 lines not on this page · raw message

include/asm-i386/timex.h +1 -33
index 292b5a6..ebcc74e 100644
@@ -8,6 +8,7 @@
 
 #include <linux/config.h>
 #include <asm/processor.h>
+#include <asm/tsc.h>
 
 #ifdef CONFIG_X86_ELAN
 #  define CLOCK_TICK_RATE 1189200 /* AMD Elan has different frequency! */
@@ -16,39 +17,6 @@
 #endif
 
 
-/*
- * Standard way to access the cycle counter on i586+ CPUs.
- * Currently only used on SMP.
- *
- * If you really have a SMP machine with i486 chips or older,
- * compile for that, and this will just always return zero.
- * That's ok, it just means that the nicer scheduling heuristics
- * won't work for you.
- *
- * We only use the low 32 bits, and we'd simply better make sure
- * that we reschedule before that wraps. Scheduling at least every
- * four billion cycles just basically sounds like a good idea,
- * regardless of how fast the machine is. 
- */
-typedef unsigned long long cycles_t;
-
-static inline cycles_t get_cycles (void)
-{
-	unsigned long long ret=0;
-
-#ifndef CONFIG_X86_TSC
-	if (!cpu_has_tsc)
-		return 0;
-#endif
-
-#if defined(CONFIG_X86_GENERIC) || defined(CONFIG_X86_TSC)
-	rdtscll(ret);
-#endif
-	return ret;
-}
-
-extern unsigned int cpu_khz;
-
 extern int read_current_timer(unsigned long *timer_value);
 #define ARCH_HAS_READ_CURRENT_TIMER	1
 
include/asm-i386/tsc.h new file +44 -0

44 lines not on this page · raw message

#7 lore raw

PATCH 7/13 Time: i386 Conversion - part 3: Rework TSC Support

In reply to john stultz

All,
The conversion of i386 to use the generic timeofday subsystem has been
split into 6 parts. This patch, the third of six, reworks some of the code in the new tsc.c file, adding some new interfaces and hooks to use these new interfaces appropriately.

It applies on top of my timeofday-arch-i386-part2 patch. This patch is part the timeofday-arch-i386 patchset, so without the following parts it is not expected to compile.

thanks
-john

 arch/i386/kernel/setup.c                    |    1 
 arch/i386/kernel/tsc.c                      |  197 ++++++++++++++--------------
 drivers/acpi/processor_idle.c               |    6 
 include/asm-i386/mach-default/mach_timer.h  |    4 
 include/asm-i386/mach-summit/mach_mpparse.h |    3 
 include/asm-i386/tsc.h                      |    4 
 6 files changed, 122 insertions(+), 93 deletions(-)

linux-2.6.14_timeofday-arch-i386-part3_B10.patch
============================================

arch/i386/kernel/setup.c +1 -0
index fdfcb0c..28ab317 100644
@@ -1620,6 +1620,7 @@ void __init setup_arch(char **cmdline_p)
 	conswitchp = &dummy_con;
 #endif
 #endif
+	tsc_init();
 }
 
 #include "setup_arch_post.h"
arch/i386/kernel/tsc.c +105 -92

304 lines not on this page · raw message

drivers/acpi/processor_idle.c +6 -0
index 573b6a9..47e9c8d 100644
@@ -181,6 +181,7 @@ static void acpi_safe_halt(void)
 }
 
 static atomic_t c3_cpu_count;
+extern void tsc_c3_compensate(unsigned long nsecs);
 
 static void acpi_processor_idle(void)
 {
@@ -354,6 +355,11 @@ static void acpi_processor_idle(void)
 					  ACPI_MTX_DO_NOT_LOCK);
 		}
 
+#ifdef CONFIG_GENERIC_TIME
+		/* compensate for TSC pause */
+		tsc_c3_compensate((u32)(((u64)((t2-t1)&0xFFFFFF)*286070)>>10));
+#endif
+
 		/* Re-enable interrupts */
 		local_irq_enable();
 		/* Compute time (ticks) that we were actually asleep */
include/asm-i386/mach-default/mach_timer.h +3 -1
index 4b9703b..807992f 100644
@@ -15,7 +15,9 @@
 #ifndef _MACH_TIMER_H
 #define _MACH_TIMER_H
 
-#define CALIBRATE_LATCH	(5 * LATCH)
+#define CALIBRATE_TIME_MSEC 30 /* 30 msecs */
+#define CALIBRATE_LATCH	\
+	((CLOCK_TICK_RATE * CALIBRATE_TIME_MSEC + 1000/2)/1000)
 
 static inline void mach_prepare_counter(void)
 {
include/asm-i386/mach-summit/mach_mpparse.h +3 -0
index 1cce2b9..9426839 100644
@@ -2,6 +2,7 @@
 #define __ASM_MACH_MPPARSE_H
 
 #include <mach_apic.h>
+#include <asm/tsc.h>
 
 extern int use_cyclone;
 
@@ -29,6 +30,7 @@ static inline int mps_oem_check(struct m
 			(!strncmp(productid, "VIGIL SMP", 9) 
 			 || !strncmp(productid, "EXA", 3)
 			 || !strncmp(productid, "RUTHLESS SMP", 12))){
+		mark_tsc_unstable();
 		use_cyclone = 1; /*enable cyclone-timer*/
 		setup_summit();
 		return 1;
@@ -42,6 +44,7 @@ static inline int acpi_madt_oem_check(ch
 	if (!strncmp(oem_id, "IBM", 3) &&
 	    (!strncmp(oem_table_id, "SERVIGIL", 8)
 	     || !strncmp(oem_table_id, "EXA", 3))){
+		mark_tsc_unstable();
 		use_cyclone = 1; /*enable cyclone-timer*/
 		setup_summit();
 		return 1;
include/asm-i386/tsc.h +4 -0
index 86288f2..49f0112 100644
@@ -41,4 +41,8 @@ static inline cycles_t get_cycles (void)
 }
 
 extern unsigned int cpu_khz;
+extern unsigned int tsc_khz;
+extern void tsc_init(void);
+void tsc_c3_compensate(unsigned long usecs);
+extern void mark_tsc_unstable(void);
 #endif
#8 lore raw

PATCH 8/13 Time: i386 Conversion - part 4: ACPI PM variable renaming

In reply to john stultz

All,
The conversion of i386 to use the generic timeofday subsystem has been
split into 6 parts. This patch, the fourth of six, renames some ACPI PM variables.

It applies on top of my timeofday-arch-i386-part3 patch. This patch is part the timeofday-arch-i386 patchset, so without the following parts it is not expected to compile.

thanks
-john

 boot.c |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

linux-2.6.14_timeofday-arch-i386-part4_B10.patch
============================================

arch/i386/kernel/acpi/boot.c +10 -8
index bb9ecdc..6d4bd42 100644
@@ -612,7 +612,8 @@ static int __init acpi_parse_hpet(unsign
 #endif
 
 #ifdef CONFIG_X86_PM_TIMER
-extern u32 pmtmr_ioport;
+u32 acpi_pmtmr_ioport;
+int acpi_pmtmr_buggy;
 #endif
 
 static int __init acpi_parse_fadt(unsigned long phys, unsigned long size)
@@ -640,21 +641,22 @@ static int __init acpi_parse_fadt(unsign
 		    ACPI_ADR_SPACE_SYSTEM_IO)
 			return 0;
 
-		pmtmr_ioport = fadt->xpm_tmr_blk.address;
+		acpi_pmtmr_ioport = fadt->xpm_tmr_blk.address;
 		/*
 		 * "X" fields are optional extensions to the original V1.0
 		 * fields, so we must selectively expand V1.0 fields if the
 		 * corresponding X field is zero.
 	 	 */
-		if (!pmtmr_ioport)
-			pmtmr_ioport = fadt->V1_pm_tmr_blk;
+		if (!acpi_pmtmr_ioport)
+			acpi_pmtmr_ioport = fadt->V1_pm_tmr_blk;
 	} else {
 		/* FADT rev. 1 */
-		pmtmr_ioport = fadt->V1_pm_tmr_blk;
+		acpi_pmtmr_ioport = fadt->V1_pm_tmr_blk;
 	}
-	if (pmtmr_ioport)
-		printk(KERN_INFO PREFIX "PM-Timer IO Port: %#x\n",
-		       pmtmr_ioport);
+
+	if (acpi_pmtmr_ioport)
+		printk(KERN_INFO PREFIX "PM-Timer IO Port: %#x\n", acpi_pmtmr_ioport);
+
 #endif
 	return 0;
 }
#9 lore raw

PATCH 9/13 Time: i386 Conversion - part 5: Enable Generic Timekeeping

In reply to john stultz

All,
The conversion of i386 to use the generic timeofday subsystem has been
split into 6 parts. This patch, the fifth of six, converts the i386 arch to use the generic timeofday subsystem.

It applies on top of my timeofday-arch-i386-part4 patch. This patch is the last in the timeofday-arch-i386 patchset, so you should be able to build and boot a kernel after it has been applied.

Note that this patch does not provide any i386 clocksource, so you will only have the jiffies clocksource. To get full replacements for the code being removed here, the following timeofday-clocks-i386 patch will need to be applied.

thanks
-john

 arch/i386/Kconfig            |    4 
 arch/i386/kernel/Makefile    |    1 
 arch/i386/kernel/time.c      |  219 ++++++-------------------------------------
 arch/i386/kernel/tsc.c       |   12 --
 arch/i386/lib/delay.c        |   48 +++++++++
 include/asm-i386/delay.h     |    2 
 include/asm-i386/timeofday.h |    4 
 include/asm-i386/timer.h     |   57 -----------
 8 files changed, 92 insertions(+), 255 deletions(-)

linux-2.6.14_timeofday-arch-i386-part5_B10.patch
============================================

arch/i386/Kconfig +4 -0
index dbf90ad..8408da2 100644
@@ -14,6 +14,10 @@ config X86_32
 	  486, 586, Pentiums, and various instruction-set-compatible chips by
 	  AMD, Cyrix, and others.
 
+config GENERIC_TIME
+	bool
+	default y
+
 config SEMAPHORE_SLEEPERS
 	bool
 	default y
arch/i386/kernel/Makefile +0 -1
index 4c4e1e5..5d1d9c9 100644
@@ -10,7 +10,6 @@ obj-y	:= process.o semaphore.o signal.o 
 		doublefault.o quirks.o i8237.o i8253.o tsc.o
 
 obj-y				+= cpu/
-obj-y				+= timers/
 obj-$(CONFIG_ACPI)		+= acpi/
 obj-$(CONFIG_X86_BIOS_REBOOT)	+= reboot.o
 obj-$(CONFIG_MCA)		+= mca.o
arch/i386/kernel/time.c +34 -185

321 lines not on this page · raw message

arch/i386/kernel/tsc.c +2 -10
index de26f6e..5608c21 100644
@@ -8,6 +8,7 @@
 #include <linux/cpufreq.h>
 #include <linux/jiffies.h>
 #include <asm/tsc.h>
+#include <asm/delay.h>
 #include <asm/io.h>
 #include "mach_timer.h"
 
@@ -36,16 +37,6 @@ static int __init tsc_setup(char *str)
 #endif
 __setup("notsc", tsc_setup);
 
-
-int read_current_timer(unsigned long *timer_val)
-{
-	if (!tsc_disable && cpu_khz) {
-		rdtscl(*timer_val);
-		return 0;
-	}
-	return -1;
-}
-
 /* Code to mark and check if the TSC is unstable
  * due to cpufreq or due to unsynced TSCs
  */
@@ -210,6 +201,7 @@ void tsc_init(void)
 				(unsigned long)cpu_khz % 1000);
 
 	set_cyc2ns_scale(cpu_khz);
+	use_tsc_delay();
 }
 
 
arch/i386/lib/delay.c +46 -2

63 lines not on this page · raw message

include/asm-i386/delay.h +2 -0
index 456db85..b1c7650 100644
@@ -23,4 +23,6 @@ extern void __delay(unsigned long loops)
 	((n) > 20000 ? __bad_ndelay() : __const_udelay((n) * 5ul)) : \
 	__ndelay(n))
 
+void use_tsc_delay(void);
+
 #endif /* defined(_I386_DELAY_H) */
include/asm-i386/timeofday.h new file +4 -0
new file mode 100644
index 0000000..315edf9
@@ -0,0 +1,4 @@
+#ifndef _ASM_I386_TIMEOFDAY_H
+#define _ASM_I386_TIMEOFDAY_H
+#include <asm-generic/timeofday.h>
+#endif
include/asm-i386/timer.h +0 -57

68 lines not on this page · raw message

#10 lore raw

PATCH 10/13 Time: i386 Conversion - part 6: Remove Old Code

In reply to john stultz

All,
The conversion of i386 to use the generic timeofday subsystem has been
split into 6 parts. This patch, the final of four, removes the old timers/timer_opts infrastructure.

It applies on top of my timeofday-arch-i386-part5 patch. This patch is the last in the timeofday-arch-i386 patchset, so you should be able to build and boot a kernel after it has been applied.

Note that this patch does not provide any i386 clocksources, so you will only have the jiffies clocksource. To get full replacements for the code being removed here, the following timeofday-clocks-i386 patch will need to be applied.

thanks
-john

 Makefile        |    9 -
 common.c        |   88 ------------
 timer.c         |   75 ----------
 timer_cyclone.c |  259 -------------------------------------
 timer_hpet.c    |  217 -------------------------------
 timer_none.c    |   39 -----
 timer_pit.c     |  163 -----------------------
 timer_pm.c      |  268 --------------------------------------
 timer_tsc.c     |  388 --------------------------------------------------------
 9 files changed, 1506 deletions(-)

linux-2.6.14_timeofday-arch-i386-part6_B10.patch
============================================

arch/i386/kernel/timers/Makefile deleted +0 -9
deleted file mode 100644
index 8fa12be..0000000
@@ -1,9 +0,0 @@
-#
-# Makefile for x86 timers
-#
-
-obj-y := timer.o timer_none.o timer_tsc.o timer_pit.o common.o
-
-obj-$(CONFIG_X86_CYCLONE_TIMER)	+= timer_cyclone.o
-obj-$(CONFIG_HPET_TIMER)	+= timer_hpet.o
-obj-$(CONFIG_X86_PM_TIMER)	+= timer_pm.o
arch/i386/kernel/timers/common.c deleted +0 -88

88 lines not on this page · raw message

arch/i386/kernel/timers/timer.c deleted +0 -75

75 lines not on this page · raw message

arch/i386/kernel/timers/timer_cyclone.c deleted +0 -259

259 lines not on this page · raw message

arch/i386/kernel/timers/timer_hpet.c deleted +0 -217

217 lines not on this page · raw message

arch/i386/kernel/timers/timer_none.c deleted +0 -39
deleted file mode 100644
index 4ea2f41..0000000
@@ -1,39 +0,0 @@
-#include <linux/init.h>
-#include <asm/timer.h>
-
-static void mark_offset_none(void)
-{
-	/* nothing needed */
-}
-
-static unsigned long get_offset_none(void)
-{
-	return 0;
-}
-
-static unsigned long long monotonic_clock_none(void)
-{
-	return 0;
-}
-
-static void delay_none(unsigned long loops)
-{
-	int d0;
-	__asm__ __volatile__(
-		"\tjmp 1f\n"
-		".align 16\n"
-		"1:\tjmp 2f\n"
-		".align 16\n"
-		"2:\tdecl %0\n\tjns 2b"
-		:"=&a" (d0)
-		:"0" (loops));
-}
-
-/* none timer_opts struct */
-struct timer_opts timer_none = {
-	.name = 	"none",
-	.mark_offset =	mark_offset_none, 
-	.get_offset =	get_offset_none,
-	.monotonic_clock =	monotonic_clock_none,
-	.delay = delay_none,
-};
arch/i386/kernel/timers/timer_pit.c deleted +0 -163

163 lines not on this page · raw message

arch/i386/kernel/timers/timer_pm.c deleted +0 -268

268 lines not on this page · raw message

arch/i386/kernel/timers/timer_tsc.c deleted +0 -388

388 lines not on this page · raw message

#11 lore raw

PATCH 11/13 Time: x86-64 Conversion to Generic Timekeeping

In reply to john stultz

All,
This patch converts the x86-64 arch to use the generic timeofday
infrastructure. It applies on top of my timeofday-core patch. This is a full conversion, so most of this patch is subtractions removing the existing arch specific time keeping code. This patch does not provide any x86-64 clocksourcs, so using this patch alone on top of the timeofday-core patch will only give you the jiffies clocksource. To get full replacements for the code being removed here, the following timeofday-clocks-i386 patch (x86-64 shares the same clocksources as i386) will need to be applied.

thanks
-john

 arch/x86_64/kernel/pmtimer.c       |  101 -------
 b/arch/i386/kernel/acpi/boot.c     |    9 
 b/arch/x86_64/Kconfig              |    8 
 b/arch/x86_64/kernel/Makefile      |    1 
 b/arch/x86_64/kernel/time.c        |  527 ++++++++++++++-----------------------
 b/arch/x86_64/kernel/vmlinux.lds.S |   12 
 b/arch/x86_64/kernel/vsyscall.c    |  126 ++++++--
 b/include/asm-generic/div64.h      |    9 
 b/include/asm-x86_64/hpet.h        |    3 
 b/include/asm-x86_64/timeofday.h   |    4 
 b/include/asm-x86_64/timex.h       |    2 
 b/include/asm-x86_64/vsyscall.h    |    8 
 12 files changed, 353 insertions(+), 457 deletions(-)

linux-2.6.14_timeofday-arch-x86-64_B10.patch
============================================

arch/i386/kernel/acpi/boot.c +5 -4
index bb9ecdc..972d66f 100644
@@ -570,7 +570,7 @@ static int __init acpi_parse_sbf(unsigne
 }
 
 #ifdef CONFIG_HPET_TIMER
-
+#include <asm/hpet.h>
 static int __init acpi_parse_hpet(unsigned long phys, unsigned long size)
 {
 	struct acpi_table_hpet *hpet_tbl;
@@ -592,6 +592,7 @@ static int __init acpi_parse_hpet(unsign
 #ifdef	CONFIG_X86_64
 	vxtime.hpet_address = hpet_tbl->addr.addrl |
 	    ((long)hpet_tbl->addr.addrh << 32);
+	hpet_address = vxtime.hpet_address;
 
 	printk(KERN_INFO PREFIX "HPET id: %#x base: %#lx\n",
 	       hpet_tbl->id, vxtime.hpet_address);
@@ -600,10 +601,10 @@ static int __init acpi_parse_hpet(unsign
 		extern unsigned long hpet_address;
 
 		hpet_address = hpet_tbl->addr.addrl;
-		printk(KERN_INFO PREFIX "HPET id: %#x base: %#lx\n",
-		       hpet_tbl->id, hpet_address);
 	}
-#endif				/* X86 */
+#endif	/* X86 */
+		printk(KERN_INFO PREFIX "HPET id: %#x base: %#lx\n",
+			hpet_tbl->id, hpet_address);
 
 	return 0;
 }
arch/x86_64/Kconfig +8 -0
index 4cce2f6..19b113e 100644
@@ -24,6 +24,14 @@ config X86
 	bool
 	default y
 
+config GENERIC_TIME
+       bool
+       default y
+
+config GENERIC_TIME_VSYSCALL
+       bool
+       default y
+
 config SEMAPHORE_SLEEPERS
 	bool
 	default y
arch/x86_64/kernel/Makefile +0 -1
index 14328ca..0dd7b86 100644
@@ -28,7 +28,6 @@ obj-$(CONFIG_EARLY_PRINTK)	+= early_prin
 obj-$(CONFIG_GART_IOMMU)	+= pci-gart.o aperture.o
 obj-$(CONFIG_DUMMY_IOMMU)	+= pci-nommu.o pci-dma.o
 obj-$(CONFIG_KPROBES)		+= kprobes.o
-obj-$(CONFIG_X86_PM_TIMER)	+= pmtimer.o
 
 obj-$(CONFIG_MODULES)		+= module.o
 
arch/x86_64/kernel/pmtimer.c deleted +0 -101

101 lines not on this page · raw message

arch/x86_64/kernel/time.c +206 -321

627 lines not on this page · raw message

arch/x86_64/kernel/vmlinux.lds.S +12 -0
index 6dd642c..7559b94 100644
@@ -99,6 +99,18 @@ SECTIONS
   .jiffies : AT(VLOAD(.jiffies)) { *(.jiffies) }
   jiffies = VVIRT(.jiffies);
 
+  .vsyscall_fn :  AT(VLOAD(.vsyscall_fn)) { *(.vsyscall_fn) }
+  .vsyscall_data :  AT(VLOAD(.vsyscall_data)) { *(.vsyscall_data) }
+
+  .vsyscall_gtod_data : AT(VLOAD(.vsyscall_gtod_data)) { *(.vsyscall_gtod_data) }
+  vsyscall_gtod_data = VVIRT(.vsyscall_gtod_data);
+
+  .vsyscall_gtod_lock : AT(VLOAD(.vsyscall_gtod_lock)) { *(.vsyscall_gtod_lock) }
+  vsyscall_gtod_lock = VVIRT(.vsyscall_gtod_lock);
+
+  .vsyscall_fn : AT(VLOAD(.vsyscall_fn)) { *(.vsyscall_fn) }
+  .vsyscall_data : AT(VLOAD(.vsyscall_data)) { *(.vsyscall_data) }
+
   .vsyscall_1 ADDR(.vsyscall_0) + 1024: AT(VLOAD(.vsyscall_1)) { *(.vsyscall_1) }
   .vsyscall_2 ADDR(.vsyscall_0) + 2048: AT(VLOAD(.vsyscall_2)) { *(.vsyscall_2) }
   .vsyscall_3 ADDR(.vsyscall_0) + 3072: AT(VLOAD(.vsyscall_3)) { *(.vsyscall_3) }
arch/x86_64/kernel/vsyscall.c +98 -28

173 lines not on this page · raw message

include/asm-generic/div64.h +9 -0
index 8f4e319..910a0fe 100644
@@ -55,4 +55,13 @@ extern uint32_t __div64_32(uint64_t *div
 
 #endif /* BITS_PER_LONG */
 
+#ifndef div_long_long_rem
+#define div_long_long_rem(dividend,divisor,remainder) \
+({							\
+	u64 result = dividend;				\
+	*remainder = do_div(result,divisor);		\
+	result;						\
+})
+#endif
+
 #endif /* _ASM_GENERIC_DIV64_H */
include/asm-x86_64/hpet.h +2 -1
index a3877f5..c8420bb 100644
@@ -1,6 +1,6 @@
 #ifndef _ASM_X8664_HPET_H
 #define _ASM_X8664_HPET_H 1
-
+#include <asm/fixmap.h>
 /*
  * Documentation on HPET can be found at:
  *      http://www.intel.com/ial/home/sp/pcmmspec.htm
@@ -44,6 +44,7 @@
 #define HPET_TN_SETVAL		0x040
 #define HPET_TN_32BIT		0x100
 
+extern unsigned long hpet_address;	/* hpet memory map physical address */
 extern int is_hpet_enabled(void);
 extern int hpet_rtc_timer_init(void);
 extern int oem_force_hpet_timer(void);
include/asm-x86_64/timeofday.h new file +4 -0
new file mode 100644
index 0000000..b344c0e
@@ -0,0 +1,4 @@
+#ifndef _ASM_X86_64_TIMEOFDAY_H
+#define _ASM_X86_64_TIMEOFDAY_H
+#include <asm-generic/timeofday.h>
+#endif
include/asm-x86_64/timex.h +2 -0
index f971f45..a2da183 100644
@@ -24,6 +24,8 @@ static inline cycles_t get_cycles (void)
 }
 
 extern unsigned int cpu_khz;
+extern unsigned int tsc_khz;
+extern void tsc_c3_compensate(unsigned long usecs);
 
 extern int read_current_timer(unsigned long *timer_value);
 #define ARCH_HAS_READ_CURRENT_TIMER	1
include/asm-x86_64/vsyscall.h +7 -1
index 438a3f5..2fe714c 100644
@@ -14,7 +14,7 @@ enum vsyscall_num {
 #define VSYSCALL_ADDR(vsyscall_nr) (VSYSCALL_START+VSYSCALL_SIZE*(vsyscall_nr))
 
 #ifdef __KERNEL__
-
+/* XXX - All of these are unused w/ CONFIG_GENERIC_TIME and should be removed */
 #define __section_vxtime __attribute__ ((unused, __section__ (".vxtime"), aligned(16)))
 #define __section_wall_jiffies __attribute__ ((unused, __section__ (".wall_jiffies"), aligned(16)))
 #define __section_jiffies __attribute__ ((unused, __section__ (".jiffies"), aligned(16)))
@@ -23,6 +23,12 @@ enum vsyscall_num {
 #define __section_xtime __attribute__ ((unused, __section__ (".xtime"), aligned(16)))
 #define __section_xtime_lock __attribute__ ((unused, __section__ (".xtime_lock"), aligned(16)))
 
+/* Definitions for CONFIG_GENERIC_TIME definitions */
+#define __section_vsyscall_gtod_data __attribute__ ((unused, __section__ (".vsyscall_gtod_data"),aligned(16)))
+#define __section_vsyscall_gtod_lock __attribute__ ((unused, __section__ (".vsyscall_gtod_lock"),aligned(16)))
+#define __vsyscall_fn __attribute__ ((unused,__section__(".vsyscall_fn")))
+#define __vsyscall_data __attribute__ ((unused,__section__(".vsyscall_data")))
+
 #define VXTIME_TSC	1
 #define VXTIME_HPET	2
 #define VXTIME_PMTMR	3
#12 lore raw

PATCH 12/13 Time: i386/x86-64 Clocksource Drivers

In reply to john stultz

All,

This patch implements the time sources shared between i386 and x86-64
(acpi_pm, cyclone, hpet, pit, tsc and tsc-interp). The patch should apply on top of the timeofday-arch-i386-part4 patch as well as the arch-x86-64 patch

The patch should be fairly straight forward, only adding the new
clocksources.

thanks
-john

 arch/i386/kernel/Makefile        |    1 
 arch/i386/kernel/hpet.c          |   66 ++++++++++++++++
 arch/i386/kernel/i8253.c         |   55 ++++++++++++++
 arch/i386/kernel/tsc.c           |   75 +++++++++++++++++++
 drivers/Makefile                 |    1 
 drivers/clocksource/Makefile     |    3 
 drivers/clocksource/acpi_pm.c    |  152 +++++++++++++++++++++++++++++++++++++++
 drivers/clocksource/cyclone.c    |  144 ++++++++++++++++++++++++++++++++++++
 drivers/clocksource/tsc-interp.c |  112 ++++++++++++++++++++++++++++
 9 files changed, 609 insertions(+)

linux-2.6.14_timeofday-clocks-i386_B10.patch
============================================

arch/i386/kernel/Makefile +1 -0
index 5d1d9c9..984d488 100644
@@ -33,6 +33,7 @@ obj-$(CONFIG_ACPI_SRAT) 	+= srat.o
 obj-$(CONFIG_HPET_TIMER) 	+= time_hpet.o
 obj-$(CONFIG_EFI) 		+= efi.o efi_stub.o
 obj-$(CONFIG_EARLY_PRINTK)	+= early_printk.o
+obj-$(CONFIG_HPET_TIMER) 	+= hpet.o
 
 EXTRA_AFLAGS   := -traditional
 
arch/i386/kernel/hpet.c new file +66 -0

66 lines not on this page · raw message

arch/i386/kernel/i8253.c +55 -0

64 lines not on this page · raw message

arch/i386/kernel/tsc.c +75 -0

78 lines not on this page · raw message

drivers/Makefile +1 -0
index fac1e16..b23511f 100644
@@ -69,3 +69,4 @@ obj-$(CONFIG_SGI_IOC4)		+= sn/
 obj-y				+= firmware/
 obj-$(CONFIG_CRYPTO)		+= crypto/
 obj-$(CONFIG_SUPERH)		+= sh/
+obj-$(CONFIG_GENERIC_TIME)	+= clocksource/
drivers/clocksource/Makefile new file +3 -0
new file mode 100644
index 0000000..45f60ad
@@ -0,0 +1,3 @@
+#XXX doesn't boot! obj-$(CONFIG_X86) += tsc-interp.o
+obj-$(CONFIG_X86_CYCLONE_TIMER) += cyclone.o
+obj-$(CONFIG_X86_PM_TIMER) += acpi_pm.o
drivers/clocksource/acpi_pm.c new file +152 -0

152 lines not on this page · raw message

drivers/clocksource/cyclone.c new file +144 -0

144 lines not on this page · raw message

drivers/clocksource/tsc-interp.c new file +112 -0

112 lines not on this page · raw message

#13 lore raw

PATCH 13/13 Time: Generic Timekeeping Paraniod Debug Patch

In reply to john stultz

All,

This patch provides paranoid checking of the timekeeping code. It is
not intended to be submitted to mainline, but to allow developers and testers using the timeofday patches to better find or rule-out potential timekeeping problems.

thanks
-john

 arch/i386/Kconfig         |    3 +
 arch/i386/kernel/tsc.c    |   41 ++++++++++++++++
 arch/x86_64/Kconfig       |    3 +
 arch/x86_64/kernel/time.c |   49 +++++++++++++++++++
 kernel/time/timeofday.c   |  114 +++++++++++++++++++++++++++++++++++++++++++++-
 5 files changed, 209 insertions(+), 1 deletion(-)

linux-2.6.14_timeofday-paranoid-debug_B10.patch
============================================

arch/i386/Kconfig +3 -0
index 8408da2..716414e 100644
@@ -18,6 +18,9 @@ config GENERIC_TIME
 	bool
 	default y
 
+config PARANOID_GENERIC_TIME
+	bool "Paraniod Timekeeping Checks"
+
 config SEMAPHORE_SLEEPERS
 	bool
 	default y
arch/i386/kernel/tsc.c +41 -0

53 lines not on this page · raw message

arch/x86_64/Kconfig +3 -0
index 19b113e..4d2be52 100644
@@ -32,6 +32,9 @@ config GENERIC_TIME_VSYSCALL
        bool
        default y
 
+config PARANOID_GENERIC_TIME
+	bool "Paraniod Timekeeping Checks"
+
 config SEMAPHORE_SLEEPERS
 	bool
 	default y
arch/x86_64/kernel/time.c +49 -0

61 lines not on this page · raw message

kernel/time/timeofday.c +113 -1

157 lines not on this page · raw message

#14 lore raw
In reply to john stultz
Quoted 4 lines · john stultz

All,
I had hoped to submit this to -mm today, but since Ingo pointed
out an issue in the __delay code, I'm going to wait a week so the new fix can be better tested.

At least on x86-64 there is currently so much other timer related development going on (per CPU TSC timers, no idle tick, 64bit HPET etc.) that I don't want any x86-64 bits of that merged for the next time. The other stuff needs to settle first.

I haven't read the patchset in full detail, but from a quick look it's also not obvious too me in which way it is easier and cleaner than the old setup. While the old code was quirky in parts the new one seems to fall more in the overmodularization/too many indirect callbacks trap.

It is also totally unclear how it will interact with vsyscall.

-Andi

#15 lore raw
Quoted 11 lines · Andi Kleen
Quoted 4 lines · john stultz

All,
I had hoped to submit this to -mm today, but since Ingo pointed
out an issue in the __delay code, I'm going to wait a week so the new fix can be better tested.

At least on x86-64 there is currently so much other timer related development going on (per CPU TSC timers, no idle tick, 64bit HPET etc.) that I don't want any x86-64 bits of that merged for the next time. The other stuff needs to settle first.

Oh yes, I should have been more clear. I'm not planning on submitting the x86-64 bits yet, just the i386. The x86-64 parts are there as an example that this is useful outside of just i386, and ensures the framework can support more complex features, like vsyscall for example (Also just to give some scope, I have code for ppc that I run at home and code that builds for ppc64, s390, arm, sparc, alpha and ia64, but all of those will need much more work).

Quoted 5 lines

I haven't read the patchset in full detail, but from a quick look it's also not obvious too me in which way it is easier and cleaner than the old setup. While the old code was quirky in parts the new one seems to fall more in the overmodularization/too many indirect callbacks trap.

I appreciate your time in looking at the code. I've added some documentation in Documentation/timekeeping.txt, so let me know if anything there needs further clarification.

However I don't feel it is overmodulation. The close linking between timer interrupts and timekeeping is really problematic because any change in one affects the other. Further, examples like the list above (for per-cpu TSC management and 64bit HPET timkeeping) show that the code could use some modulation so these features can be developed beside the already working implementations without serious conflicts.

Quoted 1 line

It is also totally unclear how it will interact with vsyscall.

vsyscall is probably adds the most complexity to the infrastructure, but I feel I've addressed it in a pretty clean way. And it is working fine for x86-64 and I have an additional patch that enables it for i386.

Take a look at the arch_update_vsyscall() function in the x86-64 code and look at the vread() function in the x86-64 tsc clocksource. These bits could use some cleaning up (I haven't removed the legacy time variables that are exported), but the foundation is there. Please let me know if you have any comments or suggestions for further simplifying that code.

If you need more explanation, I can send the i386 code out on Monday, which might show a more clear example.

Again, I really appreciate your feedback, and once I move my attention off of getting the i386 code to Andrew, the x86-64 is the next arch I'll be focusing on. So suggest away and I'll try to get the code to your liking.

thanks
-john

#16 lore raw
In reply to Andi Kleen
Quoted 9 lines · Andi Kleen

At least on x86-64 there is currently so much other timer related development going on (per CPU TSC timers, no idle tick, 64bit HPET etc.) that I don't want any x86-64 bits of that merged for the next time. The other stuff needs to settle first.

I haven't read the patchset in full detail, but from a quick look it's also not obvious too me in which way it is easier and cleaner than the old setup. While the old code was quirky in parts the new one seems to fall more in the overmodularization/too many indirect callbacks trap.

there are 3 "generic" components needed right now to clean up all time related stuff: GTOD, ktimers and clockevents. [you know the first two, and clockevents is new code from Thomas Gleixner that generalizes timer interrupts and introduces one compact notion for 'clock chips'.]

what is the point? Ontop of these, a previously difficult feature, High Resolution Timers became _massively_ simpler. All of these patches exist together in the -rt tree, so it's not handwaving. The same will be the case for idle ticks / dynamic ticks [we started with HRT because it is so much harder than idle ticks]. So i do agree with you that GTOD needs more work, but it also makes time related features all that much easier.

right now it's GTOD that needs the most work before it can be merged upstream, so you picked the right one to criticise :-)

Ingo

#17 lore raw
Quoted 4 lines · Ingo Molnar

there are 3 "generic" components needed right now to clean up all time related stuff: GTOD, ktimers and clockevents. [you know the first two, and clockevents is new code from Thomas Gleixner that generalizes timer interrupts and introduces one compact notion for 'clock chips'.]

Both noidletick and the per cpu gettimeofday change significantly how timer interrupts work. I hope your generalizations will be still compatible to that. It's a bit dangerous to generalize before things have their final shape.

Also vsyscalls make it all more difficult, because they don't map very well to any kind of "timer drivers".

Quoted 9 lines

what is the point? Ontop of these, a previously difficult feature, High Resolution Timers became _massively_ simpler. All of these patches exist together in the -rt tree, so it's not handwaving. The same will be the case for idle ticks / dynamic ticks [we started with HRT because it is so much harder than idle ticks]. So i do agree with you that GTOD needs more work, but it also makes time related features all that much easier.

right now it's GTOD that needs the most work before it can be merged upstream, so you picked the right one to criticise :-)

My point was basically that there is a lot of feature work going on on x86-64 in this area, and that has priority over any "cleanups" like this from my side. If it has settled again later maybe it can be generalized, or maybe not. I will only do it if it truly makes the code cleaner in the end, just lots of indirect pointers by itself isn't necessarily something that does this.

-Andi

#18 lore raw
Quoted 11 lines · Andi Kleen
Quoted 4 lines · Ingo Molnar

there are 3 "generic" components needed right now to clean up all time related stuff: GTOD, ktimers and clockevents. [you know the first two, and clockevents is new code from Thomas Gleixner that generalizes timer interrupts and introduces one compact notion for 'clock chips'.]

Both noidletick and the per cpu gettimeofday change significantly how timer interrupts work. I hope your generalizations will be still compatible to that. It's a bit dangerous to generalize before things have their final shape.

The separation of timekeeing from the timer tick is one of the core design goals here. This allows timer ticks to be modulated without affecting timekeeping, so I expect this should simplify noidletick. I know you've mentioned it before, but I don't think I've seen the noidletick work on lkml. Do you have a link to this work, so I could make sure the meshing is as nice as I hope it to be?

Quoted 2 lines

Also vsyscalls make it all more difficult, because they don't map very well to any kind of "timer drivers".

Again, it is a bit of complexity, but I feel I've resolved the issue well. However, since it does require more care, specific feedback and suggestions for improvements will be greatly welcomed.

Quoted 10 lines
Quoted 9 lines

what is the point? Ontop of these, a previously difficult feature, High Resolution Timers became _massively_ simpler. All of these patches exist together in the -rt tree, so it's not handwaving. The same will be the case for idle ticks / dynamic ticks [we started with HRT because it is so much harder than idle ticks]. So i do agree with you that GTOD needs more work, but it also makes time related features all that much easier.

right now it's GTOD that needs the most work before it can be merged upstream, so you picked the right one to criticise :-)

Quoted 6 lines

My point was basically that there is a lot of feature work going on on x86-64 in this area, and that has priority over any "cleanups" like this from my side. If it has settled again later maybe it can be generalized, or maybe not. I will only do it if it truly makes the code cleaner in the end, just lots of indirect pointers by itself isn't necessarily something that does this.

I disagree that this is just a cleanup. This work is focused on keeping time correctly, and it fixes a number problems where timekeeping inconsistencies have been seen by customers. Most specifically, those dealing with late or lost timers interrupts. Its just that to fix these issues much of the code had to be reworked, so I spent some time making sure the new method was reusable by other arches and made other time related features (HRT, dynmaic ticks, etc) simpler.

Again, I really look forward to any suggestions you have for the code.

thanks
-john

#19 lore raw
In reply to Andi Kleen
Quoted 3 lines · Andi Kleen

My point was basically that there is a lot of feature work going on on x86-64 in this area, and that has priority over any "cleanups" like this from my side. [...]

i think we are in agreement mostly, but this approach of yours is just ... totally wrong. We are seeing an exponential increase in the 'cost' of new time features because they are being built ontop of a naive base that did not anticipate them. HRT was 'coming soon' for how many years - eight?

just take a look at all the VFS work Al Viro has done and is doing. 90% "cleanups", in preparation of a small 1000-line (or smaller) real feature thing. If it were done the other way around, we'd still be at 5-10 poorly integrated filesystems and a poor VFS landscape - not at the current 50+ filesystems supported by the best VFS on this planet ...

or just take a look at all the work Jens Axboe & co has done in the past 2 years, resurrecting the block IO code from the grave. Jens started at the basics (replacing bhs with bio's), cleaning up the mess at its root. Had they started adding pluggable IO schedulers and IO barriers as the _first_ step, the block IO layer would still be a pain point, instead of a poster-child.

i could go on with other examples. Networking. Firewall code. The MM. Driver architecture - and more. x86_64 did get rid of lots of i386 legacies as well, so you are doing it too. Today's cleanliness is the basis for tomorrow's features, not the other way around. New features _always_ deform the code's internal structure, and if piled upon each other without cleanups inbetween then they form a massive, hard to change and hard to maintain chunk of spaghetti. The time code has been long overdue for a massive cleanup.

the Linux CPU architecture code is currently where the VFS was 5 years ago. Lots of consolidation work was done in the past 1-2 years, but both i386 and x86_64 still have at least 30% of code bloat that does not truly belong into architecture code. Now we have 25 main architectures, and every unnecessary unit of complexity gets multiplied by 25! Suggesting that generalization, common code and cleanups have a lower priority than features is really ignoring history and common sense.

Ingo

#20 lore raw
In reply to john stultz

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 4 lines · john stultz

All,
I had hoped to submit this to -mm today, but since Ingo pointed
out an issue in the __delay code, I'm going to wait a week so the new fix can be better tested.

I replaced the TOD parts of the kthrt patchset with TOD B10. It seems there is something wrong with 'c3tsc' and 'pit', though.

c3tsc appears to run fast:

14 Nov 12:02:13         offset: -0.00247        drift: -2502.0 ppm
14 Nov 12:03:14         offset: -0.145203       drift: -2342.5 ppm
14 Nov 12:04:14         offset: -0.329381       drift: -2700.10655738 ppm
14 Nov 12:05:14         offset: -0.532767       drift: -2927.46703297 ppm
14 Nov 12:06:15         offset: -0.638096       drift: -2626.04115226 ppm

and 'pit' seems to produce errors (system will not switch from pit to another clocksource anymore):

[    7.976858] Time: tsc clocksource has been installed.
[    7.977855] Ktimers: Switched to high resolution mode CPU 0
[   11.443804] Falling back to C3 safe TSC
[   11.504408] check_periodic_interval: Long interval! 177494381.
[   11.510560]          Something may be blocking interrupts.
[   20.223000] Time: acpi_pm clocksource has been installed.
[   20.223000] Ktimers: Switched to high resolution mode CPU 0
[ 2990.834000] Time: c3tsc clocksource has been installed.
[ 2990.835000] Ktimers: Switched to high resolution mode CPU 0
[ 3289.320000] Time: pit clocksource has been installed.
[ 3289.365000] check_monotonic_clock: monotonic inconsistency detected!
[ 3289.365000]  from      2fe277e9c61 (3290607557729) to
2fe2775a556 (3290606970198).
[ 3289.365000] Badness in check_monotonic_clock at
kernel/time/timeofday.c:156
[ 3289.365000]  [<c01381cc>] check_monotonic_clock+0x9c/0x110
[ 3289.365000]  [<c013858e>] get_monotonic_clock+0xae/0xd0
[ 3289.365000]  [<c013642b>] ktimer_interrupt+0x2b/0x2e0
[ 3289.365000]  [<c02d4b4b>] acpi_hw_low_level_write+0xc0/0xd1
[ 3289.365000]  [<c02e258f>] acpi_ut_status_exit+0x48/0x56
[ 3289.365000]  [<c02e258f>] acpi_ut_status_exit+0x48/0x56
[ 3289.365000]  [<c0137c48>] handle_nextevent_profile+0x8/0x20
[ 3289.365000]  [<c0116adb>] smp_apic_timer_interrupt+0x2b/0x30
[ 3289.365000]  [<c0103af0>] apic_timer_interrupt+0x1c/0x24
[ 3289.365000]  [<c02f6000>] acpi_processor_idle+0x127/0x2bd
[ 3289.365000]  [<c01010f2>] cpu_idle+0x42/0x60
[ 3289.365000]  [<c05a9855>] start_kernel+0x175/0x1e0
[ 3289.365000]  [<c05a93a0>] unknown_bootoption+0x0/0x1e0
[ 3289.367000] check_monotonic_clock: monotonic inconsistency detected!
[ 3289.367000]  from      2fe27944675 (3290608977525) to
2fe279428fe (3290608969982).
[ 3289.367000] Badness in check_monotonic_clock at
kernel/time/timeofday.c:156
[ 3289.367000]  [<c01381cc>] check_monotonic_clock+0x9c/0x110
[ 3289.367000]  [<c013858e>] get_monotonic_clock+0xae/0xd0
[ 3289.367000]  [<c013642b>] ktimer_interrupt+0x2b/0x2e0
[ 3289.367000]  [<c02d4b4b>] acpi_hw_low_level_write+0xc0/0xd1
[ 3289.367000]  [<c02e258f>] acpi_ut_status_exit+0x48/0x56
[ 3289.367000]  [<c02e258f>] acpi_ut_status_exit+0x48/0x56
[ 3289.367000]  [<c0137c48>] handle_nextevent_profile+0x8/0x20
[ 3289.367000]  [<c0116adb>] smp_apic_timer_interrupt+0x2b/0x30
[ 3289.367000]  [<c0103af0>] apic_timer_interrupt+0x1c/0x24
[ 3289.367000]  [<c02f6000>] acpi_processor_idle+0x127/0x2bd
[ 3289.367000]  [<c01010f2>] cpu_idle+0x42/0x60
[ 3289.367000]  [<c05a9855>] start_kernel+0x175/0x1e0
[ 3289.367000]  [<c05a93a0>] unknown_bootoption+0x0/0x1e0
[ 3289.371000] check_monotonic_clock: monotonic inconsistency detected!
[ 3289.371000]  from      2fe27da658d (3290613573005) to
2fe27d1304e (3290612969550).
[ 3289.371000] Badness in check_monotonic_clock at
kernel/time/timeofday.c:156
[ 3289.371000]  [<c01381cc>] check_monotonic_clock+0x9c/0x110
[ 3289.371000]  [<c013858e>] get_monotonic_clock+0xae/0xd0
[ 3289.371000]  [<c013642b>] ktimer_interrupt+0x2b/0x2e0
[ 3289.371000]  [<c02d4a7b>] acpi_hw_low_level_read+0xbb/0xcb
[ 3289.371000]  [<c02e258f>] acpi_ut_status_exit+0x48/0x56
[ 3289.371000]  [<c02e258f>] acpi_ut_status_exit+0x48/0x56
[ 3289.371000]  [<c0137c48>] handle_nextevent_profile+0x8/0x20
[ 3289.371000]  [<c0116adb>] smp_apic_timer_interrupt+0x2b/0x30
[ 3289.371000]  [<c0103af0>] apic_timer_interrupt+0x1c/0x24
[ 3289.371000]  [<c02f6000>] acpi_processor_idle+0x127/0x2bd
[ 3289.371000]  [<c01010f2>] cpu_idle+0x42/0x60
[ 3289.371000]  [<c05a9855>] start_kernel+0x175/0x1e0
[ 3289.371000]  [<c05a93a0>] unknown_bootoption+0x0/0x1e0
[ 3289.423000] check_monotonic_clock: monotonic inconsistency detected!
[ 3289.423000]  from      2fe2aeada9c (3290664983196) to
2fe2aea8f4f (3290664963919).
[ 3289.423000] Badness in check_monotonic_clock at
kernel/time/timeofday.c:156
[ 3289.423000]  [<c01381cc>] check_monotonic_clock+0x9c/0x110
[ 3289.423000]  [<c013858e>] get_monotonic_clock+0xae/0xd0
[ 3289.423000]  [<c013642b>] ktimer_interrupt+0x2b/0x2e0
[ 3289.423000]  [<c02d4a7b>] acpi_hw_low_level_read+0xbb/0xcb
[ 3289.423000]  [<c02e258f>] acpi_ut_status_exit+0x48/0x56
[ 3289.423000]  [<c02e258f>] acpi_ut_status_exit+0x48/0x56
[ 3289.423000]  [<c0137c48>] handle_nextevent_profile+0x8/0x20
[ 3289.423000]  [<c0116adb>] smp_apic_timer_interrupt+0x2b/0x30
[ 3289.423000]  [<c0103af0>] apic_timer_interrupt+0x1c/0x24
[ 3289.423000]  [<c02f6000>] acpi_processor_idle+0x127/0x2bd
[ 3289.423000]  [<c01010f2>] cpu_idle+0x42/0x60
[ 3289.423000]  [<c05a9855>] start_kernel+0x175/0x1e0
[ 3289.423000]  [<c05a93a0>] unknown_bootoption+0x0/0x1e0
[ 3289.507000] check_monotonic_clock: monotonic inconsistency detected!
[ 3289.507000]  from      2fe2ff461ee (3290749493742) to
2fe2fec28c7 (3290748954823).
[ 3289.507000] Badness in check_monotonic_clock at
kernel/time/timeofday.c:156
[ 3289.507000]  [<c01381cc>] check_monotonic_clock+0x9c/0x110
[ 3289.507000]  [<c013858e>] get_monotonic_clock+0xae/0xd0
[ 3289.507000]  [<c013642b>] ktimer_interrupt+0x2b/0x2e0
[ 3289.507000]  [<c02d4b4b>] acpi_hw_low_level_write+0xc0/0xd1
[ 3289.507000]  [<c02e258f>] acpi_ut_status_exit+0x48/0x56
[ 3289.507000]  [<c02e258f>] acpi_ut_status_exit+0x48/0x56
[ 3289.507000]  [<c0137c48>] handle_nextevent_profile+0x8/0x20
[ 3289.507000]  [<c0116adb>] smp_apic_timer_interrupt+0x2b/0x30
[ 3289.507000]  [<c0103af0>] apic_timer_interrupt+0x1c/0x24
[ 3289.507000]  [<c02f6000>] acpi_processor_idle+0x127/0x2bd
[ 3289.507000]  [<c01010f2>] cpu_idle+0x42/0x60
[ 3289.507000]  [<c05a9855>] start_kernel+0x175/0x1e0
[ 3289.507000]  [<c05a93a0>] unknown_bootoption+0x0/0x1e0
[ 3289.509000] check_monotonic_clock: monotonic inconsistency detected!
[ 3289.509000]  from      2fe300aeaa3 (3290750970531) to
2fe300aac6f (3290750954607).
[ 3289.509000] Badness in check_monotonic_clock at
kernel/time/timeofday.c:156
[ 3289.509000]  [<c01381cc>] check_monotonic_clock+0x9c/0x110
[ 3289.509000]  [<c013858e>] get_monotonic_clock+0xae/0xd0
[ 3289.509000]  [<c013642b>] ktimer_interrupt+0x2b/0x2e0
[ 3289.509000]  [<c02d4a7b>] acpi_hw_low_level_read+0xbb/0xcb
[ 3289.509000]  [<c02e258f>] acpi_ut_status_exit+0x48/0x56
[ 3289.509000]  [<c02e258f>] acpi_ut_status_exit+0x48/0x56
[ 3289.509000]  [<c0137c48>] handle_nextevent_profile+0x8/0x20
[ 3289.509000]  [<c0116adb>] smp_apic_timer_interrupt+0x2b/0x30
[ 3289.509000]  [<c0103af0>] apic_timer_interrupt+0x1c/0x24
[ 3289.509000]  [<c02f6000>] acpi_processor_idle+0x127/0x2bd
[ 3289.509000]  [<c01010f2>] cpu_idle+0x42/0x60
[ 3289.509000]  [<c05a9855>] start_kernel+0x175/0x1e0
[ 3289.509000]  [<c05a93a0>] unknown_bootoption+0x0/0x1e0
[ 3289.525000] check_monotonic_clock: monotonic inconsistency detected!
[ 3289.525000]  from      2fe30ff1b84 (3290766973828) to
2fe30fec9aa (3290766952874).
[ 3289.525000] Badness in check_monotonic_clock at
kernel/time/timeofday.c:156
[ 3289.525000]  [<c01381cc>] check_monotonic_clock+0x9c/0x110
[ 3289.525000]  [<c013858e>] get_monotonic_clock+0xae/0xd0
[ 3289.525000]  [<c013642b>] ktimer_interrupt+0x2b/0x2e0
[ 3289.525000]  [<c02d4a7b>] acpi_hw_low_level_read+0xbb/0xcb
[ 3289.525000]  [<c02e258f>] acpi_ut_status_exit+0x48/0x56
[ 3289.525000]  [<c02e258f>] acpi_ut_status_exit+0x48/0x56
[ 3289.525000]  [<c0137c48>] handle_nextevent_profile+0x8/0x20
[ 3289.525000]  [<c0116adb>] smp_apic_timer_interrupt+0x2b/0x30
[ 3289.525000]  [<c0103af0>] apic_timer_interrupt+0x1c/0x24
[ 3289.525000]  [<c02f6000>] acpi_processor_idle+0x127/0x2bd
[ 3289.525000]  [<c01010f2>] cpu_idle+0x42/0x60
[ 3289.525000]  [<c05a9855>] start_kernel+0x175/0x1e0
[ 3289.525000]  [<c05a93a0>] unknown_bootoption+0x0/0x1e0
[ 3289.541000] check_monotonic_clock: monotonic inconsistency detected!
[ 3289.541000]  from      2fe31f4adfa (3290783067642) to
2fe31f2e6e6 (3290782951142).
[ 3289.541000] Badness in check_monotonic_clock at
kernel/time/timeofday.c:156
[ 3289.541000]  [<c01381cc>] check_monotonic_clock+0x9c/0x110
[ 3289.541000]  [<c013858e>] get_monotonic_clock+0xae/0xd0
[ 3289.541000]  [<c013642b>] ktimer_interrupt+0x2b/0x2e0
[ 3289.541000]  [<c02d4b4b>] acpi_hw_low_level_write+0xc0/0xd1
[ 3289.541000]  [<c02e258f>] acpi_ut_status_exit+0x48/0x56
[ 3289.541000]  [<c02e258f>] acpi_ut_status_exit+0x48/0x56
[ 3289.541000]  [<c0137c48>] handle_nextevent_profile+0x8/0x20
[ 3289.541000]  [<c0116adb>] smp_apic_timer_interrupt+0x2b/0x30
[ 3289.541000]  [<c0103af0>] apic_timer_interrupt+0x1c/0x24
[ 3289.541000]  [<c02f6000>] acpi_processor_idle+0x127/0x2bd
[ 3289.541000]  [<c01010f2>] cpu_idle+0x42/0x60
[ 3289.541000]  [<c05a9855>] start_kernel+0x175/0x1e0
[ 3289.541000]  [<c05a93a0>] unknown_bootoption+0x0/0x1e0
[ 3289.543000] check_monotonic_clock: monotonic inconsistency detected!
[ 3289.543000]  from      2fe32117aec (3290784955116) to
2fe32116a8d (3290784950925).
[ 3289.543000] Badness in check_monotonic_clock at
kernel/time/timeofday.c:156
[ 3289.543000]  [<c01381cc>] check_monotonic_clock+0x9c/0x110
[ 3289.543000]  [<c013858e>] get_monotonic_clock+0xae/0xd0
[ 3289.543000]  [<c013642b>] ktimer_interrupt+0x2b/0x2e0
[ 3289.543000]  [<c02d4a7b>] acpi_hw_low_level_read+0xbb/0xcb
[ 3289.543000]  [<c02e258f>] acpi_ut_status_exit+0x48/0x56
[ 3289.543000]  [<c02e258f>] acpi_ut_status_exit+0x48/0x56
[ 3289.543000]  [<c0137c48>] handle_nextevent_profile+0x8/0x20
[ 3289.543000]  [<c0116adb>] smp_apic_timer_interrupt+0x2b/0x30
[ 3289.543000]  [<c0103af0>] apic_timer_interrupt+0x1c/0x24
[ 3289.543000]  [<c02f6000>] acpi_processor_idle+0x127/0x2bd
[ 3289.543000]  [<c01010f2>] cpu_idle+0x42/0x60
[ 3289.543000]  [<c05a9855>] start_kernel+0x175/0x1e0
[ 3289.543000]  [<c05a93a0>] unknown_bootoption+0x0/0x1e0
[ 3289.545000] check_monotonic_clock: monotonic inconsistency detected!
[ 3289.545000]  from      2fe322ffe93 (3290786954899) to
2fe322fee35 (3290786950709).
[ 3289.545000] Badness in check_monotonic_clock at
kernel/time/timeofday.c:156
[ 3289.545000]  [<c01381cc>] check_monotonic_clock+0x9c/0x110
[ 3289.545000]  [<c013858e>] get_monotonic_clock+0xae/0xd0
[ 3289.545000]  [<c013642b>] ktimer_interrupt+0x2b/0x2e0
[ 3289.545000]  [<c02d4a7b>] acpi_hw_low_level_read+0xbb/0xcb
[ 3289.545000]  [<c02e258f>] acpi_ut_status_exit+0x48/0x56
[ 3289.545000]  [<c02e258f>] acpi_ut_status_exit+0x48/0x56
[ 3289.545000]  [<c0137c48>] handle_nextevent_profile+0x8/0x20
[ 3289.545000]  [<c0116adb>] smp_apic_timer_interrupt+0x2b/0x30
[ 3289.545000]  [<c0103af0>] apic_timer_interrupt+0x1c/0x24
[ 3289.545000]  [<c02f6000>] acpi_processor_idle+0x127/0x2bd
[ 3289.545000]  [<c01010f2>] cpu_idle+0x42/0x60
[ 3289.545000]  [<c05a9855>] start_kernel+0x175/0x1e0
[ 3289.545000]  [<c05a93a0>] unknown_bootoption+0x0/0x1e0
[ 3695.183000] check_periodic_interval: Long interval! 106988521.
[ 3695.183000]          Something may be blocking interrupts.
[ 3716.931000] check_periodic_interval: Long interval! 102989788.
[ 3716.931000]          Something may be blocking interrupts.
[ 3731.137000] check_periodic_interval: Long interval! 101989057.
[ 3731.137000]          Something may be blocking interrupts.
[ 3739.737000] check_periodic_interval: Long interval! 101000060.
[ 3739.737000]          Something may be blocking interrupts.
[ 3741.268000] check_periodic_interval: Long interval! 106989359.
[ 3741.268000]          Something may be blocking interrupts.
[ 3741.990000] check_periodic_interval: Long interval! 100990002.
[ 3741.990000]          Something may be blocking interrupts.
[ 3772.714000] check_periodic_interval: Long interval! 104811889.
[ 3772.714000]          Something may be blocking interrupts.
[ 3779.810000] check_periodic_interval: Long interval! 101989057.
[ 3779.810000]          Something may be blocking interrupts.
[ 3781.311000] check_periodic_interval: Long interval! 109989037.
[ 3781.311000]          Something may be blocking interrupts.

Frank
- --
Frank Sorenson - KD7TZK
Systems Manager, Computer Science Department Brigham Young University
[email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFDeP//aI0dwg4A47wRAkOZAKDTpjo/+xOdOmwvOXQX++IHMEytvQCgxfu+ ct9J4Rt7zIkwQx6a8FpWgwo=
=iVge
-----END PGP SIGNATURE-----

#21 lore raw
Quoted 12 lines · Frank Sorenson

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 4 lines · john stultz

All,
I had hoped to submit this to -mm today, but since Ingo pointed
out an issue in the __delay code, I'm going to wait a week so the new fix can be better tested.

I replaced the TOD parts of the kthrt patchset with TOD B10. It seems there is something wrong with 'c3tsc' and 'pit', though.

Quoted 6 lines

c3tsc appears to run fast:

14 Nov 12:02:13         offset: -0.00247        drift: -2502.0 ppm
14 Nov 12:03:14         offset: -0.145203       drift: -2342.5 ppm
14 Nov 12:04:14         offset: -0.329381       drift: -2700.10655738 ppm
14 Nov 12:05:14         offset: -0.532767       drift: -2927.46703297 ppm
14 Nov 12:06:15         offset: -0.638096       drift: -2626.04115226 ppm

Hmm... Not sure if this is mis-calibration or just bad-interaction w/ kthrt. Mind sending a dmesg to me?

Quoted 2 lines

and 'pit' seems to produce errors (system will not switch from pit to another clocksource anymore):

Do the TOD patches have this issue by themselves, or is this only with kthrt? I know I had some issues with non-continuous clocksources (pit, jiffies) with the kthrt patch, where it wouldn't fall back to non-high-res when the clocksource stopped supporting it.

thanks
-john

#22 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 2 lines · john stultz

Hmm... Not sure if this is mis-calibration or just bad-interaction w/ kthrt. Mind sending a dmesg to me?

dmesg attached

Quoted 2 lines
Quoted 2 lines

and 'pit' seems to produce errors (system will not switch from pit to another clocksource anymore):

Odd. This time, I got the errors when I switched from acpi_pm (which it had defaulted to at bootup) to jiffies. System has not locked at one clocksource yet, though.

Quoted 4 lines

Do the TOD patches have this issue by themselves, or is this only with kthrt? I know I had some issues with non-continuous clocksources (pit, jiffies) with the kthrt patch, where it wouldn't fall back to non-high-res when the clocksource stopped supporting it.

I only tried with kthrt because I ran into lots of conflicts when applying the patches to more recent kernels otherwise. I can try again with 2.6.14-mm2 in order to test it out.

Frank
- --
Frank Sorenson - KD7TZK
Systems Manager, Computer Science Department Brigham Young University
[email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFDeQdNaI0dwg4A47wRAmPLAJsGeBvY/M7wc4UehisbcLDVxcYi7wCgoaZM gEKYNqAsmtXrgKI7ePr8Whg=
=wjaI
-----END PGP SIGNATURE-----

[    0.000000] Linux version 2.6.15-rc1-kthrt2-fs2 ([email protected]) (gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)) #2 PREEMPT Sun Nov 13 18:41:34 MST 2005
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
[    0.000000]  BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 000000005ffae000 (usable)
[    0.000000]  BIOS-e820: 000000005ffae000 - 0000000060000000 (reserved)
[    0.000000]  BIOS-e820: 00000000feda0000 - 00000000fee00000 (reserved)
[    0.000000]  BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
[    0.000000] 639MB HIGHMEM available.
[    0.000000] 896MB LOWMEM available.
[    0.000000] On node 0 totalpages: 393134
[    0.000000]   DMA zone: 4096 pages, LIFO batch:2
[    0.000000]   Normal zone: 225280 pages, LIFO batch:64
[    0.000000]   HighMem zone: 163758 pages, LIFO batch:64
[    0.000000] DMI 2.3 present.
[    0.000000] ACPI: RSDP (v000 DELL                                  ) @ 0x000fdf00
[    0.000000] ACPI: RSDT (v001 DELL    CPi R   0x27d50201 ASL  0x00000061) @ 0x5fff0000
[    0.000000] ACPI: FADT (v001 DELL    CPi R   0x27d50201 ASL  0x00000061) @ 0x5fff0400
[    0.000000] ACPI: DSDT (v001 INT430 SYSFexxx 0x00001001 MSFT 0x0100000e) @ 0x00000000
[    0.000000] ACPI: PM-Timer IO Port: 0x808
[    0.000000] Allocating PCI resources starting at 70000000 (gap: 60000000:9eda0000)
[    0.000000] Detected 1993.647 MHz processor.
[   10.305106] Built 1 zonelists
[   10.305108] Kernel command line: ro root=LABEL=/1 vga=794 nmi_watchdog=1 apic=verbose lapic psmouse.proto=exps acpi_sleep=s3_bios init=/sbin/tuxinit console=tty0 console=ttyUSB0,9600
[   10.305320] Local APIC disabled by BIOS -- reenabling.
[   10.305322] Found and enabled local APIC!
[   10.305324] mapped APIC to ffffd000 (fee00000)
[   10.305328] Initializing CPU#0
[   10.305386] CPU 0 irqstacks, hard=c05e4000 soft=c05e3000
[   10.305389] PID hash table entries: 4096 (order: 12, 65536 bytes)
[   10.426439] Event source pit installed with caps set: 0f
[   10.426468] Console: colour dummy device 80x25
[   10.427104] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[   10.427813] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[   10.481089] Memory: 1550872k/1572536k available (3506k kernel code, 19564k reserved, 1260k data, 212k init, 655032k highmem)
[   10.481109] Checking if this processor honours the WP bit even in supervisor mode... Ok.
[   10.540282] Calibrating delay using timer specific routine.. 3988.30 BogoMIPS (lpj=1994153)
[   10.540327] Mount-cache hash table entries: 512
[   10.540452] CPU: After generic identify, caps: afe9fbbf 00000000 00000000 00000000 00000180 00000000 00000000
[   10.540461] CPU: After vendor identify, caps: afe9fbbf 00000000 00000000 00000000 00000180 00000000 00000000
[   10.540470] CPU: L1 I cache: 32K, L1 D cache: 32K
[   10.540474] CPU: L2 cache: 2048K
[   10.540476] CPU: After all inits, caps: afe9fbbf 00000000 00000000 00000040 00000180 00000000 00000000
[   10.540482] Intel machine check architecture supported.
[   10.540487] Intel machine check reporting enabled on CPU#0.
[   10.540500] mtrr: v2.0 (20020519)
[   10.540505] CPU: Intel(R) Pentium(R) M processor 2.00GHz stepping 06
[   10.540510] Enabling fast FPU save and restore... done.
[   10.540513] Enabling unmasked SIMD FPU exception support... done.
[   10.540518] Checking 'hlt' instruction... OK.
[   10.551138]  tbxface-0109 [02] load_tables           : ACPI Tables successfully acquired
[   10.553386] Parsing all Control Methods:........................................................................................................................................................
[   10.558219] Table [DSDT](id 0005) - 364 Objects with 60 Devices 152 Methods 5 Regions
[   10.558225] ACPI Namespace successfully loaded at root c062e158
[   10.558232] ACPI: setting ELCR to 0200 (from 0800)
[   10.559935] evxfevnt-0091 [03] enable                : Transition to ACPI mode successful
[   10.560003] enabled ExtINT on CPU#0
[   10.560008] Using local APIC timer interrupts.
[   10.560011] calibrating APIC timer ...
[   10.660108] ..... CPU clock speed is 1993.0218 MHz.
[   10.660110] ..... host bus clock speed is 99.0660 MHz.
[   10.660114] Event source pit new caps set: 05
[   10.660117] Event source lapic installed with caps set: 0a
[   10.660220] checking if image is initramfs... it is
[   10.726911] Freeing initrd memory: 985k freed
[   10.727021] DEV: registering device: ID = 'platform'
[   10.727026] PM: Adding info for No Bus:platform
[   10.727039] bus type 'platform' registered
[   10.727041] Registering sysdev class '<NULL>'
[   10.727215] NET: Registered protocol family 16
[   10.727228] device class 'pci_bus': registering
[   10.727234] bus type 'pci' registered
[   10.727236] device class 'tty': registering
[   10.727240] ACPI: bus type pci registered
[   10.744176] PCI: PCI BIOS revision 2.10 entry at 0xfcf9e, last bus=2
[   10.744184] PCI: Using configuration type 1
[   10.744189] Registering sys device 'cpu0'
[   10.744789] bus type 'usb' registered
[   10.744793] device class 'usb_host': registering
[   10.744800] device class 'usb': registering
[   10.744804] bus usb: add driver usbfs
[   10.745049] usbcore: registered new driver usbfs
[   10.745056] device class 'usb_device': registering
[   10.745064] bus usb: add driver hub
[   10.745254] usbcore: registered new driver hub
[   10.745264] bus usb: add driver usb
[   10.745445] device class 'graphics': registering
[   10.745450] ACPI: Subsystem revision 20050902
[   10.746619] evgpeblk-0988 [06] ev_create_gpe_block   : GPE 00 to 1F [_GPE] 4 regs on int 0x9
[   10.746628] evgpeblk-0996 [06] ev_create_gpe_block   : Found 7 Wake, Enabled 2 Runtime GPEs in this block
[   10.753904] Completing Region/Field/Buffer/Package initialization:.............................................
[   10.755836] Initialized 3/5 Regions 6/7 Fields 20/21 Buffers 16/25 Packages (373 nodes)
[   10.755842] Executing all Device _STA and_INI methods:................................................................
[   10.759907] 64 Devices found containing: 64 _STA, 3 _INI methods
[   10.759919] ACPI: Interpreter enabled
[   10.759922] ACPI: Using PIC for interrupt routing
[   10.762706] ACPI: PCI Root Bridge [PCI0] (0000:00)
[   10.762711] PCI: Probing PCI hardware (bus 00)
[   10.762716] DEV: registering device: ID = 'pci0000:00'
[   10.762721] PM: Adding info for No Bus:pci0000:00
[   10.762924] ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
[   10.773298] CLASS: registering class device: ID = '0000:00'
[   10.773304] class_hotplug - name = 0000:00
[   10.773790] PCI quirk: region 0800-087f claimed by ICH4 ACPI/GPIO/TCO
[   10.773795] PCI quirk: region 0880-08bf claimed by ICH4 GPIO
[   10.773838] PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
[   10.773929] CLASS: registering class device: ID = '0000:01'
[   10.773934] class_hotplug - name = 0000:01
[   10.774151] Boot video device is 0000:01:00.0
[   10.774184] CLASS: registering class device: ID = '0000:02'
[   10.774188] class_hotplug - name = 0000:02
[   10.774582] PCI: Transparent bridge - 0000:00:1e.0
[   10.774606] CLASS: registering class device: ID = '0000:03'
[   10.774611] class_hotplug - name = 0000:03
[   10.774811] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[   10.775302] DEV: registering device: ID = '0000:00:00.0'
[   10.775479] PM: Adding info for pci:0000:00:00.0
[   10.775483] bus pci: add device 0000:00:00.0
[   10.776573] DEV: registering device: ID = '0000:00:01.0'
[   10.776768] PM: Adding info for pci:0000:00:01.0
[   10.776774] bus pci: add device 0000:00:01.0
[   10.777862] DEV: registering device: ID = '0000:00:1d.0'
[   10.777940] PM: Adding info for pci:0000:00:1d.0
[   10.777943] bus pci: add device 0000:00:1d.0
[   10.779027] DEV: registering device: ID = '0000:00:1d.1'
[   10.779242] PM: Adding info for pci:0000:00:1d.1
[   10.779249] bus pci: add device 0000:00:1d.1
[   10.780339] DEV: registering device: ID = '0000:00:1d.2'
[   10.780548] PM: Adding info for pci:0000:00:1d.2
[   10.780551] bus pci: add device 0000:00:1d.2
[   10.781646] DEV: registering device: ID = '0000:00:1d.7'
[   10.781854] PM: Adding info for pci:0000:00:1d.7
[   10.781857] bus pci: add device 0000:00:1d.7
[   10.782955] DEV: registering device: ID = '0000:00:1e.0'
[   10.783170] PM: Adding info for pci:0000:00:1e.0
[   10.783175] bus pci: add device 0000:00:1e.0
[   10.784268] DEV: registering device: ID = '0000:00:1f.0'
[   10.784489] PM: Adding info for pci:0000:00:1f.0
[   10.784494] bus pci: add device 0000:00:1f.0
[   10.785594] DEV: registering device: ID = '0000:00:1f.1'
[   10.785806] PM: Adding info for pci:0000:00:1f.1
[   10.785810] bus pci: add device 0000:00:1f.1
[   10.786898] DEV: registering device: ID = '0000:00:1f.5'
[   10.787123] PM: Adding info for pci:0000:00:1f.5
[   10.787131] bus pci: add device 0000:00:1f.5
[   10.788220] DEV: registering device: ID = '0000:00:1f.6'
[   10.788441] PM: Adding info for pci:0000:00:1f.6
[   10.788445] bus pci: add device 0000:00:1f.6
[   10.789541] DEV: registering device: ID = '0000:01:00.0'
[   10.789902] PM: Adding info for pci:0000:01:00.0
[   10.789906] bus pci: add device 0000:01:00.0
[   10.789965] DEV: registering device: ID = '0000:02:00.0'
[   10.790191] PM: Adding info for pci:0000:02:00.0
[   10.790197] bus pci: add device 0000:02:00.0
[   10.790284] DEV: registering device: ID = '0000:02:01.0'
[   10.790499] PM: Adding info for pci:0000:02:01.0
[   10.790505] bus pci: add device 0000:02:01.0
[   10.790600] DEV: registering device: ID = '0000:02:01.1'
[   10.790812] PM: Adding info for pci:0000:02:01.1
[   10.790816] bus pci: add device 0000:02:01.1
[   10.790900] DEV: registering device: ID = '0000:02:01.2'
[   10.791132] PM: Adding info for pci:0000:02:01.2
[   10.791142] bus pci: add device 0000:02:01.2
[   10.791227] DEV: registering device: ID = '0000:02:03.0'
[   10.791440] PM: Adding info for pci:0000:02:03.0
[   10.791444] bus pci: add device 0000:02:03.0
[   10.800686] ACPI: PCI Interrupt Link [LNKA] (IRQs 9 10 *11)
[   10.801350] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 7) *11
[   10.801993] ACPI: PCI Interrupt Link [LNKC] (IRQs 9 10 *11)
[   10.802628] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 9 10 *11)
[   10.803242] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
[   10.803878] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
[   10.805712] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
[   10.808270] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIE._PRT]
[   10.809598] Linux Plug and Play Support v0.97 (c) Adam Belay
[   10.809613] bus type 'pnp' registered
[   10.809614] pnp: PnP ACPI init
[   10.809619] DEV: registering device: ID = 'pnp0'
[   10.809622] PM: Adding info for No Bus:pnp0
[   10.818494] DEV: registering device: ID = '00:00'
[   10.818675] PM: Adding info for pnp:00:00
[   10.818678] bus pnp: add device 00:00
[   10.818753] DEV: registering device: ID = '00:01'
[   10.818964] PM: Adding info for pnp:00:01
[   10.818969] bus pnp: add device 00:01
[   10.819043] DEV: registering device: ID = '00:02'
[   10.819247] PM: Adding info for pnp:00:02
[   10.819250] bus pnp: add device 00:02
[   10.819330] DEV: registering device: ID = '00:03'
[   10.819536] PM: Adding info for pnp:00:03
[   10.819541] bus pnp: add device 00:03
[   10.819615] DEV: registering device: ID = '00:04'
[   10.819829] PM: Adding info for pnp:00:04
[   10.819837] bus pnp: add device 00:04
[   10.819920] DEV: registering device: ID = '00:05'
[   10.820136] PM: Adding info for pnp:00:05
[   10.820140] bus pnp: add device 00:05
[   10.820220] DEV: registering device: ID = '00:06'
[   10.820433] PM: Adding info for pnp:00:06
[   10.820436] bus pnp: add device 00:06
[   10.820506] DEV: registering device: ID = '00:07'
[   10.820722] PM: Adding info for pnp:00:07
[   10.820725] bus pnp: add device 00:07
[   10.820809] DEV: registering device: ID = '00:08'
[   10.821030] PM: Adding info for pnp:00:08
[   10.821035] bus pnp: add device 00:08
[   10.821109] DEV: registering device: ID = '00:09'
[   10.821328] PM: Adding info for pnp:00:09
[   10.821334] bus pnp: add device 00:09
[   10.822069] pnp: PnP ACPI: found 10 devices
[   10.822081] device class 'misc': registering
[   10.822090] device class 'pcmcia_socket': registering
[   10.822100] device class 'input': registering
[   10.822110] bus type 'i2c' registered
[   10.822112] bus i2c: add driver i2c_adapter
[   10.822354] device class 'i2c-adapter': registering
[   10.822362] bus type 'ac97' registered
[   10.822364] PCI: Using ACPI for IRQ routing
[   10.822369] PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
[   10.829255] device class 'net': registering
[   10.838241] bus pnp: add driver system
[   10.838455] pnp: Matched Device 00:00 with Driver system
[   10.838458] bound device '00:00' to driver 'system'
[   10.838461] pnp: Bound Device 00:00 to Driver system
[   10.838463] pnp: Matched Device 00:01 with Driver system
[   10.838466] pnp: 00:01: ioport range 0x4d0-0x4d1 has been reserved
[   10.838471] pnp: 00:01: ioport range 0x800-0x805 could not be reserved
[   10.838475] pnp: 00:01: ioport range 0x808-0x80f could not be reserved
[   10.838478] bound device '00:01' to driver 'system'
[   10.838480] pnp: Bound Device 00:01 to Driver system
[   10.838482] pnp: Matched Device 00:02 with Driver system
[   10.838484] pnp: 00:02: ioport range 0xf400-0xf4fe has been reserved
[   10.838488] pnp: 00:02: ioport range 0x806-0x807 has been reserved
[   10.838491] pnp: 00:02: ioport range 0x810-0x85f could not be reserved
[   10.838495] pnp: 00:02: ioport range 0x860-0x87f has been reserved
[   10.838498] pnp: 00:02: ioport range 0x880-0x8bf has been reserved
[   10.838501] pnp: 00:02: ioport range 0x8c0-0x8df has been reserved
[   10.838504] bound device '00:02' to driver 'system'
[   10.838506] pnp: Bound Device 00:02 to Driver system
[   10.838510] pnp: Matched Device 00:07 with Driver system
[   10.838512] pnp: 00:07: ioport range 0x900-0x97f has been reserved
[   10.838515] bound device '00:07' to driver 'system'
[   10.838517] pnp: Bound Device 00:07 to Driver system
[   10.838522] device class 'mem': registering
[   10.838527] CLASS: registering class device: ID = 'mem'
[   10.838532] class_hotplug - name = mem
[   10.838535] class_device_create_hotplug called for mem
[   10.838709] CLASS: registering class device: ID = 'kmem'
[   10.838714] class_hotplug - name = kmem
[   10.838716] class_device_create_hotplug called for kmem
[   10.838936] CLASS: registering class device: ID = 'null'
[   10.838941] class_hotplug - name = null
[   10.838943] class_device_create_hotplug called for null
[   10.839147] CLASS: registering class device: ID = 'port'
[   10.839152] class_hotplug - name = port
[   10.839154] class_device_create_hotplug called for port
[   10.839360] CLASS: registering class device: ID = 'zero'
[   10.839367] class_hotplug - name = zero
[   10.839369] class_device_create_hotplug called for zero
[   10.839565] CLASS: registering class device: ID = 'full'
[   10.839571] class_hotplug - name = full
[   10.839573] class_device_create_hotplug called for full
[   10.839778] CLASS: registering class device: ID = 'random'
[   10.839784] class_hotplug - name = random
[   10.839786] class_device_create_hotplug called for random
[   10.840012] CLASS: registering class device: ID = 'urandom'
[   10.840019] class_hotplug - name = urandom
[   10.840021] class_device_create_hotplug called for urandom
[   10.840229] CLASS: registering class device: ID = 'kmsg'
[   10.840235] class_hotplug - name = kmsg
[   10.840237] class_device_create_hotplug called for kmsg
[   10.840464] bus type 'pcmcia' registered
[   10.840498] PCI: Bridge: 0000:00:01.0
[   10.840505]   IO window: c000-cfff
[   10.840509]   MEM window: fc000000-fdffffff
[   10.840513]   PREFETCH window: f0000000-f7ffffff
[   10.840521] PCI: Bus 3, cardbus bridge: 0000:02:01.0
[   10.840524]   IO window: 0000e000-0000e0ff
[   10.840528]   IO window: 0000e400-0000e4ff
[   10.840533]   PREFETCH window: 70000000-71ffffff
[   10.840537]   MEM window: 74000000-75ffffff
[   10.840541] PCI: Bridge: 0000:00:1e.0
[   10.840545]   IO window: e000-efff
[   10.840550]   MEM window: fa000000-fbffffff
[   10.840555]   PREFETCH window: 70000000-71ffffff
[   10.840572] PCI: Setting latency timer of device 0000:00:1e.0 to 64
[   10.840587] acpi_bus-0200 [01] bus_set_power         : Device is not power manageable
[   10.840595] PCI: Enabling device 0000:02:01.0 (0000 -> 0003)
[   10.841037] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
[   10.841042] PCI: setting IRQ 11 as level-triggered
[   10.841046] ACPI: PCI Interrupt 0000:02:01.0[A] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
[   10.841056] Registering sysdev class '<NULL>'
[   10.841061] Registering sys device 'i82590'
[   10.841297] Registering sysdev class '<NULL>'
[   10.841301] Registering sys device 'i82370'
[   10.841524] apm: BIOS not found.
[   10.841530] Registering sysdev class '<NULL>'
[   10.841534] Registering sys device 'lapic0'
[   10.841739] Registering sysdev class '<NULL>'
[   10.853124] Registering sysdev class '<NULL>'
[   10.853128] Registering sys device 'clocksource0'
[   10.853299] Registering sysdev class '<NULL>'
[   10.853307] Registering sys device 'global_clock_event0'
[   10.853506] Registering sysdev class '<NULL>'
[   10.853510] Registering sys device 'timeofday0'
[   10.853730] audit: initializing netlink socket (disabled)
[   10.853746] audit(1131979227.293:1): initialized
[   10.853803] highmem bounce pool size: 64 pages
[   10.853808] Total HugeTLB memory allocated, 0
[   10.853870] VFS: Disk quotas dquot_6.5.1
[   10.853891] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   10.853970] Installing knfsd (copyright (C) 1996 [email protected]).
[   10.854108] fuse init (API version 7.3)
[   10.854122] CLASS: registering class device: ID = 'fuse'
[   10.854132] class_hotplug - name = fuse
[   10.854135] class_device_create_hotplug called for fuse
[   10.854413] Initializing Cryptographic API
[   10.854420] io scheduler noop registered
[   10.854427] io scheduler anticipatory registered
[   10.854432] io scheduler deadline registered
[   10.854439] io scheduler cfq registered
[   10.854535] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[   10.854539] usbmon: debugfs is not available
[   10.854544] bus pci: add driver ehci_hcd
[   10.854784] pci: Matched Device 0000:00:1d.7 with Driver ehci_hcd
[   10.854803] acpi_bus-0200 [01] bus_set_power         : Device is not power manageable
[   10.855248] ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 11
[   10.855253] ACPI: PCI Interrupt 0000:00:1d.7[D] -> Link [LNKH] -> GSI 11 (level, low) -> IRQ 11
[   10.855267] PCI: Setting latency timer of device 0000:00:1d.7 to 64
[   10.855270] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[   10.855283] ehci_hcd 0000:00:1d.7: debug port 1
[   10.855297] CLASS: registering class device: ID = 'usb_host1'
[   10.855306] class_hotplug - name = usb_host1
[   10.855308] class_device_create_hotplug called for usb_host1
[   10.855540] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
[   10.855550] ehci_hcd 0000:00:1d.7: irq 11, io mem 0xf8fffc00
[   10.855562] PCI: cache line size of 32 is not supported by device 0000:00:1d.7
[   10.859443] ehci_hcd 0000:00:1d.7: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
[   10.859472] DEV: registering device: ID = 'usb1'
[   10.859657] PM: Adding info for usb:usb1
[   10.859662] bus usb: add device usb1
[   10.859664] bound device 'usb1' to driver 'usb'
[   10.859684] DEV: registering device: ID = '1-0:1.0'
[   10.859891] PM: Adding info for usb:1-0:1.0
[   10.859895] bus usb: add device 1-0:1.0
[   10.859898] usb: Matched Device 1-0:1.0 with Driver hub
[   10.859901] hub 1-0:1.0: USB hub found
[   10.859911] hub 1-0:1.0: 6 ports detected
[   10.882789] Time: tsc clocksource has been installed.
[   10.883786] Ktimers: Switched to high resolution mode CPU 0
[   10.960680] bound device '1-0:1.0' to driver 'hub'
[   10.960682] usb: Bound Device 1-0:1.0 to Driver hub
[   10.960691] CLASS: registering class device: ID = 'usbdev1.1'
[   10.960697] class_hotplug - name = usbdev1.1
[   10.960700] class_device_create_hotplug called for usbdev1.1
[   10.960936] bound device '0000:00:1d.7' to driver 'ehci_hcd'
[   10.960939] pci: Bound Device 0000:00:1d.7 to Driver ehci_hcd
[   10.960946] USB Universal Host Controller Interface driver v2.3
[   10.960964] bus pci: add driver uhci_hcd
[   10.961178] pci: Matched Device 0000:00:1d.0 with Driver uhci_hcd
[   10.961571] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
[   10.961577] ACPI: PCI Interrupt 0000:00:1d.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
[   10.961589] PCI: Setting latency timer of device 0000:00:1d.0 to 64
[   10.961592] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[   10.961611] CLASS: registering class device: ID = 'usb_host2'
[   10.961622] class_hotplug - name = usb_host2
[   10.961624] class_device_create_hotplug called for usb_host2
[   10.961829] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
[   10.961838] uhci_hcd 0000:00:1d.0: irq 11, io base 0x0000bf80
[   10.961880] DEV: registering device: ID = 'usb2'
[   10.962064] PM: Adding info for usb:usb2
[   10.962068] bus usb: add device usb2
[   10.962070] bound device 'usb2' to driver 'usb'
[   10.962085] DEV: registering device: ID = '2-0:1.0'
[   10.962294] PM: Adding info for usb:2-0:1.0
[   10.962297] bus usb: add device 2-0:1.0
[   10.962300] usb: Matched Device 2-0:1.0 with Driver hub
[   10.962302] hub 2-0:1.0: USB hub found
[   10.962311] hub 2-0:1.0: 2 ports detected
[   11.062530] bound device '2-0:1.0' to driver 'hub'
[   11.062533] usb: Bound Device 2-0:1.0 to Driver hub
[   11.062541] CLASS: registering class device: ID = 'usbdev2.1'
[   11.062547] class_hotplug - name = usbdev2.1
[   11.062551] class_device_create_hotplug called for usbdev2.1
[   11.062777] bound device '0000:00:1d.0' to driver 'uhci_hcd'
[   11.062780] pci: Bound Device 0000:00:1d.0 to Driver uhci_hcd
[   11.062782] pci: Matched Device 0000:00:1d.1 with Driver uhci_hcd
[   11.062791] ACPI: PCI Interrupt 0000:00:1d.1[B] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
[   11.062802] PCI: Setting latency timer of device 0000:00:1d.1 to 64
[   11.062804] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[   11.062823] CLASS: registering class device: ID = 'usb_host3'
[   11.062829] class_hotplug - name = usb_host3
[   11.062831] class_device_create_hotplug called for usb_host3
[   11.063050] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
[   11.063059] uhci_hcd 0000:00:1d.1: irq 11, io base 0x0000bf40
[   11.063091] DEV: registering device: ID = 'usb3'
[   11.063278] PM: Adding info for usb:usb3
[   11.063281] bus usb: add device usb3
[   11.063283] bound device 'usb3' to driver 'usb'
[   11.063293] DEV: registering device: ID = '3-0:1.0'
[   11.063496] PM: Adding info for usb:3-0:1.0
[   11.063501] bus usb: add device 3-0:1.0
[   11.063503] usb: Matched Device 3-0:1.0 with Driver hub
[   11.063505] hub 3-0:1.0: USB hub found
[   11.063515] hub 3-0:1.0: 2 ports detected
[   11.163386] bound device '3-0:1.0' to driver 'hub'
[   11.163388] usb: Bound Device 3-0:1.0 to Driver hub
[   11.163397] CLASS: registering class device: ID = 'usbdev3.1'
[   11.163402] class_hotplug - name = usbdev3.1
[   11.163405] class_device_create_hotplug called for usbdev3.1
[   11.163637] bound device '0000:00:1d.1' to driver 'uhci_hcd'
[   11.163640] pci: Bound Device 0000:00:1d.1 to Driver uhci_hcd
[   11.163642] pci: Matched Device 0000:00:1d.2 with Driver uhci_hcd
[   11.164047] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
[   11.164052] ACPI: PCI Interrupt 0000:00:1d.2[C] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
[   11.164063] PCI: Setting latency timer of device 0000:00:1d.2 to 64
[   11.164066] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[   11.164087] CLASS: registering class device: ID = 'usb_host4'
[   11.164094] class_hotplug - name = usb_host4
[   11.164096] class_device_create_hotplug called for usb_host4
[   11.164336] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
[   11.164344] uhci_hcd 0000:00:1d.2: irq 11, io base 0x0000bf20
[   11.164395] DEV: registering device: ID = 'usb4'
[   11.164579] PM: Adding info for usb:usb4
[   11.164583] bus usb: add device usb4
[   11.164585] bound device 'usb4' to driver 'usb'
[   11.164602] DEV: registering device: ID = '4-0:1.0'
[   11.164815] PM: Adding info for usb:4-0:1.0
[   11.164819] bus usb: add device 4-0:1.0
[   11.164822] usb: Matched Device 4-0:1.0 with Driver hub
[   11.164824] hub 4-0:1.0: USB hub found
[   11.164833] hub 4-0:1.0: 2 ports detected
[   11.265239] bound device '4-0:1.0' to driver 'hub'
[   11.265241] usb: Bound Device 4-0:1.0 to Driver hub
[   11.265250] CLASS: registering class device: ID = 'usbdev4.1'
[   11.265255] class_hotplug - name = usbdev4.1
[   11.265259] class_device_create_hotplug called for usbdev4.1
[   11.265493] bound device '0000:00:1d.2' to driver 'uhci_hcd'
[   11.265496] pci: Bound Device 0000:00:1d.2 to Driver uhci_hcd
[   11.265507] bus usb: add driver hiddev
[   11.265722] usbcore: registered new driver hiddev
[   11.265728] bus usb: add driver usbhid
[   11.265910] usbcore: registered new driver usbhid
[   11.265913] drivers/usb/input/hid-core.c: v2.6:USB HID core driver
[   11.265923] bus type 'usb-serial' registered
[   11.265930] bus usb: add driver usbserial
[   11.266112] usbcore: registered new driver usbserial
[   11.266118] bus usb-serial: add driver generic
[   11.266310] drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
[   11.266317] bus usb: add driver usbserial_generic
[   11.266496] usbcore: registered new driver usbserial_generic
[   11.266500] drivers/usb/serial/usb-serial.c: USB Serial Driver core
[   11.266504] bus usb-serial: add driver pl2303
[   11.266526] drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
[   11.266531] bus usb: add driver pl2303
[   11.266871] usbcore: registered new driver pl2303
[   11.266875] drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver
[   11.266882] bus pci: add driver radeonfb
[   11.266909] pci: Matched Device 0000:01:00.0 with Driver radeonfb
[   11.266911] radeonfb_pci_register BEGIN
[   11.266925] acpi_bus-0200 [01] bus_set_power         : Device is not power manageable
[   11.266937] ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
[   11.266956] radeonfb (0000:01:00.0): Found 131072k of DDR 128 bits wide videoram
[   11.266982] radeonfb (0000:01:00.0): mapped 16384k videoram
[   11.266988] radeonfb: Retreived PLL infos from BIOS
[   11.266992] radeonfb: Reference=27.00 MHz (RefDiv=6) Memory=445.00 Mhz, System=263.00 MHz
[   11.266996] radeonfb: PLL min 20000 max 35000
[   11.267025] DEV: registering device: ID = 'i2c-0'
[   11.267032] PM: Adding info for No Bus:i2c-0
[   11.267036] CLASS: registering class device: ID = 'i2c-0'
[   11.267042] class_hotplug - name = i2c-0
[   11.267390] i2c_adapter i2c-0: adapter [monid] registered
[   11.267415] DEV: registering device: ID = 'i2c-1'
[   11.267419] PM: Adding info for No Bus:i2c-1
[   11.267422] CLASS: registering class device: ID = 'i2c-1'
[   11.267427] class_hotplug - name = i2c-1
[   11.267448] i2c_adapter i2c-1: adapter [dvi] registered
[   11.267472] DEV: registering device: ID = 'i2c-2'
[   11.267476] PM: Adding info for No Bus:i2c-2
[   11.267483] CLASS: registering class device: ID = 'i2c-2'
[   11.267488] class_hotplug - name = i2c-2
[   11.267826] i2c_adapter i2c-2: adapter [vga] registered
[   11.267851] DEV: registering device: ID = 'i2c-3'
[   11.267855] PM: Adding info for No Bus:i2c-3
[   11.267858] CLASS: registering class device: ID = 'i2c-3'
[   11.267863] class_hotplug - name = i2c-3
[   11.267884] i2c_adapter i2c-3: adapter [crt2] registered
[   11.267889] 1 chips in connector info
[   11.267893]  - chip 1 has 2 connectors
[   11.267896]   * connector 0 of type 3 (DVI-I) : 3201
[   11.267899]   * connector 1 of type 2 (CRT) : 2320
[   11.267902] Starting monitor auto detection...
[   11.340128] i2c_adapter i2c-0: master_xfer[0] W, addr=0x50, len=1
[   11.340131] i2c_adapter i2c-0: master_xfer[1] R, addr=0x50, len=128
[   11.460953] i2c_adapter i2c-0: master_xfer[0] W, addr=0x50, len=1
[   11.460955] i2c_adapter i2c-0: master_xfer[1] R, addr=0x50, len=128
[   11.581779] i2c_adapter i2c-0: master_xfer[0] W, addr=0x50, len=1
[   11.581781] i2c_adapter i2c-0: master_xfer[1] R, addr=0x50, len=128
[   11.629712] radeonfb: I2C (port 1) ... not found
[   11.702605] i2c_adapter i2c-1: master_xfer[0] W, addr=0x50, len=1
[   11.702607] i2c_adapter i2c-1: master_xfer[1] R, addr=0x50, len=128
[   11.823430] i2c_adapter i2c-1: master_xfer[0] W, addr=0x50, len=1
[   11.823432] i2c_adapter i2c-1: master_xfer[1] R, addr=0x50, len=128
[   11.944256] i2c_adapter i2c-1: master_xfer[0] W, addr=0x50, len=1
[   11.944258] i2c_adapter i2c-1: master_xfer[1] R, addr=0x50, len=128
[   11.992189] radeonfb: I2C (port 2) ... not found
[   12.065082] i2c_adapter i2c-2: master_xfer[0] W, addr=0x50, len=1
[   12.065084] i2c_adapter i2c-2: master_xfer[1] R, addr=0x50, len=128
[   12.185908] i2c_adapter i2c-2: master_xfer[0] W, addr=0x50, len=1
[   12.185910] i2c_adapter i2c-2: master_xfer[1] R, addr=0x50, len=128
[   12.306733] i2c_adapter i2c-2: master_xfer[0] W, addr=0x50, len=1
[   12.306735] i2c_adapter i2c-2: master_xfer[1] R, addr=0x50, len=128
[   12.354666] radeonfb: I2C (port 3) ... not found
[   12.561368] radeonfb: I2C (port 4) ... not found
[   12.634261] i2c_adapter i2c-1: master_xfer[0] W, addr=0x50, len=1
[   12.634263] i2c_adapter i2c-1: master_xfer[1] R, addr=0x50, len=128
[   12.755087] i2c_adapter i2c-1: master_xfer[0] W, addr=0x50, len=1
[   12.755089] i2c_adapter i2c-1: master_xfer[1] R, addr=0x50, len=128
[   12.875913] i2c_adapter i2c-1: master_xfer[0] W, addr=0x50, len=1
[   12.875915] i2c_adapter i2c-1: master_xfer[1] R, addr=0x50, len=128
[   12.923846] radeonfb: I2C (port 2) ... not found
[   13.130547] radeonfb: I2C (port 4) ... not found
[   13.130550] Non-DDC laptop panel detected
[   13.203441] i2c_adapter i2c-2: master_xfer[0] W, addr=0x50, len=1
[   13.203443] i2c_adapter i2c-2: master_xfer[1] R, addr=0x50, len=128
[   13.324266] i2c_adapter i2c-2: master_xfer[0] W, addr=0x50, len=1
[   13.324268] i2c_adapter i2c-2: master_xfer[1] R, addr=0x50, len=128
[   13.445092] i2c_adapter i2c-2: master_xfer[0] W, addr=0x50, len=1
[   13.445094] i2c_adapter i2c-2: master_xfer[1] R, addr=0x50, len=128
[   13.493025] radeonfb: I2C (port 3) ... not found
[   13.699726] radeonfb: I2C (port 4) ... not found
[   13.700734] radeonfb: Monitor 1 type LCD found
[   13.700737] radeonfb: Monitor 2 type no found
[   13.700740] radeonfb: panel ID string: W4554171WU1
[   13.700741]            
[   13.700745] radeonfb: detected LVDS panel size from BIOS: 1920x1200
[   13.700748] BIOS provided panel power delay: 1000
[   13.700751] radeondb: BIOS provided dividers will be used
[   13.700753] ref_divider = 9
[   13.700755] post_divider = 0
[   13.700757] fbk_divider = 36
[   13.700759] Scanning BIOS table ...
[   13.700762]  320 x 350
[   13.700764]  320 x 400
[   13.700766]  320 x 400
[   13.700768]  320 x 480
[   13.700769]  400 x 600
[   13.700771]  512 x 384
[   13.700773]  640 x 350
[   13.700775]  640 x 400
[   13.700777]  640 x 475
[   13.700779]  640 x 480
[   13.700781]  720 x 480
[   13.700783]  720 x 576
[   13.700785]  800 x 600
[   13.700787]  848 x 480
[   13.700789]  1024 x 768
[   13.700791]  1280 x 1024
[   13.700793]  1280 x 768
[   13.700796]  1280 x 800
[   13.700797]  1440 x 900
[   13.700800]  1600 x 1200
[   13.700802]  1680 x 1050
[   13.700803]  1920 x 1200
[   13.700806] Found panel in BIOS table:
[   13.700808]   hblank: 240
[   13.700810]   hOver_plus: 48
[   13.700812]   hSync_width: 32
[   13.700814]   vblank: 50
[   13.700816]   vOver_plus: 1
[   13.700817]   vSync_width: 3
[   13.700819]   clock: 16200
[   13.700822] Setting up default mode based on panel info
[   13.700854] radeonfb: Dynamic Clock Power Management enabled
[   13.700858] CLASS: registering class device: ID = 'fb0'
[   13.700865] class_hotplug - name = fb0
[   13.700868] class_device_create_hotplug called for fb0
[   13.701141] hStart = 1968, hEnd = 2000, hTotal = 2160
[   13.701143] vStart = 1201, vEnd = 1204, vTotal = 1250
[   13.701145] h_total_disp = 0xef010d	   hsync_strt_wid = 0x407aa
[   13.701147] v_total_disp = 0x4af04e1	   vsync_strt_wid = 0x304b0
[   13.701148] pixclock = 6172
[   13.701149] freq = 16202
[   13.788821] Console: switching to colour frame buffer device 240x75
[   13.791062] radeonfb (0000:01:00.0): ATI Radeon NP 
[   13.791140] radeonfb_pci_register END
[   13.791190] bound device '0000:01:00.0' to driver 'radeonfb'
[   13.791196] pci: Bound Device 0000:01:00.0 to Driver radeonfb
[   13.791207] bus platform: add driver vesafb
[   13.791555] Registering platform device 'vesafb.0'. Parent at platform
[   13.791557] DEV: registering device: ID = 'vesafb.0'
[   13.791743] PM: Adding info for platform:vesafb.0
[   13.791748] bus platform: add device vesafb.0
[   13.791749] platform: Matched Device vesafb.0 with Driver vesafb
[   13.791754] vesafb: cannot reserve video memory at 0xf0000000
[   13.791834] vesafb: framebuffer at 0xf0000000, mapped to 0xf9900000, using 5120k, total 131008k
[   13.791932] vesafb: mode is 1280x1024x16, linelength=2560, pages=50
[   13.792010] vesafb: protected mode interface info at c000:5aa2
[   13.792083] vesafb: scrolling: redraw
[   13.792133] vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
[   13.792204] vesafb: Mode is VGA compatible
[   13.792265] CLASS: registering class device: ID = 'fb1'
[   13.792272] class_hotplug - name = fb1
[   13.792275] class_device_create_hotplug called for fb1
[   13.792481] fb1: VESA VGA frame buffer device
[   13.792538] bound device 'vesafb.0' to driver 'vesafb'
[   13.792541] platform: Bound Device vesafb.0 to Driver vesafb
[   13.793000] ACPI: AC Adapter [AC] (on-line)
[   14.074210] ACPI: Battery Slot [BAT0] (battery present)
[   14.074294] ACPI: Lid Switch [LID]
[   14.074350] ACPI: Power Button (CM) [PBTN]
[   14.074410] ACPI: Sleep Button (CM) [SBTN]
[   14.076230] ACPI: Video Device [VID] (multi-head: yes  rom: no  post: no)
[   14.076396] Using specific hotkey driver
[   14.076451] Registering sysdev class '<NULL>'
[   14.076456] Registering sys device 'irqrouter0'
[   14.077362] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3] C4[C3])
[   14.077544] ACPI: Processor [CPU0] (supports 8 throttling states)
[   14.081717] ACPI: Thermal Zone [THM] (49 C)
[   14.081794] CLASS: registering class device: ID = 'tty'
[   14.081803] class_hotplug - name = tty
[   14.081805] class_device_create_hotplug called for tty
[   14.081999] CLASS: registering class device: ID = 'console'
[   14.082004] class_hotplug - name = console
[   14.082006] class_device_create_hotplug called for console
[   14.082200] CLASS: registering class device: ID = 'ptmx'
[   14.082205] class_hotplug - name = ptmx
[   14.082206] class_device_create_hotplug called for ptmx
[   14.082391] CLASS: registering class device: ID = 'tty0'
[   14.082396] class_hotplug - name = tty0
[   14.082397] class_device_create_hotplug called for tty0
[   14.082581] device class 'vc': registering
[   14.082586] CLASS: registering class device: ID = 'vcs'
[   14.082590] class_hotplug - name = vcs
[   14.082592] class_device_create_hotplug called for vcs
[   14.082779] CLASS: registering class device: ID = 'vcsa'
[   14.082784] class_hotplug - name = vcsa
[   14.082785] class_device_create_hotplug called for vcsa
[   14.082972] CLASS: registering class device: ID = 'tty1'
[   14.082977] class_hotplug - name = tty1
[   14.082978] class_device_create_hotplug called for tty1
[   14.083156] CLASS: registering class device: ID = 'tty2'
[   14.083160] class_hotplug - name = tty2
[   14.083162] class_device_create_hotplug called for tty2
[   14.083354] CLASS: registering class device: ID = 'tty3'
[   14.083359] class_hotplug - name = tty3
[   14.083360] class_device_create_hotplug called for tty3
[   14.083543] CLASS: registering class device: ID = 'tty4'
[   14.083547] class_hotplug - name = tty4
[   14.083549] class_device_create_hotplug called for tty4
[   14.083734] CLASS: registering class device: ID = 'tty5'
[   14.083739] class_hotplug - name = tty5
[   14.083741] class_device_create_hotplug called for tty5
[   14.083931] CLASS: registering class device: ID = 'tty6'
[   14.083939] class_hotplug - name = tty6
[   14.083941] class_device_create_hotplug called for tty6
[   14.084136] CLASS: registering class device: ID = 'tty7'
[   14.084140] class_hotplug - name = tty7
[   14.084142] class_device_create_hotplug called for tty7
[   14.084331] CLASS: registering class device: ID = 'tty8'
[   14.084335] class_hotplug - name = tty8
[   14.084337] class_device_create_hotplug called for tty8
[   14.084525] CLASS: registering class device: ID = 'tty9'
[   14.084529] class_hotplug - name = tty9
[   14.084531] class_device_create_hotplug called for tty9
[   14.084713] CLASS: registering class device: ID = 'tty10'
[   14.084717] class_hotplug - name = tty10
[   14.084719] class_device_create_hotplug called for tty10
[   14.084909] CLASS: registering class device: ID = 'tty11'
[   14.084913] class_hotplug - name = tty11
[   14.084915] class_device_create_hotplug called for tty11
[   14.085132] CLASS: registering class device: ID = 'tty12'
[   14.085138] class_hotplug - name = tty12
[   14.085140] class_device_create_hotplug called for tty12
[   14.085337] CLASS: registering class device: ID = 'tty13'
[   14.085341] class_hotplug - name = tty13
[   14.085343] class_device_create_hotplug called for tty13
[   14.085530] CLASS: registering class device: ID = 'tty14'
[   14.085536] class_hotplug - name = tty14
[   14.085538] class_device_create_hotplug called for tty14
[   14.085733] CLASS: registering class device: ID = 'tty15'
[   14.085739] class_hotplug - name = tty15
[   14.085741] class_device_create_hotplug called for tty15
[   14.085929] CLASS: registering class device: ID = 'tty16'
[   14.085934] class_hotplug - name = tty16
[   14.085935] class_device_create_hotplug called for tty16
[   14.086152] CLASS: registering class device: ID = 'tty17'
[   14.086157] class_hotplug - name = tty17
[   14.086158] class_device_create_hotplug called for tty17
[   14.086368] CLASS: registering class device: ID = 'tty18'
[   14.086378] class_hotplug - name = tty18
[   14.086380] class_device_create_hotplug called for tty18
[   14.086573] CLASS: registering class device: ID = 'tty19'
[   14.086577] class_hotplug - name = tty19
[   14.086579] class_device_create_hotplug called for tty19
[   14.086773] CLASS: registering class device: ID = 'tty20'
[   14.086780] class_hotplug - name = tty20
[   14.086782] class_device_create_hotplug called for tty20
[   14.086984] CLASS: registering class device: ID = 'tty21'
[   14.086989] class_hotplug - name = tty21
[   14.086991] class_device_create_hotplug called for tty21
[   14.087233] CLASS: registering class device: ID = 'tty22'
[   14.087238] class_hotplug - name = tty22
[   14.087240] class_device_create_hotplug called for tty22
[   14.087437] CLASS: registering class device: ID = 'tty23'
[   14.087443] class_hotplug - name = tty23
[   14.087444] class_device_create_hotplug called for tty23
[   14.087654] CLASS: registering class device: ID = 'tty24'
[   14.087660] class_hotplug - name = tty24
[   14.087662] class_device_create_hotplug called for tty24
[   14.087879] CLASS: registering class device: ID = 'tty25'
[   14.087886] class_hotplug - name = tty25
[   14.087888] class_device_create_hotplug called for tty25
[   14.088117] CLASS: registering class device: ID = 'tty26'
[   14.088124] class_hotplug - name = tty26
[   14.088126] class_device_create_hotplug called for tty26
[   14.088351] CLASS: registering class device: ID = 'tty27'
[   14.088357] class_hotplug - name = tty27
[   14.088358] class_device_create_hotplug called for tty27
[   14.088571] CLASS: registering class device: ID = 'tty28'
[   14.088577] class_hotplug - name = tty28
[   14.088579] class_device_create_hotplug called for tty28
[   14.088774] CLASS: registering class device: ID = 'tty29'
[   14.088782] class_hotplug - name = tty29
[   14.088783] class_device_create_hotplug called for tty29
[   14.088994] CLASS: registering class device: ID = 'tty30'
[   14.089004] class_hotplug - name = tty30
[   14.089006] class_device_create_hotplug called for tty30
[   14.089244] CLASS: registering class device: ID = 'tty31'
[   14.089252] class_hotplug - name = tty31
[   14.089254] class_device_create_hotplug called for tty31
[   14.089474] CLASS: registering class device: ID = 'tty32'
[   14.089481] class_hotplug - name = tty32
[   14.089483] class_device_create_hotplug called for tty32
[   14.089693] CLASS: registering class device: ID = 'tty33'
[   14.089699] class_hotplug - name = tty33
[   14.089701] class_device_create_hotplug called for tty33
[   14.089928] CLASS: registering class device: ID = 'tty34'
[   14.089935] class_hotplug - name = tty34
[   14.089937] class_device_create_hotplug called for tty34
[   14.090180] CLASS: registering class device: ID = 'tty35'
[   14.090187] class_hotplug - name = tty35
[   14.090189] class_device_create_hotplug called for tty35
[   14.090406] CLASS: registering class device: ID = 'tty36'
[   14.090412] class_hotplug - name = tty36
[   14.090413] class_device_create_hotplug called for tty36
[   14.090649] CLASS: registering class device: ID = 'tty37'
[   14.090655] class_hotplug - name = tty37
[   14.090657] class_device_create_hotplug called for tty37
[   14.090884] CLASS: registering class device: ID = 'tty38'
[   14.090891] class_hotplug - name = tty38
[   14.090893] class_device_create_hotplug called for tty38
[   14.091116] CLASS: registering class device: ID = 'tty39'
[   14.091124] class_hotplug - name = tty39
[   14.091126] class_device_create_hotplug called for tty39
[   14.091367] CLASS: registering class device: ID = 'tty40'
[   14.091374] class_hotplug - name = tty40
[   14.091376] class_device_create_hotplug called for tty40
[   14.091615] CLASS: registering class device: ID = 'tty41'
[   14.091622] class_hotplug - name = tty41
[   14.091624] class_device_create_hotplug called for tty41
[   14.091846] CLASS: registering class device: ID = 'tty42'
[   14.091859] class_hotplug - name = tty42
[   14.091861] class_device_create_hotplug called for tty42
[   14.092115] CLASS: registering class device: ID = 'tty43'
[   14.092129] class_hotplug - name = tty43
[   14.092131] class_device_create_hotplug called for tty43
[   14.092366] CLASS: registering class device: ID = 'tty44'
[   14.092375] class_hotplug - name = tty44
[   14.092377] class_device_create_hotplug called for tty44
[   14.092606] CLASS: registering class device: ID = 'tty45'
[   14.092615] class_hotplug - name = tty45
[   14.092617] class_device_create_hotplug called for tty45
[   14.092845] CLASS: registering class device: ID = 'tty46'
[   14.092853] class_hotplug - name = tty46
[   14.092855] class_device_create_hotplug called for tty46
[   14.093085] CLASS: registering class device: ID = 'tty47'
[   14.093093] class_hotplug - name = tty47
[   14.093095] class_device_create_hotplug called for tty47
[   14.093331] CLASS: registering class device: ID = 'tty48'
[   14.093338] class_hotplug - name = tty48
[   14.093340] class_device_create_hotplug called for tty48
[   14.093564] CLASS: registering class device: ID = 'tty49'
[   14.093571] class_hotplug - name = tty49
[   14.093572] class_device_create_hotplug called for tty49
[   14.093809] CLASS: registering class device: ID = 'tty50'
[   14.093817] class_hotplug - name = tty50
[   14.093819] class_device_create_hotplug called for tty50
[   14.094050] CLASS: registering class device: ID = 'tty51'
[   14.094058] class_hotplug - name = tty51
[   14.094060] class_device_create_hotplug called for tty51
[   14.094306] CLASS: registering class device: ID = 'tty52'
[   14.094315] class_hotplug - name = tty52
[   14.094317] class_device_create_hotplug called for tty52
[   14.094547] CLASS: registering class device: ID = 'tty53'
[   14.094555] class_hotplug - name = tty53
[   14.094557] class_device_create_hotplug called for tty53
[   14.094788] CLASS: registering class device: ID = 'tty54'
[   14.094802] class_hotplug - name = tty54
[   14.094804] class_device_create_hotplug called for tty54
[   14.095045] CLASS: registering class device: ID = 'tty55'
[   14.095053] class_hotplug - name = tty55
[   14.095055] class_device_create_hotplug called for tty55
[   14.095303] CLASS: registering class device: ID = 'tty56'
[   14.095310] class_hotplug - name = tty56
[   14.095312] class_device_create_hotplug called for tty56
[   14.095534] CLASS: registering class device: ID = 'tty57'
[   14.095543] class_hotplug - name = tty57
[   14.095545] class_device_create_hotplug called for tty57
[   14.095783] CLASS: registering class device: ID = 'tty58'
[   14.095793] class_hotplug - name = tty58
[   14.095795] class_device_create_hotplug called for tty58
[   14.096016] CLASS: registering class device: ID = 'tty59'
[   14.096025] class_hotplug - name = tty59
[   14.096026] class_device_create_hotplug called for tty59
[   14.096279] CLASS: registering class device: ID = 'tty60'
[   14.096288] class_hotplug - name = tty60
[   14.096290] class_device_create_hotplug called for tty60
[   14.096511] CLASS: registering class device: ID = 'tty61'
[   14.096521] class_hotplug - name = tty61
[   14.096523] class_device_create_hotplug called for tty61
[   14.096757] CLASS: registering class device: ID = 'tty62'
[   14.096769] class_hotplug - name = tty62
[   14.096771] class_device_create_hotplug called for tty62
[   14.096998] CLASS: registering class device: ID = 'tty63'
[   14.097009] class_hotplug - name = tty63
[   14.097010] class_device_create_hotplug called for tty63
[   14.097262] device class 'printer': registering
[   14.097427] lp: driver loaded but no devices found
[   14.097516] CLASS: registering class device: ID = 'rtc'
[   14.097525] class_hotplug - name = rtc
[   14.097527] class_device_create_hotplug called for rtc
[   14.097737] Real Time Clock Driver v1.12
[   14.097796] CLASS: registering class device: ID = 'hpet'
[   14.097808] class_hotplug - name = hpet
[   14.097810] class_device_create_hotplug called for hpet
[   14.098048] CLASS: registering class device: ID = 'watchdog'
[   14.098055] class_hotplug - name = watchdog
[   14.098056] class_device_create_hotplug called for watchdog
[   14.098310] Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec (nowayout= 0)
[   14.098418] Linux agpgart interface v0.101 (c) Dave Jones
[   14.098489] bus pci: add driver agpgart-ati
[   14.098748] device class 'drm': registering
[   14.098762] [drm] Initialized drm 1.0.0 20040925
[   14.098826] Hangcheck: starting hangcheck timer 0.9.0 (tick is 180 seconds, margin is 60 seconds).
[   14.098932] Hangcheck: Using monotonic_clock().
[   14.099010] bus type 'serio' registered
[   14.099014] bus pnp: add driver i8042 kbd
[   14.099257] pnp: Matched Device 00:04 with Driver i8042 kbd
[   14.099261] bound device '00:04' to driver 'i8042 kbd'
[   14.099264] pnp: Bound Device 00:04 to Driver i8042 kbd
[   14.099271] bus pnp: add driver i8042 aux
[   14.099454] pnp: Matched Device 00:03 with Driver i8042 aux
[   14.099458] bound device '00:03' to driver 'i8042 aux'
[   14.099461] pnp: Bound Device 00:03 to Driver i8042 aux
[   14.099469] PNP: PS/2 Controller [PNP0303:KBC,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[   14.099937] bus platform: add driver i8042
[   14.100131] Registering platform device 'i8042'. Parent at platform
[   14.100133] DEV: registering device: ID = 'i8042'
[   14.100179] PM: Adding info for platform:i8042
[   14.100186] bus platform: add device i8042
[   14.100188] platform: Matched Device i8042 with Driver i8042
[   14.100190] bound device 'i8042' to driver 'i8042'
[   14.100192] platform: Bound Device i8042 to Driver i8042
[   14.103158] serio: i8042 AUX port at 0x60,0x64 irq 12
[   14.103224] DEV: registering device: ID = 'serio0'
[   14.103604] serio: i8042 KBD port at 0x60,0x64 irq 1
[   14.103673] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[   14.103773] Registering platform device 'serial8250'. Parent at platform
[   14.103775] DEV: registering device: ID = 'serial8250'
[   14.103966] PM: Adding info for serio:serio0
[   14.103970] bus serio: add device serio0
[   14.103975] DEV: registering device: ID = 'serio1'
[   14.104202] PM: Adding info for platform:serial8250
[   14.104206] bus platform: add device serial8250
[   14.104223] CLASS: registering class device: ID = 'ttyS0'
[   14.104236] class_hotplug - name = ttyS0
[   14.104239] class_device_create_hotplug called for ttyS0
[   14.104435] PM: Adding info for serio:serio1
[   14.104439] bus serio: add device serio1
[   14.104651] CLASS: registering class device: ID = 'ttyS1'
[   14.104661] class_hotplug - name = ttyS1
[   14.104664] class_device_create_hotplug called for ttyS1
[   14.104902] CLASS: registering class device: ID = 'ttyS2'
[   14.104913] class_hotplug - name = ttyS2
[   14.104915] class_device_create_hotplug called for ttyS2
[   14.105165] CLASS: registering class device: ID = 'ttyS3'
[   14.105176] class_hotplug - name = ttyS3
[   14.105180] class_device_create_hotplug called for ttyS3
[   14.105411] bus platform: add driver serial8250
[   14.105640] platform: Matched Device serial8250 with Driver serial8250
[   14.105643] bound device 'serial8250' to driver 'serial8250'
[   14.105645] platform: Bound Device serial8250 to Driver serial8250
[   14.105649] bus pnp: add driver serial
[   14.106112] bus pci: add driver serial
[   14.106159] pci: Matched Device 0000:00:1f.6 with Driver serial
[   14.106179] acpi_bus-0200 [07] bus_set_power         : Device is not power manageable
[   14.106770] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 7
[   14.106850] PCI: setting IRQ 7 as level-triggered
[   14.106914] ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [LNKB] -> GSI 7 (level, low) -> IRQ 7
[   14.107059] ACPI: PCI interrupt for device 0000:00:1f.6 disabled
[   14.107163] bus pnp: add driver parport_pc
[   14.107598] bus pci: add driver parport_pc
[   14.107625] device class 'firmware': registering
[   14.111111] RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
[   14.111262] CLASS: registering class device: ID = 'lo'
[   14.111269] class_hotplug - name = lo
[   14.111526] bus pci: add driver b44
[   14.111753] pci: Matched Device 0000:02:00.0 with Driver b44
[   14.111756] b44.c:v0.96 (Nov 8, 2005)
[   14.111838] ACPI: PCI Interrupt 0000:02:00.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
[   14.120362] CLASS: registering class device: ID = 'eth0'
[   14.120371] class_hotplug - name = eth0
[   14.120813] eth0: Broadcom 4400 10/100BaseT Ethernet 00:11:43:5e:b3:ef
[   14.126145] bound device '0000:02:00.0' to driver 'b44'
[   14.126149] pci: Bound Device 0000:02:00.0 to Driver b44
[   14.126155] netconsole: not configured, aborting
[   14.131438] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[   14.136997] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[   14.142621] bus type 'ide' registered
[   14.142647] ICH4: IDE controller at PCI slot 0000:00:1f.1
[   14.148242] PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
[   14.153828] ACPI: PCI Interrupt 0000:00:1f.1[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
[   14.159691] ICH4: chipset revision 1
[   14.165567] ICH4: not 100% native mode: will probe irqs later
[   14.171525]     ide0: BM-DMA at 0xbfa0-0xbfa7, BIOS settings: hda:DMA, hdb:pio
[   14.177573]     ide1: BM-DMA at 0xbfa8-0xbfaf, BIOS settings: hdc:DMA, hdd:pio
[   14.183639] Probing IDE interface ide0...
[   14.357130] Falling back to C3 safe TSC
[   14.424299] check_periodic_interval: Long interval! 190982348.
[   14.430431] 		Something may be blocking interrupts.
[   14.471403] hda: HTS726060M9AT00, ATA DISK drive
[   14.477582] DEV: registering device: ID = 'ide0'
[   14.477591] PM: Adding info for No Bus:ide0
[   15.116214] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[   15.122429] DEV: registering device: ID = '0.0'
[   15.122735] PM: Adding info for ide:0.0
[   15.122739] bus ide: add device 0.0
[   15.122744] Probing IDE interface ide1...
[   15.825205] hdc: _NEC DVD+/-RW ND-6500A, ATAPI CD/DVD-ROM drive
[   15.831543] DEV: registering device: ID = 'ide1'
[   15.831548] PM: Adding info for No Bus:ide1
[   16.486315] ide1 at 0x170-0x177,0x376 on irq 15
[   16.492932] DEV: registering device: ID = '1.0'
[   16.493223] PM: Adding info for ide:1.0
[   16.493229] bus ide: add device 1.0
[   16.493250] bus pci: add driver PIIX_IDE
[   16.493450] pci: Matched Device 0000:00:1f.1 with Driver PIIX_IDE
[   16.493453] bound device '0000:00:1f.1' to driver 'PIIX_IDE'
[   16.493458] pci: Bound Device 0000:00:1f.1 to Driver PIIX_IDE
[   16.493463] bus pci: add driver PCI_IDE
[   16.493642] bus pnp: add driver ide
[   16.493832] bus ide: add driver ide-disk
[   16.494016] ide: Matched Device 0.0 with Driver ide-disk
[   16.494031] hda: max request size: 1024KiB
[   16.514499] hda: 117210240 sectors (60011 MB) w/7877KiB Cache, CHS=16383/255/63, UDMA(100)
[   16.521373] hda: cache flushes supported
[   16.528108]  hda: hda1 hda2 hda3
[   16.543177] bound device '0.0' to driver 'ide-disk'
[   16.543180] ide: Bound Device 0.0 to Driver ide-disk
[   16.543182] ide: Matched Device 1.0 with Driver ide-disk
[   16.543185] bus ide: add driver ide-cdrom
[   16.543394] ide: Matched Device 1.0 with Driver ide-cdrom
[   16.561013] hdc: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
[   16.567759] Uniform CD-ROM driver Revision: 3.20
[   16.600271] bound device '1.0' to driver 'ide-cdrom'
[   16.600274] ide: Bound Device 1.0 to Driver ide-cdrom
[   16.600288] bus type 'ieee1394' registered
[   16.600291] device class 'ieee1394_host': registering
[   16.600296] device class 'ieee1394_protocol': registering
[   16.600303] device class 'ieee1394_node': registering
[   16.600306] device class 'ieee1394': registering
[   16.600310] bus pci: add driver ohci1394
[   16.600513] pci: Matched Device 0000:02:01.1 with Driver ohci1394
[   16.600516] ohci1394: $Rev: 1313 $ Ben Collins <[email protected]>
[   16.607174] acpi_bus-0200 [07] bus_set_power         : Device is not power manageable
[   16.613933] ACPI: PCI Interrupt 0000:02:01.1[B] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
[   16.620759] DEV: registering device: ID = 'fw-host0'
[   16.620953] PM: Adding info for ieee1394:fw-host0
[   16.620957] bus ieee1394: add device fw-host0
[   16.620961] CLASS: registering class device: ID = 'fw-host0'
[   16.620966] class_hotplug - name = fw-host0
[   16.674249] ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[11]  MMIO=[faffd800-faffdfff]  Max Packet=[2048]
[   16.688155] bound device '0000:02:01.1' to driver 'ohci1394'
[   16.688158] pci: Bound Device 0000:02:01.1 to Driver ohci1394
[   16.688166] CLASS: registering class device: ID = 'video1394-0'
[   16.688174] class_hotplug - name = video1394-0
[   16.688176] class_device_create_hotplug called for video1394-0
[   16.688383] bus ieee1394: add driver video1394
[   16.688586] video1394: Installed video1394 module
[   16.695770] bus pci: add driver yenta_cardbus
[   16.695964] pci: Matched Device 0000:02:01.0 with Driver yenta_cardbus
[   16.695978] ACPI: PCI Interrupt 0000:02:01.0[A] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
[   16.703004] Yenta: CardBus bridge found at 0000:02:01.0 [1028:01a2]
[   16.835509] Yenta: ISA IRQ mask 0x0438, PCI irq 11
[   16.842535] Socket status: 30000006
[   16.849551] pcmcia: parent PCI bridge I/O window: 0xe000 - 0xefff
[   16.856572] pcmcia: parent PCI bridge Memory window: 0xfa000000 - 0xfbffffff
[   16.863817] pcmcia: parent PCI bridge Memory window: 0x70000000 - 0x71ffffff
[   16.870841] CLASS: registering class device: ID = 'pcmcia_socket0'
[   16.870849] class_hotplug - name = pcmcia_socket0
[   17.132060] bound device '0000:02:01.0' to driver 'yenta_cardbus'
[   17.132062] pci: Bound Device 0000:02:01.0 to Driver yenta_cardbus
[   17.132068] CLASS: registering class device: ID = 'mice'
[   17.132075] class_hotplug - name = mice
[   17.132077] class_device_create_hotplug called for mice
[   17.132246] mice: PS/2 mouse device common for all mice
[   17.139212] bus serio: add driver atkbd
[   17.139238] serio: Matched Device serio0 with Driver atkbd
[   17.140008] input: PC Speaker as /class/input/input0
[   17.146986] CLASS: registering class device: ID = 'input0'
[   17.146991] class_hotplug - name = input0
[   17.147179] CLASS: registering class device: ID = 'event0'
[   17.147188] class_hotplug - name = event0
[   17.147190] class_device_create_hotplug called for event0
[   17.147455] serio: Matched Device serio1 with Driver atkbd
[   17.147986] I2O subsystem v1.288
[   17.154929] device class 'i2o_controller': registering
[   17.154935] i2o: max drivers = 8
[   17.161877] bus type 'i2o' registered
[   17.161895] bus i2o: add driver exec-osm
[   17.162108] bus pci: add driver PCI_I2O
[   17.162291] I2O ProcFS OSM v1.145
[   17.169234] bus i2o: add driver proc-osm
[   17.169413] i2c /dev entries driver
[   17.176346] device class 'i2c-dev': registering
[   17.176351] bus i2c: add driver dev_driver
[   17.176530] i2c-core: driver [dev_driver] registered
[   17.176533] i2c-dev: adapter [monid] registered as minor 0
[   17.176535] CLASS: registering class device: ID = 'i2c-0'
[   17.176544] class_hotplug - name = i2c-0
[   17.176725] i2c-dev: adapter [dvi] registered as minor 1
[   17.176727] CLASS: registering class device: ID = 'i2c-1'
[   17.176732] class_hotplug - name = i2c-1
[   17.176948] i2c-dev: adapter [vga] registered as minor 2
[   17.176951] CLASS: registering class device: ID = 'i2c-2'
[   17.176961] class_hotplug - name = i2c-2
[   17.177172] i2c-dev: adapter [crt2] registered as minor 3
[   17.177174] CLASS: registering class device: ID = 'i2c-3'
[   17.177180] class_hotplug - name = i2c-3
[   17.177369] device class 'hwmon': registering
[   17.177852] input: AT Translated Set 2 keyboard as /class/input/input1
[   17.184861] CLASS: registering class device: ID = 'input1'
[   17.184866] class_hotplug - name = input1
[   17.185242] CLASS: registering class device: ID = 'event1'
[   17.185248] class_hotplug - name = event1
[   17.185251] class_device_create_hotplug called for event1
[   17.185472] bound device 'serio1' to driver 'atkbd'
[   17.185476] serio: Bound Device serio1 to Driver atkbd
[   17.185481] bus serio: add driver psmouse
[   17.185681] serio: Matched Device serio0 with Driver psmouse
[   17.207354] device class 'sound': registering
[   17.207372] bus platform: add driver snd_generic
[   17.207558] Advanced Linux Sound Architecture Driver Version 1.0.10rc3 (Mon Nov 07 13:30:21 2005 UTC).
[   17.214819] CLASS: registering class device: ID = 'timer'
[   17.214823] class_hotplug - name = timer
[   17.214825] class_device_create_hotplug called for timer
[   17.215004] CLASS: registering class device: ID = 'sequencer'
[   17.215009] class_hotplug - name = sequencer
[   17.215011] class_device_create_hotplug called for sequencer
[   17.215331] CLASS: registering class device: ID = 'sequencer2'
[   17.215341] class_hotplug - name = sequencer2
[   17.215343] class_device_create_hotplug called for sequencer2
[   17.215767] CLASS: registering class device: ID = 'seq'
[   17.215773] class_hotplug - name = seq
[   17.215775] class_device_create_hotplug called for seq
[   17.215806] bus pci: add driver Intel ICH
[   17.215995] pci: Matched Device 0000:00:1f.5 with Driver Intel ICH
[   17.216018] acpi_bus-0200 [07] bus_set_power         : Device is not power manageable
[   17.223439] ACPI: PCI Interrupt 0000:00:1f.5[B] -> Link [LNKB] -> GSI 7 (level, low) -> IRQ 7
[   17.230884] PCI: Setting latency timer of device 0000:00:1f.5 to 64
[   17.353923] input: PS/2 Generic Mouse as /class/input/input2
[   17.361137] CLASS: registering class device: ID = 'input2'
[   17.361147] class_hotplug - name = input2
[   17.361369] CLASS: registering class device: ID = 'mouse0'
[   17.361375] class_hotplug - name = mouse0
[   17.361378] class_device_create_hotplug called for mouse0
[   17.361580] CLASS: registering class device: ID = 'event2'
[   17.361586] class_hotplug - name = event2
[   17.361589] class_device_create_hotplug called for event2
[   17.364899] bound device 'serio0' to driver 'psmouse'
[   17.364902] serio: Bound Device serio0 to Driver psmouse
[   18.076835] intel8x0_measure_ac97_clock: measured 50274 usecs
[   18.084049] intel8x0: clocking to 48000
[   18.091244] CLASS: registering class device: ID = 'pcmC0D4p'
[   18.091255] class_hotplug - name = pcmC0D4p
[   18.091259] class_device_create_hotplug called for pcmC0D4p
[   18.091544] CLASS: registering class device: ID = 'pcmC0D3c'
[   18.091551] class_hotplug - name = pcmC0D3c
[   18.091554] class_device_create_hotplug called for pcmC0D3c
[   18.091765] CLASS: registering class device: ID = 'pcmC0D2c'
[   18.091774] class_hotplug - name = pcmC0D2c
[   18.091777] class_device_create_hotplug called for pcmC0D2c
[   18.091979] CLASS: registering class device: ID = 'pcmC0D1c'
[   18.091985] class_hotplug - name = pcmC0D1c
[   18.091988] class_device_create_hotplug called for pcmC0D1c
[   18.092189] CLASS: registering class device: ID = 'adsp'
[   18.092200] class_hotplug - name = adsp
[   18.092203] class_device_create_hotplug called for adsp
[   18.092400] CLASS: registering class device: ID = 'pcmC0D0p'
[   18.092406] class_hotplug - name = pcmC0D0p
[   18.092409] class_device_create_hotplug called for pcmC0D0p
[   18.092614] CLASS: registering class device: ID = 'pcmC0D0c'
[   18.092620] class_hotplug - name = pcmC0D0c
[   18.092623] class_device_create_hotplug called for pcmC0D0c
[   18.092837] CLASS: registering class device: ID = 'dsp'
[   18.092843] class_hotplug - name = dsp
[   18.092846] class_device_create_hotplug called for dsp
[   18.093050] CLASS: registering class device: ID = 'audio'
[   18.093058] class_hotplug - name = audio
[   18.093061] class_device_create_hotplug called for audio
[   18.093269] DEV: registering device: ID = 'card0-0'
[   18.093484] PM: Adding info for ac97:card0-0
[   18.093491] bus ac97: add device card0-0
[   18.093499] CLASS: registering class device: ID = 'controlC0'
[   18.093504] class_hotplug - name = controlC0
[   18.093508] class_device_create_hotplug called for controlC0
[   18.093725] CLASS: registering class device: ID = 'mixer'
[   18.093734] class_hotplug - name = mixer
[   18.093737] class_device_create_hotplug called for mixer
[   18.094209] bound device '0000:00:1f.5' to driver 'Intel ICH'
[   18.094213] pci: Bound Device 0000:00:1f.5 to Driver Intel ICH
[   18.094223] bus pci: add driver Intel ICH Modem
[   18.094455] pci: Matched Device 0000:00:1f.6 with Driver Intel ICH Modem
[   18.094480] ACPI: PCI Interrupt 0000:00:1f.6[B] -> Link [LNKB] -> GSI 7 (level, low) -> IRQ 7
[   18.101895] PCI: Setting latency timer of device 0000:00:1f.6 to 64
[   18.119930] DEV: registering device: ID = '444fc000221b90c1'
[   18.120211] PM: Adding info for ieee1394:444fc000221b90c1
[   18.120218] bus ieee1394: add device 444fc000221b90c1
[   18.120223] CLASS: registering class device: ID = '444fc000221b90c1'
[   18.120235] class_hotplug - name = 444fc000221b90c1
[   18.120454] ieee1394: Host added: ID:BUS[0-00:1023]  GUID[444fc000221b90c1]
[   18.205718] MC'97 1 converters and GPIO not ready (0xff00)
[   18.213242] CLASS: registering class device: ID = 'pcmC1D0p'
[   18.213252] class_hotplug - name = pcmC1D0p
[   18.213255] class_device_create_hotplug called for pcmC1D0p
[   18.213851] CLASS: registering class device: ID = 'pcmC1D0c'
[   18.213857] class_hotplug - name = pcmC1D0c
[   18.213861] class_device_create_hotplug called for pcmC1D0c
[   18.214063] CLASS: registering class device: ID = 'dsp1'
[   18.214071] class_hotplug - name = dsp1
[   18.214074] class_device_create_hotplug called for dsp1
[   18.214277] CLASS: registering class device: ID = 'audio1'
[   18.214283] class_hotplug - name = audio1
[   18.214286] class_device_create_hotplug called for audio1
[   18.214493] DEV: registering device: ID = 'card1-1'
[   18.214698] PM: Adding info for ac97:card1-1
[   18.214703] bus ac97: add device card1-1
[   18.214709] CLASS: registering class device: ID = 'controlC1'
[   18.214714] class_hotplug - name = controlC1
[   18.214718] class_device_create_hotplug called for controlC1
[   18.214934] CLASS: registering class device: ID = 'mixer1'
[   18.214942] class_hotplug - name = mixer1
[   18.214945] class_device_create_hotplug called for mixer1
[   18.215242] bound device '0000:00:1f.6' to driver 'Intel ICH Modem'
[   18.215246] pci: Bound Device 0000:00:1f.6 to Driver Intel ICH Modem
[   18.215254] ALSA device list:
[   18.222616]   #0: Intel 82801DB-ICH4 with STAC9750,51 at 0xf8fff800, irq 7
[   18.229994]   #1: Intel 82801DB-ICH4 Modem at 0xd400, irq 7
[   18.237315] Registering sysdev class '<NULL>'
[   18.237321] Registering sys device 'oprofile0'
[   18.237543] oprofile: using NMI interrupt.
[   18.244888] NET: Registered protocol family 2
[   18.262485] IP route cache hash table entries: 65536 (order: 6, 262144 bytes)
[   18.270401] TCP established hash table entries: 262144 (order: 8, 1048576 bytes)
[   18.278825] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
[   18.286398] TCP: Hash tables configured (established 262144 bind 65536)
[   18.293735] TCP reno registered
[   18.300988] IPv4 over IPv4 tunneling driver
[   18.308274] CLASS: registering class device: ID = 'tunl0'
[   18.308295] class_hotplug - name = tunl0
[   18.308736] GRE over IPv4 tunneling driver
[   18.315831] CLASS: registering class device: ID = 'gre0'
[   18.315837] class_hotplug - name = gre0
[   18.316130] TCP bic registered
[   18.323838] Initializing IPsec netlink socket
[   18.330844] NET: Registered protocol family 1
[   18.337753] NET: Registered protocol family 17
[   18.403492] Testing NMI watchdog ... OK.
[   18.420236] Registering sysdev class '<NULL>'
[   18.420242] Registering sys device 'lapic_nmi0'
[   18.420442] Using IPI Shortcut mode
[   18.427511] swsusp: Resume From Partition /dev/hda2
[   18.427513] PM: Checking swsusp image.
[   18.455914] swsusp: Error -22 check for resume file
[   18.455916] PM: Resume from disk failed.
[   18.455942] Registering sysdev class '<NULL>'
[   18.455947] Registering sys device 'acpi0'
[   18.456177] ACPI wakeup devices: 
[   18.462755]  LID PBTN PCI0 USB0 USB1 USB2 USB3 MODM PCIE 
[   18.469475] ACPI: (supports S0 S1 S3 S4 S5)
[   18.476321] Freeing unused kernel memory: 212k freed
[   18.483263] CLASS: registering class device: ID = 'vcs1'
[   18.483272] class_hotplug - name = vcs1
[   18.483275] class_device_create_hotplug called for vcs1
[   18.483525] CLASS: registering class device: ID = 'vcsa1'
[   18.483535] class_hotplug - name = vcsa1
[   18.483536] class_device_create_hotplug called for vcsa1
[   18.637618] EXT3-fs: mounted filesystem with ordered data mode.
[   18.649869] kjournald starting.  Commit interval 5 seconds
[   20.601927] CLASS: registering class device: ID = 'vcs2'
[   20.601942] class_hotplug - name = vcs2
[   20.601944] class_device_create_hotplug called for vcs2
[   20.622898] CLASS: registering class device: ID = 'vcsa2'
[   20.622905] class_hotplug - name = vcsa2
[   20.622907] class_device_create_hotplug called for vcsa2
[   20.623902] CLASS: Unregistering class device. ID = 'vcs2'
[   20.623907] class_hotplug - name = vcs2
[   20.623909] class_device_create_hotplug called for vcs2
[   20.624156] device class 'vcs2': release.
[   20.624159] class_device_create_release called for vcs2
[   20.624161] CLASS: Unregistering class device. ID = 'vcsa2'
[   20.624164] class_hotplug - name = vcsa2
[   20.624166] class_device_create_hotplug called for vcsa2
[   20.624396] device class 'vcsa2': release.
[   20.624397] class_device_create_release called for vcsa2
[   20.626032] CLASS: registering class device: ID = 'vcs3'
[   20.626039] class_hotplug - name = vcs3
[   20.626041] class_device_create_hotplug called for vcs3
[   20.626304] CLASS: registering class device: ID = 'vcsa3'
[   20.626311] class_hotplug - name = vcsa3
[   20.626312] class_device_create_hotplug called for vcsa3
[   20.628274] CLASS: Unregistering class device. ID = 'vcs3'
[   20.628280] class_hotplug - name = vcs3
[   20.628282] class_device_create_hotplug called for vcs3
[   20.628568] device class 'vcs3': release.
[   20.628570] class_device_create_release called for vcs3
[   20.628572] CLASS: Unregistering class device. ID = 'vcsa3'
[   20.628575] class_hotplug - name = vcsa3
[   20.628577] class_device_create_hotplug called for vcsa3
[   20.628816] device class 'vcsa3': release.
[   20.628817] class_device_create_release called for vcsa3
[   20.631495] CLASS: registering class device: ID = 'vcs4'
[   20.631506] class_hotplug - name = vcs4
[   20.631509] class_device_create_hotplug called for vcs4
[   20.631844] CLASS: registering class device: ID = 'vcsa4'
[   20.631851] class_hotplug - name = vcsa4
[   20.631852] class_device_create_hotplug called for vcsa4
[   20.633807] CLASS: Unregistering class device. ID = 'vcs4'
[   20.633814] class_hotplug - name = vcs4
[   20.633816] class_device_create_hotplug called for vcs4
[   20.634123] device class 'vcs4': release.
[   20.634125] class_device_create_release called for vcs4
[   20.634127] CLASS: Unregistering class device. ID = 'vcsa4'
[   20.634131] class_hotplug - name = vcsa4
[   20.634132] class_device_create_hotplug called for vcsa4
[   20.634381] device class 'vcsa4': release.
[   20.634383] class_device_create_release called for vcsa4
[   20.636152] CLASS: registering class device: ID = 'vcs5'
[   20.636164] class_hotplug - name = vcs5
[   20.636166] class_device_create_hotplug called for vcs5
[   20.636948] CLASS: registering class device: ID = 'vcsa5'
[   20.636956] class_hotplug - name = vcsa5
[   20.636958] class_device_create_hotplug called for vcsa5
[   20.638984] CLASS: Unregistering class device. ID = 'vcs5'
[   20.638998] class_hotplug - name = vcs5
[   20.639000] class_device_create_hotplug called for vcs5
[   20.639311] device class 'vcs5': release.
[   20.639314] class_device_create_release called for vcs5
[   20.639316] CLASS: Unregistering class device. ID = 'vcsa5'
[   20.639320] class_hotplug - name = vcsa5
[   20.639322] class_device_create_hotplug called for vcsa5
[   20.639573] device class 'vcsa5': release.
[   20.639575] class_device_create_release called for vcsa5
[   20.641413] CLASS: registering class device: ID = 'vcs6'
[   20.641426] class_hotplug - name = vcs6
[   20.641428] class_device_create_hotplug called for vcs6
[   20.641749] CLASS: registering class device: ID = 'vcsa6'
[   20.641755] class_hotplug - name = vcsa6
[   20.641757] class_device_create_hotplug called for vcsa6
[   20.643759] CLASS: Unregistering class device. ID = 'vcs6'
[   20.643767] class_hotplug - name = vcs6
[   20.643769] class_device_create_hotplug called for vcs6
[   20.644130] device class 'vcs6': release.
[   20.644132] class_device_create_release called for vcs6
[   20.644134] CLASS: Unregistering class device. ID = 'vcsa6'
[   20.644138] class_hotplug - name = vcsa6
[   20.644140] class_device_create_hotplug called for vcsa6
[   20.644391] device class 'vcsa6': release.
[   20.644393] class_device_create_release called for vcsa6
[   20.647803] CLASS: registering class device: ID = 'vcs7'
[   20.647816] class_hotplug - name = vcs7
[   20.647818] class_device_create_hotplug called for vcs7
[   20.648177] CLASS: registering class device: ID = 'vcsa7'
[   20.648183] class_hotplug - name = vcsa7
[   20.648185] class_device_create_hotplug called for vcsa7
[   20.650276] CLASS: Unregistering class device. ID = 'vcs7'
[   20.650283] class_hotplug - name = vcs7
[   20.650285] class_device_create_hotplug called for vcs7
[   20.650587] device class 'vcs7': release.
[   20.650589] class_device_create_release called for vcs7
[   20.650591] CLASS: Unregistering class device. ID = 'vcsa7'
[   20.650595] class_hotplug - name = vcsa7
[   20.650596] class_device_create_hotplug called for vcsa7
[   20.650852] device class 'vcsa7': release.
[   20.650854] class_device_create_release called for vcsa7
[   20.652806] CLASS: registering class device: ID = 'vcs8'
[   20.652819] class_hotplug - name = vcs8
[   20.652822] class_device_create_hotplug called for vcs8
[   20.653165] CLASS: registering class device: ID = 'vcsa8'
[   20.653172] class_hotplug - name = vcsa8
[   20.653174] class_device_create_hotplug called for vcsa8
[   20.655301] CLASS: Unregistering class device. ID = 'vcs8'
[   20.655308] class_hotplug - name = vcs8
[   20.655310] class_device_create_hotplug called for vcs8
[   20.655632] device class 'vcs8': release.
[   20.655635] class_device_create_release called for vcs8
[   20.655637] CLASS: Unregistering class device. ID = 'vcsa8'
[   20.655640] class_hotplug - name = vcsa8
[   20.655642] class_device_create_hotplug called for vcsa8
[   20.655904] device class 'vcsa8': release.
[   20.655906] class_device_create_release called for vcsa8
[   25.849523] floppy0: no floppy controllers found
[   26.068672] ieee80211_crypt: registered algorithm 'NULL'
[   26.102338] ieee80211: 802.11 data/management/control stack, git-1.1.7
[   26.102341] ieee80211: Copyright (C) 2004-2005 Intel Corporation <[email protected]>
[   26.147929] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, git-1.0.8
[   26.147933] ipw2200: Copyright(c) 2003-2005 Intel Corporation
[   26.147936] bus pci: add driver ipw2200
[   26.152270] pci: Matched Device 0000:02:03.0 with Driver ipw2200
[   26.152326] ACPI: PCI Interrupt 0000:02:03.0[A] -> Link [LNKB] -> GSI 7 (level, low) -> IRQ 7
[   26.152358] ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
[   26.152380] CLASS: registering class device: ID = '0000:02:03.0'
[   26.152391] class_hotplug - name = 0000:02:03.0
[   26.152395] class->hotplug() returned -19
[   26.152399] class_hotplug - name = 0000:02:03.0
[   26.231890] CLASS: Unregistering class device. ID = '0000:02:03.0'
[   26.231902] class_hotplug - name = 0000:02:03.0
[   26.232402] device class '0000:02:03.0': release.
[   26.232407] CLASS: registering class device: ID = '0000:02:03.0'
[   26.232415] class_hotplug - name = 0000:02:03.0
[   26.232418] class->hotplug() returned -19
[   26.232421] class_hotplug - name = 0000:02:03.0
[   26.250722] CLASS: Unregistering class device. ID = '0000:02:03.0'
[   26.250735] class_hotplug - name = 0000:02:03.0
[   26.251266] CLASS: registering class device: ID = '0000:02:03.0'
[   26.251275] class_hotplug - name = 0000:02:03.0
[   26.251278] class->hotplug() returned -19
[   26.251282] class_hotplug - name = 0000:02:03.0
[   26.258937] device class '0000:02:03.0': release.
[   26.276321] CLASS: Unregistering class device. ID = '0000:02:03.0'
[   26.276334] class_hotplug - name = 0000:02:03.0
[   26.397597] device class '0000:02:03.0': release.
[   26.398354] CLASS: registering class device: ID = 'eth1'
[   26.398368] class_hotplug - name = eth1
[   26.398867] bound device '0000:02:03.0' to driver 'ipw2200'
[   26.398872] pci: Bound Device 0000:02:03.0 to Driver ipw2200
[   27.305152] EXT3 FS on hda3, internal journal
[   27.413602] kjournald starting.  Commit interval 5 seconds
[   27.413802] EXT3 FS on hda1, internal journal
[   27.413806] EXT3-fs: mounted filesystem with ordered data mode.
[   28.120587] Adding 2008116k swap on /dev/hda2.  Priority:-1 extents:1 across:2008116k
[   28.266219] CLASS: registering class device: ID = 'vcs2'
[   28.266233] class_hotplug - name = vcs2
[   28.266236] class_device_create_hotplug called for vcs2
[   28.266529] CLASS: registering class device: ID = 'vcsa2'
[   28.266538] class_hotplug - name = vcsa2
[   28.266540] class_device_create_hotplug called for vcsa2
[   28.267084] CLASS: Unregistering class device. ID = 'vcs2'
[   28.267089] class_hotplug - name = vcs2
[   28.267091] class_device_create_hotplug called for vcs2
[   28.267339] device class 'vcs2': release.
[   28.267341] class_device_create_release called for vcs2
[   28.267343] CLASS: Unregistering class device. ID = 'vcsa2'
[   28.267346] class_hotplug - name = vcsa2
[   28.267348] class_device_create_hotplug called for vcsa2
[   28.267582] device class 'vcsa2': release.
[   28.267583] class_device_create_release called for vcsa2
[   28.267801] CLASS: registering class device: ID = 'vcs2'
[   28.267806] class_hotplug - name = vcs2
[   28.267808] class_device_create_hotplug called for vcs2
[   28.268052] CLASS: registering class device: ID = 'vcsa2'
[   28.268057] class_hotplug - name = vcsa2
[   28.268059] class_device_create_hotplug called for vcsa2
[   28.313694] CLASS: registering class device: ID = 'vcs3'
[   28.313706] class_hotplug - name = vcs3
[   28.313708] class_device_create_hotplug called for vcs3
[   28.314016] CLASS: registering class device: ID = 'vcsa3'
[   28.314022] class_hotplug - name = vcsa3
[   28.314024] class_device_create_hotplug called for vcsa3
[   28.314548] CLASS: Unregistering class device. ID = 'vcs3'
[   28.314553] class_hotplug - name = vcs3
[   28.314554] class_device_create_hotplug called for vcs3
[   28.314795] device class 'vcs3': release.
[   28.314797] class_device_create_release called for vcs3
[   28.314799] CLASS: Unregistering class device. ID = 'vcsa3'
[   28.314802] class_hotplug - name = vcsa3
[   28.314804] class_device_create_hotplug called for vcsa3
[   28.315043] device class 'vcsa3': release.
[   28.315045] class_device_create_release called for vcsa3
[   28.315262] CLASS: registering class device: ID = 'vcs3'
[   28.315268] class_hotplug - name = vcs3
[   28.315269] class_device_create_hotplug called for vcs3
[   28.315506] CLASS: registering class device: ID = 'vcsa3'
[   28.315511] class_hotplug - name = vcsa3
[   28.315513] class_device_create_hotplug called for vcsa3
[   28.873990] pcmcia: Detected deprecated PCMCIA ioctl usage.
[   28.873993] pcmcia: This interface will soon be removed from the kernel; please expect breakage unless you upgrade to new tools.
[   28.873996] pcmcia: see http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details.
[   19.084000] Time: acpi_pm clocksource has been installed.
[   19.085000] Ktimers: Switched to high resolution mode CPU 0
[   21.128000] b44: eth0: Link is up at 100 Mbps, full duplex.
[   21.128000] b44: eth0: Flow control is on for TX and on for RX.
[   62.376000] CLASS: registering class device: ID = 'vcs4'
[   62.376000] class_hotplug - name = vcs4
[   62.376000] class_device_create_hotplug called for vcs4
[   62.377000] CLASS: registering class device: ID = 'vcsa4'
[   62.377000] class_hotplug - name = vcsa4
[   62.377000] class_device_create_hotplug called for vcsa4
[   62.379000] CLASS: Unregistering class device. ID = 'vcs4'
[   62.379000] class_hotplug - name = vcs4
[   62.379000] class_device_create_hotplug called for vcs4
[   62.380000] device class 'vcs4': release.
[   62.380000] class_device_create_release called for vcs4
[   62.380000] CLASS: Unregistering class device. ID = 'vcsa4'
[   62.380000] class_hotplug - name = vcsa4
[   62.380000] class_device_create_hotplug called for vcsa4
[   62.381000] device class 'vcsa4': release.
[   62.381000] class_device_create_release called for vcsa4
[   62.382000] CLASS: registering class device: ID = 'vcs4'
[   62.382000] class_hotplug - name = vcs4
[   62.382000] class_device_create_hotplug called for vcs4
[   62.383000] CLASS: registering class device: ID = 'vcsa4'
[   62.383000] class_hotplug - name = vcsa4
[   62.383000] class_device_create_hotplug called for vcsa4
[   62.387000] CLASS: registering class device: ID = 'vcs5'
[   62.387000] class_hotplug - name = vcs5
[   62.387000] class_device_create_hotplug called for vcs5
[   62.388000] CLASS: registering class device: ID = 'vcsa5'
[   62.388000] class_hotplug - name = vcsa5
[   62.388000] class_device_create_hotplug called for vcsa5
[   62.390000] CLASS: Unregistering class device. ID = 'vcs5'
[   62.390000] class_hotplug - name = vcs5
[   62.390000] class_device_create_hotplug called for vcs5
[   62.391000] device class 'vcs5': release.
[   62.391000] class_device_create_release called for vcs5
[   62.391000] CLASS: Unregistering class device. ID = 'vcsa5'
[   62.391000] class_hotplug - name = vcsa5
[   62.391000] class_device_create_hotplug called for vcsa5
[   62.392000] device class 'vcsa5': release.
[   62.392000] class_device_create_release called for vcsa5
[   62.394000] CLASS: registering class device: ID = 'vcs5'
[   62.394000] class_hotplug - name = vcs5
[   62.394000] class_device_create_hotplug called for vcs5
[   62.396000] CLASS: registering class device: ID = 'vcs6'
[   62.396000] class_hotplug - name = vcs6
[   62.396000] class_device_create_hotplug called for vcs6
[   62.626000] CLASS: registering class device: ID = 'vcsa5'
[   62.626000] class_hotplug - name = vcsa5
[   62.626000] class_device_create_hotplug called for vcsa5
[   62.628000] CLASS: registering class device: ID = 'vcsa6'
[   62.628000] class_hotplug - name = vcsa6
[   62.628000] class_device_create_hotplug called for vcsa6
[   62.709000] CLASS: Unregistering class device. ID = 'vcs6'
[   62.709000] class_hotplug - name = vcs6
[   62.709000] class_device_create_hotplug called for vcs6
[   62.710000] device class 'vcs6': release.
[   62.710000] class_device_create_release called for vcs6
[   62.711000] CLASS: Unregistering class device. ID = 'vcsa6'
[   62.711000] class_hotplug - name = vcsa6
[   62.711000] class_device_create_hotplug called for vcsa6
[   62.712000] device class 'vcsa6': release.
[   62.713000] class_device_create_release called for vcsa6
[   62.733000] CLASS: registering class device: ID = 'vcs6'
[   62.733000] class_hotplug - name = vcs6
[   62.733000] class_device_create_hotplug called for vcs6
[   62.734000] CLASS: registering class device: ID = 'vcsa6'
[   62.734000] class_hotplug - name = vcsa6
[   62.734000] class_device_create_hotplug called for vcsa6
[   71.188000] CLASS: registering class device: ID = 'vcs7'
[   71.188000] class_hotplug - name = vcs7
[   71.188000] class_device_create_hotplug called for vcs7
[   71.189000] CLASS: registering class device: ID = 'vcsa7'
[   71.189000] class_hotplug - name = vcsa7
[   71.189000] class_device_create_hotplug called for vcsa7
[   71.313000] CLASS: Unregistering class device. ID = 'vcs7'
[   71.313000] class_hotplug - name = vcs7
[   71.313000] class_device_create_hotplug called for vcs7
[   71.314000] device class 'vcs7': release.
[   71.314000] class_device_create_release called for vcs7
[   71.314000] CLASS: Unregistering class device. ID = 'vcsa7'
[   71.314000] class_hotplug - name = vcsa7
[   71.314000] class_device_create_hotplug called for vcsa7
[   71.315000] device class 'vcsa7': release.
[   71.315000] class_device_create_release called for vcsa7
[   71.819000] CLASS: registering class device: ID = 'vcs7'
[   71.819000] class_hotplug - name = vcs7
[   71.819000] class_device_create_hotplug called for vcs7
[   71.820000] CLASS: registering class device: ID = 'vcsa7'
[   71.820000] class_hotplug - name = vcsa7
[   71.820000] class_device_create_hotplug called for vcsa7
[  189.109000] Time: jiffies clocksource has been installed.
[  189.364000] check_monotonic_clock: monotonic inconsistency detected!
[  189.364000] 	from       2c4111daf6 (190070250230) to       2c4111daf5 (190070250229).
[  189.364000] Badness in check_monotonic_clock at kernel/time/timeofday.c:156
[  189.364000]  [<c01381cc>] check_monotonic_clock+0x9c/0x110
[  189.364000]  [<c013858e>] get_monotonic_clock+0xae/0xd0
[  189.364000]  [<c0136aac>] enqueue_ktimer+0x2c/0x350
[  189.364000]  [<c0136ed1>] internal_restart_ktimer+0x51/0xb0
[  189.364000]  [<c013962a>] timeofday_periodic_hook+0x67a/0x8f0
[  189.364000]  [<f98891f7>] ipw_handle_mgmt_packet+0x37/0x2d0 [ipw2200]
[  189.364000]  [<c01365e2>] ktimer_interrupt+0x1e2/0x2e0
[  189.364000]  [<c0137258>] ktimer_run_queues+0x18/0x110
[  189.364000]  [<c025d24d>] __rb_erase_color+0xcd/0x190
[  189.364000]  [<c0138fb0>] timeofday_periodic_hook+0x0/0x8f0
[  189.364000]  [<c01371f8>] run_ktimer_softirq+0x68/0xb0
[  189.364000]  [<c0124772>] __do_softirq+0x42/0xa0
[  189.364000]  [<c010531e>] do_softirq+0x4e/0x60
[  189.364000]  =======================
[  189.364000]  [<c0124895>] irq_exit+0x35/0x40
[  189.364000]  [<c01051da>] do_IRQ+0x5a/0xa0
[  189.364000]  [<c0103ace>] common_interrupt+0x1a/0x20
[  189.364000]  [<c02f6000>] acpi_processor_idle+0x127/0x2bd
[  189.364000]  [<c01010f2>] cpu_idle+0x42/0x60
[  189.364000]  [<c05a9855>] start_kernel+0x175/0x1e0
[  189.364000]  [<c05a93a0>] unknown_bootoption+0x0/0x1e0
[  189.619000] check_monotonic_clock: monotonic inconsistency detected!
[  189.619000] 	from       2c5044782f (190325225519) to       2c5044782e (190325225518).
[  189.619000] Badness in check_monotonic_clock at kernel/time/timeofday.c:156
[  189.619000]  [<c01381cc>] check_monotonic_clock+0x9c/0x110
[  189.619000]  [<c013858e>] get_monotonic_clock+0xae/0xd0
[  189.619000]  [<c0136aac>] enqueue_ktimer+0x2c/0x350
[  189.619000]  [<c0136ed1>] internal_restart_ktimer+0x51/0xb0
[  189.619000]  [<c013962a>] timeofday_periodic_hook+0x67a/0x8f0
[  189.619000]  [<f98891f7>] ipw_handle_mgmt_packet+0x37/0x2d0 [ipw2200]
[  189.619000]  [<c01365e2>] ktimer_interrupt+0x1e2/0x2e0
[  189.619000]  [<c0137258>] ktimer_run_queues+0x18/0x110
[  189.619000]  [<c0138fb0>] timeofday_periodic_hook+0x0/0x8f0
[  189.619000]  [<c01371f8>] run_ktimer_softirq+0x68/0xb0
[  189.619000]  [<c0124772>] __do_softirq+0x42/0xa0
[  189.619000]  [<c010531e>] do_softirq+0x4e/0x60
[  189.619000]  =======================
[  189.619000]  [<c0124895>] irq_exit+0x35/0x40
[  189.619000]  [<c01051da>] do_IRQ+0x5a/0xa0
[  189.619000]  [<c0103ace>] common_interrupt+0x1a/0x20
[  189.619000]  [<c02f6000>] acpi_processor_idle+0x127/0x2bd
[  189.619000]  [<c01010f2>] cpu_idle+0x42/0x60
[  189.619000]  [<c05a9855>] start_kernel+0x175/0x1e0
[  189.619000]  [<c05a93a0>] unknown_bootoption+0x0/0x1e0
[  189.874000] check_monotonic_clock: monotonic inconsistency detected!
[  189.874000] 	from       2c5f771568 (190580200808) to       2c5f771567 (190580200807).
[  189.874000] Badness in check_monotonic_clock at kernel/time/timeofday.c:156
[  189.874000]  [<c01381cc>] check_monotonic_clock+0x9c/0x110
[  189.874000]  [<c013858e>] get_monotonic_clock+0xae/0xd0
[  189.874000]  [<c0136aac>] enqueue_ktimer+0x2c/0x350
[  189.874000]  [<c0136ed1>] internal_restart_ktimer+0x51/0xb0
[  189.874000]  [<c013962a>] timeofday_periodic_hook+0x67a/0x8f0
[  189.874000]  [<c032a210>] i8042_timer_func+0x0/0x10
[  189.874000]  [<c0137258>] ktimer_run_queues+0x18/0x110
[  189.874000]  [<c0138fb0>] timeofday_periodic_hook+0x0/0x8f0
[  189.874000]  [<c01371f8>] run_ktimer_softirq+0x68/0xb0
[  189.874000]  [<c0124772>] __do_softirq+0x42/0xa0
[  189.874000]  [<c010531e>] do_softirq+0x4e/0x60
[  189.874000]  =======================
[  189.874000]  [<c0124895>] irq_exit+0x35/0x40
[  189.874000]  [<c01051da>] do_IRQ+0x5a/0xa0
[  189.874000]  [<c0103ace>] common_interrupt+0x1a/0x20
[  189.874000]  [<c02f6000>] acpi_processor_idle+0x127/0x2bd
[  189.874000]  [<c01010f2>] cpu_idle+0x42/0x60
[  189.874000]  [<c05a9855>] start_kernel+0x175/0x1e0
[  189.874000]  [<c05a93a0>] unknown_bootoption+0x0/0x1e0
[  190.130000] check_monotonic_clock: monotonic inconsistency detected!
[  190.130000] 	from       2c6eb8f480 (190836176000) to       2c6eb8f47f (190836175999).
[  190.130000] Badness in check_monotonic_clock at kernel/time/timeofday.c:156
[  190.130000]  [<c01381cc>] check_monotonic_clock+0x9c/0x110
[  190.130000]  [<c013858e>] get_monotonic_clock+0xae/0xd0
[  190.130000]  [<c0136aac>] enqueue_ktimer+0x2c/0x350
[  190.130000]  [<c0136ed1>] internal_restart_ktimer+0x51/0xb0
[  190.130000]  [<c013962a>] timeofday_periodic_hook+0x67a/0x8f0
[  190.130000]  [<f98891f7>] ipw_handle_mgmt_packet+0x37/0x2d0 [ipw2200]
[  190.130000]  [<c01365e2>] ktimer_interrupt+0x1e2/0x2e0
[  190.130000]  [<c0137258>] ktimer_run_queues+0x18/0x110
[  190.130000]  [<c0138fb0>] timeofday_periodic_hook+0x0/0x8f0
[  190.130000]  [<c01371f8>] run_ktimer_softirq+0x68/0xb0
[  190.130000]  [<c0124772>] __do_softirq+0x42/0xa0
[  190.130000]  [<c010531e>] do_softirq+0x4e/0x60
[  190.130000]  =======================
[  190.130000]  [<c0124895>] irq_exit+0x35/0x40
[  190.130000]  [<c01051da>] do_IRQ+0x5a/0xa0
[  190.130000]  [<c0103ace>] common_interrupt+0x1a/0x20
[  190.130000]  [<c02f6000>] acpi_processor_idle+0x127/0x2bd
[  190.130000]  [<c01010f2>] cpu_idle+0x42/0x60
[  190.130000]  [<c05a9855>] start_kernel+0x175/0x1e0
[  190.130000]  [<c05a93a0>] unknown_bootoption+0x0/0x1e0
[  190.589000] check_monotonic_clock: monotonic inconsistency detected!
[  190.589000] 	from       2c8a140f80 (191295131520) to       2c8a140f7f (191295131519).
[  190.589000] Badness in check_monotonic_clock at kernel/time/timeofday.c:156
[  190.589000]  [<c01381cc>] check_monotonic_clock+0x9c/0x110
[  190.589000]  [<c013858e>] get_monotonic_clock+0xae/0xd0
[  190.589000]  [<c0136aac>] enqueue_ktimer+0x2c/0x350
[  190.589000]  [<c0136ed1>] internal_restart_ktimer+0x51/0xb0
[  190.589000]  [<c013962a>] timeofday_periodic_hook+0x67a/0x8f0
[  190.589000]  [<c01365e2>] ktimer_interrupt+0x1e2/0x2e0
[  190.589000]  [<c0137258>] ktimer_run_queues+0x18/0x110
[  190.589000]  [<c0138fb0>] timeofday_periodic_hook+0x0/0x8f0
[  190.589000]  [<c01371f8>] run_ktimer_softirq+0x68/0xb0
[  190.589000]  [<c0124772>] __do_softirq+0x42/0xa0
[  190.589000]  [<c010531e>] do_softirq+0x4e/0x60
[  190.589000]  =======================
[  190.589000]  [<c0124895>] irq_exit+0x35/0x40
[  190.589000]  [<c01051da>] do_IRQ+0x5a/0xa0
[  190.589000]  [<c0103ace>] common_interrupt+0x1a/0x20
[  190.589000]  [<c02f6000>] acpi_processor_idle+0x127/0x2bd
[  190.589000]  [<c01010f2>] cpu_idle+0x42/0x60
[  190.589000]  [<c05a9855>] start_kernel+0x175/0x1e0
[  190.589000]  [<c05a93a0>] unknown_bootoption+0x0/0x1e0
[  190.694000] check_monotonic_clock: monotonic inconsistency detected!
[  190.694000] 	from       2c90561401 (191400121345) to       2c90561400 (191400121344).
[  190.694000] Badness in check_monotonic_clock at kernel/time/timeofday.c:156
[  190.694000]  [<c01381cc>] check_monotonic_clock+0x9c/0x110
[  190.694000]  [<c013858e>] get_monotonic_clock+0xae/0xd0
[  190.694000]  [<c0136aac>] enqueue_ktimer+0x2c/0x350
[  190.694000]  [<c0136ed1>] internal_restart_ktimer+0x51/0xb0
[  190.694000]  [<c013962a>] timeofday_periodic_hook+0x67a/0x8f0
[  190.694000]  [<c0116adb>] smp_apic_timer_interrupt+0x2b/0x30
[  190.694000]  [<c0103af0>] apic_timer_interrupt+0x1c/0x24
[  190.694000]  [<c0138fb0>] timeofday_periodic_hook+0x0/0x8f0
[  190.694000]  [<c01371f8>] run_ktimer_softirq+0x68/0xb0
[  190.694000]  [<c0124772>] __do_softirq+0x42/0xa0
[  190.694000]  [<c010531e>] do_softirq+0x4e/0x60
[  190.694000]  =======================
[  190.694000]  [<c0124895>] irq_exit+0x35/0x40
[  190.694000]  [<c01051da>] do_IRQ+0x5a/0xa0
[  190.694000]  [<c0103ace>] common_interrupt+0x1a/0x20
[  190.694000]  [<c02f6000>] acpi_processor_idle+0x127/0x2bd
[  190.694000]  [<c01010f2>] cpu_idle+0x42/0x60
[  190.694000]  [<c05a9855>] start_kernel+0x175/0x1e0
[  190.694000]  [<c05a93a0>] unknown_bootoption+0x0/0x1e0
[  190.796000] check_monotonic_clock: monotonic inconsistency detected!
[  190.796000] 	from       2c966a52e4 (191502111460) to       2c966a52e3 (191502111459).
[  190.796000] Badness in check_monotonic_clock at kernel/time/timeofday.c:156
[  190.796000]  [<c01381cc>] check_monotonic_clock+0x9c/0x110
[  190.796000]  [<c013858e>] get_monotonic_clock+0xae/0xd0
[  190.796000]  [<c0136aac>] enqueue_ktimer+0x2c/0x350
[  190.796000]  [<c0136ed1>] internal_restart_ktimer+0x51/0xb0
[  190.796000]  [<c013962a>] timeofday_periodic_hook+0x67a/0x8f0
[  190.796000]  [<f98891f7>] ipw_handle_mgmt_packet+0x37/0x2d0 [ipw2200]
[  190.796000]  [<c01365e2>] ktimer_interrupt+0x1e2/0x2e0
[  190.796000]  [<c0137258>] ktimer_run_queues+0x18/0x110
[  190.796000]  [<c0138fb0>] timeofday_periodic_hook+0x0/0x8f0
[  190.796000]  [<c01371f8>] run_ktimer_softirq+0x68/0xb0
[  190.796000]  [<c0124772>] __do_softirq+0x42/0xa0
[  190.796000]  [<c010531e>] do_softirq+0x4e/0x60
[  190.796000]  =======================
[  190.796000]  [<c0124895>] irq_exit+0x35/0x40
[  190.796000]  [<c01051da>] do_IRQ+0x5a/0xa0
[  190.796000]  [<c0103ace>] common_interrupt+0x1a/0x20
[  190.796000]  [<c02f6000>] acpi_processor_idle+0x127/0x2bd
[  190.796000]  [<c01010f2>] cpu_idle+0x42/0x60
[  190.796000]  [<c05a9855>] start_kernel+0x175/0x1e0
[  190.796000]  [<c05a93a0>] unknown_bootoption+0x0/0x1e0
[  190.949000] check_monotonic_clock: monotonic inconsistency detected!
[  190.949000] 	from       2c9f88b13a (191655096634) to       2c9f88b139 (191655096633).
[  190.949000] Badness in check_monotonic_clock at kernel/time/timeofday.c:156
[  190.949000]  [<c01381cc>] check_monotonic_clock+0x9c/0x110
[  190.949000]  [<c013858e>] get_monotonic_clock+0xae/0xd0
[  190.949000]  [<c0136aac>] enqueue_ktimer+0x2c/0x350
[  190.949000]  [<c0136ed1>] internal_restart_ktimer+0x51/0xb0
[  190.949000]  [<c013962a>] timeofday_periodic_hook+0x67a/0x8f0
[  190.949000]  [<c01365e2>] ktimer_interrupt+0x1e2/0x2e0
[  190.949000]  [<c0137258>] ktimer_run_queues+0x18/0x110
[  190.949000]  [<c0138fb0>] timeofday_periodic_hook+0x0/0x8f0
[  190.949000]  [<c01371f8>] run_ktimer_softirq+0x68/0xb0
[  190.949000]  [<c0124772>] __do_softirq+0x42/0xa0
[  190.949000]  [<c010531e>] do_softirq+0x4e/0x60
[  190.949000]  =======================
[  190.949000]  [<c0124895>] irq_exit+0x35/0x40
[  190.949000]  [<c01051da>] do_IRQ+0x5a/0xa0
[  190.949000]  [<c0103ace>] common_interrupt+0x1a/0x20
[  190.949000]  [<c02f6000>] acpi_processor_idle+0x127/0x2bd
[  190.949000]  [<c01010f2>] cpu_idle+0x42/0x60
[  190.949000]  [<c05a9855>] start_kernel+0x175/0x1e0
[  190.949000]  [<c05a93a0>] unknown_bootoption+0x0/0x1e0
[  191.051000] check_monotonic_clock: monotonic inconsistency detected!
[  191.051000] 	from       2ca59cf01d (191757086749) to       2ca59cf01c (191757086748).
[  191.051000] Badness in check_monotonic_clock at kernel/time/timeofday.c:156
[  191.051000]  [<c01381cc>] check_monotonic_clock+0x9c/0x110
[  191.051000]  [<c013858e>] get_monotonic_clock+0xae/0xd0
[  191.051000]  [<c0136aac>] enqueue_ktimer+0x2c/0x350
[  191.051000]  [<c0136ed1>] internal_restart_ktimer+0x51/0xb0
[  191.051000]  [<c013962a>] timeofday_periodic_hook+0x67a/0x8f0
[  191.051000]  [<f98891f7>] ipw_handle_mgmt_packet+0x37/0x2d0 [ipw2200]
[  191.051000]  [<c01365e2>] ktimer_interrupt+0x1e2/0x2e0
[  191.051000]  [<c0137258>] ktimer_run_queues+0x18/0x110
[  191.051000]  [<c0138fb0>] timeofday_periodic_hook+0x0/0x8f0
[  191.051000]  [<c01371f8>] run_ktimer_softirq+0x68/0xb0
[  191.051000]  [<c0124772>] __do_softirq+0x42/0xa0
[  191.051000]  [<c010531e>] do_softirq+0x4e/0x60
[  191.051000]  =======================
[  191.051000]  [<c0124895>] irq_exit+0x35/0x40
[  191.051000]  [<c01051da>] do_IRQ+0x5a/0xa0
[  191.051000]  [<c0103ace>] common_interrupt+0x1a/0x20
[  191.051000]  [<c02f6000>] acpi_processor_idle+0x127/0x2bd
[  191.051000]  [<c01010f2>] cpu_idle+0x42/0x60
[  191.051000]  [<c05a9855>] start_kernel+0x175/0x1e0
[  191.051000]  [<c05a93a0>] unknown_bootoption+0x0/0x1e0
[  191.204000] check_monotonic_clock: monotonic inconsistency detected!
[  191.204000] 	from       2caebb4e73 (191910071923) to       2caebb4e72 (191910071922).
[  191.204000] Badness in check_monotonic_clock at kernel/time/timeofday.c:156
[  191.204000]  [<c01381cc>] check_monotonic_clock+0x9c/0x110
[  191.204000]  [<c013858e>] get_monotonic_clock+0xae/0xd0
[  191.204000]  [<c0136aac>] enqueue_ktimer+0x2c/0x350
[  191.204000]  [<c0136ed1>] internal_restart_ktimer+0x51/0xb0
[  191.204000]  [<c013962a>] timeofday_periodic_hook+0x67a/0x8f0
[  191.204000]  [<f98891f7>] ipw_handle_mgmt_packet+0x37/0x2d0 [ipw2200]
[  191.204000]  [<c01365e2>] ktimer_interrupt+0x1e2/0x2e0
[  191.204000]  [<c0137258>] ktimer_run_queues+0x18/0x110
[  191.204000]  [<c0138fb0>] timeofday_periodic_hook+0x0/0x8f0
[  191.204000]  [<c01371f8>] run_ktimer_softirq+0x68/0xb0
[  191.204000]  [<c0124772>] __do_softirq+0x42/0xa0
[  191.204000]  [<c010531e>] do_softirq+0x4e/0x60
[  191.204000]  =======================
[  191.204000]  [<c0124895>] irq_exit+0x35/0x40
[  191.204000]  [<c01051da>] do_IRQ+0x5a/0xa0
[  191.204000]  [<c0103ace>] common_interrupt+0x1a/0x20
[  191.204000]  [<c02f6000>] acpi_processor_idle+0x127/0x2bd
[  191.204000]  [<c01010f2>] cpu_idle+0x42/0x60
[  191.204000]  [<c05a9855>] start_kernel+0x175/0x1e0
[  191.204000]  [<c05a93a0>] unknown_bootoption+0x0/0x1e0
[  207.856000] Time: c3tsc clocksource has been installed.
[  207.857000] Ktimers: Switched to high resolution mode CPU 0
[  214.135000] Time: pit clocksource has been installed.
[  219.565000] Time: jiffies clocksource has been installed.
[  227.340000] Time: acpi_pm clocksource has been installed.
[  227.341000] Ktimers: Switched to high resolution mode CPU 0
[  236.159000] Time: c3tsc clocksource has been installed.
[  236.159000] Ktimers: Switched to high resolution mode CPU 0
#23 lore raw
Quoted 8 lines · Frank Sorenson

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 2 lines · john stultz

Hmm... Not sure if this is mis-calibration or just bad-interaction w/ kthrt. Mind sending a dmesg to me?

dmesg attached

Thanks, I'll start looking into it.

Quoted 6 lines
Quoted 2 lines
Quoted 2 lines

and 'pit' seems to produce errors (system will not switch from pit to another clocksource anymore):

Odd. This time, I got the errors when I switched from acpi_pm (which it had defaulted to at bootup) to jiffies. System has not locked at one clocksource yet, though.

Yea, jiffies and pit are similarly non-continuous clocksources.

Quoted 8 lines
Quoted 4 lines

Do the TOD patches have this issue by themselves, or is this only with kthrt? I know I had some issues with non-continuous clocksources (pit, jiffies) with the kthrt patch, where it wouldn't fall back to non-high-res when the clocksource stopped supporting it.

I only tried with kthrt because I ran into lots of conflicts when applying the patches to more recent kernels otherwise. I can try again with 2.6.14-mm2 in order to test it out.

You can alternatively drop the patches in the kthrt set that are after the timeofday patches in Thomas' series file. Or even just disable the high-res config option and see if that changes anything.

thanks
-john

#24 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 9 lines · john stultz
Quoted 7 lines · Frank Sorenson

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 2 lines · john stultz

Hmm... Not sure if this is mis-calibration or just bad-interaction w/ kthrt. Mind sending a dmesg to me?

Okay, the c3tsc clock drift is definitely not an interaction with kthrt.
Here is 2.6.14-mm2 + the TOD B10 patches:

14 Nov 15:54:52   offset: -0.003031       drift: -3091.0 ppm
14 Nov 15:55:52   offset: -0.184073       drift: -3018.57377049 ppm
14 Nov 15:56:52   offset: -0.345268       drift: -2853.95041322 ppm
14 Nov 15:57:53   offset: -0.463002       drift: -2544.2967033 ppm
14 Nov 15:58:53   offset: -0.587743       drift: -2428.93801653 ppm

Running just 2.6.14-mm2 + TOD B10, I seem to be unable to reproduce the Badness errors, and the clocksource has not frozen at one setting.

I can provide a dmesg if needed.

Frank
- --
Frank Sorenson - KD7TZK
Systems Manager, Computer Science Department Brigham Young University
[email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFDeRigaI0dwg4A47wRAsv6AJ4sPwUMg44sRN+kGpYjKjF8+qZWIACfZ1YL pLHKnEHkMjMi32kGWeT+gEw=
=9hHi
-----END PGP SIGNATURE-----

#25 lore raw
Quoted 12 lines · Frank Sorenson
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines · john stultz

Hmm... Not sure if this is mis-calibration or just bad-interaction w/ kthrt. Mind sending a dmesg to me?

Okay, the c3tsc clock drift is definitely not an interaction with kthrt.
Here is 2.6.14-mm2 + the TOD B10 patches:

14 Nov 15:54:52   offset: -0.003031       drift: -3091.0 ppm
14 Nov 15:55:52   offset: -0.184073       drift: -3018.57377049 ppm
14 Nov 15:56:52   offset: -0.345268       drift: -2853.95041322 ppm
14 Nov 15:57:53   offset: -0.463002       drift: -2544.2967033 ppm
14 Nov 15:58:53   offset: -0.587743       drift: -2428.93801653 ppm
Quoted 4 lines

Running just 2.6.14-mm2 + TOD B10, I seem to be unable to reproduce the Badness errors, and the clocksource has not frozen at one setting.

I can provide a dmesg if needed.

Hrm.. How about sending a dmesg of just vanilla 2.6.14-mm2? Also does the behavior change booting w/ idle=poll ?

Thanks so much for the problem report and testing, btw! -john

#26 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 2 lines · john stultz

Hrm.. How about sending a dmesg of just vanilla 2.6.14-mm2? Also does the behavior change booting w/ idle=poll ?

idle=poll does seem to fix the major clock drift problem. There may still be an issue, but it's much smaller:

2.6.14-mm2-todb10:

14 Nov 21:50:57      offset: -0.025373       drift: -22404.0 ppm
14 Nov 21:51:59      offset: -1.577053       drift: -24985.4603175 ppm
14 Nov 21:53:00      offset: -3.104569       drift: -25012.9032258 ppm

2.6.14-mm2-todb10 with idle=poll:

14 Nov 21:37:59      offset: 5.9e-05         drift: 63.0 ppm
14 Nov 21:39:00      offset: 0.003207        drift: 51.7903225806 ppm
14 Nov 21:40:00      offset: 0.012048        drift: 98.7868852459 ppm
14 Nov 21:41:00      offset: 0.020439        drift: 112.324175824 ppm
14 Nov 21:42:00      offset: 0.023596        drift: 97.520661157 ppm
14 Nov 21:43:00      offset: 0.026723        drift: 88.5 ppm
14 Nov 21:44:00      offset: 0.029856        drift: 82.4861878453 ppm
14 Nov 21:45:01      offset: 0.033036        drift: 78.1087470449 ppm
Quoted 1 line

Thanks so much for the problem report and testing, btw!

I just hope it helps! :)

Frank
- --
Frank Sorenson - KD7TZK
Systems Manager, Computer Science Department Brigham Young University
[email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFDeWx2aI0dwg4A47wRAtVoAJ9OmWr3FYTDMBcrUBSAY6NYoq7naACff+eX jZ4Z8+uGxRXOtTCaoUWd2ns=
=S5T6
-----END PGP SIGNATURE-----

#27 lore raw
Quoted 10 lines · Frank Sorenson

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 2 lines · john stultz

Hrm.. How about sending a dmesg of just vanilla 2.6.14-mm2? Also does the behavior change booting w/ idle=poll ?

idle=poll does seem to fix the major clock drift problem. There may still be an issue, but it's much smaller:

Quoted 8 lines

2.6.14-mm2-todb10:

14 Nov 21:50:57      offset: -0.025373       drift: -22404.0 ppm
14 Nov 21:51:59      offset: -1.577053       drift: -24985.4603175 ppm
14 Nov 21:53:00      offset: -3.104569       drift: -25012.9032258 ppm

2.6.14-mm2-todb10 with idle=poll:

14 Nov 21:37:59      offset: 5.9e-05         drift: 63.0 ppm
14 Nov 21:39:00      offset: 0.003207        drift: 51.7903225806 ppm

Hmm. It seems the c3 compensation is triggering when it shouldn't, or maybe its over compensating.

I can't reproduce it on my laptop. Do you recall if in previous tests you saw anything like this? I'm trying to narrow down if its just a difference in hardware or if something in the c3 idle code changed.

thanks
-john

#28 lore raw
Quoted 12 lines · john stultz
Quoted 11 lines

idle=poll does seem to fix the major clock drift problem. There may still be an issue, but it's much smaller:

2.6.14-mm2-todb10:

14 Nov 21:50:57      offset: -0.025373       drift: -22404.0 ppm
14 Nov 21:51:59      offset: -1.577053       drift: -24985.4603175 ppm
14 Nov 21:53:00      offset: -3.104569       drift: -25012.9032258 ppm

2.6.14-mm2-todb10 with idle=poll:

14 Nov 21:37:59      offset: 5.9e-05         drift: 63.0 ppm
14 Nov 21:39:00      offset: 0.003207        drift: 51.7903225806 ppm
Quoted 6 lines

Hmm. It seems the c3 compensation is triggering when it shouldn't, or maybe its over compensating.

I can't reproduce it on my laptop. Do you recall if in previous tests you saw anything like this? I'm trying to narrow down if its just a difference in hardware or if something in the c3 idle code changed.

it's with an earlier queue of yours, but maybe it's related: i have a report that HPET causes HRT inaccuracies (e.g. sleeps for 20 msecs last 21 msecs). If all HPET options are turned off in the .config then everything is fine and accurate.

Ingo

#29 lore raw
Quoted 17 lines · Ingo Molnar
Quoted 15 lines · john stultz
Quoted 11 lines

idle=poll does seem to fix the major clock drift problem. There may still be an issue, but it's much smaller:

2.6.14-mm2-todb10:

14 Nov 21:50:57      offset: -0.025373       drift: -22404.0 ppm
14 Nov 21:51:59      offset: -1.577053       drift: -24985.4603175 ppm
14 Nov 21:53:00      offset: -3.104569       drift: -25012.9032258 ppm

2.6.14-mm2-todb10 with idle=poll:

14 Nov 21:37:59      offset: 5.9e-05         drift: 63.0 ppm
14 Nov 21:39:00      offset: 0.003207        drift: 51.7903225806 ppm

Hmm. It seems the c3 compensation is triggering when it shouldn't, or maybe its over compensating.

Quoted 8 lines
Quoted 3 lines

I can't reproduce it on my laptop. Do you recall if in previous tests you saw anything like this? I'm trying to narrow down if its just a difference in hardware or if something in the c3 idle code changed.

it's with an earlier queue of yours, but maybe it's related: i have a report that HPET causes HRT inaccuracies (e.g. sleeps for 20 msecs last 21 msecs). If all HPET options are turned off in the .config then everything is fine and accurate.

Hmm. HPET would be separate from this, I believe. I suspect that could be related to the HPET legacy replacement functionality, where the HPET is triggering the timer interrupts. Not something I changed, but probably should be looked into.

thanks
-john