From owner-freebsd-stable@freebsd.org Thu Nov 5 04:35:02 2020 Return-Path: Delivered-To: freebsd-stable@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 2D44F44A71C for ; Thu, 5 Nov 2020 04:35:02 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from elf.hq.norma.perm.ru (mail.norma.perm.ru [128.127.146.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.norma.perm.ru", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRW010xlpz4lgj for ; Thu, 5 Nov 2020 04:34:55 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from [192.168.243.9] ([192.168.243.9]) by elf.hq.norma.perm.ru (8.15.2/8.15.2) with ESMTP id 0A54ZX99072789; Thu, 5 Nov 2020 09:35:33 +0500 (+05) (envelope-from emz@norma.perm.ru) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=norma.perm.ru; s=key; t=1604550934; bh=lOZAArZ65IheicgStS2OH1iLWoz/Bwdkj0L19AqGMbQ=; h=To:Cc:From:Subject:Date; b=IcGBJSqzlTyVlZzgIp2f3Nti2GNDziWYUC7Z+eQvdDDTZVWBC91MCRQ8zhxqqGJwB nxGJ9OkgeVusurMDhlnM5fQ64clCpcel2YLR/G3LW6Vmjec5VCQ/fhxlZZP3GXKAie IrRUOo2EPwkXg3v4P1I81izifh6e9YaZcnHaBY+U= To: freebsd-stable Cc: freebsd-virt From: "Eugene M. Zheganin" Subject: FreeBSD 12.x, virtio and alicloud (aliyun.com) Message-ID: Date: Thu, 5 Nov 2020 09:34:45 +0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: ru X-Rspamd-Queue-Id: 4CRW010xlpz4lgj X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=norma.perm.ru header.s=key header.b=IcGBJSqz; dmarc=pass (policy=none) header.from=perm.ru; spf=pass (mx1.freebsd.org: domain of emz@norma.perm.ru designates 128.127.146.8 as permitted sender) smtp.mailfrom=emz@norma.perm.ru X-Spamd-Result: default: False [3.50 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.24)[-0.237]; R_DKIM_ALLOW(0.00)[norma.perm.ru:s=key]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(0.00)[+a]; NEURAL_SPAM_SHORT(0.17)[0.175]; MIME_GOOD(-0.10)[text/plain]; HFILTER_HELO_IP_A(1.00)[elf.hq.norma.perm.ru]; HFILTER_HELO_NORES_A_OR_MX(0.30)[elf.hq.norma.perm.ru]; BAD_REP_POLICIES(0.10)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[norma.perm.ru:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(0.00)[perm.ru,none]; RBL_VIRUSFREE_BOTNET(2.00)[128.127.146.8:from]; NEURAL_SPAM_LONG(0.26)[0.261]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:212494, ipnet:128.127.146.0/24, country:RU]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-stable]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 04:35:02 -0000 Hello, Guys, does anyone have VM running in AliCloud Chinese provider (one of the biggest, if not the biggest one) ? They seem to provide stock FreeBSD 11.x images on some Redhat-based Linux with VirtIO which run just fine (at least I take a look at their kernel and it seem to be a stock GENERIC), but after source uprgading to 12.2 it cannot mountroot, because literally no disks are found after thee kernel booting stage. This, in turn, is cause by a bunch of repeatable virtio errors, which looks like (screenshot provided in the link): virtio_pci1: cannot map I/O space device_attach:  virtio_pci1 attach returned 6 (https://enazadev.ru/stub-data/freebsd12-alicloud-cannot-map-io.png) So not only vtbd0 cannot be attached to, but also a network adater. Surprisingly, virtio_console and memory baloon device seems to be working. I've took a look at various VirtIO cases in the bug tracker and compiled a kernel without netmap (yeah, after some consideration this could help only with virtio_net part), but this doesn't help. Is this some sort of regression that needs to be reported ? Is there some kind of known workaround ? I also have a running 11.3 on a second VM, so I can provide any necessary details if needed. Thanks. Eugene.