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

Solution: apt-get (re)install hotplug (was Re: [Xen-devel] Re: Unable to find root device. domU??)

  • To: Rob Gardner <rob.gardner@xxxxxx>
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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:  Bcast:  Mask:

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
gpg 8072 4F86 EDCD 4FC1 18EF  5BDD 07B0 9597 6D58 D70C

Xen-devel mailing list



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