slmodemd does not work with FC5 Test Kernels
Antonio Olivares
olivares14031 at yahoo.com
Wed Mar 15 01:23:26 UTC 2006
When using 2.6.15-1.1878_FC5 kernel and forwarding to
discuss at linmodems.org, Marv emailed me back
Antonio
RE: > How do I access the userspace for slmodemd? The
modem
> is not the slmodem-alsa package which survives
kernel
> updates. I have to compile slmodemd into the
running
> kernel. What suggestions do you offer?
Ask maintainer "Sasha Khapyorsky" <sashakh at gmail.com>
It is part of Sasha's design that the slmodemd be
kernel-version independen=
t.
The only prep-compiled Proprietary component needed
for ALSA driver
support is the
modem/dsplibs.o and it is incorporated in the
non-driver slmodemd.
THis is why there is not a "Tainted" warning upon ALSA
driver insertion.
This is in contrast to with the drivers/amrlibs.o
which is
incorporated into slamr.ko,
which prompts a Tainted warning upon loading into the
kernel.
Recently Alexei has achived a similar split for the
Lucent DSP code.
The martian_drv.ko is all Open Sounce code, while a
non-driver helper
application carries the pre-compiled ltmdmobj.o
component from Agere
Systems:
See for details: http://martian.barrelsoutofbond.org/
http://linmodems.technion.ac.il/archive-sixth/msg00142.html
MarvS
I suspect it definitely has to do with the
***drivers/amrlibs.o**** since in the previous log it
has given some warnings. Please forgive if this
bothers other users. I have two machines running FC5
test versions and on one I can update much faster, but
on this one, since it is working off dialup, it makes
things much harder.
Best Regards,
Antonio
--- Antonio Olivares <olivares14031 at yahoo.com> wrote:
> See attached log file. I still wonder what is
> wrong.
> Please give advice.
>
> TIA
>
> Antonio
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com > Script started on Tue 14 Mar
2006 07:41:16 PM EST
>
]0;tonio at localhost:~/Downloads/20060204[tonio at localhost
> 20060204]$ cd slmodem-2.9.11-20051101
>
]0;tonio at localhost:~/Downloads/20060204/slmodem-2.9.11-20051101[tonio at localhost
> slmodem-2.9.11-20051101]$ ls
> [00m[00mChanges[00m [00mCOPYING[00m
> [00;34mdrivers[00m [00mMakefile[00m
> [00;34mmodem[00m [00;34mpatches[00m
> [00mREADME[00m [00;34mscripts[00m
>
[m]0;tonio at localhost:~/Downloads/20060204/slmodem-2.9.11-20051101[tonio at localhost
> slmodem-2.9.11-20051101]$ mk[Kake
> KERNEL_VER=/lib/modules/2.6.15-1..2041_FC5/build
> make -C modem all
> make[1]: Entering directory
>
`/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/modem'
> make[1]: Leaving directory
>
`/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/modem'
> make -C drivers
> KERNEL_DIR=/lib/modules/2.6.15-1.2041_FC5/build
> make[1]: Entering directory
>
`/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers'
> make modules -C /lib/modules/2.6.15-1.2041_FC5/build
>
SUBDIRS=/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers
> make[2]: Entering directory
> `/usr/src/kernels/2.6.15-1.2041_FC5-i686'
> CC [M]
>
/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers/amrmo_init.o
> CC [M]
>
/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers/sysdep_amr.o
> CC [M]
>
/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers/st7554.o
> LD [M]
>
/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers/slamr.o
> LD [M]
>
/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers/slusb.o
> Building modules, stage 2.
> MODPOST
> Warning: could not find
>
/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers/.amrlibs.o.cmd
> for
>
/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers/amrlibs.o
> CC
>
/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers/slamr.mod.o
> LD [M]
>
/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers/slamr.ko
> CC
>
/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers/slusb.mod.o
> LD [M]
>
/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers/slusb.ko
> make[2]: Leaving directory
> `/usr/src/kernels/2.6.15-1.2041_FC5-i686'
> make[1]: Leaving directory
>
`/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers'
>
]0;tonio at localhost:~/Downloads/20060204/slmodem-2.9.11-20051101[tonio at localhost
> slmodem-2.9.11-20051101]$ make
> make -C modem all
> make[1]: Entering directory
>
`/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/modem'
> make[1]: Leaving directory
>
`/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/modem'
> make -C drivers
> KERNEL_DIR=/lib/modules/2.6.15-1.2041_FC5/build
> make[1]: Entering directory
>
`/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers'
> cc -I/lib/modules/2.6.15-1.2041_FC5/build/include -o
> kernel-ver kernel-ver.c
> make all KERNEL_VER=2.6.15-1.2041_FC5
> make[2]: Entering directory
>
`/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers'
> make modules -C /lib/modules/2.6.15-1.2041_FC5/build
>
SUBDIRS=/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers
> make[3]: Entering directory
> `/usr/src/kernels/2.6.15-1.2041_FC5-i686'
> Building modules, stage 2.
> MODPOST
> Warning: could not find
>
/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers/.amrlibs.o.cmd
> for
>
/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers/amrlibs.o
> make[3]: Leaving directory
> `/usr/src/kernels/2.6.15-1.2041_FC5-i686'
> make[2]: Leaving directory
>
`/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers'
> make[1]: Leaving directory
>
`/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers'
>
]0;tonio at localhost:~/Downloads/20060204/slmodem-2.9.11-20051101[tonio at localhost
> slmodem-2.9.11-20051101]$ su
> Password:
>
]0;tonio at localhost:/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101[root at localhost
> slmodem-2.9.11-20051101]# make install
> make -C modem all
> make[1]: Entering directory
>
`/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/modem'
> make[1]: Leaving directory
>
`/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/modem'
> make -C drivers
> KERNEL_DIR=/lib/modules/2.6.15-1.2041_FC5/build
> make[1]: Entering directory
>
`/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers'
> cc -I/lib/modules/2.6.15-1.2041_FC5/build/include -o
> kernel-ver kernel-ver.c
> make all KERNEL_VER=2.6.15-1.2041_FC5
> make[2]: Entering directory
>
`/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers'
> make modules -C /lib/modules/2.6.15-1.2041_FC5/build
>
SUBDIRS=/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers
> make[3]: Entering directory
> `/usr/src/kernels/2.6.15-1.2041_FC5-i686'
> Building modules, stage 2.
> MODPOST
> Warning: could not find
>
/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers/.amrlibs.o.cmd
> for
>
/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers/amrlibs.o
> make[3]: Leaving directory
> `/usr/src/kernels/2.6.15-1.2041_FC5-i686'
> make[2]: Leaving directory
>
`/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers'
> make[1]: Leaving directory
>
`/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers'
> make install -C drivers
> KERNEL_DIR=/lib/modules/2.6.15-1.2041_FC5/build
> make[1]: Entering directory
>
`/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers'
> cc -I/lib/modules/2.6.15-1.2041_FC5/build/include -o
> kernel-ver kernel-ver.c
> mkdir -p /dev
> mknod -m 600 /dev/slamr0 c 242 0 ; mknod -m 600
> /dev/slamr1 c 242 1 ; mknod -m 600 /dev/slamr2 c
> 242 2 ; mknod -m 600 /dev/slamr3 c 242 3 ; echo
> -n
> mknod -m 600 /dev/slusb0 c 243 0 ; mknod -m 600
> /dev/slusb1 c 243 1 ; mknod -m 600 /dev/slusb2 c
> 243 2 ; mknod -m 600 /dev/slusb3 c 243 3 ; echo
> -n
> make install KERNEL_VER=2.6.15-1.2041_FC5
> make[2]: Entering directory
>
`/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers'
> install -D -m 644 slamr.ko
> /lib/modules/2.6.15-1.2041_FC5/extra/slamr.ko
> install -D -m 644 slusb.ko
> /lib/modules/2.6.15-1.2041_FC5/extra/slusb.ko
> /sbin/depmod -a
> make[2]: Leaving directory
>
`/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers'
> make[1]: Leaving directory
>
`/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101/drivers'
> install -D -m 755 modem/slmodemd /usr/sbin/slmodemd
> rm -f -rf /var/lib/slmodem
> install -d -D -m 755 /var/lib/slmodem
>
]0;tonio at localhost:/home/tonio/Downloads/20060204/slmodem-2.9.11-20051101[root at localhost
> slmodem-2.9.11-20051101]# exit
> exit
>
]0;tonio at localhost:~/Downloads/20060204/slmodem-2.9.11-20051101[tonio at localhost
> slmodem-2.9.11-20051101]$ ls
> [00m[00mChanges[00m [00mCOPYING[00m
> [00;34mdrivers[00m [00mMakefile[00m
> [00;34mmodem[00m [00;34mpatches[00m
> [00mREADME[00m [00;34mscripts[00m
>
[m]0;tonio at localhost:~/Downloads/20060204/slmodem-2.9.11-20051101[tonio at localhost
> slmodem-2.9.11-20051101]$ cd ..
>
]0;tonio at localhost:~/Downloads/20060204[tonio at localhost
> 20060204]$ cd ungrab-winmodem\
> >
>
]0;tonio at localhost:~/Downloads/20060204[tonio at localhost
> 20060204]$ cd ungrab-winmodem\[K
>
]0;tonio at localhost:~/Downloads/20060204/ungrab-winmodem[tonio at localhost
> ungrab-winmodem]$ ls
> [00m[00mMakefile[00m
> [00mungrab-winmodem.c[00m
> [00mungrab-winmodem.mod.c[00m
> [00mungrab-winmodem.o[00m
> [00mReadme.txt[00m [00mungrab-winmodem.ko[00m
> [00mungrab-winmodem.mod.o[00m
>
[m]0;tonio at localhost:~/Downloads/20060204/ungrab-winmodem[tonio at localhost
> ungrab-winmodem]$ su
> Password:
>
]0;tonio at localhost:/home/tonio/Downloads/20060204/ungrab-winmodem[root at localhost
> ungrab-winmodem]# make
> make modules -C /lib/modules/2.6.15-1.2041_FC5/build
>
SUBDIRS=/home/tonio/Downloads/20060204/ungrab-winmodem
> make[1]: Entering directory
> `/usr/src/kernels/2.6.15-1.2041_FC5-i686'
> CC [M]
>
/home/tonio/Downloads/20060204/ungrab-winmodem/ungrab-winmodem.o
> Building modules, stage 2.
> MODPOST
> CC
>
/home/tonio/Downloads/20060204/ungrab-winmodem/ungrab-winmodem.mod.o
> LD [M]
>
/home/tonio/Downloads/20060204/ungrab-winmodem/ungrab-winmodem.ko
> make[1]: Leaving directory
> `/usr/src/kernels/2.6.15-1.2041_FC5-i686'
>
]0;tonio at localhost:/home/tonio/Downloads/20060204/ungrab-winmodem[root at localhost
> ungrab-winmodem]# make install
> make modules -C /lib/modules/2.6.15-1.2041_FC5/build
>
SUBDIRS=/home/tonio/Downloads/20060204/ungrab-winmodem
> make[1]: Entering directory
> `/usr/src/kernels/2.6.15-1.2041_FC5-i686'
> Building modules, stage 2.
> MODPOST
>
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the test
mailing list