VirtualBox

Custom Query (16363 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (202 - 204 of 16363)

Ticket Resolution Summary Owner Reporter
#20998 fixed vboxdrv build issues (clang) CdeMills
Description

Hello Under CentOS-8, I compile kernel-ml kernels as LC_ALL=C TMPDIR=/var/tmp MAKEFLAGS="LLVM=1 LLVM_IAS=1" nice -n 20 rpmbuild ...

This permits to use clang as the compiler. Version is clang version 14.0.0 (Red Hat 14.0.0-1.module_el8.7.0+1142+5343df54) Target: x86_64-redhat-linux-gnu

Those kernels build and run fine. Yet the vboxdrv build fails. The command line is: env LC_ALL=C TMP=/var/tmp MAKEFLAGS="LLVM=1 LLVM_IAS=1" CC=clang CXX=clang++ LD=ld.lld rcvboxdrv setup

The failure is: /tmp/vbox.0/SUPDrvGip.c:4341:13: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]

case kTscDeltaThreadState_Listening:

/tmp/vbox.0/SUPDrvGip.c:4341:13: note: insert 'attribute((fallthrough));' to silence this warning

case kTscDeltaThreadState_Listening: attribute((fallthrough));

Could you please try to build it in a similar framework and check the error reproducibility ?

Regards

Pascal

#20993 duplicate PXE UNDI driver transmit seems to be mapping existing transmit buffer instead of making a copy henryptung
Description

To be fair, haven't dug that far into VirtualBox code (don't really use SVN, and don't have an easy web interface to search the code for what I'm looking for) but, the most recent code I could find on GitHub for VBox seems to suggest it's mapping the supplied transmit buffer and not copying it before return: https://github.com/TedHartDavis/VBoxMirror/blob/3d7f37ab5b248566e1dc17df8ee495628bb007e5/src/VBox/Devices/EFI/FirmwareNew/OptionRomPkg/UndiRuntimeDxe/Decode.c#L1214, https://github.com/TedHartDavis/VBoxMirror/blob/3d7f37ab5b248566e1dc17df8ee495628bb007e5/src/VBox/Devices/EFI/Firmware/OptionRomPkg/UndiRuntimeDxe/E100b.c#L1100

Given that, I'm currently the following behavior running GRUB in VirtualBox and it sending DNS:

  1. GRUB (2.06) allocates a single, fixed scratch-space buffer for sending packets via PXE UNDI; this buffer is reused for every packet send. (See https://github.com/rhboot/grub2/blob/ef36b3c93d27bdfc7a68469be33bd8be95630e6a/grub-core/net/drivers/i386/pc/pxe.c#L259)
  2. When running in VirtualBox, I can get GRUB to send DNS requests manually with the net_nslookup command.
  3. When GRUB is in prefer-ipv4 mode (default), it tries to send one A DNS request followed by an IPv6 AAAA request.
  4. Looking in Wireshark, I can see it just sending two AAAA requests instead (seems like the AAAA query contents are somehow clobbering the A query), separated by about 0.2ms.
  5. When I set debug=dns in GRUB, the delay of debug-print-to-console seems to introduce enough delay that I see separate A and AAAA requests in Wireshark (now separated by about 1ms).

The best explanation I have for these observations is that VirtualBox's UNDI/PXE implementation is not mixing well with GRUB's extreme transmit buffer reuse, and causing a sufficiently quick sequence of transmits to clobber previous packets' contents.

I'm not that familiar with PXE or UNDI API requirements, but it seems like the driver should not return without at least making a copy of the data buffer, even if it doesn't transmit the packet immediately? In any case, would hope someone can take a look at the spec and determine whether this is actually a bug on VirtualBox's side or GRUB's.

Thanks in advance!

#20992 fixed Can't install Guest Additions with 6.1.35-151866 boxer01
Description

I have a Windows 11 VM on Windows 10 host. When I try to install the current version of the GA, I see an error:

(1) ENTER: DriverPackageInstallW

(1) RETURN: DriverPackageInstallW (0xE0000247)

After that, installation fails. See the complete installation log for further details.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy