Re: Compiling report

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

 



Cary,

Per below, if DKMS support is installed,
then running the sl-modem-source_Version.deb installation is successful!
If is not necessary to manually make the utsrelease.h symbolic link.
DKMS knows how to manage it.
Please try this easy route.

MarvS
======

Selecting previously unselected package sl-modem-source.
(Reading database ... 255712 files and directories currently installed.)
Unpacking sl-modem-source (from
.../sl-modem-source_2.9.11~20110321-6_amd64.deb) ...
Setting up sl-modem-source (2.9.11~20110321-6) ...
Loading new sl-modem-2.9.11~20110321 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.0-25-generic
Building initial module for 3.2.0-25-generic
Done.

slusb:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.2.0-25-generic/updates/dkms/

ungrab-winmodem.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.2.0-25-generic/updates/dkms/

depmod....

DKMS: install completed.


On Mon, Jun 25, 2012 at 2:56 PM, Cary Karell <karell@xxxxxxxxxxxxxx> wrote:
> Dear MarvS,
>
> First test:
> Following your instructions and using source packages, I do
>
> ~$ cd /usr/src/linux-headers-2.6.38-8-generic/include
> /usr/src/linux-headers-2.6.38-8-generic/include$ ls
> acpi         config  generated  linux     mtd     rdma   sound   video
> asm          crypto  Kbuild     math-emu  net     rxrpc  target  xen
> asm-generic  drm     keys       media     pcmcia  scsi   trace
>
> and
>
> /usr/src/linux-headers-2.6.38-8-generic/include$ ls generated
> asm-offsets.h  autoconf.h  bounds.h  utsrelease.h
> /usr/src/linux-headers-2.6.38-8-generic/include$ sudo ln -s
> generated/utsrelease.h  linux/utsrelease.h
>
> but
>
> ~/slmodem-2.9.11-20100303/drivers$ make USB=1
> doing kernel-ver::
> cc -I/lib/modules/2.6.38-8-generic/build/include -o kernel-ver kernel-ver.c
> kernel-ver.c:9:30: fatal error: linux/utsrelease.h: No existe el fichero o
> el directorio
> compilation terminated.
> make: *** [kernel-ver] Error 1
>
>
> Second test:
> Using binary packages, I do
>
> /usr/src/sl-modem-2.9.11~20100718/drivers$ make USB=1
> doing kernel-ver::
> cc -I/lib/modules/2.6.38-8-generic/build/include -o kernel-ver kernel-ver.c
> /usr/bin/ld: cannot open output file kernel-ver: Permission denied
> collect2: ld returned 1 exit status
> make: *** [kernel-ver] Error 1
>
> /usr/src/sl-modem-2.9.11~20100718/drivers$ sudo make install USB=1
> doing kernel-ver::
> cc -I/lib/modules/2.6.38-8-generic/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: «/dev/slamr0»: El fichero ya existe
> 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.38-8-generic
> make[1]: se ingresa al directorio
> «/usr/src/sl-modem-2.9.11~20100718/drivers»
> install -D -m 644 slamr.ko /lib/modules/2.6.38-8-generic/extra/slamr.ko
> install -D -m 644 slusb.ko /lib/modules/2.6.38-8-generic/extra/slusb.ko
> /sbin/depmod -a
> make[1]: se sale del directorio «/usr/src/sl-modem-2.9.11~20100718/drivers»
> /usr/src/sl-modem-2.9.11~20100718/drivers$ sudo modprobe slusb
>
> ungrab-winmodem.ko slamr.ko slusb.ko in /lib/modules/2.6.38-8-generic/extra,
> and /lib/modules/2.6.38-8-generic/updates
>
> Wvdialconf:
> ~$ sudo wvdialconf /etc/wvdial.conf
> Editing `/etc/wvdial.conf'.
>
> Scanning your serial ports for a modem.
>
> ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
> ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
> ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
> Modem Port Scan<*1>: S1   S2   S3   S4   S5   S6   S7   S8
> Modem Port Scan<*1>: S9   S10  S11  S12  S13  S14  S15  S16
> Modem Port Scan<*1>: S17  S18  S19  S20  S21  S22  S23  S24
> Modem Port Scan<*1>: S25  S26  S27  S28  S29  S30  S31
>
>
> I tried too
>
> ln -sf /dev/slusb0 /dev/modem
> ln -sf /dev/slusb0 /dev/ttySL0
>
> Nothing....
>
> What else I can do ?
>
> Regard,
> Cary
>
>
>
>
>
>
>
>



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

  Powered by Linux