Re: Fwd: agrsm06pci-2.1.80-20090106

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

 



Just an update. I think I have wvdial and its related programs like wvstreams installed. I re-executed the commands you suggested earlier. Here are the results.

[root@localhost 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:

Checking for utility wvdialconf
Found /usr/bin/wvdialconf, preparing to run:
        wvdialconf /etc/wvdial.conf

Modem Port Scan<*1>: Scanning ttyS0 first, /dev/modem is a link to it.
Modem Port Scan<*1>: S0   S1   S2   S3

A reboot may be necessary before modem detection through:
        sudo modprobe agrserial
Which will load agrmodem, agrserial and create the symbolic link needed for:
        sudo wvdialconf


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

I assume the modprobe command noted in these results is the same as the one you mentioned earlier, so I ignored that. So I manually tried the wvdial command listed with these results:

[root@localhost agrsm06pci-2.1.80~20100106]# wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: Scanning ttyS0 first, /dev/modem is a link to it.
Modem Port Scan<*1>: S0   S1   S2   S3


Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?

<<end of wvdialconf>>

I did review the available help on the setserial command, but at this point, I have no idea what the proper command should be.

Thanks.



On 05/25/2010 10:57 AM, mwl wrote:-ex
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