VMware
1 2 3 4 5 ... 7 Previous Next 99 Replies Last post: Mar 8, 2008 10:19 PM by Damin   Go to original post

Re: ESX 3.0.1 - Linux Guests go ReadOnly

31. Dec 8, 2006 9:52 AM in response to: Damin
Click to view jarjona's profile Novice 6 posts since
Feb 14, 2006
Hello:

I am working on a Fedora Core 6 box, and have the same issue.
Currently running 2.6.18-1.2849. When I try to compile the patch, of course, it breaks horribly:

make -C /lib/modules/2.6.18-1.2849.fc6/build SUBDIRS=/usr/src/fusion clean
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2849.fc6-i686'
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2849.fc6-i686'
make -C /lib/modules/2.6.18-1.2849.fc6/build SUBDIRS=/usr/src/fusion modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2849.fc6-i686'
CC [M] /usr/src/fusion/mptbase.o
/usr/src/fusion/mptbase.c:50:26: error: linux/config.h: No such file or directory
In file included from /usr/src/fusion/mptbase.c:71:
/usr/src/fusion/mptbase.h:1088:28: error: linux/diskdump.h: No such file or directory
/usr/src/fusion/mptbase.c: In function âmpt_suspendâ:
/usr/src/fusion/mptbase.c:1646: error: switch quantity not an integer
/usr/src/fusion/mptbase.c: In function âMakeIocReadyâ:
/usr/src/fusion/mptbase.c:2510: error: implicit declaration of function âcrashdump_modeâ
/usr/src/fusion/mptbase.c:2510: error: implicit declaration of function âdiskdump_mdelayâ
make[2]: *** [/usr/src/fusion/mptbase.o] Error 1
make[1]: *** [_module_/usr/src/fusion] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2849.fc6-i686'
make: *** [default] Error 2

Any patches for this kernel?

Thanks,

-- Juan

Re: ESX 3.0.1 - Linux Guests go ReadOnly

33. Dec 8, 2006 4:17 PM in response to: jarjona
Click to view tsightler's profile Hot Shot 177 posts since
Sep 30, 2005
You should be able to look at the source and make the appropriate change as the code in FC6 is not significantly different in this particular area but I think the file is called mptscsih.c in the newer kernels.

I don't have the FC6 source handy, but basically, if you simply simply take the FC6 source and look in drivers/message/fusion there should be a file called mptscsih.c Open this file and do a search for DID_BUS_BUSY. Approximately the third hit from the top of the file should be a line that looks like this:

sc->result = (DID_BUS_BUSY << 16) | scsi_status;

Simply change the DID_BUS_BUSY to DID_OK so that the line looks like this:

sc->result = (DID_OK << 16) | scsi_status;

And then remcompile and you should be good. If you can't get this to work I can try to put some more specific instructions together in another day or so, perhaps even a download, I just don't have time at the moment.

Later,
Tom

Re: ESX 3.0.1 - Linux Guests go ReadOnly

34. Jan 12, 2007 11:56 AM in response to: Damin
Click to view CMCC's profile Hot Shot 181 posts since
Jul 17, 2006
VMware has uncovered a problem with RHEL4 U3, RHEL4 U4 or SLES9 SP3 virtual machines running on SAN or iSCSI storage. File systems could become read-only in the event of busy I/O retry or path failover. VMware does not recommend ESX Server 3.x customers upgrade virtual machines to these operating systems until this issue is resolved.

From: http://kb.vmware.com/vmtnkb/dynamickc.do?externalId=51306&sliceId=SAL_Public&command=show&forward=nonthreadedKC&kcId=51306

Re: ESX 3.0.1 - Linux Guests go ReadOnly

36. Jan 12, 2007 2:12 PM in response to: Damin
Click to view tsightler's profile Hot Shot 177 posts since
Sep 30, 2005
That is pretty funny. I'm sure glad that lots of users reported it and thus allowed them to "discover" it. I also like the note that was added to the install documentation telling you to look at the KB article which basically says, "if you use RHEL4 U3 or U4 then don't upgrade 3.x" but they still list RHEL4 U3 or U4 as supported for 3.x.

So basically their saying, "We support it, but that doesn't mean we can make it work". Gee thanks, I always wondered what I was paying for.

Oh well, I guess we can look forward to a fix eventually.

Later,
Tom

Re: ESX 3.0.1 - Linux Guests go ReadOnly

37. Jan 15, 2007 9:39 AM in response to: tsightler
Click to view Daniel Herrero's profile Enthusiast 80 posts since
Jan 9, 2006
Hello, have the same problem. Thanks to your comments, we found a solution.

Many thanks to all of you who got involved in this thread, this has been really really helpful.
You rule!

Re: ESX 3.0.1 - Linux Guests go ReadOnly

38. Jan 16, 2007 5:42 PM in response to: Daniel Herrero
Click to view tsightler's profile Hot Shot 177 posts since
Sep 30, 2005
VMware has now posted their "solution" in the KB article, basically just an RPM with new mptscsih modules and a script which makes installing the drivers easier. So far it is only for 32-bit RHEL4 U3 or U4 (looks like that's all they've made binaries for). Still, for people who only want to run "supported" solutions then at least you finally have an option.

Later,
Tom

Re: ESX 3.0.1 - Linux Guests go ReadOnly

39. Jan 17, 2007 12:29 PM in response to: tsightler
Click to view CMCC's profile Hot Shot 181 posts since
Jul 17, 2006
VMware has now posted their "solution" in the KB
article, basically just an RPM with new mptscsih
modules and a script which makes installing the
drivers easier. So far it is only for 32-bit RHEL4
U3 or U4

is this solution useful for my problem???
http://www.vmware.com/community/thread.jspa?threadID=67781&tstart=0

Re: ESX 3.0.1 - Linux Guests go ReadOnly

40. Jan 18, 2007 8:41 AM in response to: CMCC
Click to view tsightler's profile Hot Shot 177 posts since
Sep 30, 2005
No, probably not.

Your problem appears to be that you updated your system and the initrd image does not contain the proper scsi drivers. You will need to boot your RHEL4 U4 CD into rescue mode and fix modprobe.conf file and rebuild your initrd. I'll try to reply with more details in your thread.

Later,
Tom

Re: ESX 3.0.1 - Linux Guests go ReadOnly

41. Jan 18, 2007 8:54 AM in response to: tsightler
Click to view CMCC's profile Hot Shot 181 posts since
Jul 17, 2006
thanks, I really need your help 'cause it's a critical machine and I have just one more day to find a solution...

Re: ESX 3.0.1 - Linux Guests go ReadOnly

42. Jan 18, 2007 11:15 AM in response to: CMCC
Click to view tonywieczorek's profile Lurker 2 posts since
Jan 18, 2007
For those who come to this forum and need a VMWare fix, after much searching I've come up with this link: http://kb.vmware.com/vmtnkb/search.do?cmd=displayKC&docType=kc&externalId=51306&sliceId=SAL_Public

We've been running this patch on several of our production Oracle and web servers for a few days now, and no more of those messages.

Hope this saves some trouble for people!

Re: ESX 3.0.1 - Linux Guests go ReadOnly

43. Jan 19, 2007 8:23 PM in response to: tonywieczorek
Click to view osterber's profile Novice 20 posts since
May 10, 2006
I'm seeing this behavior (Linux guest goes read-only suddenly) on a guest OS that is running on _local_ storage. (I.e., not on a SAN, and not on iSCSI.) Has anyone seen this?

-Rick

Re: ESX 3.0.1 - Linux Guests go ReadOnly

44. Jan 20, 2007 5:31 AM in response to: paithal
Click to view letoatrads's profile Expert 417 posts since
Feb 3, 2006
Do you use NIC teaming?. If yes, could you check if
the problem happen when there is only one uplink?.

Is this being asked because there is a possibility that having a NIC bond going to the ISCSI target could mitigate this issue? The reason I ask is I have several ESX Hosts hitting an EQL ISCSI SAN, and I have several RHEL4 UP4 guests with Sybase Databases running in the on the guest and I've never seen this issue. Even when I've spent 9 or 10 hours loading 1TB+ database.

Reading this thread makes me wonder if I should proactively apply the 'fix', but since I haven't ran into the issue, I'm reluctant to mess with something that is working.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities