Re: agrsm06pci-2.1.80-20090106

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

 



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.


On 03/28/2010 02:40 PM, Marvin Stodolsky wrote:
Martin,

RE: /serial26.c:1005: error: ‘struct uart_info’ has no member named ‘port’
Vaguely I recall that the fix for this error was included in one of
the past upgrades.
Evidently we did not maintain backward compartibility to 2.6.26
kernels in doing so.

If the prior variant of agrsm06pci-2.1.80 is not serving under 2.6.26
kernels is not doing so either,
it is simplest just to upgrade to a 2.6.28 kernel+header resources.

I just checked that the  agrsm06pci-2.1.80~20100106/  code compiles under 2.6.28

MarvS


On Sat, Mar 27, 2010 at 4:25 PM, Martin Lupcke
<mossianin_lbcmi@xxxxxxxxxx>  wrote:
Just to make sure I was not missing something, I re-executed the commands as
suggested by Kenneth.  The section below is the results of the three
commands.
[root@localhost agrsm06pci-2.1.80~20100106]# make clean
make -C /lib/modules/2.6.26.8.tex3/build
M=/usr/src/agrsm06pci-2.1.80~20100106 clean
make[1]: Entering directory `/usr/src/linux-2.6.26.8.tex3'
  CLEAN   /usr/src/agrsm06pci-2.1.80~20100106/.tmp_versions
make[1]: Leaving directory `/usr/src/linux-2.6.26.8.tex3'
[root@localhost agrsm06pci-2.1.80~20100106]# make
make -C /lib/modules/2.6.26.8.tex3/build
M=/usr/src/agrsm06pci-2.1.80~20100106 modules
make[1]: Entering directory `/usr/src/linux-2.6.26.8.tex3'
  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
  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
/usr/src/agrsm06pci-2.1.80~20100106/serial26.c: In function ‘receive_chars’:
/usr/src/agrsm06pci-2.1.80~20100106/serial26.c:1005: error: ‘struct
uart_info’ has no member named ‘port’
make[2]: *** [/usr/src/agrsm06pci-2.1.80~20100106/serial26.o] Error 1
make[1]: *** [_module_/usr/src/agrsm06pci-2.1.80~20100106] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.26.8.tex3'
make: *** [default] Error 2
[root@localhost agrsm06pci-2.1.80~20100106]# make install
make: *** No rule to make target `install'.  Stop.

I know Marvin/Nickolay suggested that I would probably need to upgrade to a
2.6.28 kernel, but I thought with sharing these results someone could
confirm that need or whether there is something else I could try to get this
driver to work with my current 2.6.26 kernel.

Thanks for the patience and the help.



Keneth W Jones wrote:
Martin,
If you tried running 'make install' before running 'make' then the error
you received about missing files for the installation makes sense.
The reason I say that is based on the following:
The following sequence of make commands could be used to successfully
'compile' and 'install':

(1) make clean

(2) make

(3) make install

Notes:
The 'make clean' command is use to remove the files (the rm commands -
remove/delete commands) created from a previous compile attempt.  In
other words, it prepares or cleans the compile directory for the next
compile attempt.
The 'make' command does the actual compiling.  Hopefully; it's
successful, and you do not receive an error.  Warnings are okay in
compiling, but an error means you did not successfully compile (make)
the modem driver module files (e.g., create the agrmodem.ko and
agrserial.ko modem driver module files).
The 'make install' command actually installs the compiled results (e.g.,
copies the newly created modem module driver agrmodem.ko and
agrserial.ko files,) to the required location (a directory) on the
system.  The 'make install' command does other necessary actions to the
system for the install; e.g., creates a directory, etc.

Also, if (2) is unsuccessful, then there is no sense in doing (3).

I hope the above explanations on the commands used for compiling and
installing clarifies things for you somewhat.

Now, I turn you back over to the experts of this discussion list.

Regards,

Ken




On Sat, 2010-02-13 at 10:43 -0600, Martin Lupcke wrote:

The use of the 20090825 package sounded familiar, but I redownloaded the
file and tried the same steps.
As per the 1stReadMe.txt file in the 20090825 directory, I tried the
'make clean' command.  That produced several lines with 'rm' at the
beginning. 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

I then tried the 'make install', but that produced a message about
missing files shown below:
./agrinst
Installing Agere Softmodem driver version 2.1.80-Red Flag NE 5.0
some files needed for installation are missing

Thanks.



Marvin Stodolsky wrote:

Martin,

Per below the compile is successful on my System, for Ubuntu
2.6.28-16-generic resources
Please try the preceding package agrsm06pci-2.1.80~20090825.tar.gz ,
in case there is a backward compatibilty issue for your 2.6.26.8.tex3
resources.

MarvS
==============
agrsm06pci-2.1.80~20100106# make
make -C /lib/modules/2.6.28-16-generic/build
M=/usr/src/pkg/agrsm/0620/agrsm06pci-2.1.80~20100106 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-16-generic'
  CC [M]
  /usr/src/pkg/agrsm/0620/agrsm06pci-2.1.80~20100106/agrsoftmodem.o
/usr/src/pkg/agrsm/0620/agrsm06pci-2.1.80~20100106/agrsoftmodem.c: In
function ‘x_linux_dbg_print_crit’:
/usr/src/pkg/agrsm/0620/agrsm06pci-2.1.80~20100106/agrsoftmodem.c:349:
warning: the frame size of 1536 bytes is larger than 1024 bytes
/usr/src/pkg/agrsm/0620/agrsm06pci-2.1.80~20100106/agrsoftmodem.c: In
function ‘x_linux_dbg_print’:
/usr/src/pkg/agrsm/0620/agrsm06pci-2.1.80~20100106/agrsoftmodem.c:337:
warning: the frame size of 1536 bytes is larger than 1024 bytes
  SHIPPED
/usr/src/pkg/agrsm/0620/agrsm06pci-2.1.80~20100106/agrmodemlib.o
  CC [M]  /usr/src/pkg/agrsm/0620/agrsm06pci-2.1.80~20100106/hda.o
  CC [M]  /usr/src/pkg/agrsm/0620/agrsm06pci-2.1.80~20100106/serial26.o
  LD [M]  /usr/src/pkg/agrsm/0620/agrsm06pci-2.1.80~20100106/agrmodem.o
  LD [M]  /usr/src/pkg/agrsm/0620/agrsm06pci-2.1.80~20100106/agrserial.o
  Building modules, stage 2.
  MODPOST 2 modules
WARNING: could not find
/usr/src/pkg/agrsm/0620/agrsm06pci-2.1.80~20100106/.agrmodemlib.o.cmd
for /usr/src/pkg/agrsm/0620/agrsm06pci-2.1.80~20100106/agrmodemlib.o
  CC
  /usr/src/pkg/agrsm/0620/agrsm06pci-2.1.80~20100106/agrmodem.mod.o
  LD [M]  /usr/src/pkg/agrsm/0620/agrsm06pci-2.1.80~20100106/agrmodem.ko
  CC
  /usr/src/pkg/agrsm/0620/agrsm06pci-2.1.80~20100106/agrserial.mod.o
  LD [M]  /usr/src/pkg/agrsm/0620/agrsm06pci-2.1.80~20100106/agrserial.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-16-generic'

# ls -l *.ko
-rw-r--r-- 1 root staff 1683004 2010-02-12 19:44 agrmodem.ko
-rw-r--r-- 1 root staff   26169 2010-02-12 19:44 agrserial.ko
  =========

On Fri, Feb 12, 2010 at 8:03 PM, Martin Lupcke
<mossianin_lbcmi@xxxxxxxxxx>  wrote:

I apologize for the delay, but here is what I did and the results.

--I copied the tar to /usr/src and ran the tar command as noted below.
--I cd to the new directory
--I ran the make command and got the following message
make -C /lib/modules/2.6.26.8.tex3/build
M=/usr/src/agrsm06pci-2.1.80~20100106 modules
make[1]: Entering directory `/usr/src/linux-2.6.26.8.tex3'
  CC [M]  /usr/src/agrsm06pci-2.1.80~20100106/serial26.o
/usr/src/agrsm06pci-2.1.80~20100106/serial26.c: In function
‘receive_chars’:
/usr/src/agrsm06pci-2.1.80~20100106/serial26.c:1005: error: ‘struct
uart_info’ has no member named ‘port’
make[2]: *** [/usr/src/agrsm06pci-2.1.80~20100106/serial26.o] Error 1
make[1]: *** [_module_/usr/src/agrsm06pci-2.1.80~20100106] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.26.8.tex3'
make: *** [default] Error 2

I believe that message about "struct_uart_info" is the same that I got
with
an earlier attempt at this.
The make install failed.  I also tried the wvdialconf /etc/wvdial.conf
and
that failed with a message about not being able to detect the modem.
I am not sure where this leaves the situation.
Any feedback would be appreciated.

Thanks.


Marvin Stodolsky wrote:

Martin,

After compiling the drivers and installing.
Run the
  agrsm-test

if successfull, through the included wvdialconf  test
  gedit /etc/wvdial.conf
and try a dialout with:
$ sudo wvdial

MarvS

On Sun, Jan 10, 2010 at 3:21 PM, Martin Lupcke
<mossianin_lbcmi@xxxxxxxxxx>  wrote:


Thanks for the update.  Because of my limited access to the machine,
it
will
be a few weeks before I can check this.  I will keep you posted as
soon
as I
can.
I do have a question now:  After I cd agrsm08pci-2.1.80-20100106, am
I
correct in assuming you mean to use wvdial to attempt a connection?


Marvin Stodolsky wrote:


Martin,

We have an update working on the 11c1:0620 chipset through kernels
2.6.32
Please check on against your 11c1:0630 hardware.
Martin

Within the /usr/src/ folder:
# tar zxf agrsm*.tar.gz
# cd agrsm06pci-2.1.80~20100106
Browse a while.

Then run:
# ./postinst
and the DKMS system should do the rest of the install.

Then proceed with modem tests.

Report back to the list

MarvS







On Sat, Dec 5, 2009 at 4:14 PM, Marvin Stodolsky
<marvin.stodolsky@xxxxxxxxx>  wrote:



Martin,

As yet, we don't have an update supporting 11c1:0620 and 11c1:0630
chipsets

MarvS

On Sat, Dec 5, 2009 at 5:50 PM, Martin Lupcke
<mossianin_lbcmi@xxxxxxxxxx>  wrote:



I have been away for several days and was wondering if there is
any
further
information available.  I did some searching, but nothing related
to
this
port error.  Considering I would not know what I am looking for
anyway....

Thanks.


Marvin Stodolsky wrote:



re:>  The deb file that Marv sent you is for Ubuntu systems and
Not quite.  Martin was working from the general tarball.

Rather the lethal error is here:
serial26.c:983: error: ‘struct uart_info’ has no member named
‘port’
---
I remember an error of this sort in some other code.
Will check into it further later.

MarvS

On Sat, Nov 28, 2009 at 5:50 PM, Antonio Olivares
<olivares14031@xxxxxxxxx>  wrote:




Martin,

I have achieved success with this 11c1:0620 chipset and Slax.  I
have
a ready built module, if you are willing to get Slax and run
from
livecd or usb (Slax 6.1.2) I can send you the lzm module.

The deb file that Marv sent you is for Ubuntu systems and you
are
installing it on PCLinuxOS and thus the failure.  You might want
to
try and get the *.tar.gz equivalent file and try the build
again.
  If
you decide to do that, please post error messages that you might
get.

If you decide to try Slax, let me know and I can email you the
lzm
module and/or slax build script.

Regards,

Antonio

On 11/28/09, Martin Lupcke<mossianin_lbcmi@xxxxxxxxxx>  wrote:




First, Marvin, thank you for your patience with me and this
situation.

I checked the agrsm06pci-2.1.80-20090825 folder and the
postinst
file
you mention does not exist.  I moved that folder to the
/usr/src
and
continued with your alternate commands.

The first command (dkms add) worked successfully.

The second command (dkms build) failed with the screen message
  Error!  Bad return status for module build on kernel:
  2.6.26.8.text3
(i586)
  Consult the make.log in the build directory
  /var/lib/dkms/agrsm06pci/2.1.80-20090825/build/  for more
information

The contents of that log file are as follows:

==Begin make.log
DKMS make.log for agrsm06pci-2.1.80-20090825 for kernel
2.6.26.8.tex3
(i586)
Sat Nov 28 18:25:04 EST 2009
make: Entering directory `/usr/src/linux-2.6.26.8.tex3'
  LD
  /var/lib/dkms/agrsm06pci/2.1.80-20090825/build/built-in.o
  CC [M]
  /var/lib/dkms/agrsm06pci/2.1.80-20090825/build/agrsoftmodem.o
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/agrsoftmodem.c:
In
function ‘agr_pci_find_device’:

/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/agrsoftmodem.c:360:
warning: ignoring return value of ‘pci_enable_device’, declared
with
attribute warn_unused_result
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/agrsoftmodem.c:
In
function ‘x_pcibios_read_config_byte’:

/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/agrsoftmodem.c:388:
warning: ‘pci_find_slot’ is deprecated (declared at
include/linux/pci.h:516)
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/agrsoftmodem.c:
In
function ‘x_pcibios_read_config_word’:

/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/agrsoftmodem.c:391:
warning: ‘pci_find_slot’ is deprecated (declared at
include/linux/pci.h:516)
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/agrsoftmodem.c:
In
function ‘x_pcibios_read_config_dword’:

/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/agrsoftmodem.c:394:
warning: ‘pci_find_slot’ is deprecated (declared at
include/linux/pci.h:516)
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/agrsoftmodem.c:
In
function ‘x_pcibios_write_config_byte’:

/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/agrsoftmodem.c:397:
warning: ‘pci_find_slot’ is deprecated (declared at
include/linux/pci.h:516)
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/agrsoftmodem.c:
In
function ‘x_pcibios_write_config_word’:

/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/agrsoftmodem.c:400:
warning: ‘pci_find_slot’ is deprecated (declared at
include/linux/pci.h:516)
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/agrsoftmodem.c:
In
function ‘x_pcibios_write_config_dword’:

/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/agrsoftmodem.c:403:
warning: ‘pci_find_slot’ is deprecated (declared at
include/linux/pci.h:516)
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/agrsoftmodem.c:
In
function ‘x_task_queue_init’:

/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/agrsoftmodem.c:442:
warning: assignment from incompatible pointer type
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/agrsoftmodem.c:
In
function ‘x_task_queue_init_usb’:

/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/agrsoftmodem.c:454:
warning: assignment from incompatible pointer type
  CC [M]  /var/lib/dkms/agrsm06pci/2.1.80-20090825/build/hda.o
In file included from
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/hda.c:13:
include/sound/driver.h:1:2: warning: #warning "This file is
deprecated"
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/hda.c:280:
warning:
function declaration isn’t a prototype
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/hda.c:307:
warning:
function declaration isn’t a prototype
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/hda.c:314:
warning:
function declaration isn’t a prototype
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/hda.c: In
function
‘LnxTransferCodecVerbs’:
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/hda.c:323:
warning:
unused variable ‘CodecAddress’
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/hda.c: In
function
‘LnxTransferCodecVerbsWrite’:
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/hda.c:344:
warning:
unused variable ‘CodecAddress’
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/hda.c: In
function
‘findHDACodec’:
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/hda.c:282:
warning:
control reaches end of non-void function
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/hda.c: In
function
‘GetHDABaseAddress’:
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/hda.c:280:
warning:
control reaches end of non-void function
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/hda.c: In
function
‘getHDAStream’:
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/hda.c:279:
warning:
control reaches end of non-void function
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/hda.c: In
function
‘LnxTransferCodecVerbs’:
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/hda.c:340:
warning:
‘rvalue’ is used uninitialized in this function
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/hda.c: In
function
‘LnxTransferCodecVerbsWrite’:
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/hda.c:361:
warning:
‘rvalue’ is used uninitialized in this function
  CC [M]
  /var/lib/dkms/agrsm06pci/2.1.80-20090825/build/serial26.o
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/serial26.c: In
function
‘receive_chars’:
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/serial26.c:983:
error:
‘struct uart_info’ has no member named ‘port’
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/serial26.c: In
function
‘serial8250_startup’:
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/serial26.c:1434:
warning:
assignment from incompatible pointer type
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/serial26.c: In
function
‘serial8250_set_termios’:
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/serial26.c:1699:
warning:
passing argument 2 of ‘uart_get_baud_rate’ from incompatible
pointer
type
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/serial26.c:1699:
warning:
passing argument 3 of ‘uart_get_baud_rate’ from incompatible
pointer
type
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/serial26.c: At
top
level:
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/serial26.c:2115:
warning:
initialization from incompatible pointer type
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/serial26.c:2116:
warning:
initialization from incompatible pointer type
/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/serial26.c:2123:
warning:
initialization from incompatible pointer type
make[1]: ***
[/var/lib/dkms/agrsm06pci/2.1.80-20090825/build/serial26.o]
Error 1
make: ***
[_module_/var/lib/dkms/agrsm06pci/2.1.80-20090825/build]
Error
2
make: Leaving directory `/usr/src/linux-2.6.26.8.tex3'
==End make.log

Can you offer any further help?


Marvin Stodolsky wrote:




Martin

This is a postinst file in your
/usr/src/agrsm06pci-2.1.80-20090825
folder
if the agrsm06pci-2.1.80-20090825 folder is not in /usr/src/ ,
move
it
there.

Then with root permisssion, run
# ./postinst

or alternately the following  commands;
VER=2.1.80~20090825
dkms  add -m agrsm06pci -v $VER
dkms  build -m agrsm06pci -v $VER
dkms  install -m agrsm06pci -v $VER

If all successful
# agrsm-test

When you upgade to a new kernel, the dksm will automatically
compile
the matching kernels.
provided that the linux-headers for the new kernel are also
installed.

MarvS

On Fri, Nov 27, 2009 at 10:36 AM, Martin Lupcke
<mossianin_lbcmi@xxxxxxxxxx>  wrote:





Just to clarify, I am not sending these messages from the
machine
on
which I
am trying to install this driver.  If I need to install
anything,
I
have
to
be able to download from another machine and transfer via
thumb
drive,
etc.
Second, I just noticed that somehow the Ubuntu Linux got
connected
to
this
message and may be confusing.  I am not running Ubuntu, I am
running
PCLinuxOS2009.
I already downloaded the deb file you mentioned.  When I try
to
install
the
driver with the dpkg command you provided earlier, I get a
message
about
command not found.  This is not making sense to me since it
appears
that
the
dkms is already installed, based on the list of packages
installed
in
the
Package Manager.  All packages related to dkms are shown as
installed.
So, I am confused.  I cannot install the dkms without a modem
and
I
cannot
install the modem driver without dkms.  To top it off, it
appears
that
dkms
is already installed.

Is there a source for dkms that I can download from another
mashine?
  I
can
try to reinstall dkms from that, if you think it would help.
Thanks.


Marvin Stodolsky wrote:





agrsm06pci-2.1.80-20090825_i386.deb is at
http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
but first install the dkms package, which will direct the
driver
compilation and installation.

MarvS


On Thu, Nov 26, 2009 at 7:28 PM, Martin Lupcke
<mossianin_lbcmi@xxxxxxxxxx>  wrote:






I feel like I am missing something somewhere.
I originally downloaded the file
agrsm06pci-2.1.80-20090825.tar.gz.
  After
unpacking, there are no *.deb files.
So, I rechecked and found
agrsm06pci-2.1.80-20090825_i386.deb
which
I
just
downloaded and tried to install with your directions.  Now
I
get
a
"command
not found" message when attempting to do the dpkg command
you
provided.
As near as I can tell, the dkms is installed on the
machine.  I
say
that
because all dkms-related items in the Package Manager
(PCLinux2009)
are
listed as installed.
I am beginning to think I am in a doom-loop.  I cannot
install
the
driver
with dpkg, and I cannot connect to the internet to update
any
packages
because dial-up is my only means of connecting.
Any guidance would be appreciated.
Thanks for your efforts.


Marvin Stodolsky wrote:






Martin,

Don't use the agrinst.  FIrst install the dkms package, if
you
haven't
already.
Then start the install with
$ sudo dpkg -i  agrsm*.deb
and the dkms system will take over.

With the agrsm-tools.deb package previously installed,
then
run
$ sudo agrsm-test
for detection of your modem.

MarvS


On Thu, Nov 26, 2009 at 3:57 PM, Martin Lupcke
<mossianin_lbcmi@xxxxxxxxxx>  wrote:








I used the "find" command as you provided and found two
entries
which
I
deleted.  I then went to install the
agrsm06pci-2.1.80-20090825
and
received
the following results:
./agrinst
Installing Agere Softmodem driver version 2.1.80-Red Flag
NE
5.0
some files needed for installation are missing

I stopped there and dropped this note for help.
\Thanks.


Marvin Stodolsky wrote:








Martin,

agrsm06pci-2.1.80~20090825.tar.gz  is the only package
which
may
provide service for the 11c1:0630 chipset
Best check that multiple driver sets are not installed
somewhere:
$ find  /lib/modules/$(uname -r)  -name agr*.ko

If there are multiple. Best delete all and rerun the
agrsm06pci-2.1.80~20090825.tar.gz  install.
If this was not the last installed delete all and rerun
the
agrsm06pci-2.1.80~20090825.tar.gz  install

It is not clear from your message below as to whether
the
wvdial
package is installed or not.
If not, from the bottom of
http://linmodems.technion.ac.il/packages/
get the  wvdial_jaunty_i386.zip
Under Linux
$ unzip wv*.zip
$ cd  wvdial_jaunty_i386
$ ls
install with
$ sudo dpkg -i *.deb

Then rerun the
$ sudo agrsm-test

If successful, it will write a file /etc/wvdial.conf   .
  Edit
it
with:
$ sudo gedit  /etc/wvdial.conf
putting in personal info while deleting symbols:<    >
  ;

Then try a dialout with:
$ sudo wvdial

Upon a reboot the modem will be set up by:
$ sudo modprobe agrserial
You can check porsts with:
$ ls -l  /dev/AGR*  /dev/SAGR
and for driver loading:
$ lsmod  |  grep agr

Once you are online under Linux  install the dkms driver
update
utility
with:
$ sudo apt-get update
$ sudo apt-get install dkms

MarvS



On Sat, Oct 3, 2009 at 1:34 PM, Martin Lupcke
<mossianin_lbcmi@xxxxxxxxxx>  wrote:









Several weeks ago, I sent a message back that I had
tried a
couple
of
driver
packages to get my 11c1:0630 modem working.
  Unfortunately,
I
have
lost
track since then.  This is what I reported at that
time.
I attempted to install the "agrsm-2.1.80limited"
driver.
  The
results
of
the
install are shown below:
  ./agrinst
  Installing Agere Softmodem driver version 2.1.80-Red
Flag
NE
5.0
  some files needed for installation are missing


For kicks, I ran the agrsm-test.  The results of that
are
listed
below:

  Loading drivers:

  Drivers loaded:
  agrserial              11088  0
  agrmodem             1184932  1 agrserial

  and symbolic link created:
  lrwxrwxrwx 1 root root 12 Sep  5 18:40 /dev/ttySAGR ->
/dev/ttyAGS3

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


  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



I also tried to install the
"agrsm06pci-2.1.80~20090825"
with
the
same
result as above.
Can you walk me thru what needs to be done now?


Thanks for all the help.


Jacques Goldberg wrote:









DONE but Martin the complete URL is









http://linmodems.technion.ac.il/packages/ltmodem/11c11040/agrsm06pci-2.1.80~20090825.tar.gz

not just agrsm.tar.gz (as quoted by Marv just to show
how
one
unpacks
such
a kind of file).


Jacques


Marvin Stodolsky wrote:










Martin

Attached is the tarball packaging.

# tar zxvf agrsm.tar.gz
and see the 1stReadme.txt therein.
If you are not using the Deb installer previously
sent,
the best place to unpack it is in /usr/src/ to
potentially
enable
the
dkms support.

Jacques,
  put in the 11c11040 folder please.

MarvS



On Sat, Aug 29, 2009 at 7:24 PM, Marvin
Stodolsky<marvin.stodolsky@xxxxxxxxx>  wrote:











  http://linmodems.technion.ac.il/packages/ltmodem11c11040/
is the correct address, but the server seems to be
offline
now.
This happens occassional

John



http://linmodems.technion.ac.il/packages/ltmodem/11c11040/
is
the
correct address.  I'll also send you the Debian
installer
variant

MarvS

On Sat, Aug 29, 2009 at 5:21 PM, Martin
Lupcke<mossianin_lbcmi@xxxxxxxxxx>  wrote:










I have been trying to follow the recent messages on
the
11c1:0620
&
0630
modems.  On the 24th, Jacques put a file at








http://linmodems.technion.ac.il/packages/ltmodem11c11040/agrsm-2.1.80-limited.tar.gz
  but I cannot find it.  (The path 11c11040 does not
appear
to
exist.)
  Later, it seems like there were additional steps
to
install
this,
but
I got
totally lost trying to determine what should or
should
not
be
done.
  Most
recently (below), it seems that John got an 0620
working
in
Ubuntu.
I am far from a Linux expert (obviously), but could
someone
help
clear
this
up for me so I can try to get my 0630 working in
PCLinux?

Thanks.


john31608@xxxxxxxxxx wrote:










Marvin:
  I want you to know I have the agere SV92PP
11c10620
modem
card
now
running reliably.  I went with a fresh reinstall
of
Ubuntu9.04
Jaunty
and
installation of the following:

agrsm-tools_0.0.1_all.deb
dkms_2.0.21.1-Oubuntu3_all.deb
gnome-network-admin-2.22.1-Oubuntu1_i386.deb
Dial-up with jauntyDebs.tar.Izima  This is a
package
consisting
of
wvdial
with dependencies

Finally agrsm06pci_2.1.80~20090825_i386.deb

  It was all double click and go with installation
of
agrmodem.ko
and
agrserial.ko to
/lib/modules/2.6.28-11-generic/updates/dkms

  It looks like at this point from the terminal
sudo
agrsm-test
  would
have taken me to completion save for entering my
name,
password
and
phone
number in ./etc/wvdial.conf.  Everything is
spelled
out
as
you
go

  I had tried after running
agrsm06pci_2.1.80~20090825_i386.deb

  sudo modprobe agrmodem

  sudo modprobe agrserial

  etc, etc using the page "LSI/AgereSystems
11c11040
chipset
support
installation ,using dkms tools" from the Linmodems
discussion
board
of
20DEC2008 as a guide but I got lost trying to find
the
file
wvtest.
  sudo
agrsm-test rescued me.  The modem was found on
/dev/ttySAGR.
  While
trying
to configure the network tools point to point
connection
interface
  I
lost
the connection and it appears the file
/dev/ttySAGR
was
lost
but
sudo
agrsm-test brought it right back.  I then had to
reenter
my
name,
phone
and
PW but it all went pretty smoothly.  My hat is off
to
you
and
the
others
who
have been so patient with all this.  Thank You

Yours truly, John W




















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

  Powered by Linux