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-devel

Solution: apt-get (re)install hotplug (was Re: [Xen-devel] Re: Unable to

To: Rob Gardner <rob.gardner@xxxxxx>
Subject: Solution: apt-get (re)install hotplug (was Re: [Xen-devel] Re: Unable to find root device. domU??)
From: Nicholas Lee <emptysands@xxxxxxxxx>
Date: Fri, 14 Oct 2005 13:32:40 +1300
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 14 Oct 2005 00:30:01 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=HzJJTfCzmllOx12zy/BgnsOtZEAXIhRAIT7fVswfp8Aro6yTRauIjEU0o6Cx3L7ll2BQmrZIVcBrhb8ecesCIyjQ6D6x9oIa2IYAohb6b4LyC95iEOnCxhTt1K4Be0bRvJvWTEeJqnhIg8wXnbB0YE69NgwWUuJbcdm7pAPO4cU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 10/14/05, Nicholas Lee <emptysands@xxxxxxxxx> wrote:
> 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)

Just realised the 3.0 depends on hotplug which I'd uninstalled over
the weekend.  I did this unintentionally when bringing using dpkg
--set-selections from a Xen 2.0 machine.

Reinstalling and createy the privileged domU provided this change:
md: ... autorun DONE.
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)

Recompiling the standard domU and looks that the lack of hotplug was
the problem. Or at least one of the problems.

Only issue I seem to be seeing is:
/dev/mem: mmap: Resource temporarily unavailable
Couldnt get a file descriptor referring to the console


No issue running using sda1 for /, which the same device name as  used
by /boot in dom0.


nic@wuwei:/etc/xen$ sudo xm create breezy -c
Using config file "breezy".
Started domain breezy
Linux version 2.6.12-xenU (nic@wuwei) (gcc version 3.3.5 (Debian
1:3.3.5-13)) #3 SMP Fri Oct 14 12:58:11 NZDT 2005
kernel direct mapping tables upto 10000000 @ 4be000-540000
Built 1 zonelists
Kernel command line:  root=/dev/sda1 ro 4
Initializing CPU#0
...

Network now works:
nic@breezy:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr AA:00:00:88:02:40
          inet addr:192.168.88.240  Bcast:192.168.88.255  Mask:255.255.255.0
...

breezy is a 32bit base Breezy ubuntu domain with ubuntu-desktop installed.


Performances seems to be about as expected:
nic@breezy:~/sys/ufc$ ./speedf
Running UFC-crypt for 100 seconds of virtual time ...
Did 147898.370000 fcrypt()s per second.

3.5% less vs native 32bit:

nic@wuwei:~/sys/ufc$ ./speedf
Running UFC-crypt for 100 seconds of virtual time ...
Did 153237.030000 fcrypt()s per second.




--
Nicholas Lee
http://stateless.geek.nz
gpg 8072 4F86 EDCD 4FC1 18EF  5BDD 07B0 9597 6D58 D70C

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

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