| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Custom Guest OS not booting
 I didn't check which hcall you're making, but i'm betting its the one to do consoleio. By default, only dom0 is allowed to do such. You're options are either to do the work to get domU io working (non- trivial), or hack xen to allow anybody to write to consoleio. Look in xen/drivers/char/console.c line 349: 
    /* Only domain 0 may access the emergency console. */
    if ( current->domain->domain_id != 0 )
        return -EPERM;
Good luck
sRp
On Oct 2, 2005, at 1:14 PM, ivan wrote:
Hi,Im trying to get a grip on developing with xen and I'm trying to create my own guest os. The OS is very simple, it prints out a message and then exits.Source listing below.When I try to boot this image with xm create -c hello (hello just pointskernel to ivanos) one of two things happen. 1) It prints: Using config file "hello". Started domain IvanOS, console on port 9627 ************ REMOTE CONSOLE: CTRL-] TO QUIT ******** I press return twice and it prints ************ REMOTE CONSOLE EXITED ***************** 2) it prints: Using config file "hello". Started domain IvanOS, console on port 9628 ************ REMOTE CONSOLE: CTRL-] TO QUIT ******** ************ REMOTE CONSOLE EXITED ***************** (104, 'Connection reset by peer') Error: Error connecting to xend, is xend running? xend is running. in both cases xend.log shows --SNIP--[2005-10-02 19:10:32 xend] INFO (XendRoot:112) EVENT> xend.console.create [13,28, 9628] [2005-10-02 19:10:32 xend] DEBUG (blkif:155) Connecting blkif <BlkifBackendInterface 28 0>[2005-10-02 19:10:32 xend] INFO (XendRoot:112) EVENT> xend.domain.create['IvanOS', '28'][2005-10-02 19:10:32 xend] INFO (XendRoot:112) EVENT> xend.domain.unpause['IvanOS', '28'][2005-10-02 19:10:32 xend] DEBUG (XendDomain:244) XendDomain>reap> domain diedname=IvanOS id=28 [2005-10-02 19:10:32 xend] INFO (XendDomain:564) Destroying domain: name=IvanOS[2005-10-02 19:10:32 xend] DEBUG (XendDomainInfo:665) Destroying vifs fordomain 28 --END SNIP-- If someone could point out where im going wrong it would be very muchappreciated. Is there any way to get a more detailed trace of what xen isdoing? Best regards Ivan Kelly --SNIP go.S-- .section __xen_guest.ascii "GUEST_OS=ivanos,GUEST_VER=2.0,XEN_VER=2.0,LOADER=generic" _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel 
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |