martian modem with Kernel 2.6.29.2. martian: error: Common area unrecognized, no terminating signature

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,

I cannot get martian drivers to work with kernel 2.6.29.2 that I have
built on Fedora 9 since Fedora 9 is ending support soon with impending
release of Fedora 11, apparently a 2.6.29 kernel won't be released?  I
have the feeling.  I had a custom martian.tar.gz that was working with
new kernels(I could not get martian-full-20080625.tar.gz to work
here).  Now the old martian.tar.gz is not working as before :

[olivares@localhost ~]$ uname -r
2.6.29.2
[olivares@localhost ~]$ uname -a
Linux localhost.localdomain 2.6.29.2 #1 SMP Mon Apr 27 19:29:38 CDT
2009 x86_64 x86_64 x86_64 GNU/Linux
[olivares@localhost ~]$ su -
Password:
[root@localhost ~]# wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
[root@localhost ~]# service martian stop
Shutting down martian_modem: Done
[root@localhost ~]# service martian start
Starting martian_modem: Done
[root@localhost ~]# wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.
[root@localhost ~]# wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.



[olivares@localhost martian]$ make -C kmodule/ modules
make: Entering directory `/home/olivares/Download/temp/2629/martian/kmodule'
make -C /lib/modules/2.6.29.2/build
M="/home/olivares/Download/temp/2629/martian/kmodule"  modules
make[1]: Entering directory `/home/olivares/Download/linux-2.6.29.2'
  CC [M]  /home/olivares/Download/temp/2629/martian/kmodule/martian.o
/home/olivares/Download/temp/2629/martian/kmodule/martian.c:54:29:
error: linux/ioctl32.h: No such file or directory
/home/olivares/Download/temp/2629/martian/kmodule/martian.c: In
function ‘martian_isr’:
/home/olivares/Download/temp/2629/martian/kmodule/martian.c:160:
warning: value computed is not used
/home/olivares/Download/temp/2629/martian/kmodule/martian.c: In
function ‘martian_add’:
/home/olivares/Download/temp/2629/martian/kmodule/martian.c:662:
warning: passing argument 2 of ‘request_irq’ from incompatible pointer
type
make[2]: *** [/home/olivares/Download/temp/2629/martian/kmodule/martian.o]
Error 1
make[1]: *** [_module_/home/olivares/Download/temp/2629/martian/kmodule] Error 2
make[1]: Leaving directory `/home/olivares/Download/linux-2.6.29.2'
make: *** [modules] Error 2
make: Leaving directory `/home/olivares/Download/temp/2629/martian/kmodule'


[olivares@localhost 2629]$ tar -zxvf martian-full-20080625.tar.gz
martian-full-20080625/
martian-full-20080625/martian.h
martian-full-20080625/Makefile
martian-full-20080625/INSTALL
martian-full-20080625/Concept
martian-full-20080625/Makefile~
martian-full-20080625/Cleaning.txt
martian-full-20080625/README
martian-full-20080625/kmodule/
martian-full-20080625/kmodule/Makefile
martian-full-20080625/kmodule/marsio.h
martian-full-20080625/kmodule/kmartian.h
martian-full-20080625/kmodule/martian_ids.c
martian-full-20080625/kmodule/fifo.h
martian-full-20080625/kmodule/mfifo.h
martian-full-20080625/kmodule/martian.c
martian-full-20080625/kmodule/marsio.c
martian-full-20080625/kmodule/mfifo.c
martian-full-20080625/kmodule/mixspinlock.h
martian-full-20080625/scripts/
martian-full-20080625/scripts/martian
martian-full-20080625/scripts/remove_outdated.sh
martian-full-20080625/scripts/martian.in
martian-full-20080625/scripts/wv.conf
martian-full-20080625/scripts/automate.sh
martian-full-20080625/ChangeLog
martian-full-20080625/modem/
martian-full-20080625/modem/Makefile
martian-full-20080625/modem/tweakcore.sh
martian-full-20080625/modem/main.c
martian-full-20080625/modem/debug_script.in
martian-full-20080625/modem/ltmdmobj.o
martian-full-20080625/modem/watch.gdb
martian-full-20080625/modem/sysdep.h
martian-full-20080625/modem/watch3.gdb
martian-full-20080625/modem/dumpers.c
martian-full-20080625/modem/elf386tweakrelocs.c
martian-full-20080625/modem/log.h
martian-full-20080625/modem/core_if.c
martian-full-20080625/modem/coreadd.c
martian-full-20080625/modem/mport.h
martian-full-20080625/modem/coresubst.c
martian-full-20080625/modem/ASWMLICENSE
martian-full-20080625/modem/README
martian-full-20080625/modem/mport.c
martian-full-20080625/modem/isr.c
martian-full-20080625/modem/core.h
martian-full-20080625/modem/watch2.gdb
martian-full-20080625/modem/tweakrelocsdynamic.c
martian-full-20080625/modem/log.c
martian-full-20080625/modem/session.c
martian-full-20080625/modem/watch4.gdb
martian-full-20080625/modem/pty.c
martian-full-20080625/modem/sysdep.c
martian-full-20080625/modem/common.h
martian-full-20080625/modem/main.h
martian-full-20080625/modem/smp.c
martian-full-20080625/modem/watch.h
martian-full-20080625/modem/overriden_core_functions
martian-full-20080625/modem/profile.c
martian-full-20080625/modem/link.c
martian-full-20080625/modem/mixspinlock.h
[olivares@localhost 2629]$ cd martian-full-20080625

