Hi there: I'm trying to configure an Agere Systems V.92 56K WinModem with Ubuntu Hardy Server: - Ubuntu Hardy 2.6.24-28-server 32bits - agrsm048pci-2.1.60_20100316_i386.deb When installing the package the script returns: - Error! Bad return status for module build on kernel: 2.6.24-28-server (i686) Looking at make.log: make: Entering directory `/usr/src/linux-headers-2.6.24-28-server' LD /var/lib/dkms/agrsm048pci/2.1.60/build/built-in.o CC [M] /var/lib/dkms/agrsm048pci/2.1.60/build/agrsoftmodem.o objcopy --weaken-symbol=LXHardwareInfoCreate \ --weaken-symbol=LXHardwareInfoDestroy \ /var/lib/dkms/agrsm048pci/2.1.60/build/agrmodemlib.o /var/lib/dkms/agrsm048pci/2.1.60/build/agrsm_core.o CC [M] /var/lib/dkms/agrsm048pci/2.1.60/build/lib.o CC [M] /var/lib/dkms/agrsm048pci/2.1.60/build/serial26.o /var/lib/dkms/agrsm048pci/2.1.60/build/serial26.c: In function âreceive_charsâ: /var/lib/dkms/agrsm048pci/2.1.60/build/serial26.c:1008: error: âstruct uart_infoâ has no member named âportâ /var/lib/dkms/agrsm048pci/2.1.60/build/serial26.c: In function âserial8250_get_mctrlâ: /var/lib/dkms/agrsm048pci/2.1.60/build/serial26.c:1383: warning: unused variable âflagsâ /var/lib/dkms/agrsm048pci/2.1.60/build/serial26.c: In function âserial8250_config_portâ: /var/lib/dkms/agrsm048pci/2.1.60/build/serial26.c:2051: warning: unused variable âretâ /var/lib/dkms/agrsm048pci/2.1.60/build/serial26.c: At top level: /var/lib/dkms/agrsm048pci/2.1.60/build/serial26.c:2143: warning: initialization from incompatible pointer type /var/lib/dkms/agrsm048pci/2.1.60/build/serial26.c:2144: warning: initialization from incompatible pointer type make[1]: *** [/var/lib/dkms/agrsm048pci/2.1.60/build/serial26.o] Error 1 make: *** [_module_/var/lib/dkms/agrsm048pci/2.1.60/build] Error 2 make: Leaving directory `/usr/src/linux-headers-2.6.24-28-server' I've found a problem similar to this here: http://ubuntuforums.org/archive/index.php/t-1126136.html but the the serial26.c line is already like it shoul be :S Any idea about this?, cheers, Ibon. -- Servicios informÃticos con Software Libre http://www.unoycero.com/ TelÃfono: 644 007 871 Correo eletrÃnico: tecnicos@xxxxxxxxxxxx --
Only plain text email is forwarded by the Discuss@xxxxxxxxxxxxx List Server, as HTML can contain viruses. Use as the email Subject Line: YourName, YourCountry kernel 2.6.24-28-server With this Subject Line cogent experts will be alerted, and useful case names left in the Archive. YourCountry will enable Country specific guidance. Linux experts in YourCountry can be found through: http://www.linux.org/groups/index.html. They will know your Country's modem code, which may be essential for dialup service. Responses from Discuss@xxxxxxxxxxxxx are sometimes blocked by an Internet Provider mail filters. So in a day, also check the Archived responses at http://www.linmodems.org -------------------------- System information ---------------------------- CPU=i686, Ubuntu , ALSA_version=1.0.16 Linux version 2.6.24-28-server (buildd@vernadsky) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)) #1 SMP Wed Aug 25 16:07:16 UTC 2010 scanModem update of: 2010_05_29 Distrib_ID=Ubuntu DistribCodeName=hardy AptRepositoryStem=http://es.archive.ubuntu.com/ubuntu/ Presently install your Linux Distributions dkms package. It provides for automated driver updates, following upgrade of your kernel. For details see http://linux.dell.com/projects.shtml#dkms There are no blacklisted modem drivers in /etc/modprobe* files Potentially useful modem drivers now loaded are: If a USB modem or cellphone is attached and was not detected, please provide available information in your request to discuss@xxxxxxxxxxxxx Candidate PCI devices with modem chips are: 01:08.0 Communication controller: Agere Systems V.92 56K WinModem (rev 02) High Definition Audio cards can host modem chips. For candidate card in slot 01:08.0, firmware information and bootup diagnostics are: PCI slot PCI ID SubsystemID Name ---------- --------- --------- -------------- 01:08.0 11c1:048c 11c1:044c Communication controller: Agere Systems V.92 56K WinModem Modem interrupt assignment and sharing: 10: 0 XT-PIC-XT Intel 82801BA-ICH2 --- Bootup diagnostics for card in PCI slot 01:08.0 ---- === Finished firmware and bootup diagnostics, next deducing cogent software. === Predictive diagnostics for card in bus 01:08.0: Modem chipset detected on NAME="Communication controller: Agere Systems V.92 56K WinModem " CLASS=0780 PCIDEV=11c1:048c SUBSYS=11c1:044c IRQ=10 IDENT=agrsm For candidate modem in: 01:08.0 0780 Communication controller: Agere Systems V.92 56K WinModem Primary device ID: 11c1:048c Support type needed or chipset: agrsm The AgereSystems/LSI agrsm code supports compiling of a agrmodem + agrserial driver pair. There are a few different chipsets which use this driver pair, but they use different code resources: Chipsets KV* PackageNames (most current as of November 2009) ---------------------------------------------------------------------------------------------- 11c1:048c and 11c1:048f 2.6.29 agrsm048pci-2.1.60_20100108_i386.deb or agrsm048pci-2.1.60_20100108.tar.gz 11c1:0620 2.6.31 agrsm06pci-2.1.80_20100106_i386.deb or agrsm06pci-2.1.80~20100106.tar.gz !! 11c11040 (on HDA audio cards) 2.6.31 agrsm-11c11040_20091225_i386.deb or agrsm-11c11040-2.1.80~20091225.tar.bz2 !! All available at: http://linmodems.technion.ac.il/packages/ltmodem/11c11040/ Additionally there are; automation & testing agrsm-tools_0.0.1_all.deb or agrsm-tools-0.0.1-2.noarch.rpm General background agrsm_howto.txt ------------------------------------------------------------------------------------------------ * KV == latest kernel release with a reported success !! Latest update with major credit to Nikolay Zhuravlev But see conflict issue: http://linmodems.technion.ac.il/bigarch/archive-nineth/msg02753.html For the 11c11040 chip with kernels 2.6.31 and later a change in a modules loading settingmay be necessary. Within the file /etc/modprobe.d/alsa-base.conf (or equivalent for your Distro), change the phrase: options snd-hda-intel power_save=10 to: options snd-hda-intel power_save=0 or the agrsm drivers will not function. For Ubuntu related systems this can be done with: $ sudo gedit /etc/modprobe.d/alsa-base.conf Report from Bjorn Wielens: Please note- trying to load the modules on a OpenSuSE 11.2 system gives an error about the module_version symbol. Using: # modprobe --force agrmodem # modprobe --force agrserial is necessary to load the drivers, and does not appear to cause ill effects. All of the above packages are dkms competent. This means that if your Linux distros dkms package is previously installed, if provides for future updates matching forthcoming kernels. -------------- end Agere Systems section ------------------- Completed candidate modem analyses. The base of the UDEV device file system is: /dev/.udev The kernel was compiled with gcc version 4.2.4 and a compiler is not installed linux-headers-2.6.24-28-server resources needed for compiling are not manifestly ready! The code linking utility, ld, may be needed and is provided in the binutils package The patch utility is needed for compiling ALSA drivers, and possibly others. If compiling is necessary packages must be installed, providing: gcc-4.2 make linux-headers-2.6.24-28-server If a driver compilation fails, with message including some lack of some FileName.h (stdio.h for example), then Some additional kernel-header files need installation to /usr/include. The minimal additional packages are libc6-dev and any of its dependents, under Ubuntu linux-libc-dev If an alternate ethernet connection is available, $ apt-get update $ apt-get -s install linux-kernel-devel will install needed packages. For Debian/Ubuntu related distributions, run the following command to display the needed package list: Otherwise packages have to be found through http://packages.ubuntu.com Once downloaded and transferred into a Linux partition, they can be installed alltogether with: $ sudo dpkg -i *.deb Checking pppd properties: -rwsr-xr-- 1 root dip 269256 2007-10-04 21:57 /usr/sbin/pppd In case of an "error 17" "serial loopback" problem, see: http://linmodems.technion.ac.il/linmodems/archive-sixth/msg02637.html To enable dialout without Root permission do: $ su - root (not for Ubuntu) sudo chmod a+x /usr/sbin/pppd or under Ubuntu related Linuxes sudo chmod a+x /usr/sbin/pppd Checking settings of: /etc/ppp/options asyncmap 0 noauth crtscts lock hide-password modem proxyarp lcp-echo-interval 30 lcp-echo-failure 4 noipx In case of a message like: Warning: Could not modify /etc/ppp/pap-secrets: Permission denied see http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html For guidance on FAX usage, get from http://linmodems.technion.ac.il/packages/ get faxing.tar.gz It has samples for a modem using port /dev/ttySL0, which must be changed to match your modem's port. Read Modem/DOCs/YourSystem.txt concerning other COMM channels: eth2 Which can interfere with Browser naviagation. Don't worry about the following, it is for experts should trouble shooting be necessary. ========================================================== Checking for modem support lines: -------------------------------------- /device/modem symbolic link: slmodemd created symbolic link /dev/ttySL0: Within /etc/udev/ files: Within /etc/modprobe.conf files: Within any ancient /etc/devfs files: Within ancient kernel 2.4.n /etc/module.conf files: --------- end modem support lines --------
Attachment:
signature.asc
Description: Esto es una parte de mensaje firmado digitalmente