Skip to contentSkip to conversation

Trigger kernel bug when creating domU on arm64

DISCUSSION Chen Baozi 2 participants 4 messages Jan 5, 2014 – Jan 6, 2014

lore
Share & tools
lore

Chen Baozi

author
#0 lore raw

Hi all,

Recently, I’ve been trying to continue my work of mini-os on arm64. After some early-day hacks in summer, there is a basic framework that could pass the build. If everything goes well, it is supposed to be at least able to print “Bootstrapping...” info in start_kernel. However, it seems there still something wrong when create domain by xl. When alloc_magic_pages is called, the dom0 kernel would generate bug oops. I tried to replace the domU kernel to linux. It would also trigger the kernel bug oops.

The log from mini-os and linux are both attached below:

Any ideas?

Cheers,

Baozi

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

author
#1 lore raw
Quoted 7 lines · Chen Baozi

Hi all,

Recently, I’ve been trying to continue my work of mini-os on arm64. After some early-day hacks in summer, there is a basic framework that could pass the build. If everything goes well, it is supposed to be at least able to print “Bootstrapping...” info in start_kernel. However, it seems there still something wrong when create domain by xl.

It seems to be something wrong with my dom0 privcmd driver. After I add some printk to debug and rebuild the dom0 kernel, it seems to be all right (even I remove those printk for debugging)...

Quoted 13 lines

When alloc_magic_pages is called, the dom0 kernel
would generate bug oops. I tried to replace the domU kernel to linux. It would also trigger the kernel bug oops.

The log from mini-os and linux are both attached below:

<log.dmesg-linux><log.dmesg-minios><log.xl-linux><log.xl-minios>

Any ideas?

Cheers,

Baozi

#2 lore raw
Quoted 10 lines · Chen Baozi
Quoted 7 lines · Chen Baozi

Hi all,

Recently, I’ve been trying to continue my work of mini-os on arm64. After some early-day hacks in summer, there is a basic framework that could pass the build. If everything goes well, it is supposed to be at least able to print “Bootstrapping...” info in start_kernel. However, it seems there still something wrong when create domain by xl.

Quoted 3 lines

It seems to be something wrong with my dom0 privcmd driver. After I add some printk to debug and rebuild the dom0 kernel, it seems to be all right (even I remove those printk for debugging)...

This should be fixed by:
commit a7892f32cc3534d4cc0e64b245fbf47a8e364652
Author: Ian Campbell <[email protected]>
Date: Wed Dec 11 17:02:27 2013 +0000

arm: xen: foreign mapping PTEs are special.

which is now in Linus' tree.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

author
#3 lore raw
Quoted 15 lines · Ian Campbell
Quoted 10 lines · Chen Baozi
Quoted 7 lines · Chen Baozi

Hi all,

Recently, I’ve been trying to continue my work of mini-os on arm64. After some early-day hacks in summer, there is a basic framework that could pass the build. If everything goes well, it is supposed to be at least able to print “Bootstrapping...” info in start_kernel. However, it seems there still something wrong when create domain by xl.

Quoted 3 lines

It seems to be something wrong with my dom0 privcmd driver. After I add some printk to debug and rebuild the dom0 kernel, it seems to be all right (even I remove those printk for debugging)...

Quoted 8 lines

This should be fixed by:
commit a7892f32cc3534d4cc0e64b245fbf47a8e364652
Author: Ian Campbell <[email protected]>
Date: Wed Dec 11 17:02:27 2013 +0000

arm: xen: foreign mapping PTEs are special.

which is now in Linus' tree.

I see. I updated my git and it disappeared, ;-)

Thanks all the same.

Baozi

Quoted 4 lines

Ian.