% % Kernel コンパイルメモ % 2002/08/12 M. YAMADA % % ftp://ftp.eos.hokudai.ac.jp//pub/Linux/kernel.org/linux/kernel/v2.4 より linux-2.4.19.tar.bz2 を download source のてんかい $ cd /usr/src # bunzip2 linux-2.4.19.tar.bz2 # tar xvf linux-2.4.19.tar # ln -s linux-2.4.19 linux # cd linux # make xconfig # make dep # make-kpkg clean <= kernel-package がひつよう # make-kpkg --revision=pygo-2002-08-13 kernel-image とちゅうえらーがでた. if else ぶんに {} をくわえたところ, こんぱいるされたが.... うーーんだいじょうぶか?? vi drivers/ieee1394/nodemgr.c ===へんこうまえ==== if (hi != NULL) #ifdef CONFIG_IEEE1394_VERBOSEDEBUG HPSB_DEBUG ("NodeMgr: Processing host reset for %s", host->driver->name); #endif up(&hi->reset_sem); else HPSB_ERR ("NodeMgr: could not process reset of non-existent host"); ===へんこうご==== if (hi != NULL){ #ifdef CONFIG_IEEE1394_VERBOSEDEBUG HPSB_DEBUG ("NodeMgr: Processing host reset for %s", host->driver->name); #endif up(&hi->reset_sem); }else{ HPSB_ERR ("NodeMgr: could not process reset of non-existent host"); } ===== いんすとーる # cd ../ # dpkg -i kernel-image-2.4.19_pygo-2002-08-13_i386.deb # reboot ====== 2002/10/09 追記 USB support: Prelminary USB device filesystem を追加 (CONFIG_USB_DEVICEFS=y)