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

[Xen-users] Backend device not found and domu Network eth0 SOLVED

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Backend device not found and domu Network eth0 SOLVED
From: Etienne Duguay <eduguay@xxxxxxxx>
Date: Wed, 17 May 2006 17:00:04 -0600
Delivery-date: Wed, 17 May 2006 14:00:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <446A258C.40905@xxxxxxxx>
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>
Organization: VSI
References: <7C2A2C35-469C-44E2-BBBD-1AB53A7C6F96@xxxxxxxxxxxxx> <BC1AA405-D577-43A0-9A81-F2F37199E637@xxxxxxxxxxxxx> <70E696D2-2F8E-4138-8C23-790D5F353CF7@xxxxxxxxxxxxx> <4451FD4F.80804@xxxxxxxxxxxxxx> <6054881F-19D6-4699-959E-F16B11E56E88@xxxxxxxxxxxxx> <446A258C.40905@xxxxxxxx>
Reply-to: info@xxxxxxxxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 MultiZilla/1.7.7.0e
Etienne Duguay wrote:

Joe Warren-Meeks wrote:


On 28 Apr 2006, at 12:32, Abi Chirayil wrote:

Joe Warren-Meeks wrote:


On 27 Apr 2006, at 14:43, Joe Warren-Meeks wrote:

Hey guys,

I've installed xen 3 and xen-tools on my ubuntu server and all seems
well, until I try to start a client domain. (running on Linux
xenserver 2.6.12.6-xen #1 SMP Wed Feb 1 21:23:17 UTC 2006 i686
GNU/Linux)




Bit of a follow-up. If I try to start the DomU, it initally errors as
so:

root@xenserver:/etc/xen# xm create -c squid1.cfg
Using config file "squid1.cfg".
Error: Device 2049 (vbd) could not be connected. Backend device not
found.

and then shows up as paused in 'xm list'

If I then attach a console to it, then unpause I see the following
error at the end:

VFS: Cannot open root device "sda1" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
block(0,0)

I've tried adding /dev/ nodes using MAKEDEV in both the Dom0 and DomU
and tried changing sda to hda, to no avail.

Anyone got a pointer to where I can start looking?




As a futher follow up, if I use xen-create-image to create a new domU, this completes fine and then starts the image successfully! I can then
go and start all the other images and all is fine.

Once I've halted them all and rebooted the server itself, it all stops
working again.

Anyone got any pointers? This is getting quite frustrating.

I'm getting exactly the same error (also using Ubuntu). I just tried
mounting and unmounting the one of the images and that seems to get
everything working - till the next reboot.

mount -o loop /vserver/images/vmNMS.img /vserver/vm_base/
umount /vserver/vm_base/

Any idea why this happens? I've also been pulling my hair out the past
couple of days.



Think I've fixed it.

I read xen-create-image to see why it seemed to work if I used that. Just by an aside I noticed that there is an option of use-ide

So, I've set "use-ide = 1" in /etc/xen-tools/xen-tools.conf and recreated my images and it seems to work now.


I don't have these files and options under FC5, are you under Debian?

Is there another place where I can specify the use-ide=1 option as I have the exact same problem that this solution seems to solve.

Regards,


Ok,

For this one I've added the domU kernel the ramdisk instruction in the domU config. In FC5 you need both.

For the network problem I had to specify the number of nics:

kernel = "/boot/vmlinuz-2.6.16-1.2096_FC5xenU"
memory = 128
name = "centos-HSPERE"
ramdisk = "/boot/initrd-2.6.16-1.2096_FC5xenU.img"
vif = [ '' ]
nics = 1
#dhcp = "dhcp"
disk = ['file:/img/centos.4-2.VSI,sda1,w','file:/img/centos.swap,sda2,w','file:/img/tmpfiles,sda3,w']
root = "/dev/sda1 ro"


I figure that an IDE server has problems trying to run a SCSI domU

I'm creating a bunch of domUs now and rebooting to see if they all start ok. (I also had to up my loopback devices as indicated in another post)

Give it a shot and report back.

 -- joe.

Joe Warren-Meeks                       T: +44 (0) 208 962 0007
Aggregator Limited                     M: +44 (0) 7789 176078
Unit 62/63 Pall Mall Deposit           E: joe.warren-meeks@xxxxxxxxxxxxx
124-128 Barlby Road, London W10 6BL
PGP Fingerprint: 361F 78D0 56F5 8D7F 2639  947D 71E2 8811 F825 64CC



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






--
Etienne R. Duguay 514-939-HOST (4678) ext 5
Author of/ Auteur de "Se lancer en affaires dans Internet"
ISBN 2-89521-001-2; ISBN 2-89472-062-9
Virtual Space International INC.,
--------------------------------------------------------------
Internet Is Here To Stay, Make Sure Your Business Is!
http://www.savetimehosting.net || Make 25% commission for life
Get Your Own Business In This Megatrend Webucation Opportunity http://www.profit4me.net and work anywhere in the world!
--------------------------------------------------------------
"The best way to predict the future is to invent it" Alan Kay
"One who trades freedom for security deserves neither."
      -Benjamin Franklin
"most propaganda is not designed to fool the critical thinker
but only to give moral cowards an excuse not to think at all."
      - Michael Rivero
"Anyone who believes exponential growth can go on forever in a
finite world is either a madman or an economist."
      - Kenneth Boulding
"The State's coercive interference in either money or banking, including its licensing of a monopolistic central bank, reduces all men's freedom and most men's wealth"
      -Ludwig von Mises
"The Law, when the law, which is force and can be legitimately
used only in defense of just rights to life and property, is perverted into an instrument of aggression, slavery, theft, and plunder, it has destroyed its own object"
        -Frédéric Bastiat
"A fine is a tax you pay for doing wrong, and a tax is a fine you pay for doing all 
right"
        -Unknown


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

<Prev in Thread] Current Thread [Next in Thread>