Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Nov 2020 01:52:03 +0500
From:      "Eugene M. Zheganin" <emz@norma.perm.ru>
To:        freebsd-stable@freebsd.org
Cc:        virtualization@freebsd.org
Subject:   Re: FreeBSD 12.x, virtio and alicloud (aliyun.com)
Message-ID:  <98cd7866-7d05-6e49-e53b-e8dedf2a1531@norma.perm.ru>
In-Reply-To: <CAECd0eYtBK8wzDobT=4ZzbpOePc02kJRpom3%2BFzB-cyE8bn9Rw@mail.gmail.com>
References:  <b31d221c-0763-b8b0-57d9-28799f5fc49b@norma.perm.ru> <CAECd0eYtBK8wzDobT=4ZzbpOePc02kJRpom3%2BFzB-cyE8bn9Rw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello.


Well, with this patch I'm getting trap immediately on the kernel booting 
phase:

===Cut===

virtio_pci2:virtqueue 0 (vtnet0-0 rx) does not exists (size is zero)

virtio_pci2: cannot allocate virtqueue 0: 19

vtnet0: cannot allocate virtqueues

===Cut===

see the screenshot below:

https://enazadev.ru/stub-data/freebsd12-patched-trap.png


05.11.2020 11:06, Cevin пишет:
> The problem seems to have been fixed, but the code is still in the review.
> For more details, see  https://reviews.freebsd.org/D26915#601420
>
> Eugene M. Zheganin <emz@norma.perm.ru> 于2020年11月5日周四 下午12:35写道:
>
>> 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.
>>
>> _______________________________________________
>> freebsd-stable@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
>> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98cd7866-7d05-6e49-e53b-e8dedf2a1531>