Dear folks, I am having difficulties with martian_modem (getting it to work on Slackware 13.1 x86_64), I have compiled successfully built martian_dev.ko under 2.6.33.4 and have compiled and installed 2.6.34 kernel and there too, I have built it: olivares@darkstar:~$ cat /etc/slackware-version Slackware 13.1.0 olivares@darkstar:~$ uname -a Linux darkstar 2.6.34 #1 SMP Mon May 31 05:58:15 CDT 2010 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GenuineIntel GNU/Linux However the file /usr/sbin/martian_modem is not created under 64 bit and since it is 32 bit one has to use a prebuilt martian_modem binary. Marv has kindly made it for me. It has worked before under Fedora x86_64 , but not with Slackware :( root@darkstar:~/Downloads# mv martian_modem /usr/sbin/ root@darkstar:~/Downloads# chmod +x /usr/sbin/martian_modem root@darkstar:~/Downloads# /usr/sbin/martian_modem --help -su: /usr/sbin/martian_modem: No such file or directory root@darkstar:~/Downloads# uname -a Linux darkstar 2.6.34 #1 SMP Mon May 31 05:58:15 CDT 2010 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GenuineIntel GNU/Linux root@darkstar:~/Downloads# modprobe martian_dev root@darkstar:~/Downloads# /usr/sbin/martian_modem --help -su: /usr/sbin/martian_modem: No such file or directory root@darkstar:~/Downloads# /usr/sbin/./martian_modem --help Here's how I built the driver for 2.6.34 olivares@darkstar:~/Downloads/martian-full-20100123$ make -C kmodule/ clean make: Entering directory `/home/olivares/Downloads/martian-full-20100123/kmodule' make -C /lib/modules/2.6.34/build M="/home/olivares/Downloads/martian-full-20100123/kmodule" clean make[1]: Entering directory `/usr/src/linux-2.6.34' make[1]: Leaving directory `/usr/src/linux-2.6.34' make: Leaving directory `/home/olivares/Downloads/martian-full-20100123/kmodule' olivares@darkstar:~/Downloads/martian-full-20100123$ make -C modem/ clean make: Entering directory `/home/olivares/Downloads/martian-full-20100123/modem' RM OBJS RM BINS RM TOOLS make: Leaving directory `/home/olivares/Downloads/martian-full-20100123/modem' olivares@darkstar:~/Downloads/martian-full-20100123$ make -C kmodule/ module make: Entering directory `/home/olivares/Downloads/martian-full-20100123/kmodule' make: *** No rule to make target `module'. Stop. make: Leaving directory `/home/olivares/Downloads/martian-full-20100123/kmodule' olivares@darkstar:~/Downloads/martian-full-20100123$ make -C kmodule/ modules make: Entering directory `/home/olivares/Downloads/martian-full-20100123/kmodule' make -C /lib/modules/2.6.34/build M="/home/olivares/Downloads/martian-full-20100123/kmodule" modules make[1]: Entering directory `/usr/src/linux-2.6.34' CC [M] /home/olivares/Downloads/martian-full-20100123/kmodule/martian.o /home/olivares/Downloads/martian-full-20100123/kmodule/martian.c: In function 'martian_isr': /home/olivares/Downloads/martian-full-20100123/kmodule/martian.c:135: warning: value computed is not used CC [M] /home/olivares/Downloads/martian-full-20100123/kmodule/marsio.o /home/olivares/Downloads/martian-full-20100123/kmodule/marsio.c:358: warning: 'mars_read_register_rem' defined but not used /home/olivares/Downloads/martian-full-20100123/kmodule/marsio.c:371: warning: 'mars_write_register_rem' defined but not used CC [M] /home/olivares/Downloads/martian-full-20100123/kmodule/mfifo.o LD [M] /home/olivares/Downloads/martian-full-20100123/kmodule/martian_dev.o Building modules, stage 2. MODPOST 1 modules CC /home/olivares/Downloads/martian-full-20100123/kmodule/martian_dev.mod.o LD [M] /home/olivares/Downloads/martian-full-20100123/kmodule/martian_dev.ko make[1]: Leaving directory `/usr/src/linux-2.6.34' make: Leaving directory `/home/olivares/Downloads/martian-full-20100123/kmodule' olivares@darkstar:~/Downloads/martian-full-20100123$ su -c 'make -C kmodule/ install' Password: make: Entering directory `/home/olivares/Downloads/martian-full-20100123/kmodule' make -C /lib/modules/2.6.34/build M="/home/olivares/Downloads/martian-full-20100123/kmodule" modules_install make[1]: Entering directory `/usr/src/linux-2.6.34' INSTALL /home/olivares/Downloads/martian-full-20100123/kmodule/martian_dev.ko DEPMOD 2.6.34 make[1]: Leaving directory `/usr/src/linux-2.6.34' if ! /sbin/modprobe -nq martian_dev ; then /sbin/depmod -a; fi make: Leaving directory `/home/olivares/Downloads/martian-full-20100123/kmodule' olivares@darkstar:~/Downloads/martian-full-20100123$ root@darkstar:~/Downloads# gunzip martian_modem.gz root@darkstar:~/Downloads# mv martian_modem /usr/sbin/ root@darkstar:~/Downloads# chmod +x /usr/sbin/martian_modem root@darkstar:~/Downloads# /usr/sbin/martian_modem --help -su: /usr/sbin/martian_modem: No such file or directory root@darkstar:~/Downloads# uname -a Linux darkstar 2.6.34 #1 SMP Mon May 31 05:58:15 CDT 2010 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GenuineIntel GNU/Linux root@darkstar:~/Downloads# modprobe martian_dev root@darkstar:~/Downloads# /usr/sbin/martian_modem --help -su: /usr/sbin/martian_modem: No such file or directory root@darkstar:~/Downloads# /usr/sbin/./martian_modem --help -su: /usr/sbin/./martian_modem: No such file or directory olivares@darkstar:~/Downloads/martian-full-20100123/modem$ make clean RM OBJS RM BINS RM TOOLS olivares@darkstar:~/Downloads/martian-full-20100123/modem$ mak bash: mak: command not found olivares@darkstar:~/Downloads/martian-full-20100123/modem$ make CC main.o main.c: In function 'monitor_state': main.c:698: warning: format '%d' expects type 'int', but argument 4 has type 'long int' main.c:699: warning: format '%d' expects type 'int', but argument 4 has type 'long int' main.c:700: warning: format '%d' expects type 'int', but argument 4 has type 'long int' main.c:701: warning: format '%d' expects type 'int', but argument 4 has type 'long int' main.c:702: warning: format '%d' expects type 'int', but argument 4 has type 'long int' CC dumpers.o CC log.o CC session.o CC mport.o mport.c: In function 'mport_init': mport.c:336: warning: cast to pointer from integer of different size CC pty.o CC sysdep.o CC isr.o isr.c: In function 'serve_interrupts': isr.c:62: warning: cast from pointer to integer of different size CC smp.o CC core_if.o core_if.c: In function 'Get_PCI_BASE_ADDRESS_IO_MASK': core_if.c:368: warning: large integer implicitly truncated to unsigned type CC coresubst.o CC link.o link.c: In function 'link_to_driver': link.c:100: warning: cast from pointer to integer of different size link.c:104: warning: cast from pointer to integer of different size link.c:112: warning: cast from pointer to integer of different size CC tweakrelocsdynamic.o tweakrelocsdynamic.c: In function 'tweak_areloc': tweakrelocsdynamic.c:176: warning: cast to pointer from integer of different size tweakrelocsdynamic.c:180: warning: cast to pointer from integer of different size tweakrelocsdynamic.c:221: warning: cast to pointer from integer of different size tweakrelocsdynamic.c: In function 'relocate_symbol': tweakrelocsdynamic.c:303: warning: cast from pointer to integer of different size tweakrelocsdynamic.c: In function 'locate_map_using_proc': tweakrelocsdynamic.c:331: warning: cast to pointer from integer of different size CC coreadd.o CC elf386tweakrelocs LD marscore.o ld: Relocatable linking with relocations from format elf32-i386 (ltmdmobj.o) to format elf64-x86-64 (marscore.o) is not supported make: *** [marscore.o] Error 1 Is there any way I can build martian_modem and use it successfully? I want to make use of 64 bit power, and not install 32 bit linux. Thanks in Advance, Antonio NOTE: on Fedora x86_64 systems with Fedora kernels, I used Marv's martian_modem script he built for me and it worked. Then I got kernels from kernel.org and ran $ make all $ su -c 'make install' and it worked well. I try to do the same with Slackware and I get errors :( olivares@darkstar:~/Downloads/martian-full-20100123$ make clean /bin/sh: line 0: [: 34/build: integer expression expected make -C kmodule/ clean make[1]: Entering directory `/home/olivares/Downloads/martian-full-20100123/kmodule' make -C /lib/modules/2.6.34/build M="/home/olivares/Downloads/martian-full-20100123/kmodule" clean make[2]: Entering directory `/usr/src/linux-2.6.34' make[2]: Leaving directory `/usr/src/linux-2.6.34' make[1]: Leaving directory `/home/olivares/Downloads/martian-full-20100123/kmodule' make -C modem/ clean make[1]: Entering directory `/home/olivares/Downloads/martian-full-20100123/modem' RM OBJS RM BINS RM TOOLS make[1]: Leaving directory `/home/olivares/Downloads/martian-full-20100123/modem' olivares@darkstar:~/Downloads/martian-full-20100123$ make all /bin/sh: line 0: [: 34/build: integer expression expected make: *** No rule to make target `all'. Stop.