From mboxrd@z Thu Jan 1 00:00:00 1970 From: George John Subject: Error regarding filesystem in Dom0 in lager board Date: Wed, 16 Nov 2016 22:53:30 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a113e3890fa2da705416e5447 Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c73vs-0001XZ-HV for xen-devel@lists.xenproject.org; Wed, 16 Nov 2016 17:23:36 +0000 Received: by mail-yw0-f170.google.com with SMTP id r204so129597899ywb.0 for ; Wed, 16 Nov 2016 09:23:34 -0800 (PST) List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org --001a113e3890fa2da705416e5447 Content-Type: multipart/alternative; boundary=001a113e3890fa2da305416e5445 --001a113e3890fa2da305416e5445 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I just bumped in to some errors related to filesystem . The following is the log. I am using xen 4.7.1 along with linux kernel 3.19.8 as Dom0 Starting kernel ... - UART enabled - - CPU 00000000 booting - - Xen starting in Hyp mode - - Zero BSS - - Setting up control registers - - Turning on paging - - Ready - (XEN) Checking for initrd in /chosen (XEN) RAM: 0000000040000000 - 000000007fffffff (XEN) RAM: 0000000140000000 - 00000001ffffffff (XEN) (XEN) MODULE[0]: 0000000040ef2000 - 0000000040efe000 Device Tree (XEN) MODULE[1]: 0000000072000000 - 00000000722a0660 Kernel (XEN) MODULE[2]: 0000000074000000 - 000000007400284f XSM (XEN) RESVD[0]: 000000007ff9a000 - 000000007ff9a120 (XEN) RESVD[1]: 0000000040ef2000 - 0000000040efe000 (XEN) (XEN) Command line: console=3Ddtuart dom0_mem=3D1G (XEN) Placing Xen at 0x000000007fc00000-0x000000007fe00000 (XEN) Update BOOTMOD_XEN from 0000000090000000-0000000090105781 =3D> 000000007fc00000-000000007fd05781 (XEN) Xen heap: 00000001f8000000-0000000200000000 (32768 pages) (XEN) Dom heap: 1015808 pages (XEN) Domain heap initialised (XEN) Platform: Renesas R-Car Gen2 (XEN) Taking dtuart configuration from /chosen/stdout-path (XEN) Looking for dtuart at "serial0", options "38400n8" (XEN) WARNING: UART configuration is not supported Xen 4.7.1 (XEN) Xen version 4.7.1 (teltvm@tvm.telxsi.com) (arm-linux-gnueabihf-gcc (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1) 4.8.4) debug=3Dy Mon Nov 7 11:44:45 IST 2016 (XEN) Latest ChangeSet: (XEN) Processor: 413fc0f2: "ARM Limited", variant: 0x3, part 0xc0f, rev 0x2 (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: 10201105 40000000 01240000 02102211 (XEN) ISA Features: 02101110 13112111 21232041 11112131 10011142 00000000 (XEN) Generic Timer IRQ: phys=3D30 hyp=3D26 virt=3D27 Freq: 10000 KHz (XEN) GICv2: WARNING: The GICC size is too small: 0x1000 expected 0x2000 (XEN) GICv2 initialization: (XEN) gic_dist_addr=3D00000000f1001000 (XEN) gic_cpu_addr=3D00000000f1002000 (XEN) gic_hyp_addr=3D00000000f1004000 (XEN) gic_vcpu_addr=3D00000000f1006000 (XEN) gic_maintenance_irq=3D25 (XEN) GICv2: 416 lines, 8 cpus, secure (IID 0200043b). (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Allocated console ring of 64 KiB. (XEN) VFP implementer 0x41 architecture 4 part 0x30 variant 0xf rev 0x0 (XEN) Bringing up CPU1 - CPU 00000001 booting - - Xen starting in Hyp mode - - Setting up control registers - - Turning on paging - - Ready - (XEN) CPU 1 booted. (XEN) Bringing up CPU2 - CPU 00000002 booting - - Xen starting in Hyp mode - - Setting up control registers - - Turning on paging - - Ready - (XEN) CPU 2 booted. (XEN) Bringing up CPU3 - CPU 00000003 booting - - Xen starting in Hyp mode - - Setting up control registers - - Turning on paging - - Ready - (XEN) CPU 3 booted. (XEN) Bringing up CPU4 (XEN) CPU4 never came online (XEN) Failed to bring up CPU 4 (error -5) (XEN) Bringing up CPU5 (XEN) CPU5 never came online (XEN) Failed to bring up CPU 5 (error -5) (XEN) Bringing up CPU6 (XEN) CPU6 never came online (XEN) Failed to bring up CPU 6 (error -5) (XEN) Bringing up CPU7 (XEN) CPU7 never came online (XEN) Failed to bring up CPU 7 (error -5) (XEN) Brought up 4 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) Loading kernel from boot module @ 0000000072000000 (XEN) Allocating 1:1 mappings totalling 1024MB for dom0: (XEN) BANK[0] 0x00000048000000-0x00000070000000 (640MB) (XEN) BANK[1] 0x000001d8000000-0x000001f0000000 (384MB) (XEN) Grant table range: 0x0000007fc00000-0x0000007fc64000 (XEN) Loading zImage from 0000000072000000 to 000000004fc00000-000000004fe79fb8 (XEN) Allocating PPI 16 for event channel interrupt (XEN) Loading dom0 DTB to 0x0000000050000000-0x000000005000ab70 (XEN) Scrubbing Free RAM on 1 nodes using 4 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 276kB init memory. Booting Linux on physical CPU 0x0 Linux version 3.19.8 (teltvm@teltvm2038x) (gcc version 4.8.4 (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1) ) #23 Mon Nov 14 17:20:55 IST 2016 CPU: ARMv7 Processor [413fc0f2] revision 2 (ARMv7), cr=3D10c53c7d CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache Machine model: Lager Ignoring memory block 0x1d8000000 - 0x1f0000000 Truncating RAM at 0x48000000-0x70000000 to -0x6f000000 Memory policy: Data cache writeback ------------[ cut here ]------------ WARNING: CPU: 0 PID: 0 at arch/arm/kernel/devtree.c:144 arm_dt_init_cpu_maps+0xc0/0x12c() DT /cpu 2 nodes greater than max cores 1, capping them CPU: 0 PID: 0 Comm: swapper Not tainted 3.19.8 #23 Hardware name: lager Backtrace: [] (dump_backtrace) from [] (show_stack+0x18/0x1c) r6:c0476ecb r5:00000009 r4:00000000 r3:00200000 [] (show_stack) from [] (dump_stack+0x20/0x28) [] (dump_stack) from [] (warn_slowpath_common+0x88/0xb0= ) [] (warn_slowpath_common) from [] (warn_slowpath_fmt+0x38/0x40) r8:c04fbee8 r7:e6b187dc r6:00000001 r5:00000000 r4:e6b18a44 [] (warn_slowpath_fmt) from [] (arm_dt_init_cpu_maps+0xc0/0x12c) r3:00000002 r2:c0476f0e [] (arm_dt_init_cpu_maps) from [] (setup_arch+0x5e0/0x78c) r7:c04f3708 r6:c052af98 r5:c04de83c r4:e6b18f80 [] (setup_arch) from [] (start_kernel+0x80/0x33c) r10:00000000 r9:c04f0000 r8:48004059 r7:ffffffff r6:c0512b40 r5:00000001 r4:00000000 [] (start_kernel) from [<48008070>] (0x48008070) r10:00000000 r9:413fc0f2 r8:48004059 r7:c04f3810 r6:c04dfbf8 r5:c04f0078 r4:c05135d4 ---[ end trace cb88537fdc8fa200 ]--- psci: probing for conduit method from DT. psci: PSCIv0.2 detected in firmware. psci: Using standard PSCI v0.2 function IDs CPU: All CPU(s) started in SVC mode. Built 1 zonelists in Zone order, mobility grouping on. Total pages: 158496 Kernel command line: console=3Dhvc0 vmalloc=3D384M video=3DHDMI-A-1:1920x1080-32@60 rw root=3D/dev/mmcblk0p1 rootfstype=3Dext= 2 rdinit=3D/sbin/init rootwait fixrtc PID hash table entries: 4096 (order: 2, 16384 bytes) Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 627628K/638976K available (3887K kernel code, 170K rwdata, 936K rodata, 164K init, 164K bss, 11348K reserved, 0K cma-reserved) Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xe7800000 - 0xff000000 ( 376 MB) lowmem : 0xc0000000 - 0xe7000000 ( 624 MB) .text : 0xc0008000 - 0xc04befb4 (4828 kB) .init : 0xc04bf000 - 0xc04e8000 ( 164 kB) .data : 0xc04e8000 - 0xc0512b40 ( 171 kB) .bss : 0xc0512b40 - 0xc053bdb8 ( 165 kB) NR_IRQS:16 nr_irqs:16 16 sched_clock: 32 bits at 128 Hz, resolution 7812500ns, wraps every 16777216000000000ns Console: colour dummy device 80x30 Calibrating delay loop (skipped) preset value.. 1300.08 BogoMIPS (lpj=3D5078125) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) CPU: Testing write buffer coherency: ok irq: no irq domain found for /interrupt-controller ! Xen 4.7 support found, events_irq=3D0 gnttab_frame=3D0x7fc00000 xen:grant_table: Grant tables using version 1 layout Grant table initialized xen:events: Using FIFO-based ABI Error request IRQ 0 Setting up static identity map for 0x483d32b0 - 0x483d3308 devtmpfs: initialized VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0 pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations xen:swiotlb_xen: Warning: only able to allocate 16 MB for software IO TLB software IO TLB [mem 0x6b000000-0x6c000000] (16MB) mapped at [e3000000-e3ffffff] sh-pfc pfc-r8a7790: r8a77900_pfc support registered renesas_irqc renesas_irqc.0: driving 4 irqs No ATAGs? hw-breakpoint: Failed to enable monitor mode on CPU 0. xen:balloon: Initialising balloon driver xen_balloon: Initialising balloon driver SDHI0Vcc: Failed to request enable GPIO184: -517 reg-fixed-voltage reg-fixed-voltage.1: Failed to register regulator: -517 platform reg-fixed-voltage.1: Driver reg-fixed-voltage requests probe deferral SDHI2Vcc: Failed to request enable GPIO185: -517 reg-fixed-voltage reg-fixed-voltage.2: Failed to register regulator: -517 platform reg-fixed-voltage.2: Driver reg-fixed-voltage requests probe deferral gpio-regulator gpio-regulator.0: Could not obtain regulator setting GPIOs: -517 platform gpio-regulator.0: Driver gpio-regulator requests probe deferral gpio-regulator gpio-regulator.1: Could not obtain regulator setting GPIOs: -517 platform gpio-regulator.1: Driver gpio-regulator requests probe deferral SCSI subsystem initialized Linux video capture interface: v2.00 sh_cmt sh-cmt-48-gen2.0: ch0: used for clock events sh_cmt sh-cmt-48-gen2.0: ch0: used for periodic clock events sh_cmt sh-cmt-48-gen2.0: ch1: used as clock source Advanced Linux Sound Architecture Driver Initialized. Switched to clocksource sh-cmt-48-gen2.0 NET: Registered protocol family 2 TCP established hash table entries: 8192 (order: 3, 32768 bytes) TCP bind hash table entries: 8192 (order: 3, 32768 bytes) TCP: Hash tables configured (established 8192 bind 8192) TCP: reno registered UDP hash table entries: 512 (order: 1, 8192 bytes) UDP-Lite hash table entries: 512 (order: 1, 8192 bytes) sh_cmt sh-cmt-48-gen2.0: ch0: used for oneshot clock events 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. futex hash table entries: 256 (order: -1, 3072 bytes) NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered nfs4filelayout_init: NFSv4 File Layout Driver Registering... io scheduler noop registered (default) gpio_rcar gpio_rcar.0: driving 32 GPIOs gpio_rcar gpio_rcar.1: driving 32 GPIOs gpio_rcar gpio_rcar.2: driving 32 GPIOs gpio_rcar gpio_rcar.3: driving 32 GPIOs gpio_rcar gpio_rcar.4: driving 32 GPIOs gpio_rcar gpio_rcar.5: driving 32 GPIOs xen:xen_evtchn: Event-channel device installed console [hvc0] enabled SuperH (H)SCI(F) driver initialized sh-sci.0: ttySC0 at MMIO 0xe6c40000 (irq =3D 176, base_baud =3D 0) is a sci= fa sh-sci.1: ttySC1 at MMIO 0xe6c50000 (irq =3D 177, base_baud =3D 0) is a sci= fa sh-sci.2: ttySC2 at MMIO 0xe6c20000 (irq =3D 180, base_baud =3D 0) is a sci= fb sh-sci.3: ttySC3 at MMIO 0xe6c30000 (irq =3D 181, base_baud =3D 0) is a sci= fb sh-sci.4: ttySC4 at MMIO 0xe6ce0000 (irq =3D 182, base_baud =3D 0) is a sci= fb sh-sci.5: ttySC5 at MMIO 0xe6c60000 (irq =3D 183, base_baud =3D 0) is a sci= fa sh-sci.6: ttySC6 at MMIO 0xe6e60000 (irq =3D 184, base_baud =3D 0) is a sci= f sh-sci.7: ttySC7 at MMIO 0xe6e68000 (irq =3D 185, base_baud =3D 0) is a sci= f sh-sci.8: ttySC8 at MMIO 0xe62c0000 (irq =3D 186, base_baud =3D 0) is a hsc= if sh-sci.9: ttySC9 at MMIO 0xe62c8000 (irq =3D 187, base_baud =3D 0) is a hsc= if [drm] Initialized drm 1.1.0 20060810 scsi host0: sata_rcar ata1: SATA max UDMA/133 irq 138 m25p80 spi0.0: s25fl512s (65536 Kbytes) Creating 3 MTD partitions on "m25p80": 0x000000000000-0x000000040000 : "loader" 0x000000040000-0x000000440000 : "user" 0x000000440000-0x000004000000 : "flash" renesas_spi qspi.0: probed libphy: sh_mii: probed sh-eth r8a7790-ether eth0: Base address at 0xee700000, 2e:09:0a:00:3d:d3, IRQ 194. xen_netfront: Initialising Xen virtual ethernet driver mousedev: PS/2 mouse device common for all mice i2c-rcar i2c-rcar_gen2.0: probed i2c-rcar i2c-rcar_gen2.1: probed i2c-rcar i2c-rcar_gen2.2: probed i2c-rcar i2c-rcar_gen2.3: probed soc-camera-pdrv soc-camera-pdrv.1: Probing soc-camera-pdrv.1 adv7180 2-0020: chip found @ 0x20 (i2c-rcar_gen2) rcar_thermal rcar_thermal: 1 sensor probed Driver 'mmcblk' needs updating - please use bus_type methods sh_mobile_sdhi sh_mobile_sdhi.0: No vmmc regulator found sh_mobile_sdhi sh_mobile_sdhi.0: No vqmmc regulator found platform sh_mobile_sdhi.0: Driver sh_mobile_sdhi requests probe deferral sh_mobile_sdhi sh_mobile_sdhi.2: No vmmc regulator found sh_mobile_sdhi sh_mobile_sdhi.2: No vqmmc regulator found platform sh_mobile_sdhi.2: Driver sh_mobile_sdhi requests probe deferral sh_mmcif sh_mmcif.1: No vqmmc regulator found sh_mmcif sh_mmcif.1: Chip version 0x0003, clock rate 12MHz asoc-simple-card asoc-simple-card: ASoC: CPU DAI rcar_sound not registered platform asoc-simple-card: Driver asoc-simple-card requests probe deferral rcar_sound rcar_sound: probed TCP: cubic registered NET: Registered protocol family 17 Key type dns_resolver registered mmc0: BKOPS_EN bit is not set mmc0: new high speed MMC card at address 0001 1DEBUG: Passed mmc_add_card 317 2DEBUG: Passed mmc_add_card 319 mmcblk0: mmc0:0001 MMC08G 7.32 GiB mmcblk0boot0: mmc0:0001 MMC08G partition 1 2.00 MiB mmcblk0boot1: mmc0:0001 MMC08G partition 2 2.00 MiB mmcblk0: p1 sh_mobile_sdhi sh_mobile_sdhi.0: mmc1 base at 0xee100000 clock rate 97 MHz ata1: link resume succeeded after 1 retries ata1: SATA link down (SStatus 0 SControl 300) sh_mobile_sdhi sh_mobile_sdhi.2: mmc2 base at 0xee140000 clock rate 48 MHz asoc-simple-card asoc-simple-card: ak4642-hifi <-> rcar_sound mapping ok input: gpio-keys as /devices/platform/gpio-keys/input/input0 =EF=BF=BDH=EF=BF=BDEXT4-fs (mmcblk0p1): error count since last fsck: 24 EXT4-fs (mmcblk0p1): initial error at time 11: mb_free_blocks:1450: inode 67523: block 296960 EXT4-fs (mmcblk0p1): last error at time 10: ext4_free_inode:340 After this the system hangs I am trying to debug the issue please help I am attaching the dts file I have used for the lager board. Regards, George --001a113e3890fa2da305416e5445 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,
I just bum= ped in to some errors related to filesystem . The following is the log. I a= m using xen 4.7.1 along with linux kernel 3.19.8 as Dom0

Starting ke= rnel ...

- UART enabled -
- CPU 00000000 booting -
- Xen start= ing in Hyp mode -
- Zero BSS -
- Setting up control registers -
- = Turning on paging -
- Ready -
(XEN) Checking for initrd in /chosen(XEN) RAM: 0000000040000000 - 000000007fffffff
(XEN) RAM: 0000000140000= 000 - 00000001ffffffff
(XEN)
(XEN) MODULE[0]: 0000000040ef2000 - 000= 0000040efe000 Device Tree=C2=A0
(XEN) MODULE[1]: 0000000072000000 - 000= 00000722a0660 Kernel=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
(XEN) MODULE[2= ]: 0000000074000000 - 000000007400284f XSM=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0
(XEN)=C2=A0 RESVD[0]: 000000007ff9a000 - 00000000= 7ff9a120
(XEN)=C2=A0 RESVD[1]: 0000000040ef2000 - 0000000040efe000
(X= EN)
(XEN) Command line: console=3Ddtuart dom0_mem=3D1G
(XEN) Placing= Xen at 0x000000007fc00000-0x000000007fe00000
(XEN) Update BOOTMOD_XEN f= rom 0000000090000000-0000000090105781 =3D> 000000007fc00000-000000007fd0= 5781
(XEN) Xen heap: 00000001f8000000-0000000200000000 (32768 pages)
= (XEN) Dom heap: 1015808 pages
(XEN) Domain heap initialised
(XEN) Pla= tform: Renesas R-Car Gen2
(XEN) Taking dtuart configuration from /chosen= /stdout-path
(XEN) Looking for dtuart at "serial0", options &q= uot;38400n8"
(XEN) WARNING: UART configuration is not supported
= =C2=A0Xen 4.7.1
(XEN) Xen version 4.7.1 (teltvm@tvm.telxsi.com) (arm-linux-gnueabihf-gcc (Ubuntu/Linar= o 4.8.4-2ubuntu1~14.04.1) 4.8.4) debug=3Dy Mon Nov=C2=A0 7 11:44:45 IST 201= 6
(XEN) Latest ChangeSet:
(XEN) Processor: 413fc0f2: "ARM Limit= ed", variant: 0x3, part 0xc0f, rev 0x2
(XEN) 32-bit Execution:
(= XEN)=C2=A0=C2=A0 Processor Features: 00001131:00011011
(XEN)=C2=A0=C2=A0= =C2=A0=C2=A0 Instruction Sets: AArch32 A32 Thumb Thumb-2 ThumbEE Jazelle(XEN)=C2=A0=C2=A0=C2=A0=C2=A0 Extensions: GenericTimer Security
(XEN)= =C2=A0=C2=A0 Debug Features: 02010555
(XEN)=C2=A0=C2=A0 Auxiliary Featur= es: 00000000
(XEN)=C2=A0=C2=A0 Memory Model Features: 10201105 40000000 = 01240000 02102211
(XEN)=C2=A0 ISA Features: 02101110 13112111 21232041 1= 1112131 10011142 00000000
(XEN) Generic Timer IRQ: phys=3D30 hyp=3D26 vi= rt=3D27 Freq: 10000 KHz
(XEN) GICv2: WARNING: The GICC size is too small= : 0x1000 expected 0x2000
(XEN) GICv2 initialization:
(XEN)=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 gic_dist_addr=3D00000000f1001000(XEN)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 gic_cpu_addr=3D00000= 000f1002000
(XEN)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 gic_hy= p_addr=3D00000000f1004000
(XEN)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 gic_vcpu_addr=3D00000000f1006000
(XEN)=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 gic_maintenance_irq=3D25
(XEN) GICv2: 416 lines= , 8 cpus, secure (IID 0200043b).
(XEN) Using scheduler: SMP Credit Sched= uler (credit)
(XEN) Allocated console ring of 64 KiB.
(XEN) VFP imple= menter 0x41 architecture 4 part 0x30 variant 0xf rev 0x0
(XEN) Bringing = up CPU1
- CPU 00000001 booting -
- Xen starting in Hyp mode -
- Se= tting up control registers -
- Turning on paging -
- Ready -
(XEN)= CPU 1 booted.
(XEN) Bringing up CPU2
- CPU 00000002 booting -
- X= en starting in Hyp mode -
- Setting up control registers -
- Turning = on paging -
- Ready -
(XEN) CPU 2 booted.
(XEN) Bringing up CPU3- CPU 00000003 booting -
- Xen starting in Hyp mode -
- Setting up = control registers -
- Turning on paging -
- Ready -
(XEN) CPU 3 bo= oted.
(XEN) Bringing up CPU4
(XEN) CPU4 never came online
(XEN) Fa= iled to bring up CPU 4 (error -5)
(XEN) Bringing up CPU5
(XEN) CPU5 n= ever came online
(XEN) Failed to bring up CPU 5 (error -5)
(XEN) Brin= ging up CPU6
(XEN) CPU6 never came online
(XEN) Failed to bring up CP= U 6 (error -5)
(XEN) Bringing up CPU7
(XEN) CPU7 never came online(XEN) Failed to bring up CPU 7 (error -5)
(XEN) Brought up 4 CPUs
(X= EN) P2M: 40-bit IPA
(XEN) P2M: 3 levels with order-1 root, VTCR 0x800035= 58
(XEN) I/O virtualisation disabled
(XEN) *** LOADING DOMAIN 0 ***(XEN) Loading kernel from boot module @ 0000000072000000
(XEN) Allocat= ing 1:1 mappings totalling 1024MB for dom0:
(XEN) BANK[0] 0x000000480000= 00-0x00000070000000 (640MB)
(XEN) BANK[1] 0x000001d8000000-0x000001f0000= 000 (384MB)
(XEN) Grant table range: 0x0000007fc00000-0x0000007fc64000(XEN) Loading zImage from 0000000072000000 to 000000004fc00000-000000004f= e79fb8
(XEN) Allocating PPI 16 for event channel interrupt
(XEN) Load= ing dom0 DTB to 0x0000000050000000-0x000000005000ab70
(XEN) Scrubbing Fr= ee RAM on 1 nodes using 4 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 'CT= RL-a' three times to switch input to Xen)
(XEN) Freed 276kB init mem= ory.
Booting Linux on physical CPU 0x0
Linux version 3.19.8 (teltvm@t= eltvm2038x) (gcc version 4.8.4 (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1) ) #23= Mon Nov 14 17:20:55 IST 2016
CPU: ARMv7 Processor [413fc0f2] revision 2= (ARMv7), cr=3D10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, PIPT in= struction cache
Machine model: Lager
Ignoring memory block 0x1d800000= 0 - 0x1f0000000
Truncating RAM at 0x48000000-0x70000000 to -0x6f000000Memory policy: Data cache writeback
------------[ cut here ]----------= --
WARNING: CPU: 0 PID: 0 at arch/arm/kernel/devtree.c:144 arm_dt_init_c= pu_maps+0xc0/0x12c()
DT /cpu 2 nodes greater than max cores 1, capping t= hem
CPU: 0 PID: 0 Comm: swapper Not tainted 3.19.8 #23
Hardware name:= lager
Backtrace:
[<c00121f4>] (dump_backtrace) from [<c001= 2388>] (show_stack+0x18/0x1c)
=C2=A0r6:c0476ecb r5:00000009 r4:000000= 00 r3:00200000
[<c0012370>] (show_stack) from [<c03cf7f4>] (= dump_stack+0x20/0x28)
[<c03cf7d4>] (dump_stack) from [<c0021ba4= >] (warn_slowpath_common+0x88/0xb0)
[<c0021b1c>] (warn_slowpath= _common) from [<c0021c38>] (warn_slowpath_fmt+0x38/0x40)
=C2=A0r8:= c04fbee8 r7:e6b187dc r6:00000001 r5:00000000 r4:e6b18a44
[<c0021c04&g= t;] (warn_slowpath_fmt) from [<c04c228c>] (arm_dt_init_cpu_maps+0xc0/= 0x12c)
=C2=A0r3:00000002 r2:c0476f0e
[<c04c21cc>] (arm_dt_init_= cpu_maps) from [<c04c1964>] (setup_arch+0x5e0/0x78c)
=C2=A0r7:c04f= 3708 r6:c052af98 r5:c04de83c r4:e6b18f80
[<c04c1384>] (setup_arch)= from [<c04bf9c4>] (start_kernel+0x80/0x33c)
=C2=A0r10:00000000 r9= :c04f0000 r8:48004059 r7:ffffffff r6:c0512b40 r5:00000001
=C2=A0r4:00000= 000
[<c04bf944>] (start_kernel) from [<48008070>] (0x4800807= 0)
=C2=A0r10:00000000 r9:413fc0f2 r8:48004059 r7:c04f3810 r6:c04dfbf8 r5= :c04f0078
=C2=A0r4:c05135d4
---[ end trace cb88537fdc8fa200 ]---
p= sci: probing for conduit method from DT.
psci: PSCIv0.2 detected in firm= ware.
psci: Using standard PSCI v0.2 function IDs
CPU: All CPU(s) sta= rted in SVC mode.
Built 1 zonelists in Zone order, mobility grouping on.= =C2=A0 Total pages: 158496
Kernel command line: console=3Dhvc0=C2=A0 vma= lloc=3D384M video=3DHDMI-A-1:1920x1080-32@60=C2=A0 rw root=3D/dev/mmcblk0p1= rootfstype=3Dext2 rdinit=3D/sbin/init rootwait fixrtc
PID hash table en= tries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131= 072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (orde= r: 6, 262144 bytes)
Memory: 627628K/638976K available (3887K kernel code= , 170K rwdata, 936K rodata, 164K init, 164K bss, 11348K reserved, 0K cma-re= served)
Virtual kernel memory layout:
=C2=A0=C2=A0=C2=A0 vector=C2=A0= : 0xffff0000 - 0xffff1000=C2=A0=C2=A0 (=C2=A0=C2=A0 4 kB)
=C2=A0=C2=A0= =C2=A0 fixmap=C2=A0 : 0xffc00000 - 0xfff00000=C2=A0=C2=A0 (3072 kB)
=C2= =A0=C2=A0=C2=A0 vmalloc : 0xe7800000 - 0xff000000=C2=A0=C2=A0 ( 376 MB)
= =C2=A0=C2=A0=C2=A0 lowmem=C2=A0 : 0xc0000000 - 0xe7000000=C2=A0=C2=A0 ( 624= MB)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 .text : 0xc0008000 - 0xc04befb4=C2= =A0=C2=A0 (4828 kB)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 .init : 0xc04bf000 - = 0xc04e8000=C2=A0=C2=A0 ( 164 kB)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 .data : = 0xc04e8000 - 0xc0512b40=C2=A0=C2=A0 ( 171 kB)
=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 .bss : 0xc0512b40 - 0xc053bdb8=C2=A0=C2=A0 ( 165 kB)
NR_IRQ= S:16 nr_irqs:16 16
sched_clock: 32 bits at 128 Hz, resolution 7812500ns,= wraps every 16777216000000000ns
Console: colour dummy device 80x30
C= alibrating delay loop (skipped) preset value.. 1300.08 BogoMIPS (lpj=3D5078= 125)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entr= ies: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 20= 48 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
irq= : no irq domain found for /interrupt-controller !
Xen 4.7 support found,= events_irq=3D0 gnttab_frame=3D0x7fc00000
xen:grant_table: Grant tables = using version 1 layout
Grant table initialized
xen:events: Using FIFO= -based ABI
Error request IRQ 0
Setting up static identity map for 0x4= 83d32b0 - 0x483d3308
devtmpfs: initialized
VFP support v0.3: implemen= tor 41 architecture 4 part 30 variant f rev 0
pinctrl core: initialized = pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocate= d 256 KiB pool for atomic coherent allocations
xen:swiotlb_xen: Warning:= only able to allocate 16 MB for software IO TLB
software IO TLB [mem 0x= 6b000000-0x6c000000] (16MB) mapped at [e3000000-e3ffffff]
sh-pfc pfc-r8a= 7790: r8a77900_pfc support registered
renesas_irqc renesas_irqc.0: drivi= ng 4 irqs
No ATAGs?
hw-breakpoint: Failed to enable monitor mode on C= PU 0.
xen:balloon: Initialising balloon driver
xen_balloon: Initialis= ing balloon driver
SDHI0Vcc: Failed to request enable GPIO184: -517
r= eg-fixed-voltage reg-fixed-voltage.1: Failed to register regulator: -517platform reg-fixed-voltage.1: Driver reg-fixed-voltage requests probe defe= rral
SDHI2Vcc: Failed to request enable GPIO185: -517
reg-fixed-volta= ge reg-fixed-voltage.2: Failed to register regulator: -517
platform reg-= fixed-voltage.2: Driver reg-fixed-voltage requests probe deferral
gpio-r= egulator gpio-regulator.0: Could not obtain regulator setting GPIOs: -517platform gpio-regulator.0: Driver gpio-regulator requests probe deferral<= br>gpio-regulator gpio-regulator.1: Could not obtain regulator setting GPIO= s: -517
platform gpio-regulator.1: Driver gpio-regulator requests probe = deferral
SCSI subsystem initialized
Linux video capture interface: v2= .00
sh_cmt sh-cmt-48-gen2.0: ch0: used for clock events
sh_cmt sh-cmt= -48-gen2.0: ch0: used for periodic clock events
sh_cmt sh-cmt-48-gen2.0:= ch1: used as clock source
Advanced Linux Sound Architecture Driver Init= ialized.
Switched to clocksource sh-cmt-48-gen2.0
NET: Registered pro= tocol family 2
TCP established hash table entries: 8192 (order: 3, 32768= bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP= : Hash tables configured (established 8192 bind 8192)
TCP: reno register= ed
UDP hash table entries: 512 (order: 1, 8192 bytes)
UDP-Lite hash t= able entries: 512 (order: 1, 8192 bytes)
sh_cmt sh-cmt-48-gen2.0: ch0: u= sed for oneshot clock events
NET: Registered protocol family 1
RPC: R= egistered named UNIX socket transport module.
RPC: Registered udp transp= ort module.
RPC: Registered tcp transport module.
RPC: Registered tcp= NFSv4.1 backchannel transport module.
futex hash table entries: 256 (or= der: -1, 3072 bytes)
NFS: Registering the id_resolver key type
Key ty= pe id_resolver registered
Key type id_legacy registered
nfs4filelayou= t_init: NFSv4 File Layout Driver Registering...
io scheduler noop regist= ered (default)
gpio_rcar gpio_rcar.0: driving 32 GPIOs
gpio_rcar gpio= _rcar.1: driving 32 GPIOs
gpio_rcar gpio_rcar.2: driving 32 GPIOs
gpi= o_rcar gpio_rcar.3: driving 32 GPIOs
gpio_rcar gpio_rcar.4: driving 32 G= PIOs
gpio_rcar gpio_rcar.5: driving 32 GPIOs
xen:xen_evtchn: Event-ch= annel device installed
console [hvc0] enabled
SuperH (H)SCI(F) driver= initialized
sh-sci.0: ttySC0 at MMIO 0xe6c40000 (irq =3D 176, base_baud= =3D 0) is a scifa
sh-sci.1: ttySC1 at MMIO 0xe6c50000 (irq =3D 177, bas= e_baud =3D 0) is a scifa
sh-sci.2: ttySC2 at MMIO 0xe6c20000 (irq =3D 18= 0, base_baud =3D 0) is a scifb
sh-sci.3: ttySC3 at MMIO 0xe6c30000 (irq = =3D 181, base_baud =3D 0) is a scifb
sh-sci.4: ttySC4 at MMIO 0xe6ce0000= (irq =3D 182, base_baud =3D 0) is a scifb
sh-sci.5: ttySC5 at MMIO 0xe6= c60000 (irq =3D 183, base_baud =3D 0) is a scifa
sh-sci.6: ttySC6 at MMI= O 0xe6e60000 (irq =3D 184, base_baud =3D 0) is a scif
sh-sci.7: ttySC7 a= t MMIO 0xe6e68000 (irq =3D 185, base_baud =3D 0) is a scif
sh-sci.8: tty= SC8 at MMIO 0xe62c0000 (irq =3D 186, base_baud =3D 0) is a hscif
sh-sci.= 9: ttySC9 at MMIO 0xe62c8000 (irq =3D 187, base_baud =3D 0) is a hscif
[= drm] Initialized drm 1.1.0 20060810
scsi host0: sata_rcar
ata1: SATA = max UDMA/133 irq 138
m25p80 spi0.0: s25fl512s (65536 Kbytes)
Creating= 3 MTD partitions on "m25p80":
0x000000000000-0x000000040000 := "loader"
0x000000040000-0x000000440000 : "user"
= 0x000000440000-0x000004000000 : "flash"
renesas_spi qspi.0: pr= obed
libphy: sh_mii: probed
sh-eth r8a7790-ether eth0: Base address a= t 0xee700000, 2e:09:0a:00:3d:d3, IRQ 194.
xen_netfront: Initialising Xen= virtual ethernet driver
mousedev: PS/2 mouse device common for all mice=
i2c-rcar i2c-rcar_gen2.0: probed
i2c-rcar i2c-rcar_gen2.1: probedi2c-rcar i2c-rcar_gen2.2: probed
i2c-rcar i2c-rcar_gen2.3: probed
so= c-camera-pdrv soc-camera-pdrv.1: Probing soc-camera-pdrv.1
adv7180 2-002= 0: chip found @ 0x20 (i2c-rcar_gen2)
rcar_thermal rcar_thermal: 1 sensor= probed
Driver 'mmcblk' needs updating - please use bus_type met= hods
sh_mobile_sdhi sh_mobile_sdhi.0: No vmmc regulator found
sh_mobi= le_sdhi sh_mobile_sdhi.0: No vqmmc regulator found
platform sh_mobile_sd= hi.0: Driver sh_mobile_sdhi requests probe deferral
sh_mobile_sdhi sh_mo= bile_sdhi.2: No vmmc regulator found
sh_mobile_sdhi sh_mobile_sdhi.2: No= vqmmc regulator found
platform sh_mobile_sdhi.2: Driver sh_mobile_sdhi = requests probe deferral
sh_mmcif sh_mmcif.1: No vqmmc regulator foundsh_mmcif sh_mmcif.1: Chip version 0x0003, clock rate 12MHz
asoc-simple-= card asoc-simple-card: ASoC: CPU DAI rcar_sound not registered
platform = asoc-simple-card: Driver asoc-simple-card requests probe deferral
rcar_s= ound rcar_sound: probed
TCP: cubic registered
NET: Registered protoco= l family 17
Key type dns_resolver registered
mmc0: BKOPS_EN bit is no= t set
mmc0: new high speed MMC card at address 0001
1DEBUG: Passed mm= c_add_card 317
2DEBUG: Passed mmc_add_card 319
mmcblk0: mmc0:0001 M= MC08G 7.32 GiB
mmcblk0boot0: mmc0:0001 MMC08G partition 1 2.00 MiB
m= mcblk0boot1: mmc0:0001 MMC08G partition 2 2.00 MiB
=C2=A0mmcblk0: p1
= sh_mobile_sdhi sh_mobile_sdhi.0: mmc1 base at 0xee100000 clock rate 97 MHz<= br>ata1: link resume succeeded after 1 retries
ata1: SATA link down (SSt= atus 0 SControl 300)
sh_mobile_sdhi sh_mobile_sdhi.2: mmc2 base at 0xee1= 40000 clock rate 48 MHz
asoc-simple-card asoc-simple-card: ak4642-hifi &= lt;-> rcar_sound mapping ok
input: gpio-keys as /devices/platform/gpi= o-keys/input/input0
=EF=BF=BDH=EF=BF=BDEXT4-fs (mmcblk0p1): error count = since last fsck: 24
EXT4-fs (mmcblk0p1): initial error at time 11: mb_fr= ee_blocks:1450: inode 67523: block 296960
EXT4-fs (mmcblk0p1): last erro= r at time 10: ext4_free_inode:340



After this the syste= m hangs
I am trying to debug the issue
please help
I am attaching the dts file I have used for the lager board.

Regards,
George
--001a113e3890fa2da305416e5445-- --001a113e3890fa2da705416e5447 Content-Type: audio/vnd.dts; name="r8a7790-lager-xen.dts" Content-Disposition: attachment; filename="r8a7790-lager-xen.dts" Content-Transfer-Encoding: base64 X-Attachment-Id: f_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B4 ZTYzYzAwMDAgMCAweDUwMDAwPjsKCX07CgoJc3lzY0BlNjE4MDAwMCB7CgkJcmVnID0gPDAgMHhl NjE4MDAwMCAwIDB4NDAwMDA+OwoJfTsKfTsK --001a113e3890fa2da705416e5447 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --001a113e3890fa2da705416e5447--