* qemu segfaulting when booting ext3 image @ 2011-04-30 16:34 Khem Raj 2011-05-03 0:41 ` Zhai, Edwin 0 siblings, 1 reply; 13+ messages in thread From: Khem Raj @ 2011-04-30 16:34 UTC (permalink / raw) To: Patches and discussions about the oe-core layer 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 ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: qemu segfaulting when booting ext3 image 2011-04-30 16:34 qemu segfaulting when booting ext3 image Khem Raj @ 2011-05-03 0:41 ` Zhai, Edwin 2011-05-03 17:27 ` Khem Raj 0 siblings, 1 reply; 13+ messages in thread From: Zhai, Edwin @ 2011-05-03 0:41 UTC (permalink / raw) To: Patches and discussions about the oe-core layer 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 > ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: qemu segfaulting when booting ext3 image 2011-05-03 0:41 ` Zhai, Edwin @ 2011-05-03 17:27 ` Khem Raj 2011-05-03 17:32 ` Mark Hatle 0 siblings, 1 reply; 13+ messages in thread From: Khem Raj @ 2011-05-03 17:27 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On Mon, May 2, 2011 at 5:41 PM, Zhai, Edwin <edwin.zhai@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 > 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 > ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: qemu segfaulting when booting ext3 image 2011-05-03 17:27 ` Khem Raj @ 2011-05-03 17:32 ` Mark Hatle 2011-05-03 17:47 ` Khem Raj 2011-05-03 18:43 ` Scott Garman 0 siblings, 2 replies; 13+ messages in thread From: Mark Hatle @ 2011-05-03 17:32 UTC (permalink / raw) To: openembedded-core On 5/3/11 12:27 PM, Khem Raj wrote: > On Mon, May 2, 2011 at 5:41 PM, Zhai, Edwin <edwin.zhai@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 ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: qemu segfaulting when booting ext3 image 2011-05-03 17:32 ` Mark Hatle @ 2011-05-03 17:47 ` Khem Raj 2011-05-03 17:55 ` Mark Hatle 2011-05-03 18:43 ` Scott Garman 1 sibling, 1 reply; 13+ messages in thread From: Khem Raj @ 2011-05-03 17:47 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On (03/05/11 12:32), Mark Hatle wrote: > >> 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. just pass "<-nographic>" to the script > > I believe it's mhatle/qemu on poky-contrib... but it hasn't been updated for a > while now. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: qemu segfaulting when booting ext3 image 2011-05-03 17:47 ` Khem Raj @ 2011-05-03 17:55 ` Mark Hatle 0 siblings, 0 replies; 13+ messages in thread From: Mark Hatle @ 2011-05-03 17:55 UTC (permalink / raw) To: openembedded-core On 5/3/11 12:47 PM, Khem Raj wrote: > On (03/05/11 12:32), Mark Hatle wrote: >>>> 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. > > just pass "<-nographic>" to the script > >> >> I believe it's mhatle/qemu on poky-contrib... but it hasn't been updated for a >> while now. -nographic was not enough as the libGL system was still be initialized, and that for me is where the crash occurred.. --Mark > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: qemu segfaulting when booting ext3 image 2011-05-03 17:32 ` Mark Hatle 2011-05-03 17:47 ` Khem Raj @ 2011-05-03 18:43 ` Scott Garman 2011-05-03 19:08 ` Khem Raj 2011-05-03 20:29 ` Scott Garman 1 sibling, 2 replies; 13+ messages in thread From: Scott Garman @ 2011-05-03 18:43 UTC (permalink / raw) To: openembedded-core 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, Edwin<edwin.zhai@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. Scott -- Scott Garman Embedded Linux Engineer - Yocto Project Intel Open Source Technology Center ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: qemu segfaulting when booting ext3 image 2011-05-03 18:43 ` Scott Garman @ 2011-05-03 19:08 ` Khem Raj 2011-05-05 0:40 ` Zhai, Edwin 2011-05-03 20:29 ` Scott Garman 1 sibling, 1 reply; 13+ messages in thread From: Khem Raj @ 2011-05-03 19:08 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On Tue, May 3, 2011 at 11:43 AM, Scott Garman <scott.a.garman@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, Edwin<edwin.zhai@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 > ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: qemu segfaulting when booting ext3 image 2011-05-03 19:08 ` Khem Raj @ 2011-05-05 0:40 ` Zhai, Edwin 2011-05-05 3:40 ` Khem Raj 0 siblings, 1 reply; 13+ messages in thread From: Zhai, Edwin @ 2011-05-05 0:40 UTC (permalink / raw) To: Patches and discussions about the oe-core layer 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/fix2&id=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.garman@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, Edwin<edwin.zhai@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 > ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: qemu segfaulting when booting ext3 image 2011-05-05 0:40 ` Zhai, Edwin @ 2011-05-05 3:40 ` Khem Raj 2011-05-05 6:31 ` Zhai, Edwin 0 siblings, 1 reply; 13+ messages in thread From: Khem Raj @ 2011-05-05 3:40 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On Wed, May 4, 2011 at 5:40 PM, Zhai, Edwin <edwin.zhai@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/fix2&id=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 ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: qemu segfaulting when booting ext3 image 2011-05-05 3:40 ` Khem Raj @ 2011-05-05 6:31 ` Zhai, Edwin 2011-05-05 6:40 ` Khem Raj 0 siblings, 1 reply; 13+ messages in thread From: Zhai, Edwin @ 2011-05-05 6:31 UTC (permalink / raw) To: Patches and discussions about the oe-core layer Khem Raj wrote: > > On Wed, May 4, 2011 at 5:40 PM, Zhai, Edwin <edwin.zhai@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/fix2&id=f596757000465a4b8350e16f21553a23b8bbedfa > <http://git.pokylinux.org/cgit.cgi/poky-contrib/commit/?h=gzhai/fix2&id=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 > ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: qemu segfaulting when booting ext3 image 2011-05-05 6:31 ` Zhai, Edwin @ 2011-05-05 6:40 ` Khem Raj 0 siblings, 0 replies; 13+ messages in thread From: Khem Raj @ 2011-05-05 6:40 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On (05/05/11 14:31), Zhai, Edwin wrote: > > > Khem Raj wrote: > > > >On Wed, May 4, 2011 at 5:40 PM, Zhai, Edwin <edwin.zhai@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/fix2&id=f596757000465a4b8350e16f21553a23b8bbedfa <http://git.pokylinux.org/cgit.cgi/poky-contrib/commit/?h=gzhai/fix2&id=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. We could always poke for distro type and distro versions if need be via parsing ( /etc/lsb-release e.g.) and do whatever distro needs in conditionals. > > >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 -- -Khem ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: qemu segfaulting when booting ext3 image 2011-05-03 18:43 ` Scott Garman 2011-05-03 19:08 ` Khem Raj @ 2011-05-03 20:29 ` Scott Garman 1 sibling, 0 replies; 13+ messages in thread From: Scott Garman @ 2011-05-03 20:29 UTC (permalink / raw) To: openembedded-core 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, Edwin<edwin.zhai@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 ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2011-05-05 6:44 UTC | newest] Thread overview: 13+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-04-30 16:34 qemu segfaulting when booting ext3 image Khem Raj 2011-05-03 0:41 ` Zhai, Edwin 2011-05-03 17:27 ` Khem Raj 2011-05-03 17:32 ` Mark Hatle 2011-05-03 17:47 ` Khem Raj 2011-05-03 17:55 ` Mark Hatle 2011-05-03 18:43 ` Scott Garman 2011-05-03 19:08 ` Khem Raj 2011-05-05 0:40 ` Zhai, Edwin 2011-05-05 3:40 ` Khem Raj 2011-05-05 6:31 ` Zhai, Edwin 2011-05-05 6:40 ` Khem Raj 2011-05-03 20:29 ` Scott Garman
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox