All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: Yihan Li <Yihan.Li@Edgewater.CA>
Cc: linux-kernel@vger.kernel.org
Subject: Re: patch RTAI (fusion-0.6.4) with kernel 2.6.9 on Fedora Core 3
Date: Tue, 30 Nov 2004 08:54:24 -0800	[thread overview]
Message-ID: <41ACA5C0.1060509@osdl.org> (raw)
In-Reply-To: <000901c4d70c$0ecf1bd0$8500a8c0@WS055>

Yihan Li wrote:
> Help needed!
> I am trying to patch RTAI (fusion-0.6.4) with kernel 2.6.9 on Fedora 
> Core 3.
> The following steps are what I was following:
> 
> I download a varnilla version of linux-2.6.9 from www.kernel.org,
> Unpack the kernel source:
> # cd /usr/src
> # tar xvjf linux-2.6.9.tar.bz2
> # ln -s linux-2.6.9 linux
> 
> Unpack or copy RTAI to  /usr/src/fusion-0.6.4.tar.bz2
> # ln -s fusion-0.6.4  rtai
> 
> Patch the kernel:
> # cd /usr/src/linux
> # patch -p1 < ../rtai/arch/i386/patches/adeos-linux-2.6.9-i386-r8.patch
> Copy the existing (Fedora) kernel config file to /usr/src/linux
> # cp /boot/config-2.6.xxxx /usr/src/linux/.configConfigure the kernel:
> # make menuconfig
> # make
> 
> After 8 mins, I get error messages as following:
> drivers/scsi/qla2xxx/qla_os.c: In function `qla2x00_queuecommand':
> drivers/scsi/qla2xxx/qla_os.c:315: sorry, unimplemented: inlining failed in
> call to 'qla2x00_callback': function not considered for inlining
> drivers/scsi/qla2xxx/qla_os.c:269: sorry, unimplemented: called from here
> drivers/scsi/qla2xxx/qla_os.c:315: sorry, unimplemented: inlining failed in
> call to 'qla2x00_callback': function not considered for inlining
> drivers/scsi/qla2xxx/qla_os.c:269: sorry, unimplemented: called from here
> make[3]: *** [drivers/scsi/qla2xxx/qla_os.o] Error 1
> make[2]: *** [drivers/scsi/qla2xxx] Error 2
> make[1]: *** [drivers/scsi] Error 2
> make: *** [drivers] Error 2
> 
> My guess is my configuration is not right, and don't know what to do, 
> really
> need a hand ...
> 
> I wish to be personally CC'ed the answers/comments in response to my
> posting.

Some functions (inline) and function prototypes in that driver are
not in the order needed.  It's been fixed for some time now.
Check linux-2.6.10-rc2 or the -mm patches.

-- 
~Randy

  reply	other threads:[~2004-11-30 18:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-30 18:40 patch RTAI (fusion-0.6.4) with kernel 2.6.9 on Fedora Core 3 Yihan Li
2004-11-30 16:54 ` Randy.Dunlap [this message]
2004-11-30 18:18 ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2004-12-14 15:57 Yihan Li
2004-12-14 16:11 ` Jan Engelhardt
2004-11-30 18:26 Yihan Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41ACA5C0.1060509@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=Yihan.Li@Edgewater.CA \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.