Development mailing list

Syndicate content
Archive of posts for haiku-development at FreeLists
Updated: 1 hour 49 min ago

[haiku-development] Re: replacing runtime_loader

Wed, 2016-04-06 19:45
HiAxel, AxelDörflerwrote: HiTim, Am16.03.20164:07nachm.schriebTimKellygtkelly@xxxxxxxxxxxxxxxxx: Iamstillgetting ...
Categories: Development

[haiku-development] Re: replacing runtime_loader

Tue, 2016-04-05 07:45
OnWed,Mar16,2016at6:14PM,TimKellygtkelly@xxxxxxxxxxxxxxxxxwrote: package.IthinkIammissingsomemetadata: TheSYS:PACKAGE{_FILE}attributesareaddedtotheextractedfiles virtuallybythepackagefilesystemtoindicatewhichpackagethe exposedfilesarefrom.Theyaren'tgoingtobepresentontheraw packagefileitself.Assuchthere'snothingwrong/unusualwiththe attributesonyourpackagefilecomparedtothosemountedvirtual files. ...
Categories: Development

[haiku-development] Re: replacing runtime_loader

Mon, 2016-04-04 23:45
IngoWeinholdwrote: Interestingly,calling~/system/runtime_loader--versioncauses runtime_loadertocrash,invokingthedebugger. That's by design. Although it looks like one, runtime_loader is not a regular executable and cannot be executed. ...
Categories: Development

[haiku-development] Re: replacing runtime_loader

Mon, 2016-04-04 15:45
...
Categories: Development

[haiku-development] Re: replacing runtime_loader

Mon, 2016-04-04 15:45
On16.03.201616:07,TimKellywrote: IngoWeinholdwrote: Thefileshouldbeatthepackageroot.Pleasealsocheckthesyslog whetheryourpackagehasbeenactivated. ~/tools/pcc-current/packages/rtlpackagelistruntime_loader.hpkg ...
Categories: Development

[haiku-development] Re: _kern_reserve_address_range

Mon, 2016-04-04 15:45
Ok, as Adrien suggested, the problem appears to occur when two child processes of a parent process request the same exact address (displaying relevant parts of strace -t): [ 1044] _kern_normalize_path(/boot/system/non-packaged/lib/cpp, true, 0x72fee2f8) = 0x00000000 No error (21 us) [1044]_kern_read(0x4,0x0,0x72fed2c4,0x34)=0x00000034(4us) [1044]_kern_read(0x4,0x34,0x72fed2f8,0xa0)=0x000000a0(2us) ...
Categories: Development

[haiku-development] Re: _kern_reserve_address_range

Sun, 2016-04-03 11:45
Followinguponthis, system/kernel/vm/VMUserAddressSpace.cpp VMUserAddressSpace::ReserveAddressRange(size_tsize, constvirtual_address_restrictions*addressRestrictions, uint32flags,uint32allocationFlags,void**_address) { //checktoseeifthisaddressspacehasenteredDELETEstate ...
Categories: Development

[haiku-development] Re: replacing runtime_loader

Sun, 2016-04-03 11:45
IngoWeinholdwrote: The file should be at the package root. Please also check the syslog whether your package has been activated. ~/tools/pcc-current/packages/rtlpackagelistruntime_loader.hpkg package-attributes: name:runtime_loader summary:modifiedruntime_loader ...
Categories: Development

[haiku-development] Re: replacing runtime_loader

Sun, 2016-04-03 11:45
On16.03.201614:06,TimKellywrote: IngoWeinholdwrote: Youdon'thavetoreplacethecompletehaikupackage.Youcanbuilda packagethatcontainsyourruntimeloaderanddeployitin /system/packages.Whenyourruntime_loaderfile'smodifiedtimeis newerthantheoneofthesystempackage,itwillreplacethelatter. ...
Categories: Development

[haiku-development] Re: replacing runtime_loader

Sun, 2016-04-03 11:45
IngoWeinholdwrote: You don't have to replace the complete haiku package. You can build a package that contains your runtime loader and deploy it in /system/packages. When your runtime_loader file's modified time is newer than the one of the system package, it will replace the latter. In the package, where do I put runtime_loader? I have tried at the top level and within a folder system, but neither approach appears to ...
Categories: Development

[haiku-development] Re: replacing runtime_loader

Sun, 2016-04-03 04:45
IngoWeinholdwrote: You don't have to replace the complete haiku package. You can build a package that contains your runtime loader and deploy it in /system/packages. When your runtime_loader file's modified time is newer than the one of the system package, it will replace the latter. That sounds good. I might as well get started on learning how to make a package anyways. Thank you to waddlesplash and Adrien for your suggestions. ...
Categories: Development

[haiku-development] Re: replacing runtime_loader

Sat, 2016-04-02 12:45
On16.03.201601:23,TimKellywrote: Again,thankyoutoeveryonethathascontributedinformationand knowledgeinresponsetomyquestions.Iwouldliketoreplacethe stockruntime_loaderwithonethatreturnsthespecificerrorcodefrom _kernel_reserve_address_range.However,thisdoesnotappeartobe trivial.I'vecompiledruntime_loaderwiththechangeIwouldlike,but Iamnotabletodiscernhowtoreplacethesystemonewiththecompiled one.I'dprefertoavoidbuildinganentireimageandreinstalling.Is ...
Categories: Development