On Fri, Aug 09, 2013 at 10:57:20PM +0200, richard -rw- weinberger wrote:
> On Fri, Aug 9, 2013 at 10:43 PM, Richard W.M. Jones <rjo...@redhat.com> wrote:
> > Today I wrote some patches (for libguestfs) which add an experimental
> > UML backend:
> >
> >   https://www.redhat.com/archives/libguestfs/2013-August/msg00005.html
> >
> > There are some observations from this.
> >
> > * 'ubd<N>=cow,original' is not parsed correctly.  This was reported a
> > while back and I'm seeing the same thing with the latest kernel from
> > git:
> >
> >   http://thread.gmane.org/gmane.linux.uml.devel/13556
> >
> > If I have some time I'll have a go at fixing this since it seems like
> > a simple regression.
> 
> Patches are very welcome!
> 
> > * I'm trying to use a serial port to communicate between guest and
> > host, using ssl3=fd:<N>.  This causes the Linux process to crash soon
> > (but not immediately) after the guest has opened /dev/ttyS3:
> >
> >   spurious interrupt in ubd_handler, err = -4
> >
> > I've put the full call trace at the end of the email because it's
> > quite long[1].  This was also reported before, although the suggested
> > patch did not fix it:
> >
> >   http://marc.info/?l=linux-kernel&m=123242364211797&w=2
> >
> > I wonder if anyone has used the fd:<N> option in anger?  I will try
> > using a Unix domain socket and see if it makes a difference.
> 
> Hmmm. I *should* work.
> Which fd are you using?
> Can you also try pts?

just for the record, rootstrap in debian (script to create a debian FS)
uses that option
umlargs.extend(['con0=fd:0,fd:1',                                               
                                                          
                'con=pts',                                                      
                                                          
                                'root=/dev/root',                               
                                                          
                                'rootflags=/',                                  
                                                          
                                'rootfstype=hostfs',                            
                                                          
                'ubd1=' + imagefile,                                            
                                                          
                'init=/usr/lib/rootstrap/builder',                              
                                                          
                'devfs=nomount',                                                
                                                          
                'rsworkdir=' + os.getcwd()])                                    
                                                          

Last time I checked it worked.
-- 
mattia
:wq!

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to