LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 05-18-2010, 12:46 PM   #1
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Rep: Reputation: 39
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
dist   = centos-5
kernel      = /boot/vmlinuz-xen-install
initrd      = /boot/initrd-xen-install
I mounted a CentOS5.5. ISO
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/
every thing went fine
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:
Using config file "./new_centOS.cfg".
Started domain new_centOS
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
audit: initializing netlink socket (disabled)
type=2000 audit(1274202380.846:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Initializing Cryptographic API
alg: No test for crc32c (crc32c-generic)
ksign: Installing public key data
Loading keyring
- Added public key C596239A507DE7FD
- User ID: CentOS (Kernel Module GPG key)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
brd: module loaded
Xen virtual console successfully installed as xvc0
Event-channel device installed.
Console: switching to colour frame buffer device 100x37
input: Xen Virtual Keyboard/Mouse as /class/input/input0
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
XENBUS: Device with no driver: device/vbd/51713
XENBUS: Device with no driver: device/vbd/51714
XENBUS: Device with no driver: device/vif/0
XENBUS: Device with no driver: device/console/0
Initalizing network drop monitor service
Write protecting the kernel read-only data: 483k
Giving only upto this much message it had hanged.
What might have gone wrong any guesses?

Last edited by tkmsr; 05-18-2010 at 12:47 PM.
 
Old 01-31-2011, 11:47 PM   #2
BocketyWheel
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Rep: Reputation: 0
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" ]
I commented this out & was fine!

Last edited by BocketyWheel; 01-31-2011 at 11:48 PM.
 
Old 01-31-2011, 11:56 PM   #3
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Original Poster
Rep: Reputation: 39
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.

Last edited by tkmsr; 02-01-2011 at 12:01 AM.
 
Old 02-04-2011, 01:13 AM   #4
BocketyWheel
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Rep: Reputation: 0
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))
 
Old 02-04-2011, 03:59 AM   #5
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Original Poster
Rep: Reputation: 39
Quote:
Originally Posted by BocketyWheel View Post
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.
I asked this question on Xen mailing list and for the reason you cited I am giving a link so that if some one searches it can help them.
1) http://lists.xensource.com/archives/.../msg00657.html
2) http://lists.xensource.com/archives/...-01/index.html
Quote:
Originally Posted by BocketyWheel View Post
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).
I was not able to understand this part can you a bit describe it more.
Quote:
Originally Posted by BocketyWheel View Post
From there, it was just a quick check through the options in the config file to see the virtual frame buffer (vfb) reference.
I am not clear still
Quote:
Originally Posted by BocketyWheel View Post
(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))
Yes I understand virt-manager I used KVM with it
 
Old 02-07-2011, 10:58 AM   #6
super_chicken
LQ Newbie
 
Registered: Feb 2011
Posts: 1

Rep: Reputation: 0
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.
 
Old 02-08-2011, 12:32 PM   #7
BocketyWheel
LQ Newbie
 
Registered: Aug 2006
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by tkmsr View Post
Quote:
Originally Posted by BocketyWheel
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).
I was not able to understand this part can you a bit describe it more.
In doing some basic debugging, eg, see what changed in the system before & after I started the new VM instance, I discovered the addition of another VNC server.

Quote:
Originally Posted by tkmsr View Post
Quote:
Originally Posted by BocketyWheel
From there, it was just a quick check through the options in the config file to see the virtual frame buffer (vfb) reference.
I am not clear still
the 'vfb' option in my config file is the configuration for virtual frame buffer. It's typically used to create a VNC-based console.

Quote:
Originally Posted by tkmsr View Post
Yes I understand virt-manager I used KVM with it
This was another clue that the previous VMs (which I copied the config from) were configured to use a VNC console.


Quote:
Originally Posted by super_chicken View Post
When I unset DISPLAY it worked fine.
That's a good confirmation--that message "Write protecting the kernel read-only data: 483k" appears to be when Xen switches from the text-only console to a GUI console if it's going to. (and because you had your $DISPLAY set, Xen probably figured you wanted a GUI console, and without X, it defaulted to text-only)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing CentOS as DomU on Debian Lenny (dom0) Xen tkmsr Linux - Virtualization and Cloud 8 05-17-2010 07:11 AM
Is there a text based webbrowser for Lenny, with Javascript? frenchn00b Debian 5 07-30-2009 05:21 AM
LXer: Debootstrap Intrepid Server PV DomU at Xen 3.3.1 CentOS 5.2 Dom0 (all 64-bit) LXer Syndicated Linux News 0 01-07-2009 09:01 PM
LXer: Install OpenSuse 11 DomU at Xen 3.3 CentOS 5.2 Dom0 via local HTTP Server (all LXer Syndicated Linux News 0 10-18-2008 11:20 AM
how do I setup a Ubuntu domU guest on a CentOS / Fedora Core XEN server? SoftDux Linux - Server 1 07-29-2008 05:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 01:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration