Sure , I can share with you /proc/iomem , I opened it using vi and copied the
contents into a .txt file (my Tera term cannot emulate the USB for now) , I
have attached the file with this email.
Regards,
Swaraj Dube.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dube, Swaraj
Sent: Tuesday, June 28, 2016 5:04 PM
To: Jan Kiszka <[email protected]>; Jailhouse
<[email protected]>
Subject: RE: DMAR region size cannot be identified on Intel architecture
Hi,
I already found out the error which was that I did not enable intel_iommu on
the target linux which is why I could not proceed, hence I edited
/boot/EFI/BOOT/grub.cnf and everything is ok(sorry I did not update earlier) .
However I have an additional problem, I see some of the steps that
GRUB_CMDLINE_LINUX="memmap=XXX" needs to be configured in /etc/default/grub
however my target machine does not have that so can I just append
memmap="0x4200000\\\$0x3b000000" in /boot/EFI/BOOT/grub.cnf and then update the
grub and finally reboot?
Regards,
Swaraj Dube.
-----Original Message-----
From: Jan Kiszka [mailto:[email protected]]
Sent: Tuesday, June 28, 2016 4:58 PM
To: Dube, Swaraj <[email protected]>; Jailhouse
<[email protected]>
Subject: Re: DMAR region size cannot be identified on Intel architecture
On 2016-06-28 03:54, [email protected] wrote:
> G'Day jailhouse folks,
>
> I am trying to install jailhouse on a real hardware (x86 intel architecture),
> I enabled VT-d in the BIOS to enable virtualization which allowed me to
> obtain the data.tar by doing the following:
>
> $ sudo tools/jailhouse config collect data.tar $ mkdir myboard $ tar
> -xvf data.tar -C myboard $ tools/jailhouse config create -r
> path/to/untarred/data configs/myboard.c
If you are on the same machine, you can go for config create directly (just
leave out "-r path/to/untarred/data").
>
> in this case "path/to/untarred/data" is "myboard/" , however when I enter the
> last command, it gives out the following error:
>
> RuntimeError: DMAR region size cannot be identified.
> Target Linux must run with Intel IOMMU enabled.
>
> I did enable VT-d in the BIOS and furthermore I also tried to run the
> following command in the terminal : "intel_iommu=on", I also tried turning it
> off as mentioned in the github page however I still get the same error. I
> have attached a screenshot to make it easier to understand.
>
> Am I missing a package?, do I need to re-configure or configure
> something like a file. Any advice will be appreciated :)
>
For collecting informations about the IOMMU, we currently need Linux using it,
therefore intel_iommu=on (or, statically, CONFIG_INTEL_IOMMU_DEFAULT_ON). Could
you share your /proc/iomem and dmesg output in that case?
(Technically, we could remove that dependency as well -
jailhouse-hardware-check now demonstrated how we can obtain information also
from registers, in this case the region size. Cleanup for the todo
list...)
Jan
--
Siemens AG, Corporate Technology, CT RDA ITP SES-DE Corporate Competence Center
Embedded Linux
--
You received this message because you are subscribed to the Google Groups
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
00000000-00000fff : reserved
00001000-00057fff : System RAM
00058000-00058fff : reserved
00059000-0009dfff : System RAM
0009e000-000fffff : reserved
000a0000-000bffff : PCI Bus 0000:00
000c0000-000dffff : PCI Bus 0000:00
000e0000-000fffff : PCI Bus 0000:00
000f0000-000fffff : System ROM
00100000-0effffff : System RAM
03000000-03a193e0 : Kernel code
03a193e1-0436c8bf : Kernel data
04cfc000-05a7cfff : Kernel bss
0f000000-12151fff : reserved
12152000-77addfff : System RAM
77ade000-7988dfff : reserved
7988e000-798edfff : ACPI Non-volatile Storage
798ee000-7991dfff : ACPI Tables
7991e000-7ab0dfff : System RAM
7ab0e000-7ab0efff : ACPI Non-volatile Storage
7ab0f000-7ab38fff : reserved
7ab39000-7affffff : System RAM
7b000000-7fffffff : reserved
7c000001-7fffffff : PCI Bus 0000:00
7c000001-7fffffff : Graphics Stolen Memory
80000000-cfffffff : PCI Bus 0000:00
80000000-8fffffff : 0000:00:02.0
90000000-90ffffff : 0000:00:02.0
91000000-91ffffff : 0000:00:03.0
92000000-920fffff : 0000:00:0e.0
92000000-920fffff : ICH HD audio
92100000-9210ffff : 0000:00:15.0
92100000-9210ffff : xhci-hcd
92110000-92117fff : 0000:00:00.1
92118000-9211bfff : 0000:00:0e.0
92118000-9211bfff : ICH HD audio
9211c000-9211dfff : 0000:00:11.0
9211c000-9211dfff : heci_ish
9211e000-9211ffff : 0000:00:12.0
9211e000-9211ffff : ahci
92120000-92120fff : 0000:00:0f.0
92120000-92120fff : mei_me
92123000-92123fff : 0000:00:11.0
92123000-92123fff : heci_ish
92124000-92124fff : 0000:00:16.0
92124000-921241ff : lpss_dev
92124000-921241ff : lpss_dev
92124200-921242ff : lpss_priv
92124800-92124fff : idma64.0
92124800-92124fff : idma64.0
92125000-92125fff : 0000:00:16.1
92125000-921251ff : lpss_dev
92125000-921251ff : lpss_dev
92125200-921252ff : lpss_priv
92125800-92125fff : idma64.1
92125800-92125fff : idma64.1
92126000-92126fff : 0000:00:16.2
92126000-921261ff : lpss_dev
92126000-921261ff : lpss_dev
92126200-921262ff : lpss_priv
92126800-92126fff : idma64.2
92126800-92126fff : idma64.2
92127000-92127fff : 0000:00:16.3
92127000-921271ff : lpss_dev
92127000-921271ff : lpss_dev
92127200-921272ff : lpss_priv
92127800-92127fff : idma64.3
92127800-92127fff : idma64.3
92128000-92128fff : 0000:00:17.0
92128000-921281ff : lpss_dev
92128000-921281ff : lpss_dev
92128200-921282ff : lpss_priv
92128800-92128fff : idma64.4
92128800-92128fff : idma64.4
92129000-92129fff : 0000:00:17.1
92129000-921291ff : lpss_dev
92129000-921291ff : lpss_dev
92129200-921292ff : lpss_priv
92129800-92129fff : idma64.5
92129800-92129fff : idma64.5
9212a000-9212afff : 0000:00:17.2
9212a000-9212a1ff : lpss_dev
9212a000-9212a1ff : lpss_dev
9212a200-9212a2ff : lpss_priv
9212a800-9212afff : idma64.6
9212a800-9212afff : idma64.6
9212b000-9212bfff : 0000:00:17.3
9212b000-9212b1ff : lpss_dev
9212b000-9212b1ff : lpss_dev
9212b200-9212b2ff : lpss_priv
9212b800-9212bfff : idma64.7
9212b800-9212bfff : idma64.7
9212c000-9212cfff : 0000:00:18.0
9212c000-9212c1ff : lpss_dev
9212c000-9212c01f : serial
9212c200-9212c2ff : lpss_priv
9212c800-9212cfff : idma64.8
9212c800-9212cfff : idma64.8
9212d000-9212dfff : 0000:00:18.1
9212d000-9212d1ff : lpss_dev
9212d000-9212d01f : serial
9212d200-9212d2ff : lpss_priv
9212d800-9212dfff : idma64.9
9212d800-9212dfff : idma64.9
9212e000-9212efff : 0000:00:18.2
9212e000-9212e1ff : lpss_dev
9212e000-9212e01f : serial
9212e200-9212e2ff : lpss_priv
9212f000-9212ffff : 0000:00:18.3
9212f000-9212f1ff : lpss_dev
9212f000-9212f01f : serial
9212f200-9212f2ff : lpss_priv
92130000-92130fff : 0000:00:19.0
92130000-921301ff : lpss_dev
92130000-921301ff : lpss_dev
92130200-921302ff : lpss_priv
92130800-92130fff : idma64.12
92130800-92130fff : idma64.12
92131000-92131fff : 0000:00:19.1
92131000-921311ff : lpss_dev
92131000-921311ff : lpss_dev
92131200-921312ff : lpss_priv
92131800-92131fff : idma64.13
92131800-92131fff : idma64.13
00000000-00000fff : reserved
00001000-00057fff : System RAM
00058000-00058fff : reserved
00059000-0009dfff : System RAM
0009e000-000fffff : reserved
000a0000-000bffff : PCI Bus 0000:00
000c0000-000dffff : PCI Bus 0000:00
000e0000-000fffff : PCI Bus 0000:00
000f0000-000fffff : System ROM
00100000-0effffff : System RAM
03000000-03a193e0 : Kernel code
03a193e1-0436c8bf : Kernel data
04cfc000-05a7cfff : Kernel bss
0f000000-12151fff : reserved
12152000-77addfff : System RAM
77ade000-7988dfff : reserved
7988e000-798edfff : ACPI Non-volatile Storage
798ee000-7991dfff : ACPI Tables
7991e000-7ab0dfff : System RAM
7ab0e000-7ab0efff : ACPI Non-volatile Storage
7ab0f000-7ab38fff : reserved
7ab39000-7affffff : System RAM
7b000000-7fffffff : reserved
7c000001-7fffffff : PCI Bus 0000:00
7c000001-7fffffff : Graphics Stolen Memory
80000000-cfffffff : PCI Bus 0000:00
80000000-8fffffff : 0000:00:02.0
90000000-90ffffff : 0000:00:02.0
91000000-91ffffff : 0000:00:03.0
92000000-920fffff : 0000:00:0e.0
92000000-920fffff : ICH HD audio
92100000-9210ffff : 0000:00:15.0
92100000-9210ffff : xhci-hcd
92110000-92117fff : 0000:00:00.1
92118000-9211bfff : 0000:00:0e.0
92118000-9211bfff : ICH HD audio
9211c000-9211dfff : 0000:00:11.0
9211c000-9211dfff : heci_ish
9211e000-9211ffff : 0000:00:12.0
9211e000-9211ffff : ahci
92120000-92120fff : 0000:00:0f.0
92120000-92120fff : mei_me
92123000-92123fff : 0000:00:11.0
92123000-92123fff : heci_ish
92124000-92124fff : 0000:00:16.0
92124000-921241ff : lpss_dev
92124000-921241ff : lpss_dev
92124200-921242ff : lpss_priv
92124800-92124fff : idma64.0
92124800-92124fff : idma64.0
92125000-92125fff : 0000:00:16.1
92125000-921251ff : lpss_dev
92125000-921251ff : lpss_dev
92125200-921252ff : lpss_priv
92125800-92125fff : idma64.1
92125800-92125fff : idma64.1
92126000-92126fff : 0000:00:16.2
92126000-921261ff : lpss_dev
92126000-921261ff : lpss_dev
92126200-921262ff : lpss_priv
92126800-92126fff : idma64.2
92126800-92126fff : idma64.2
92127000-92127fff : 0000:00:16.3
92127000-921271ff : lpss_dev
92127000-921271ff : lpss_dev
92127200-921272ff : lpss_priv
92127800-92127fff : idma64.3
92127800-92127fff : idma64.3
92128000-92128fff : 0000:00:17.0
92128000-921281ff : lpss_dev
92128000-921281ff : lpss_dev
92128200-921282ff : lpss_priv
92128800-92128fff : idma64.4
92128800-92128fff : idma64.4
92129000-92129fff : 0000:00:17.1
92129000-921291ff : lpss_dev
92129000-921291ff : lpss_dev
92129200-921292ff : lpss_priv
92129800-92129fff : idma64.5
92129800-92129fff : idma64.5
9212a000-9212afff : 0000:00:17.2
9212a000-9212a1ff : lpss_dev
9212a000-9212a1ff : lpss_dev
9212a200-9212a2ff : lpss_priv
9212a800-9212afff : idma64.6
9212a800-9212afff : idma64.6
9212b000-9212bfff : 0000:00:17.3
9212b000-9212b1ff : lpss_dev
9212b000-9212b1ff : lpss_dev
9212b200-9212b2ff : lpss_priv
9212b800-9212bfff : idma64.7
9212b800-9212bfff : idma64.7
9212c000-9212cfff : 0000:00:18.0
9212c000-9212c1ff : lpss_dev
9212c000-9212c01f : serial
9212c200-9212c2ff : lpss_priv
9212c800-9212cfff : idma64.8
9212c800-9212cfff : idma64.8
9212d000-9212dfff : 0000:00:18.1
9212d000-9212d1ff : lpss_dev
9212d000-9212d01f : serial
9212d200-9212d2ff : lpss_priv
9212d800-9212dfff : idma64.9
9212d800-9212dfff : idma64.9
9212e000-9212efff : 0000:00:18.2
9212e000-9212e1ff : lpss_dev
9212e000-9212e01f : serial
9212e200-9212e2ff : lpss_priv
9212f000-9212ffff : 0000:00:18.3
9212f000-9212f1ff : lpss_dev
9212f000-9212f01f : serial
9212f200-9212f2ff : lpss_priv
92130000-92130fff : 0000:00:19.0
92130000-921301ff : lpss_dev
92130000-921301ff : lpss_dev
92130200-921302ff : lpss_priv
92130800-92130fff : idma64.12
92130800-92130fff : idma64.12
92131000-92131fff : 0000:00:19.1
92131000-921311ff : lpss_dev
92131000-921311ff : lpss_dev
92131200-921312ff : lpss_priv
92131800-92131fff : idma64.13
92131800-92131fff : idma64.13
92132000-92132fff : 0000:00:19.2
92132000-921321ff : lpss_dev
92132000-921321ff : lpss_dev
92132200-921322ff : lpss_priv
92132800-92132fff : idma64.14
92132800-92132fff : idma64.14
92133000-92133fff : 0000:00:1a.0
92133000-92133fff : 0000:00:1a.0
92134000-92134fff : 0000:00:1a.0
92135000-92135fff : 0000:00:1b.0
92135000-92135fff : mmc0
92136000-92136fff : 0000:00:1c.0
92136000-92136fff : mmc1
92137000-92137fff : 0000:00:1e.0
92137000-92137fff : mmc2
92138000-921387ff : 0000:00:12.0
92138000-921387ff : ahci
92139000-921390ff : 0000:00:1f.1
9213a000-9213a0ff : 0000:00:12.0
9213a000-9213a0ff : ahci
d0c00000-d0c00653 : INT3452:03
d0c00000-d0c00653 : INT3452:03
d0c40000-d0c40763 : INT3452:01
d0c40000-d0c40763 : INT3452:01
d0c50000-d0c5076b : INT3452:00
d0c50000-d0c5076b : INT3452:00
d0c70000-d0c70673 : INT3452:02
d0c70000-d0c70673 : INT3452:02
e0000000-e3ffffff : PCI MMCONFIG 0000 [bus 00-3f]
e006a000-e006afff : reserved
fea00000-feafffff : pnp 00:01
fec00000-fec003ff : IOAPIC 0
fed00000-fed003ff : HPET 0
fed00000-fed003ff : PNP0103:00
fed01000-fed01fff : reserved
fed01000-fed01fff : pnp 00:01
fed03000-fed03fff : pnp 00:01
fed06000-fed06fff : pnp 00:01
fed08000-fed09fff : pnp 00:01
fed1c000-fed1cfff : pnp 00:01
fed40000-fed44fff : MSFT0101:00
fed64000-fed64fff : dmar0
fed65000-fed65fff : dmar1
fed80000-fedbffff : pnp 00:01
fee00000-feefffff : pnp 00:01
fee00000-fee00fff : Local APIC
100000000-1ffffffff : System RAM