From: vikas <vik...@gm...> - 2013-02-13 06:24:48
|
*Hi, I'm following /http://www.gumstix.org/basic-cross-compilation.htm/l instructions to compile kernel version 3.2.0 and everything works fine until I enable the media-ctl API for tvp514x support in kernel by using menuconfig. here is the output of target :* U-Boot 2011.12-rc3-00002-gaf44f4b-dirty (Jan 14 2012 - 12:31:55) OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz Gumstix Overo board + LPDDR/NAND I2C: ready DRAM: 512 MiB NAND: 512 MiB MMC: OMAP SD/MMC: 0 In: serial Out: serial Err: serial Board revision: 1 Direct connection on mmc2 No EEPROM on expansion board Die ID #0f0000029ff80000016849aa1000e027 Net: smc911x: Invalid chip endian 0x87e743a3 No ethernet found. Hit any key to stop autoboot: 0 reading boot.scr ** Unable to read "boot.scr" from mmc 0:1 ** reading uImage 3585992 bytes read Booting from mmc ... ## Booting kernel from Legacy Image at 82000000 ... Image Name: Linux-3.2.0+ Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3585928 Bytes = 3.4 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Initializing cgroup subsys cpuset Initializing cgroup subsys cpu Linux version 3.2.0+ (sun@sun-desktop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #3 PREEMPT Wed Feb 13 11:26:56 IST 2013 CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: Gumstix Overo Reserving 33554432 bytes SDRAM for VRAM Memory policy: ECC disabled, Data cache writeback OMAP3630 ES1.2 (l2cache iva sgx neon isp 192mhz_clk ) Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz Built 1 zonelists in Zone order, mobility grouping on. Total pages: 121856 Kernel command line: console=ttyO2,115200n8 mpurate=600 vram=32M omapfb.mode=dvi:1024x768MR-16@60 omapdss.def_disp=dvi root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait PID hash table entries: 2048 (order: 1, 8192 bytes) Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) allocated 2097152 bytes of page_cgroup please try 'cgroup_disable=memory' option if you don't want memory cgroups Memory: 480MB = 480MB total Memory: 476992k/476992k available, 47296k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0xe0800000 - 0xf8000000 ( 376 MB) lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf000000 - 0xbfe00000 ( 14 MB) .text : 0xc0008000 - 0xc06984cc (6722 kB) .init : 0xc0699000 - 0xc06d2000 ( 228 kB) .data : 0xc06d2000 - 0xc07345e8 ( 394 kB) .bss : 0xc073460c - 0xc07c1e24 ( 567 kB) NR_IRQS:410 IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts Total of 96 interrupts on 1 active controller OMAP clockevent source: GPTIMER1 at 32768 Hz sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms Console: colour dummy device 80x30 Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720) pid_max: default: 32768 minimum: 301 Security Framework initialized Mount-cache hash table entries: 512 Initializing cgroup subsys debug Initializing cgroup subsys cpuacct Initializing cgroup subsys memory Initializing cgroup subsys devices Initializing cgroup subsys freezer Initializing cgroup subsys perf_event CPU: Testing write buffer coherency: ok devtmpfs: initialized print_constraints: dummy: NET: Registered protocol family 16 GPMC revision 5.0 OMAP GPIO hardware version 2.5 omap_mux_init: Add partition: #1: core, flags: 0 Reprogramming SDRC clock to 332000000 Hz dpll3_m2_clk rate change failed: -22 Found NAND on CS0 Registering NAND on CS0 hw-breakpoint: debug architecture 0x4 unsupported. omap-mcbsp.2: alias fck already exists omap-mcbsp.3: alias fck already exists Calibrating delay loop (skipped) already calibrated this CPU Switched to new clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz OMAP DMA hardware revision 5.0 bio: create slab <bio-0> at 0 print_constraints: vads7846: 3300 mV SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb omap_i2c omap_i2c.1: bus 1 rev1.4.0 at 2600 kHz twl4030: PIH (irq 7) chaining IRQs 368..375 twl4030: power (irq 373) chaining IRQs 376..383 twl4030: gpio (irq 368) chaining IRQs 384..401 print_constraints: VUSB1V5: 1500 mV normal standby print_constraints: VUSB1V8: 1800 mV normal standby print_constraints: VUSB3V1: 3100 mV normal standby twl4030_usb twl4030_usb: Initialized TWL4030 USB module print_constraints: VMMC1: 1850 <--> 3150 mV at 3150 mV normal standby print_constraints: VDAC: 1800 mV normal standby print_constraints: VDVI: 1800 mV normal standby omap_i2c omap_i2c.3: bus 3 rev1.4.0 at 400 kHz Advanced Linux Sound Architecture Driver Version 1.0.24. Switching to clocksource 32k_counter musb-hdrc: version 6.0, ?dma?, otg (peripheral+host) musb-hdrc musb-hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92 NET: Registered protocol family 2 IP route cache hash table entries: 4096 (order: 2, 16384 bytes) TCP established hash table entries: 16384 (order: 5, 131072 bytes) TCP bind hash table entries: 16384 (order: 4, 65536 bytes) TCP: Hash tables configured (established 16384 bind 16384) TCP reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. audit: initializing netlink socket (disabled) type=2000 audit(0.187:1): initialized VFS: Disk quotas dquot_6.5.2 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Registering unionfs 2.5.10 (for 3.1.0-rc4) JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. fuse init (API version 7.17) msgmni has been set to 931 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) io scheduler noop registered io scheduler deadline registered (default) OMAP DSS rev 2.0 omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0 omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1 omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2 console [ttyO2] enabled omap_uart.3: ttyO3 at MMIO 0x49042000 (irq = 80) is a OMAP UART3 brd: module loaded loop: module loaded twl4030_madc twl4030_madc: clk disabled, enabling omap2-nand driver initializing ONFI flash detected NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron NAND 512MiB 1,8V 16-bit) Creating 5 MTD partitions on "omap2-nand.0": 0x000000000000-0x000000080000 : "xloader" 0x000000080000-0x000000240000 : "uboot" 0x000000240000-0x000000280000 : "uboot environment" 0x000000280000-0x000000680000 : "linux" 0x000000680000-0x000020000000 : "rootfs" smsc911x: Driver version 2008-10-21 smsc911x: Driver version 2008-10-21 usbcore: registered new interface driver asix usbcore: registered new interface driver cdc_ether cdc_ncm: 04-Aug-2011 usbcore: registered new interface driver cdc_ncm ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci-omap ehci-omap.0: OMAP-EHCI Host Controller ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1 ehci-omap ehci-omap.0: irq 77, io mem 0x48064800 ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: OMAP-EHCI Host Controller usb usb1: Manufacturer: Linux 3.2.0+ ehci_hcd usb usb1: SerialNumber: ehci-omap.0 hub 1-0:1.0: USB hub found hub 1-0:1.0: 3 ports detected Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. mousedev: PS/2 mouse device common for all mice twl_rtc twl_rtc: Power up reset detected. twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0 i2c /dev entries driver Linux media interface: v0.10 Linux video capture interface: v2.00 omap3isp omap3isp: Revision 15.0 found Unable to handle kernel NULL pointer dereference at virtual address 00000030 pgd = c0004000 [00000030] *pgd=00000000 Internal error: Oops: 5 [#1] PREEMPT Modules linked in: CPU: 0 Not tainted (3.2.0+ #3) PC is at klist_next+0x14/0xe0 LR is at next_device+0x8/0x14 pc : [<c0495b38>] lr : [<c02b6104>] psr: 60000013 sp : dd82beb0 ip : 000000db fp : 00000000 r10: c06d8c20 r9 : 00000000 r8 : c05d9e7a r7 : ddae8014 r6 : 00000000 r5 : dd82bed0 r4 : 00006520 r3 : 00000024 r2 : 00000000 r1 : dd82bed0 r0 : 00000001 Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel Control: 10c5387d Table: 80004019 DAC: 00000015 Process swapper (pid: 1, stack limit = 0xdd82a2f0) Stack: (0xdd82beb0 to 0xdd82c000) bea0: 00006520 c03b0a04 c05d44fd ddae8014 bec0: c05d9e7a c02b6104 00006520 c02b6170 00000024 00000000 00006520 00003fff bee0: ddae8000 c036e9ec dd889130 c013ac0c c06d8c28 ddae8378 00000000 00000003 bf00: dd889130 00000000 c0718b40 c06d8c28 c0718b40 c0718b40 ddab72c0 c070be98 bf20: 00000000 00000000 00000000 c02b6b44 c06d8c28 c02b57e8 c0718b40 c06d8c28 bf40: c06d8c28 c06d8c5c c0718b40 c02b59a0 00000000 c02b5940 c0718b40 c02b4ea8 bf60: dd8077b8 dd887970 c06d0ef4 00000001 c0718b40 c02b4780 c05d44f8 c05d44f8 bf80: dd82bf80 c06d0ef4 00000001 c0718b40 00000013 00000000 c06bc3e8 c02b5fc8 bfa0: c06d0ef4 00000001 c000ed18 00000013 00000000 c0008594 c06bc3e8 c07188a0 bfc0: c0734640 c06d10a0 c06d0ef4 00000001 c000ed18 00000013 00000000 00000000 bfe0: 00000000 c0699254 00000000 c06991a0 c000ed18 c000ed18 18885040 40209800 [<c0495b38>] (klist_next+0x14/0xe0) from [<c02b6104>] (next_device+0x8/0x14) [<c02b6104>] (next_device+0x8/0x14) from [<c02b6170>] (driver_find_device+0x60/0x7c) [<c02b6170>] (driver_find_device+0x60/0x7c) from [<c036e9ec>] (isp_probe+0x244/0xa24) [<c036e9ec>] (isp_probe+0x244/0xa24) from [<c02b6b44>] (platform_drv_probe+0x18/0x1c) [<c02b6b44>] (platform_drv_probe+0x18/0x1c) from [<c02b57e8>] (driver_probe_device+0x148/0x2a0) [<c02b57e8>] (driver_probe_device+0x148/0x2a0) from [<c02b59a0>] (__driver_attach+0x60/0x84) [<c02b59a0>] (__driver_attach+0x60/0x84) from [<c02b4ea8>] (bus_for_each_dev+0x44/0x74) [<c02b4ea8>] (bus_for_each_dev+0x44/0x74) from [<c02b4780>] (bus_add_driver+0xc4/0x248) [<c02b4780>] (bus_add_driver+0xc4/0x248) from [<c02b5fc8>] (driver_register+0xa4/0x12c) [<c02b5fc8>] (driver_register+0xa4/0x12c) from [<c0008594>] (do_one_initcall+0x90/0x160) [<c0008594>] (do_one_initcall+0x90/0x160) from [<c0699254>] (kernel_init+0xb4/0x160) [<c0699254>] (kernel_init+0xb4/0x160) from [<c000ed18>] (kernel_thread_exit+0x0/0x8) Code: e1a05000 e5953000 e3a00001 e5956004 (e593700c) hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0000 ---[ end trace e76454dcc18ed8f1 ]--- Kernel panic - not syncing: Attempted to kill init! ----- Thanks and Regards Vikas -- View this message in context: http://gumstix.8.n6.nabble.com/Kernel-panic-by-enabling-omap3isp-support-tp4966788.html Sent from the Gumstix mailing list archive at Nabble.com. |