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

[Xen-devel] Dom0 kernel panic when porting xen to new arm soc



Hi,

I am porting xen to an Cortex-A7 soc and met Dom0 kernel panic. I have no clear idea about why Dom0 kernel panic.

Detail log see below:

U-Boot 2015.04-rc4-00145-gf12a16e (Jun 18 2015 - 10:38:06)

CPU: Freescale i.MX7D rev1.0 at 792 MHz
CPU: Thermal invalid data, fuse: 0x1b800
CPU: Temperature: Can't find sensor device
Reset cause: POR
Board: MX7D 12x12 LPDDR3 ARM2
I2C: ready
DRAM: 2 GiB
PMIC: PFUZE300 DEV_ID=0x30 REV_ID=0x10
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
Display: MCIMX28LCD (800x480)
Video: 800x480x24
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc0 is current device
Net: FEC0
Error: FEC0 address not set.

Normal Boot
Hit any key to stop autoboot:  0
=> setenv xen_addr_r 0x80000000
=> setenv bootargs "console=dtuart dtuart=/soc/aips-bus@30800000/serial@30860000 dom0_mem=128M"
=> fatload mmc 0:1 0x80000000 xen.image
reading xen.image
754544 bytes read in 129 ms (5.6 MiB/s)
=> fatload mmc 0:1 0x83000000 imx7d-12x12-arm2.dtb
reading imx7d-12x12-arm2.dtb
37498 bytes read in 21 ms (1.7 MiB/s)
=> fatload mmc 0:1 0x84000000 zImage
reading zImage
9307256 bytes read in 420 ms (21.1 MiB/s)
=> setenv kernel_addr_r 0x84000000
=> setenv fdt_high 0xffffffff
=> setenv fdt_addr 0x83000000
=> fdt addr ${fdt_addr} 0x40000
=> fdt resize
=> fdt chosen
=> fdt set /chosen \#address-cells <1>
=> fdt set /chosen \#size-cells <1>
=> fdt mknod /chosen module@0
=> fdt set /chosen/module@0 compatible "xen,linux-zimage" "xen,multiboot-module"
=> fdt set /chosen/module@0 reg <${kernel_addr_r} 0x${filesize}>
=> fdt set /chosen/module@0 bootargs "console=hvc0 ro root=/dev/mmcblk0p2 clk_ignore_unused uart_from_osc"
=> bootz ${xen_addr_r} - ${fdt_addr}
Kernel image @ 0x80000000 [ 0x000000 - 0x101700 ]
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
reserving fdt memory region: addr=83000000 size=a000
Using Device Tree in place at 83000000, end 8300cfff

Starting kernel ...

