Problem installing sl-modem package module not found

Bug #92777 reported by Schmirrwurst
22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sl-modem (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: sl-modem-daemon

When installing those driver, I have an error that modules are missing
It seems they have not yet be uploaded ?

Les NOUVEAUX paquets suivants seront installés :
  sl-modem-daemon
0 mis à jour, 1 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 509ko dans les archives.
Après dépaquetage, 1163ko d'espace disque supplémentaires seront utilisés.
Réception de : 1 http://ch.archive.ubuntu.com feisty/multiverse sl-modem-daemon 2.9.10+2.9.9d+e-pre2-5build1 [509kB]
509ko réceptionnés en 1s (328ko/s)
Préconfiguration des paquets...
Sélection du paquet sl-modem-daemon précédemment désélectionné.
(Lecture de la base de données... 143297 fichiers et répertoires déjà installés.)
Dépaquetage de sl-modem-daemon (à partir de .../sl-modem-daemon_2.9.10+2.9.9d+e-pre2-5build1_i386.deb) ...
Paramétrage de sl-modem-daemon (2.9.10+2.9.9d+e-pre2-5build1) ...
FATAL: Module ungrab_winmodem not found.
FATAL: Module slamr not found.
Starting SmartLink Modem driver for: auto.
Creating /dev/modem symlink, pointing to: /dev/ttySL0.

uname -a :
Linux marion-laptop 2.6.20-11-generic #2 SMP Thu Mar 15 08:03:07 UTC 2007 i686 GNU/Linux

ProblemType: Bug
Architecture: i386
Date: Fri Mar 16 12:19:57 2007
DistroRelease: Ubuntu 7.04
Uname: Linux marion-laptop 2.6.20-11-generic #2 SMP Thu Mar 15 08:03:07 UTC 2007 i686 GNU/Linux

Revision history for this message
Schmirrwurst (schmirrwurst) wrote :

Same Problem with the update from today ...
It seems that the modules are missing or should be installed by the package itself ?

Paramétrage de sl-modem-daemon (2.9.10+2.9.9d+e-pre2-5ubuntu1) ...
Autorisation d'utiliser des identifiants non conformes.
Ajout de l'utilisateur « Slmodemd » (identifiant : 111)...
Ajout du nouveau groupe « Slmodemd » (identifiant : 120)...
Ajout du nouvel utilisateur « Slmodemd » (identifiant : 111) avec le
groupe « Slmodemd »...
Ne crée pas le dossier personnel '/'.
FATAL: Module ungrab_winmodem not found.
FATAL: Module slamr not found.
Starting SmartLink Modem driver for: auto.
Creating /dev/modem symlink, pointing to: /dev/ttySL0.

Revision history for this message
Diff Handy (ubuntu-verbena) wrote :

I'm getting this too (installed Feisty today). sl-modem-daemon will work using alsa drivers in the majority of cases.

The ungrab_winmodem module is used to free a modem that's been grabbed by the standard serial driver. This seems to be a problem with some but not all cards that might use sl-modem-daemon.

the source for ungrab_winmodem is in sl-modem-source but is not built by default. It's normally easily built but fails in feisty because it can't find linux/config.h in the kernel headers package.

Also sl-modem-source will not build under feisty currently:

make[2]: Entering directory `/usr/src/modules/sl-modem/drivers'

> gcc-4.1 -I/lib/modules/2.6.20-14-generic/build/include -o kernel-ver
> kernel-ver.c
> kernel-ver.c: In function ‘main’:
> kernel-ver.c:11: error: ‘UTS_RELEASE’ undeclared (first use in this
> function)
> kernel-ver.c:11: error: (Each undeclared identifier is reported only once
> kernel-ver.c:11: error: for each function it appears in.)
> make[2]: *** [kernel-ver] Error 1

Smartlink appear to have been bought out by connexant and I've yet to find the source on linmodems.org. fesity's version is higher than the debian unstable version. So as of right now I'm stuck on how to fix the problem.

Revision history for this message
Diff Handy (ubuntu-verbena) wrote :

OK ungrab-winmodem builds with a simple change to the source

linux/version.h becomes linux/autoconf.h in ungrab-winmodem.c

https://bugs.launchpad.net/ubuntu/+source/sl-modem/+bug/103705

suggests building the debian sid version and this works fine.

Just to confuse things I switched from the 386 to the generic kernel half way through and suddenly verson.h was there for that build ?!?!

Revision history for this message
bleuvoss (bleuvoss-deactivatedaccount) wrote :

Same problem here with 2.6.20-15:

FATAL: Module ungrab_winmodem not found.
FATAL: Module slamr not found.

I filled a bud report (103072) and now I discover that really I have this problem: ungrab_winmodem not found and I can't do "sudo module-assistant auto-install sl-modem". It don't compile with 2.6.20-15.
I'm new in this of compiling and I don't understood well your last comment: did you fixed this problem? How? What should I do? What packages of Debian Sid should I download?

Thanks! And sorry, I know you are an user as me but none of Ubuntu kernel team seems to have winmodems (as I said in 103072 bug report, in Edgy, sl-modem support didn't work to me at all)

Revision history for this message
bleuvoss (bleuvoss-deactivatedaccount) wrote :

Kernel 2.6.20-15-generic

Well, "FATAL: Module ungrab_winmodem not found" fixed! Thanks for your report, D S.
What I did was:
Edit, as root, /usr/src/modules/sl-modem/ungrab-winmodem/ungrab-winmodem.c file (if it doesn't exist, bunzip /usr/src/sl-modem.tar.bz2. It must exist if you install sl-modem-source) and change the line "#include <linux/config.h>" to "#include <linux/autoconf.h>"
Then, in a console, go to /usr/src/modules/sl-modem/ungrab-winmodem/ and exec "sudo make" and then "sudo make install"
With this, I fixed "FATAL: Module ungrab_winmodem not found".

But now I still have the problem with "FATAL: Module slamr not found." Any idea?

Revision history for this message
William Davis (hotshotdj) wrote :

I can confirm that sl-modem-source version 2.9.10+2.9.9d+e-pre2-5ubuntu1 will not build using
$ sudo module-assistant auto-install sl-modem-source
The buildlog file is attached.
Kernel = 2.6.20-15-generic

Revision history for this message
mattsteven (matthew-matts) wrote :

The slmodem package in feisty will not build with the current kernel. You can easily download the latest slmodem driver and build it yourself however:

http://linmodems.technion.ac.il/packages/smartlink/

I had no problems building the slmodem-2.9.11-20070430 package on KERNEL_VER=2.6.20-15-generic

However it doesn't work for my system, but I haven't confirmed that it should yet so I'll leave that for later when I get things identified.

Revision history for this message
mattsteven (matthew-matts) wrote :

Just an update on this, I ended up downloading the debian package which works.

http://packages.debian.org/oldstable/misc/sl-modem-daemon

The start-stop-daemon line did not work however, so I just plugged in at this spot

      echo -n "Starting SmartLink Modem driver for: $SLMODEMD_DEVICE"
        $DAEMON --alsa $OPTS 2>&1 > /var/log/slmodemd & # this line added

And commented out the start-stop, maybe someone who knows how that works can figure it out and correct it.

Incidentally for anyone searching on this problem for the Inspiron 6400 notebook in particular, you need to set
SLMODEMD_DEVICE=hw:0

In your config file /etc/default/sl-modem-daemon

With these two changes the modem works correctly now.

Revision history for this message
William Davis (hotshotdj) wrote :

Ok, mattsteven's suggestion worked a treat! I downloaded and manually built and installed the package from linmodems (slmodem-2.9.11-20070430). I then installed sl-modem-daemon from the ubuntu feisty repository (2.9.10+2.9.9d+e-pre2-5ubuntu1). It did not work initially, however I noted his comment regarding the Dell Inspiron 6400. I am using a Dell Inspiron E1505, which is basically the same machine. After editing /etc/default/sl-modem-daemon to change SLMODEMD_DEVICE=auto to SLMODEMD_DEVICE=hw:0 and then a reboot, my modem came to life! Tested using wvdialconf and kppp. BRILLIANT, mattsteven!

This, of course, SHOULD work using the sl-modem-source package in the feisty repositories, so the bug still stands.

Revision history for this message
Perry E. Metzger (perry-piermont) wrote : Confirming the problem.

Confirming everyone else's report:

I was disappointed to discover my modem was broken after my Feisty upgrade from Edgy, on an IBM T41p. Manually installing the latest drivers from http://linmodems.technion.ac.il/packages/smartlink/fixed everything for me. It is clearly the case that the sl-modem* packages need an upgrade -- the ones in the repo right now just do not work with Feisty. Please fix.

Revision history for this message
Motin (motin) wrote :

Strange to see how the comments turned into solving bug #103072 but as long as success stories are contributed we are all happy campers. :)

I put together a recipe of how to work around this on https://help.ubuntu.com/community/DialupModemHowto/Smartlink, section named "Feisty 7.04 Special Instructions"

Revision history for this message
Kevin J Brown (kevinlyfellow) wrote :

@Motin

The last step in the recipe you made doesn't seem to work. In my install (and someone's that I'm working with on the forums) the /usr/src/linux-headers-`uname -r`-directory doesn't exists. Should it be created?

Revision history for this message
Kevin J Brown (kevinlyfellow) wrote :

Sorry, the directory didn't come out correct in my previous post. I meant /usr/src/linux-headers-`uname -r`/linux

Revision history for this message
Motin (motin) wrote :

@Kevin J Brown

Very true, I misspelled the path. It should be /usr/src/linux-headers-`uname -r`/include/linux/config.h

The instructions are updated with the new path.

Cheers

Revision history for this message
Marco Cimmino (cimmo) wrote :

bug still here with Kubuntu Gutsy updated to 4 october 2007

Revision history for this message
Marco Cimmino (cimmo) wrote :

sorry I want to report the compile bug, not this.
This is not a bug and for me should be closed because ubuntu cannot ship the module, but only the source, for incompatibility problem with license I think.

Revision history for this message
berg (berg-foss) wrote :

this driver should be added to restricted-modules like nvidia and fglrx.

Many people don´t have adsl or cable modem. At Brazil and other countries in development use dial-up connection at almost all houses ( amazon region needs more than other regions ).

the compilation from sl-modem-source have problem too. see
https://bugs.launchpad.net/ubuntu/+source/sl-modem/+bug/103072

I think if Ubuntu wants go to everywhere, it need be more attention to "obsolete" hardware like dial-up modems ( and ugly winmodems too) because poor countries and its poor people almost have only dialup option

Revision history for this message
distatica (distatica-gmail) wrote :

I would like to confirm that mattsteven's suggestions worked perfectly for me on an ASUS A8He laptop running Ubuntu Hardy Heron (8.04) with a Motorola SM56 modem. I installed sl-modem-daemon and sl-modem-source via apt-get and the binary package he suggested. SLMODEMD_DEVICE=hw:0 and a reboot also seemed to bring the modem to life.

Thanks!

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote : New package available

Hello,

  I prepared a package for the latest upstream release of sl-modem.
  The package can be found on mentors.debian.net:
  - URL: http://mentors.debian.net/debian/pool/non-free/s/sl-modem
  - Source repository: deb-src http://mentors.debian.net/debian unstable main contrib non-free
  - dget http://mentors.debian.net/debian/pool/non-free/s/sl-modem/sl-modem_2.9.11~20080817-1.dsc

  Please test it and report if your bugs got solved and any suggestions you've got.

  Thanks.

--
 أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
  SySDSoft, Inc.
 GPG KeyID: 0x9DCA0B27 (@ subkeys.pgp.net)
 GPG Fingerprint: 087D 3767 8CAC 65B1 8F6C 156E D325 C3C8 9DCA 0B27

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote :

Hello,

  For those who need a binary package, I have uploaded the package to my
  PPA (https://launchpad.net/~aelmahmoudy/+archive), also fixed an FTBFS
  for Intrepid. Binary packages for Hardy and Intrepid are available.

--
 أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
  SySDSoft, Inc.
 GPG KeyID: 0x9DCA0B27 (@ subkeys.pgp.net)
 GPG Fingerprint: 087D 3767 8CAC 65B1 8F6C 156E D325 C3C8 9DCA 0B27

Daniel T Chen (crimsun)
Changed in sl-modem:
status: New → Incomplete
Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

what are we going to do about this?
the idea to add the sl-modem driver to u-r-m seems like a good idea...
Ahmed, what do you think of all this?

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

another solution: shouldn't it be enough to make sl-modem-daemon depend on sl-modem-source (at least where dkms is available http://packages.ubuntu.com/search?keywords=dkms)

Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

Thank you for posting this.

Is this still an issue in Lucid?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for sl-modem (Ubuntu) because there has been no activity for 60 days.]

Changed in sl-modem (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.