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] Where is the system.map?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Where is the system.map?
From: "张琳" <zhanglin_nk@xxxxxxx>
Date: Wed, 5 Mar 2008 18:53:39 +0800 (CST)
Delivery-date: Wed, 05 Mar 2008 02:54:27 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello!

my Domain1 is now running.

Then because my subject is to calculate the value of some important memory zones, I should parse the systom.map to locate these important memory zones.
Usually, the system.map is at /boot/system.map
But now, the virtual disk didn't contain /boot as a sub directory........
Then what can I do?

I ran the Domain1 through the following step:
1, Create a disk image file
#dd if=/dev/zero of=/var/lib/xen/images/Disk.img bs=1M seek=8192 count =1
#mkfs -t ext3 /var/lib/xen/images/Disk.img
2, Copy the host Fedora8 into the image file
#mount -o loop /var/lib/xen/images/Disk.img /mnt
#cp -ax /{root,dev,var,etc,usr,bin,sbin,lib} /mnt
Edit the /etc/fstab to make the /dev/hda1 as root
#mkdir /mnt/{proc,home,sys,tmp}
#umount /mnt
3, Edit the configuration of VM
............the content of the configuration is omitted
4,#xm create -c /etc/xen/Dom1

= =,you can see that when I copied the host OS to the image file, I did not copy the /boot directory.......

Wait for help!!!

yours:Lin










===============================================
快来和我一起享受TOM免费邮箱吧! 看看除了1.5G,还有什么?

看看女人都在聊什么? 美图尽赏 聊天世界

明星金曲免费送(http://mm.tom.com/ivr/):周杰伦 林俊杰 庞龙 张惠妹

劲爆歌曲尽情点(http://mm.tom.com/ivr/):霍元甲 吉祥三宝 人质 曹操

炫酷彩铃免费送(http://mm.tom.com/cailing/):周杰伦帮你接电话 麻烦女朋友 七里香 小城故事
===============================================
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>