1. saat $make install 'seharusnya' ada perubahan pada grub.conf dan tidak
perlu di tambahkan di menu.lst (langsung reboot aja )
2.. pesan errornya apa saat booting ?setelah anda mengulang compilenya..

----- Original Message -----
From: "A. Andria" <[EMAIL PROTECTED]>
To: <tanya-jawab@linux.or.id>
Sent: Wednesday, January 18, 2006 4:59 PM
Subject: Re: [tanya-jawab] rebuild kernel untuk modul tertentu


| Dave Muhammad wrote:
|
| >salah saat compile nya :)
| >coba pilih kernel yang lama waktu di grub saat booting
| >dan ulangi dari :
| >
| ># asumsi yg digunakan kernel 2.4.x.x
| >Step 3
| >$ cp pl2303.c /usr/src/linux-2.4/drivers/usb/serial
| ># move to /usr/src/linux-2.4
| >$ cd /usr/src/linux-2.4
| >$ cp kernel-2.4.20-i686.config /usr/src/linux-2.4/.config
| >$ cd /usr/src/linux-2.4
| >$ make menuconfig
| ># choose " General Setup " and select built in for
| >    [*] kernel support for out binaries
| >    [*] kernel support ELE binaries
| >    [*] kernel support MISC binaries
| ># [exit] go to USB Support [sub menu]
| > i. USE serial converter support ->
| >ii. Exclude all the driver module except
| >    1. "USB Generic Serial Driver" and
| >    2. "USB Prolific 2303 Single …."
| ># [exit] sub menu
| ># Save it
| >Saving your kernel configuration…
| >*** End of Linux kernel configuration.
| >*** Check the top-level Makefile for additional configuration.
| >*** Next, you must run ‘make dep’.
| >$make dep
| >Step 3
| ># go to /usr/src/linux-2.4 directory
| >$ vi Makefile
| ># edit Makefile
| >VERSION = 2
| >PATCHLEVEL = 4
| >SUBLEVEL = 3
| >EXTRAVERSION = -usb # edit disini
| ># save Makefile
| >$ make clean
| >$ make dep
| >$ make bzImage
| >$ make modules
| >$ make modules_install
| >$ make install
| >
| ># reboot
| >
| Step yang saya lakukan adalah :
|
| # Karena file pl2303.c, pl2303.h, usb-serial.c, usb-serial.h sudah
| terdapat di direktori /usr/src/linux-source-2.6.12/drivers/usb/serial/
| maka saya tidak meng-copy file punya Mas Dave. Saya hanya merubah file
| pl2303.h dan file pl2303.c dengan menambahkan idProduct dan idVendor
| device usb saya.
|
| $ vi pl2303.h
| $ vi pl2303.c
|
| $ cd /usr/src/linux-source-2.6.12
| $ cp /boot/config-`uname -r` ./.config
| $ make menuconfig
|
| # choose " General Setup " and select built in for
| [*] kernel support for out binaries
| [*] kernel support ELE binaries
| [*] kernel support MISC binaries
|
| # [exit] go to USB Support [sub menu]
| i. USE serial converter support ->
| ii. Exclude all the driver module except
| 1. "USB Generic Serial Driver" and
| 2. "USB Prolific 2303 Single …."
|
| # Simpan perubahan
|
| $make dep
|
| $ cd /usr/src/linux-source-2.6.12
| $ vi Makefile dan merubah EXTRAVERSION
|
| VERSION = 2
| PATCHLEVEL = 4
| SUBLEVEL = 3
| EXTRAVERSION = -8hcl
|
| # simpan perubahan Makefile
|
| $ make clean
| $ make dep
| $ make bzImage
| $ make modules
| $ make modules_install
| $ make install
| $ vi /boot/grub/menu.lst dan menambahkan baris ini
|
| title           Ubuntu, kernel bzImage-2.6.12-8hcl
| root            (hd0,1)
| kernel          /vmlinuz-2.6.12-8hcl root=/dev/hda1 ro quiet splash
| boot
|
| # reboot
|
| Apa ada yang salah dengan step saya ?
|
| --
| FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
| Unsubscribe: kirim email ke [EMAIL PROTECTED]
| Arsip dan info milis selengkapnya di http://linux.or.id/milis
|
|
|
| __________ NOD32 1.1369 (20060117) Information __________
|
| This message was checked by NOD32 antivirus system.
| http://www.eset.com
|
|


-- 
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [EMAIL PROTECTED]
Arsip dan info milis selengkapnya di http://linux.or.id/milis

Kirim email ke