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

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



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


 


Rackspace

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