- From: Ian Abbott <abbotti_at_mev.co.uk>
- Date: Tue, 22 Aug 2006 18:04:07 +0100
On 22/08/06 06:44, Rebsamen Brice wrote: > thanks for your help. I finally managed to compile and install comedi. > However it still doesn't work: after I insert my PCMCIA card in the slot > I get unknown symbol message in the kernel log (see below). > I checked in the mailing list archive for a solution but I only found > stuff related to using a different compiler for kernel and comedi. > However this is not my case: I am compiling everything with gcc 3.3.6. > What can possibly go wrong? It looks like it failed to autoload the rtai modules, probably because they are not in "/lib/modules/`uname -r`". I guess they are in "/usr/realtime/modules". I don't know what the RTAI project recommend for getting the modules to load on demand. One way would be to mess around in /etc/modprobe.conf so that loading the comedi module loads the required rtai modules first. (Maybe add an "install" command for the comedi module that loads the required rtai modules first.) Another way would be to use an init script that loads the required modules at system start-up and arrange for that script to run in the default runlevel, and that it runs before any hardware coldplugging script. > comedi: Unknown symbol rt_request_srq > comedi: Unknown symbol rt_shutdown_irq > comedi: Unknown symbol rt_enable_irq > comedi: Unknown symbol rt_printk > comedi: Unknown symbol rt_pend_linux_srq > comedi: Unknown symbol rt_startup_irq > comedi: Unknown symbol rt_free_srq > comedi: Unknown symbol rt_request_irq > comedi: Unknown symbol rt_release_irq It looks like those are all in the rtai_hal module (at least that is the case for rtai-3.3). > 8255: Unknown symbol comedi_buf_put > 8255: Unknown symbol comedi_event > 8255: Unknown symbol range_unipolar5 > 8255: Unknown symbol comedi_driver_unregister > 8255: Unknown symbol comedi_driver_register > comedi_fc: Unknown symbol comedi_buf_read_free > comedi_fc: Unknown symbol comedi_buf_write_alloc > comedi_fc: Unknown symbol rt_printk > comedi_fc: Unknown symbol comedi_event > comedi_fc: Unknown symbol comedi_buf_write_free > comedi_fc: Unknown symbol comedi_buf_read_n_available > comedi_fc: Unknown symbol comedi_buf_memcpy_to > comedi_fc: Unknown symbol comedi_buf_memcpy_from > ni_mio_cs: Unknown symbol cfc_write_array_to_buffer > ni_mio_cs: Unknown symbol comedi_error > ni_mio_cs: Unknown symbol subdev_8255_init > ni_mio_cs: Unknown symbol comedi_debug > ni_mio_cs: Unknown symbol rt_busy_sleep > ni_mio_cs: Unknown symbol comedi_request_irq > ni_mio_cs: Unknown symbol rt_printk > ni_mio_cs: Unknown symbol range_unknown > ni_mio_cs: Unknown symbol subdev_8255_cleanup > ni_mio_cs: Unknown symbol comedi_event > ni_mio_cs: Unknown symbol range_unipolar5 > ni_mio_cs: Unknown symbol comedi_driver_unregister > ni_mio_cs: Unknown symbol comedi_buf_get > ni_mio_cs: Unknown symbol comedi_buf_read_n_available > ni_mio_cs: Unknown symbol range_bipolar10 > ni_mio_cs: Unknown symbol comedi_driver_register > ni_mio_cs: Unknown symbol comedi_free_irq rt_busy_sleep is in the rtai_lxrt module. I don't know if rtai_lxrt and rtai_hal depend on other modules, as I'm not running an RTAI-enabled kernel at the moment. -- -=( Ian Abbott _at_ MEV Ltd. E-mail: <abbotti_at_mev.co.uk> )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
Received on 2006-08-22Z16:04:07