Current-Users archive

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

Re: virtio scsi under VirtualBox



On Thu, Jan 21, 2021 at 11:45:25AM +0000, Chavdar Ivanov wrote:
> On Sat, 21 Nov 2020 at 16:37, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
> I see there were a few recent commits around sys/dev/pci/virtio*. Just
> to mention that the presence of a virtio scsi device in a -current
> (from yesterday) vm under VirtualBox 6.1.16 now results in a Guru
> Meditation Error:
> ......
> 00:00:16.505215 [ 1.0443388] virtio1: SCSI device (rev. 0x01)
> 00:00:16.505234 [ 1.0443388] vioscsi0 at virtio1: features: 0x100000000

It doesn't report that the feature negotiation goes wrong before printing its
features, so the host is accepting v1 but nothing else and that should be OK.

> 00:00:16.505323 virtio-scsi#0: virtio-scsci
> numTargets=1!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> 00:00:16.505391 emR3Debug: rc=VERR_INVALID_PARAMETER

Clumsy error reporting of VirtualBox! What parameter, what call etc.

Could you please test the code with vioscsi revision 0? i.e. with `legacy'
setting? Or/and the setting 'Virtio SCSI Single' if applicable?
Also please boot the kernel with `netbsd -vx'?

Is there a way to get better error message?

With regards,
Reinoud



Home | Main Index | Thread Index | Old Index