2.6.33.9-rt31 boot problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



First, sorry for double post, I did not know if my email went through
first time (maybe for large config file attached)

Same machine 2.6.33.7.2-rt30 boots fine with Ubuntu and no problem at
all, today I tried the new version with Fedora 15 but it crashes early
in the boot process.
I have attached boot log I get from Qemu which is
the same (apart from the CPU number for example). I also have attached
the patch needed for successful build; V4l example in the
documentation was removed (did not compile with new API), also some
gcc4.6 related issues with anonymous union and superfluous warnings
during build was resolved. The patch is just to have the build so it
is not fully documented.
Please let me know if any further information is needed, if I should
submit the crash to another mailing list, or if I should enable some
option in the config file for more elaborate crash log. Since crash is
very early I could not get a crashdump.

I will be happy to look into the source code too (I am learning), if
you can give me some hint, thanks

dashesy
[    0.000000] Linux version 2.6.33.9-rt31 (ehsan@ehsan) (gcc version 4.6.0 20110530 (Red Hat 4.6.0-9) (GCC) ) #3 SMP PREEMPT RT Wed Jun 8 16:16:46 MDT 2011
[    0.000000] Command line: console=ttyS0 root=/dev/sda rw init=/bin/sh
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009f400 (usable)
[    0.000000]  BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 0000000007ffd000 (usable)
[    0.000000]  BIOS-e820: 0000000007ffd000 - 0000000008000000 (reserved)
[    0.000000]  BIOS-e820: 00000000fffbc000 - 0000000100000000 (reserved)
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI 2.4 present.
[    0.000000] No AGP bridge found
[    0.000000] last_pfn = 0x7ffd max_arch_pfn = 0x400000000
[    0.000000] PAT not supported by CPU.
[    0.000000] found SMP MP-table at [ffff8800000f7ba0] f7ba0
[    0.000000] init_memory_mapping: 0000000000000000-0000000007ffd000
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at 0000000000000000-0000000007ffd000
[    0.000000] Bootmem setup node 0 0000000000000000-0000000007ffd000
[    0.000000]   NODE_DATA [0000000000009000 - 000000000001efff]
[    0.000000]   bootmap [000000000001f000 -  000000000001ffff] pages 1
[    0.000000] (9 early reservations) ==> bootmem [0000000000 - 0007ffd000]
[    0.000000]   #0 [0000000000 - 0000001000]   BIOS data page ==> [0000000000 - 0000001000]
[    0.000000]   #1 [0001000000 - 000228ba60]    TEXT DATA BSS ==> [0001000000 - 000228ba60]
[    0.000000]   #2 [000228c000 - 000228c049]              BRK ==> [000228c000 - 000228c049]
[    0.000000]   #3 [000009f400 - 00000f7ba0]    BIOS reserved ==> [000009f400 - 00000f7ba0]
[    0.000000]   #4 [00000f7ba0 - 00000f7bb0]     MP-table mpf ==> [00000f7ba0 - 00000f7bb0]
[    0.000000]   #5 [00000f7c90 - 0000100000]    BIOS reserved ==> [00000f7c90 - 0000100000]
[    0.000000]   #6 [00000f7bb0 - 00000f7c90]     MP-table mpc ==> [00000f7bb0 - 00000f7c90]
[    0.000000]   #7 [0000001000 - 0000003000]       TRAMPOLINE ==> [0000001000 - 0000003000]
[    0.000000]   #8 [0000008000 - 0000009000]          PGTABLE ==> [0000008000 - 0000009000]
[    0.000000] kvm-clock: cpu 0, msr 0:1b3b081, boot clock
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000000 -> 0x00001000
[    0.000000]   DMA32    0x00001000 -> 0x00100000
[    0.000000]   Normal   0x00100000 -> 0x00100000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[2] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x0000009f
[    0.000000]     0: 0x00000100 -> 0x00007ffd
[    0.000000] SFI: Simple Firmware Interface v0.7 http://simplefirmware.org
[    0.000000] Intel MultiProcessor Specification v1.4
[    0.000000] MPTABLE: OEM ID: BOCHSCPU
[    0.000000] MPTABLE: Product ID: 0.1         
[    0.000000] MPTABLE: APIC at: 0xFEE00000
[    0.000000] Processor #0 (Bootup-CPU)
[    0.000000] I/O APIC #1 Version 17 at 0xFEC00000.
[    0.000000] Processors: 1
[    0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] Allocating PCI resources starting at 8000000 (gap: 8000000:f7fbc000)
[    0.000000] Booting paravirtualized kernel on KVM
[    0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] PERCPU: Embedded 26 pages/cpu @ffff880002400000 s76440 r8192 d21864 u2097152
[    0.000000] pcpu-alloc: s76440 r8192 d21864 u2097152 alloc=1*2097152
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] kvm-clock: cpu 0, msr 0:2412081, primary cpu clock
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 32120
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: console=ttyS0 root=/dev/sda rw init=/bin/sh
[    0.000000] PID hash table entries: 512 (order: 0, 4096 bytes)
[    0.000000] Checking aperture...
[    0.000000] No AGP bridge found
[    0.000000] Memory: 109368k/131060k available (4731k kernel code, 388k absent, 21304k reserved, 6692k data, 1484k init)
[    0.000000] Real-Time Preemption Support (C) 2004-2007 Ingo Molnar
[    0.000000] Experimental preemptable hierarchical RCU implementation.
[    0.000000] NR_IRQS:4352
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [ttyS0] enabled
[    0.000000] Detected 3207.960 MHz processor.
[    0.001999] Calibrating delay loop (skipped) preset value.. 6415.92 BogoMIPS (lpj=3207960)
[    0.002798] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
[    0.003859] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.004775] Mount-cache hash table entries: 256
[    0.005582] mce: CPU supports 10 MCE banks
[    0.006191] Performance Events: unsupported p6 CPU model 2 no PMU driver, software events only.
[    0.007443] SMP alternatives: switching to UP code
[    0.018647] Freeing SMP alternatives: 31k freed
[    0.019289] ftrace: converting mcount calls to 0f 1f 44 00 00
[    0.020008] ftrace: allocating 17468 entries in 69 pages
[    0.023028] Setting APIC routing to flat
[    0.025187] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.026002] CPU0: Intel QEMU Virtual CPU version 0.14.0 stepping 03
[    0.157020] Brought up 1 CPUs
[    0.157558] Total of 1 processors activated (6415.92 BogoMIPS).
[    0.160120] devtmpfs: initialized
[    0.160802] BUG: unable to handle kernel paging request at 0000000600000003
[    0.160999] IP: [<ffffffff81249200>] strcmp+0x10/0x30
[    0.160999] PGD 0 
[    0.160999] Oops: 0000 [#1] PREEMPT SMP 
[    0.160999] last sysfs file: 
[    0.160999] CPU 0 
[    0.160999] Pid: 1, comm: swapper Not tainted 2.6.33.9-rt31 #3 /Bochs
[    0.160999] RIP: 0010:[<ffffffff81249200>]  [<ffffffff81249200>] strcmp+0x10/0x30
[    0.160999] RSP: 0018:ffff8800078f9d90  EFLAGS: 00010246
[    0.160999] RAX: 0000000000000000 RBX: ffffffff81b1b968 RCX: 0000000000000000
[    0.160999] RDX: 0000000000000081 RSI: ffff8800078f9dac RDI: 0000000600000003
[    0.160999] RBP: ffff8800078f9d90 R08: ffffffff8173277c R09: 0000000000000001
[    0.160999] R10: ffffffff816c551a R11: ffffffff816c551a R12: ffff8800078f9dac
[    0.160999] R13: 0000000000000100 R14: 0000000000000100 R15: 0000000000000000
[    0.160999] FS:  0000000000000000(0000) GS:ffff880002400000(0000) knlGS:0000000000000000
[    0.160999] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[    0.160999] CR2: 0000000600000003 CR3: 0000000001a1e000 CR4: 00000000000006f0
[    0.160999] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    0.160999] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[    0.160999] Process swapper (pid: 1, threadinfo ffff8800078f8000, task ffff8800078f6040)
[    0.160999] Stack:
[    0.160999]  ffff8800078f9eb0 ffffffff8148a976 0000000000000000 6165725f73797309
[    0.160999] <0> ffff8800078f0064 ffffffff8111288d ffff880007812440 0000000000000000
[    0.160999] <0> ffff8800078f9e7c 0000000000000000 ffff8800078f9e00 ffffffff81114f05
[    0.160999] Call Trace:
[    0.160999]  [<ffffffff8148a976>] find_syscall_meta+0x57/0x8d
[    0.160999]  [<ffffffff8111288d>] ? interleave_nodes+0x8d/0xa0
[    0.160999]  [<ffffffff81114f05>] ? slab_node+0x95/0xa0
[    0.160999]  [<ffffffff8148bd53>] ? alternate_node_alloc+0x67/0x8e
[    0.160999]  [<ffffffff8111c374>] ? kmem_cache_alloc_notrace+0x1a4/0x1c0
[    0.160999]  [<ffffffff81b54a14>] init_ftrace_syscalls+0xd9/0x103
[    0.160999]  [<ffffffff81b5493b>] ? init_ftrace_syscalls+0x0/0x103
[    0.160999]  [<ffffffff8100204c>] do_one_initcall+0x3c/0x1a0
[    0.160999]  [<ffffffff81b3cd9a>] kernel_init+0x153/0x1bb
[    0.160999]  [<ffffffff8100bee4>] kernel_thread_helper+0x4/0x10
[    0.160999]  [<ffffffff81b3cc47>] ? kernel_init+0x0/0x1bb
[    0.160999]  [<ffffffff8100bee0>] ? kernel_thread_helper+0x0/0x10
[    0.160999] Code: 88 3c 11 48 83 c2 01 40 84 ff 75 ef 5d c3 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 55 31 c0 48 89 e5 66 2e 0f 1f 84 00 00 00 00 00 <0f> b6 14 07 3a 14 06 75 0f 48 83 c0 01 84 d2 75 ef 31 c0 5d c3 
[    0.160999] RIP  [<ffffffff81249200>] strcmp+0x10/0x30
[    0.160999]  RSP <ffff8800078f9d90>
[    0.160999] CR2: 0000000600000003
[    0.162012] ---[ end trace 4eaa2a86a8e2da22 ]---
[    0.163092] Kernel panic - not syncing: Attempted to kill init!
[    0.163955] Pid: 1, comm: swapper Tainted: G      D    2.6.33.9-rt31 #3
[    0.164943] Call Trace:
[    0.165326]  [<ffffffff814880a0>] panic+0x82/0x145
[    0.166046]  [<ffffffff8105b263>] do_exit+0x833/0x840
[    0.166796]  [<ffffffff8149600e>] ? rt_spin_trylock+0xe/0x10
[    0.167645]  [<ffffffff8149784b>] oops_end+0xab/0xf0
[    0.168397]  [<ffffffff81031e91>] no_context+0xe1/0x280
[    0.169180]  [<ffffffff81499b09>] ? sub_preempt_count+0x9/0xa0
[    0.170053]  [<ffffffff81496560>] ? _raw_spin_unlock_irqrestore+0x20/0x50
[    0.171064]  [<ffffffff8103212d>] __bad_area_nosemaphore+0xfd/0x1e0
[    0.171987]  [<ffffffff81499b09>] ? sub_preempt_count+0x9/0xa0
[    0.172858]  [<ffffffff81496560>] ? _raw_spin_unlock_irqrestore+0x20/0x50
[    0.173869]  [<ffffffff81032223>] bad_area_nosemaphore+0x13/0x20
[    0.174765]  [<ffffffff81499a31>] do_page_fault+0x331/0x400
[    0.175591]  [<ffffffff81499ba9>] ? add_preempt_count+0x9/0xa0
[    0.176463]  [<ffffffff81496be5>] page_fault+0x25/0x30
[    0.177232]  [<ffffffff81249200>] ? strcmp+0x10/0x30
[    0.177966]  [<ffffffff8148a976>] find_syscall_meta+0x57/0x8d
[    0.178827]  [<ffffffff8111288d>] ? interleave_nodes+0x8d/0xa0
[    0.179697]  [<ffffffff81114f05>] ? slab_node+0x95/0xa0
[    0.180480]  [<ffffffff8148bd53>] ? alternate_node_alloc+0x67/0x8e
[    0.181409]  [<ffffffff8111c374>] ? kmem_cache_alloc_notrace+0x1a4/0x1c0
[    0.182406]  [<ffffffff81b54a14>] init_ftrace_syscalls+0xd9/0x103
[    0.183318]  [<ffffffff81b5493b>] ? init_ftrace_syscalls+0x0/0x103
[    0.184241]  [<ffffffff8100204c>] do_one_initcall+0x3c/0x1a0
[    0.185082]  [<ffffffff81b3cd9a>] kernel_init+0x153/0x1bb
[    0.185878]  [<ffffffff8100bee4>] kernel_thread_helper+0x4/0x10
[    0.186762]  [<ffffffff81b3cc47>] ? kernel_init+0x0/0x1bb
[    0.187567]  [<ffffffff8100bee0>] ? kernel_thread_helper+0x0/0x10
commit 5a4a67ebcc9e709468ef0a1cffe6f19b791f8b03
Author: dashesy <dashesy@xxxxxxxxx>
Date:   Wed Jun 8 15:28:28 2011 -0600

    video4linux interface has changed, the example file in the Documentation will not compile. In addition, gcc warning was quieten during build. Also igbvf anonymous union problem with gcc4.6 handled.

