public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* patch RTAI (fusion-0.6.4) with kernel 2.6.9 on Fedora Core 3
@ 2004-11-30 18:40 Yihan Li
  2004-11-30 16:54 ` Randy.Dunlap
  2004-11-30 18:18 ` Alan Cox
  0 siblings, 2 replies; 6+ messages in thread
From: Yihan Li @ 2004-11-30 18:40 UTC (permalink / raw)
  To: linux-kernel

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.



^ permalink raw reply	[flat|nested] 6+ messages in thread
* patch RTAI (fusion-0.6.4) with kernel 2.6.9 on Fedora Core 3
@ 2004-12-14 15:57 Yihan Li
  2004-12-14 16:11 ` Jan Engelhardt
  0 siblings, 1 reply; 6+ messages in thread
From: Yihan Li @ 2004-12-14 15:57 UTC (permalink / raw)
  To: linux-kernel

Need help again!
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:
I download patch 2.6.9-ac15 and patch to kernel 2.6.9
Then I patched RTAI to 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

I looked at the source code of qla_os.c, which belong to Qlogic ISP2x00 
device driver.
So I redo my configuration. I didn't choose Qlogic ISP2x00 and Qlogic PCMCIA 
device driver.
After that, the make finished without error.
Then I install the kernel:
# make modules_install install

The following warning is what I got:

  INSTALL sound/usb/snd-usb-lib.ko
  INSTALL sound/usb/usx2y/snd-usb-usx2y.ko
if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.6.9-ac15; fi
  CHK     include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
sh /usr/src/linux-2.6.9/arch/i386/boot/install.sh 2.6.9-ac15 
arch/i386/boot/bzImage System.map "/boot"
WARNING: No module sata_via found for kernel 2.6.9-ac15, continuing anyway

Module sata_via is mainly for what? What can I do now? I need a hand ...

I wish to be personally CC'ed the answers/comments in response to my
posting.



^ permalink raw reply	[flat|nested] 6+ messages in thread
* patch RTAI (fusion-0.6.4) with kernel 2.6.9 on Fedora Core 3
@ 2004-11-30 18:26 Yihan Li
  0 siblings, 0 replies; 6+ messages in thread
From: Yihan Li @ 2004-11-30 18:26 UTC (permalink / raw)
  To: linux-kernel

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# makeAfter 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 inliningdrivers/scsi/qla2xxx/qla_os.c:269: sorry, 
unimplemented: called from heredrivers/scsi/qla2xxx/qla_os.c:315: sorry, 
unimplemented: inlining failed in call to 'qla2x00_callback': function not 
considered for inliningdrivers/scsi/qla2xxx/qla_os.c:269: sorry, 
unimplemented: called from heremake[3]: *** [drivers/scsi/qla2xxx/qla_os.o] 
Error 1make[2]: *** [drivers/scsi/qla2xxx] Error 2make[1]: *** 
[drivers/scsi] Error 2make: *** [drivers] Error 2My 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.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-12-14 16:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox