トップ «前の日記(2008年06月28日 (Sat)) 最新 次の日記(2008年06月30日 (Mon))» 編集

 

馬写真日記

2006|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|

月日は百代の過客にして、行かふ年も又旅人也。
舟の上に生涯をうかべ、馬の口とらえて老をむかふる物は、日々旅にして旅を栖とす。

半期 四半期 全カテゴリ



トップ «前の日記(2008年06月28日 (Sat)) 最新 次の日記(2008年06月30日 (Mon))» 編集

2008年06月29日 (Sun) お休み [長年日記]

_ [馬写真] またまた眠そう

4916ハッピーメロディIIふと気がつきましたが、ゴン太の写真は寝顔が多い(笑
それはさておき、おでこの傷が増えていて心配です。

_ [] 本日の馬

大雨につき、キャンセル。昨日乗っておけばよかった orz

_ [写真][Webmaster] プレゼント更新

しばらく放置していました。ごめんなさい。
今回は、御殿場での写真です。

_ [Computer] CentOS 5.1 → 5.2

おうちの PC の OS を、アップグレードしました。5.1から5.2へは、

# yum upgrade

で一発。あっという間に終了。便利な世の中になりましたねぇ。
でも、カーネルは、NTFS 領域を読めるようにするために自分で再構築。

カーネルのソースRPMをダウンロード。
入手先は
ftp://ftp.riken.jp/Linux/centos/5.2/updates/SRPMS/kernel-2.6.18-92.1.6.el5.src.rpm

src.rpm インストール

# rpm -ivh kernel-2.6.18-92.1.6.el5.src.rpm 
# cd /usr/src/redhat/SPECS/
# rpmbuild -bp --target i686 /usr/src/redhat/SPECS/kernel-2.6.spec 
# cd /usr/src/redhat/BUILD/kernel-2.6.18/
# mv linux-2.6.18.i686/ /usr/src/
# cd /usr/src/linux-2.6.18.i686/

Makefile編集

# cp Makefile{,.org}
# diff Makefile*
4c4
< EXTRAVERSION = -y080629.92.1.6
---
> EXTRAVERSION = -prep

設定

# make menuconfig

NTFS が読めるようにする。

File systems -> DOS/FAT/NT Filesystems ->
<M> MSDOS fs support              
<M> VFAT (Windows-95) fs support  
(437) Default codepage for FAT    
(ascii) Default iocharset for FAT 
<M> NTFS file system support         ←ここを M に。
[ ]   NTFS debugging support (NEW)
[ ]   NTFS write support (NEW)    

IEEE1394 接続ができるようにする。

<M> IEEE 1394 (FireWire) support                             ←ここを M に。             
---   Subsystem Options                                          
[ ]   Excessive debugging output                                 
[ ]   OUI Database built-in                                      
[ ]   Build in extra config rom entries for certain functionality
[ ]   Export all symbols of ieee1394's API                       
---   Device Drivers                                             
< >   Texas Instruments PCILynx support                          
< >   OHCI-1394 support                                          
---   Protocol Drivers                                           
< >   SBP-2 support (Harddisks etc.)                             
< >   Ethernet over 1394 (NEW)                                   
<M>   Raw IEEE1394 I/O support                                ←ここを M に。

Pentium III 用 kernel にする&SMPを外す。

Processor type and features ->
[ ] Symmetric multi-processing support                                     ←ここを excluded に。
Processor family (Pentium-III/Celeron(Coppermine)/Pentium-III Xeon)  --->  ← Processor family を変更。
< > Toshiba Laptop support                                                 ←ここを excluded に。
< > Dell laptop support                                                    ←ここを excluded に。

AMD 用省電力機構を外す。

Power management options (ACPI, APM) -> CPU Frequency scaling ->
< >   AMD Mobile Athlon/Duron PowerNow! ←ここを excluded に。
< >   AMD Opteron/Athlon64 PowerNow!    ←ここを excluded に。

コンパイル。

# time make

エラー発生。

  CC [M]  crypto/chainiv.o
crypto/chainiv.c: In function ‘chainiv_givencrypt’:
crypto/chainiv.c:63: error: implicit declaration of function ‘local_bh_disable’
crypto/chainiv.c:77: error: implicit declaration of function ‘local_bh_enable’
make[1]: *** [crypto/chainiv.o] エラー 1
make: *** [crypto] エラー 2

ぐぐった結果を斜め読みすると、SMP回りが原因っぽいので、SMP を有効にする。cryptoとSMPにどういう関係があるのかは知らない。

再びコンパイル。

# time make
…
real    91m45.836s
user    69m16.031s
sys     6m37.054s

インストール、/boot と grub.conf の内容を確認して、再起動。

# make modules_install
# installkernel 2.6.18-y080629.92.1.6 arch/i386/boot/bzImage System.map 
# shutdown -r now

再起動後、確認。

> uname -a
Linux thunder.tsukimi-kai.org 2.6.18-y080629.92.1.6 #1 SMP Sun Jun 29 16:50:26 JST 2008 i686 i686 i386 GNU/Linux

後始末。USB外付HDD (FAT32) をつないで、

> mount /media/usb/
> cd /usr/src/
> tar jcvf /media/usb/bak.080629/lin/usr+src+linux-2.6.18.i686.tar.bz2 linux-2.6.18.i686/
> tar jcvf /media/usb/bak.080629/lin/usr+src+redhat.tar.bz2 redhat/
> su -
パスワード:
# cd /usr/src/
# rm -rf linux-2.6.18.i686
# rm -rf redhat

おしまい。

[]

トップ «前の日記(2008年06月28日 (Sat)) 最新 次の日記(2008年06月30日 (Mon))» 編集

webmaster@tsukimi-kai.org
Copyright © 1996-2008 Y.Yuki