Paul, thanks a lot for sharing,
A couple of questions:
1. The files you sent look like diffs, how should I use them?
should I manually copy the changes visible in those diffs
or there is some sort of semi-automatic way to do this?
2. Is there any logic in the way you placed those diffs in A,B,C files?
Or there is no special meaning in that.
3. My target platform is x86_64, you said there are some relevant changes in those
files, but they were not tested. Do you know of anything else x86_64 related that
I should pay attention to?
Again, thanks a lot for sharing,
--
Eugene
-----Original Message-----
From: Paul Landay <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]; [email protected]
Sent: Fri, 03 Feb 2006 08:25:05 -0500
Subject: [Linux-streams] RH 2.6 64-bit experience needed
> Hello,
> I plan to move my driver to 64-bit RH 2.6.9-5ELsmp.
> I'd like to know if people on the list have experience
> with 64-bit RH that they could share.
> Looks like Dan have some good results with that.
> The 1st problem I noticed it that Configure script cannot figure out > if my system is SMP.
> There seems to be special RH-oriented function in Configure:
> # Red Hat helper for getting SMP info
> rh_get_smp()
> but I do not see who calls it.
> Anyway, I'll appreciate any 64-bit experience in
> building and debugging.
Attached are three patches which we apply on top of the
LiS 2.18.0 from ftp.gcom.com. These patches allow us
to build and run on RHEL4 and SLES9 for ppc6 4 and s390x
(64bit) platforms. They also contain changes for the
x86_64 platform, but those have not been tested yet.
Before running the LiS 'make' we do this:
RHEL4:
ln -fs /usr/src/kernels/2.6.9-5.EL-smp-i686 /usr/src/linux
change the '2.6.9-5.EL-smp-i686' as needed
SLES9:
cd /usr/src/linux-2.6.5-7.xxx
change the '2.6.5-7.xxx' as needed
make cloneconfig
make modules_prepare
There are parts of those patches which you may not want
to use in your case, in particular the change to __SID
in stropts.h which was needed for s390x (IBM Mainframes).
Paul Landay
> I plan to move my driver to 64-bit RH 2.6.9-5ELsmp.
> I'd like to know if people on the list have experience
> with 64-bit RH that they could share.
> Looks like Dan have some good results with that.
> The 1st problem I noticed it that Configure script cannot figure out > if my system is SMP.
> There seems to be special RH-oriented function in Configure:
> # Red Hat helper for getting SMP info
> rh_get_smp()
> but I do not see who calls it.
> Anyway, I'll appreciate any 64-bit experience in
> building and debugging.
Attached are three patches which we apply on top of the
LiS 2.18.0 from ftp.gcom.com. These patches allow us
to build and run on RHEL4 and SLES9 for ppc6 4 and s390x
(64bit) platforms. They also contain changes for the
x86_64 platform, but those have not been tested yet.
Before running the LiS 'make' we do this:
RHEL4:
ln -fs /usr/src/kernels/2.6.9-5.EL-smp-i686 /usr/src/linux
change the '2.6.9-5.EL-smp-i686' as needed
SLES9:
cd /usr/src/linux-2.6.5-7.xxx
change the '2.6.5-7.xxx' as needed
make cloneconfig
make modules_prepare
There are parts of those patches which you may not want
to use in your case, in particular the change to __SID
in stropts.h which was needed for s390x (IBM Mainframes).
Paul Landay
Try the New Netscape Mail Today!
Virtually Spam-Free | More Storage | Import Your Contact List
http://mail.netscape.com
