On 10:07:26 am 04/23/06 maikhai <[EMAIL PROTECTED]> wrote: > On Sunday 23 April 2006 20:49, Larry Nguyen wrote: > > > > > DDo' la` lo^~i ddo' ba'c: Kho^ng the^? ti`m tha^'y ta^.p tin > > .config trong thu+ mu.c kernel source. > > > > Ba'c co' tu+. di.ch kernel kho^ng va^.y? Ne^'u 0 ba'c co' the^? > > ta.o config vo+'i le^.nh > > > > chạy > > zcat /proc/config.gz > /usr/src/linux/.config > OK > > chạy > > emerge lm_sensors > > > * Determining the location of the kernel source code > * Found kernel source directory: > * /usr/src/linux > * Found sources for kernel version: > * 2.6.15-gentoo-r5 > * > * sensors-detect requires CONFIG_I2C_CHARDEV to be enabled for > non-2.4.x kernels. > * > * > * lm_sensors-2.9.2 requires CONFIG_I2C to be enabled for non-2.4.x > kernels. * > > !!! ERROR: sys-apps/lm_sensors-2.9.2 failed. > !!! Function pkg_setup, Line 61, Exitcode 0 > !!! CONFIG_I2C not detected > !!! If you need support, post the topmost build error, NOT this > status message. > > > Làm sao để có CONFIG_I2C trong > /usr/src/linux/.config ? >
Ba'c su+?a ta.p tin .config, nha?y to+'i ha`ng #CONFIG_I2C is not set ddo^?i tha`nh CONFIG_I2C=y Save file. Go~ make oldconfig, tra? lo+`i m (module) cho ta^'t ca? nhu+~ng gi` lie^n quan dde^'n i2c (dda(.c bie^.t pha^`n chipset). Sau ddo' go~ make, ne^'u 0 bi. error, make modules_install ro^`i emerge lm_sensors Ba'c post le^n forum ddi ba'c. Cho mo.i ngu+o+`i quan ta^m xem luo^n. -Larry ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ VietLUG-users mailing list VietLUG-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vietlug-users