[ros-dev] rbuild status - need help finalizing

Ge van Geldorp gvg at reactos.com
Sun Apr 24 00:14:35 CEST 2005


> From: Royce Mitchell III
> Sent: Saturday, April 23, 2005 16:43
> To: ReactOS Development List
> Subject: [ros-dev] rbuild status - need help finalizing
> 
> 
> rbuild has one bug ( that we're aware of ) blocking it from 
> being ready to go live.
> 
> Basically, both bootcd and livecd are halting with a 
> "inaccessible_boot_device" after blue.sys.

It seems that a lot of drivers, including atapi.sys and cdrom.sys, don't
contain relocation information. You can check that using "objdump -p
cdrom.sys", which will show:

Characteristics 0x2103
        relocations stripped
        executable
        32 bit words
        DLL

Doing an "objdump -h cdrom.sys" also reveals there's no .reloc section.
This will cause the test at line 1200 of ntoskrnl/ldr/loader.c (function
LdrPEPerformRelocations()) to fail, which in turn means the driver is not
initialized. In the end, that seems to be responsible for the
INACCESSIBLE_BOOT_DEVICE.
I've tried removing the test from loader.c but that causes a page fault when
the driver entry point is called (which didn't really surprise me). The
problem thus seems to be that the relocation information is AWOL.

Gé van Geldorp.




More information about the Ros-dev mailing list