[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

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

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

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

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: 
Sent from the Xen - User mailing list archive at Nabble.com.

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.