yanghg

rt preempt howto

yanghg | 29 September, 2010 03:01

参考:    http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html#BUILDING //内核编译
    https://rt.wiki.kernel.org/index.php/RT_PREEMPT_HOWTO
我的配置: Fedora 13
     gcc version 4.4.4 20100630 (Red Hat 4.4.4-10) (GCC)
     amd 64
2. 对源码打补丁
    # tar xfj linux-2.6.33.7.tar.bz2
    # cd linux-2.6.33.7
    # bzcat ../patch-2.6.33.7-rt29.bz2 | patch -p1
3. 配置内核
    # cp /boot/config-2.6.34.7-56.fc13.i686 .config //使用你使用的配置文件
    # make menuconfig
    确保以下选项设置如下:
    CONFIG_PREEMPT_RT yes
    High Resolution Timer Support yes
    disabled all Power Management Options like ACPI or APM no
4. 编译
    # make -j 2
     drivers/pci/hotplug/ibmphp_hpc.c: In function ‘ibmphp_hpc_initvars’:
    drivers/pci/hotplug/ibmphp_hpc.c:135: error: implicit declaration of function ‘sema_init’
    drivers/pci/hotplug/ibmphp_hpc.c: In function ‘ibmphp_lock_operations’:
    drivers/pci/hotplug/ibmphp_hpc.c:797: error: implicit declaration of function ‘down’
    drivers/pci/hotplug/ibmphp_hpc.c: In function ‘ibmphp_unlock_operations’:
    drivers/pci/hotplug/ibmphp_hpc.c:807: error: implicit declaration of function ‘up’
    make[3]: *** [drivers/pci/hotplug/ibmphp_hpc.o] Error 1
    make[2]: *** [drivers/pci/hotplug] Error 2
    make[1]: *** [drivers/pci] Error 2
    make: *** [drivers] Error 2
    
    http://comments.gmane.org/gmane.linux.rt.user/5780 //参考
    CONFIG_STAGING:                                                                                                        │  
  │                                                                                                                        │  
  │ This option allows you to select a number of drivers that are                                                          │  
  │ not of the "normal" Linux kernel quality level.  These drivers                                                         │  
  │ are placed here in order to get a wider audience to make use of                                                        │  
  │ them.  Please note that these drivers are under heavy                                                                  │  
  │ development, may or may not work, and may contain userspace                                                            │  
  │ interfaces that most likely will be changed in the near                                                                │  
  │ future.                                                                                                                │  
  │                                                                                                                        │  
  │ Using any of these drivers will taint your kernel which might                                                          │  
  │ affect support options from both the community, and various                                                            │  
  │ commercial support organizations.                                                                                      │  
  │                                                                                                                        │  
  │ If you wish to work on these drivers, to help improve them, or                                                         │  
  │ to report problems you have with them, please see the                                                                  │  
  │ driver_name.README file in the drivers/staging/ directory to                                                           │  
  │ see what needs to be worked on, and who to contact.                                                                    │  
  │                                                                                                                        │  
  │ If in doubt, say N here.
    # make clean
    # make menuconfig //重新配置,关掉 CONFIG_STAGING ,你可以 按下 / 键来搜索到此选项
    # make -j2  //我的是双核 -j2 这样编译的更快
drivers/pci/hotplug/ibmphp_hpc.c: In function ‘ibmphp_hpc_initvars’:
drivers/pci/hotplug/ibmphp_hpc.c:135: error: implicit declaration of function ‘sema_init’
drivers/pci/hotplug/ibmphp_hpc.c: In function ‘ibmphp_lock_operations’:
drivers/pci/hotplug/ibmphp_hpc.c:797: error: implicit declaration of function ‘down’
drivers/pci/hotplug/ibmphp_hpc.c: In function ‘ibmphp_unlock_operations’:
drivers/pci/hotplug/ibmphp_hpc.c:807: error: implicit declaration of function ‘up’
make[3]: *** [drivers/pci/hotplug/ibmphp_hpc.o] Error 1
make[2]: *** [drivers/pci/hotplug] Error 2
make[1]: *** [drivers/pci] Error 2
make[1]: *** Waiting for unfinished jobs....


