From owner-freebsd-xen@freebsd.org Tue Jul 23 13:15:00 2019 Return-Path: Delivered-To: freebsd-xen@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DC34FA9A66 for ; Tue, 23 Jul 2019 13:15:00 +0000 (UTC) (envelope-from roger.pau@citrix.com) Received: from esa5.hc3370-68.iphmx.com (esa5.hc3370-68.iphmx.com [216.71.155.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "esa5.hc3370-68.iphmx.com", Issuer "HydrantID SSL ICA G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 919999046A for ; Tue, 23 Jul 2019 13:14:59 +0000 (UTC) (envelope-from roger.pau@citrix.com) Received-SPF: None (esa5.hc3370-68.iphmx.com: no sender authenticity information available from domain of roger.pau@citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa5.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="roger.pau@citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa5.hc3370-68.iphmx.com: domain of roger.pau@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa5.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="roger.pau@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:162.221.158.21 ip4:162.221.156.83 ~all" Received-SPF: None (esa5.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa5.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: tr5I35Qk45Di2OnigsGCUv+vyI4LDyT5PUTkFvOKSaHo6Bf39g0SGkZEIEtdY03nCCgOhVP0Kr ItSY2LnjGEjzxAPhZSxuoOU2503t3Li9lltKWg8ZDdBcIvf7whLIdS0lDW+LlCXyqmWZ5R7EnA jGFRG7hTI1+kbfTarEtXjX5/AqPBptqvh3RyDosN+ZRip0+4LAQ7uxH1sypEWSWLQUAkA0xHat vM+Jq4HBw/utQHIzHx1/cFhqJgdq7UjlAUsFNkia526ieLvMJ0IsUFvRPby+o0/0/bW0vjYBtF 9lI= X-SBRS: 2.7 X-MesageID: 3396948 X-Ironport-Server: esa5.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.64,299,1559534400"; d="scan'208";a="3396948" Date: Tue, 23 Jul 2019 15:13:39 +0200 From: Roger Pau =?utf-8?B?TW9ubsOp?= To: R0me0 *** CC: Subject: Re: Xen 4.12 - systemrescuecd-6.0.3.iso - Baremetal reboots Message-ID: <20190723131339.hbdwdqtlhcox7qjm@Air-de-Roger.citrite.net> References: <20190704072629.v4qegclh7ljfdt64@Air-de-Roger> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716 X-ClientProxiedBy: AMSPEX02CAS02.citrite.net (10.69.22.113) To AMSPEX02CL02.citrite.net (10.69.22.126) X-Rspamd-Queue-Id: 919999046A X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of roger.pau@citrix.com designates 216.71.155.168 as permitted sender) smtp.mailfrom=roger.pau@citrix.com X-Spamd-Result: default: False [-4.91 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:216.71.155.168]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[citrix.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[168.155.71.216.list.dnswl.org : 127.0.3.2]; MX_GOOD(-0.01)[cached: mx1.hc3370-68.iphmx.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.92)[-0.916,0]; IP_SCORE(-1.49)[ip: (-4.12), ipnet: 216.71.154.0/23(-2.08), asn: 16417(-1.18), country: US(-0.05)]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16417, ipnet:216.71.154.0/23, country:US]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jul 2019 13:15:00 -0000 On Tue, Jul 23, 2019 at 11:51:51AM +0000, R0me0 *** wrote: > I tried to boot kali linux ( > https://cdimage.kali.org/kali-2019.2/kali-linux-2019.2-amd64.iso ) as guest. > > The machine freezes on the same way I am using the latest xen 4.12 on > freebsd I think I'm confused by this sentence. When you write the machine freezes, I assume you mean that the guest freezes, but the host is responsive? > here is the screenshot of console: > > [image: 2019-07-23-084718_853x193_scrot.png] > > and here is the xl dmesg > > (d12) Detected Xen v4.12.0 > (d12) xen: copy BIOS tables... > (d12) Copying SMBIOS entry point from 0x00010020 to 0x000f5e60 > (d12) Copying MPTABLE from 0xfc0011e0/fc0011f0 to 0x000f5d40 > (d12) Copying PIR from 0x00010040 to 0x000f5cc0 > (d12) Copying ACPI RSDP from 0x000100c0 to 0x000f5c90 > (d12) Using pmtimer, ioport 0xb008 > (d12) Scan for VGA option rom > (d12) Running option rom at c000:0003 > (d12) pmm call arg1=0 > (d12) Turning on vga text mode console > (d12) SeaBIOS (version 1.11.0-20190516_220714-120amd64-default-job-06) > (d12) Machine UUID 2e347e67-ad3f-11e9-9209-0cc47a4dbca8 > (d12) ATA controller 1 at 1f0/3f4/0 (irq 14 dev 9) > (d12) ATA controller 2 at 170/374/0 (irq 15 dev 9) > (d12) Found 0 lpt ports > (d12) Found 1 serial ports > (d12) ata0-0: QEMU HARDDISK ATA-7 Hard-Disk (80 GiBytes) > (d12) Searching bootorder for: /pci@i0cf8/*@1,1/drive@0/disk@0 > (d12) DVD/CD [ata0-1: QEMU DVD-ROM ATAPI-4 DVD/CD] > (d12) Searching bootorder for: /pci@i0cf8/*@1,1/drive@0/disk@1 > (d12) PS2 keyboard initialized > (d12) All threads complete. > (d12) Scan for option roms > (d12) Running option rom at c980:0003 > (d12) pmm call arg1=1 > (d12) pmm call arg1=0 > (d12) pmm call arg1=1 > (d12) pmm call arg1=0 > (d12) Searching bootorder for: /pci@i0cf8/*@4 > (d12) > (d12) Press ESC for boot menu. > (d12) > (d12) Searching bootorder for: HALT > (d12) drive 0x000f5c20: PCHS=16383/16/63 translation=lba LCHS=1024/255/63 > s=167772160 > (d12) Space available for UMB: ca800-eb000, f5680-f5bc0 > (d12) Returned 258048 bytes of ZoneHigh > (d12) e820 map has 7 items: > (d12) 0: 0000000000000000 - 000000000009fc00 = 1 RAM > (d12) 1: 000000000009fc00 - 00000000000a0000 = 2 RESERVED > (d12) 2: 00000000000f0000 - 0000000000100000 = 2 RESERVED > (d12) 3: 0000000000100000 - 00000000effff000 = 1 RAM > (d12) 4: 00000000effff000 - 00000000f0000000 = 2 RESERVED > (d12) 5: 00000000fc000000 - 0000000100000000 = 2 RESERVED > (d12) 6: 0000000100000000 - 000000010f800000 = 1 RAM > (d12) enter handle_19: > (d12) NULL > (d12) Booting from Hard Disk... > (d12) Boot failed: not a bootable disk > (d12) > (d12) enter handle_18: > (d12) NULL > (d12) Booting from DVD/CD... > (d12) Booting from 0000:7c00 > > > > Em qui, 11 de jul de 2019 ās 21:02, R0me0 *** > escreveu: > > > Hello Roger, > > > > >So you are trying to boot systemrescuecd as a guest on the Xen host? > > Yes. > > > > Here is the config I have used: > > > > # cat livecd.cfg > > > > builder = "hvm" > > name = "livecd" > > memory = 2048 > > cpus="all,^0-1" > > vcpus = 2 > > vif = [ 'type=vif,bridge=sandbox' ] > > disk = [ '/dev/zvol/fbroot/SAND/disk,raw,xvda,w' , Can you try with: 'format=raw, vdev=hda, access=rw, backendtype=qdisk, target=/dev/zvol/fbroot/SAND/disk' Which version of FreeBSD are you running? Can you also paste the output of `dmesg` when this happens? Thanks, Roger.