On Fri, Jun 10, 2011 at 1:01 PM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com">rjones@redhat.com</a>></span> wrote:><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">
> I started udev with /sbin/start_udev, as in the init script, but that seems<br>
> to have no effect ("ps aux | grep udev" gives me no output.)<br>
<br>
</div>The fact that /sbin/start_udev doesn't work is obviously a problem.<br>
<br>
Does the script exist?  Does it run?  Does it give errors?</blockquote><div><br>It exists, it runs, it fails silently. The only output from "/sbin/start_udev || echo foo" is "foo".<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
  Are you<br>
capturing all the errors when the init script runs?  Have you tried adding 'set +x' to your init script?Are you using the full start up method shown in libguestfs's appliance/init?<br>
<div class="im"><br></div></blockquote><div><br>No, I have exactly the init that you had in your blog post. I'm mounting /sys and then running /sbin/start_udev manually.<br></div><div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">> If I start the<br>
> guest with<br>
><br>
>  qemu-kvm -kernel kernel -initrd initrd -hda root -device virtio-serial<br>
> -serial stdio -chardev<br>
> socket,path=/home/uckelman/projects/lightbox/supermin/foo,id=channel0<br>
> -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0<br>
><br>
> what should I expect the device connected to the pipe on the guest side to<br>
> be called?<br>
<br>
</div>/dev/virtio-ports/<name><br>
<br>
See: <a href="http://fedoraproject.org/wiki/Features/VirtioSerial" target="_blank">http://fedoraproject.org/wiki/Features/VirtioSerial</a><br>
<div class="im"><br>
Rich.<br></div></blockquote><div><br>/sys/class/virtio-ports/vport0p1 and its contents are there after I mount /sys, so that's a good sign, I guess.<br><br></div></div>