Bugs item #921484, was opened at 2004-03-22 17:06
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=921484&group_id=259

Category: Autoinstall Kernel
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: dann frazier (dannf)
Summary: opteron patches

Initial Comment:
The following patches are for adding native opteron
(x86_64) support to System Imager, especially for
making autoboot cds. These were done on si version
3.0.1, but I don't know that it makes much difference.
I no longer have access to the dual opterons I used to
do this and I don't have access to a high speed line to
check it all out.

There are three areas that were a problem in porting
this. the make.d/kernel.rul file, the dosfstools source
and the mkautoinstallcd file.

The diff for the kernel.rul file is here:

*********************************

diff -i ./make.d/kernel.rul /cdrom/make.d/kernel.rul
15a16,22
> ifeq ($(ARCH),x86_64)
>       LINUX_VERSION = 2.4.20
>       LINUX_URL =
http://www.kernel.org/pub/linux/kernel/v2.4/$(LINUX_TARBALL)
>       LINUX_IMAGE = $(LINUX_SRC)/arch/x86_64/boot/bzImage
>       LINUX_TARGET = bzImage
>       LINUX_DIR = linux-$(LINUX_VERSION)
> endif

**********************************

the diff for the dosfstools is here:

*********************************

diff -i -r ./dosfsck/common.h
/cdrom/src/dosfstools_2.8/dosfsck/common.h
7a8
> #include <linux/byteorder/little_endian.h>
diff -i -r ./dosfsck/io.c
/cdrom/src/dosfstools_2.8/dosfsck/io.c
45c45
< #if defined(__alpha) || defined (__ia64__)
---
> #if defined(__alpha) || defined (__ia64__) || defined
(__x86_64)
diff -i -r ./mkdosfs/mkdosfs.c
/cdrom/src/dosfstools_2.8/mkdosfs/mkdosfs.c
98c98
< #if defined(__alpha) || defined(__ia64__)
---
> #if defined(__alpha) || defined(__ia64__) ||
defined(__x86_64)

************************************

I don&#039;t have access to the changes made to the
mkautoinstallcd script anymore, but it needs to have
the _x86_64 type added on lines 100, 201, 250 and 262.
I was able to get it to boot (up to changing over to
the initrd, where it failed) from the cd making an iso
image this way.

I hope this helps get si on native opteron.

Chuck Morrison


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=921484&group_id=259


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Sisuite-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to