Magellan Linux

Contents of /trunk/kernel26-xen/patches-2.6.25-r1/1098-2.6.25-xen-Debugging-printk-s.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 606 - (show annotations) (download)
Thu May 22 23:13:13 2008 UTC (16 years ago) by niro
File size: 1442 byte(s)
-ver bump to 2.6.25-magellan-r1:
- linux-2.6.25.4
- fbcondecor-0.9.4
- squashfs-3.3
- unionfs-2.3.3
- tuxonice-3.0-rc7
- linux-phc-0.3.0
- acpi-dstd-0.9a
- reiser4
- xen-3.2.0
. ipw3945-1.2.2

1 From 05adaa0672c336ccdaae27f796c404d9f2fbb0de Mon Sep 17 00:00:00 2001
2 From: Eduardo Habkost <ehabkost@redhat.com>
3 Date: Fri, 4 Jan 2008 11:41:38 -0200
4 Subject: [PATCH] Debugging printk()s
5
6 Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
7 ---
8 init/main.c | 10 ++++++++++
9 1 files changed, 10 insertions(+), 0 deletions(-)
10
11 diff --git a/init/main.c b/init/main.c
12 index 4aad2d4..df6f3ed 100644
13 --- a/init/main.c
14 +++ b/init/main.c
15 @@ -580,17 +580,25 @@ asmlinkage void __init start_kernel(void)
16 rcu_init();
17 init_IRQ();
18 pidhash_init();
19 + printk("init_timers:\n");
20 init_timers();
21 hrtimers_init();
22 softirq_init();
23 + printk("timekeeping:\n");
24 timekeeping_init();
25 + printk("time:\n");
26 time_init();
27 + printk("profile:\n");
28 profile_init();
29 + printk("irqs_disabled:\n");
30 if (!irqs_disabled())
31 printk("start_kernel(): bug: interrupts were enabled early\n");
32 + printk("early_boot_irqs_on:\n");
33 early_boot_irqs_on();
34 + printk("local_irq_enable:\n");
35 local_irq_enable();
36
37 + printk("console_init:\n");
38 /*
39 * HACK ALERT! This is early. We're enabling the console before
40 * we've done PCI setups etc, and console_init() must be aware of
41 @@ -627,7 +635,9 @@ asmlinkage void __init start_kernel(void)
42 numa_policy_init();
43 if (late_time_init)
44 late_time_init();
45 + printk("calibrate_delay:\n");
46 calibrate_delay();
47 + printk("pidmap_init:\n");
48 pidmap_init();
49 pgtable_cache_init();
50 prio_tree_init();
51 --
52 1.5.4.1
53