Port-xen archive

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

Re: booting xen [was Re: serial console puzzle]



On 2021, മേയ് 7 8:35:54 PM IST, Patrick Welche <prlw1%cam.ac.uk@localhost> wrote:
>On Sat, May 01, 2021 at 12:33:17PM -0700, Greg A. Woods wrote:
>> I've copied this reply to port-xen as it's entirely Xen related.
>... 
>> On serial console machines I've been using NetBSD "console=xencons"
>for
>> ages.
>> 
>> This is the documented (by Xen, i.e. preferred Xen way), for serial
>> consoles:
>> 
>> 	menu=Boot Xen:load /netbsd-XEN3_DOM0 -v bootdev=dk0
>console=xencons;multiboot /xen bootscrub=false dom0_mem=4G
>console=com1,vga console_timestamps=datems dom0_max_vcpus=4
>dom0_vcpus_pin=true pv-l1tf=off,domu=off vpmu=on cpuid=rdrand
>spec-ctrl=no-xen,l1d-flush=off guest_loglvl=all
>
>Amazing: I removed "rndseed /var/db/entropy-file;" from the beginning
>of the xen entry in /boot.cfg and instead of getting
>
>(XEN) *** Building a PV Dom0 ***
>(XEN) ELF: not an ELF binary
>(XEN)
>(XEN) ****************************************
>(XEN) Panic on CPU 0:
>(XEN) Could not construct domain 0
>(XEN) ****************************************
>
>I got
>
>(XEN) Dom0 has maximum 1128 PIRQs
>(XEN) *** Building a PV Dom0 ***
>(XEN) ELF: phdr: paddr=0xffffffff80200000 memsz=0xe07000
>(XEN) ELF: memory: 0xffffffff80200000 -> 0xffffffff81007000
>(XEN) ELF: note: GUEST_OS = "NetBSD"
>(XEN) ELF: note: GUEST_VERSION = "4.99"
>(XEN) ELF: note: XEN_VERSION = "xen-3.0"
>...
>!
>
>The only file which was edited was boot.cfg.
>
>
>Still no joy though:
>
>(XEN) *** Serial input to DOM0 (type 'CTRL-a' three times to switch
>input)
>(XEN) Freed 604kB init memory
>[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002,
>2003, 20,
>[   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
>2014, 2015, ,
>[   1.0000000]     2018, 2019, 2020, 2021 The NetBSD Foundation, Inc. 
>All righ.
>[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
>[   1.0000000]     The Regents of the University of California.  All
>rights res.
>
>[   1.0000000] NetBSD 9.99.82 (XEN3_DOM0) #4: Wed Apr 28 10:53:21 BST
>2021
>...
>[   1.0000030] pci14: i/o space, memory space enabled
>[   1.0000030] entropy: WARNING: extracting entropy too early
>(XEN) mm.c:2980:d0v0 Bad type (saw e400000000000001 != exp
>2000000000000000) fo)
>(XEN) mm.c:1142:d0v0 Attempt to create linear p.t. with write perms

uhuh. on a hunch:

can you reduce the dom0 RAM to, say 1G, or play with the configuration (dom0_mem=1G) to see if has any effect ?

Thanks,

Cherry


-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Home | Main Index | Thread Index | Old Index