Forum Topic - diskboot source code:
   
diskboot source code  
Hi,

where can I find source code of the diskboot application ?

Regards,
Jacek
Re: diskboot source code  
In the master source tree, it is utils/d/diskboot/ but I havent checked if that's been echoed to the public svn server. 
-ad


Jacek Rudnicki wrote:
> Hi,
> 
> where can I find source code of the diskboot application ?
> 
> Regards,
> Jacek
> 
> 
> 
> _______________________________________________
> 
> OSTech
> http://community.qnx.com/sf/go/post46279
> 

Re: diskboot source code  
I just checked. Diskboot is not published on the F27 svn server. Not sure why. -ad

Attilla Danko wrote:
> In the master source tree, it is utils/d/diskboot/ but I havent checked 
> if that's been echoed to the public svn server. -ad
> 
> 
> Jacek Rudnicki wrote:
>> Hi,
>>
>> where can I find source code of the diskboot application ?
>>
>> Regards,
>> Jacek
>>
>>
>>
>> _______________________________________________
>>
>> OSTech
>> http://community.qnx.com/sf/go/post46279
>>
> 
> 

Re: diskboot source code  
Hi,

Is it possible to get diskboot source code ?

Regards,
Jacek
Re: diskboot source code  
I'm not sure what the process is for publishing code that isnt current published. But i've emailed the powers-that-be. -
ad

Jacek Rudnicki wrote:
> Hi,
> 
> Is it possible to get diskboot source code ?
> 
> Regards,
> Jacek
> 
> 
> 
> _______________________________________________
> 
> OSTech
> http://community.qnx.com/sf/go/post46370
> 

RE: diskboot source code  
I believe the best way to facilitate and expedite this is to contact
your QNX sales representative.

Chris

-----Original Message-----
From: Attilla Danko [mailto:community-noreply@qnx.com] 
Sent: Tuesday, February 02, 2010 10:17 AM
To: ostech-core_os
Subject: Re: diskboot source code

I'm not sure what the process is for publishing code that isnt current
published. But i've emailed the powers-that-be. -ad

Jacek Rudnicki wrote:
> Hi,
> 
> Is it possible to get diskboot source code ?
> 
> Regards,
> Jacek
> 
> 
> 
> _______________________________________________
> 
> OSTech
> http://community.qnx.com/sf/go/post46370
> 





_______________________________________________

OSTech
http://community.qnx.com/sf/go/post46385
Re: RE: diskboot source code  
Hi,

There are several computers running QNX 6.2.1 (Patch B) and now we have to replace HDD in every node.

As we know there is a 'lba48' parametr but this option is disabled by default in the devb-eide.

For larger disks IDE/ATA driver must be started as follows:
devb-eide ... eide master=lba48=on
or
devb-eide ... eide...,master=lba48=on

-------------------------------------
By default diskboot starts devb-eide with the following parameters:
devb-eide blk auto=partition dos exe=all cam quiet

and:
devb-eide blk auto=partition dos exe=all cam quiet eide nobmstr ...
if we pass any option to the devb-eide.

For example if I call diskboot in this way:
diskboot ... -o"devb-eide,eide master=lba48=on"
then we get:
devb-eide blk auto=partition dos exe=all cam quiet eide nobmstr eide master=lba48=on

or:
diskboot ... -o"devb-eide,,master=lba48=on"
then we get:
devb-eide blk auto=partition dos exe=all cam quiet eide nobmstr ,master=lba48=on

In both cases HDD size is not recognized properly due to space after "nobmstr".

Am I doing something wrong ?

I know that QNX 6.2.1 is quite old...
... but maybe somebody can modify diskboot.

It is enough to remove "eide nobmstr " or space after nobmstr from it.
 
Regards,
Jacek
Re: diskboot source code  
You could always write a devb-eide launcher and name it devb-eide.  It 
could manipulate command-line arguments passed in (as needed) then 
exec() into the real devb-eide (which you will rename to devb-eide.real 
or something).  It's not ideal, but at least it's simple and doesn't 
require you to modify diskboot.

-- 
Ryan J. Allen
QNX Software Systems
Re: diskboot source code  
If you're going to that extent, why not simply eliminate diskboot 
altogether?

On 10-02-03 12:40 PM, Ryan Allen wrote:
> You could always write a devb-eide launcher and name it devb-eide.  It
> could manipulate command-line arguments passed in (as needed) then
> exec() into the real devb-eide (which you will rename to devb-eide.real
> or something).  It's not ideal, but at least it's simple and doesn't
> require you to modify diskboot.
>
>    

-- 
cburgess@qnx.com
Re: diskboot source code  
I definitely can't argue with that. :)

-- 
Ryan J. Allen
QNX Software Systems


Colin Burgess wrote:
> If you're going to that extent, why not simply eliminate diskboot 
> altogether?