2014년 9월 15일 월요일

PXE network booting doesn't work in Virtualbox 4.3.16 [SOLVED]

I have been using Virtualbox 4.3.14 in Archlinux to test PXE installation using .iso images for CentOS7 and RHEL6.4

Everything works well in Vbox 4.3.14, but in 4.3.16 after the pxe image is loaded and the pxe menu appears, the vmlinuz kernel image and initrd start loading after the user presses ENTER. Installation proceeds but then Virtualbox suddenly exits the VM and goes back to the Vbox manager screen. The VM has the status 'aborted'.

I searched the Virtualbox Bugtracker for similar issues, but didn't find anything related to pxe in version 4.3.16.

Searching /var/cache/pacman/pkg luckily I found the old versions of 4.3.14 so I was able to downgrade with pacman -U pkgname

In the Vbox manager when I right-click on the VM and select "show log", I can't find any error messages that hint at why the pxe install failed.

The relevant part of VM log starting from LAN boot (PXE):

00:00:03.258185 Guest Log: BIOS: Booting from LAN...
00:00:03.266122 Display::handleDisplayResize(): uScreenId = 0, pvVRAM=0000000000000000 w=720 h=400 bpp=0 cbLine=0x0, flags=0x1
00:00:03.266135 UIFrameBuffer::RequestResize: Screen=0, Format=0, BitsPerPixel=0, BytesPerLine=0, Size=720x400, Sending to async-handler..
00:00:03.266187 UIFrameBufferQImage::resizeEvent: Format=0, BitsPerPixel=0, BytesPerLine=0, Size=720x400
00:00:03.266202 UIFrameBufferQImage::resizeEvent: Resizing to FALLBACK buffer due to format is invalid..
00:00:22.342112 Guest Log: BIOS: KBD: unsupported int 16h function 03
00:00:22.342514 Guest Log: BIOS: AX=0305 BX=0000 CX=0000 DX=0000 
00:00:22.345938 Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=81
00:00:22.346524 Guest Log: int13_harddisk: function 02, unmapped device for ELDL=81
00:00:22.347124 Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=82
00:00:22.347686 Guest Log: int13_harddisk: function 02, unmapped device for ELDL=82
00:00:22.348285 Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=83
00:00:22.348895 Guest Log: int13_harddisk: function 02, unmapped device for ELDL=83
00:00:22.349495 Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=84
00:00:22.350077 Guest Log: int13_harddisk: function 02, unmapped device for ELDL=84
00:00:22.350689 Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=85
00:00:22.351249 Guest Log: int13_harddisk: function 02, unmapped device for ELDL=85
00:00:22.352083 Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=86
00:00:22.352649 Guest Log: int13_harddisk: function 02, unmapped device for ELDL=86
00:00:22.353258 Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=87
00:00:22.353821 Guest Log: int13_harddisk: function 02, unmapped device for ELDL=87
00:00:22.354422 Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=88
00:00:22.354986 Guest Log: int13_harddisk: function 02, unmapped device for ELDL=88
00:00:22.355595 Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=89
00:00:22.356167 Guest Log: int13_harddisk: function 02, unmapped device for ELDL=89
00:00:22.356782 Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=8a
00:00:22.357349 Guest Log: int13_harddisk: function 02, unmapped device for ELDL=8a
00:00:22.357950 Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=8b
00:00:22.358532 Guest Log: int13_harddisk: function 02, unmapped device for ELDL=8b
00:00:22.359132 Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=8c
00:00:22.359694 Guest Log: int13_harddisk: function 02, unmapped device for ELDL=8c
00:00:22.360318 Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=8d
00:00:22.360880 Guest Log: int13_harddisk: function 02, unmapped device for ELDL=8d
00:00:22.361478 Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=8e
00:00:22.362122 Guest Log: int13_harddisk: function 02, unmapped device for ELDL=8e
00:00:22.362765 Guest Log: int13_harddisk_ext: function 41, unmapped device for ELDL=8f
00:00:22.363332 Guest Log: int13_harddisk: function 02, unmapped device for ELDL=8f
00:00:23.009453 PIT: mode=2 count=0x4a9 (1193) - 1000.15 Hz (ch=0)
00:00:23.671500 PIT: mode=0 count=0x10000 (65536) - 18.20 Hz (ch=0)
00:00:30.647365 EHCI: Hardware reset
00:00:30.649658 EHCI: Hardware reset
00:00:30.649717 EHCI: USB Operational

The last entry is that USB is operational, there are no error messages...For the time being I'm just going to use Virtualbox 4.3.14 and file a new bug report. Has anyone else had similar problems with 4.3.16?

Postscript 2014-10-8
In Virtualbox 4.3.16 r95972 on CentOS 7 (in Archlinux I believe this is 4.3.16-4) PXE network booting within VM's works just fine.

I suspect that the problems I had with Virtualbox 4.3.16 in Archlinux were due to some configuration problems with virtualbox dkms kernel modules.