From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 3 Mar 2003 15:40:56 +0600 From: "Evgeniy T." X-Mailer: The Bat! (v1.45) Personal X-Priority: 3 (Normal) Message-ID: <5923602504.20030303154056@inbox.ru> To: community@altlinux.ru Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Subject: [Comm] Re-compile the modules HCF PCI modem Acorp56PIM for Junior 1.1 Sender: community-admin@altlinux.ru Errors-To: community-admin@altlinux.ru X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: community@altlinux.ru X-Reply-To: "Evgeniy T." List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: Здравствуйте! При перекомпиляции модулей модема не определяется версия исходников ядра. ALT Linux Junior 1.1 Ядро: 2.4.10-alt1-up kernel24-headers: 2.4.10-alt1 Модем: Acorp56PIM Linux HCF controllerless modem drivers, version 0.99mbsibeta02123100 После распаковки запускаю конфигуратор: hcfpciconfig Should we attempt to automatically configure your hardware? [yes] Selected PCI VendorID=14F1 DeviceID=1035 and INF file /etc/hcfpci/inf/hcfv90_linux.inf Configuring modem for country: "RUSSIA" This package does not contain pre-built modules suitable for your system: Distribution: Mandrake- Kernel arch: i686 Kernel version: linux-2.4.10-alt1-up Trying to automatically re-compile the modules.. (this requires a C compiler and proper kernel sources to be installed) Where is the linux source build directory that matches your running kernel? [/usr/src/linux] /usr/lib/kernel/2.4.10-alt1 WARNING: the kernel version () defined in /usr/lib/kernel/2.4.10-alt1/include/linux/version.h does not match the currently running kernel (2.4.10-alt1-up) The cause of this problem is an incorrect kernel source path. Please check that /usr/lib/kernel/2.4.10-alt1 points to the right tree. The cause of this problem is usually a missing or misconfigured kernel source tree (and sometimes an incorrect directory or symbolic link). Re-compiling HCF modules for kernel , using source directory /usr/lib/kernel/2.4.10-alt1. Please wait.. ERROR: Module re-compilation and installation failed! Please examine the log file "/tmp/hcfpciconfig-buildlog.txt" to determine why. Листинг файлов: --------------------------------------------------------- файл /tmp/hcfpciconfig-buildlog.txt : rm -f *.o *.a make[1]: Вход в каталог `/usr/lib/hcfpci/modules/osspec' rm -f *.o *.a make[1]: Выход из каталог `/usr/lib/hcfpci/modules/osspec' Unable to determine version of kernel source directory /usr/lib/kernel/2.4.10-alt1 make: *** [check_kernelver] Ошибка 1 файл /usr/lib/kernel/2.4.10-alt1/include/linux/version.h : #include --------------------------------------------------------- файл /var/run/kernel/version.h : /* * Autogenerated by /etc/rc.d/scripts/gen_kernel_headers at Mon Mar 03 2003 12:27:47 */ #ifndef __boot_kernel_version__ #define __boot_kernel_version__ #include #endif /* __boot_kernel_version__ */ --------------------------------------------------------- файл /usr/lib/kernel/2.4.10-alt1-up/version.h : #define UTS_RELEASE "2.4.10-alt1-up" #define LINUX_VERSION_CODE 132106 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) -- -- Best regards, Evgeniy mailto:te@inbox.ru