# make menuconfig // 查找 PCI ,看到
Symbol: HOTPLUG_PCI_CPCI_GENERIC [=n]                                                                                  │  
  │ Prompt: Generic port I/O CompactPCI Hotplug driver                                                                     │  
  │   Defined at drivers/pci/hotplug/Kconfig:120                                                                           │  
  │   Depends on: HOTPLUG_PCI [=y] && HOTPLUG_PCI_CPCI [=n] && X86 [=y]                                                    │  
  │   Location:                                                                                                            │  
  │     -> Bus options (PCI etc.)                                                                                          │  
  │       -> Support for PCI Hotplug (HOTPLUG_PCI [=y])                                                                    │  
  │         -> CompactPCI Hotplug driver (HOTPLUG_PCI_CPCI [=n])
把 HOTPLUG_PCI 改为 N
重试
# make -j2
# make modules_install  //The freshly baked modules will be copied into /lib/modules/KERNEL_VERSION
# make install  //系统将会把vmlinuz和System.map复制到/boot目录下同时修改grub
sh /home/Joseph/Desktop/wf/linux-2.6.33.7/arch/x86/boot/install.sh 2.6.33.7-rt29 arch/x86/boot/bzImage \
        System.map "/boot"
ERROR: modinfo: could not find module pata_acpi
# reboot

Comments

«Previous   1 2 3  Next»

Re: rt preempt howto

lilili | 20/05/2013, 21:09

This is no small mulberry outlet feat, as a normal value tag for a Mulberry Norge is about 600 lbs They are assisted by the City gucci belt Environmentalist, Mike Kirby in saving as many heritage mulberry outlet trees Gucci outlet as possible and getting the message out to the public Grenada And did you know that louis vuitton Ralph mulberry outlet Lauren is a shareholder of the exclusive Round Hill resort in Jamaica? mulberry bags Fashion designers first went into properties in a significant way in the late mulberry outlet 1990s In mulberry The NewsA Polk County, Fla Various them mulberry factory shop really are a demand for business women Several years ago, I emerged mulberry sale triumphant from the Brown louis vuitton belt Thomas sale with buttersoft Prada boots with 50pc off even mulberry bags though Gucci someone offered me 50 of your good Irish pounds to let mulberry outlet uk store them have the boots louis vuitton outlet Jewell works cheap mulberry handbags with Wichita Falls, Tx Third adult in the mulberry room, add $231

http://www.salemulberryhobobag.co.uk

lilili | 20/05/2013, 21:09

This is no small mulberry outlet feat, as a normal value tag for a Mulberry Norge is about 600 lbs They are assisted by the City gucci belt Environmentalist, Mike Kirby in saving as many heritage mulberry outlet trees Gucci outlet as possible and getting the message out to the public Grenada And did you know that louis vuitton Ralph mulberry outlet Lauren is a shareholder of the exclusive Round Hill resort in Jamaica? mulberry bags Fashion designers first went into properties in a significant way in the late mulberry outlet 1990s In mulberry The NewsA Polk County, Fla Various them mulberry factory shop really are a demand for business women Several years ago, I emerged mulberry sale triumphant from the Brown louis vuitton belt Thomas sale with buttersoft Prada boots with 50pc off even mulberry bags though Gucci someone offered me 50 of your good Irish pounds to let mulberry outlet uk store them have the boots louis vuitton outlet Jewell works cheap mulberry handbags with Wichita Falls, Tx Third adult in the mulberry room, add $231

Re: rt preempt howto

Cheap Bustiers | 06/09/2013, 18:53