diff --git a/Documentation/Makefile b/Documentation/Makefile
index 94b9457..043d7da 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -1,3 +1,3 @@
 obj-m := DocBook/ accounting/ auxdisplay/ connector/ \
 	filesystems/configfs/ ia64/ networking/ \
-	pcmcia/ spi/ video4linux/ vm/ watchdog/src/
+	pcmcia/ spi/ vm/ watchdog/src/
diff --git a/Makefile b/Makefile
index e19c848..cf821a1 100644
--- a/Makefile
+++ b/Makefile
@@ -350,7 +350,8 @@ KBUILD_CFLAGS   := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
 		   -fno-strict-aliasing -fno-common \
 		   -Werror-implicit-function-declaration \
 		   -Wno-format-security \
-		   -fno-delete-null-pointer-checks
+		   -fno-delete-null-pointer-checks \
+		   -Wno-unused-but-set-variable 
 KBUILD_AFLAGS   := -D__ASSEMBLY__
 
 # Read KERNELRELEASE from include/config/kernel.release (if it exists)
diff --git a/drivers/net/igbvf/igbvf.h b/drivers/net/igbvf/igbvf.h
index a1774b2..fd2cca4 100644
--- a/drivers/net/igbvf/igbvf.h
+++ b/drivers/net/igbvf/igbvf.h
@@ -126,7 +126,6 @@ struct igbvf_buffer {
 			unsigned int page_offset;
 		};
 	};
-	struct page *page;
 };
 
 union igbvf_desc {

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux