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
      • 31. Re: Hangs & Disk Corruption using Ubuntu 7.10 w/Fusion 1.1 + 10.5.1
        rcardona2k Champion
        cthree wrote:

        Do it with CentOS 5. RHEL 5 IS a supported guest OS and you'll get the same result.

         

        Good

         

        Asking for support with Ubuntu 7.10

         

        Bad

         

        Pretty lame of them to blow you off like that.

         

        Ugly

         

         




         

        Opinions.

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

          It is a blow off. Saying Ubuntu 7.10 is unsupported doesn't fix the problem or help the customer. All it does is churn the problem through the help desk. If he used RHEL 5.1 he would have the same problem as documented above. The problem remains and a number of customers are left with a product which doesn't do what its supposed to.

           

          The problem is Linux not Ubuntu. I've been asking about this for almost 2 months, ever since Leopard was released, and the threads keep getting merged, fainting a desire to gather information and resolve it.

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

            It is absolutely a general disk backend issue, and it's unrelated to the guest.  We're trying to reproduce it and figure out what the bug is.  Unfortunately, there seems to be three or four different reproduction scenarios here, none of which are 100% repro cases.

             

            The support folks really don't have the ability to make the call whether a particular bug is or is not guest-specific; they can't tell the difference between someone running a totally unsupported guest like OS/2, and someone running an almost-supported guest like the latest Ubuntu or Fedora versions.  I know that isn't a really satisfying answer, but that's probably why the support team was unable to directly answer your question.

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

              Thank you!

               

              That is great news. Since I seem to be able to reproduce this problem with ease I am more than willing to work with you to get the information you need to identify the conditions of the crash and hopefully reproduce it yourselves in your lab. Feel free to email me with any instructions to gather the info you need should you need it.

               

              Clear and straightforward communications are good.

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

                I agree with bgertzfield. The tech support guys are doing the best they can to insulate the developers from the thousands of support requests that would keep them from getting anything done. I also appreciate his help in getting to the bottom of this.

                 

                As for collecting info, would it help to capture a kernel dump when this happens next? I'm reading the Apple technotes now on setting up kdumpd and enabling NMI when you hit Cmd-Power so the dump can be generated. Just wondering if bgertzfield thinks this will produce information that is useful; when VMware Fusion hangs, the rest of the machine still works--except it won't shut down. I believe that getting such a kernel dump might show where the Fusion kernel module was stuck, but I don't know if that's the case.

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

                  Thanks, Jared.

                  

                  It would definitely help to capture a list of kernel stacks when this happens.  If you can attach a kernel debugger and use the 'showallstacks' function from the 'kgmacros' script in the Kernel Debug Kit, that'll give us exactly the information we need.

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

                    It is absolutely a general disk backend issue, and it's unrelated to the guest.  We're trying to reproduce it and figure out what the bug is.  Unfortunately, there seems to be three or four different reproduction scenarios here, none of which are 100% repro cases.

                     

                     

                     

                    I've switched back to Parallels after hitting this problem because I no longer need x86_64 support right now and Parallels doesn't crash on me, but I'm sure I will need it in our next round of development so I'll need this fixed (or Parallels with x86_64 support) by then.  If you're interested, I'll look into creating a small (8MB or so) Linux VM and program or script that will reproduce this.  I see it when compiling since I'm a cross compiling maniac, but like you said, I'm certain it is disk activity that triggers it.

                     

                    I've not done any OS X kernel work before but this might be a good opportunity to cut teeth on at least the tools available to get a stack trace, too.

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

                      I've switched back to Parallels after hitting this problem because I no longer need x86_64 support right now and Parallels doesn't crash on me, but I'm sure I will need it in our next round of development so I'll need this fixed (or Parallels with x86_64 support) by then.  If you're interested, I'll look into creating a small (8MB or so) Linux VM and program or script that will reproduce this.  I see it when compiling since I'm a cross compiling maniac, but like you said, I'm certain it is disk activity that triggers it.

                       

                      I've not done any OS X kernel work before but this might be a good opportunity to cut teeth on at least the tools available to get a stack trace, too.

                       

                      Hi bapper,

                       

                      Sorry to hear that you also ran into the problem.  Just one question: did you also have the "Optimize for Mac OS application performance" option selected in the VMware Fusion Preferences menu?

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

                         

                        I can send you a complete Ubuntu Linux with VMware tools and a few applications installed along with a set of imstructions to reproduce it. I's about 1.2GB though.

                         

                         

                        Sorry I can't be of much use in debugging.

                         

                         

                         

                         

                         

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

                           

                           

                          Sorry to hear that you also ran into the problem.  Just one question: did you also have the "Optimize for Mac OS application performance" option selected in the VMware Fusion Preferences menu?

                           

                          I had it set to "Optimize for guest OS" (or whatever the opposite setting is) but I believe I tried just about every configuration I could readily set and still hit the issue.  I even tried turning off networking, USB, CDROM, etc. to see if anything there affected it.  I hit it every time I tried to get some work done so it wasn't something I could stick with.  This was mostly with Fedora 7 and 8, but I saw it when I tried it with some custom built 2.6.2x kernel linux installs as well.  I tried it with and without ACPI and APM enabled, single and dual CPU settings.  I can't remember if I tried using IDE instead of SCSI emulation or not.  I have to take the next couple of weeks off so while I'm sitting around visiting family I'll come up with a quick reproducer for you since I'd like to see this fixed.

                           

                          FWIW, my Mac is a Macbook Pro Core 2 duo, 2.33Ghz with 3GB of RAM.  My Leopard install was an upgrade and not a fresh install, but it sounds like that doesn't matter.  I didn't see this problem on Tiger, I used Fusion all day every day for a couple of months before Leopard and didn't see any real issues.  Had Parallels not worked I would have went back Tiger.

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

                            OK, I tried really hard for a while to get my Windows XP VM to hang, but I couldn't. It's happened to me in the past, happened to posters on this thread, and a friend of mine had it happened to him last week.

                             

                            But I can easily replicate this hang using Ubuntu 7.x.

                             

                            Ths is what I did:

                            • Opened Ubuntu VM

                            • sudo /usr/bin/vmware-toolbox

                            • Started the Shrink procedure for my root drive (something that does lots of disk activity)

                            • Started Time Machine in OS X

                            • Before the Shrink procedure could finish "preparing" for the shrink, I got the freeze.

                            • I captured several kernel dumps.

                             

                            Attached are four stack traces, and txt files describing at what point I did them. Here are the four stages:

                             

                            01 - as soon as the vm froze... time machine still running

                            02 - After time machine completed, but VMware Fusion front end still running (and not responding)

                            03 - After killing VMware Fusion front-end and vmware-vmx process

                            04 - Tried to shutdown, but kernel is hanging...

                             

                            This attachment is 28k tgz, but I also have a 186m tgz that also contains the full kernel dumps. If you need that, maybe we can arrange a way to transmit?

                             

                            And to anyone else, getting kernel dumps actually isn't that hard. Here is the page that you want to read:

                            http://developer.apple.com/technotes/tn2004/tn2118.html

                             

                            Note that kdumpd is distributed with OSX, but it's a pretty trivial C program that runs from xinetd; if you download the source you can compile it without modification on Linux for instance. You'll have to go here:

                            http://www.opensource.apple.com/darwinsource/

                            to find the source for your kernel:

                            http://www.opensource.apple.com/darwinsource/10.5/

                            and then you'll want the network_cmds project, which will contain kdumpd source.

                             

                            Also note that when you do kernel dumps, you follow the instructions in the above tech note to make Cmd-Power do a kernel dump. Note that for the config suggested on that page it will dump your kernel and then continue execution. That's how I was able to capture the kernel dump at 4 separate points.

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

                              Hi Jared,

                               

                              This is excellent stuff.  I deeply appreciate your hard work getting these kernel stack traces.  I've attached them to the bug we're using to internally track this.

                               

                              So, to recap, you are:

                               

                              1) Using Time Machine

                              2) Switching between "Optimize for Mac OS application performance" and "Optimize for virtual machine disk performance" (which doesn't affect the issue)

                               

                              Are you also using File Vault on this machine?

                               

                              In each of your kernel stack traces, I see this:

                               

                              task        vm_map      ipc_space  #acts   pid  proc        command

                              0x049db7f8  0x04357f78  0x03ab97e8    4    840  0x0437e4d0  diskimages-helpe

                                          thread      processor   pri  state  wait_queue  wait_event

                                          0x04e395d0  0x005360c0   31  W     0x05224edc  0x5313e0

                                        0x3434fb78  0x439e07 <IOUserClient::externalMethod(unsigned int, IOExternalMethodArguments, IOExternalMethodDispatch, OSObject, void)+837>

                                        0x3434fbd8  0x4379b0

                               

                              I would not at all be surprised if this were a bug in Apple's com.apple.driver.DiskImages driver.

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

                                I switched my network from bridgedd to NAT last night, then did a pretty large update and it didn't fail. It's just a data point, I haven't tried switching back and forth to see if it really makes a difference.

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

                                  In my case, I'd turned off Time Machine for testing, and I've never used File Vault. I did a clean installation of Leopard, installed no non-Apple software other than Fusion, started to install CentOS in a VM, and it hung 97% of the way through the install.

                                   

                                  The optimize for Mac OS app performance/optimize for VM performance setting hasn't made a difference for me.