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

Re: [Xen-users] Where is the system.map?

To: "Igor Chubin" <igor@xxxxxxx>
Subject: Re: [Xen-users] Where is the system.map?
From: weiming <zephyr.zhao@xxxxxxxxx>
Date: Wed, 5 Mar 2008 09:05:21 -0500
Cc: 张琳 <zhanglin_nk@xxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 05 Mar 2008 06:06:01 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=9M8JZPWZhGOULPncwO4T21ivUc+paqqXWZWayijR53A=; b=cD6/fjacEuBDa5bOm5sEH888SUiEsOBwQDEf4tWiL104oNUCQlFQkD8cSICOWDFtYhut4/A9vqTxFh/Lxh7cggnr3M4olDkq+E8POIGclOWfJRVpl0nFzNCwr67doqZUSCN3UyFA76Mi5tl8hSXQtMaM1iJ/y7YCk6Y/ERG0JaA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=fV0XQc1Y+kTh7RbBfSYjDEpk7ct2UvLAzA6uDsQjoogP6ZC14oK6wCAlx50VHd/zKgW7KvacrjoPPj6HyH1rPMfDk2dP3jyWwkvDP3rSppAcEZqzJaIrugcZKh47XUdqO6mTOao52oamwQWifxE9/Jexwb54azHuLQBwJrVbqrQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080305105934.GH22568@xxxxxxx>
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>
References: <47CE7BB3.000013.24368@bjapp34> <20080305105934.GH22568@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
you can copy the /boot to your domU

On Wed, Mar 5, 2008 at 5:59 AM, Igor Chubin <igor@xxxxxxx> wrote:
On Mi, Mär 05, 2008 at 06:53:39 +0800, 张琳 wrote:
> 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


What kernel do you use to run the domain?
Can you show the kernel line from your config?

Look for system.map in the directory where the kernel you use
is situated (e.g. in the /boot directory of domain 0).

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

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

--
WBR, i.m.chubin


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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>