VirtualBox

Ticket #1258 (new defect)

Opened 6 years ago

Last modified 3 years ago

Failure to install FreeBSD 7.0RC2

Reported by: iooi Owned by:
Priority: major Component: other
Version: VirtualBox 2.0.2 Keywords: FreeBSD 7.0
Cc: Guest type: BSD
Host type: other

Description

VirtualBox-osx-1.5.51-r27946-beta3 on Mac OS X 10.4.11 fails to install FreeBSD 7.0RC2 while copying files from CD to the virtual Harddrive (no matter if the virtual HD is of growing or fixed size type).

I used  ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.0/7.0-RELEASE-i386-disc1.iso, checked the MD5 sums (correct) and configured VirtualBox to use that ISO image as CD-Rom for a OS type FreeBSD VM

After booting the VM I choose the following options:

Screen: Option choosen: ======================================================================

Welcome to FreeBSD: Boot FreeBSD [default]

Country Selection: Germany System Console Keymap: German ISO FreeBSD/i386 7.0 RC2 sysinstall Main menu: Standart partitioning scheme: All Install Boot Manager: Standart (no boot manager) create BSD partitions: Auto Defaults Choose Distribution: X-Developer Ports Collection: yes Choose installation Media: CD/DVD

However, the install always crashes after a while, mostly when the virtual HD LED has been red for quite a long time. See attached screenshots

Attachments

Shortly before write failure on transfer.png Download (22.1 KB) - added by iooi 6 years ago.
Write failure on transfer.png Download (21.6 KB) - added by iooi 6 years ago.
After write failure on transfer.png Download (24.2 KB) - added by iooi 6 years ago.
VBox.log Download (44.0 KB) - added by iooi 6 years ago.
VBox.log.1 Download (43.5 KB) - added by iooi 6 years ago.
VBox.log.2 Download (37.5 KB) - added by iooi 6 years ago.
VBox.log.3 Download (36.0 KB) - added by iooi 6 years ago.
FreeBSD 7.0RC2 on VirtualBox 1.6.0 Mac.png Download (18.1 KB) - added by iooi 6 years ago.
Still happens with VirtualBox 1.6.0
FreeBSD 7.0.xml Download (3.1 KB) - added by iooi 6 years ago.
the configuration file for the VM in question
VirtualBox VM.analysis.txt Download (16.5 KB) - added by iooi 6 years ago.
Analysis of hung VM
crash.log Download (23.5 KB) - added by iooi 6 years ago.
crash log of attempted shut down of hung VM
Bild 11.png Download (29.7 KB) - added by iooi 6 years ago.
Screenshot of the hung VM
Bild 19.png Download (40.6 KB) - added by iooi 6 years ago.
crash of the FreeBSD 7.0 install with VirtualBox 2.0.0
VBox.2.log Download (35.0 KB) - added by iooi 6 years ago.
new logfile as of today
VBox.log.2.1 Download (45.3 KB) - added by iooi 6 years ago.
new logfile as of today
VBox.log.2.2 Download (47.5 KB) - added by iooi 6 years ago.
new logfile as of today
VBox.log.2.3 Download (43.5 KB) - added by iooi 6 years ago.
new logfile as of today
VBox.3.log Download (46.3 KB) - added by iooi 6 years ago.
see line 683: 00:32:50.165 PIIX3 ATA: execution time for ATA command 0xca was 13 seconds
Bild 6.png Download (22.1 KB) - added by iooi 6 years ago.
presence of the bug in VirtualBox 2.0.2
VBox.4.log Download (38.9 KB) - added by iooi 5 years ago.
Log of VirtualBox version 2.1.0
VBox.log.3.1 Download (43.1 KB) - added by iooi 5 years ago.
second Log of VirtualBox version 2.1.0
VirtualBox_3.2.10_FreeBSD_bug.png Download (58.7 KB) - added by iooi 3 years ago.
The bug still exists for VirtualBox 3.2.10
VirtualBox-3.2.10_FreeBSD-8.1_bug_1.png Download (53.1 KB) - added by iooi 3 years ago.
FreeBSD 8.1 makes things even worse, installation doesn't start at all (just configuration is possible)

Change History

Changed 6 years ago by iooi

Changed 6 years ago by iooi

Changed 6 years ago by iooi

