Xen on Ubuntu: DomU hangs on boot

Allen Fowler allen.fowler at yahoo.com
Fri Nov 30 00:04:19 UTC 2007


The command as listed does seem to work.. it gives an error:

"mount: can't find /my/test/dir in /etc/fstab or /etc/mtab"

That being said, i did try regenerating the DomU disk image anyway.   Things still don't work,  but obviously it's much further along.

Here is what's happening after I create the DomU now:

- "xm top" show it running at 99% CPU.  (even after 1hour+ of waiting)
- "xm console" show a backlog, but no interactive prompt. (this is w/ "extra = 'xencons=tty'")
- I can't ssh into the DomU

Thanks

Here is the new "xm console" log:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[86608.327025] TCP cubic registered
[86608.327898] NET: Registered protocol family 1
[86608.328692] Using IPI No-Shortcut mode
[86608.329501] XENBUS: Device with no driver: device/console/0
[86608..330579] Freeing unused kernel memory: 200k freed
Loading, please wait...
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Begin: Loading essential drivers... ...
[86609.048025] AppArmor: AppArmor initialized<5>audit(1196380531.042:2):  type=1505 info="AppArmor initialized" pid=934
[86609.073334] fuse init (API version 7.8)
[86609.097924] Failure registering capabilities with primary security module.
[86609.212967] thermal: Unknown symbol acpi_processor_set_thermal_limit
Done.
Begin: Running /scripts/init-premount ...
Done.
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Done.
Begin: Waiting for root file system.... ...
Done.
Begin: Running /scripts/local-premount ...
Done.
[86609.967173] kjournald starting.  Commit interval 5 seconds
[86609.968278] EXT3-fs: mounted filesystem with ordered data mode.
Begin: Running /scripts/local-bottom ...
Done.
Done.
Begin: Running /scripts/init-bottom ....
Done.
 * Setting preliminary keymap...                                                [86610.601634] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
Couldnt get a file descriptor referring to the console
                                                                         [ OK ]
 * Setting the system clock



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


----- Original Message ----
> From: Markus Schönhaber <ubuntu-users at schoenhaber.de>
> To: ubuntu-users at lists.ubuntu.com
> Sent: Thursday, November 29, 2007 6:09:32 PM
> Subject: Re: Xen on Ubuntu: DomU hangs on boot
> 
> Allen Fowler schrieb:
> 
> > Hmm. Maybe the repeated boot-reboot cycle messed it the disk
> image.
> 
 (If it ever was correct in the first place.)
> > 
> > How do I "loop-back" mount to check it?
> 
> mount -o loop /home/xen/domains/xendomu/disk.img /some/empty/dir
> 
> Obviously you'll have to replace "/some/empty/dir" with a path to a
> directory that actually exists on your machine.
> You need administrative rights for mounting. So either precede
> the
> 
 above
> with sudo or do it in a root shell (sudo -i).
> 
> Regards
>   mks
> 
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe
> at:
> 
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 




      ____________________________________________________________________________________
Be a better sports nut!  Let your teams follow you 
with Yahoo Mobile. Try it now.  http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ





More information about the ubuntu-users mailing list