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

Re: [Xen-users] XL Toolstack console doesn't work. XM Toolstackconsoledoes work.



I managed to fix this.

Not sure which of the following did it, but it now works:
Disabling SELinux
Disabling xend/xendomains on startup
Manually configuring a bridge
Using 2.6.39 vanilla kernel rather than Jemery's 2.6.32.
Re-compiling Xen 4.1.0

Anyway it works now. Haven't dared start up xend and see if it breaks things 
yet but I may try it.

Iain

On 18 May 2011, at 21:49, Iain Kay wrote:

> I have statically compiled everything with the exception of netxen_nic which 
> is definitely loaded in.
> 
> Really stumped with this one. Tried a few things including:
> 
> replacing /sbin/mingetty with /sbin/agetty on /etc/inittab
> 
> removing ttyX from /etc/inittab
> 
> adding serial = 'pty' to domU .cfg file
> 
> dom0 kernel boot line: "console=hvc", "console=tty0", "console=tty 
> console=hvc0", "console=tty0 console=ttyS0,115200n8"
> 
> Have tried killing off the originally started xenconsoled and manually 
> starting up with /usr/sbin/xenconsoled.
> 
> Iain
> 
> 
> On 18 May 2011, at 21:21, Ian Tobin wrote:
> 
>> Odd, I did have this issue as well but can't remember for the life of me 
>> what I did to solve it.
>> 
>> Have you statically compiled all xen bits in the kernel? I'm thinking a 
>> module isn't loaded as you are getting the no file error
>> 
>> Thanks
>> 
>> Ian
>> 
>> 
>> Tidyhosts UK - Server & Web Specialists
>> 
>> W: www.tidyhosts.com
>> E:  enquiries@xxxxxxxxxxxxx
>> T:  0871 910 6732
>> 
>> This email and its attachments are scanned by TidyHosts UK. All emails and 
>> attachments should also be scanned by the recipient. TidyHosts UK accept no 
>> responsibility for any damage caused by any virus attached to this email.  
>> This email is confidential and is intended only for the addressee(s).
>> 
>> 
>> 
>> 
>> 
>> 
>> On 18 May 2011, at 16:25, "Iain Kay" <spam@xxxxxxxxxxx> wrote:
>> 
>>> Hi Ian,
>>> 
>>> Darn I knew there was something I left out on other post. It certainly does 
>>> appear to be running:
>>> 
>>>>> [root@core-01-fr ~]# ps aux | grep xenconsoled
>>>>> root      4082  0.0  0.1  24640   716 ?        SLl  15:40   0:00 
>>>>> xenconsoled --pid-file=/var/run/xenconsoled.pid
>>>>> root      4636  0.0  0.1  61180   780 pts/0    S+   16:21   0:00 grep 
>>>>> xenconsoled
>>> 
>>> Not seen this service in prior versions of Xen, though, and have not made 
>>> any attempts to configure it.
>>> 
>>> Iain
>>> 
>>> On 18 May 2011, at 16:18, Ian Tobin wrote:
>>> 
>>>> Hi,
>>>> 
>>>> 
>>>> Is xenconsoled running? 
>>>> 
>>>> Ian 
>>>> 
>>>> 
>>>> Tidyhosts UK - Server & Web Specialists
>>>> 
>>>> W: www.tidyhosts.com
>>>> E:  enquiries@xxxxxxxxxxxxx
>>>> T:  0871 910 6732
>>>> 
>>>> This email and its attachments are scanned by TidyHosts UK. All emails and 
>>>> attachments should also be scanned by the recipient. TidyHosts UK accept 
>>>> no responsibility for any damage caused by any virus attached to this 
>>>> email.  This email is confidential and is intended only for the 
>>>> addressee(s).
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> On 18 May 2011, at 15:46, "Iain Kay" <spam@xxxxxxxxxxx> wrote:
>>>> 
>>>>> Hey all,
>>>>> 
>>>>> I've been having a strange issue since upgrading to Xen 4.1.0 on CentOS 
>>>>> 5.6 host OS. Running on jeremy's 2.6.32.x kernel.
>>>>> 
>>>>> Working with the XM Toolstack I am able to create PV domU's and can 
>>>>> attach to their consoles. However when I create the same domU with XL 
>>>>> Toolstack I am unable to connect to the console, either with XL or XM.
>>>>> 
>>>>> Here's my steps I've followed to produce this:
>>>>> 
>>>>> ----------------------------------------------------
>>>>> From a clean boot:
>>>>> ----------------------------------------------------
>>>>> 
>>>>> xl create /etc/xen/truestream
>>>>> 
>>>>>>> Parsing config file /etc/xen/truestream
>>>>>>> Daemon running with PID 4647
>>>>> 
>>>>> xl list
>>>>> 
>>>>>>> Name                                        ID   Mem VCPUs    State    
>>>>>>> Time(s)
>>>>>>> Domain-0                                     0   512     2     r-----   
>>>>>>>    17.9
>>>>>>> truestream                                   2  2048     1     r-----   
>>>>>>>    43.8
>>>>> 
>>>>> xm list
>>>>> 
>>>>>>> Name                                        ID   Mem VCPUs      State   
>>>>>>> Time(s)
>>>>>>> Domain-0                                     0   512     2     r-----   
>>>>>>>   18.0
>>>>>>> truestream                                   2  2048     1     r-----   
>>>>>>>   57.1
>>>>> 
>>>>> xl console 2
>>>>> 
>>>>>>> xenconsole: Could not read tty from store: No such file or directory
>>>>> 
>>>>> xm console 2
>>>>> 
>>>>>>> xenconsole: Could not read tty from store: No such file or directory
>>>>> 
>>>>> shutdown -r now
>>>>> 
>>>>> ----------------------------------------------------
>>>>> Again from a clean boot.
>>>>> ----------------------------------------------------
>>>>> 
>>>>> xm create /etc/xen/truestream
>>>>> 
>>>>>>> Using config file "/etc/xen/truestream".
>>>>>>> Started domain truestream (id=1)
>>>>> 
>>>>> xm console 1
>>>>> 
>>>>> *jumps to working console*
>>>>> 
>>>>> ----------------------------------------------------
>>>>> Contents of /etc/xen/truestream
>>>>> ----------------------------------------------------
>>>>> 
>>>>> kernel = "/boot/dom_U/ubuntu/10.04/x86_64/vmlinuz"
>>>>> ramdisk = "/boot/dom_U/ubuntu/10.04/x86_64/initrd.gz"
>>>>> builder='linux'
>>>>> memory = 2048
>>>>> name = "truestream"
>>>>> vcpus = "4"
>>>>> vif = [ 'vifname=truestream,ip=xx.xx.xx.xx' ]
>>>>> disk = [ 'phy:/dev/vg0/www.truestream.co.uk,xvda,w' ]
>>>>> root = "/dev/xvda1 ro"
>>>>> extra = "4"
>>>>> on_poweroff = "destroy"
>>>>> on_reboot = "restart"
>>>>> on_crash = "restart"
>>>>> 
>>>>> -----------------------------
>>>>> 
>>>>> Any ideas would be greatly appreciated. FYI I do have the correct line in 
>>>>> /etc/inittab. When I create the domU with XM Toolstack the routed 
>>>>> networking is fully functional.
>>>>> 
>>>>> Cheers in advance for any ideas at all!
>>>>> 
>>>>> Iain Kay
>>>>> _______________________________________________
>>>>> 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
>>> 
>>> 
>>> _______________________________________________
>>> 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
> 
> 
> _______________________________________________
> 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


 


Rackspace

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