2008/3/31 tete momo <[EMAIL PROTECTED]>:
> 2008/3/31 m Ilhami <[EMAIL PROTECTED]>:
>
> > > Pada Sat, 29 Mar 2008 12:55:30 +0900
> > > > "tete momo" <[EMAIL PROTECTED]> menulis:
> > > >
> >
> > > 02:00.0 Ethernet controller: Attansic Technology Corp. L2 100 Mbit
> > > Ethernet Adapter (rev a0)
> > > thp-gw ~ #
> > >
> > sudah donload driver terbaru ?
> > http://launchpadlibrarian.net/7382416/L2-linux-driver_new.rar
> >
>
> Sudah pake driveri di atas.
>
>
> > paket kernel headernya sudah diinstall ?
> >
>
saya bisa dengan cara,
1. pastikan paket glibc-kernheaders dan kernel-devel terinstall.
Versi kernel-devel harus sama dengan output uname -r
glibc-kernheaders-2.4-9.1
kernel-devel-2.6.9-34.EL
2. makefile saya edit (kalau perlu)
--kata "linux" diganti dengan "kernels", tapi anda sesuaikan dulu dgn
path di tempat anda
KSP := /lib/modules/$(BUILD_KERNEL)/build \
/lib/modules/$(BUILD_KERNEL)/source \
/usr/src/kernels-$(BUILD_KERNEL) \
/usr/src/kernels-$($(BUILD_KERNEL) | sed 's/-.*//') \
/usr/src/kernel-headers-$(BUILD_KERNEL) \
/usr/src/kernel-source-$(BUILD_KERNEL) \
/usr/src/kernels-$($(BUILD_KERNEL) | sed
's/\([0-9]*\.[0-9]*\)\..*/\1/') \
/usr/src/kernels
-------------
---bagian ini saya bantai
# check for version.h and autoconf.h for running kernel in /boot (SUSE)
ifneq (,$(wildcard /boot/vmlinuz.version.h))
VERSION_FILE := /boot/vmlinuz.version.h
CONFIG_FILE := /boot/vmlinuz.autoconf.h
KVER := $(shell $(CC) $(CFLAGS) -E -dM $(VERSION_FILE) | \
grep UTS_RELEASE | awk '{ print $$3 }' | sed 's/\"//g')
ifeq ($(KVER),$(shell uname -r))
# set up include path to override headers from kernel source
x:=$(shell rm -rf include)
x:=$(shell mkdir -p include/linux)
x:=$(shell cp /boot/vmlinuz.version.h include/linux/version.h)
x:=$(shell cp /boot/vmlinuz.autoconf.h include/linux/autoconf.h)
CFLAGS += -I./include
else
ifneq (,$(wildcard $(KOBJ)/include/linux/utsrelease.h))
VERSION_FILE := $(KOBJ)/include/linux/utsrelease.h
else
VERSION_FILE := $(KOBJ)/include/linux/version.h
endif
CONFIG_FILE := $(KSRC)/include/linux/autoconf.h
endif
else
ifneq (,$(wildcard $(KOBJ)/include/linux/utsrelease.h))
VERSION_FILE := $(KOBJ)/include/linux/utsrelease.h
else
VERSION_FILE := $(KOBJ)/include/linux/version.h
endif
CONFIG_FILE := $(KSRC)/include/linux/autoconf.h
endif
ifeq (,$(wildcard $(VERSION_FILE)))
$(error Linux kernel source not configured - missing version.h)
endif
ifeq (,$(wildcard $(CONFIG_FILE)))
$(error Linux kernel source not configured - missing autoconf.h)
endif
--------
diganti dengan
---
VERSION_FILE := $(KOBJ)/include/linux/version.h
CONFIG_FILE := $(KSRC)/include/linux/autoconf.h
---
--
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