compiling ogr!

behzad chenaghlou <[email protected]> Sun, 1 Aug 2004 22:19:50 +1000 (EST)
Newsgroups gmane.comp.hardware.gps.opensource
Message-ID <[email protected]>
Dear All

I've installed rtai-24.1.13 on kernel 2.4.23 and
everything is ok(all the examples are compiled and ran
properly).

Afterwards I've compiled ogr without any problem but
when I want to run it I get thismessage:

#######################################
./ogrt_module.o: init_module: Operation not permitted
Hint: insmod errors can be caused by incorrect module
parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the
output from dmesg
ogr: shared memory 'Chan[]' allocated.
ogr: shared memory 'RT_Ctrl' allocated.
ogr: module ogrt_module.o is not loaded!
rmmod: module ogrt_module is not loaded
########################################

I changed my rtai and kernel irritately but I got it
again, I looked at syslog and found this:
#######################################
Aug  1 15:29:24 localhost kernel: ogr: obtained PCI
port 0xb800
Aug  1 15:29:24 localhost kernel: self_test() failed:
data line error
Aug  1 15:29:24 localhost kernel: indata1 = 0xffff,
indata2 = 0xffff
Aug  1 15:29:24 localhost kernel: indata3 = 0xffff,
indata4 = 0xffff
Aug  1 15:29:24 localhost kernel: ogr: self_test()
failed!
Aug  1 15:29:24 localhost kernel: DELETING AREA
88e38ff7 AT KERNEL REQUEST.
Aug  1 15:29:24 localhost kernel: DELETING AREA
88e3eadf AT KERNEL REQUEST.
Aug  1 15:30:32 localhost kernel: ogr: can't get PCI
I/O port ^I^I^I^Iaddress 0xb800
Aug  1 15:30:32 localhost kernel: self_test() failed:
data line error
Aug  1 15:30:32 localhost kernel: indata1 = 0xffff,
indata2 = 0xffff
Aug  1 15:30:32 localhost kernel: indata3 = 0xffff,
indata4 = 0xffff
Aug  1 15:30:32 localhost kernel: ogr: self_test()
failed!
Aug  1 15:30:32 localhost kernel: DELETING AREA
88e38ff7 AT KERNEL REQUEST.
Aug  1 15:30:32 localhost kernel: DELETING AREA
88e3eadf AT KERNEL REQUEST.
Aug  1 15:30:51 localhost kernel: ogr: can't get PCI
I/O port ^I^I^I^Iaddress 0xb800
Aug  1 15:30:51 localhost kernel: self_test() failed:
data line error
Aug  1 15:30:51 localhost kernel: indata1 = 0xffff,
indata2 = 0xffff
Aug  1 15:30:51 localhost kernel: indata3 = 0xffff,
indata4 = 0xffff
Aug  1 15:30:51 localhost kernel: ogr: self_test()
failed!
Aug  1 15:30:51 localhost kernel: DELETING AREA
88e38ff7 AT KERNEL REQUEST.
Aug  1 15:30:51 localhost kernel: DELETING AREA
88e3eadf AT KERNEL REQUEST.
Aug  1 15:31:36 localhost login(pam_unix)[2022]:
session opened for user root by LOGIN(uid=0)
Aug  1 15:31:36 localhost  -- root[2022]: ROOT LOGIN
ON tty2
Aug  1 15:31:46 localhost kernel: ogr: can't get PCI
I/O port ^I^I^I^Iaddress 0xb800
Aug  1 15:31:46 localhost kernel: self_test() failed:
data line error
Aug  1 15:31:46 localhost kernel: indata1 = 0xffff,
indata2 = 0xffff
Aug  1 15:31:46 localhost kernel: indata3 = 0xffff,
indata4 = 0xffff
Aug  1 15:31:46 localhost kernel: ogr: self_test()
failed!
Aug  1 15:31:46 localhost kernel: DELETING AREA
88e38ff7 AT KERNEL REQUEST.
Aug  1 15:31:46 localhost kernel: DELETING AREA
88e3eadf AT KERNEL REQUEST.
################################################3


I think it is because of not plugging the hardware. Is
it necessary to plug in the hardware in this stage?
(I haven't pluged in any hardware)

regards

behzad

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com