Xen 4.6-unstable
(XEN) Xen version 4.6-unstable (Freenix@(none)) (arm-poky-linux-gnueabi-gcc (GCC) 4.8.2) debug=y Thu Jun 18 12:32:18 CST 2015
(XEN) Latest ChangeSet: Mon Jun 15 18:25:34 2015 +0800 git:c01e139-dirty
(XEN) Processor: 410fc075: "ARM Limited", variant: 0x0, part 0xc07, rev 0x5
(XEN) 32-bit Execution:
(XEN) Processor Features: 00001131:00011011
(XEN) Instruction Sets: AArch32 A32 Thumb Thumb-2 ThumbEE Jazelle
(XEN) Extensions: GenericTimer Security
(XEN) Debug Features: 02010555
(XEN) Auxiliary Features: 00000000
(XEN) Memory Model Features: 10101105 40000000 01240000 02102211
(XEN) ISA Features: 02101110 13112111 21232041 11112131 10011142 00000000
(XEN) Set Secondary entry to 00000000ffe0004c (0020004c)
(XEN) Generic Timer IRQ: phys=30 hyp=26 virt=27 Freq: 8000 KHz
(XEN) GICv2 initialization:
(XEN) gic_dist_addr=0000000031001000
(XEN) gic_cpu_addr=0000000031002000
(XEN) gic_hyp_addr=0000000031004000
(XEN) gic_vcpu_addr=0000000031006000
(XEN) gic_maintenance_irq=25
(XEN) GICv2: 160 lines, 2 cpus, secure (IID 0100143b).
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) imx-uart.c:117: imx_uart_init_postirq
(XEN) Allocated console ring of 16 KiB.
(XEN) VFP implementer 0x41 architecture 2 part 0x30 variant 0x7 rev 0x5
(XEN) Brought up 1 CPUs
(XEN) P2M: 40-bit IPA
(XEN) P2M: 3 levels with order-1 root, VTCR 0x80003558
(XEN) I/O virtualisation disabled
(XEN) *** LOADING DOMAIN 0 ***
(XEN) domain_build.c:1383: idle loop
(XEN) Loading kernel from boot module @ 0000000084000000
(XEN) Allocating 1:1 mappings totalling 128MB for dom0:
(XEN) BANK[0] 0x00000088000000-0x00000090000000 (128MB)
(XEN) Loading zImage from 0000000084000000 to 000000008f600000-000000008fee0478
(XEN) Allocating PPI 16 for event channel interrupt
(XEN) Loading dom0 DTB to 0x000000008f400000-0x000000008f409239
(XEN) regs -> pc = 0x8f600000
(XEN) it is 32 bit machine
(XEN) Scrubbing Free RAM on 1 nodes using 1 CPUs
(XEN) ................done.
(XEN) Initial low memory virq threshold set at 0x4000 pages.
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen)
(XEN) Freed 284kB init memory.
Booting Linux on physical CPU 0x0
Linux version 3.14.28-01780-g281e5c1-dirty (Freenix@linux-vaa1) (gcc version 4.8.2 (GCC) ) #269 SMP PREEMPT Thu Jun 18 17:30:11 CST 2015
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Freescale i.MX7 LPDDR3 12x12 ARM2 Board
cma: CMA: failed to reserve 320 MiB
Memory policy: Data cache writealloc
psci: probing function IDs from device-tree
PERCPU: Embedded 8 pages/cpu @87ee1000 s9600 r8192 d14976 u32768
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 32512
Kernel command line: console=hvc0 ro root=/dev/mmcblk0p2 clk_ignore_unused uart_from_osc
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 109376K/131072K available (7475K kernel code, 444K rwdata, 8628K rodata, 3401K init, 442K bss, 21696K reserved, 0K highmem)
Virtual kernel memory layout:
vector  : 0xffff0000 - 0xffff1000   (   4 kB)
fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
vmalloc : 0x88800000 - 0xff000000   (1896 MB)
lowmem  : 0x80000000 - 0x88000000   ( 128 MB)
pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
modules : 0x7f000000 - 0x7fe00000   (  14 MB)
.text : 0x80008000 - 0x80fc1ec0   (16104 kB)
.init : 0x80fc2000 - 0x81314580   (3402 kB)
.data : 0x81316000 - 0x813852c0   ( 445 kB)
.bss : 0x813852cc - 0x813f3cdc   ( 443 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptible hierarchical RCU implementation.
RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
NR_IRQS:16 nr_irqs:16 16
Switching to timer-based delay loop
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655765682ns
Architected cp15 timer(s) running at 8.00MHz (virt).
sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2147483648000ns
Ignoring duplicate/late registration of read_current_timer delay
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
/cpus/cpu@0 missing clock-frequency property
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Xen 4.6 support found, events_irq=16 gnttab_frame=0x00900000
xen:grant_table: Grant tables using version 1 layout
Grant table initialized
xen:events: Using FIFO-based ABI
Xen: initializing cpu0
Setting up static identity map for 0x8871c200 - 0x8871c258
Brought up 1 CPUs
SMP: Total of 1 processors activated.
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
pinctrl core: initialized pinctrl subsystem
regulator-dummy: no parameters
NET: Registered protocol family 16
DMA: failed to allocate 256 KiB pool for atomic coherent allocation
xen:swiotlb_xen: Warning: only able to allocate 32 MB for software IO TLB
software IO TLB [mem 0x8a000000-0x8c000000] (32MB) mapped at [82000000-83ffffff]
Use WDOG1 as reset source
syscon 30340000.iomuxc-gpr: regmap [mem 0x30340000-0x3034ffff] registered
syscon 30360000.anatop: regmap [mem 0x30360000-0x3036ffff] registered
vdd1p0d: 800 <--> 1200 mV at 1000 mV
syscon 30390000.src: regmap [mem 0x30390000-0x3039ffff] registered
failed to find ocotp node
failed to find ocotp node
hw-breakpoint: Failed to enable monitor mode on CPU 0.
imx7d-pinctrl 302c0000.iomuxc-lpsr: initialized IMX pinctrl driver
imx7d-pinctrl 30330000.iomuxc: initialized IMX pinctrl driver
bio: create slab <bio-0> at 0
xen:balloon: Initialising balloon driver
xen_balloon: Initialising balloon driver
VCC_SD1: 3000 mV
VCC_SD2: 3000 mV
CODEC_5V: 5000 mV
AUD_1V8: 1800 mV
usb_otg1_vbus: 5000 mV
usb_otg2_vbus: 5000 mV
can1-3v3: 3300 mV
can2-3v3: 3300 mV
i2c-core: driver [max17135] using legacy suspend method
i2c-core: driver [max17135] using legacy resume method
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usbphy_nop1.5 supply vcc not found, using dummy regulator
usbphy_nop2.6 supply vcc not found, using dummy regulator
usbphy_nop3.7 supply vcc not found, using dummy regulator
i2c i2c-0: IMX I2C adapter registered
2-0048 supply SENSOR not found, using dummy regulator
i2c i2c-2: Max17135 PMIC not found!
i2c i2c-2: IMX I2C adapter registered
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@xxxxxxxx>
PTP clock support registered
MIPI CSI2 driver module loaded
Advanced Linux Sound Architecture Driver Initialized.
Bluetooth: Core ver 2.18
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
Switched to clocksource arch_sys_counter
cfg80211: Calling CRDA to update world regulatory domain
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP: reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 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.
Bus freq driver module loaded
futex hash table entries: 256 (order: 2, 16384 bytes)
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
jffs2: version 2.2. (NAND) Â 2001-2006 Red Hat, Inc.
fuse init (API version 7.22)
msgmni has been set to 213
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
backlight.8 supply power not found, using dummy regulator
MIPI DSI driver module loaded
imx-sdma 30bd0000.sdma: no iram assigned, using external mem
imx-sdma 30bd0000.sdma: initialisation failed with -12
imx-sdma: probe of 30bd0000.sdma failed with error -12
xen:xen_evtchn: Event-channel device installed
pfuze100-regulator 0-0008: Full layer: 1, Metal layer: 0
pfuze100-regulator 0-0008: FAB: 0, FIN: 0
pfuze100-regulator 0-0008: pfuze3000 found.
SW1A: 700 <--> 1475 mV at 1100 mV
SW1B: 700 <--> 1475 mV at 1000 mV
SW2: 1500 <--> 1850 mV at 1800 mV
SW3: 900 <--> 1650 mV at 1200 mV
SWBST: 5000 <--> 5150 mV at 5000 mV
VSNVS: 1000 <--> 3000 mV at 3000 mV
VREFDDR: 750 mV
VLDO1: 1800 <--> 3300 mV at 1800 mV
VLDO2: 800 <--> 1550 mV at 1500 mV
VCCSD: 2850 <--> 3300 mV at 3300 mV
V33: 2850 <--> 3300 mV at 3300 mV
VLDO3: 1800 <--> 3300 mV at 3300 mV
VLDO4: 1800 <--> 3300 mV at 2800 mV
console [hvc0] enabled
Serial: IMX driver
30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 60, base_baud = 5000000) is a IMX
serial: Freescale lpuart driver
imx sema4 driver is registered.
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized vivante 1.0.0 20120216 on minor 0
brd: module loaded
loop: module loaded
2-001a supply DCVDD not found, using dummy regulator
2-001a supply AVDD1 not found, using dummy regulator
wm8994 2-001a: WM8958 revision B CUST_ID 00
wm8994 2-001a: No interrupt specified, no interrupts
spi_imx 30840000.ecspi: cannot get the TX DMA channel!
spi_imx 30840000.ecspi: dma setup error,use pio instead
m25p80 spi2.0: found mr25h256, expected m25p32
m25p80 spi2.0: mr25h256 (32 Kbytes)
spi_imx 30840000.ecspi: probed
CAN device driver interface
30be0000.ethernet supply phy not found, using dummy regulator
pps pps0: new PPS source ptp0
fec: probe of 30be0000.ethernet failed with error -12
xen_netfront: Initialising Xen virtual ethernet driver
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-mxc: Freescale On-Chip EHCI Host driver
usbcore: registered new interface driver usb-storage
30b10200.usbmisc supply vbus-wakeup not found, using dummy regulator
30b20200.usbmisc supply vbus-wakeup not found, using dummy regulator
30b30200.usbmisc supply vbus-wakeup not found, using dummy regulator
ci_hdrc ci_hdrc.0: doesn't support gadget
ci_hdrc ci_hdrc.1: doesn't support gadget
mousedev: PS/2 mouse device common for all mice
input: 30370000.snvs-pwrkey as /devices/soc.2/30000000.aips-bus/30370000.snvs-pwrkey/input/input0
snvs_pwrkey 30370000.snvs-pwrkey: i.MX snvs powerkey probed
i2c-core: driver [isl29023] using legacy suspend method
i2c-core: driver [isl29023] using legacy resume method
snvs_rtc 30370034.snvs-rtc-lp: rtc core: registered 30370034.snvs-rtc-l as rtc0
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR RC5 (streamzap) protocol handler initialized
IR SANYO protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
pxp-v4l2 pxp_v4l2_out.10: initialized
i2c-core: driver [mag3110] using legacy suspend method
i2c-core: driver [mag3110] using legacy resume method
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCI BCSP protocol initialized
Bluetooth: HCIATH3K protocol initialized
usbcore: registered new interface driver bcm203x
usbcore: registered new interface driver btusb
Bluetooth: Generic Bluetooth SDIO driver ver 0.1
usbcore: registered new interface driver ath3k
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: no vqmmc regulator found
mmc0: SDHCI controller on 30b40000.usdhc [30b40000.usdhc] using ADMA
mmc1: no vqmmc regulator found
mmc1: SDHCI controller on 30b50000.usdhc [30b50000.usdhc] using ADMA
mmc2: no vqmmc regulator found
mmc2: no vmmc regulator found
mmc0: new high speed SDHC card at address f1f9
mmcblk0: mmc0:f1f9 SE08G 7.28 GiB
mmcblk0: p1 p2
mmc2: SDHCI controller on 30b60000.usdhc [30b60000.usdhc] using ADMA
Job Ring Device allocation for transform failed
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
NET: Registered protocol family 26
TCP: cubic registered
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: BNEP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
mmc2: BKOPS_EN bit is not set
imx_epdc_v2_fb: probe of 306f0000.epdc failed with error -12
VLDO2: disabling
SWBST: disabling
can2-3v3: disabling
can1-3v3: disabling
usb_otg2_vbus: disabling
usb_otg1_vbus: disabling
VCC_SD2: disabling
regulator-dummy: disabling
imx mcc test is registered.
input: gpio-keys.9 as /devices/gpio-keys.9/input/input1
snvs_rtc 30370034.snvs-rtc-lp: setting system clock to 1970-01-01 00:00:00 UTC (0)
clk: Not disabling unused clocks
ALSA device list:
No soundcards found.
Freeing unused kernel memory: 3400K (80fc2000 - 81314000)
init started: BusyBox v1.15.0 ()
mmc2: new HS400 DDR MMC card at address 0001
starting pid 87, tty '': '/etc/rc.d/rcS'
mmcblk2: mmc2:0001 R1J55A 7.28 GiB
mmcblk2boot0: mmc2:0001 R1J55A partition 1 2.00 MiB


