qemu-discuss
[Top][All Lists]
Advanced

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

[Qemu-discuss] Kernel Hang after sdmak.c


From: Paul McManus
Subject: [Qemu-discuss] Kernel Hang after sdmak.c
Date: Wed, 3 Oct 2012 12:28:17 +0100

Hello,

          I am a newbie to Linux.  I am having some problems running the DVSDK 4.3.0.6 kernel on qemu. Originally I had a problem with cmem being loaded into kernel memory space so I created a hole to fit it in by adding address@hidden00000 mem=128address@hidden8000000 into my mmcargs in ../psp/u-boot/include/configs/omap3beagle.h. It now appears to load cmem,dsplink and sdmak.

However the kernel boot seems to stop after File /datalocal/DVSDK43_HPDL380G7/arago-tmp/work/dm37x-evm-arago-linux-gnueabi/ti-linuxutils-1_2_26_02_05-r102d/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c

Can anyone suggest a way to check where the boot process is before hanging ? I am assuming there is a verbose message setting in the kernel configuration somewhere but I  have not found it when googling.

I am running qemu on a Virtual box with a ubuntu 12.04 guest on a Win7 host.

DVSDK :4.3.0.6

Linux version :  2.6.37

Include/config  : omap3_beagle_config used, changed mmc args added mem settings to create hole for cmem 

QEMU emulator version:  1.0.50

Create img for Qumu: sudo ./makeimage.sh test.img MLO u-boot.bin uImage dvsdk-dm37x-evm-rootfs.tar.gz

Qemu invocation  : sudo qemu-system-arm -M beagle  -m 512 -sd ./test.img -clock unix -serial stdio -device usb-mouse -device usb-kbd

Boot output is below.

Booting from mmc AGA ! ...

setenv bootargs console=${console} address@hidden address@hidden mpurate=${mpurate} vram=${vram} omapfb.mode=dvi:${dvimode} omapdss.def_disp=${defaultdisplay} root=${mmcroot} rootfstype=${mmcrootfstype}

## Booting kernel from Legacy Image at 82000000 ...

   Image Name:   Linux-2.6.37

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    3118876 Bytes = 3 MiB

   Load Address: 80008000

   Entry Point:  80008000

   Verifying Checksum ... OK

   Loading Kernel Image ... OK

OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

[    0.000000] Linux version 2.6.37 (address@hidden) (gcc version 4.3.3 (GCC) ) #1 Tue Oct 2 16:32:30 BST 2012

[    0.000000] CPU: ARMv7 Processor [412fc083] revision 3 (ARMv7), cr=10c53c7f

