Re: Ken Jones, USA Ubuntu 7.04 kernel 2.6.20-16-386

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

 



Firas,

Once again, you are a scholar and gentleman. It worked fine the first time. I really appreciate you taking the time to compile the modules for Ubuntu's 2.6.20-16-386 kernel.

One thing: I had to lock out the sl-modem package available in the Ubuntu reposistory to prevent it from breaking your installation. Of course, I had to learn the hard way.;)

Now, I will do further research to figure out why I can't compile now (the missing config.h problem I'm experiencing - it sure sounds like a missing header file).

I wonder if there is any necessity in keeping all those previous Linux header, kernel, etc. files from previous kernel upgrades - I have 3 different kernel versions listed in the Grub menu now. (Just thinking out loud).

BTW: I was able to compile the modules once before in Ubuntu 6.06.1 LTS following your instructions when my Linux kernel was updated.

Again, thanks for all your help.:)

----- Original Message ----- From: "Firas Kraiem" <fkraiem@xxxxxxx>
To: "Keneth W. Jones" <kjones@xxxxxxxxx>
Cc: <discuss@xxxxxxxxxxxxx>
Sent: Tuesday, July 24, 2007 1:00 PM
Subject: Re: Ken Jones, USA Ubuntu 7.04 kernel 2.6.20-16-386


Ken,

I have compiled the modules for Ubuntu's 2.6.20-16-386 kernel. You can get them from http://fkraiem.free.fr/smartlink/ubuntu/

Firas

Keneth W. Jones wrote:
I am having difficulty in installing the Smartlink slamr driver and the slmodemd helper utility on an upgraded to Ubuntu 7.04 from Ubuntu 6.06.1 LTS system. Any assistance is greatly appreciated. Thanks!

I have tried using the downloaded slamr-2.6.20-16-generic.tar.gz, but with the following results:

$ sudo ./setup
Password:
driver=slamr
When asked about your country, Enter:
       USA

Installing the Debian packages supporting autoloading
Selecting previously deselected package sl-modem-daemon.
(Reading database ... 155734 files and directories currently installed.)
Unpacking sl-modem-daemon (from sl-modem-daemon_2.9.10+2.9.9d+e-pre2-5build1_i386.deb) ...
Setting up sl-modem-daemon (2.9.10+2.9.9d+e-pre2-5build1) ...
FATAL: Error inserting ungrab_winmodem (/lib/modules/2.6.20-16-386/extra/ungrab-winmodem.ko): Invalid module format FATAL: Error inserting slamr (/lib/modules/2.6.20-16-386/extra/slamr.ko): Invalid module format FATAL: Error inserting ungrab_winmodem (/lib/modules/2.6.20-16-386/extra/ungrab-winmodem.ko): Invalid module format FATAL: Error inserting slamr (/lib/modules/2.6.20-16-386/extra/slamr.ko): Invalid module format
Starting SmartLink Modem driver for: slamr0.
Creating /dev/modem symlink, pointing to: /dev/ttySL0.

