Hi,

I loaded an incorrect BIOS before which is why I was getting all those errors, 
After I loaded the correct BIOS it's all working fine, I can build my root cell 
configuration file now. 

Regards,
Swaraj Dube.

-----Original Message-----
From: Dube, Swaraj 
Sent: Thursday, June 30, 2016 1:40 PM
To: Dube, Swaraj <[email protected]>; Jan Kiszka <[email protected]>; 
Jailhouse <[email protected]>; Hii, Roland King Guan 
<[email protected]>
Subject: RE: DMAR region size cannot be identified on Intel architecture

Please note that I just refreshed the BIOS again and I am trying this again, 
will update you very soon.

Regards,
Swaraj Dube.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Dube, Swaraj
Sent: Thursday, June 30, 2016 1:32 PM
To: Jan Kiszka <[email protected]>; Jailhouse 
<[email protected]>; Hii, Roland King Guan 
<[email protected]>
Subject: RE: DMAR region size cannot be identified on Intel architecture

Hi,

iommu=calgary is what I found online as to how to enable the IOMMU however I 
think intel_iommu=on is just fine. Alright so I refreshed my flash drive and 
the BIOS too yesterday , I can 'make' and thus obtain the jailhouse kernel 
module and the image as well. However when I try to run 'tools/jailhouse config 
create -r myboard/ configs/myboard.c', it says that I need Intel IOMMU enabled 
on target linux whereas I have already done that. What I then did was disabled 
VT-d in the BIOS and tried to run 'tools/jailhouse config collect data.tar' to 
see if it gives "DMAR: No such file or directory" , It should give this error 
as I have disabled VT-d however it did not! , that's the new twist in here 
which means it can run the collect script even if VT-d is disabled! So my 
suspect is the DMAR which should have some connection with the BIOS.

Regards,
Swaraj Dube.   

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Jan Kiszka
Sent: Thursday, June 30, 2016 1:23 PM
To: Dube, Swaraj <[email protected]>; Jailhouse 
<[email protected]>; Hii, Roland King Guan 
<[email protected]>
Subject: Re: DMAR region size cannot be identified on Intel architecture

On 2016-06-30 05:51, Dube, Swaraj wrote:
> Hi,
> 
> I just refreshed the flash drive on my eMMC and installing Jailhouse all over 
> again. Just like last time I edited my grub.cnf file and added 
> "iommu=calgary" followed by "intel_iommu=on" for the collector script to run 
> properly and thus building the configuration file for the root cell, I 
> checked this more than 3 times and reboot but still it is giving me the same 
> old error saying that DMAR region size cannot be identified and target linux 
> must run with intel IOMMU enabled, what is wrong now?. I have attached the 
> screenshot of the grub.cnf file with this email.

I cannot imagine iommu=calgary makes any sense for your system - where did you 
get it from? Just repeat what you already did successfully.

Jan

> 
> 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.
> 


--
Siemens AG, Corporate Technology, CT RDA ITP SES-DE Corporate Competence Center 
Embedded Linux

--
You received this message because you are subscribed to a topic in the Google 
Groups "Jailhouse" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/jailhouse-dev/W68hfQg7450/unsubscribe.
To unsubscribe from this group and all its topics, 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 a topic in the Google 
Groups "Jailhouse" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/jailhouse-dev/W68hfQg7450/unsubscribe.
To unsubscribe from this group and all its topics, 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.

Reply via email to