comment:1 Changed 6 years ago by sandervl73

  • Priority changed from blocker to major
  • Summary changed from VirtualBox-osx-1.5.51-r27946-beta3 on Mac OS X 10.4.11 fails to install FreeBSD 7.0RC2 to Failure to install FreeBSD 7.0RC2

Please attach your VBox logfile here. Quite likely a duplicate of other defects though.

Changed 6 years ago by iooi

Changed 6 years ago by iooi

Changed 6 years ago by iooi

Changed 6 years ago by iooi

Changed 6 years ago by iooi

Still happens with VirtualBox 1.6.0

comment:2 Changed 6 years ago by iooi

The issue is still there for version 1.6.0

I tried to install the same FreeBSD like described above.

After a while it hangs (see screenshot), using one CPU completely:

Processes: 62 total, 3 running, 59 sleeping... 227 threads 10:45:39 Load Avg: 1.08, 1.08, 0.89 CPU usage: 8.3% user, 54.1% sys, 37.6% idle SharedLibs: num = 175, resident = 35.6M code, 5.36M data, 6.77M LinkEdit MemRegions: num = 6724, resident = 708M + 18.4M private, 123M shared PhysMem: 759M wired, 386M active, 872M inactive, 1.97G used, 29.6M free VM: 9.42G + 127M 34615(0) pageins, 604(0) pageouts

PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE 413 top 8.1% 0:05.82 1 18 20 472K 676K 940K 27.0M 388 VirtualBox 103.5% 23:39.61 14 170 978 579M 21.6M 595M 982M

An analysis of this situation:

Analysis of sampling pid 388 every 10.000000 milliseconds Call graph:

100 Thread_0f07

100 start

100 _start

100 main

100 QEventLoop::exec()

100 QEventLoop::enterLoop()

100 QEventLoop::processEvents(unsigned)

100 CFRunLoopRunInMode

100 CFRunLoopRunSpecific

100 mach_msg_trap

100 mach_msg_trap

100 Thread_1003

100 _pthread_body

100 _pt_root

100 ConnThread(void*)

100 PR_Poll

100 _pr_poll_with_poll

100 select

100 select

100 Thread_1103

100 _pthread_body

100 _pt_root

100 nsThread::Main(void*)

100 DConnectWorker::Run()

100 PR_Wait

100 PR_WaitCondVar

100 semaphore_wait_signal_trap

100 semaphore_wait_signal_trap

100 Thread_1203

100 _pthread_body

100 rtThreadNativeMain(void*)

100 rtThreadMain

100 hgcmWorkerThreadFunc(RTTHREADINT*, void*)

100 hgcmThread(unsigned, void*)

100 hgcmMsgGet(unsigned, HGCMMsgCore)

100 HGCMThread::MsgGet(HGCMMsgCore)

100 rtSemEventMultiWait(RTSEMEVENTMULTIINTERNAL*, unsigned, bool)

100 semaphore_wait_signal_trap

100 semaphore_wait_signal_trap

100 Thread_1303

100 _pthread_body

100 rtThreadNativeMain(void*)

100 rtThreadMain

100 vmR3EmulationThread(RTTHREADINT*, void*)

100 EMR3ExecuteVM

96 VMMR3RawRunGC

95 ioctl

95 ioctl

1 VMMR3RawRunGC

2 emR3ForcedActions(VM*, int)

1 PDMR3Poll

1 TMTimerSetMillies

1 TMTimerSetMillies

1 TRPMR3InjectEvent

1 PDMGetInterrupt

1 PDMCritSectLeave

1 RTCritSectLeave

1 RTCritSectLeave

2 emR3RawHandleRC(VM*, CPUMCTX*, int)

2 emR3RawPrivileged(VM*)

2 emR3RawExecuteInstructionWorker(VM*, int)

2 REMR3EmulateInstruction

2 REMR3State

1 nocrt_memset

1 nocrt_memset

1 tlb_flush_page

1 tlb_flush_page

100 Thread_1403

100 _pthread_body

100 rtThreadNativeMain(void*)

100 rtThreadMain

100 hgcmWorkerThreadFunc(RTTHREADINT*, void*)

100 hgcmServiceThread(unsigned, void*)

100 hgcmMsgGet(unsigned, HGCMMsgCore)