Copying over newer files
cp: cannot stat `sl-modem-daemon.modutils': No such file or directory
Making folder /lib/modules/2.6.20-16-386/extra
Copying drivers to /lib/modules/2.6.20-16-386/extra
Checking driver install
slamr.ko  slusb.ko  ungrab-winmodem.ko
Finished installs.
Informing the System

Starting function tests, loading drivers:
FATAL: Error inserting ungrab_winmodem (/lib/modules/2.6.20-16-386/extra/ungrab-winmodem.ko): Invalid module format FATAL: Error inserting ungrab_winmodem (/lib/modules/2.6.20-16-386/extra/ungrab-winmodem.ko): Invalid module format FATAL: Error inserting slamr (/lib/modules/2.6.20-16-386/extra/slamr.ko): Invalid module format
Running diagnostic:

[   21.544000] slamr: disagrees about version of symbol struct_module
[  242.496000] slamr: disagrees about version of symbol struct_module
[  242.524000] slamr: disagrees about version of symbol struct_module
[  242.624000] slamr: disagrees about version of symbol struct_module
[  246.652000] slamr: disagrees about version of symbol struct_module

ports should be created by:
slmodemd -c USA /dev/slamr0
error: mdm setup: cannot open dev `/dev/slamr0': No such device or address
error: cannot setup device `/dev/slamr0'
Checking for success
Port creation with slmodemd failed.
Read the Slamr.txt record, other 1st_Read.txt CountryList.txt Smartlink.txt wvdial.txt files and the sample wvdial.conf.

...............

I have also tried compiling the modules (ungrab-winmodem, slamr, and slusb) myself using the files ungrab-winmodem.tar.gz and slmodem-2.9.11-20070505.tar.gz after acquiring the Linux-header files for Ubuntu 2.6.20-16-386 using the command sudo apt-get install build-essential linux-headers-$(uname -r), but the compiler complains during the make command that config.h is missing. I have tried many times to get the Linus-headers for Ubuntu 2.6.20-16-386 installed correctly to no avail.

...............

Here is the output from scanModem - the ModemData.txt:

Only plain text email is forwarded by the DISCUSS@xxxxxxxxxxxxx List Server.
Do use the following as the email Subject Line:
          SomeName, YourCountry Ubuntu 7.04  kernel 2.6.20-16-386
This will alert cogent experts, and  distinguish cases in the Archives.
YourCountry will enable Country Code guidance.
Occassionally responses are blocked by an Internet Provider mail filters.
So in a day, also check the Archived responses at http://www.linmodems.org . Local Linux experts can be found through: http://www.linux.org/groups/index.html -------------------------- System information ----------------------------
CPU=i686,  Ubuntu 7.04
Linux version 2.6.20-16-386 (root@terranova) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 Thu Jun 7 20:16:13 UTC 2007
scanModem update of:  2007_July_16
The modem symbolic link is /dev/modem -> ttySL0

ALSAversion 1.0.13
USB modem not detected by lsusb

Modem or host audio card candidates have firmware information:

PCI slot PCI ID  SubsystemID Name
---------- --------- --------- --------------
00:06.0 10b9:5459 14fe:9100 Modem: ALi Corporation SmartLink SmartPCI561 56K Modem

Modem interrupt assignment and sharing:

--- Bootup diagnostics for card in PCI slot 00:06.0 ----
[ 23.365134] ACPI: PCI Interrupt 0000:00:06.0[A] -> GSI 17 (level, low) -> IRQ 16
[   23.367529] 0000:00:06.0: ttyS2 at I/O 0xa028 (irq = 16) is a 8250
[   23.368790] 0000:00:06.0: ttyS3 at I/O 0xa040 (irq = 16) is a 8250
[   23.369058] Couldn't register serial port 0000:00:06.0: -28

=== Finished modem firmware and bootup diagnostics section. ===
=== Next deducing cogent software ===

For candidate modem in PCI bus:  00:06.0
Class 0703: 10b9:5459 Modem: ALi Corporation SmartLink SmartPCI561 56K Modem
     Primary PCI_id  10b9:5459
Support type needed or chipset: slamr


The modem is supported by the Smartlink slamr driver
plus the slmodemd helper utility.  Read the
Smartlink.txt and Modem/YourSystem.txt for follow through guidance.

Writing Smartlink.txt
============ end Smartlink section =====================

Completed candidate modem analyses.

The base of the UDEV device file system is: /dev/.udev

Versions adequately match for the compiler installed: 4.1.2
            and the compiler used in kernel assembly: 4.1.2

Kernel-header resources needed for compiling are not manifestly ready!

If compiling is necessary packages must be installed, providing:
 linux-headers-2.6.20-16-386


Checking pppd properties:
-rwsr-xr-- 1 root dip 269224 2007-04-04 22:41 /usr/sbin/pppd

In case of an "error 17" "serial loopback" problem, see:
   http://phep2.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

Read Modem/YourSystem.txt concerning other COMM channels: eth0
Which can interfere with Browser naviagation.

Don't worry about the following, it is for the experts
should trouble shooting be necessary.
==========================================================

Checking for modem support lines:
--------------------------------------
/device/modem symbolic link: lrwxrwxrwx 1 root root 6 2007-07-24 11:15 /dev/modem -> ttySL0
slmodemd created symbolic link /dev/ttySL0:
    Within /etc/udev/ files:

    Within /etc/modprobe.conf files:
/etc/modprobe.d/alsa-base:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2
/etc/modprobe.d/blacklist-modem:# Uncomment these entries in order to blacklist unwanted modem drivers
/etc/modprobe.d/blacklist-modem:# blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist-modem:# blacklist snd-via82xx-modem
/etc/modprobe.d/blacklist-restricted:blacklist ltmodem
    Within any ancient /etc/devfs files:

    Within ancient kernel 2.4.n /etc/module.conf files:

--------- end modem support lines --------




--
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments




--
No virus found in this incoming message.
Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.10.10/908 - Release Date: 7/19/2007 6:10 PM




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

  Powered by Linux