Re: Lucent Winmodem and Slackware

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

 



	I got this information...

On Thu, 22 Mar 2007, Pawe? Wla? wrote:
1.
my kernel is not distribution-precompiled, but original kernel from ftp.kernel.org compiled on my machine. I do not use kernel-headers from slackware, but soft-link in /usr/include/

linux to /usr/src/linux/include/linux,
asm to ams-i386
asm-generic to /usr/src/linux/include/asm-generic
asm-386 to /usr/src/linux/include/asm-i386

and of course soft-link /usr/src/linux to /usr/src/linux-2.6.18

That how things are on all my slackware computers I take care of, I do not know if that is important or not.

Actually this is very important! Doh! Essentially you're synchronising the `kernel headers' with the installed kernel tree by doing this. Yes, I shall be doing this on my Slackware machines in future!

And sure enough it worked and I got a compile of martian with kernel 2.6.20.2 ...

make -C kmodule/ modules
make[1]: Entering directory `/tmp/martian/kmodule'
make -C /lib/modules/2.6.20.2/build M="/tmp/martian/kmodule"  modules
make[2]: Entering directory `/usr/src/linux-2.6.20.2'
  CC [M]  /tmp/martian/kmodule/martian.o
/tmp/martian/kmodule/martian.c: In function `martian_add':
/tmp/martian/kmodule/martian.c:662: warning: passing arg 2 of `request_irq' from incompatible pointer type
  CC [M]  /tmp/martian/kmodule/marsio.o
  CC [M]  /tmp/martian/kmodule/mfifo.o
  LD [M]  /tmp/martian/kmodule/martian_dev.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/martian/kmodule/martian_dev.mod.o
  LD [M]  /tmp/martian/kmodule/martian_dev.ko
make[2]: Leaving directory `/usr/src/linux-2.6.20.2'
make[1]: Leaving directory `/tmp/martian/kmodule'
make -C modem/ all
make[1]: Entering directory `/tmp/martian/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
coresubst.c: In function `mdual_port_rx':
coresubst.c:100: warning: 'lastptr' might be used uninitialized in this function
    CC	link.o
    CC	tweakrelocsdynamic.o
    CC	coreadd.o
    CC	elf386tweakrelocs
    LD	marscore.o
    TWEAK	marscore.o
    LD	martian_modem
make[1]: Leaving directory `/tmp/martian/modem'

	And, after I modprobe'd martian_dev ...

# martian_modem
martian: info: Your port is /dev/ttySM0

However...

# ./automate.sh
Module:
        Added to /etc/rc.local
Daemon:
./automate.sh: line 131: /sbin/chkconfig: No such file or directory
./automate.sh: line 132: /sbin/chkconfig: No such file or directory


	Anyhoo, some success with 2.6.20.2 and martian.


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-|message from the cookie daemon|

The wages of sin are high but you get your money's worth.

--
John Pate <johnny@xxxxxxxxxx>
Edinburgh, Scotland (home PC)
Disclaimer: I've probably changed my opinions by the time you read this
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

  Powered by Linux