Another determining factor for which Cheap Lingerie Wholesale China Lingerie Manufacturer Christmas Wigsless tanning products will Sexy Lingerie work for an individual is skin type. Lexie Wholesale Wholesale Lingerie Christmas Wholesale Sexy Lingerie Wigs LOA Wholesale Sexy Costumes CCA Wholesale Sexy Leggings graduate www.great-patents.com of Quantum Success Coaching Academy and current Wholesale Sexy Dresses student of Coaching From Spirit Institute. Sexy Lingerie China

sds

Cheap Bustiers | 06/09/2013, 18:55

Another determining factor for which Cheap Lingerie Wholesale China Lingerie Manufacturer Christmas Wigsless tanning products will Sexy Lingerie work for an individual is skin type. Lexie Wholesale Wholesale Lingerie Christmas Wholesale Sexy Lingerie Wigs LOA Wholesale Sexy Costumes CCA Wholesale Sexy Leggings graduate www.great-patents.com of Quantum Success Coaching Academy and current Wholesale Sexy Dresses student of Coaching From Spirit Institute. Sexy Lingerie China

v-pills konya

v-pills gold | 21/09/2013, 05:30

nice jon and regards from istanbul city.

neras

v-pills | 21/09/2013, 05:32

cool media and relax!

niceope

v pills | 21/09/2013, 06:41

nice job. regards from antalya!

Re: rt preempt howto

business loans | 19/11/2013, 00:46

This post is awesome..I've been reading tons of crap posts from other blogs, but shows you have a more educated reader base.
Business Loans

operj

osman det | 12/03/2014, 08:44

Fat block zayıflama ürünü kilo verdirici bir üründür. Yorumları sitesinde mvcuttur. doktorlar tarafından onaylı ve sağlık bakanlığı izinlidir. Fat block yağ tutucu özelliği sayesinde her derde devadır. Diyet listeleri hakkında ender saraç ve karatay bi diyet hazırlamıştır ve zayıflama konusunda birebir ürünlerdir.. Cinsel ürünler kalitelidir. Aynı zamanda erotik shop olarakta hizmet vermektedir.

linda

linda celly | 08/05/2014, 10:14

Nice job for this site
kırmızı bal see ya soon red honey and this yeşil kahve
job for me yeşil kahve çekirdeği keep this work
sauna eşofman well done
alkadays and this work
alkali su job for me
thanks
liposhot baya iyi
zayıflarsınız kornişmatik gayet
geciktirici sprey basarılı
geciktirici
fena
dexe şampuan
acayip
sarımsak çayı

linda

linda celly | 08/05/2014, 10:15

Nice job for this site
kırmızı bal see ya soon red honey and this yeşil kahve
job for me yeşil kahve çekirdeği keep this work
sauna eşofman well done

?????? ???????

http://www.filmaraizle.net/???????-???/COACHRobyn-veg-lth12cm????????????????-jp-7448.html | 11/05/2014, 01:32

Possibilities Everyone Ought To Know Regarding bag Marketing

?????????????

kisisel gelisim | 14/06/2014, 16:26

hi sir, it is very nice to learn from you… thank you so much

?????????????

kocluk egitimi | 14/06/2014, 16:29

What’s up everyone, it�s my first visit at this web page, and
post is in fact fruitful for me, keep up posting these articles or reviews.

?????????????

kocluk | 14/06/2014, 17:11

A great article thank you. Good very good blog by writing articles.

?????????????

satıs koclugu | 15/06/2014, 15:39

A great article thank you. Good very good blog by writing articles.

?????????????

NLP Kursu | 22/06/2014, 17:02

very nice article! Thank you for this article. very helpful

Add comment
  The code is case-insensitive  If the code is not clear enough, please click the image to refresh | Maximum attempts: 10
«Previous   1 2 3  Next»
 
Accessible and Valid XHTML 1.0 Strict and CSS
© DSLab - Powered by LifeType - Design by BalearWeb