Re: [OE-core] qemu segfaulting when booting ext3 image
Khem Raj wrote: On Wed, May 4, 2011 at 5:40 PM, Zhai, Edwin edwin.z...@intel.com wrote: Raj, We have a bug for Nvidia driver @ http://bugzilla.pokylinux.org/show_bug.cgi?id=649 and a fix @ http://git.pokylinux.org/cgit.cgi/poky-contrib/commit/?h=gzhai/fix2id=f596757000465a4b8350e16f21553a23b8bbedfa http://git.pokylinux.org/cgit.cgi/poky-contrib/commit/?h=gzhai/fix2id=f596757000465a4b8350e16f21553a23b8bbedfa I think it deserves a try. BTW, where is your gl library, including original one and Nvidia's? I doubt the layout may changes in ubuntu 11.04, so that our code failed to detect it. yes this helps indeed. Please propose this patch for oe-core's scripts/runqemu-internal After discussion, we found this patch only works for Ubuntu(Fedora installed Nvidia driver in different way), and there is no elegant fix for all distribution. So we decided that just give out useful info and let end user to do the right thing for their own distribution. Thanks -Khem ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] qemu segfaulting when booting ext3 image
Raj, We have a bug for Nvidia driver @ http://bugzilla.pokylinux.org/show_bug.cgi?id=649 and a fix @ http://git.pokylinux.org/cgit.cgi/poky-contrib/commit/?h=gzhai/fix2id=f596757000465a4b8350e16f21553a23b8bbedfa I think it deserves a try. BTW, where is your gl library, including original one and Nvidia's? I doubt the layout may changes in ubuntu 11.04, so that our code failed to detect it. Thanks, edwin Khem Raj wrote: On Tue, May 3, 2011 at 11:43 AM, Scott Garman scott.a.gar...@intel.com wrote: On 05/03/2011 10:32 AM, Mark Hatle wrote: On 5/3/11 12:27 PM, Khem Raj wrote: On Mon, May 2, 2011 at 5:41 PM, Zhai, Edwinedwin.z...@intel.com wrote: Did you installed Nvidia proprietary driver? Any error mesg from the runqemu script? yes I did and I think that could be a culprit but then why would it work with nfs boot. there is no useful message from script it just collapses The script tries to detect the nvidia drivers. If it finds them is supposed to issue a warning. Sounds like your system might not have a version that it knows how to detect. The Nvidia libGL bug caused a segfault in qemu when booting images, so it should be pretty obvious if that's what's causing it. Given that Khem is booting the nfs version successfully, and not seeing any error message, I think this might be a new error. the host system is 64-bit kubuntu 11.04 with nvidia proprietary drivers. IIRC it worked fine without them but that was a month back. Scott -- Scott Garman Embedded Linux Engineer - Yocto Project Intel Open Source Technology Center ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] qemu segfaulting when booting ext3 image
On Wed, May 4, 2011 at 5:40 PM, Zhai, Edwin edwin.z...@intel.com wrote: Raj, We have a bug for Nvidia driver @ http://bugzilla.pokylinux.org/show_bug.cgi?id=649 and a fix @ http://git.pokylinux.org/cgit.cgi/poky-contrib/commit/?h=gzhai/fix2id=f596757000465a4b8350e16f21553a23b8bbedfa I think it deserves a try. BTW, where is your gl library, including original one and Nvidia's? I doubt the layout may changes in ubuntu 11.04, so that our code failed to detect it. yes this helps indeed. Please propose this patch for oe-core's scripts/runqemu-internal Thanks -Khem ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] qemu segfaulting when booting ext3 image
On 5/3/11 12:27 PM, Khem Raj wrote: On Mon, May 2, 2011 at 5:41 PM, Zhai, Edwin edwin.z...@intel.com wrote: Did you installed Nvidia proprietary driver? Any error mesg from the runqemu script? yes I did and I think that could be a culprit but then why would it work with nfs boot. there is no useful message from script it just collapses The script tries to detect the nvidia drivers. If it finds them is supposed to issue a warning. Sounds like your system might not have a version that it knows how to detect. I can't figure out one case that nfs root works and ext3 image doesn't... Good question, I don't know. In my experience both NFS and ext3 root crashes with the nvidia drivers. I have a patch to the version of QEMU I use that disables all of GL to work around the problem. I believe it's mhatle/qemu on poky-contrib... but it hasn't been updated for a while now. --Mark Khem Raj wrote: Hi I am seeing qemu segfaulting when booting ext3 image. The same rootfs boots fine over nfs. It does not give any useful message as to what happened. I am using the runqemu script. Same used to work fine 3 weeks back. I tried to blame compilers but the behavior is same irrespective of gcc version I use or even eglibc/uclibc Its on x86_64/ubuntu 11.04 host. Anyone experiencing it ? bisecting can be a long excercise for this. Thanks -Khem ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] qemu segfaulting when booting ext3 image
On Tue, May 3, 2011 at 11:43 AM, Scott Garman scott.a.gar...@intel.com wrote: On 05/03/2011 10:32 AM, Mark Hatle wrote: On 5/3/11 12:27 PM, Khem Raj wrote: On Mon, May 2, 2011 at 5:41 PM, Zhai, Edwinedwin.z...@intel.com wrote: Did you installed Nvidia proprietary driver? Any error mesg from the runqemu script? yes I did and I think that could be a culprit but then why would it work with nfs boot. there is no useful message from script it just collapses The script tries to detect the nvidia drivers. If it finds them is supposed to issue a warning. Sounds like your system might not have a version that it knows how to detect. The Nvidia libGL bug caused a segfault in qemu when booting images, so it should be pretty obvious if that's what's causing it. Given that Khem is booting the nfs version successfully, and not seeing any error message, I think this might be a new error. the host system is 64-bit kubuntu 11.04 with nvidia proprietary drivers. IIRC it worked fine without them but that was a month back. Scott -- Scott Garman Embedded Linux Engineer - Yocto Project Intel Open Source Technology Center ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] qemu segfaulting when booting ext3 image
On 05/03/2011 11:43 AM, Scott Garman wrote: On 05/03/2011 10:32 AM, Mark Hatle wrote: On 5/3/11 12:27 PM, Khem Raj wrote: On Mon, May 2, 2011 at 5:41 PM, Zhai, Edwinedwin.z...@intel.com wrote: Did you installed Nvidia proprietary driver? Any error mesg from the runqemu script? yes I did and I think that could be a culprit but then why would it work with nfs boot. there is no useful message from script it just collapses The script tries to detect the nvidia drivers. If it finds them is supposed to issue a warning. Sounds like your system might not have a version that it knows how to detect. The Nvidia libGL bug caused a segfault in qemu when booting images, so it should be pretty obvious if that's what's causing it. Given that Khem is booting the nfs version successfully, and not seeing any error message, I think this might be a new error. Of course, after replying to this message, I read the subject line when it reappeared on the list. My apologizes for not understanding that qemu is indeed segfaulting. So it's quite possible Khem is running into the same bug. Scott -- Scott Garman Embedded Linux Engineer - Yocto Project Intel Open Source Technology Center ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] qemu segfaulting when booting ext3 image
Did you installed Nvidia proprietary driver? Any error mesg from the runqemu script? I can't figure out one case that nfs root works and ext3 image doesn't... Khem Raj wrote: Hi I am seeing qemu segfaulting when booting ext3 image. The same rootfs boots fine over nfs. It does not give any useful message as to what happened. I am using the runqemu script. Same used to work fine 3 weeks back. I tried to blame compilers but the behavior is same irrespective of gcc version I use or even eglibc/uclibc Its on x86_64/ubuntu 11.04 host. Anyone experiencing it ? bisecting can be a long excercise for this. Thanks -Khem ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] qemu segfaulting when booting ext3 image
Hi I am seeing qemu segfaulting when booting ext3 image. The same rootfs boots fine over nfs. It does not give any useful message as to what happened. I am using the runqemu script. Same used to work fine 3 weeks back. I tried to blame compilers but the behavior is same irrespective of gcc version I use or even eglibc/uclibc Its on x86_64/ubuntu 11.04 host. Anyone experiencing it ? bisecting can be a long excercise for this. Thanks -Khem ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core