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

Re: [Xen-users] dsl iso and xen

To: "Lund.Per Valentin PXL" <PXL@xxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] dsl iso and xen
From: mark pryor <tlviewer@xxxxxxxxx>
Date: Fri, 11 May 2007 11:13:30 -0700 (PDT)
Delivery-date: Fri, 11 May 2007 11:12:13 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=S7AAfb6ak9a7ZnOPqa5AViNUJUg0fZCslPcI1qN2rgrTzH+wt5PGl3jjIArxEvvC9NQGmPjWstLps9OB9Ormlh/Ok6j9onE6OSsL9Cl5RlvaMg16zvMk8+o4utMRi2+BSTWDSDzHSn87jEy4D4LHpkS1WK2Lm3gk6Zp8l6zIrrc=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <32353A53E29BDA449681C4BE297D28D4021FBFFF@xxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


"Lund.Per Valentin PXL" <PXL@xxxxxx> wrote:
Hi
Im trying to get DSL(damm small linux) to run in Xen, DSL is a small live-iso with linux.
I have made a simple configuration file, se below:
 
  <configuration file>
  kernel = "/boot/vmlinuz-xen"
  memory = 64
  name = 'dsl'
  disk = ['file:/tmp/dsl-3.3.iso,sda2,w']
  root = "/dev/sda2 ro"
  <configuration file>
 
 
The filesystem on the Xen server is shown below.
 
  da10:/etc/xen/vm # df -h
  Filesystem            Size  Used Avail Use% Mounted on
  /dev/sda2             9.6G  4.2G  5.4G  45% /
  udev                  232M  164K  231M   1% /dev
 
And the DSL-iso is laying in /tmp(sda2)
 
  da10:/etc/xen/vm # ls -l /tmp/dsl-3.3.iso
  -rw-r--r-- 1 root root 52056064 May  8  2007 /tmp/dsl-3.3.iso
 
Ill then starts up the domain with:
 
  xm create /etc/xen/vm/dsl -c
 
The domain starts up, but I get a kernel panic from the dsl-domain
 
  VFS: Cannot open root device "sda2" 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)
 
Can anyone see what I have done wrong?
 
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

hello,

It works fine with a few changes.
You want to use the qemu device model.
Your disk line doesn't point to the ISO correctly.

With the config below I can see and mount most of my partitions in DSL.
Note the "boot" points to the CDROM.

tlviewer@KN9ULTRA:~> cat /etc/xen/vm/dslvm
------------------------------ dslvm config ---------------------
disk = [ 'file:/windows/D/download/dsl-3.3.iso,hdc:cdrom,r' , 'phy:/dev/sda,hda,w' ]
memory = 512
vcpus = 1
cpus = ""
builder = 'hvm'
device_model = '/usr/lib/xen/bin/qemu-dm'
kernel = '/usr/lib/xen/boot/hvmloader'
name = 'dslvm'
vif = [ 'ip="192.168.1.108",type=ioemu,mac=00:16:3e:21:c4:f8,bridge=xenbr0' ]
stdvga = 0
netmask = "255.255.255.0"
gateway = "192.168.1.1"
hostname = "xen"
#dhcp = "dhcp"
vncdisplay = 1
#vif-script = vif-bridge
sdl = 1
apic= 1
acpi = 1
pae = 1
vnc = 0
#vif-script=vif-nat
#dhcp=yes
serial = "pty"
vncviewer = 0
ne2000 = 0
localtime = 1



boot = "dca"
--------------------------- end config -------------------


regards,
Mark


Give spam the boot. Take control with tough spam protection
in the all-new Yahoo! Mail Beta.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>