100 HGCMThread::MsgGet(HGCMMsgCore)

100 rtSemEventMultiWait(RTSEMEVENTMULTIINTERNAL*, unsigned, bool)

100 semaphore_wait_signal_trap

100 semaphore_wait_signal_trap

100 Thread_1503

100 _pthread_body

100 rtThreadNativeMain(void*)

100 rtThreadMain

100 vboxClipboardThread(RTTHREADINT*, void*)

100 RTThreadUserWait

100 rtSemEventMultiWait(RTSEMEVENTMULTIINTERNAL*, unsigned, bool)

100 semaphore_timedwait_signal_trap

100 semaphore_timedwait_signal_trap

100 Thread_1603

100 _pthread_body

100 rtThreadNativeMain(void*)

100 rtThreadMain

100 rtTimerThread(RTTHREADINT*, void*)

100 rtSemEventWait(RTSEMEVENTINTERNAL*, unsigned, bool)

100 semaphore_timedwait_signal_trap

100 semaphore_timedwait_signal_trap

100 Thread_1703

100 _pthread_body

100 rtThreadNativeMain(void*)

100 rtThreadMain

100 hgcmWorkerThreadFunc(RTTHREADINT*, void*)

100 hgcmServiceThread(unsigned, void*)

100 hgcmMsgGet(unsigned, HGCMMsgCore)

100 HGCMThread::MsgGet(HGCMMsgCore)

100 rtSemEventMultiWait(RTSEMEVENTMULTIINTERNAL*, unsigned, bool)

100 semaphore_wait_signal_trap

100 semaphore_wait_signal_trap

100 Thread_1803

100 _pthread_body

100 rtThreadNativeMain(void*)

100 rtThreadMain

100 ataAsyncIOLoop(RTTHREADINT*, void*)

100 rtSemEventWait(RTSEMEVENTINTERNAL*, unsigned, bool)

100 semaphore_wait_signal_trap

100 semaphore_wait_signal_trap

100 Thread_1903

100 _pthread_body

100 rtThreadNativeMain(void*)

100 rtThreadMain

100 ataAsyncIOLoop(RTTHREADINT*, void*)

100 rtSemEventWait(RTSEMEVENTINTERNAL*, unsigned, bool)

100 semaphore_wait_signal_trap

100 semaphore_wait_signal_trap

100 Thread_1a03

100 _pthread_body

100 rtThreadNativeMain(void*)

100 rtThreadMain

100 pdmR3ThreadMain(RTTHREADINT*, void*)

100 pcnetAsyncSendThread(PDMDEVINS*, PDMTHREAD*)

100 rtSemEventWait(RTSEMEVENTINTERNAL*, unsigned, bool)

100 semaphore_wait_signal_trap

100 semaphore_wait_signal_trap

100 Thread_1b03

100 _pthread_body

100 CAPThread::Entry(CAPThread*)

100 HALRunLoop::OwnThread(void*)

100 CFRunLoopRunInMode

100 CFRunLoopRunSpecific

100 mach_msg_trap

100 mach_msg_trap

100 Thread_1c03

100 _pthread_body

100 CAPThread::Entry(CAPThread*)

100 HP_IOThread::ThreadEntry(HP_IOThread*)

100 HP_IOThread::WorkLoop()

98 CAGuard::WaitUntil(unsigned long long)

98 CAGuard::WaitFor(unsigned long long)

98 semaphore_timedwait_signal_trap

98 semaphore_timedwait_signal_trap

2 HP_IOThread::PerformIO(AudioTimeStamp const&)

2 IOA_Device::CallIOProcs(AudioTimeStamp const&, AudioTimeStamp const&, AudioTimeStamp const&)

2 IOA_SingleDevice::WriteOutputData(AudioTimeStamp const&, unsigned long)

2 iokit_user_client_trap

2 iokit_user_client_trap

Total number in stack (recursive counted multiple, when >=5):

13 _pthread_body 9 rtThreadMain 9 rtThreadNativeMain(void*) 7 semaphore_wait_signal_trap

Sort by top of stack, same collapsed (when >= 5):

semaphore_wait_signal_trap 700 semaphore_timedwait_signal_trap 298 mach_msg_trap 200 select 100 ioctl 95

Sample analysis of process 388 written to file /dev/stdout Sampling process 388 each 10 msecs 100 times

comment:3 Changed 6 years ago by iooi

I tried to upload the .vdi and the saved state file (.sav) here but both were to large.

So I decided to provide you those file using a file sharing platform:

7.0-RELEASE-i386-disc1.iso.zip:

 http://dl.letsfile.com/0471a69b8e221fa21ce9474ff9413a72

FreeBSD 7.0.vdi.zip:

 http://dl.letsfile.com/7f6acccfa80d467b4104ec1030e0d38d

{aed10561-3b8b-4bf3-3e8c-a63e0af8c828}.sav:

 http://dl.letsfile.com/a5fce662bcdf3d88d19c14e5d3fe46b7

Changed 6 years ago by iooi

the configuration file for the VM in question

comment:4 Changed 6 years ago by frank

The last issue you reported should be fixed in 1.6.2. Please next time attach a file with the content of the analysis -- don't cut'n'paste. And iff cut'n'paste then please enclose the stuff within three opening and three closing brackets.

comment:5 Changed 6 years ago by iooi

This is still not fixed, I tried it with 1.6.2 today. I still get a hang of disk operation/CD-ROM access when trying to install FreeBSD 7.0. It hangs again during copying files, not always at the same point but always. When trying to shut down the hung VM I even got a crash. See newly attached files.

Changed 6 years ago by iooi

Analysis of hung VM

Changed 6 years ago by iooi

crash log of attempted shut down of hung VM

Changed 6 years ago by iooi

Screenshot of the hung VM

comment:6 Changed 6 years ago by frank

  • Guest type changed from other to BSD

comment:7 Changed 6 years ago by frank

  • Version changed from VirtualBox Mac OS Beta 3 to VirtualBox 1.6.2

comment:8 Changed 6 years ago by iooi

the bug is present with version 2.0.0 of VirtualBox. I tried using  ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.0/7.0-RELEASE-i386-disc1.iso this time. When the installation was hung I tried to sample the "VirtualBox VM" process. However this seems to be no longer possible, I just get: "sample cannot examine process 820 for unknown reasons, even though it appears to exist." so I can't provide you with that. I just have a new screenshot of the hang/crash attached

Changed 6 years ago by iooi

crash of the FreeBSD 7.0 install with VirtualBox 2.0.0

Changed 6 years ago by iooi

new logfile as of today

Changed 6 years ago by iooi

new logfile as of today

Changed 6 years ago by iooi

new logfile as of today

Changed 6 years ago by iooi

new logfile as of today

Changed 6 years ago by iooi

see line 683: 00:32:50.165 PIIX3 ATA: execution time for ATA command 0xca was 13 seconds

comment:9 Changed 6 years ago by iooi

The bug is still present as of VirtualBox Version 2.0.2

Changed 6 years ago by iooi

presence of the bug in VirtualBox 2.0.2

comment:10 Changed 6 years ago by frank

  • Version changed from VirtualBox 1.6.2 to VirtualBox 2.0.2

Changed 5 years ago by iooi

Log of VirtualBox version 2.1.0

Changed 5 years ago by iooi

second Log of VirtualBox version 2.1.0

comment:11 Changed 5 years ago by iooi

The Bug is still present with version 2.1.0 of VirtualBox. It doesn't matter which IDE Controller type I select - neither works. Logs attached.

comment:12 Changed 5 years ago by iooi

I just want to mention that this bug is still not fixed (as of VirtualBox 3.0.4 r50677)

comment:13 Changed 4 years ago by drc

I am having this same problem with FreeBSD 8.0 and VirtualBox 3.1.6, also on a Mac host (OS X 10.6.3 64-bit.) I am attempting to install the 64-bit version of FreeBSD 8.0, although I don't think that matters. Other guest operating systems work fine, and FreeBSD 8.0 also installs fine in other virtualization environments, such as Parallels Desktop 5.0, running on the same host.

Changed 3 years ago by iooi

The bug still exists for VirtualBox 3.2.10

Changed 3 years ago by iooi

FreeBSD 8.1 makes things even worse, installation doesn't start at all (just configuration is possible)

comment:14 Changed 3 years ago by iooi

Has anyone ever gotten FreeBSD to run on VirtualBox for Mac OS X? If so, please post here what you did, so that I can follow your steps.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use