Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Without Xorg, runs OK. But Xorg also runs.(Re: Two DOMU's hang on amd64



On 10.05.2010 17:16, Makoto Fujiwara wrote:
Strange enough, I did setup xen to serial console, and login from
the VGA PC screen.  Then start screen(1). Now start the first DOMU
as 5.0_STABLE. Get another screen. and create another DOMU as
5.99.29 sysinst. Sysinst all done. and rebooted with regular DOMU
kernel. Everything went smoothly.

Now disconnect from the screen and I have started xdm (sudo xdm).
And login now. Everything goes well. WHAT ?
-------
modena@makoto 00:11:17/100511(~)% sudo xm list
/usr/pkg/lib/python2.6/site-packages/xen/util/acmpolicy.py:20: 
DeprecationWarning: the sha module is deprecated; use the hashlib module instead
   import sha
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  1024     1     r-----     30.3
netbsd-5.0_STABLE                            1  1024     1     -b----     24.4
netbsd-HEAD                                  4   512     1     -b----      3.6
-------

Not directly related topic:
By the way, the manpage of boot.cfg(5), it says once,
------
    menu=Boot with serial console:consdev com0;boot
------
but later in the example:
------
  menu=Boot Xen with 256MB for dom0 (serial):load /netbsd-XEN3_DOM0 console=com0
------
This console= should read consdev, I believe.

Nope, the Xen command line uses "console=". See:

http://nxr.netbsd.org/xref/src/sys/arch/xen/xen/xen_machdep.c#175

Anyway, I am not quite sure that the "load" keyword that loads NetBSD as a module for Xen passes the command line args down to the it; they seem to be ignored (and superfluous). To alter console device, I would rather expect:

menu=Boot Xen:consdev com0; load /netbsd-XEN3_DOM0; multiboot /xen.gz dom0_mem=256M console=com1 com1=115200,8n1

I'll proof-read what I said and fix boot.cfg(5) accordingly.

I have now the line as
------
menu=Boot Xen with 1GB for dom0 (serial):load /netbsd-XEN3_DOM0 consdev=com0 
com0=115200,8n1; multiboot /xen.gz
------
in /boot.cfg for this test.

The main difference between HUNG and GOOD are:
Using xterm->luit->console for DOMU, or NOT.
shall I attach later ?

Probably. This is a workaround anyway, I believe that something goes bad with Xen and Xorg.

What driver are you using? ("Driver" in the Section Device associated to your graphic card in xorg.conf, or $ grep Driver /var/log/Xorg.0.log )

--
Jean-Yves Migeon
jeanyves.migeon%free.fr@localhost


Home | Main Index | Thread Index | Old Index