WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Re: Boot Panic on xen 3.4.1 with kernel compiled 2.6.31.5

I hope it will help others people :

I had the same problem on XEn 4.0.1 under debian squeeze 2.6.32 kernel for
dom0.
Normaly it would support bzimage, but it won't.

Here what i've done to make a "raw" kernel image :

#hexdump -C vmlinuz-(version)-xen-amd64 |grep '1f 8b 08 00'
output : 
00003a60  48 8d 83 20 2f 25 00 ff  e0 1f 8b 08 00 9c 3e 75  |H..
/%........>u|

take the offset ( firt number )
convert it to a decimal : for me : 14944
add the number off byte to go to the start of '1f 8b 08 00' here is 9 =>
14953

#dd if=vmlinuz-(version)-xen-amd64 bs=1 skip=14953
of=vmlinuz-(version)-xen-amd64.gz

backup your bzimage here or it will be overwrited !!

#gzip -d vmlinuz-(version)-xen-amd64.gz

Here you have your raw image.

But I think it will not work if the hex string is splitted on two lines ,
you will have to use the '-s offset' parametter in hexdump ( try with offset
1, 2,...15 )

I don't have a more elegant way :)
-- 
View this message in context: 
http://xen.1045712.n5.nabble.com/Boot-Panic-on-xen-3-4-1-with-kernel-compiled-2-6-31-5-tp2579119p2848716.html
Sent from the Xen - User mailing list archive at Nabble.com.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Re: Boot Panic on xen 3.4.1 with kernel compiled 2.6.31.5, clebard <=