BusyBox v1.15.0 () built-in shell (ash)
Enter 'help' for a list of built-in commands.mmcblk2boot1: mmc2:0001 R1J55A partition 2 2.00 MiB
mmcblk2rpmb: mmc2:0001 R1J55A partition 3 128 KiB


/bin/sh: can't access tty; job control turned off
/ #  mmcblk2: p1 p2
mmcblk2boot1: unknown partition table
mmcblk2boot0: unknown partition table
(XEN) imx-uart.c:72: uart: rxfifo overrun

/ #
/ #

/ #
/ #
/ # Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = 84f1c000
[00000000] *pgd=8cf15831, *pte=00000000, *ppte=00000000
Internal error: Oops: 80000007 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 0 PID: 89 Comm: sh Not tainted 3.14.28-01780-g281e5c1-dirty #269
task: 84c07a80 ti: 84f02000 task.ti: 84f02000
PC is at 0x0
LR is at call_timer_fn.isra.33+0x24/0x88
pc : [<00000000>]    lr : [<80038b38>]    psr: 20000113
sp : 84f03d70  ip : 84f03d98  fp : 00000000
r10: 00000000  r9 : 81388d14  r8 : 00000000
r7 : 84f02030  r6 : 00000101  r5 : 84f02000  r4 : 81388500
r3 : 84f03d70  r2 : 00000101  r1 : 00000000  r0 : 00000000
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 10c53c7d  Table: 8cf1c06a  DAC: 00000015
Process sh (pid: 89, stack limit = 0x84f02238)
Stack: (0x84f03d70 to 0x84f04000)
3d60: 00000002 87ee13c0 81388500 84f03d98
3d80: 00200200 00000000 813180c0 80038d28 81388f14 81389114 84f03d98 84f03d98 3da0: 845499cc 00000080 81318084 00000101 84f02000 81318080 81318080 00000001 3dc0: 40000001 80032cc0 845499cc 00000002 845499cc 81312458 00000000 0000000a 3de0: 813882c0 813180c0 ffff8f0a 84f02008 8071e418 00404000 802ab76c 84f02020 3e00: 0000001b 00000000 88802000 00000004 84c088e0 20000013 80740b78 80033084 3e20: 81312e54 8000f54c 8880200c 8131e978 84f03e50 80008598 8032c18c 8071b954 3e40: 60000013 ffffffff 84f03e84 800129c0 84c088e0 20000013 00000000 0000002e 3e60: 84c08800 00000004 00000000 84d46804 00000004 84c088e0 20000013 80740b78 3e80: deadbeef 84f03e98 8032c18c 8071b954 60000013 ffffffff 00000004 8032c18c 3ea0: 84d4cc00 00000004 0000224c 00002250 88863270 88861000 84d46800 803168c4 3ec0: 00000000 842abf00 84d4cc80 84f02000 84d46800 84f02000 84f02000 84d4cd78 3ee0: 76fc0000 00000000 84c07a80 8005475c 84d4cd7c 84d4cd7c 84b67c40 76fc0000 3f00: 00000004 84d4cc00 00000000 842abf00 00000004 84f02000 84f02000 80313990 3f20: 81318280 00000004 80316704 84d50c80 00000012 842abf00 76fc0000 84f03f80 3f40: 00000004 00000004 76fc0000 00000000 00000001 800d5e38 000000c0 84f03f70 3f60: 84f2a000 00000000 00000000 842abf00 842abf00 00000004 76fc0000 800d641c 3f80: 00000000 00000000 000000c0 00000004 76fc0000 76f9d5f8 00000004 8000ede4 3fa0: 84f02000 8000ec60 00000004 76fc0000 00000001 76fc0000 00000004 00000000 3fc0: 00000004 76fc0000 76f9d5f8 00000004 00000004 00000000 76f9d000 00000001 3fe0: 00000004 7ed29688 76eeb98c 76f37e6c 60000010 00000001 6caaaac3 6caaaac3 [<80038b38>] (call_timer_fn.isra.33) from [<80038d28>] (run_timer_softirq+0x18c/0x208) [<80038d28>] (run_timer_softirq) from [<80032cc0>] (__do_softirq+0x10c/0x248)
[<80032cc0>] (__do_softirq) from [<80033084>] (irq_exit+0xb8/0xf4)
[<80033084>] (irq_exit) from [<8000f54c>] (handle_IRQ+0x44/0x90)
[<8000f54c>] (handle_IRQ) from [<80008598>] (gic_handle_irq+0x2c/0x5c)
[<80008598>] (gic_handle_irq) from [<800129c0>] (__irq_svc+0x40/0x70)
Exception stack(0x84f03e50 to 0x84f03e98)
3e40: 84c088e0 20000013 00000000 0000002e
3e60: 84c08800 00000004 00000000 84d46804 00000004 84c088e0 20000013 80740b78
3e80: deadbeef 84f03e98 8032c18c 8071b954 60000013 ffffffff
[<800129c0>] (__irq_svc) from [<8071b954>] (_raw_spin_unlock_irqrestore+0x20/0x54) [<8071b954>] (_raw_spin_unlock_irqrestore) from [<8032c18c>] (hvc_write+0xd0/0x11c)
[<8032c18c>] (hvc_write) from [<803168c4>] (n_tty_write+0x1c0/0x508)
[<803168c4>] (n_tty_write) from [<80313990>] (tty_write+0xfc/0x25c)
[<80313990>] (tty_write) from [<800d5e38>] (vfs_write+0xac/0x188)
[<800d5e38>] (vfs_write) from [<800d641c>] (SyS_write+0x40/0x94)
[<800d641c>] (SyS_write) from [<8000ec60>] (ret_fast_syscall+0x0/0x30)
Code: bad PC value
---[ end trace ee05d7cd4a4b340e ]---
Kernel panic - not syncing: Fatal exception in interrupt

I am not sure whether this realted to timer, the timer dts:
"
        timer {
                compatible = "arm,armv7-timer";
                interrupts = <GIC_PPI 13
                        (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
                        <GIC_PPI 14
                        (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
                        <GIC_PPI 11
                        (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
                        <GIC_PPI 10
                        (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
                interrupt-parent = <&intc>;
                clock-frequency = <8000000>;
        };
"
The Dom0 kernel is also configured with " CONFIG_ARM_ARCH_TIMER=y", will this incur errors? Or should Dom0 kernel not use arm arch timer?

Thanks,
Peng.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.