[    0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache

[    0.000000] Machine: OMAP3 Beagle Board

[    0.000000] Reserving 12582912 bytes SDRAM for VRAM

[    0.000000] Memory policy: ECC disabled, Data cache writeback

[    0.000000] OMAP3430/3530 ES3.1 (iva sgx neon isp 720mhz )

[    0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 43264

[    0.000000] Kernel command line: console=ttyO2,115200n8 address@hidden address@hidden mpurate=720 vram=12M omapfb.mode=dvi:address@hidden omapdss.def_disp=dvi root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait

[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)

[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)

[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)

[    0.000000] Memory: 55MB 116MB = 171MB total

[    0.000000] Memory: 159932k/159932k available, 27460k 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 : 0xd0800000 - 0xf8000000   ( 632 MB)

[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)

[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)

[    0.000000]       .init : 0xc0008000 - 0xc003d000   ( 212 kB)

[    0.000000]       .text : 0xc003d000 - 0xc05d15fc   (5714 kB)

[    0.000000]       .data : 0xc05d2000 - 0xc078e020   (1777 kB)

[    0.000000] NR_IRQS:409

[    0.000000] Clocking rate (Crystal/Core/MPU): 13.0/331/600 MHz

[    0.000000] omap_hwmod: i2c1: softreset failed (waited 10000 usec)

[    0.000000] omap_hwmod: i2c2: softreset failed (waited 10000 usec)

[    0.000000] omap_hwmod: i2c3: softreset failed (waited 10000 usec)

[    0.000000] Reprogramming SDRC clock to 331882352 Hz

[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts

[    0.000000] Total of 96 interrupts on 1 active controller

[    0.000000] GPMC revision 5.0

[    0.000000] Trying to install interrupt handler for IRQ402

[    0.000000] Trying to install interrupt handler for IRQ403

[    0.000000] Trying to install interrupt handler for IRQ404

[    0.000000] Trying to install interrupt handler for IRQ405

[    0.000000] Trying to install interrupt handler for IRQ406

[    0.000000] Trying to install interrupt handler for IRQ407

[    0.000000] Trying to install interrupt handler for IRQ408

[    0.000000] Trying to install type control for IRQ409

[    0.000000] Trying to set irq flags for IRQ409

[    0.000000] OMAP clockevent source: GPTIMER12 at 32768 Hz

[    0.000000] Console: colour dummy device 80x30

[    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: 3951 kB

[    0.000000]  per task-struct memory footprint: 2304 bytes

[    0.000000] Calibrating delay loop... 510.47 BogoMIPS (lpj=1994752)

[    0.000000] pid_max: default: 32768 minimum: 301

[    0.000000] Security Framework initialized

[    0.000000] Mount-cache hash table entries: 512

[    0.000000] CPU: Testing write buffer coherency: ok

[    0.000000] regulator: core version 0.5

[    0.000000] regulator: dummy:

[    0.000000] NET: Registered protocol family 16

[    0.000000] OMAP GPIO hardware version 2.5

[    0.000000] OMAP GPIO hardware version 2.5

[    0.000000] OMAP GPIO hardware version 2.5

[    0.000000] OMAP GPIO hardware version 2.5

[    0.000000] OMAP GPIO hardware version 2.5

[    0.000000] OMAP GPIO hardware version 2.5

[    0.000000] omap_mux_init: Add partition: #1: core, flags: 0

[    0.000000] OMAP3 Beagle Rev: C4

[    0.000000] Found NAND on CS0

[    0.000000] Registering NAND on CS0

[    0.000000] Unable to get DVI reset GPIO

[    0.000000] hw-breakpoint: found 1 breakpoint and 1 watchpoint registers.

[    0.000000] hw-breakpoint: maximum watchpoint size is 4 bytes.

[    0.000000] Switched to new clocking rate (Crystal/Core/MPU): 13.0/331/720 MHz

[    0.000000] OMAP DMA hardware revision 4.0

[    0.481872] bio: create slab <bio-0> at 0

[    0.521057] SCSI subsystem initialized

[    0.562255] usbcore: registered new interface driver usbfs

[    0.565612] usbcore: registered new interface driver hub

[    0.570159] usbcore: registered new device driver usb

[    0.581024] omap_device: omap_i2c.1: new worst case activate latency 0: 61035

[    0.581787] omap_i2c omap_i2c.1: bus 1 rev3.12 at 2600 kHz

[    0.617065] twl4030: PIH (irq 7) chaining IRQs 368..375

[    0.617950] twl4030: power (irq 373) chaining IRQs 376..383

[    0.626495] twl4030: gpio (irq 368) chaining IRQs 384..401

[    0.665924] regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby

[    0.675689] regulator: VDAC: 1800 mV normal standby

[    0.685729] regulator: VDVI: 1800 mV normal standby

[    0.696441] regulator: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby

[    0.707183] regulator: VAUX3: 1800 mV normal standby

[    0.717102] regulator: VAUX4: 1800 mV normal standby

[    0.718811] omap_device: omap_i2c.1: new worst case deactivate latency 0: 91552

[    0.719757] omap_device: omap_i2c.2: new worst case activate latency 0: 91552

[    0.720184] omap_i2c omap_i2c.2: bus 2 rev3.12 at 400 kHz

[    0.726226] omap_i2c omap_i2c.3: bus 3 rev3.12 at 100 kHz

[    0.757171] Advanced Linux Sound Architecture Driver Version 1.0.23.

[    0.774597] Switching to clocksource 32k_counter

[    1.372009] musb-hdrc: version 6.0, otg (peripheral+host), debug=0

[    1.381469] NET: Registered protocol family 2

[    1.387084] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)

[    1.397857] TCP established hash table entries: 8192 (order: 4, 65536 bytes)

[    1.398864] TCP bind hash table entries: 8192 (order: 6, 360448 bytes)

[    1.411163] TCP: Hash tables configured (established 8192 bind 8192)

[    1.411376] TCP reno registered

[    1.411499] UDP hash table entries: 128 (order: 1, 12288 bytes)

[    1.412506] UDP-Lite hash table entries: 128 (order: 1, 12288 bytes)

[    1.419006] NET: Registered protocol family 1

[    1.426574] RPC: Registered udp transport module.

[    1.426666] RPC: Registered tcp transport module.

[    1.426696] RPC: Registered tcp NFSv4.1 backchannel transport module.

[    1.434387] NetWinder Floating Point Emulator V0.97 (double precision)

[    1.442993] platform iva.0: Enabled OPP corresponding to 720MHz

[    1.457672] omap-iommu omap-iommu.0: isp registered

[    1.461395] OMAP35x  Linux PSP version 04.02.00.07 (OMAP3BEAGLE)

[    1.657043] VFS: Disk quotas dquot_6.5.2

[    1.659698] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

[    1.680816] JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.

[    1.694946] msgmni has been set to 312

[    1.715484] io scheduler noop registered

[    1.715576] io scheduler deadline registered

[    1.717803] io scheduler cfq registered (default)

[    1.793090] OMAP DSS rev 2.0

[    1.794921] OMAP DISPC rev 3.0

[    1.795410] OMAP VENC rev 2

[    1.800323] OMAP DSI rev 1.0

[    2.147491] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled

[    2.180297] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0

[    2.186950] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1

[    2.193237] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2

[    2.369995] console [ttyO2] enabled

[    2.576660] brd: module loaded

[    2.674957] loop: module loaded

[    2.703338] mtdoops: mtd device (mtddev=name/number) must be supplied

[    2.705902] omap2-nand driver initializing

[    2.709136] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron )

[    2.711364] Creating 5 MTD partitions on "omap2-nand.0":

[    2.713562] 0x000000000000-0x000000080000 : "X-Loader"

[    2.751159] 0x000000080000-0x000000260000 : "U-Boot"

[    2.781158] 0x000000260000-0x000000280000 : "U-Boot Env"

[    2.808654] 0x000000280000-0x000000680000 : "Kernel"

[    2.841461] 0x000000680000-0x000010000000 : "File System"

[    3.142089] OneNAND driver initializing

[    3.170959] usbcore: registered new interface driver asix

[    3.176025] usbcore: registered new interface driver cdc_ether

[    3.180450] usbcore: registered new interface driver net1080

[    3.185119] usbcore: registered new interface driver cdc_subset

[    3.190185] usbcore: registered new interface driver zaurus

[    3.191589] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

[    3.194763] ehci-omap.0 supply hsusb0 not found, using dummy regulator

[    3.197540] ehci-omap.0 supply hsusb1 not found, using dummy regulator

[    5.213195] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller

[    5.219055] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1

[    5.224578] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800

[    5.236968] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 0.00

[    5.245178] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

[    5.246887] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    5.248565] usb usb1: Product: OMAP-EHCI Host Controller

[    5.249755] usb usb1: Manufacturer: Linux 2.6.37 ehci_hcd

[    5.251098] usb usb1: SerialNumber: ehci-omap.0

[    5.272674] hub 1-0:1.0: USB hub found

[    5.274688] hub 1-0:1.0: 0 ports detected

[    5.289093] Initializing USB Mass Storage driver...

[    5.294494] usbcore: registered new interface driver usb-storage

[    5.296020] USB Mass Storage support registered.

[    5.301910] usbcore: registered new interface driver usbtest

[    5.315551] mice: PS/2 mouse device common for all mice

[    5.331085] input: gpio-keys as /devices/platform/gpio-keys/input/input0

[    5.370941] omap_device: omap_i2c.1: new worst case activate latency 0: 152587

[    5.378967] omap_device: omap_i2c.1: new worst case deactivate latency 0: 122070

[    5.383880] input: twl4030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input1

[    5.404876] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0

[    5.407623] twl_rtc twl_rtc: Power up reset detected.

[    5.411773] twl_rtc twl_rtc: Enabling TWL-RTC.

[    5.421112] i2c /dev entries driver

[    5.449523] Linux media interface: v0.10

[    5.453613] Linux video capture interface: v2.00

[    5.465240] omap3isp supply VDD_CSIPHY1 not found, using dummy regulator

[    5.467224] omap3isp supply VDD_CSIPHY2 not found, using dummy regulator

[    5.483581] omap3isp omap3isp: cannot reset ISP

[    5.487884] omap3isp: probe of omap3isp failed with error -110

[    5.497039] usbcore: registered new interface driver uvcvideo

[    5.498870] USB Video Class driver (v1.0.0)

[    5.502563] omap_device: omap_wdt.-1: new worst case activate latency 0: 91552

[    5.509552] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec

[    5.511871] omap_device: omap_wdt.-1: new worst case deactivate latency 0: 61035

[    5.519897] twl4030_wdt twl4030_wdt: Failed to register misc device

[    5.521575] twl4030_wdt: probe of twl4030_wdt failed with error -16

[    5.564849] omap_device: omap_i2c.1: new worst case activate latency 0: 915527

[    5.598815] usbcore: registered new interface driver usbhid

[    5.600708] usbhid: USB HID core driver

[    5.614868] usbcore: registered new interface driver snd-usb-audio

[    5.628326] ALSA device list:

[    5.629333]   No soundcards found.

[    5.630371] oprofile: hardware counters not available

[    5.631713] oprofile: using timer interrupt.

[    5.636047] TCP cubic registered

[    5.637207] Initializing XFRM netlink socket

[    5.638885] NET: Registered protocol family 17

[    5.640533] NET: Registered protocol family 15

[    5.644592] Registering the dns_resolver key type

[    5.648376] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2

[    5.675292] ThumbEE CPU extension supported.

[    5.741790] omap_device: omap_i2c.1: new worst case deactivate latency 0: 305175

[    5.754333] vp_forceupdate_scale_voltage: vdd_mpu TRANXDONE timeout exceeded while tryingto clear the TRANXDONE status

[    5.758300] vp_forceupdate_scale_voltage: vdd_core TRANXDONE timeout exceeded while tryingto clear the TRANXDONE status

[    5.776031] Power Management for TI OMAP3.

[    5.781677] sr_init: No PMIC hook to init smartreflex

[    5.786285] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized

[    5.792999] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized

[    5.801605] SmartReflex Class3 initialized

[    6.028900] clock: disabling unused clocks to save power

[    6.066040] fbcvt: address@hidden: CVT Name - .786M3-R

[    6.116302] regulator_init_complete: incomplete constraints, leaving VAUX3 on

[    6.120117] regulator_init_complete: incomplete constraints, leaving VDAC on

[    6.137512] twl_rtc twl_rtc: setting system clock to 2012-10-03 11:24:55 UTC (1349263495)

[    6.141357] omap_vout omap_vout: Buffer Size = 3686400

[    6.161102] mmc0: new SD card at address 4567

[    6.171875] omap_vout omap_vout: : registered and initialized video device 0

[    6.174438] omap_vout omap_vout: Buffer Size = 3686400

[    6.180511] mmcblk0: mmc0:4567 QEMU! 1.00 GiB

[    6.208374] omap_vout omap_vout: : registered and initialized video device 1

[    6.215454]  mmcblk0: p1 p2

[    6.283966] EXT3-fs: barriers not enabled

[    6.817687] kjournald starting.  Commit interval 5 seconds

[    6.833404] EXT3-fs (mmcblk0p2): using internal journal

[    6.834899] EXT3-fs (mmcblk0p2): recovery complete

[    6.855041] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode

[    6.858886] VFS: Mounted root (ext3 filesystem) on device 179:2.

[    6.862396] Freeing init memory: 212K

INIT: version 2.86 booting

Please wait: booting...

Starting udev

[   13.223632] udevd (628): /proc/628/oom_adj is deprecated, please use /proc/628/oom_score_adj instead.

Remounting root file system...

Caching udev devnodes

Populating dev cachemv: cannot rename '/tmp/devices': No such file or directory

ALSA: Restoring mixer settings...

/usr/sbin/alsactl: load_state:1625: No soundcards found...

Configuring network interfaces... ifconfig: SIOCGIFFLAGS: No such device

ifconfig: SIOCGIFFLAGS: No such device

eth0      No such device

ifconfig: SIOCGIFFLAGS: No such device

done.

Setting up IP spoofing protection: rp_filter.

INIT: Entering runlevel: 5

Starting system message bus: dbus.

Starting Dropbear SSH server: dropbear.

Starting telnet daemon.

Starting network benchmark server: netserver.

Starting syslogd/klogd: done

Starting thttpd.

No SGX hardware, not starting PVR

[  102.358703] CMEMK module: built on Dec 22 2011 at 23:52:43

[  102.360412]   Reference Linux version 2.6.37

[  102.363281]   File /datalocal/DVSDK43_HPDL380G7/arago-tmp/work/dm37x-evm-arago-linux-gnueabi/ti-linuxutils-1_2_26_02_05-r102d/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c

[  102.372344] CMEM Range Overlaps Kernel Physical - allowing overlap

[  102.373840] CMEM phys_start (0x83700000) overlaps kernel (0x80000000 -> 0x8ab00000)

[  102.394287] allocated heap buffer 0xd1000000 of size 0x2200000

[  102.395477] heap fallback enabled - will try heap if pool buffer is not available

[  102.397674] cmemk initialized

[  103.530761] DSPLINK Module (1.65.01.05_eng) created on Date: Dec 22 2011 Time: 23:55:34

[  104.247497] SDMAK module: built on Dec 22 2011 at 23:52:50

[  104.248809]   Reference Linux version 2.6.37

[  104.249847]   File /datalocal/DVSDK43_HPDL380G7/arago-tmp/work/dm37x-evm-arago-linux-gnueabi/ti-linuxutils-1_2_26_02_05-r102d/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c

Cheers

Paul

Paul McManus
Principal Software Engineer
Tel: +44 (0) 1224 775700
Fax: +44 (0) 1224 775800
Email: address@hidden
Website: www.nautronix.com
This email is sent and received in accordance with the terms and conditions as defined on our website. To view click here
Nautronix Limited is head-quartered at Nautronix House, Howe Moss Ave, Kirkhill, Dyce, Aberdeen, AB21 0GP. Nautronix is part of Nautronix Group Limited which is registered in Scotland, registered office: 66 Queens Road, Aberdeen, AB15 4YE. Registered Number: SC372837.Nautronix Limited which is registered in Scotland, registered number SC062293, with a registered office at 66 Queens Road, Aberdeen, AB15 4YE is part of Nautronix Group Limited. Nautronix (Holdings) Limited which is registered in Scotland, registered number SC225116, with a registered office at 66 Queens Road, Aberdeen, AB15 4YE is part of Nautronix Group Limited.
---------------------------------------------------------------------
This email has been scanned for Nautronix Ltd, 
by the Postini Message Security System.
---------------------------------------------------------------------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]