server hangs while having a text based installation of Centos DomU on Lenny
I am installing CentOs 5.5 as DomU on Debian Lenny running amd64
2.6.26-2-xen-amd64 I downloaded two files vmlinuz and initrd from here http://mirrors.kernel.org/centos/5.5...64/images/xen/ copied them to /boot and changed their names to vmlinuz-xen-install and initrd-xen-install In my /etc/xen-tools/xen-tools.conf I made following changes to be able to install centOS domu via rinse method Code:
install-method = rinse dd if=/dev/cdrom of=/root/centos.iso bs=1024 count=1 mount -t iso9660 -o loop /root/centos.iso /root/inscd/ So /root/inscd/ had the contents of CentOS cd Then I did to create image Code:
xen-create-image --hostname=new_centOS --size=96GB --swap=2048 Mb --ip=192.1.100.19 --memory=1024 --arch=amd64 --role=udev --force --install-method=rinse --install-source=/root/inscd/ at the end there was a new_centOS.cfg file Then executed xm create new_centOS.cfg -c the output is following and it hanged in between no more proceeding. Code:
What might have gone wrong any guesses? |
I know this is old, but just so this has an answer..
I had a similar problem--it stopped just after the "Write protecting the kernel read-only data: 483k" message. In my case I discovered that is when Xen hands off the console to the VNC server. I had this line in my config and that was making it boot to a VNC console regardlessly: Code:
vfb = [ "type=vnc,vncunused=1,keymap=en-us" ] |
Well I asked this question in may 2010 and it is Fed 2011 but thanks for your reply.Coming to the point since I have wiped of the server so I am not in a position to test what you just said above but do let me know on what basis you suggested above.
Since I do not have the server with Debian so I Can not test it but I surely would like to refer to this thread (may be it will help many others) and check what you said on a future date. Let me know some link or some thing as what made you give such statement. |
I knew the topic was old, but this thread came high on the search list when I ran into the problem, and I'm sure other people will run into this problem at some point, so it's good to have at least one answer.
In my troubleshooting to see what was going wrong, I discovered that Xen appeared to be spawning a new VNC when I booted the new VM (by running lsof on the server & seeing a new vncserver listening on a :590x port). From there, it was just a quick check through the options in the config file to see the virtual frame buffer (vfb) reference. (fwiw, this config was a copy of another made with the virt-manager on CentOS--again, the reference to the vfb made sense (virt-man can show (presumably via vnc) the consoles of all the VMs it creates)) |
Quote:
1) http://lists.xensource.com/archives/.../msg00657.html 2) http://lists.xensource.com/archives/...-01/index.html Quote:
Quote:
Quote:
|
I just hit this problem too.
A friend was logged into the same system and was able to successfully install. In looking at the env difference between mine has his shell, the only difference was that I had DISPLAY defined, he did not. When I unset DISPLAY it worked fine. |
Quote:
Quote:
Quote:
Quote:
|
All times are GMT -5. The time now is 10:30 PM. |