* FW: [Xenomai-help] insmod: error inserting './xeno_posix.ko': -1 Unknown symbol in module
@ 2005-12-08 11:42 Martijn Hazenberg (GOVA)
2005-12-08 12:27 ` Heikki Lindholm
0 siblings, 1 reply; 8+ messages in thread
From: Martijn Hazenberg (GOVA) @ 2005-12-08 11:42 UTC (permalink / raw)
To: xenomai
Hi,
Thanks for all reactions Ulrich, Heikki and Gilles....
Ok i got it running. The loading of xeno_hal goes ok.
Lsmod gives the module correctly, I can also unload it and reload it. So no
problems there.
Loading the other modules still give the error -1 Unknown symbol. The dmesg
output is as described in the text output I attached earlier.
What module is used for what and when ? or where can I find that info ? Do
all of the modules have to be loaded ? or just a few ? or only 1 ? Or
depending on application ?
Is the order in which the modules are loaded defined or can they be loaded
at random order ?
Best regards,
Martijn
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: FW: [Xenomai-help] insmod: error inserting './xeno_posix.ko': -1 Unknown symbol in module
2005-12-08 11:42 FW: [Xenomai-help] insmod: error inserting './xeno_posix.ko': -1 Unknown symbol in module Martijn Hazenberg (GOVA)
@ 2005-12-08 12:27 ` Heikki Lindholm
2005-12-08 12:35 ` Jan Kiszka
2005-12-08 12:42 ` Martijn Hazenberg (GOVA)
0 siblings, 2 replies; 8+ messages in thread
From: Heikki Lindholm @ 2005-12-08 12:27 UTC (permalink / raw)
To: Martijn Hazenberg (GOVA); +Cc: xenomai
Martijn Hazenberg (GOVA) kirjoitti:
> Hi,
>
> Thanks for all reactions Ulrich, Heikki and Gilles....
>
> Ok i got it running. The loading of xeno_hal goes ok.
> Lsmod gives the module correctly, I can also unload it and reload it. So no
> problems there.
>
> Loading the other modules still give the error -1 Unknown symbol. The dmesg
> output is as described in the text output I attached earlier.
>
> What module is used for what and when ? or where can I find that info ? Do
> all of the modules have to be loaded ? or just a few ? or only 1 ? Or
> depending on application ?
xeno_hal provides the basic, most low-level services mostly coming from
i-pipe/adeos. xeno_nucleus provides the RTOS services for the RTOS
skins. xeno_native/posix/rtdm are skins that use nucleus' services to
provide RTOS APIs - are driver APIs in case of rtdm.
> Is the order in which the modules are loaded defined or can they be loaded
> at random order ?
Not random. First hal, then nucleus, then any of the skins. I have no
experience with the 16550 serial module, though, and don't remember
whether it was converted to use RTDM or not. If it wasn't, it'll
probably come after hal, if you need it.
-- Heikki Lindholm
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: FW: [Xenomai-help] insmod: error inserting './xeno_posix.ko': -1 Unknown symbol in module
2005-12-08 12:27 ` Heikki Lindholm
@ 2005-12-08 12:35 ` Jan Kiszka
2005-12-08 12:42 ` Martijn Hazenberg (GOVA)
1 sibling, 0 replies; 8+ messages in thread
From: Jan Kiszka @ 2005-12-08 12:35 UTC (permalink / raw)
To: Martijn Hazenberg (GOVA); +Cc: xenomai
[-- Attachment #1: Type: text/plain, Size: 660 bytes --]
Heikki Lindholm wrote:
>
>> Is the order in which the modules are loaded defined or can they be
>> loaded
>> at random order ?
>
> Not random. First hal, then nucleus, then any of the skins. I have no
> experience with the 16550 serial module, though, and don't remember
> whether it was converted to use RTDM or not. If it wasn't, it'll
> probably come after hal, if you need it.
xeno_16550A is built on top of RTDM, so you need xeno_rtdm loaded first.
BTW, you can typically guess what module is missing by looking at the
unresolved symbol warnings in the kernel log. In case of 16550A, you
would get a bulk of unknown rtdm_xyz.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: FW: [Xenomai-help] insmod: error inserting './xeno_posix.ko': -1 Unknown symbol in module
2005-12-08 12:27 ` Heikki Lindholm
2005-12-08 12:35 ` Jan Kiszka
@ 2005-12-08 12:42 ` Martijn Hazenberg (GOVA)
2005-12-08 12:45 ` Heikki Lindholm
2005-12-08 12:53 ` Gilles Chanteperdrix
1 sibling, 2 replies; 8+ messages in thread
From: Martijn Hazenberg (GOVA) @ 2005-12-08 12:42 UTC (permalink / raw)
To: 'Heikki Lindholm'; +Cc: xenomai
Ok...
Installing the modules in this order :
xeno_hal
xeno_nucleus
xeno_native
lsmod gives all three loaded...
Running the normal latency with ./run
crashes the pc.
Restarting and running the switch test, also crashes the pc, leaving nothing
else then just to restart....
Slowly but certain we're getting somewhere...
Best regards,
Martijn
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: FW: [Xenomai-help] insmod: error inserting './xeno_posix.ko': -1 Unknown symbol in module
2005-12-08 12:42 ` Martijn Hazenberg (GOVA)
@ 2005-12-08 12:45 ` Heikki Lindholm
2005-12-08 12:53 ` Gilles Chanteperdrix
1 sibling, 0 replies; 8+ messages in thread
From: Heikki Lindholm @ 2005-12-08 12:45 UTC (permalink / raw)
To: Martijn Hazenberg (GOVA); +Cc: xenomai
Martijn Hazenberg (GOVA) kirjoitti:
> Ok...
>
> Installing the modules in this order :
>
> xeno_hal
> xeno_nucleus
> xeno_native
>
> lsmod gives all three loaded...
>
> Running the normal latency with ./run
>
> crashes the pc.
> Restarting and running the switch test, also crashes the pc, leaving nothing
> else then just to restart....
Yikes. I'm no x86 expert, so can't help much there. You could try if the
APICs are causing the trouble by disabling local APIC altogether from
kernel config.
-- hl
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: FW: [Xenomai-help] insmod: error inserting './xeno_posix.ko': -1 Unknown symbol in module
2005-12-08 12:42 ` Martijn Hazenberg (GOVA)
2005-12-08 12:45 ` Heikki Lindholm
@ 2005-12-08 12:53 ` Gilles Chanteperdrix
2005-12-08 14:24 ` FW: [Xenomai-help] insmod: error inserting './xeno_posix.ko':-1 " Martijn Hazenberg (GOVA)
1 sibling, 1 reply; 8+ messages in thread
From: Gilles Chanteperdrix @ 2005-12-08 12:53 UTC (permalink / raw)
To: Martijn Hazenberg (GOVA); +Cc: xenomai
Martijn Hazenberg (GOVA) wrote:
> Ok...
>
> Installing the modules in this order :
>
> xeno_hal
> xeno_nucleus
> xeno_native
>
> lsmod gives all three loaded...
>
> Running the normal latency with ./run
>
> crashes the pc.
> Restarting and running the switch test, also crashes the pc, leaving nothing
> else then just to restart....
It is hard to know why your system crashes. This may be due to some
kernel configuration options. According to your boot log, you enabled the
"processor" option in ACPI (CONFIG_ACPI_PROCESSOR), you should disable
it (you will have to disable thermal zone too). As mentioned by Heikki,
you may try disabling APIC too.
If you get an error message on the console (you have run latency in
text-mode for that), it will be of great help.
--
Gilles Chanteperdrix.
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: FW: [Xenomai-help] insmod: error inserting './xeno_posix.ko':-1 Unknown symbol in module
2005-12-08 12:53 ` Gilles Chanteperdrix
@ 2005-12-08 14:24 ` Martijn Hazenberg (GOVA)
2005-12-08 16:42 ` Heikki Lindholm
0 siblings, 1 reply; 8+ messages in thread
From: Martijn Hazenberg (GOVA) @ 2005-12-08 14:24 UTC (permalink / raw)
To: xenomai
Hi,
I have deselected the ACPI which is the power management stuff..
When I startup, in dmesg I see :
Local APIC disabled by bios. You can enable it with lapic Mapped apic to
ffffd000
This means that the APIC is turned off by bios... so far so good...
The only lines containing APIC in the .config of the kernel are :
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
I have no idea where these options are in the make menuconfig menu. When I
manually change the y to a n, recompile the kernel and check again, the
options are turned back to y.
Am I missing something here ?
Any help is much appreciated !
Best regards,
Martijn
-----Original Message-----
From: Gilles Chanteperdrix [mailto:gilles.chanteperdrix@xenomai.org
Sent: donderdag 8 december 2005 13:54
To: Martijn Hazenberg (GOVA)
Cc: 'Heikki Lindholm'; xenomai@xenomai.org
Subject: RE: FW: [Xenomai-help] insmod: error inserting './xeno_posix.ko':-1
Unknown symbol in module
It is hard to know why your system crashes. This may be due to some
kernel configuration options. According to your boot log, you enabled the
"processor" option in ACPI (CONFIG_ACPI_PROCESSOR), you should disable
it (you will have to disable thermal zone too). As mentioned by Heikki,
you may try disabling APIC too.
If you get an error message on the console (you have run latency in
text-mode for that), it will be of great help.
--
Gilles Chanteperdrix.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: FW: [Xenomai-help] insmod: error inserting './xeno_posix.ko':-1 Unknown symbol in module
2005-12-08 14:24 ` FW: [Xenomai-help] insmod: error inserting './xeno_posix.ko':-1 " Martijn Hazenberg (GOVA)
@ 2005-12-08 16:42 ` Heikki Lindholm
0 siblings, 0 replies; 8+ messages in thread
From: Heikki Lindholm @ 2005-12-08 16:42 UTC (permalink / raw)
To: Martijn Hazenberg (GOVA); +Cc: xenomai
Martijn Hazenberg (GOVA) kirjoitti:
> Hi,
>
> I have deselected the ACPI which is the power management stuff..
>
> When I startup, in dmesg I see :
>
> Local APIC disabled by bios. You can enable it with lapic Mapped apic to
> ffffd000
>
> This means that the APIC is turned off by bios... so far so good...
>
> The only lines containing APIC in the .config of the kernel are :
>
> CONFIG_X86_GOOD_APIC=y
> CONFIG_X86_LOCAL_APIC=y
> CONFIG_X86_IO_APIC=y
>
> I have no idea where these options are in the make menuconfig menu. When I
(c'mon...)
Processor type and features --->
Local APIC support on uniprocessors
-- hl
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-12-08 16:42 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-08 11:42 FW: [Xenomai-help] insmod: error inserting './xeno_posix.ko': -1 Unknown symbol in module Martijn Hazenberg (GOVA)
2005-12-08 12:27 ` Heikki Lindholm
2005-12-08 12:35 ` Jan Kiszka
2005-12-08 12:42 ` Martijn Hazenberg (GOVA)
2005-12-08 12:45 ` Heikki Lindholm
2005-12-08 12:53 ` Gilles Chanteperdrix
2005-12-08 14:24 ` FW: [Xenomai-help] insmod: error inserting './xeno_posix.ko':-1 " Martijn Hazenberg (GOVA)
2005-12-08 16:42 ` Heikki Lindholm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.