1 2 3 4 5 Previous Next 60 Replies Latest reply on Jun 27, 2008 3:03 PM by Mr VacBob Go to original post
      • 45. Re: Hangs & Disk Corruption using Ubuntu 7.10 w/Fusion 1.1 + 10.5.1
        jared.oberhaus Enthusiast

        1) Yes, I am using Time Machine; that is I'd like to... but I have stopped for now

        2) I'm actually not switching back and forth on that setting, I'm staying on "Optimize for OS X". But others (as you know) have replicated this with the other setting.

         

        I am not using FileVault, but now that you mention it, I think I can give you some more info:

         

        • I'm pretty sure I've made my VM hang without Time Machine going;

        • I can't remember making it happen without a USB drive plugged in, but I could be wrong about that.

        • Now I do remember that at one point this happened when I mounted a disk image to install some software I downloaded while a VM was busy. That locked it up. Also I now remember that last night when I replicated this I had the Kernel debugging kit image mounted. Maybe that's another prerequisite.

         

        • Probably unrelated, my iMac G5 had locked up the disk image stuff real good. The machine was super busy (probably Time Machine) and I had 4 or 5 disk images mounted, and tried to unmount one; then clicked again and again, and eventually it got to the point that no matter how long I waited I couldn't unmount any disk images, and I had to reboot. But, on my Intel MacBook Pro, when these hangs happen I've never been unable to unmount a disk image or a USB drive. Of course, that doesn't mean these issues aren't related.

         

        Thanks!

        • 46. Re: Hangs & Disk Corruption using Ubuntu 7.10 w/Fusion 1.1 + 10.5.1
          bgertzfield Master

          Jared, all,

           

          This is even more interesting.  Do you all have disk images mounted when this hang occurs?  Does the hang reproduce if you eject the disk image?

          • 47. Re: Hangs & Disk Corruption using Ubuntu 7.10 w/Fusion 1.1 + 10.5.1
            bapper Novice
            bgertzfield wrote:

            Jared, all,

             

            This is even more interesting.  Do you all have disk images mounted when this hang occurs?  Does the hang reproduce if you eject the disk image?

             

            I had thought it might have been an issue having my USB drive connected with the VM's CDROM image on it when I saw the issue so I moved the things I had been running on it to the internal drive and I still saw the problem.  So I don't think it is related, though it could exacerbate the issue.

            • 48. Re: Hangs & Disk Corruption using Ubuntu 7.10 w/Fusion 1.1 + 10.5.1
              SeasideMan Novice

              No disk image mounted any time this occurred for me. I just did another update since I switched from bridged to NAT and this one worked, too.

              • 49. Re: Hangs & Disk Corruption using Ubuntu 7.10 w/Fusion 1.1 + 10.5.1
                SeasideMan Novice

                It'll take a while for me to debug further as I'm working on getting a

                release out the door before the end of the year.

                 

                I've also seen it on our MacBook Pro's, so it's not isolated to a single

                machine. Let me know where I can FTP an image to you.

                • 50. Re: Hangs & Disk Corruption using Ubuntu 7.10 w/Fusion 1.1 + 10.5.1
                  cthree Novice

                  I do have other images mounted besides internal drives, 1 FW800, 1 USB and an iDisk image. I haven't tried with the external drives unmounted.

                  • 51. Re: Hangs & Disk Corruption using Ubuntu 7.10 w/Fusion 1.1 + 10.5.1
                    jared.oberhaus Enthusiast

                    Since I captured those kernel dumps, I have taken great care to not plug in any USB device or mount any disk image while I have VMware Fusion running (I'd rather not rebuild my VM's again Since then I have not had a case of VM freezing, and I'm using Ubuntu and Windows heavily. But it has only been a couple days...

                     

                    I think that correlating this to a disk image makes a lot of sense in relation to FileVault--it's just a mounted encrypted disk image, right?

                     

                    Anyhow, assuming this is a bug in OS X, maybe we can send the kernel dumps to Apple? Maybe someone on this board has access to and can check this against a 10.5.2 build (optimistically thinking they've fixed this)? I assume VMware has some sway with Apple to get bugs fixed...

                    • 52. Re: Hangs & Disk Corruption using Ubuntu 7.10 w/Fusion 1.1 + 10.5.1
                      cdmckill Novice

                      So any progress on this issue?  Not having external drives mounted is not really an option for me.  I would be happy for VMWare to validate that this is an Apple issue.

                      • 53. Re: Hangs & Disk Corruption using Ubuntu 7.10 w/Fusion 1.1 + 10.5.1
                        bgertzfield Master

                        We've reproduced the bug and written a small test case that deadlocks Mac OS X 10.5.1 without VMware Fusion running.

                         

                        We filed the bug with Apple as Radar bug 5679432.

                         

                        So far, we've only reproduced it when the "Optimize for Mac OS application performance" preference is set.  (For the technically inclined, this preference simply sets the F_NOCACHE setting to 1 on opened disk files.)

                         

                        Folks, if you've run into hangs when you're not using the "Optimize for Mac OS application performance" setting, can you confirm:

                         

                        1) If you're using Time Machine or third-party backup software

                        2) If you're using disk images (.dmg) on the host when this happens

                         

                        Thanks,

                         

                        Ben

                        • 55. Re: Hangs & Disk Corruption using Ubuntu 7.10 w/Fusion 1.1 + 10.5.1
                          pjhinton Lurker

                          bgertzfeld writes :

                          We've reproduced the bug and written a small test case that deadlocks
                          Mac OS X 10.5.1 without VMware Fusion running.

                          +     We filed the bug with Apple as Radar bug 5679432.+
                          +     So far, we've only reproduced it when the "Optimize for Mac OS
                          application performance" preference is set. (For the technically
                          inclined, this preference simply sets the F_NOCACHE setting to 1 on
                          opened disk files.)+
                          +     Folks, if you've run into hangs when you're not using the "Optimize for
                          Mac OS application performance" setting, can you confirm:+
                          +     1) If you're using Time Machine or third-party backup software+
                          +     2) If you're using disk images (.dmg) on the host when this happens+

                           

                          I would like to contribute another data point for this issue.

                           

                           

                          Host Hardware:

                           

                           

                            Model Identifier:    MacBookPro3,1

                            Processor Name:    Intel Core 2 Duo

                            Processor Speed:    2.2 GHz

                            Number Of Processors:    1

                            Total Number Of Cores:    2

                            L2 Cache:    4 MB

                            Memory:    2 GB

                           

                           

                          Host Hard Disk:

                           

                           

                          Capacity:    111.79 GB

                            Model:    FUJITSU MHY2120BH

                            Revision:    0081000D

                           

                           

                          VMWare Fusion Version: 1.1 (62573)

                           

                           

                          Virtual Machine: CentOS Minimal Virtual Appliance, Version 1.1

                           

                           

                          Observed behavior: During operations with heavy disk access (svn copy, svn checkout are common culprits), VMWare Fusion becomes unresponsive (beachball).  After several minutes, the virtual machine reverts to an off state.  VMWare Fusion responds to menu commands.  However, attempts to reboot the virtual machine results in an error message about not being able to acquire an exclusive lock.

                           

                           

                          The host computer will not shut down completely on its own.  It has to be forcibly shut down by holding down the power button.

                           

                           

                          The log file for one such session is attached.  Note that from 9:02 am onward, there are a large number of messages of the form:

                           

                           

                          vmx| SCSI0:0: Command WRITE(10) took x.xxx seconds (ok)

                           

                           

                          This coincides with the first of several Subversion command invocations.

                           

                           

                          To answer bgertzfeld's questions:

                           

                          • Performance on VMWare Preferences is set to "Optimize for virtual machine disk performance"

                          • Time Machine is disabled on the host operating system.

                          • No third-party backup software is in use on the host operating system.

                          • No disk image (.dmg) files are mounted by the host operating system.

                           

                          In addition, FileVault is not in use on the host operating system.

                           

                           

                          • 56. Re: Hangs & Disk Corruption using Ubuntu 7.10 w/Fusion 1.1 + 10.5.1
                            jared.oberhaus Enthusiast

                            bgertzfield, thanks a ton for your work on this problem. I see that Fusion 1.1.1 works around this by always using "Optimize for VM performance". In the past when using that option, my kernel_task would use much more memory because of the buffered IO; I might try using that option again with 1.1 to see how well it works on my current machine.

                             

                            But I hope that when Apple fixes 5679432 there will be a 1.1.2 that will again allow "Optimize for Mac OS application performance". And I sure hope it got fixed in 10.5.2...

                            • 57. Issue continues with 10.5.2
                              bmatheny Lurker

                              I had a repro scenario under 10.5.1 using VMWare Fusion 1.1.1. I could consistently, with CentOS 5, beachball Fusion and cause it to become unresponsive when doing a svn checkout from our repository.

                               

                              Tonight I upgraded to 10.5.2 and had high hopes that with 1.1.1 and 10.5.2 this issue would be resolved. Unfortunately the issue persists.

                               

                              This makes software development in our environment nearly impossible. Does VMware have a fix on the horizon or do I need to stop using Fusion?

                               

                              -Blake

                              • 58. Re: Hangs & Disk Corruption using Ubuntu 7.10 w/Fusion 1.1 + 10.5.1
                                jared.oberhaus Enthusiast

                                Does anyone know if Apple Radar bug 5679432 got fixed in 10.5.2? Given the last comment, it appears not. Also, I have two Mac friends who both run VMware Fusion with Windows, and they have kernel panics and other issues with closing their Mac lids while VMware Fusion is running Windows XP full-screen. I know 1.1.1 has a workaround to avoid the Apple bug, but it might be manifesting itself in a different way on those machines.

                                 

                                Note that I haven't seen any beach ball freezes since I upgraded to 1.1.1 and 10.5.2.

                                • 59. Re: Hangs & Disk Corruption using Ubuntu 7.10 w/Fusion 1.1 + 10.5.1
                                  jared.oberhaus Enthusiast

                                  Thanks VMware and Apple for fixing this:

                                   

                                  VMware Fusion 1.1.1 incorporated a workaround for Apple bug 5679432 (Mac OS X hang under heavy disk load when unbuffered I/O is in use). That version of Fusion disabled unbuffered disk I/O on Mac OS X 10.5 hosts, even if the user selected Optimize for Mac OS application performance in VMware Fusion preferences. Apple fixed this bug in Mac OS X 10.5.3, so VMware Fusion 1.1.3 removes the workaround when the guest operating system is Mac OS X 10.5.3 or higher.