Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: 4gb seg fixup, process on FC6 domU: msg#00114

Subject: Re: 4gb seg fixup, process on FC6 domU
On Wed, Dec 20, 2006 at 07:58:46PM +0500, Asrai khn wrote:
> On 12/20/06, Daniel P. Berrange <berrange@xxxxxxxxxx> wrote:
> >
> >On Wed, Dec 20, 2006 at 07:37:41PM +0500, Asrai khn wrote:
> >> On 12/20/06, Daniel P. Berrange <berrange@xxxxxxxxxx> wrote:
> >> >On Wed, Dec 20, 2006 at 07:19:06PM +0500, Asrai khn wrote:
> >> >
> >> >If you're not using pygrub, then you'll at least need to make sure the
> >> >correct 'kernelcap' file is installed in the guest, with file name
> >> >matching the kernel version.
> >>
> >>
> >> What do you mean by install 'kernelcap' file on guest?
> >> you want me to create this file manually in the specific path and then
> >echo
> >> 'something' to it?
> >
> >Actually i've realized its not the name of the config name which matters.
> >The issue is you need to run 'ldconfig' after creating the config file so
> >that it updates its library cache
> >
> >  echo "hwcap 0 nosegneg" > /etc/ld.conf.so.d/nosegneg.conf
> >  ldconfig
> 
> 
> Right, I did this and run 'ldconfig' afterward but  its
> /etc/ld.so.conf.d/nosegneg.conf not /etc/ld.conf.so.d/nosegneg.conf , may be
> typo
> 
> Once you've done that, you can verify the linker knows about Xen variant
> >by looking for libc mapping. eg before I add the hwcap stuff it shows:
> >
> >  # ldconfig -v -p 2>&1 | grep libc.so
> >        libc.so.6 (libc6, OS ABI: Linux 2.6.9) => /lib/libc.so.6
> 
> 
> I get this before echo thing...
> 
> ldconfig -v -p 2>&1 | grep libc.so
>        libc.so.6 (libc6, OS ABI: Linux 2.6.9) => /lib/libc.so.6
> 
> 
> Once I create the hwcap setting & re-run ldconfig it shows
> >
> >  # ldconfig -v -p 2>&1 | grep libc.so
> >        libc.so.6 (libc6, hwcap: 0x0018000000000000, OS ABI: Linux 2.6.9)
> >=> /lib/i686/nosegneg/libc.so.6
> >        libc.so.6 (libc6, OS ABI: Linux 2.6.9) => /lib/libc.so.6
> 
> 
> After hwcap I get ..
> 
> ldconfig -v -p 2>&1 | grep libc.so
>        libc.so.6 (libc6, hwcap: 0x0018000000000000, OS ABI: Linux 2.6.9) =>
> /lib/i686/nosegneg/libc.so.6
>        libc.so.6 (libc6, OS ABI: Linux 2.6.9) => /lib/libc.so.6
> 
> But still getting those  '4gb seg fixup, process' errors
> 
> ldconfig is enough not need to reboot the guest right?

Nope. All you've done is update the linker cache. This means any new processes
you've spawned will use the correct libc.  Any old processes will still have
the old (Xen unfriendly)  libc mapped into memory. A reboot is the only way
to get everything using the new settings I'm afraid.



NB, even with this change you'll see the 4gb fixup messages if you run any
mono processes - eg beagle or tomboy - this is a bug in the Mono VM for
which there isn't any fix yet.

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe