VirtualBox

Opened 16 years ago

Closed 10 years ago

#1258 closed defect (obsolete)

Failure to install FreeBSD 7.0RC2

Reported by: Lars Sonchocky-Helldorf Owned by:
Component: other Version: VirtualBox 2.0.2
Keywords: FreeBSD 7.0 Cc:
Guest type: BSD Host type: other

Description (last modified by Frank Mehnert)

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 (23)

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

Download all attachments as: .zip

Change History (38)

by Lars Sonchocky-Helldorf, 16 years ago

by Lars Sonchocky-Helldorf, 16 years ago

by Lars Sonchocky-Helldorf, 16 years ago

comment:1 by Sander van Leeuwen, 16 years ago

priority: blockermajor
Summary: VirtualBox-osx-1.5.51-r27946-beta3 on Mac OS X 10.4.11 fails to install FreeBSD 7.0RC2Failure to install FreeBSD 7.0RC2

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

by Lars Sonchocky-Helldorf, 16 years ago

Attachment: VBox.log added

by Lars Sonchocky-Helldorf, 16 years ago

Attachment: VBox.log.1 added

by Lars Sonchocky-Helldorf, 16 years ago

Attachment: VBox.log.2 added

by Lars Sonchocky-Helldorf, 16 years ago

Attachment: VBox.log.3 added

by Lars Sonchocky-Helldorf, 16 years ago

Still happens with VirtualBox 1.6.0

comment:2 by Lars Sonchocky-Helldorf, 16 years ago

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 by Lars Sonchocky-Helldorf, 16 years ago

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

by Lars Sonchocky-Helldorf, 16 years ago

Attachment: FreeBSD 7.0.xml added

the configuration file for the VM in question

comment:4 by Frank Mehnert, 16 years ago

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 by Lars Sonchocky-Helldorf, 16 years ago

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.

by Lars Sonchocky-Helldorf, 16 years ago

Attachment: VirtualBox VM.analysis.txt added

Analysis of hung VM

by Lars Sonchocky-Helldorf, 16 years ago

Attachment: crash.log added

crash log of attempted shut down of hung VM

by Lars Sonchocky-Helldorf, 16 years ago

Attachment: Bild 11.png added

Screenshot of the hung VM

comment:6 by Frank Mehnert, 16 years ago

Guest type: otherBSD

comment:7 by Frank Mehnert, 16 years ago

Version: VirtualBox Mac OS Beta 3VirtualBox 1.6.2

comment:8 by Lars Sonchocky-Helldorf, 16 years ago

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

by Lars Sonchocky-Helldorf, 16 years ago

Attachment: Bild 19.png added

crash of the FreeBSD 7.0 install with VirtualBox 2.0.0

by Lars Sonchocky-Helldorf, 16 years ago

Attachment: VBox.2.log added

new logfile as of today

by Lars Sonchocky-Helldorf, 16 years ago

Attachment: VBox.log.2.1 added

new logfile as of today

by Lars Sonchocky-Helldorf, 16 years ago

Attachment: VBox.log.2.2 added

new logfile as of today

by Lars Sonchocky-Helldorf, 16 years ago

Attachment: VBox.log.2.3 added

new logfile as of today

by Lars Sonchocky-Helldorf, 16 years ago

Attachment: VBox.3.log added

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

comment:9 by Lars Sonchocky-Helldorf, 16 years ago

The bug is still present as of VirtualBox Version 2.0.2

by Lars Sonchocky-Helldorf, 16 years ago

Attachment: Bild 6.png added

presence of the bug in VirtualBox 2.0.2

comment:10 by Frank Mehnert, 16 years ago

Version: VirtualBox 1.6.2VirtualBox 2.0.2

by Lars Sonchocky-Helldorf, 16 years ago

Attachment: VBox.4.log added

Log of VirtualBox version 2.1.0

by Lars Sonchocky-Helldorf, 16 years ago

Attachment: VBox.log.3.1 added

second Log of VirtualBox version 2.1.0

comment:11 by Lars Sonchocky-Helldorf, 16 years ago

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 by Lars Sonchocky-Helldorf, 15 years ago

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

comment:13 by DRC, 14 years ago

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.

by Lars Sonchocky-Helldorf, 14 years ago

The bug still exists for VirtualBox 3.2.10

by Lars Sonchocky-Helldorf, 14 years ago

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

comment:14 by Lars Sonchocky-Helldorf, 14 years ago

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.

comment:15 by Frank Mehnert, 10 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use