x86_64 platform.
----------------

To compile and install module only do
$ make -C kmodule/ modules
$ su
# make -C kmodule/ install

[olivares@localhost martian-full-20080625]$ make -C kmodule/ modules
make: Entering directory
`/home/olivares/Download/temp/2629/martian-full-20080625/kmodule'
make -C /lib/modules/2.6.29.2/build
M="/home/olivares/Download/temp/2629/martian-full-20080625/kmodule"
modules
make[1]: Entering directory `/home/olivares/Download/linux-2.6.29.2'
  CC [M]  /home/olivares/Download/temp/2629/martian-full-20080625/kmodule/martian.o
/home/olivares/Download/temp/2629/martian-full-20080625/kmodule/martian.c:
In function ‘martian_isr’:
/home/olivares/Download/temp/2629/martian-full-20080625/kmodule/martian.c:131:
warning: value computed is not used
  CC [M]  /home/olivares/Download/temp/2629/martian-full-20080625/kmodule/marsio.o
/home/olivares/Download/temp/2629/martian-full-20080625/kmodule/marsio.c:359:
warning: ‘mars_read_register_rem’ defined but not used
/home/olivares/Download/temp/2629/martian-full-20080625/kmodule/marsio.c:372:
warning: ‘mars_write_register_rem’ defined but not used
  CC [M]  /home/olivares/Download/temp/2629/martian-full-20080625/kmodule/mfifo.o
  LD [M]  /home/olivares/Download/temp/2629/martian-full-20080625/kmodule/martian_dev.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/olivares/Download/temp/2629/martian-full-20080625/kmodule/martian_dev.mod.o
  LD [M]  /home/olivares/Download/temp/2629/martian-full-20080625/kmodule/martian_dev.ko
make[1]: Leaving directory `/home/olivares/Download/linux-2.6.29.2'
make: Leaving directory
`/home/olivares/Download/temp/2629/martian-full-20080625/kmodule'
[olivares@localhost martian-full-20080625]$ su -c 'make -C kmodule/ install'
Password:
make: Entering directory
`/home/olivares/Download/temp/2629/martian-full-20080625/kmodule'
make -C /lib/modules/2.6.29.2/build
M="/home/olivares/Download/temp/2629/martian-full-20080625/kmodule"
modules_install
make[1]: Entering directory `/home/olivares/Download/linux-2.6.29.2'
  INSTALL /home/olivares/Download/temp/2629/martian-full-20080625/kmodule/martian_dev.ko
  DEPMOD  2.6.29.2
make[1]: Leaving directory `/home/olivares/Download/linux-2.6.29.2'
if ! /sbin/modprobe -nq martian_dev ; then /sbin/depmod -a; fi
make: Leaving directory
`/home/olivares/Download/temp/2629/martian-full-20080625/kmodule'
[olivares@localhost martian-full-20080625]$
[olivares@localhost martian-full-20080625]$ su -
Password:
[root@localhost ~]# service martian stop
Shutting down martian_modem: Done
[root@localhost ~]# modprobe -r martian_dev
[root@localhost ~]# modprobe martian_dev
[root@localhost ~]# martian_modem
martian: error: Common area unrecognized, no terminating signature


Running on Fedora 9 with kernel

[olivares@localhost ~]$ uname -r
2.6.27.21-78.2.41.fc9.x86_64


Any pointers tips or tricks here.  IS anyone running martian with a
2.6.29 or newer kernel?

Thanks in Advance,

Antonio


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux