Re: Fwd: agrsm06pci-2.1.80-20090106

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

 



I will respond to both to you Marvin and Antonio in this note.

First, Marvin, no apologies are necessary. I went back to review and it was my fault on the command. I mistyped 'ln' as 'ls'. I just hope that mistake did not cause what I am about to report.

I booted the machine and, based on your comment, I started to re-execute the commands provided earlier. Unfortunately, when I tried

ls -l /dev/ttyA*

the message said that no files were found. I know when I did this earlier, it showed up.


Second, Antonio, I created the wvdial.conf as you suggested. However, the wvdial.out simply shows several lines of /dev/modem cannot be found. I presume it is because the commands from Marvin would not work.


Thank you both for the help.



On 05/25/2010 09:08 PM, Marvin Stodolsky wrote:
Apologies,

# ls -sf /dev/ttyAGS3 /dev/modem
should have been
# ln -sf /dev/ttyAGS3 /dev/modem
which will break  /dev/modem ->  ttyS0
and instead set /dev/modem ->  /dev/ttyAGS3
additionally also do
# ln -s /dev/ttyAGS3 /dev/ttySAGR
because wvdial checks all /dev/ttyS*  links

MarvS


On Tue, May 25, 2010 at 8:47 PM, mwl<mossianin_lbcmi@xxxxxxxxxx>  wrote:
Here are the results of your commands:

[root@localhost agrsm06pci-2.1.80~20100106]# ls -l /dev/ttyA*
crw-rw---- 1 root dialout 62, 67 2010-05-25 18:56 /dev/ttyAGS3
[root@localhost agrsm06pci-2.1.80~20100106]# ls -sf /dev/ttyAGS3 /dev/modem
/dev/ttyAGS3  /dev/modem@
[root@localhost agrsm06pci-2.1.80~20100106]# ls -l /dev/ttyAGS3
crw-rw---- 1 root dialout 62, 67 2010-05-25 18:56 /dev/ttyAGS3
[root@localhost agrsm06pci-2.1.80~20100106]# ls -l /dev/ttyAGS3 /dev/modem
lrwxrwxrwx 1 root root         5 2010-05-25 13:44 /dev/modem ->  ttyS0
crw-rw---- 1 root dialout 62, 67 2010-05-25 18:56 /dev/ttyAGS3
<<end of results>>

I retried KPPP using both /dev/modem and ttyS0 and both still show the modem
is busy message.

Thanks.


On 05/25/2010 06:26 PM, Marvin Stodolsky wrote:
After the drivers are loaded, there should be a report that
/dev/ttyAGS3 has been created.
Check with ls -l /dev/ttyA*
Then set up a symbolic link:
# ln -sf  /dev/ttyAGS3 /dev/modem
Check with:
# ls -l /dev/ttyAGS3 /dev/modem

Then you can test use with /dev/modem

The step
# ln -sf  /dev/ttyAGS3 /dev/modem
must be redone upon every bootup for now.

MarvS

On Tue, May 25, 2010 at 11:57 AM, mwl<mossianin_lbcmi@xxxxxxxxxx>    wrote:

Here are the results of the commands you suggested.

# modprobe agrmodem
# modprobe agrserial
# ./agrsm-test

Found drivers for boot kernel 2.6.32.12-pclos1.bfs at:
find: paths must precede expression: agrserial.ko
Usage: find [-H] [-L] [-P] [-Olevel] [-D
help|tree|search|stat|rates|opt|exec] [path...] [expression]



Loading drivers:

Checking for utility wvdialconf
Utility wvdialconf not found

The installation record has been written to ./agrsm-test.txt
<<end>>

I rebooted and rechecked with
# modprobe -l agr*
kernel/drivers/extra/agrserial.ko.gz
kernel/drivers/extra/agrmodem.ko.gz
extra/agrserial.ko
extra/agrmodem.ko

I know you prefer to test with wvdial, but because I am still having
problems getting wvdial and wvstreams installed, I tried dialing out with
KPPP and get the same message about the modem being busy.  I am trying to
connect with the dev/modem device.  I looked thru the list of available
modems trying to find one that used AGR or something similar, but there
was
none.

Thanks for your continued help.



On 05/24/2010 06:52 PM, Marvin Stodolsky wrote:

Martin,

Loading will be OK, I expect, if you as root,
# modprobe agrmodem
# modprobe agrserial
Then run
# ./agrsm-test

The problem which we can fix later is that the /etc/modprobe   file/line
for pre-loading agrmodem before agrserial is not yet present.
We can fix this later.

Test and report back.

MarvS

On Mon, May 24, 2010 at 10:08 AM, mwl<mossianin_lbcmi@xxxxxxxxxx>
  wrote:


The results of the find show the following:
/lib/modules/2.6.32.12-pclos1.bfs/extra/agrmodem.ko
/lib/modules/2.6.32.12-pclos1.bfs/extra/agrserial.ko

Thanks.


On 05/23/2010 05:09 PM, Marvin Stodolsky wrote:


Martin,

Again check where they installed to with:
$ find /lib/modules -name agr*.ko

MarvS

On Sun, May 23, 2010 at 6:32 PM, mwl<mossianin_lbcmi@xxxxxxxxxx>
  wrote:



The following is the results of the install sequence.  If I am
understanding
correctly, it looks like the driver installed.

[agrsm06pci-2.1.80~20100106]# make clean
make -C /lib/modules/2.6.32.12-pclos1.bfs/build
M=/usr/src/agrsm06pci-2.1.80~20100106 clean
make[1]: Entering directory
`/usr/src/kernel-devel-2.6.32.12-pclos1.bfs'
  CLEAN   /usr/src/agrsm06pci-2.1.80~20100106/.tmp_versions
  CLEAN   /usr/src/agrsm06pci-2.1.80~20100106/Module.symvers
/usr/src/agrsm06pci-2.1.80~20100106/modules.order
make[1]: Leaving directory
`/usr/src/kernel-devel-2.6.32.12-pclos1.bfs'

[agrsm06pci-2.1.80~20100106]# make
make -C /lib/modules/2.6.32.12-pclos1.bfs/build
M=/usr/src/agrsm06pci-2.1.80~20100106 modules
make[1]: Entering directory
`/usr/src/kernel-devel-2.6.32.12-pclos1.bfs'
  CC [M]  /usr/src/agrsm06pci-2.1.80~20100106/agrsoftmodem.o
/usr/src/agrsm06pci-2.1.80~20100106/agrsoftmodem.c: In function
‘agr_pci_find_device’:
/usr/src/agrsm06pci-2.1.80~20100106/agrsoftmodem.c:364: warning:
ignoring
return value of ‘pci_enable_device’, declared with attribute
warn_unused_result
/usr/src/agrsm06pci-2.1.80~20100106/agrsoftmodem.c: In function
‘x_linux_dbg_print_crit’:
/usr/src/agrsm06pci-2.1.80~20100106/agrsoftmodem.c:349: warning: the
frame
size of 1540 bytes is larger than 1024 bytes
/usr/src/agrsm06pci-2.1.80~20100106/agrsoftmodem.c: In function
‘x_linux_dbg_print’:
/usr/src/agrsm06pci-2.1.80~20100106/agrsoftmodem.c:337: warning: the
frame
size of 1540 bytes is larger than 1024 bytes
  SHIPPED /usr/src/agrsm06pci-2.1.80~20100106/agrmodemlib.o
  CC [M]  /usr/src/agrsm06pci-2.1.80~20100106/hda.o
  CC [M]  /usr/src/agrsm06pci-2.1.80~20100106/serial26.o
  LD [M]  /usr/src/agrsm06pci-2.1.80~20100106/agrmodem.o
  LD [M]  /usr/src/agrsm06pci-2.1.80~20100106/agrserial.o
  Building modules, stage 2.
  MODPOST 2 modules
WARNING: could not find
/usr/src/agrsm06pci-2.1.80~20100106/.agrmodemlib.o.cmd for
/usr/src/agrsm06pci-2.1.80~20100106/agrmodemlib.o
  CC      /usr/src/agrsm06pci-2.1.80~20100106/agrmodem.mod.o
  LD [M]  /usr/src/agrsm06pci-2.1.80~20100106/agrmodem.ko
  CC      /usr/src/agrsm06pci-2.1.80~20100106/agrserial.mod.o
  LD [M]  /usr/src/agrsm06pci-2.1.80~20100106/agrserial.ko
make[1]: Leaving directory
`/usr/src/kernel-devel-2.6.32.12-pclos1.bfs'

[agrsm06pci-2.1.80~20100106]# make module_install
make: *** No rule to make target `module_install'.  Stop.
[root@localhost agrsm06pci-2.1.80~20100106]# make modules_install
make -C /lib/modules/2.6.32.12-pclos1.bfs/build
M=/usr/src/agrsm06pci-2.1.80~20100106 modules_install
make[1]: Entering directory
`/usr/src/kernel-devel-2.6.32.12-pclos1.bfs'
  INSTALL  /usr/src/agrsm06pci-2.1.80~20100106/agrmodem.ko
  INSTALL  /usr/src/agrsm06pci-2.1.80~20100106/agrserial.ko
  DEPMOD  2.6.32.12-pclos1.bfs
make[1]: Leaving directory
`/usr/src/kernel-devel-2.6.32.12-pclos1.bfs'
<<end of install>>

Based on earlier instructions, I then tried the agrsm-test as
follows:
[agrsm06pci-2.1.80~20100106]# ./agrsm-test

Found drivers for boot kernel 2.6.32.12-pclos1.bfs at:
find: paths must precede expression: agrserial.ko
Usage: find [-H] [-L] [-P] [-Olevel] [-D
help|tree|search|stat|rates|opt|exec] [path...] [expression]



Loading drivers:
FATAL: Error inserting agrserial
(/lib/modules/2.6.32.12-pclos1.bfs/extra/agrserial.ko): No such
device

Checking for utility wvdialconf
Utility wvdialconf not found

The installation record has been written to ./agrsm-test.txt
<<end of agrsm-test>>

When I noticed the FATAL, I did find the file(device?) at the
location
specified in the error message, so now I am stumped (again).

Because the test noted that wvdial did not exist, I tried using KPPP
to
connect and all I get is a message about the modem being busy.

I am trying to get my hands on wvdial, but that requires wvstreams,
which
will not install for some reason.  So, I thought I would pass along
what
I
can in the hopes that there is enough there to help solve the
problem.

Thanks.


On 05/23/2010 02:54 PM, Marvin Stodolsky wrote:



Martin

Use agrsm06pci-2.1.80-20106
After the
# make clean
# make
read the Makefile with
# more Makefile
You will thus see that the command needed is:
# make modules_install
Why the LSI maintainer choose this variant is obscure.

MarvS

On Sun, May 23, 2010 at 4:32 PM, mwl<mossianin_lbcmi@xxxxxxxxxx>
  wrote:




I apologize for the slowness of my responses lately.  I have been
waiting
for PCLinux to release a more current kernel to the ones that we
have
been
discussing.  Now, they have the 2.6.32 kernel and I have upgraded
the
problem machine to that kernel and have been re-attempting to get
this
Agere
11c1:0630 modem working.

I started off with what I believe is the most recent driver
(agrsm06pci-2.1.80-20100106) and executed the following commands
from
the
usr/src directory

[agrsm06pci-2.1.80~20100106]#make clean
make -C /lib/modules/2.6.32.12-pclos1.bfs/build
M=/usr/src/agrsm06pci-2.1.80~20100106 clean
make[1]: Entering directory
`/usr/src/kernel-devel-2.6.32.12-pclos1.bfs'
  CLEAN   /usr/src/agrsm06pci-2.1.80~20100106/.tmp_versions
  CLEAN   /usr/src/agrsm06pci-2.1.80~20100106/Module.symvers
