Re: martian modem Fedora 11 kernel 2.6.30 sucess!

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

 



That is good news.
Unfortunately, the issue on my system is not related to Martian_modem
not being generated- see my earlier post "Martian on 2.6.27.21"

Bjorn.

Antonio Olivares wrote:
> Dear Marv, Alexei and Bjorn,
> 
> I have compiled kernel 2.6.30 on an x86_64 machine.  Under Previous
> Fedora kernel-2.6.29.4-167.fc11.x86_64, I could not get the
> martian_modem file created, since it is an x86_64 machine, I used
> instructions for it
> 
> x86_64 platform.
> ----------------
> 
> martian_modem is a 32-bit application. It can be built on x86_64 the
> way prescribed, but you need 32-bit development environment for that.
> Second option is to use binary built on i386.
> 
> To compile and install module only do
> $ make -C kmodule/ modules
> $ su
> # make -C kmodule/ install
> 
> 
> But it was not generating the martian_modem file.  Marv was kind to
> send a working martian_modem that I used to connect.  Now I took the
> plunge to get the latest kernel and tried it out and it is working :)
> 
> [olivares@black-amd64-home mart2630]$ 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@black-amd64-home mart2630]$ cd martian-full-20080625
> [olivares@black-amd64-home martian-full-20080625]$ make all
> make -C kmodule/ modules
> make[1]: Entering directory
> `/home/olivares/Download/mart2630/martian-full-20080625/kmodule'
> make -C /lib/modules/2.6.30/build
> M="/home/olivares/Download/mart2630/martian-full-20080625/kmodule"
> modules
> make[2]: Entering directory `/home/olivares/Download/linux-2.6.30'
>   CC [M]  /home/olivares/Download/mart2630/martian-full-20080625/kmodule/martian.o
> /home/olivares/Download/mart2630/martian-full-20080625/kmodule/martian.c:
> In function ‘martian_isr’:
> /home/olivares/Download/mart2630/martian-full-20080625/kmodule/martian.c:131:
> warning: value computed is not used
>   CC [M]  /home/olivares/Download/mart2630/martian-full-20080625/kmodule/marsio.o
> /home/olivares/Download/mart2630/martian-full-20080625/kmodule/marsio.c:358:
> warning: ‘mars_read_register_rem’ defined but not used
> /home/olivares/Download/mart2630/martian-full-20080625/kmodule/marsio.c:371:
> warning: ‘mars_write_register_rem’ defined but not used
>   CC [M]  /home/olivares/Download/mart2630/martian-full-20080625/kmodule/mfifo.o
>   LD [M]  /home/olivares/Download/mart2630/martian-full-20080625/kmodule/martian_dev.o
>   Building modules, stage 2.
>   MODPOST 1 modules
>   CC      /home/olivares/Download/mart2630/martian-full-20080625/kmodule/martian_dev.mod.o
>   LD [M]  /home/olivares/Download/mart2630/martian-full-20080625/kmodule/martian_dev.ko
> make[2]: Leaving directory `/home/olivares/Download/linux-2.6.30'
> make[1]: Leaving directory
> `/home/olivares/Download/mart2630/martian-full-20080625/kmodule'
> make -C modem/ all
> make[1]: Entering directory
> `/home/olivares/Download/mart2630/martian-full-20080625/modem'
>     CC	main.o
>     CC	dumpers.o
>     CC	log.o
>     CC	session.o
>     CC	mport.o
>     CC	pty.o
>     CC	sysdep.o
>     CC	isr.o
>     CC	smp.o
>     CC	core_if.o
>     CC	coresubst.o
>     CC	link.o
>     CC	tweakrelocsdynamic.o
>     CC	coreadd.o
>     CC	elf386tweakrelocs
>     LD	marscore.o
>     TWEAK	marscore.o
>     LD	martian_modem
> make[1]: Leaving directory
> `/home/olivares/Download/mart2630/martian-full-20080625/modem'
> [olivares@black-amd64-home martian-full-20080625]$ su -c 'make install'
> Password:
> make -C kmodule/ install
> make[1]: Entering directory
> `/home/olivares/Download/mart2630/martian-full-20080625/kmodule'
> make -C /lib/modules/2.6.30/build
> M="/home/olivares/Download/mart2630/martian-full-20080625/kmodule"
> modules_install
> make[2]: Entering directory `/home/olivares/Download/linux-2.6.30'
>   INSTALL /home/olivares/Download/mart2630/martian-full-20080625/kmodule/martian_dev.ko
>   DEPMOD  2.6.30
> make[2]: Leaving directory `/home/olivares/Download/linux-2.6.30'
> if ! /sbin/modprobe -nq martian_dev ; then /sbin/depmod -a; fi
> make[1]: Leaving directory
> `/home/olivares/Download/mart2630/martian-full-20080625/kmodule'
> make -C modem/ install
> make[1]: Entering directory
> `/home/olivares/Download/mart2630/martian-full-20080625/modem'
>     LD	martian_modem.debug
>     STRIP	martian_modem.debug
>     STRIP	martian_modem.stripped
>     INSTALL	/usr/sbin/martian_modem
>     INSTALL	/usr/lib/debug/usr/sbin/martian_modem.debug
> make[1]: Leaving directory
> `/home/olivares/Download/mart2630/martian-full-20080625/modem'
> [olivares@black-amd64-home martian-full-20080625]$ su -c 'modprobe martian_dev'
> Password:
> [olivares@black-amd64-home martian-full-20080625]$ su -c 'martian_modem'
> Password:
> martian: info: Your port is /dev/ttySM0
> martian: info: session: Started Fri Jun 19 11:22:23 2009
> 
> Strange things I see, but I guess are not important:
> 
> martian loaded - 20080620
>   alloc irq_desc for 18 on cpu 0 node 0
>   alloc kstat_irqs on cpu 0 node 0
> martian 0000:04:05.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
> IRQ 18/164x: IRQF_DISABLED is not guaranteed on shared IRQs
> martian: added device 11c1:44e BaseAddress = 0xbc00, CommAddres =
> 0xbf00, irq = 18
> martian_modem is attached.
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f7674144) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f7674144) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f7674144) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f7674144) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f7674144) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f7674144) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f7674144) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f7674004) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f7674004) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f7674004) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f7674004) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f7674004) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f7674004) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f7674004) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f7674024) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f7674024) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f7674024) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f7674024) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f7674024) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f7674024) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f7674024) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740c4) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740c4) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740c4) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740c4) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740c4) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740c4) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740c4) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740c4) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740c4) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740f4) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740f4) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740f4) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740f4) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740f4) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740f4) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740f4) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740f4) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740f4) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740f4) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740f4) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740f4) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740f4) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740f4) on /proc/driver/mars/0
> ioctl32(martian_modem:3122): Unknown cmd fd(3)
> cmd(400c530d){t:'S';sz:12} arg(f76740f4) on /proc/driver/mars/0
> 
> 
> [olivares@black-amd64-home ~]$ su -
> Password:
> [root@black-amd64-home ~]# lsmod | grep 'martian'
> martian_dev            24840  0
> [root@black-amd64-home ~]#
> 
> 
> Regards,
> 
> Antonio
> 

Attachment: signature.asc
Description: OpenPGP digital signature


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

  Powered by Linux