Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: cgdconfig hangs on domU startup
On 04/18/11 19:07, Hugo Silva wrote:
> This seems to be xen specific:
>
>
> Mon Apr 18 18:03:52 GMT 2011
> Configuring CGD devices.
> load: 0.00 cmd: cgdconfig 13 [rndread] 0.00u 0.00s 0% 2536k
> ^Cswapctl: /dev/cgd0a: Device not configured
> Starting file system checks:
> /dev/rxbd0a: 2761 files, 39330 used, 207237 free (77 frags, 25895
> blocks, 0.0% fragmentation)
> /dev/rxbd0a: MARKING FILE SYSTEM CLEAN
> Can't open /dev/rcgd1a: Device not configured
> CAN'T CHECK FILE SYSTEM.
> /dev/rcgd1a: UNEXPECTED INCONSISTENCY; RUN fsck_ffs MANUALLY.
> /dev/rxbd0e: file system is journaled; not checking
> /dev/rxbd0f: file system is journaled; not checking
> /dev/rxbd0g: file system is journaled; not checking
> THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY:
> ffs: /dev/rcgd1a (/var/www)
> Automatic file system check failed; help!
> ERROR: ABORTING BOOT (sending SIGTERM to parent)!
> Apr 18 18:03:58 init: `/bin/sh' on `/etc/rc' terminated abnormally,
> going to single user mode
> Enter pathname of shell or RETURN for /bin/sh:
> We recommend that you create a non-root account and use su(1) for root
> access.
> No entry for terminal type "dumb";
> using dumb terminal settings.
> # /etc/rc.d/cgd start
> Configuring CGD devices.
> /dev/xbd2a's passphrase:
>
>
>
>
> dom0 is 5.99.49/amd64, domU is running 5.1.
>
> Altough I didn't test with Xen 3 on this machine, I don't see this on a
> 5.99.39/amd64 dom0 running Xen 3.3.2 (but so much has changed since then).
>
> Anyone else sees the same behavior?
>
> Regards,
>
> Hugo
For anyone else with the same problem in the future, the problem is that
in http://www.netbsd.org/docs/misc/#cgd-swap
-k randomkey should be -k urandomkey.
Also, it's not Xen specific.
Regards,
Hugo
Home |
Main Index |
Thread Index |
Old Index