/usr/src/agrsm06pci-2.1.80~20100106/Module.markers
/usr/src/agrsm06pci-2.1.80~20100106/modules.order
make[1]: Leaving directory
`/usr/src/kernel-devel-2.6.32.12-pclos1.bfs'

[agrsm06pci-2.1.80~20100106]# make
make -C /lib/modules/2.6.32.12-pclos1.bfs/build
M=/usr/src/agrsm06pci-2.1.80~20100106 modules
make[1]: Entering directory
`/usr/src/kernel-devel-2.6.32.12-pclos1.bfs'
  CC [M]  /usr/src/agrsm06pci-2.1.80~20100106/agrsoftmodem.o
/usr/src/agrsm06pci-2.1.80~20100106/agrsoftmodem.c: In function
‘agr_pci_find_device’:
/usr/src/agrsm06pci-2.1.80~20100106/agrsoftmodem.c:364: warning:
ignoring
return value of ‘pci_enable_device’, declared with attribute
warn_unused_result
/usr/src/agrsm06pci-2.1.80~20100106/agrsoftmodem.c: In function
‘x_linux_dbg_print_crit’:
/usr/src/agrsm06pci-2.1.80~20100106/agrsoftmodem.c:349: warning:
the
frame
size of 1540 bytes is larger than 1024 bytes
/usr/src/agrsm06pci-2.1.80~20100106/agrsoftmodem.c: In function
‘x_linux_dbg_print’:
/usr/src/agrsm06pci-2.1.80~20100106/agrsoftmodem.c:337: warning:
the
frame
size of 1540 bytes is larger than 1024 bytes
  SHIPPED /usr/src/agrsm06pci-2.1.80~20100106/agrmodemlib.o
  CC [M]  /usr/src/agrsm06pci-2.1.80~20100106/hda.o
  CC [M]  /usr/src/agrsm06pci-2.1.80~20100106/serial26.o
  LD [M]  /usr/src/agrsm06pci-2.1.80~20100106/agrmodem.o
  LD [M]  /usr/src/agrsm06pci-2.1.80~20100106/agrserial.o
  Building modules, stage 2.
  MODPOST 2 modules
WARNING: could not find
/usr/src/agrsm06pci-2.1.80~20100106/.agrmodemlib.o.cmd for
/usr/src/agrsm06pci-2.1.80~20100106/agrmodemlib.o
  CC      /usr/src/agrsm06pci-2.1.80~20100106/agrmodem.mod.o
  LD [M]  /usr/src/agrsm06pci-2.1.80~20100106/agrmodem.ko
  CC      /usr/src/agrsm06pci-2.1.80~20100106/agrserial.mod.o
  LD [M]  /usr/src/agrsm06pci-2.1.80~20100106/agrserial.ko
make[1]: Leaving directory
`/usr/src/kernel-devel-2.6.32.12-pclos1.bfs'

[agrsm06pci-2.1.80~20100106]# make install
make: *** No rule to make target `install'.  Stop.


I also went back to the agrsm06pci-2.1.80-20090825 version of the
driver
with the following results.

make clean
rm -f *.a
rm -f *~
rm -f agrmodem.o
rm -f agrmodem.ko
rm -f agrmodem.mod.o
rm -f agrmodem.mod.c
rm -f agrserial.o
rm -f agrserial.ko
rm -f agrserial.mod.o
rm -f agrserial.mod.c
rm -f agrsoftmodem.o
rm -f serial26.o
rm -f HDA.o
rm -f hda.o
rm -f modules.order
rm -f Module.symvers
rm -f Module.markers

[agrsm06pci-2.1.80~20090825]# make

Run "make install" to install Agere Systems Soft Modem on your
system.
Run "make uninstall" to remove a previously installed modem.

[agrsm06pci-2.1.80~20090825]# make install
./agrinst
Installing Agere Softmodem driver version 2.1.80-Red Flag NE 5.0
some files needed for installation are missing


Any help would be appreciated.

Thanks.




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

  Powered by Linux