From: "Martijn Hazenberg (GOVA)" Subject: RE: [Xenomai-help] insmod: error inserting './xeno_posix.ko': -1 Unknown symbol in module Date: Thu, 8 Dec 2005 11:42:44 +0100 Message-ID: <000001c5fbe4$1f2d87c0$0200000a@domain.hid> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable In-Reply-To: <43980B96.9020809@domain.hid> List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: 'Heikki Lindholm' Cc: xenomai@xenomai.org Hi Heikki, When i first do the insmod of xeno_hal.ko Dmesg comes with :=20 Xenomai : local APIC absent or disabled! Disable APIC support or pass "lapic" as bootparam What is this APIC ? Best regards, Martijn =09 -----Original Message----- From: Heikki Lindholm [mailto:holindho@domain.hid Sent: donderdag 8 december 2005 11:32 To: Martijn Hazenberg (GOVA) Cc: xenomai@xenomai.org Subject: Re: [Xenomai-help] insmod: error inserting './xeno_posix.ko': = -1 Unknown symbol in module Martijn Hazenberg (GOVA) kirjoitti: > Hi all, >=20 > I have downloaded a 2.6.14 kernel from kernel.org. > Also have I applied the adeos patch belonging to this kernel. Rebooted with > this kernel, and all ok. >=20 > Then I configured and compiled the xenomai tree. All ok. Only thing I > changed to the config was the enable of the serial driver.=20 >=20 > Added the path to /usr/realtime/bin > with PATH=3D$PATH:/usr/realtime/bin > went to the /usr/realtime/testsuite/latency > en did ./run >=20 > I got : >=20 > linux-test ~ # > linux-test ~ # > linux-test ~ # > linux-test ~ # cd /usr/realtime/ > linux-test realtime # echo $PATH > /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/us= r/i > 686- > pc-linux-gnu/gcc-bin/3.3.5-20050130 > linux-test realtime # > linux-test realtime # > linux-test realtime # PATH=3D$PATH:/usr/realtime/bin > linux-test realtime # > linux-test realtime # cd /usr/realtime/testsuite/latency/=20 > linux-test latency # ./run > head: `-1' option is obsolete; use `-n 1' since this will be removed = in the > futu re > * > * > * Type ^C to stop this application. > * > * > insmod: error inserting '/usr/realtime/modules/xeno_hal.ko': -1 No = such > device > ERROR: cannot load /usr/realtime/modules/xeno_hal.ko > Xenomai: native skin or user-space support unavailable. > (did you load the xeno_native.ko module?) > linux-test latency #=20 > linux-test latency # > linux-test latency # > linux-test latency # > linux-test latency # cd ../../modules/ > linux-test modules # ls -all > total 536 > drwxr-xr-x 2 root root 4096 Dec 7 17:15 . > drwxr-xr-x 9 root root 4096 Dec 7 17:16 .. > -rw-r--r-- 1 root root 16413 Dec 7 17:15 xeno_16550A.ko > -rw-r--r-- 1 root root 20255 Dec 7 17:14 xeno_hal.ko > -rw-r--r-- 1 root root 136473 Dec 7 17:15 xeno_native.ko > -rw-r--r-- 1 root root 135807 Dec 7 17:14 xeno_nucleus.ko > -rw-r--r-- 1 root root 160091 Dec 7 17:15 xeno_posix.ko > -rw-r--r-- 1 root root 43588 Dec 7 17:15 xeno_rtdm.ko=20 > # linux-test modules=20 > # linux-test modules=20 > # linux-test modules=20 > # linux-test modules=20 > # linux-test modules=20 > # insmod ./xeno_native.ko > insmod: error inserting './xeno_native.ko': -1 Unknown symbol in = module=20 > linux-test modules=20 > # insmod ./xeno_nucleus.ko > insmod: error inserting './xeno_nucleus.ko': -1 Unknown symbol in = module > linux-test modules=20 > # insmod ./xeno_posix.ko > insmod: error inserting './xeno_posix.ko': -1 Unknown symbol in module > linux-test modules=20 How about insmodding xeno_hal, then xeno_nucleus and then the others. -- hl