[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bgl-discuss] elf format ramdisk for I/O node



Excellent work, Kaz.  Just a couple of comments.

Currently, we are associating a ramdisk and kernel with a specific
partition.  If you have a partition and you wish to work with ramdisks and
kernels different from the default ones, just let me know and we can set
your partition up to use symlinks that you control.  Eventually, we plan
on the scheduler handling dynamic kernel and ramdisk choices at runtime.
Narayan is working on the scheduler.

FYI, if you run into a problem with code, etc., that you want IBM to
debug, the problem has to show up in the IBM supported environment.  The
IBM supported environment is their default ramdisk and kernel, their
default compilers and at least a 512 node partition.

Susan.

On Tue, 8 Feb 2005, Kazutomo Yoshii wrote:

> Hi,
>
> I made tools to extract gzip'ed ramdisk from elf ramdisk
> and create elf ramdisk with your gzip'ed ramdisk.
>
> Here is quick usage
>
> # ./extract-gzrd ramdisk.elf rd.gz
> extract rd.gz from ramdisk.elf
>
> # ./create-elfrd rd.gz newramdisk.elf
> create newramdisk.elf with rd.gz
>
> you can find them at bgl.mcs.anl.gov:/home/kazutomo/bin/
> ( I'll put the source code to cvs tomorrow. )
>
> It works on both ppc(BigEndian) and x86(little endian).
>
> You can also create your elf ramdisk using the gnu ld command
> on ppc platoform. information from Pete
>
> # ${CROSS}ld -b binary -e 0 -o ramdisk.img.elf ramdisk.img.gz
> # ${CROSS}ld -T ramdisk.lds -o ramdisk.elf
> # cat ramdisk.lds
> OUTPUT_ARCH(powerpc)
> SECTIONS
> {
> .data 0x1000000: {
> LONG(0xf0e1d2c3);
> LONG(ramdisk_end - ramdisk_start);
> ramdisk_start = .;
> ramdisk.img.elf
> ramdisk_end = .;
> }
> }
>
> 8 bytes at the beginning of data is tricky...
>
> Thanks,
> Kaz
>
>
>
> - --------------------------------------------------------------------
> To add or remove yourself from this mailing list, use the 'notifyme'
> command on any BGL machine. To remove: notifyme -n, to add: notifyme -y.
>
>

- --------------------------------------------------------------------
To add or remove yourself from this mailing list, use the 'notifyme'
command on any BGL machine. To remove: notifyme -n, to add: notifyme -y.