On 06/04/2011 02:17 PM, Somebody in the thread at some point said:
Hi -
When booted on a Beagleboard-xM, the resulting kernel appears to hang after "Starting kernel...". I haven't investigated any further.
Panda chokes the same way with previously OK omap4_defconfig.
Uncompressing Linux... done, booting the kernel. [ 0.000000] Linux version 2.6.39-panda_reb39+ (agreen@otae.warmcat.com) (gcc version 4.5.1 20101112 (Red Hat 4.5.1-5) (GCC) ) #6 SMP PREEMPT Mon Jun 6 09:04:39 BST 2011 [ 0.000000] CPU: ARMv7 Processor [411fc092] revision 2 (ARMv7), cr=10c5387f [ 0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: OMAP4 Panda board [ 0.000000] Reserving 33554432 bytes SDRAM for VRAM [ 0.000000] Memory policy: ECC disabled, Data cache writealloc [ 0.000000] OMAP4430 ES2.1 [ 0.000000] SRAM: Mapped pa 0x40300000 to va 0xfe400000 size: 0xe000 [ 0.000000] powerdomain: waited too long for powerdomain dss_pwrdm to complete transition [ 0.000000] PERCPU: Embedded 8 pages/cpu @c10ea000 s9728 r8192 d14848 u32768 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 109410 [ 0.000000] Kernel command line: console=tty0 console=ttyO2,115200n8 earlycon=ttyO2,115200n8 earlyprintk=1 root=UUID=3f5789f6-fdb2-43cb-abe8-5e064f387200 rootwait ro fixrtc nocompcache vram=32M omapfb.vram=0:24M mem=463M ip=none omapfb.debug=1 [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 430MB 1MB = 431MB total [ 0.000000] Memory: 419652k/419652k available, 54460k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] DMA : 0xffc00000 - 0xffe00000 ( 2 MB) [ 0.000000] vmalloc : 0xdd000000 - 0xf8000000 ( 432 MB) [ 0.000000] lowmem : 0xc0000000 - 0xdcf00000 ( 463 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .init : 0xc0008000 - 0xc0050000 ( 288 kB) [ 0.000000] .text : 0xc0050000 - 0xc0757cd4 (7200 kB) [ 0.000000] .data : 0xc0758000 - 0xc07dff68 ( 544 kB) [ 0.000000] Preemptable hierarchical RCU implementation. [ 0.000000] RCU-based detection of stalled CPUs is disabled. [ 0.000000] Verbose stalled-CPUs detection is disabled. [ 0.000000] NR_IRQS:410 [ 0.000000] omap_hwmod: dpll_mpu_m2_ck: missing clockdomain for dpll_mpu_m2_ck. [ 0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz [ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms [ 0.000000] Console: colour dummy device 80x30 [ 0.000000] console [tty0] enabled [ 0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.000000] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.000000] ... MAX_LOCK_DEPTH: 48 [ 0.000000] ... MAX_LOCKDEP_KEYS: 8191 [ 0.000000] ... CLASSHASH_SIZE: 4096 [ 0.000000] ... MAX_LOCKDEP_ENTRIES: 16384 [ 0.000000] ... MAX_LOCKDEP_CHAINS: 32768 [ 0.000000] ... CHAINHASH_SIZE: 16384 [ 0.000000] memory used by lock dependency info: 3695 kB [ 0.000000] per task-struct memory footprint: 1152 bytes [ 0.002380] Calibrating delay loop... 2007.19 BogoMIPS (lpj=7839744) [ 0.062591] pid_max: default: 32768 minimum: 301 [ 0.063201] Security Framework initialized [ 0.063568] Mount-cache hash table entries: 512 [ 0.067138] CPU: Testing write buffer coherency: ok [ 0.067962] Calibrating local timer... 491.91MHz. [ 0.109649] L310 cache controller enabled [ 0.109710] l2x0: 16 ways, CACHE_ID 0x410000c4, AUX_CTRL 0x7e470000, Cache size: 1048576 B [ 0.186370] CPU1: Booted secondary processor [ 0.186401] CPU1: Unknown IPI message 0x1 [ 0.216491] Brought up 2 CPUs [ 0.216522] SMP: Total of 2 processors activated (3963.96 BogoMIPS). [ 0.217681] devtmpfs: initialized [ 0.224029] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for emif_fw [ 0.224060] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l3_instr [ 0.224090] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l3_main_1 [ 0.224121] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l3_main_2 [ 0.224151] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_abe [ 0.224182] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_cfg [ 0.224212] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_per [ 0.224212] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_wkup [ 0.224243] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for mpu_private [ 0.224273] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for dsp [ 0.224304] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for ipu [ 0.224609] omap_hwmod: l3_div_ck: missing clockdomain for l3_div_ck. [ 0.229980] print_constraints: dummy: [ 0.230773] NET: Registered protocol family 16 [ 0.231292] GPMC revision 6.0 [ 0.235137] omap_device: omap_gpio.0: new worst case activate latency 0: 61035 [ 0.236297] OMAP GPIO hardware version 0.1 [ 0.236907] OMAP GPIO hardware version 0.1 [ 0.237487] OMAP GPIO hardware version 0.1 [ 0.238067] OMAP GPIO hardware version 0.1 [ 0.238616] OMAP GPIO hardware version 0.1 [ 0.239227] OMAP GPIO hardware version 0.1 [ 0.242431] omap_mux_init: Add partition: #1: core, flags: 2 [ 0.243774] omap_mux_init: Add partition: #2: wkup, flags: 2 [ 0.246368] omap_device: omap_uart.0: new worst case deactivate latency 0: 30517 [ 0.246917] omap_device: omap_uart.1: new worst case activate latency 0: 30517 [ 0.257751] pm_dbg_init: only OMAP3 supported [ 0.258270] OMAP DMA hardware revision 0.0 [ 0.293395] bio: create slab <bio-0> at 0 [ 0.295135] print_constraints: vwl1271: 1800 mV [ 0.297515] SCSI subsystem initialized [ 0.301544] usbcore: registered new interface driver usbfs [ 0.302062] usbcore: registered new interface driver hub [ 0.302368] usbcore: registered new device driver usb [ 0.315582] omap_i2c omap_i2c.1: bus 1 rev4.0 at 400 kHz [ 0.318695] Skipping twl internal clock init and using bootloader value (unknown osc rate) [ 0.319641] twl6030: PIH (irq 39) chaining IRQs 368..387 [ 0.321044] print_constraints: VUSB: 3300 mV normal standby [ 0.519531] twl6030_usb twl6030_usb: Initialized TWL6030 USB module [ 0.520935] print_constraints: VMMC: 1200 <--> 3000 mV at 3000 mV normal standby [ 0.522033] print_constraints: VPP: 1800 <--> 2500 mV at 1900 mV normal standby [ 0.523010] print_constraints: VANA: 2100 mV normal standby [ 0.523895] print_constraints: VCXIO: 1800 mV normal standby [ 0.524841] print_constraints: VDAC: 1800 mV normal standby [ 0.525970] print_constraints: VAUX2_6030: 1200 <--> 2800 mV at 1800 mV normal standby [ 0.527099] print_constraints: VAUX3_6030: 1000 <--> 3000 mV at 1200 mV normal standby [ 0.528015] print_constraints: CLK32KG: [ 0.528442] omap_device: omap_i2c.2: new worst case activate latency 0: 30517 [ 0.536407] omap_i2c omap_i2c.2: bus 2 rev4.0 at 400 kHz [ 0.551635] omap_i2c omap_i2c.3: bus 3 rev4.0 at 100 kHz [ 0.566894] omap_i2c omap_i2c.4: bus 4 rev4.0 at 400 kHz [ 0.568695] Advanced Linux Sound Architecture Driver Version 1.0.24. [ 0.570678] Bluetooth: Core ver 2.16 [ 0.570922] NET: Registered protocol family 31 [ 0.570953] Bluetooth: HCI device and connection manager initialized [ 0.571044] Bluetooth: HCI socket layer initialized [ 0.571075] Bluetooth: L2CAP socket layer initialized [ 0.571258] Bluetooth: SCO socket layer initialized [ 0.572326] cfg80211: Calling CRDA to update world regulatory domain [ 0.574737] Switching to clocksource 32k_counter [ 0.575164] Switched to NOHz mode on CPU #1 [ 0.582092] Switched to NOHz mode on CPU #0 [ 0.626464] musb-hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0 [ 0.626708] omap_device: musb-omap2430.-1: new worst case activate latency 0: 30517 [ 0.627197] musb-hdrc musb-hdrc: USB OTG mode controller at fc0ab000 using DMA, IRQ 124 [ 0.627929] NET: Registered protocol family 2 [ 0.628295] IP route cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.629302] TCP established hash table entries: 16384 (order: 5, 131072 bytes) [ 0.629913] TCP bind hash table entries: 16384 (order: 7, 655360 bytes) [ 0.633453] TCP: Hash tables configured (established 16384 bind 16384) [ 0.633605] TCP reno registered [ 0.633636] UDP hash table entries: 256 (order: 2, 24576 bytes) [ 0.633789] UDP-Lite hash table entries: 256 (order: 2, 24576 bytes) [ 0.634399] NET: Registered protocol family 1 [ 0.635284] RPC: Registered udp transport module. [ 0.635314] RPC: Registered tcp transport module. [ 0.635314] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.635833] Trying to unpack rootfs image as initramfs... [ 0.869995] Freeing initrd memory: 3904K [ 0.870056] NetWinder Floating Point Emulator V0.97 (double precision) [ 1.009246] VFS: Disk quotas dquot_6.5.2 [ 1.009460] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.011108] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 1.011718] JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 1.012176] ROMFS MTD (C) 2007 Red Hat, Inc. [ 1.012268] msgmni has been set to 827 [ 1.014190] io scheduler noop registered [ 1.014221] io scheduler deadline registered [ 1.014312] io scheduler cfq registered (default) [ 1.075042] OMAP DSS rev 4.0 [ 1.079101] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.192687] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 104) is a OMAP UART0 [ 1.254699] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 105) is a OMAP UART1 [ 1.317199] omap_uart.2: ttyO2 at MMIO 0x48020000 (irq = 106) is a OMAP UART2 [ 2.245056] console [ttyO2] enabled [ 2.301574] omap_uart.3: ttyO3 at MMIO 0x4806e000 (irq = 102) is a OMAP UART3 [ 2.364654] [drm] Initialized drm 1.1.0 20060810 [ 2.383941] brd: module loaded [ 2.394348] loop: module loaded [ 2.397918] (stk) :sysfs entries created [ 2.402130] (stk) : debugfs entries created [ 2.409484] mtdoops: mtd device (mtddev=name/number) must be supplied [ 2.416595] omap2-nand driver initializing [ 2.421234] OneNAND driver initializing [ 2.428649] usbcore: registered new interface driver asix [ 2.434631] usbcore: registered new interface driver cdc_ether [ 2.441040] usbcore: registered new interface driver smsc95xx [ 2.447387] usbcore: registered new interface driver net1080 [ 2.453582] usbcore: registered new interface driver cdc_subset [ 2.460571] usbcore: registered new interface driver zaurus [ 2.466491] cdc_ncm: 23-Apr-2011 [ 2.470092] usbcore: registered new interface driver cdc_ncm [ 2.476928] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.484008] _regulator_get: ehci-omap.0 supply hsusb0 not found, using dummy regulator [ 2.492919] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller [ 2.501312] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1 [ 2.509521] ehci-omap ehci-omap.0: irq 109, io mem 0x4a064c00 [ 2.528106] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00 [ 2.534637] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 2.541839] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.549468] usb usb1: Product: OMAP-EHCI Host Controller [ 2.555175] usb usb1: Manufacturer: Linux 2.6.39-panda_reb39+ ehci_hcd [ 2.562103] usb usb1: SerialNumber: ehci-omap.0 [ 2.569610] hub 1-0:1.0: USB hub found [ 2.573669] hub 1-0:1.0: 3 ports detected [ 2.606414] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.613098] ohci-omap3 ohci-omap3.0: OMAP3 OHCI Host Controller [ 2.619964] ohci-omap3 ohci-omap3.0: new USB bus registered, assigned bus number 2 [ 2.628082] ohci-omap3 ohci-omap3.0: irq 108, io mem 0x4a064800 [ 2.711822] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001 [ 2.718994] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.726654] usb usb2: Product: OMAP3 OHCI Host Controller [ 2.732360] usb usb2: Manufacturer: Linux 2.6.39-panda_reb39+ ohci_hcd [ 2.739440] usb usb2: SerialNumber: ohci-omap3.0 [ 2.745483] hub 2-0:1.0: USB hub found [ 2.749511] hub 2-0:1.0: 3 ports detected [ 2.755096] usbcore: registered new interface driver cdc_wdm [ 2.761077] Initializing USB Mass Storage driver... [ 2.766571] usbcore: registered new interface driver usb-storage [ 2.772979] USB Mass Storage support registered. [ 2.778869] usbcore: registered new interface driver libusual [ 2.903137] usb 1-1: new high speed USB device number 2 using ehci-omap [ 3.254913] usb 1-1: New USB device found, idVendor=0424, idProduct=9514 [ 3.261993] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 3.271087] hub 1-1:1.0: USB hub found [ 3.275268] hub 1-1:1.0: 5 ports detected [ 3.341613] usbcore: registered new interface driver usbtest [ 3.348602] mousedev: PS/2 mouse device common for all mice [ 3.358886] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0 [ 3.366851] i2c /dev entries driver [ 3.373260] lirc_dev: IR Remote Control driver registered, major 251 [ 3.380157] IR NEC protocol handler initialized [ 3.384948] IR RC5(x) protocol handler initialized [ 3.390014] IR RC6 protocol handler initialized [ 3.394775] IR JVC protocol handler initialized [ 3.399566] IR Sony protocol handler initialized [ 3.404479] IR RC5 (streamzap) protocol handler initialized [ 3.410339] IR LIRC bridge handler initialized [ 3.415039] Linux video capture interface: v2.00 [ 3.420349] Driver for 1-wire Dallas network protocol. [ 3.427581] OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec [ 3.434478] Bluetooth: HCI UART driver ver 2.2 [ 3.439178] Bluetooth: HCI H4 protocol initialized [ 3.444335] Bluetooth: HCI BCSP protocol initialized [ 3.449707] Bluetooth: HCILL protocol initialized [ 3.454803] Bluetooth: Bluetooth Driver for TI WiLink - Version 1.0 [ 3.462097] cpuidle: using governor ladder [ 3.466461] cpuidle: using governor menu [ 3.473419] _regulator_get: omap_hsmmc.0 supply vmmc_aux not found, using dummy regulator [ 3.484283] _regulator_get: omap_hsmmc.4 supply vmmc_aux not found, using dummy regulator [ 3.494659] usbcore: registered new interface driver usbhid [ 3.500549] usbhid: USB HID core driver [ 3.508850] ALSA device list: [ 3.511962] No soundcards found. [ 3.515899] oprofile: hardware counters not available [ 3.521270] oprofile: using timer interrupt. [ 3.526062] TCP cubic registered [ 3.529479] Initializing XFRM netlink socket [ 3.534088] NET: Registered protocol family 17 [ 3.539031] NET: Registered protocol family 15 [ 3.544128] Bluetooth: RFCOMM TTY layer initialized [ 3.550323] Bluetooth: RFCOMM socket layer initialized [ 3.557739] Bluetooth: RFCOMM ver 1.11 [ 3.561920] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 3.567718] Bluetooth: BNEP filters: protocol multicast [ 3.573333] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 3.580139] lib80211: common routines for IEEE802.11 drivers [ 3.586273] Registering the dns_resolver key type [ 3.594818] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 1 [ 3.602996] ThumbEE CPU extension supported. [ 3.607604] Registering SWP/SWPB emulation handler [ 3.620208] Power Management for TI OMAP4. [ 3.624755] sr_init: No PMIC hook to init smartreflex [ 3.630340] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized [ 3.638824] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized [ 3.647338] smartreflex smartreflex.2: omap_sr_probe: SmartReflex driver initialized [ 3.655914] usb 1-1.1: new high speed USB device number 3 using ehci-omap [ 3.663635] SmartReflex Class3 initialized [ 3.673217] mmc0: host does not support reading read-only switch. assuming write-enable. [ 3.707855] mmc0: new high speed SDHC card at address d555 [ 3.715362] mmcblk0: mmc0:d555 SU08G 7.60 GiB [ 3.721740] mmcblk0: detected capacity change from 0 to 8168931328 [ 3.729980] mmcblk0: p1 p2 [ 3.825042] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00 [ 3.832305] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 3.843627] smsc95xx v1.0.4 [ 3.862121] mmc1: card claims to support voltages below the defined range. These will be ignored. [ 3.904846] mmc1: queuing unknown CIS tuple 0x91 (3 bytes) [ 3.912445] mmc1: new SDIO card at address 0001 [ 3.957794] Console: switching to colour frame buffer device 80x30 [ 3.971893] omapdss DPI: Could not find exact pixel clock. Requested 23500 kHz, got 23630 kHz [ 3.989196] regulator_init_complete: CLK32KG: incomplete constraints, leaving on [ 4.002502] regulator_init_complete: VAUX3_6030: incomplete constraints, leaving on [ 4.016174] regulator_init_complete: VAUX2_6030: incomplete constraints, leaving on [ 4.029815] regulator_init_complete: VDAC: incomplete constraints, leaving on [ 4.040313] regulator_init_complete: VCXIO: incomplete constraints, leaving on [ 4.053436] regulator_init_complete: VANA: incomplete constraints, leaving on [ 4.063934] regulator_init_complete: VPP: incomplete constraints, leaving on [ 4.074920] regulator_init_complete: VUSB: incomplete constraints, leaving on [ 4.086059] twl_rtc twl_rtc: setting system clock to 2000-01-01 00:39:34 UTC (946687174) [ 4.100006] omap_vout omap_vout: probed for an unknown device [ 4.111694] Freeing init memory: 288K [ 4.126617] smsc95xx 1-1.1:1.0: eth0: Features changed: 0x00004808 -> 0x00004008 [ 4.140594] smsc95xx 1-1.1:1.0: eth0: register 'smsc95xx' at usb-ehci-omap.0-1.1, smsc95xx USB 2.0 Ethernet, 2e:40:70:f0:12:06 Loading, please wait... [ 4.282409] udev[685]: starting version 167 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. FATAL: Could not load /lib/modules/2.6.39-panda_reb39+/modules.dep: No such file or directory [ 4.967346] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) Begin: Running /scripts/local-bottom ... done. done. Begin: Running /scripts/init-bottom ... done. init: ureadahead main process (801) terminated with status 5
The .config I'm using is that described on the wiki at https://wiki.linaro.org/Resources/HowTo/KernelDeploy#From_Linaro_sources
with omap2plus_defconfig, after adding EXT4, the userland blows SIGILL -- and just SIGILL, not segfaults -- in an unpredictable but apparently deterministic way. For example ls at bash prompt is OK but ls -l is SIGILL.
The rootfs is linaro Ubuntu autobuilt stuff from a few weeks ago that has been reliable until this kernel.
I googled around and saw some other guy met this in April with no obvious result. It's possibly toolchain related since I am using gcc 4.5.1 Fedora ARM cross toolchain, but that's a bit subtle since omap4_defconfig is OK and expecting that to work is legit. Linus HEAD works fine with it too.
http://xbmc-installer.pastebin.ca/2045257 http://pandaboard.org/pbirclogs/index.php?date=2011-04-11#T23:14:08
I attempted to adapt a few things in omap2plus_defconfig like CONFIG_EMBEDDED to omap4_defconfig style but it didn't help; in any event omap4_defconfig is broken differently.
I have some dss patches on top but I rewound them for now and just pushed three small patches on top to my master (moving the old master to "tilt-linux-linaro-2.6.38").
-Andy