Hi all,
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.
Then I configured and compiled the xenomai tree. All ok. Only thing I
changed to the config was the enable of the serial driver.
Added the path to /usr/realtime/bin
with PATH=$PATH:/usr/realtime/bin
went to the /usr/realtime/testsuite/latency
en did ./run
I got :
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:/usr/i
686-
pc-linux-gnu/gcc-bin/3.3.5-20050130
linux-test realtime #
linux-test realtime #
linux-test realtime # PATH=$PATH:/usr/realtime/bin
linux-test realtime #
linux-test realtime # cd /usr/realtime/testsuite/latency/
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 #
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
# linux-test modules
# linux-test modules
# linux-test modules
# linux-test modules
# linux-test modules
# insmod ./xeno_native.ko
insmod: error inserting './xeno_native.ko': -1 Unknown symbol in module
linux-test modules
# insmod ./xeno_nucleus.ko
insmod: error inserting './xeno_nucleus.ko': -1 Unknown symbol in module
linux-test modules
# insmod ./xeno_posix.ko
insmod: error inserting './xeno_posix.ko': -1 Unknown symbol in module
linux-test modules
# linux-test modules
# linux-test modules
The complete output of dmesg command is attached in file...
Indeed it complains about a lot of unknown symbols.
I have compiled everything from :
linux-test / #
linux-test / #
linux-test / # cd /usr/src/
linux-test src # ls -all
total 20
drwxr-xr-x 5 root root 4096 Dec 7 16:40 .
drwxr-xr-x 14 root root 4096 Dec 7 17:14 ..
-rw-r--r-- 1 root root 0 Oct 20 02:22 .keep
lrwxrwxrwx 1 root root 12 Dec 7 16:39 linux -> linux-2.6.14
drwxr-xr-x 19 root root 4096 Dec 8 10:23 linux-2.6.14 drwxr-xr-x 19 root
root 4096 Dec 7 14:26 linux-2.6.14-gentoo-r2
lrwxrwxrwx 1 root root 14 Dec 7 16:40 realtime -> xenomai-2.0.1/
drwxrwxrwx 14 1000 1000 4096 Dec 7 17:14 xenomai-2.0.1 linux-test src #
Kernel that's running :
linux-test src # uname -r
2.6.14-ipipe
linux-test src #
Installation dir was kept default :
linux-test / #
linux-test / #ls -all /usr/realtime/
total 36
drwxr-xr-x 9 root root 4096 Dec 7 17:16 .
drwxr-xr-x 14 root root 4096 Dec 7 17:14 ..
drwxr-xr-x 2 root root 4096 Dec 7 17:16 bin
lrwxrwxrwx 1 root root 17 Dec 7 17:16 build -> /usr/src/realtime
drwxr-xr-x 6 root root 4096 Dec 7 17:15 include
drwxr-xr-x 2 root root 4096 Dec 7 17:15 lib
drwxr-xr-x 4 root root 4096 Dec 7 17:16 man
drwxr-xr-x 2 root root 4096 Dec 8 10:28 modules
drwxr-xr-x 4 root root 4096 Dec 7 17:16 share
lrwxrwxrwx 1 root root 17 Dec 7 17:16 source -> /usr/src/realtime
lrwxrwxrwx 1 root root 25 Dec 7 17:16 symbols ->
/usr/src/realtime/symbols
drwxr-xr-x 6 root root 4096 Dec 7 17:16 testsuite
linux-test / #
linux-test / #
The patch that I applied was : adeos-ipipe-2.6.14-i386-1.0-11.patch
Can someone please help me get started... what am I doing wrong ?
Best regards and thanks a lot !
Martijn
Linux version 2.6.14-ipipe ([EMAIL PROTECTED]) (gcc version 3.3.5-20050130
(Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1)) #1 SMP PREEMPT
Wed Dec 7 16:55:45 CET 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
Warning only 896MB will be used.
Use a HIGHMEM enabled kernel.
896MB LOWMEM available.
On node 0 totalpages: 229376
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 225280 pages, LIFO batch:31
HighMem zone: 0 pages, LIFO batch:1
DMI 2.2 present.
ACPI: RSDP (v000 VIA694 ) @ 0x000f7620
ACPI: RSDT (v001 VIA694 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff3000
ACPI: FADT (v001 VIA694 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff3040
ACPI: DSDT (v001 VIA694 AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000
Allocating PCI resources starting at 50000000 (gap: 40000000:bfff0000)
Built 1 zonelists
Kernel command line: root=/dev/hda3
Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffd000 (01745000)
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 65536 bytes)
Detected 1156.470 MHz processor.
Using tsc for high-res timesource
I-pipe 1.0-10: pipeline enabled.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 904420k/917504k available (2928k kernel code, 12644k reserved, 938k
data, 224k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 2319.39 BogoMIPS (lpj=4638798)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0383f9ff c1cbf9ff 00000000 00000000 00000000
00000000 00000000
CPU: After vendor identify, caps: 0383f9ff c1cbf9ff 00000000 00000000 00000000
00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After all inits, caps: 0383f9ff c1cbf9ff 00000000 00000020 00000000
00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
mtrr: v2.0 (20020519)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
ACPI: setting ELCR to 0200 (from 0e00)
CPU0: AMD Athlon(tm) stepping 02
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfb460, last bus=1
PCI: Using configuration type 1
ACPI: Subsystem revision 20050902
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 12 devices
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
PCI: Bridge: 0000:00:01.0
IO window: disabled.
MEM window: d2000000-d3ffffff
PREFETCH window: d0000000-d1ffffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
Machine check exception polling timer started.
audit: initializing netlink socket (disabled)
audit(1134033884.876:1): initialized
Installing knfsd (copyright (C) 1996 [EMAIL PROTECTED]).
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Fan [FAN] (on)
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Thermal Zone [THRM] (48 C)
ibm_acpi: ec object not found
lp: driver loaded but no devices found
Linux agpgart interface v0.101 (c) Dave Jones
[drm] Initialized drm 1.0.0 20040925
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP(,...)]
lp0: using parport0 (interrupt-driven).
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
FDC 0 is a post-1991 82077
8139too Fast Ethernet driver 0.9.27
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 10 (level, low) ->
IRQ 10
eth0: RealTek RTL8139 at 0xc000, 00:e0:7d:d1:c2:b2, IRQ 10
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
hda: Maxtor 54098H8, ATA DISK drive
hdb: Maxtor 6Y120P0, ATA DISK drive
Probing IDE interface ide1...
hdc: PLEXTOR CD-R PX-W1210A, ATAPI CD/DVD-ROM drive
hdd: PIONEER DVD-RW DVR-107D, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 80041248 sectors (40981 MB) w/2048KiB Cache, CHS=65535/16/63
hda: cache flushes not supported
hda: hda1 hda2 hda3 hda4
hdb: max request size: 128KiB
hdb: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=65535/16/63
hdb: cache flushes supported
hdb: hdb1
hdc: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache
libata version 1.12 loaded.
ieee1394: raw1394: /dev/raw1394 device initialized
usbmon: debugfs is not available
USB Universal Host Controller Interface driver v2.3
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:11.2[D] -> Link [LNKD] -> GSI 11 (level, low) ->
IRQ 11
uhci_hcd 0000:00:11.2: UHCI Host Controller
uhci_hcd 0000:00:11.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:11.2: irq 11, io base 0x0000e400
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:11.3[D] -> Link [LNKD] -> GSI 11 (level, low) ->
IRQ 11
uhci_hcd 0000:00:11.3: UHCI Host Controller
uhci_hcd 0000:00:11.3: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:11.3: irq 11, io base 0x0000e800
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb 1-2: new full speed USB device using uhci_hcd and address 2
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
mice: PS/2 mouse device common for all mice
Advanced Linux Sound Architecture Driver Version 1.0.10rc1 (Mon Sep 12 08:13:09
2005 UTC).
ALSA device list:
No soundcards found.
oprofile: using timer interrupt.
NET: Registered protocol family 2
input: AT Translated Set 2 keyboard on isa0060/serio0
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1572864 bytes)
TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
ip_conntrack version 2.3 (7168 buckets, 57344 max) - 216 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost <[EMAIL PROTECTED]>.
http://snowman.net/projects/ipt_recent/
arp_tables: (C) 2002 David S. Miller
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 224k freed
kjournald starting. Commit interval 5 seconds
Adding 999928k swap on /dev/hda2. Priority:-1 extents:1 across:999928k
EXT3 FS on hda3, internal journal
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
xeno_native: Unknown symbol nktimer
xeno_native: Unknown symbol xnheap_schedule_free
xeno_native: Unknown symbol xnshadow_register_interface
xeno_native: Unknown symbol xntimer_get_timeout
xeno_native: Unknown symbol xnpipe_connect
xeno_native: Unknown symbol xnpod_unblock_thread
xeno_native: Unknown symbol xncore_detach
xeno_native: Unknown symbol xnpod_shutdown
xeno_native: Unknown symbol xnpod_remove_hook
xeno_native: Unknown symbol rthal_apc_free
xeno_native: Unknown symbol xnsynch_wakeup_one_sleeper
xeno_native: Unknown symbol xnheap_init
xeno_native: Unknown symbol xnpod_announce_tick
xeno_native: Unknown symbol rthal_apc_schedule
xeno_native: Unknown symbol nkgkptd
xeno_native: Unknown symbol xnpod_init_thread
xeno_native: Unknown symbol rthal_strncpy_from_user
xeno_native: Unknown symbol xnpod_get_time
xeno_native: Unknown symbol xnpod_renice_thread
xeno_native: Unknown symbol xnheap_alloc
xeno_native: Unknown symbol xntimer_destroy
xeno_native: Unknown symbol xnintr_enable
xeno_native: Unknown symbol kheap
xeno_native: Unknown symbol xnpod_start_timer
xeno_native: Unknown symbol xnpod_stop_timer
xeno_native: Unknown symbol xntimer_init
xeno_native: Unknown symbol rthal_tunables
xeno_native: Unknown symbol xnpod_wait_thread_period
xeno_native: Unknown symbol rthal_domain
xeno_native: Unknown symbol xnsynch_wakeup_this_sleeper
xeno_native: Unknown symbol xnshadow_relax
xeno_native: Unknown symbol xnsynch_flush
xeno_native: Unknown symbol nkpod
xeno_native: Unknown symbol xnintr_detach
xeno_native: Unknown symbol nklock
xeno_native: Unknown symbol xnshadow_map
xeno_native: Unknown symbol xnpipe_disconnect
xeno_native: Unknown symbol xnshadow_unmap
xeno_native: Unknown symbol xnheap_destroy
xeno_native: Unknown symbol xncore_attach
xeno_native: Unknown symbol xnshadow_signal_completion
xeno_native: Unknown symbol xnshadow_unregister_interface
xeno_native: Unknown symbol xnheap_test_and_free
xeno_native: Unknown symbol xnpod_add_hook
xeno_native: Unknown symbol xnpod_set_thread_periodic
xeno_native: Unknown symbol xnsynch_init
xeno_native: Unknown symbol xntimer_start
xeno_native: Unknown symbol xnpod_schedule
xeno_native: Unknown symbol xnheap_destroy_shared
xeno_native: Unknown symbol rthal_apc_alloc
xeno_native: Unknown symbol rthal_proc_root
xeno_native: Unknown symbol xnpod_start_thread
xeno_native: Unknown symbol xnpod_set_thread_mode
xeno_native: Unknown symbol xnpod_suspend_thread
xeno_native: Unknown symbol xnheap_free
xeno_native: Unknown symbol xnintr_disable
xeno_native: Unknown symbol xnintr_attach
xeno_native: Unknown symbol xnheap_init_shared
xeno_native: Unknown symbol xnpipe_send
xeno_native: Unknown symbol xnintr_init
xeno_native: Unknown symbol xnsynch_sleep_on
xeno_native: Unknown symbol xnpod_delete_thread
xeno_native: Unknown symbol xnpipe_recv
xeno_native: Unknown symbol xnintr_destroy
xeno_native: Unknown symbol xnpod_resume_thread
xeno_native: Unknown symbol xntimer_get_date
xeno_posix: Unknown symbol nktimer
xeno_posix: Unknown symbol xnshadow_register_interface
xeno_posix: Unknown symbol xntimer_get_timeout
xeno_posix: Unknown symbol xnpod_unblock_thread
xeno_posix: Unknown symbol xncore_detach
xeno_posix: Unknown symbol xnpod_shutdown
xeno_posix: Unknown symbol xnpod_remove_hook
xeno_posix: Unknown symbol xnpod_fatal_helper
xeno_posix: Unknown symbol xnsynch_wakeup_one_sleeper
xeno_posix: Unknown symbol xnpod_announce_tick
xeno_posix: Unknown symbol xnpod_init_thread
xeno_posix: Unknown symbol rthal_strncpy_from_user
xeno_posix: Unknown symbol xnpod_get_time
xeno_posix: Unknown symbol xnpod_renice_thread
xeno_posix: Unknown symbol xnheap_alloc
xeno_posix: Unknown symbol xntimer_destroy
xeno_posix: Unknown symbol xnintr_enable
xeno_posix: Unknown symbol kheap
xeno_posix: Unknown symbol xnpod_start_timer
xeno_posix: Unknown symbol xnpod_stop_timer
xeno_posix: Unknown symbol xntimer_init
xeno_posix: Unknown symbol rthal_tunables
xeno_posix: Unknown symbol xnpod_wait_thread_period
xeno_posix: Unknown symbol rthal_domain
xeno_posix: Unknown symbol xnshadow_relax
xeno_posix: Unknown symbol xnsynch_flush
xeno_posix: Unknown symbol nkpod
xeno_posix: Unknown symbol xnintr_detach
xeno_posix: Unknown symbol nklock
xeno_posix: Unknown symbol xnshadow_map
xeno_posix: Unknown symbol xnshadow_unmap
xeno_posix: Unknown symbol xncore_attach
xeno_posix: Unknown symbol xnshadow_unregister_interface
xeno_posix: Unknown symbol xnpod_add_hook
xeno_posix: Unknown symbol xnpod_set_thread_periodic
xeno_posix: Unknown symbol xnsynch_init
xeno_posix: Unknown symbol xntimer_start
xeno_posix: Unknown symbol xnpod_schedule
xeno_posix: Unknown symbol xnpod_start_thread
xeno_posix: Unknown symbol xnpod_set_thread_mode
xeno_posix: Unknown symbol xnpod_suspend_thread
xeno_posix: Unknown symbol xnheap_free
xeno_posix: Unknown symbol xnshadow_suspend
xeno_posix: Unknown symbol xnintr_disable
xeno_posix: Unknown symbol xnintr_attach
xeno_posix: Unknown symbol xnintr_init
xeno_posix: Unknown symbol xnpod_check_context
xeno_posix: Unknown symbol xnsynch_sleep_on
xeno_posix: Unknown symbol xnpod_delete_thread
xeno_posix: Unknown symbol xnintr_destroy
xeno_posix: Unknown symbol xnpod_resume_thread
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help