Ligesh
2007-Feb-01 21:15 UTC
[Xen-users] udev fails in guest, which seem to lead to getty hanging.
Hi, I got a centos guest started on fc6 finally by creating the mkinitrd by hand. But the thing is centos seem to hang after the services are started properly and just before the login prompt. I also notice that ''udev'' is failing at the beginning, which could be why mingetty hangs. I am guessing that udev is the service that creates the necessary ttys. So is there something I should do to get udev and the getty to work. Thanks in advance. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ligesh
2007-Feb-01 22:10 UTC
[Xen-users] Re: udev fails in guest, which seem to lead to getty hanging.
I was able to login to the domU using sshd, and found that the problem is caused by ''nash-hotplug'', which I think came from the initrd.img. 224 root 25 0 2600 396 208 R 99.3 0.2 2:24.21 nash-hotplug The nash-hotplug is taking 99% of cpu and I think is also the cause for the udev to fail. Anybody has any ideas? Thanks. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ligesh
2007-Feb-01 23:26 UTC
[Xen-users] Re: udev fails in guest, which seem to lead to getty hanging.
Ok I found that nash-hotplug must be killed before starting udev, and it is because it is not killed that udev is failing. Anyway, I think the problem is with fedora rather than with xen. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Christian Horn
2007-Feb-05 19:24 UTC
Re: [Xen-users] Re: udev fails in guest, which seem to lead to getty hanging.
On Fri, Feb 02, 2007 at 04:56:58AM +0530, Ligesh wrote:> Ok I found that nash-hotplug must be killed before starting udev, > and it is because it is not killed that udev is failing.Seen the same thing here on a fc6-dom0 with sles10, rhel4 and debian-unstable in domU, nash-hotplug hanging and sucking up a cpu. Just a fc6-domU behaves as it should, used the fc6-initrd for all those domU, maybe thats the cause. Christian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ligesh
2007-Feb-05 19:27 UTC
[Xen-users] Re: udev fails in guest, which seem to lead to getty hanging.
On Mon, Feb 05, 2007 at 08:24:06PM +0100, Christian Horn wrote:> On Fri, Feb 02, 2007 at 04:56:58AM +0530, Ligesh wrote: > > Ok I found that nash-hotplug must be killed before starting udev, > > and it is because it is not killed that udev is failing. > > Seen the same thing here on a fc6-dom0 with sles10, rhel4 and > debian-unstable in domU, nash-hotplug hanging and sucking up a > cpu. Just a fc6-domU behaves as it should, used the fc6-initrd > for all those domU, maybe thats the cause. >You need to add a kill nash-hotplug inside the init-scripts of the domUs. Or just handcraft the initrd to not use it or kill it before switching to the actual kernel. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
AndreGround
2007-Feb-05 20:43 UTC
Re: [Xen-users] Re: udev fails in guest, which seem to lead to getty hanging.
Andrea Maurizio Gnerre: Same thing here, when finally succeded in booting a FC3 domU under FC6. Solved by replacing the initrd with the one created directly from the domU instead of using the Fedora kernel-bundled one. Andrea Gnerre On 2/5/07, Ligesh <myself@ligesh.com> wrote:> On Mon, Feb 05, 2007 at 08:24:06PM +0100, Christian Horn wrote: > > On Fri, Feb 02, 2007 at 04:56:58AM +0530, Ligesh wrote: > > > Ok I found that nash-hotplug must be killed before starting udev, > > > and it is because it is not killed that udev is failing. > > > > Seen the same thing here on a fc6-dom0 with sles10, rhel4 and > > debian-unstable in domU, nash-hotplug hanging and sucking up a > > cpu. Just a fc6-domU behaves as it should, used the fc6-initrd > > for all those domU, maybe thats the cause. > > > > You need to add a kill nash-hotplug inside the init-scripts of the domUs. Or just handcraft the initrd to not use it or kill it before switching to the actual kernel. > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users